Примеры запросов и выводов (+/-)
$new = mysql_query("SELECT `id`, `preg`,`name`, `datereg` FROM `users` WHERE `preg` = 1 ORDER BY `datereg` DESC LIMIT 2");
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `users`"), 0);
$online = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `lastdate` > '" . (time() - 300) . "'"), 0);
$offline = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `lastdate` < '" . (time() - 300) . "'"), 0);
$total_man = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `sex` = 'm'"), 0);
$total_women = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `sex` = 'zh'"), 0);
$list = '';
while (($luzer = mysql_fetch_assoc($new)) !== false)
$list[] = '<a href="'.$set['homeurl'].'/users/profile.php?user='.$luzer['id'].'">'.$luzer['name'].'</a>';
echo 'New: '.functions::display_menu($list, ' | ').'<br>';
echo 'total: '. $total.'<br>';
echo 'Online: '.$online.'<br>';
echo 'Offline: '.$offline.'<br>';
echo 'Man: '.$total_man.'<br>';
echo 'Women: '.$total_women.'<br>';
Остальное, кому что нужно и возьмет + допилить под свои нужды , в плане дизайна и графики ....