'; echo "
"; $menue = file("menue.txt"); foreach ($menue as $zeile) { $tmp = explode(";", $zeile); if ($tmp[0] == "10") { if (trim($tmp[1]) == "Linie") { echo '' . $tmp[2] . '
'; } else { echo '' . $tmp[1] . '
'; } // elseif } // if } // foreach echo "
"; echo "
"; // include ("counter.php"); echo '

'; session_start(); if ($_SESSION["loggedin"]) { echo "
loggedin"; } // ?>
'; $menue = file("menue.txt"); $aktiv = 0; foreach ($menue as $zeile) { $tmp = explode(";", $zeile); $hauptseite = explode("/", $sideid); // echo $hauptseite[0] . "-" . $sideid . "
"; if (($tmp[0] == "10") and (trim($tmp[2]) == trim($hauptseite[0]))) { $aktiv = 1; echo "
" . $tmp[1] . "

"; } // if if (($tmp[0] == "10") and (trim($tmp[2]) != trim($hauptseite[0]))) { $aktiv = 0; } // if if (($tmp[0] == "20") and ($aktiv == 1)) { if (trim($tmp[1]) == "Linie") { echo '' . $tmp[2] . '
'; } // if else { echo ''; } // elseif } // if } // foreach echo "
"; echo '

'; ?>
" . $tmp[1] . ""; } // if if ($tmp[0] == "Untertitel") { $anzeige = "

" . $tmp[1] . "

"; } // if if ($tmp[0] == "Linie") { $anzeige = "
";; } // if if ($tmp[0] == "Bild") { $tmp2 = explode(";", $tmp[1]); $al = "

"; if (trim($tmp2[1]) == "zentriert") { $al = '

'; } // if if (trim($tmp2[1]) == "rechts") { $al = '

'; } // if $verzeichnis_datei = trim($sideid . '/upload/' . $tmp2[0]); $info = getimagesize($verzeichnis_datei); // echo $verzeichnis_datei . "
"; // echo $info[0] . " - " . $info[1] . "
"; $wh = 0; if ($info[0] > 700) { $wh = 'width="690"'; } // if $anzeige = $al . '

'; } // if ($tmp[0] == "Bild2") { $inhalt = explode(";", $tmp[1]); $bild1 = explode("|", trim($inhalt[0])); $bild2 = explode("|", trim($inhalt[1])); $link1 = trim($bild1[1]); $link2 = trim($bild2[1]); $l1l = ""; $l1r = ""; if ($link1 != "") { $l1l = ''; $l1r = ''; } // if $l2l = ""; $l2r = ""; if ($link2 != "") { $l2l = ''; $l2r = ''; } // if echo "

"; echo ''; echo ""; if (trim($bild1) == "") { echo ''; } else { echo ''; } // elseif echo ''; echo ""; echo '
' . $l1l . '' . $l1r . '' . $l2l . '' . $l2r . '
'; echo '

'; } // if if ($tmp[0] == "Bild3") { $inhalt = explode(";", $tmp[1]); $bild1 = trim($inhalt[0]); $bild2 = trim($inhalt[1]); $bild3 = trim($inhalt[2]); echo "

"; echo ''; echo ""; if (trim($bild1) == "") { echo ''; } else { echo ''; } // elseif echo ''; echo ''; echo ""; echo '
'; echo '

'; } // if if ($tmp[0] == "Bild4") { $inhalt = explode(";", $tmp[1]); $bild1 = trim($inhalt[0]); $bild2 = trim($inhalt[1]); $bild3 = trim($inhalt[2]); $bild4 = trim($inhalt[3]); echo "

"; echo ''; echo ""; if (trim($bild1) == "") { echo ''; } else { echo ''; } // elseif echo ''; echo ''; echo ''; echo ""; echo '
'; echo '

'; } // if if (($tmp[0] == "Freizeile") or ($tmp[0] == "FZ")) { $anzeige = "
"; } // if ($tmp[0] == "Mail") { $mail = explode (";", $tmp[1]); $anzeige = '

' . $mail[1] . '

'; } // if if ($tmp[0] == "Link") { $link = explode (";", $tmp[1]); $anzeige = '

' . $link[1] . '

'; } // if ($tmp[0] == "WALink") { $link = explode (";", $tmp[1]); $anzeige = '

'; } // if if ($tmp[0] == "BildLink") { $link = explode (";", $tmp[1]); $anzeige = '

'; } // if if ($tmp[0] == "PDF") { $link = explode (";", $tmp[1]); $anzeige = '

' . $link[1] . '

'; } // if if ($tmp[0] == "WAPDF") { $link = explode (";", $tmp[1]); $anzeige = '

'; } // if if ($tmp[0] == "PressePDF") { $link = explode (";", $tmp[1]); $anzeige = '

'; } // if if ($tmp[0] == "Lauftext") { $lauftext = $tmp[1]; echo '

' . $lauftext . '

'; } // if if ($tmp[0] == "Text") { $anzeige = '

' . $tmp[1] . '

'; } // if ($tmp[0] == "Text2") { $inhalt = explode(";", $tmp[1]); $text1 = $inhalt[0]; $text2 = $inhalt[1]; echo ''; echo ""; echo ''; echo ''; echo ""; echo '

' . $text1 . '

' . $text2 . '

'; } // if if ($tmp[0] == "Text3") { $inhalt = explode(";", $tmp[1]); $text1 = $inhalt[0]; $text2 = $inhalt[1]; $text3 = $inhalt[2]; echo ''; echo ""; echo ''; echo ''; echo ''; echo ""; echo '

' . $text1 . '

' . $text2 . '

' . $text3 . '

'; } // if if ($tmp[0] == "Text4") { $inhalt = explode(";", $tmp[1]); $text1 = $inhalt[0]; $text2 = $inhalt[1]; $text3 = $inhalt[2]; $text4 = $inhalt[3]; echo ''; echo ""; echo ''; echo ''; echo ''; echo ''; echo ""; echo '

' . $text1 . '

' . $text2 . '

' . $text3 . '

' . $text4 . '

'; } // if if ($tmp[0] == "Galerie") { $gname = trim($tmp[1]); include ("galerie.php"); } // if ($tmp[0] == "Galeriezeile") { $gname = trim($tmp[1]); include ("galeriezeile.php"); } // if ($tmp[0] == "Kontaktformular") { include ("kontakt.php"); } // if ($tmp[0] == "Turnierkalender") { include ("turnierkalender.php"); } // if ($tmp[0] == "TextBild") { $inhalt = explode(";", $tmp[1]); $texttb = $inhalt[0]; $bildtb = trim($inhalt[1]); echo "

"; echo ''; echo ""; echo ''; echo ''; echo ""; echo '

' . $texttb . '

'; echo '

'; } // if if ($tmp[0] == "Countdown") { echo '

'; } // if if ($tmp[0] == "BildText") { $inhalt = explode(";", $tmp[1]); $texttb = $inhalt[1]; $bildtb = trim($inhalt[0]); echo "

"; echo ''; echo ""; echo ''; echo ''; echo ""; echo '

' . $texttb . '

'; echo '

'; } // if if ($tmp[0] == "Termin") { $termin = explode(";", $tmp[1]); $anzeige = '

' . $termin[0] . " - " .$termin[1] . "

"; } // if ($tmp[0] == "YouTube") { $videoid = $tmp[1]; $anzeige = '
'; } // if echo $anzeige; } // foreach ?>

(c) Datentechnik Hoffmann - www.datentechnik-hoffmann.de