Просмотр файла file/mess.php
<?php $qy=mysql_query("select * from `privat` where (`komu`='$login' && `status`='0');"); $new=mysql_num_rows($qy); if ($new>0) { print "<div class='news'>"; print "<center><img src=\"style/".$autorize['skin']."/privat/0.png\" alt=\"*\"/>Приват: <a href=\"privat.php?m=vhod&".session_name()."=".session_id()."\"><b>".$new."</b></a></center>"; $q=mysql_query("select* from `privat` where `kogo`='$login' order by `id` desc;"); print "</div>"; } ?>