username."'") or die(mysql_error()); $golds = mysql_fetch_array($MyGold); include("Templates/Plus/pmenu.tpl"); $MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `username`='".$session->username."'") or die(mysql_error()); $golds = mysql_fetch_array($MyGold); $today = date("mdHi"); if (mysql_num_rows($MyGold)) { if($session->gold == 0) { echo "
You currently don't own gold.
"; } else { echo "You currently have $session->gold gold
"; } } ?>| Travian Gold Club | ||||
|---|---|---|---|---|
| Description | Duration | Gold | Action | |
| Gold Club Gold Club including: farmlist, merchants run three times, crop finder, master builder, trade routes, raid statistics and automatic send away troops before an attack. | Active for the current round of the game, not including bouns production or plus additions. | 100 |
username."'") or die(mysql_error()); $golds = mysql_fetch_array($MyGold); if (mysql_num_rows($MyGold)) { if($golds['goldclub']==0){ if($golds['gold'] > 99) { echo ' Activate'; }else{ echo ' too little gold'; }} else { echo 'On';} } ?> | |