Well total number of members would be
PHP Code:
$numbersmembers=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM user');
$numbermembers=number_format($numbersmembers['users']);
and the top posters would be
PHP Code:
// Top 10 Posters
$posts10 = $DB_site->query('SELECT userid,username,posts FROM user ORDER BY posts DESC LIMIT 10');
while ($posts10top = mysql_fetch_array($posts10)):
++$posts10topnbsp;
$posts10name .= "<a href=member.php?s=$session[sessionhash]&action=getinfo&userid=$posts10top[userid]>$posts10top[username]</a><br>";
$posts10post .= "$posts10top[posts]<br>";