.      Zhum.
    :
1.     .
2.      anti_reg.sql
3.  SQL   :
INSERT INTO `all_accesses` (`type`, `name`) VALUES ('anti_reg_access', ' ');



4.  reg.php  :

    #******************************************************************************#

    $nick = my_esc($_POST['nick']); ///  by Zhum

    include H.'sys/inc/censure.php';

    $anti_nick = mb_strtolower($nick, 'UTF-8');

    $censure = censure($anti_nick);

    if ($censure){$err[]='    '.$censure;}



    $reg=mysql_query("SELECT * FROM `anti_reg`");

    while ($anti_reg = mysql_fetch_assoc($reg))

    {

        if(stristr($anti_nick, ''.$anti_reg['nick'].'') != FALSE)$err=' "'.$nick.'"  !';

        if(stristr($anti_nick, ''.retranslit($anti_reg['nick']).'') != FALSE)$err=' "'.$nick.'"  !';

    }

#******************************************************************************#



5.  /adm_panel/index.php  :
if(user_access('anti_reg_access')) {echo "<div class='main'><img src='/style/icons/str.gif' alt='*'> <a href='/adm_panel/anti_reg.php'>-</a></div>\n";}
6.     " ".

7. , , .   - )
