pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## ## Filename spieler.php ## ## Developed by: Dzoki ## ## License: TravianX Project ## ## Copyright: TravianX (c) 2010-2011. All rights reserved. ## ## ## ################################################################################# use App\Utils\AccessLogger; ob_start(); include_once("GameEngine/Village.php"); AccessLogger::logRequest(); $profile->procProfile($_POST); $profile->procSpecial($_GET); if(isset($_GET['newdid'])){ $_SESSION['wid'] = $_GET['newdid']; if(isset($_GET['s'])){ header("Location: ".$_SERVER['PHP_SELF']."?s=".preg_replace("/[^a-zA-Z0-9_-]/", "", $_GET['s'])); exit(); }else if(isset($_GET['uid'])){ header("Location: ".$_SERVER['PHP_SELF']."?uid=".preg_replace("/[^a-zA-Z0-9_-]/", "", $_GET['uid'])); exit(); }else{ header("Location: ".$_SERVER['PHP_SELF']); exit(); } } else $building->procBuild($_GET); ?> <?php echo SERVER_NAME ?> gpack == null || GP_ENABLE == false) { echo " "; } else { echo " "; } ?>
= 2) { $user = $database->getUserArray(preg_replace("/[^a-zA-Z0-9_-]/","",$_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'] == 5) { include("Templates/Profile/vacation.tpl"); } if($_GET['s'] > 5 or $session->sit == 1) { header("Location: ".$_SERVER['PHP_SELF']."?uid=".preg_replace("/[^a-zA-Z0-9_-]/","",$session->uid)); exit; } } ?>







"; include("Templates/links.tpl"); } ?>
pageLoadTimeEnd()-$start_timer)*1000); ?> ms