"; print_r($_GET); } //define constants /* define ("intro", "intro"); define ("home", "home"); define ("home_e", "home_e"); define ("galerie_d", "galerie_d"); define ("val_rand", "val_rand"); */ $var_site = $_GET['site']; //$var_site = $_POST['site']; //error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); // DEBUG include("classes.php4"); include("connect_db.php4"); include("head.php4"); echo "\n\n\n\n"; ########################################################## // H O M E // ########################################################## if ($var_site == "home") { echo "

"; //ABSCHNITT INTRO echo "".sql($var_site,intro).""; //ABSCHNITT MITTE $sql = mysql_query("SELECT * FROM $var_site WHERE abschnitt = 'mitte' "); $row = mysql_fetch_row($sql); echo "".fonts_html().""; $string = htmlentities($row[2]); $string = sonder_umw($string,$var_site); $bild = $row[3]; //$string = str_replace("{bild}","",$string); $string = str_replace("Aktuell","Aktuell",$string); // Termine $string = str_replace("Info","Info",$string); // Info $string = str_replace("Historie","Historie",$string); // Trio $string = str_replace("Herstellung","Herstellung",$string); // Links $string = str_replace("Produkte","Produkte",$string); // Presse $string = str_replace("Cocktails","Cocktails ",$string); // Highlights $string = str_replace("Kontakt","Kontakt",$string); // Links $string = str_replace("Pressematerial","Pressematerial",$string); // Presse VA echo $string; // //ABSCHNITT ENDE $sql = mysql_query("SELECT * FROM $var_site WHERE abschnitt = 'ende' "); $row = mysql_fetch_row($sql); echo "".fonts_html().""; $string = htmlentities($row[2]); $string = sonder_umw("$string","$var_site"); $bild = $row[3]; //$string = str_replace("{bild}","",$string); $string = str_replace("Aktuell","Aktuell",$string); // Termine $string = str_replace("Info","Info",$string); // Info $string = str_replace("Historie","Historie",$string); // Trio $string = str_replace("Herstellung","Herstellung",$string); // Links $string = str_replace("Produkte","Produkte",$string); // Presse $string = str_replace("Cocktails","Cocktails ",$string); // Highlights $string = str_replace("Kontakt","Kontakt",$string); // Links echo $string; echo "



"; // } ################################################################################# // C O C K T A I L S // ################################################################################# /* if ( $var_site == "cock" ) { echo "".fonts_html().""; echo "".sql($var_site,intro).""; echo "".fonts_html().""; echo "".sql($var_site,mitte).""; echo "".fonts_html().""; echo "".sql($var_site,final).""; //echo "".sql($var_site,ende).""; echo "

"; } */ ################################################################################# // H I S T O R I E + H E R S T E L L U N G + A K T U E L L Cocktails und Produkte // ################################################################################# if ($var_site == "historie" || $var_site == "herstellung" || $var_site == "aktuell" || $var_site == "cock" || $var_site == "cock1" || $var_site == "cock2" || $var_site == "cock3" || $var_site == "cock4" || $var_site == "cock5" || $var_site == "cock6" || $var_site == "prod" || $var_site == "prod1" || $var_site == "prod2") { echo "".fonts_html().""; echo "".sql($var_site,head).""; echo "".fonts_html().""; echo "".sql($var_site,intro).""; echo "".fonts_html().""; echo "".sql($var_site,mitte).""; echo "".fonts_html().""; echo "".sql($var_site,final).""; echo "
"; //echo "".sql($var_site,ende).""; echo "
Zurück
"; echo "

"; } ########################################################## // I N F O // ########################################################## if ($var_site == "info_d") { require("info_d.php4"); } if ($var_site == "info_e") { require("info_e.php4"); } ########################################################## // L I N K S // ########################################################## /* if ($var_site == "links_d") { echo "".fonts_html()."Links

"; $sql = mysql_query("SELECT link_name,url,text_d FROM links"); echo "\n\n"; while ($row = mysql_fetch_row($sql)) { echo "\n\n\n\n\n\n\n"; } echo "
\n"; echo "\n"; echo "".fonts_html()."\n"; $string = htmlentities("$row[0]"); echo $string; echo"\n
\n"; echo "\n"; $string = htmlentities("$row[2]"); echo $string; echo"\n
"; echo "


"; } */ ########################################################## // G A L E R I E // ########################################################## /* if ($var_site == "galerie_d") { include("galerie.php4"); } if ($var_site == "gallery_e") { include("galerie.php4"); } */ ########################################################## // K O N T A K T // ########################################################## if ($var_site == "kontakt") { include("kontakt_d.php4"); echo "


"; } if ($var_site == "contact_e") { include("kontakt_d.php4"); echo "


"; } ########################################################## // H I G H L I G H T S // ########################################################## /* if ($var_site == "high_d") { echo "".sql($var_site, 2003).""; //echo "

"; echo "".sql($var_site, 2002).""; //echo "

"; echo "".sql($var_site, 2001).""; //echo "

"; echo "".sql($var_site, 2000).""; //echo "

"; echo "".sql($var_site, 1999).""; //echo "

"; echo "".sql($var_site, 1998).""; //echo "

"; echo "".sql($var_site, 1997).""; echo "

"; } */ ########################################################## // T E R M I N E // ########################################################## /* if ($var_site == "termine_d") { echo "".fonts_html()."Konzerttermine

"; $sql = mysql_query("SELECT begin,ort,location,mit, DATE_FORMAT(date, '%W, %e.%m.%Y'), zusatz FROM termine ORDER BY date "); while($row = mysql_fetch_row($sql)) { echo""; echo""; echo ""; echo "
".fonts_html().""; $string = str_replace("Monday","Montag",$row[4]); $string = str_replace("Tuesday","Dienstag",$string); $string = str_replace("Wednesday","Mittwoch",$string); $string = str_replace("Thursday","Donnerstag",$string); $string = str_replace("Friday","Freitag",$string); $string = str_replace("Saturday","Samstag",$string); $string = str_replace("Sunday","Sonntag",$string); echo $string; echo"
".fonts_html()."Beginn: "; $uae = split(":",$row[0]); echo $uae[0].':'.$uae[1]; echo"
".fonts_html().""; echo $row[1]; echo"
"; echo $row[2]; echo "
".fonts_html().""; echo "mit: "; echo $row[3]; echo "
 ".fonts_html()."$row[5]

"; } echo "

"; } if ($var_site == "concerts_e") { echo "".fonts_html()."Concert Schedule

"; $sql = mysql_query("SELECT begin,ort,location,mit, DATE_FORMAT(date, '%W, %m/%e/%Y'), zusatz FROM termine ORDER BY date"); while($row = mysql_fetch_row($sql)) { echo""; echo""; echo ""; echo "
".fonts_html().""; echo $row[4]; echo"
".fonts_html()."Begin: "; $uae = split(":",$row[0]); echo $uae[0].':'.$uae[1]; echo"
".fonts_html().""; echo $row[1]; echo"
"; echo $row[2]; echo "
".fonts_html().""; echo "with: "; echo $row[3]; echo "
 ".fonts_html()."$row[5]

"; } echo "

"; } */ ########################################################## // P R E S S E M A D D E R J A H L // ########################################################## if ($var_site == "press_va") { include("press/thumbs/presse_va.php4"); } if ($var_site == "press_va_e") { include("press/thumbs/presse_va_e.php4"); } ########################################################## // E N D E // ########################################################## echo"\n\n\n\n"; include("footer.php4"); ?>