0) { $moduleurl = substr($moduleurl,0,$urlcut); } else { if(strpos($moduleurl, "?") == 0) { $moduleurl = $_SERVER["REQUEST_URI"]."?site=1"; } if($_SERVER["REQUEST_URI"] == "/" || is_null($_SERVER["REQUEST_URI"])) { $moduleurl = "/index.php?site=1"; } } $moduleurl1 = $moduleurl; switch($uebergabe) { //----------------------------------------------------------------------------------------------------------------------------------------------------------- case "0": include($_SERVER["DOCUMENT_ROOT"]."/Modules/Forum/include/viewforum.php"); break; //------------------------------------------------------------------------------------------------------------------------- //view topic--------------------------------------------------------------------------------------------------------------- case "1": include($_SERVER["DOCUMENT_ROOT"]."/Modules/Forum/include/viewtopic.php"); break; //------------------------------------------------------------------------------------------------------------------------- //add topic---------------------------------------------------------------------------------------------------------------- case "2": include($_SERVER["DOCUMENT_ROOT"]."/Modules/Forum/include/addtopic.php"); break; //------------------------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------------------------- default: include($_SERVER["DOCUMENT_ROOT"]."/Modules/Forum/include/viewforum.php"); break; }