Screen:

Opis:
Dodaję do statusu łączną ilość graczy.
Uwaga ! Nie liczy slotów z serwera głosowego.
Instalacja:
W pliku index.php przed:
foreach ($server as $skey =>$sval)
dodaj. Np.:
$totalPlayers = 0; $maxPlayers = 0;
W pętli po linijce np. tej:
$sval['online_percent'] = floor(100*@$pqinfo['totalplayers']/@$pqinfo['maxplayers']);
dodaj:
$totalPlayers += $pqinfo['totalplayers']; $maxPlayers += $pqinfo['maxplayers']; $wolnych = ($maxPlayers - $totalPlayers);
Przed:
$tpl->assign($main); $tpl->parse("MAIN"); $tpl->out("MAIN");
Dodaj:
$tpl->assign( 'graczy', $totalPlayers ); $tpl->assign( 'wolnych', $wolnych );
Otwórz plik skin/default.html i dodaj po <!-- END: STATUS -->
</table> <table border="0" cellpadding="0" cellspacing="0" class="players" align="center" width="100%"> <tr style="padding-top:1px;"> <td id="break" height="40px" align="center"><font size=3>Na naszych serwerach ł±cznie obecnie gra <b>{graczy}</b> graczy, co daje <b>{wolnych}</b> wolnych miejsc.</font></td> </tr> </body> </html> <!-- END: MAIN -->