Parašė TaduXxX0· 2008 Lie. 6 21:07:35
#1
if (file_exists(INFUSIONS."todays_birthday_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."todays_birthday_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."todays_birthday_panel/locale/English.php";
}
opentable($locale['co1']);
$heute = "____-".showdate('%m-%d',time());
$result = dbquery("SELECT user_birthdate,user_name,user_id FROM ".$db_prefix."users WHERE user_birthdate like '$heute' ORDER BY user_name asc");
if (mysql_num_rows($result) == 0) { echo "<div style='text-align:center'>".$locale['co2']."</div>"; }
while ($Zeile = mysql_fetch_array($result)) {
echo ($data['user_avatar'] ? "<center><a href='".BASEDIR."narys.php?lookup=".$Zeile['user_id']."'>".$Zeile['user_name']."</center><br><center><img src='".IMAGES."avatars/".$data['user_avatar']."' height='100' width='100'></center></a><br><a href='".BASEDIR."narys.php?lookup=".$Zeile['user_id']."'><center>-=Sveikinti=-</center></a><hr>" : "<a href='".BASEDIR."narys.php?lookup=".$Zeile['user_id']."'><center>".$Zeile['user_name']."</center><br><center><img src='".IMAGES."no.png' height='100' width='100'></center></a><br><a href='".BASEDIR."narys.php?lookup=".$Zeile['user_id']."'><center>-=Sveikinti=-</center></a><hr>")."";
}
closeside();
Kaip pakeisti ta vieta su DESC LIMIT ? as noriu,kad rodytu tik 3 gimtadienius
Redagavo TaduXxX0· 2008 Lie. 6 21:07:51