$ug_count=mysql_result(mysql_query("SELECT COUNT(*) FROM `us_wall` WHERE `id_user_adm` = '$ank[id]'"),0);
$ug_count_today=mysql_result(mysql_query("SELECT COUNT(*) FROM `us_wall` WHERE `id_user_adm` = '".$ank['id']."' AND `time` > '".(time()-86400)."'"),0);

echo "<img src=\"/img/wall.png\" alt=\"\" class='rpg' /> <a href=\"/wall/?id=".$ank['id']."\">Стена</a> ($ug_count/<font color='red'>+$ug_count_today</font>)";