pageLoadTimeStart();
$profile->procProfile($_POST);
$profile->procSpecial($_GET);
if(isset($_GET['newdid'])) {
$_SESSION['wid'] = $_GET['newdid'];
if(isset($_GET['s'])){
header("Location: ".$_SERVER['PHP_SELF']."?s=".$_GET['s']);
}else if(isset($_GET['uid'])){
header("Location: ".$_SERVER['PHP_SELF']."?uid=".$_GET['uid']);
}else{
header("Location: ".$_SERVER['PHP_SELF']);
}
}
else {
$building->procBuild($_GET);
}
if(isset($_GET['s'])){
$automation->isWinner();
}
if(isset($_GET['uname'])){
$uname = $database->getUserField($_GET['uname'], "id", 1);
if($uname == ""){
$uname = $session->uid;
}
header("Location: ".$_SERVER['PHP_SELF']."?uid=".$uname);
}
?>
gpack == null || GP_ENABLE == false) {
echo "
";
} else {
echo "
";
}
?>
= 2) {
$user = $database->getUserArray($_GET['uid'],1);
if(isset($user['id'])){
include("Templates/Profile/overview.tpl");
} else {
include("Templates/Profile/notfound.tpl");
}
}
else {
include("Templates/Profile/special.tpl");
}
}
else if (isset($_GET['s'])) {
if($_GET['s'] == 1) {
include("Templates/Profile/profile.tpl");
}
if($_GET['s'] == 2) {
include("Templates/Profile/preference.tpl");
}
if($_GET['s'] == 3) {
include("Templates/Profile/account.tpl");
}
if($_GET['s'] == 4) {
include("Templates/Profile/graphic.tpl");
}
if($_GET['s'] > 4 or $session->sit == 1) {
header("Location: ".$_SERVER['PHP_SELF']."?uid=".$session->uid);
}
}
?>
Calculated in pageLoadTimeEnd()-$start)*1000);
?> ms
Server time: