Файл: mob-lave.ru/user/people_count.php
Строк: 21
<?
$k_p=mysql_result(mysql_query("SELECT COUNT(*) FROM `$system[perfix]_users`"), 0);
$k_n= mysql_result(mysql_query("SELECT COUNT(*) FROM `$system[perfix]_users` WHERE `regtime` > '".$ftime."'"), 0);
//$us_m = mysql_result(mysql_query("SELECT COUNT(*) FROM `$system[perfix]_users` WHERE `pol` = '1'"), 0);
$us_w = mysql_result(mysql_query("SELECT COUNT(*) FROM `$system[perfix]_users` WHERE `pol` = '0'"), 0);
//$k_n= mysql_result(mysql_query("SELECT COUNT(*) FROM `$system[perfix]_users` WHERE `regtime` > '".$ftime."'"), 0);
if ($k_n==0)$k_n=NULL;else $k_n='<smile><sup>+'.$k_n.'</sup></smile>';
//echo "(<font color=green>М $us_m</font> | <font color=#c55773>Ж $us_w</font>) <font color='red'>$k_n</font>";
echo "<span class='count'>$k_p <font color='red'>$k_n</font></span>";
?>