mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-06 21:04:20 +00:00
11 lines
329 B
Smarty
11 lines
329 B
Smarty
<?php
|
|
////////////// made by alq0rsan /////////////////////////
|
|
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");
|
|
}else{
|
|
header("Location: banned.php");
|
|
}
|
|
?> |