Просмотр файла system/counts/private_menu/mail.php
<? $new_mail = mysql_result(mysql_query("SELECT COUNT(*) FROM `mails` WHERE `user_id` = '" .$user_id ."' AND `read` = 'no'"), 0); if($new_mail == 0) { echo ' <span style="color:red;float:right">новых писем нет</span> '; } else { echo ' <a href="mails.php?act=mail"> <span style="color:red;float:right;">новых +' .$new_mail .'</span></a>';} ?>