$qstring = explode("&",$_SERVER["QUERY_STRING"]);
$otherqstring = $_SERVER["QUERY_STRING"];
$num = count($qstring) - 1;
if(is_array($qstring)){
for($i=0;$i<=$num;$i++){
$data = $qstring[$i];
if($i > 0){
$data1 = explode("=",$data);
$savestring .= $qstring[$i - 1]."&";
print "
".ucfirst(str_replace("_", " ", str_replace("%20", " ", $data1[1])))." / ";
} else {
$savestring .= $qstring[$i - 1];
$data1 = explode("=",$data);
print "
".ucfirst(str_replace("_", " ", str_replace("%20", " ", $data1[1])))." / ";
}
}
print "
";
}
#print "
The Beyond Gaming lobby server is down for maintainance.";
if(/*$config["Site_Open"] || ($_SESSION["user"]["level"] > 4 && !$config["Site_Open"]) || $_GET["page"] == "login"*/true){
switch($_GET["page"]){
case "admin";
include("pages/admin.php");
break;
case "applications";
include("pages/applications.php");
break;
case "contact_us";
include("pages/contact_us.php");
break;
case "downloads";
include("pages/downloads.php");
break;
case "links";
include("pages/links.php");
break;
case "login";
include("pages/login.php");
break;
case "register";
include("pages/register.php");
break;
case "home";
include("pages/home.php");
break;
case "games";
include("pages/games.php");
break;
case "logout";
include("pages/logout.php");
break;
case "news";
include("pages/news.php");
break;
case "user";
include("pages/user.php");
break;
case "tos";
include("pages/tos.php");
break;
case "notices";
include("pages/notices.php");
break;
case "support_ticket";
include("pages/tech_system.php");
break;
case '';
include("pages/home.php");
break;
default;
?>
break;
}
} else {
print "The site is currently closed. Please come back another time.";
}
?>