View file user/count.php
<?php
$koll = db::count("SELECT COUNT(*) FROM `user`");
$k_new = db::count("SELECT COUNT(*) FROM `user` where `date_reg` > '$ftime' ");
if ( $_new > 0 )
$k_new = '<font color="red">+' . $k_new . '</font>';
else
$k_new = null;
echo '(' . $koll . ') ' . $k_new;
?>