<?php
$o = $db -> dbcount('COUNT(`id`)','obmen_files');
$p = $db -> dbcount('COUNT(`id`)','obmen_files','`dateupload` > '.(time()-86400).'');
if ($p==0)$p=NULL;
else $p='+'.$p;
echo '<span class="count">'.$o.'<span class="chet">'.$p.'</span></span>';
?>