fix change village system 100%, change natars access again and fix natars ranking

This commit is contained in:
unknown
2012-04-04 05:34:36 +03:00
parent 05a15b77ae
commit 0aa0369157
17 changed files with 241 additions and 107 deletions
+11
View File
@@ -19,6 +19,17 @@
include ("GameEngine/Chat.php");
$start = $generator->pageLoadTimeStart();
$alliance->procAlliance($_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['aid'])){
header("Location: ".$_SERVER['PHP_SELF']."?aid=".$_GET['aid']);
}
else{
header("Location: ".$_SERVER['PHP_SELF']);
}
}
if(isset($_GET['s'])){
$automation->isWinner();
}