update hero_full.php: finish roman units

This commit is contained in:
yi12345
2013-06-09 18:02:07 +03:00
parent e34f675c81
commit a1e62b598e
14 changed files with 176 additions and 189 deletions
+1 -12
View File
@@ -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>