\n"; include "./inc/config.php"; include("./inc/$language.lang.php"); // WikiWiki if ($category == "wiki") { include("wiki/config.php"); #-- this is the actual call to generate the output for the current wiki # page, but we buffer it now and print its output later $ewiki_page = ewiki_page(); } // HTML Header, META-Tags, ... include("./inc/header.php"); //banner with title::language::page and language-flags include ("./inc/banner.php"); //End banner // ############################################################################# // the Page text // ############################################################################# echo "
\n"; // Admin Pages if($admin_open != "") { include("./admin/login.php"); } // end Admin Pages // Guestbook Pages elseif($category == "gb") { if($open == "{$gb_label['read']}") { include("./guestbook/gb_read.php"); } elseif($open == "{$gb_label['sign']}") { if($write == 1) { include("./guestbook/gb_write_entry.php"); } else { include("./guestbook/gb_sign.php"); } } } // end Guestbook Pages // News Pages elseif($category == "news") { if($write == 1) { include("./news/write_news.php"); } else { include("./news/news.php"); } } // end News Pages // WikiWiki Pages elseif($category == "wiki") { include("./wiki/index.php"); } // end WikiWiki Pages // Photoalbum Pages elseif($category == "photos") { include("./inc/photoalbum.php"); } // end Photoalbum Pages // Newsletter Pages elseif($category == "newsletter") { include("./newsletter/$open.php"); } // end Newsletter Pages // other (normal) Pages elseif(file_exists("./$language/$category/$open.php")) { include("./$language/$category/$open.php"); } // end normal Pages // Error Message: File not found else { include("./404.php"); } // End Error Message echo "
\n"; // ############################################################################# // End Page text // ############################################################################# // ############################################################################# // Menue // ############################################################################# echo "
\n"; // Main include("./inc/menu/main.php"); // End Main // normal Pages Menue include ("./inc/menu/pages.php"); // end normal Pages Menue // Guestbook Links if ($show_guestbook == "1") { include("./inc/menu/guestbook.php"); } // End Guestbook-links // News if ($show_news == "1") { include("./inc/menu/news.php"); } // End News // WikiWiki Links // if ($show_wiki =="1") { include("./inc/menu/wiki.php"); } // end WikiWiki Links // Photoalbum-Menue if (is_dir('./photos')) { include("./inc/menu/photo_album.php"); } // end Photoalbum-Menue // If exist, load inc/extra_menu.php if(is_file("./inc/menu/extra_menu.php")) { echo "
$extra_menue
\n"; include ("./inc/menu/extra_menu.php"); echo "
\n"; } // end extra-menue // Newsletter Menue if ($show_newsletter == "1") { include("./inc/menu/newsletter.php"); } // end Newsletter-Menue // Menueswitch left/right if ($show_menu_switch == "1") { include("./inc/menu/menu_switch.php"); } // end Menueswitch // Styleswitch if ($show_styles == "1") { include("./inc/menu/style_switch.php"); } // end Styleswitch // Admin Menue if ($show_admin == "1") { include("./inc/menu/admin.php"); } // end Admin Menue // Counter if ($show_counter == "1") { include("./inc/count.php"); } //footer if ($show_footer == "1") { include("./inc/footer.php"); } //end footer echo "
\n"; // ############################################################################# // end Menue // ############################################################################# echo "\n"; ?>