pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## ## Project: TravianZ ## ## Filename karte.php ## ## Developed by: Dzoki ## ## License: TravianZ Project ## ## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## ## URLs: http://travian.shadowss.ro ## ## Source code: https://github.com/Shadowss/TravianZ ## ## ## ################################################################################# use App\Utils\AccessLogger; if(isset($_GET['z']) && !is_numeric($_GET['z'])) die('Hacking Attempt'); include_once("GameEngine/Village.php"); AccessLogger::logRequest(); if(isset($_GET['newdid'])) { $_SESSION['wid'] = $_GET['newdid']; if(isset($_GET['d']) && isset($_GET['c'])){ header("Location: ".$_SERVER['PHP_SELF']."?d=".preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['d'])."&c=".preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['c'])); exit; } else if(isset($_GET['d'])){ header("Location: ".$_SERVER['PHP_SELF']."?d=".preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['d'])); exit; } else{ header("Location: ".$_SERVER['PHP_SELF']); exit; } } else { $building->procBuild($_GET); } ?>