View Single Post
  #5  
Old 21st January 2013, 12:38
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
For statistics add this in index.php

PHP Code:
<h2>Tracker Statistics</h2>
<table width=100% border=1 cellspacing=0 cellpadding=10><tr><td align=center>
<table class=main border=1 cellspacing=0 cellpadding=5>
<tr><td class=rowhead>Max Users</td><td align=right><?=$maxusers?></td></tr>
<tr><td class=rowhead>Registered users <img src=pic/buddylist.gif></td><td align=right><?=$registered?></td></tr>
<tr><td class=rowhead>Unconfirmed users</td><td align=right><?=$unverified?></td></tr>
<tr><td class=rowhead>Warned Users <img src=pic/warned8.gif></td><td align=right><?=$warnedu?></td></tr>
<tr><td class=rowhead>Banned Users <img src=pic/warned1.gif></td><td align=right><?=$disabled?></td></tr>
<tr><td class=rowhead>Torrents</td><td align=right><?=$torrents?></td></tr>
<? if (isset($peers)) { ?>
<tr><td class=rowhead>Peers</td><td align=right><?=$peers?></td></tr>
<tr><td class=rowhead>Seeders</td><td align=right><?=$seeders?></td></tr>
<tr><td class=rowhead>Leechers</td><td align=right><?=$leechers?></td></tr>


<? } ?>
</table>
</td></tr></table>
and for online users add this

PHP Code:
<div id=container><div align=left  id=content><b>Active users - <?=$totalonline?></b>
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
The Following User Says Thank You to Chez For This Useful Post:
nicukent (8th February 2013)