erst mal ein dickes DANKE!
hab das ma eingesetzt und es ging,
nur wenn ich das auf mein eigentliches Setup umlege geht es nicht
was mach ich hier falsch
<?PHP
$datum = getdate();
if($datum[weekday] == "Sunday" && $datum[hours] < 12){
echo "<a href=\"so/popup_vn.html\">Timetable...</a>";
}
elseif($datum[weekday] == "Sunday" && $datum[hours] > 12){
echo "<a href=\"so/popup_vn.html\">Start the Stream</a>";
}
elseif($datum[weekday] == "Monday" && $datum[hours] < 12){
echo "<a href=\"mo/popup_vn.html\">Timetable...</a>";
}
elseif($datum[weekday] == "Monday" && $datum[hours] > 12){
echo "<a href=\"mo/popup_vn.html\">Start the Stream</a>";
}
elseif($datum[weekday] == "Tuesday" && $datum[hours] < 12){
echo "<a href=\"di-mi/popup_vn.html\">Timetable...</a>";
}
elseif($datum[weekday] == "Tuesday" && $datum[hours] > 12){
echo "<a href=\"di-mi/popup_vn.html\">Start the Stream</a>";
}
elseif($datum[weekday] == "Wednesday" && $datum[hours] < 12){
echo "<a href=\"di-mi/popup_vn.html\">Timetable...</a>";
}
elseif($datum[weekday] == "Wednesday" && $datum[hours] > 12){
echo "<a href=\"di-mi/popup_vn.html\">Start the Stream</a>";
}
elseif($datum[weekday] == "Thursday" && $datum[hours] < 12){
echo "<a href=\"do-sa/popup_vn.html\">Timetable...</a>";
}
elseif($datum[weekday] == "Thursday" && $datum[hours] > 12){
echo "<a href=\"do-sa/popup_vn.html\">Start the Stream</a>";
}
elseif($datum[weekday] == "Friday" && $datum[hours] < 12){
echo "<a href=\"do-sa/popup_vn.html\">Timetable...</a>";
}
elseif($datum[weekday] == "Friday" && $datum[hours] > 12){
echo "<a href=\"do-sa/popup_vn.html\">Start the Stream</a>";
}
elseif($datum[weekday] == "Saturday" && $datum[hours] < 12){
echo "<a href=\"do-sa/popup_vn.html\">Timetable...</a>";
}
else($datum[weekday] == "Saturday" && $datum[hours] > 12){
echo "<a href=\"do-sa/popup_vn.html\">Start the Stream</a>";
}
?>