"Sonntag", "Monday" => "Montag", "Tuesday" => "Dienstag", "Wednesday" => "Mittwoch", "Thursday" => "Donnerstag", "Friday" => "Freitag", "Saturday" => "Samstag"); echo ""; #echo ""; for ($i=0; $i <= 2; $i++){ echo ""; } echo "
"; tabelle(); if ($i < 2) echo "
"; function tabelle () { global $threadstable, $monat, $tag, $count, $start; $j=0; $DB=new db_mysql; $date = zeit(); $result=$DB->sql_qry("SELECT * FROM $threadstable WHERE rubrikid='18' AND type='event' AND beginn >= ".$date." ORDER BY beginn"); if($result) : $text = "ODYSSEE THEATER"; $text .= "
Programmvorschau"; $terminvergleich = ""; while($list=mysql_fetch_array($result)) { if ($count && $j >= $count) break; if ($j >= $start){ if ($terminvergleich != $list["name"] || $ortvergleich != $list["event_loc"]): $text .= "
".$spielort.""; $ortvergleich = $list["event_loc"]; endif; $titel=explode("(",$list["name"]); $titel[1] = substr($titel[1],0,strlen($titel[1])-1); $ort = explode(",",$list["event_loc"]); $spielort = $list["event_loc"]; $dasmonat = $monat[date("F",$list["beginn"])]; $dertag = $tag[date("l",$list["beginn"])]; $dasdatum = $titel[1].", ".$titel[0].", ".$dertag.date(", j. ",$list["beginn"]).$dasmonat.date(" Y, H:i",$list["beginn"])."h
".$spielort; if ($terminvergleich != $list["name"]): $terminvergleich = $list["name"]; $text .= "
$titel[1]"; $text .= "
$titel[0]"; $text .= "
".$dertag.date(", j. ",$list["beginn"]).$dasmonat.date(" Y, H:i",$list["beginn"])." h"; else: $text .= "
".$dertag.date(", j. ",$list["beginn"]).$dasmonat.date(" Y, H:i",$list["beginn"])." h"; endif; } $j++; } $text .= "
".$spielort.""; echo $text; #endif; echo "

Kartenreservierung:
Tel.: 01/86 59 103  oder  0676 9 414 616
Online: http://tickets.odysseetheater.com
"; #echo "
Musisches Zentrum Wien
8, Zeltgasse 7"; echo "
Änderungen vorbehalten!
"; #echo "Aktuelle Infos unter 0676 9 414 616 oder auf
"; echo "www.odysseetheater.com"; endif; } ?>