Well this script is for script football by Doggynub, you can see here: http://otland.net/f81/football-automatic-0-3-6-0-4-updated-99984/
I See other higthscore gesior acc and not works, its very large and not see good this look fine and works 100%.
NOTE: only works in http://otland.net/f81/football-automatic-0-3-6-0-4-updated-99984/
If you are going to use it, please respect credits.
I See other higthscore gesior acc and not works, its very large and not see good this look fine and works 100%.
NOTE: only works in http://otland.net/f81/football-automatic-0-3-6-0-4-updated-99984/
If you are going to use it, please respect credits.
PHP:
<?php
$main_content .= '<div style="text-align: center; font-weight: bold;"><h2><font color=Red>Top 15 Goals on ' . $config['server']['serverName'] . '</h2></font></div>
<center>
<table border="0" cellspacing="1" cellpadding="4" width="80%">
<tr bgcolor="' . $config['site']['vdarkborder'] . '">
<td class="white" style="text-align: center; font-weight: bold;"><center>#</center></td>
<td class="white" style="text-align: center; font-weight: bold;">Name</td>
<td class="white" style="text-align: center; font-weight: bold;">World</td>
<td class="white" style="text-align: center; font-weight: bold;">Goals</td>
<td class="white" style="text-align: center; font-weight: bold;">Wins</td>
</tr>';
$i = 0;
foreach($SQL->query('SELECT `name`,`goals`,`total`,`wins` FROM `players`
GROUP BY `name`
ORDER BY (`wins`/`total`)*(`goals`+`wins`) DESC LIMIT 0,15') as $player)
{
$i++;
$main_content .= '<tr bgcolor="' . (is_int($i / 2) ? $config['site']['lightborder'] : $config['site']['darkborder']). '">
<td style="text-align: center;">'.$i.'</td>
<td><a href="?subtopic=characters&name=' . urlencode($player['name']) . '">' . $player['name'] . '</a></td>
<td style="text-align: center;">' . $config['server']['serverName'] .'</td>
<td style="text-align: center;">' . $player['goals'] . '</td>
<td style="text-align: center;">' . $player['wins'] . '</td>
</tr>';
}
$main_content .= '</table><br />';
$main_content .= '<div style="text-align: right; font-size: 10;">Based on system <a href=http://otland.net/members/doggynub/</a> code. System made by <a href=http://otland.net/members/cronox>Cronox.</a></div>';
?>
Last edited: