mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-20 10:11:00 +00:00
update plus header: know the gold will update after one click
This commit is contained in:
@@ -4,7 +4,8 @@ if($session->access != BANNED){
|
||||
if($session->gold >= 100) {
|
||||
mysql_query("UPDATE ".TB_PREFIX."users set goldclub = 1, gold = gold - 100 where `username`='".$session->username."'");
|
||||
}
|
||||
include("Templates/Plus/3.tpl");
|
||||
header("Location: plus.php?id=3");
|
||||
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user