id; $ebene1_navlink = $row_h_nav -> navlink; $h_page = $row_h_nav -> ebene1; if ($h_page == "impressum") { array_push($sys_nav,"$h_id|$h_page|$ebene1_navlink"); } else if ($h_page == "sitemap") { array_push($sys_nav,"$h_id|$h_page|$ebene1_navlink"); } else { array_push($ebene1_nav,"$h_id|$h_page|$ebene1_navlink"); } } # Navi Ebene 2 $ebene2_nav = array(); $result_ebene2_nav = mysql_query(" SELECT `id`, `ebene2`, `navlink` FROM `content` WHERE `ebene1`='$this_ebene1' && `ebene2`!='' && `ebene3`='' && `ebene4`='' && `ebene5`='' && `shownav`='1' ORDER BY `navsort` ASC, `ebene2` ASC "); while ($row_ebene2_nav = mysql_fetch_object($result_ebene2_nav)) { $ebene2_id = $row_ebene2_nav -> id; $ebene2_navlink = $row_ebene2_nav -> navlink; $ebene2_page = $row_ebene2_nav -> ebene2; array_push($ebene2_nav,"$ebene2_id|$ebene2_page|$ebene2_navlink"); } # Navi Ebene 3 $ebene3_nav = array(); $result_ebene3_nav = mysql_query(" SELECT `id`, `ebene3`, `navlink` FROM `content` WHERE `ebene1`='$this_ebene1' && `ebene2`='$this_ebene2' && `ebene3`!='' && `ebene4`='' && `ebene5`='' && `shownav`='1' ORDER BY `navsort` ASC, `ebene3` ASC "); while ($row_ebene3_nav = mysql_fetch_object($result_ebene3_nav)) { $ebene3_id = $row_ebene3_nav -> id; $ebene3_navlink = $row_ebene3_nav -> navlink; $ebene3_page = $row_ebene3_nav -> ebene3; array_push($ebene3_nav,"$ebene3_id|$ebene3_page|$ebene3_navlink"); } # Navi Ebene 4 $ebene4_nav = array(); $result_ebene4_nav = mysql_query(" SELECT `id`, `ebene4`, `navlink` FROM `content` WHERE `ebene1`='$this_ebene1' && `ebene2`='$this_ebene2' && `ebene3`='$this_ebene3' && `ebene4`!='' && `ebene5`='' && `shownav`='1' ORDER BY `navsort` ASC, `ebene4` ASC "); while ($row_ebene4_nav = mysql_fetch_object($result_ebene4_nav)) { $ebene4_id = $row_ebene4_nav -> id; $ebene4_navlink = $row_ebene4_nav -> navlink; $ebene4_page = $row_ebene4_nav -> ebene4; array_push($ebene4_nav,"$ebene4_id|$ebene4_page|$ebene4_navlink"); } # Navi Ebene 5 $ebene5_nav = array(); $result_ebene5_nav = mysql_query(" SELECT `id`, `ebene5`, `navlink` FROM `content` WHERE `ebene1`='$this_ebene1' && `ebene2`='$this_ebene2' && `ebene3`='$this_ebene3' && `ebene4`='$this_ebene4' && `ebene5`!='' && `shownav`='1' ORDER BY `navsort` ASC, `ebene5` ASC "); while ($row_ebene5_nav = mysql_fetch_object($result_ebene5_nav)) { $ebene5_id = $row_ebene5_nav -> id; $ebene5_navlink = $row_ebene5_nav -> navlink; $ebene5_page = $row_ebene5_nav -> ebene5; array_push($ebene5_nav,"$ebene5_id|$ebene5_page|$ebene5_navlink"); } # Content $Param_Ebene = "`ebene1`='$this_ebene1' && `ebene2`='$this_ebene2' && `ebene3`='$this_ebene3' && `ebene4`='$this_ebene4' && `ebene5`='$this_ebene5' "; $result_this_ebene = mysql_query(" SELECT `id`,`title`,`keywords`,`desc`,`h1`,`content` FROM `content` WHERE $Param_Ebene "); if ($result_this_ebene && mysql_num_rows($result_this_ebene) > 0) { if ($row_this_ebene = mysql_fetch_object($result_this_ebene)) { $this_id = $row_this_ebene -> id; $title = $row_this_ebene -> title; $keywords = $row_this_ebene -> keywords; $desc = $row_this_ebene -> desc; $h1 = $row_this_ebene -> h1; $content = $row_this_ebene -> content; } else { $this_id=""; } if (isset($title)) { $title = convert_uml($title); } if (isset($desc)) { $desc = convert_uml($desc); } if (isset($keywords)) { $keywords = convert_uml($keywords); } if (isset($h1)) { $h1 = convert_uml($h1); } if (isset($content)) { $content = convert_uml($content); } } else { header_404(); } ####################################################################################### # /* # SiteMap if ($this_ebene1 == "sitemap") { $Pages_Gesamt = 0; $content1=""; $result_root = mysql_query(" SELECT `navlink` FROM `content` WHERE `ebene1`='/' "); $row_root = mysql_fetch_object($result_root); $root_navlink = $row_root -> navlink; $content = "
\n"; $content .= "Verfügbare Inhalte von $this_host:

\n"; $content .= "$root_navlink\n"; $content .= "\n"; if (isset($content1) && $content1 != "") { $content .= "\n"; } $content .= "$Pages_Gesamt Seiten gesamt auf $this_host."; $content .= "
"; } # */ ####################################################################################### # Includes verarbeiten $include1_array = file("./inc/include1.txt"); $include1 = join("",$include1_array); $content = $include1.$content; if (stristr($content,"[include2]")) { $include2_array = file("./inc/include2.txt"); $include2 = join("",$include2_array); $content = str_replace("[include2]",$include2,$content); } if (stristr($content,"[include3]")) { $include3_array = file("./inc/include3.txt"); $include3 = join("",$include3_array); $content = str_replace("[include3]",$include3,$content); } $include4_array = file("./inc/include4.txt"); $include4 = join("",$include4_array); $content = $content."

".$include4; # Content ausgeben header('Content-Type: text/html; charset=iso-8859-1'); header('Content-Style-Type: text/css'); header('Content-Script-Type: text/javascript'); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "$title\n"; if (stristr($_SERVER['REQUEST_URI'],"impressum") || stristr ($_SERVER['REQUEST_URI'],"datenschutz") || stristr ($_SERVER['REQUEST_URI'],"urheberhinweis")) {echo "\n";} else {echo "\n";} if (isset($desc) && $desc != "") { echo "\n"; } if (isset($keywords) && $keywords != "") { echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
\n"; echo "
\n"; $content="

$h1



$content"; echo "
"; echo "
".$content."


\n"; echo "
\n"; echo "
\n"; echo "
\n"; foreach($ebene1_nav as $ebene1_nav_item) { $ebene1_nav_item = explode("|",$ebene1_nav_item); if ($ebene1_nav_item[0] == $this_id) { if ($ebene1_nav_item[1]=="/") { echo "\n"; } else { echo "\n"; } } else { if ($ebene1_nav_item[1]=="/") { echo "$ebene1_nav_item[2]\n"; } else { echo "$ebene1_nav_item[2]\n"; } } if (count($ebene2_nav) > 0 && ($ebene1_nav_item[1] == $this_ebene1 && $ebene1_nav_item[1] != "/")) { echo "
    \n"; foreach($ebene2_nav as $ebene2_nav_item) { $ebene2_nav_item = explode("|",$ebene2_nav_item); if ($ebene1_nav_item[1]==$this_ebene1) { if ($ebene2_nav_item[0] == $this_id) { echo "
  • \n"; } else { echo "
  • $ebene2_nav_item[2]
  • \n"; } if (count($ebene3_nav) > 0 && ($ebene2_nav_item[1] == $this_ebene2)) { echo "
  • \n"; echo "
    \n"; echo "
      \n"; foreach($ebene3_nav as $ebene3_nav_item) { $ebene3_nav_item = explode("|",$ebene3_nav_item); if ($ebene3_nav_item[0] == $this_id) { echo "
    • \n"; } else { if (substr($ebene3_nav_item[1],0,7)=="http://") { echo "
    • $ebene3_nav_item[2]
    • \n"; } else { echo "
    • $ebene3_nav_item[2]
    • \n"; } } if (count($ebene4_nav) > 0 && ($ebene3_nav_item[1] == $this_ebene3)) { echo "
    • \n"; echo "
      \n"; echo "
        \n"; foreach($ebene4_nav as $ebene4_nav_item) { $ebene4_nav_item = explode("|",$ebene4_nav_item); if ($ebene4_nav_item[0] == $this_id) { echo "
      • \n"; } else { echo "
      • $ebene4_nav_item[2]
      • \n"; } if (count($ebene5_nav) > 0 && ($ebene4_nav_item[1] == $this_ebene4)) { echo "
      • \n"; echo "
        \n"; echo "
          \n"; foreach($ebene5_nav as $ebene5_nav_item) { $ebene5_nav_item = explode("|",$ebene5_nav_item); if ($ebene5_nav_item[0] == $this_id) { echo "
        • \n"; } else { echo "
        • $ebene5_nav_item[2]
        • \n"; } } echo "
        \n"; echo "
        \n"; echo "
      • \n"; } } echo "
      \n"; echo "
      \n"; echo "
    • \n"; } } echo "
    \n"; echo "
    \n"; echo "
  • \n"; } } else { echo "
  • $ebene2_nav_item[2]
  • \n"; } } echo "
\n"; } } echo "
"; foreach($sys_nav as $sys_nav_item) { $sys_nav_item = explode("|",$sys_nav_item); if ($sys_nav_item[1] == $this_ebene1) { echo "\n"; } else { echo "$sys_nav_item[2]\n"; } } echo "

"; echo "
\n"; echo "
\n"; echo "
Copyright ".date("Y",time())." europa-reisen.org
\n"; echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; exit; ?>