mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-10 21:31:01 +00:00
update hero_full.php: finish roman units
This commit is contained in:
+1
-12
@@ -27,16 +27,7 @@ if(isset($_GET['newdid'])) {
|
||||
else {
|
||||
$building->procBuild($_GET);
|
||||
}
|
||||
|
||||
if(isset($_POST['uid'])){
|
||||
if($_POST['uid'] != $session->uid){
|
||||
die();
|
||||
header("Location: ".$_SERVER['PHP_SELF']);
|
||||
}elseif($_POST['uid'] == $session->uid){
|
||||
//$database->updateUserField($session->uid,"password",md5($_POST['pw']),1);
|
||||
header("Location: ".$_SERVER['PHP_SELF']);
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($_GET['s'])){
|
||||
$automation->isWinner();
|
||||
}
|
||||
@@ -159,8 +150,6 @@ else if (isset($_GET['s'])) {
|
||||
if($_GET['s'] > 4 or $session->sit == 1) {
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?uid=".preg_replace("/[^a-zA-Z0-9_-]/","",$session->uid));
|
||||
}
|
||||
}else{
|
||||
header("Location: spieler.php?s=3");
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user