From ea056188aa0e677b2a3d0d9b8905b24fba468cc9 Mon Sep 17 00:00:00 2001 From: yi12345 Date: Tue, 3 Apr 2012 19:08:04 +0300 Subject: [PATCH] Update berichte.php --- berichte.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/berichte.php b/berichte.php index 82f7756a..f95eedc7 100644 --- a/berichte.php +++ b/berichte.php @@ -14,6 +14,16 @@ include("GameEngine/Village.php"); $start = $generator->pageLoadTimeStart(); $message->noticeType($_GET); $message->procNotice($_POST); +if(isset($_GET['newdid'])) { + $_SESSION['wid'] = $_GET['newdid']; +if(isset($_GET['t'])) { + header("Location: ".$_SERVER['PHP_SELF']."?t=".$_GET['t']); +}else if(isset($_GET['id'])) { + header("Location: ".$_SERVER['PHP_SELF']."?id=".$_GET['id']); +}else{ + header("Location: ".$_SERVER['PHP_SELF']); +} +} ?>