Просмотр файла system/auth.php
<?php if($vhod==1){ $newmes=mysql_fetch_row(mysql_query("select count(*) from post where id_komu='$id_user' and pstatus='new'")); $sysmes=mysql_fetch_row(mysql_query("select count(*) from syspost where id_user='$id_user' and pstatus='new'")); echo'<br>'; if($sysmes[0]!=0){ } echo''; }else{ echo'<div class="cont"><a href="../pages/enter.php?'.$s.'">Войти</a><br> <a href="../pages/registration.php?'.$s.'">Зарегистрироваться</a><br> </div>'; } ?>