mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-20 18:21:00 +00:00
Update dorf1.php
This commit is contained in:
@@ -20,15 +20,6 @@ if(isset($_GET['newdid'])) {
|
|||||||
}else{
|
}else{
|
||||||
$building->procBuild($_GET);
|
$building->procBuild($_GET);
|
||||||
}
|
}
|
||||||
if(isset($_GET['master']) && isset($_GET['id']) && isset($_GET['time']) && $session->gold >= 1 && $session->goldclub && $village->master == 0) {
|
|
||||||
if($session->access!=BANNED){
|
|
||||||
$level = $database->getResourceLevel($village->wid);
|
|
||||||
$database->addBuilding($village->wid, $_GET['id'], $_GET['master'], 1, $_GET['time'], 1, $level['f'.$_GET['id']] + 1 + count($database->getBuildingByField($village->wid,$_GET['id'])));
|
|
||||||
header("Location: ".$_SERVER['PHP_SELF']);
|
|
||||||
}else{
|
|
||||||
header("Location: banned.php");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html>
|
<html>
|
||||||
|
|||||||
Reference in New Issue
Block a user