<?
$kk_p=mysql_result(mysql_query("SELECT COUNT(*) FROM `besed_post`",$db), 0);
$kk_n= mysql_result(mysql_query("SELECT COUNT(*) FROM `besed_post` WHERE `time` > '".(time()-86400)."'",$db), 0);
if ($kk_n==0)$kk_n=NULL;
else $kk_n="/<font color='red'>+$kk_n</font>";
echo "$kk_p$kk_n";
?>