From b9a50c28cb59f69ef011419f813e40d0968b184c Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 7 Jul 2012 19:43:09 +0300 Subject: [PATCH] update --- GameEngine/Automation.php | 1 - a2b.php | 12 ++--- allianz.php | 12 ++--- banned.php | 4 +- berichte.php | 4 +- build.php | 4 +- create_account.php | 4 +- crop_finder.php | 12 ++--- dorf1.php | 4 +- dorf2.php | 4 +- dorf3.php | 4 +- index.php | 2 +- karte.php | 4 +- logout.php | 2 +- nachrichten.php | 4 +- oasis_populate.php | 100 -------------------------------------- plus.php | 4 +- rules.php | 4 +- spieler.php | 4 +- statistiken.php | 4 +- warsim.php | 4 +- winner.php | 6 +-- 22 files changed, 48 insertions(+), 155 deletions(-) delete mode 100644 oasis_populate.php diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index d01ea45c..8b7866ce 100644 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -4008,7 +4008,6 @@ $crannyimg = "setclimberrankpop($session['id'], $totalpoints+1); $database->updateoldrank($session['id'], $oldrank); } - $database->updateoldrank($session['id'], $oldrank); } } $alliance = $database->getARanking(); diff --git a/a2b.php b/a2b.php index 552d8f12..4fa5aafe 100644 --- a/a2b.php +++ b/a2b.php @@ -227,14 +227,12 @@ if(isset($_GET['o'])) { ?> -
+

diff --git a/allianz.php b/allianz.php index 9f0f5e12..22d2bc15 100644 --- a/allianz.php +++ b/allianz.php @@ -295,14 +295,12 @@ $invite_permission = $database->getAlliancePermission($session->uid, "opt4", 0); ?>
-
+

diff --git a/banned.php b/banned.php index a5d400e3..8f240031 100644 --- a/banned.php +++ b/banned.php @@ -59,11 +59,11 @@ if($session->access == BANNED){ include("Admin/Templates/ban_msg.tpl"); ?>
-
+

diff --git a/berichte.php b/berichte.php index 00054e47..0d53d449 100644 --- a/berichte.php +++ b/berichte.php @@ -125,11 +125,11 @@ if($_GET['aid']!=0){ ?>
-
+

diff --git a/build.php b/build.php index 613f00c8..aca21241 100644 --- a/build.php +++ b/build.php @@ -352,11 +352,11 @@ header("Location: dorf1.php");
-
+

diff --git a/create_account.php b/create_account.php index 07a01f85..e2304ac3 100644 --- a/create_account.php +++ b/create_account.php @@ -435,11 +435,11 @@ if($_POST['password'] != ""){
-
+

diff --git a/crop_finder.php b/crop_finder.php index d6ea59da..b189e4e6 100644 --- a/crop_finder.php +++ b/crop_finder.php @@ -315,14 +315,12 @@ } ?>
-
+

diff --git a/dorf1.php b/dorf1.php index 1c652250..6d37473f 100644 --- a/dorf1.php +++ b/dorf1.php @@ -86,11 +86,11 @@ if($building->NewBuilding) { } ?>
-
+



diff --git a/dorf2.php b/dorf2.php index 69d70c78..cb32f881 100644 --- a/dorf2.php +++ b/dorf2.php @@ -77,11 +77,11 @@ if($building->NewBuilding) { } ?>
-
+

diff --git a/dorf3.php b/dorf3.php index ba8e5821..3f0052e3 100644 --- a/dorf3.php +++ b/dorf3.php @@ -87,10 +87,10 @@ if($session->plus){ ?>
-
+

diff --git a/index.php b/index.php index 1ca3a5b5..380992b3 100644 --- a/index.php +++ b/index.php @@ -23,7 +23,7 @@ header("Location: install/"); include ("GameEngine/config.php"); /* -if($_SERVER['HTTP_HOST'] != 'YOUR_DOMAIN') +if($_SERVER['HTTP_HOST'] != '.SERVER.') { header('location: '.SERVER.''); exit; diff --git a/karte.php b/karte.php index 77610161..82b785d7 100644 --- a/karte.php +++ b/karte.php @@ -82,11 +82,11 @@ else { include("Templates/Map/mapview.tpl"); } ?> -
+

diff --git a/logout.php b/logout.php index ce1f833c..5007f4a5 100644 --- a/logout.php +++ b/logout.php @@ -62,7 +62,7 @@ $start = $generator->pageLoadTimeStart();

If other people use this computer too, you should delete your cookies for your own safety:
» delete cookies

-
+

diff --git a/nachrichten.php b/nachrichten.php index f1fa0980..d75d0659 100644 --- a/nachrichten.php +++ b/nachrichten.php @@ -140,11 +140,11 @@ else { } ?> -
+

diff --git a/oasis_populate.php b/oasis_populate.php deleted file mode 100644 index 858eb545..00000000 --- a/oasis_populate.php +++ /dev/null @@ -1,100 +0,0 @@ -access==ADMIN){ - -//controllo - if(isset($_GET['giveout'])){ - - $database->populateOasisUnitsLow(); - - } - - - -?> - - - - - <?php echo SERVER_NAME ?> - - - - - - - - - - - - - gpack == null || GP_ENABLE == false) { - echo " - - "; - } else { - echo " - - "; - } - ?> - - - -
- -
-
- -
- - - -
-
- -
-
- - -
- - -
- - - \ No newline at end of file diff --git a/plus.php b/plus.php index f4514bf5..0425153e 100644 --- a/plus.php +++ b/plus.php @@ -124,11 +124,11 @@ $mailer->sendInvite($_POST['mail'],$session->uid,$_POST['text']); } ?> -
+

diff --git a/rules.php b/rules.php index f29bd226..18739e8d 100644 --- a/rules.php +++ b/rules.php @@ -63,11 +63,11 @@ if(isset($_GET['newdid'])) {
-
+

diff --git a/spieler.php b/spieler.php index a07aacbd..1ab3e68f 100644 --- a/spieler.php +++ b/spieler.php @@ -153,11 +153,11 @@ else if (isset($_GET['s'])) { ?>
-
+

diff --git a/statistiken.php b/statistiken.php index bd9a4614..e26308f6 100644 --- a/statistiken.php +++ b/statistiken.php @@ -136,11 +136,11 @@ else {
-
+

diff --git a/warsim.php b/warsim.php index e4b795ab..c507c94a 100644 --- a/warsim.php +++ b/warsim.php @@ -133,11 +133,11 @@ if(count($target) > 0) {

-
+

diff --git a/winner.php b/winner.php index 5c653acb..dc8aa847 100644 --- a/winner.php +++ b/winner.php @@ -1144,12 +1144,12 @@ d17/x3f8m6l++P5/85njqecf6NH/s8/0/wHeyCdEnMVhkQAAAABJRU5ErkJggg==" align="right"

» Continue
-
+