This is my first script. I saw a widnet layout and I edited one of his scipts. It shows in web a list of top balance (Money in bank).
Tested on TFS 0.3.4
If you want to show more of o players change this:
Replace the 5 for the number of player to show.
Credits for widnet
Tested on TFS 0.3.4
PHP:
<?php
$limitt = 5;
$skills = $SQL->query('SELECT name,level,balance FROM players WHERE group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" ORDER BY balance DESC, balance DESC LIMIT '.$limitt)->fetchAll();
$number_of_rows = 0;
foreach($skills as $skillss)
{
$number_of_rows++;
echo '<li class="bg6"><a href="index.php?subtopic=characters&name='.urlencode($skillss['name']).'" class="link2">'.$skillss['name'].'</a><br>';
echo '<em class="style2">Balance: <b>'.urlencode($skillss['balance']).' gold coins.</b></em></li>';
}
?>
If you want to show more of o players change this:
PHP:
$limitt = 5;
Credits for widnet