window.location= \"../index.php\""; } function TeamToForum($team){ switch($team){ case "Tech"; return "Tech"; break; case "Member Plus"; return "MPlus"; break; case "Host"; return "Hosts"; break; case "Admin"; return "Admins"; break; case "Development"; return "Development"; break; case "Security Team"; return "ST"; break; } } $myname = $_SESSION["user"]["name"]; $adminuser = $_SESSION["user"]["name"]; //check who/what they are and react accordingly if($maintain && $_SESSION["user"]["level"] < 7 && ($_SESSION["committee"]["name"] != "Security Team" || $_SESSION["committee"]["name"] != "Admin")) { print "
Administration panel is undergoing maintainance
"; } else { if(isset($_SESSION["user"]["name"]) && !isset($_GET["committee"])){ switch($_SESSION["committee"]["tag"]){ case "@MPlus"; ?> Redirecting you to the @MPlus admin page in 2 seconds.
Redirecting you to the @Host admin page in 2 seconds.
Redirecting you to the @Tech admin page in 2 seconds.
Redirecting you to the @Dev admin page in 2 seconds. Redirecting you to the @ST admin page in 2 seconds. "; print "MPlus Committee
Tech Committee
Dev Committee
Host Committee
Security Team Committee
Admin Committee"; break; } // end Tag case } // end main if if(isset($_GET["committee"])){ //check if they're trying to get to a page! if($maintain) { print "
Administration panel is undergoing maintainance
"; } switch($_GET["committee"]){//select a page case "MPlus"; include("admin/MPlus.php"); break; case "Host"; include("admin/Host.php"); break; case "Tech"; include("admin/Tech.php"); break; case "Dev"; include("admin/Dev.php"); break; case "ST"; include("admin/ST.php"); break; case "Admin"; include("admin/Admin.php"); break; } // end select page } // end committiee page } // end mantainance switch ?>


Admin Panel Version: 3.2.4