<?
$mini_chat = mysql_result(mysql_query("SELECT COUNT(*) FROM
`mini-chat`"), 0);
$mini_chat_new =
mysql_result(mysql_query("SELECT COUNT(*) FROM `mini-chat` WHERE
`date` > '".(time()-86400)."'"), 0);
echo
'<time>'.$mini_chat.'';
if ($mini_chat_new!=0)echo
'<new>+'.$mini_chat_new.'</new>';
echo '</time>';
?>