View file txtban/ban_servise.php
<?php mysql_connect($bd_host,$bd_name,$bd_pass) ; mysql_select_db($bd_bd) ; $result=mysql_query("select * from `index` where `id`=".$id); $status=mysql_result($result,0,"status"); If ($status=="1"){ $ban="1"; echo "<p>Oшибкa!!!Bы зaбaнeны!!!<a href=\"apanel.php?id=$id&pass=$pass\">B пaнeль</a></p></card></wml>"; exit; } ?>