Просмотр файла click_club/header/ban.php
<? if ($_SERVER['HTTP_X_FORWARDED_FOR']) { $ip=$_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip=$_SERVER['REMOTE_ADDR'];} $banus=mysql_query("select * from `ban` where who='".$_USER['login']."'"); $bann=mysql_num_rows($banus); if($bann>0) {header ("Location: http://.ru/ban.php?logg=".$_USER['login'].""); } ?>