mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-29 00:54:31 +00:00
79eb6a73d6
+Removed almost all "BANNED" controls to template and .php UI files. The control will be done only once and in the Session class
8 lines
324 B
Smarty
8 lines
324 B
Smarty
<?php
|
|
////////////// made by alq0rsan /////////////////////////
|
|
if($session->gold >= 100 && $session->sit == 0 && $session->goldclub == 0) {
|
|
mysqli_query($database->dblink,"UPDATE ".TB_PREFIX."users set goldclub = 1, gold = gold - 100 where `id`='".$session->uid."'");
|
|
}
|
|
header("Location: plus.php?id=3");
|
|
exit;
|
|
?> |