Files
TravianZ/templates/Plus/15.tpl
T
iopietro 62d6e19ee9 The first release of the refactored version
It's still a work in progress, there are a lot of things that will
change in the final release
2018-09-16 17:22:39 +02:00

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;
?>