big update

This commit is contained in:
unknown
2012-04-27 12:20:13 +03:00
parent 0b01b8cf2e
commit d0c55c4c3b
27 changed files with 578 additions and 187 deletions
-10
View File
@@ -29,16 +29,6 @@
</tr></thead>
<tbody>
<?php
if($_GET['buildingFinish'] == 1 AND $session->gold >= 2) {
if($session->access!=BANNED){
$gold=$database->getUserField($_SESSION['username'],'gold','username');
$gold-=2;
$database->updateUserField($_SESSION['username'],'gold',$gold,0);
}else{
header("Location: banned.php");
}
}
if(!isset($timer)) {
$timer = 1;
}