<?
$k_p=mysql_result(mysql_query("SELECT COUNT(*) FROM `obmennik_files`",$db), 0);
$k_n= mysql_result(mysql_query("SELECT COUNT(*) FROM `obmennik_files` WHERE `time` > '".(time()-86400)."'",$db), 0);
if ($k_n==0)$k_n=NULL;
else ".+$k_n.";
if($k_n>0){
echo "($k_p)<font color='#FF0000'>+$k_n</font><br/>";}else{echo "($k_p)<br/>";}
?>