mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 06:11:00 +00:00
update
This commit is contained in:
+10
@@ -27,6 +27,16 @@ if(isset($_GET['newdid'])) {
|
|||||||
else {
|
else {
|
||||||
$building->procBuild($_GET);
|
$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'])){
|
if(isset($_GET['s'])){
|
||||||
$automation->isWinner();
|
$automation->isWinner();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user