1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
$ifav = 0;
$sql_fav = mysql_query("SELECT id, im_id, url, url2, date, autor FROM " . FAVORI_TABLE . " WHERE autor = '" . $pseudo1 . "' ORDER BY date DESC LIMIT 0, 50");
while (list($id, $im_id, $url, $url2, $date, $autor) = mysql_fetch_array($sql_fav))
{
$date = strftime("%x %H:%M", $date);
$ifav++;
if ($j1 == 0)
{
$bg1 = $bgcolor2;
$j1++;
}
else
{
$bg1 = $bgcolor1;
$j1 = 0;
}
if ($module == "VIP")
{
$link_title = $url;
}
else if ($module == "Gallery")
{
$link_title = $url2;
}
echo "Diaporama de " . $link_title . ""; |
Partager