mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-13 23:01:02 +00:00
big update
This commit is contained in:
@@ -22,7 +22,7 @@ if (mysql_num_rows($MyGold)) {
|
||||
if (mysql_num_rows($MyGold)) {
|
||||
|
||||
if($golds['b1'] == 0) {
|
||||
mysql_query("UPDATE ".TB_PREFIX."users set b1 = ('".mktime(date("H"),date("i"), date("s"),date("m") , date("d"), date("Y"))."')+".PLUS_PRODUCTION." where `id`='".$session->uid."'") or die(mysql_error());
|
||||
mysql_query("UPDATE ".TB_PREFIX."users set b1 = ('".time()."')+".PLUS_PRODUCTION." where `id`='".$session->uid."'") or die(mysql_error());
|
||||
} else {
|
||||
mysql_query("UPDATE ".TB_PREFIX."users set b1 = '".($golds['b1']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysql_error());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user