uxet
21.04.2002, 23:55
Hallo ich habe ein kleines Problem und zwar zeigt es mir die Heutige Geburtstage nicht mehr an wieso hier das was in meiner home.php steht!
Ich hoffe das mir einer helfen kann bei meinem Problem!!
Ich danke euch schon im voraus!
hier den Code:
$birthdaybits="";
if ($showbirthdays) {
$birthdays = gettemplate('birthdays',0,0);
$btoday = explode('|||',$birthdays);
$today = vbdate("Y-m-d",time());
if ($today != $btoday[0] and $today != $btoday[1]) { // Need to update!
getbirthdays();
$birthdays = $DB_site->query_first("SELECT template FROM template WHERE title='birthdays' and templatesetid = -2");
$birthdays = $birthdays[template];
$btoday = explode('|||',$birthdays);
}
if ($today == $btoday[0]) {
$birthdays = $btoday[2];
} elseif ($today == $btoday[1]) {
$birthdays = $btoday[3];
}
if ($birthdays) {
eval("\$birthdaybits = \"".gettemplate("forumhome_birthdaybit")."\";");
}
}
Ich hoffe das mir einer helfen kann bei meinem Problem!!
Ich danke euch schon im voraus!
hier den Code:
$birthdaybits="";
if ($showbirthdays) {
$birthdays = gettemplate('birthdays',0,0);
$btoday = explode('|||',$birthdays);
$today = vbdate("Y-m-d",time());
if ($today != $btoday[0] and $today != $btoday[1]) { // Need to update!
getbirthdays();
$birthdays = $DB_site->query_first("SELECT template FROM template WHERE title='birthdays' and templatesetid = -2");
$birthdays = $birthdays[template];
$btoday = explode('|||',$birthdays);
}
if ($today == $btoday[0]) {
$birthdays = $btoday[2];
} elseif ($today == $btoday[1]) {
$birthdays = $btoday[3];
}
if ($birthdays) {
eval("\$birthdaybits = \"".gettemplate("forumhome_birthdaybit")."\";");
}
}