.      Zhum. 
    ,   ,   :
1.     
2.    spravka.sql (  )
3.  SQL   :
ALTER TABLE `user` ADD `onliner` INT(1) NOT NULL DEFAULT '0' COMMENT '';
4.  /adm_panel/user.php  admin_log('','',"   '$ank[nick]' (id#$ank[id])"); :

if(user_access('online_red')){

if(isset($_POST['onliner']) && $_POST['onliner']==1){

mysql_query("UPDATE `user` SET `onliner` = '".my_esc($_POST['onliner'])."'  WHERE `id` = '$ank[id]'");

}else{

if(@$_POST['onliner']!=1){
 $onliner='0';
}
mysql_query("UPDATE `user` SET `onliner` = '".$onliner."'  WHERE `id` = '$ank[id]'");

}
}
5.  /adm_panel/user.php  echo "<input type='submit' name='save' value='' />\n";
  :
if(user_access('online_red')){

    if($ank['onliner']==1){

        $checked = 'checked';

    }else{

        $checked =null;

}
echo "<label><input type='checkbox' name='onliner' value='1' ".$checked.">-</label><br /><br />";
}
6.  SQL   :
INSERT INTO `all_accesses` (`type`, `name`) VALUES ('online_red', '/ ');

7.  SQL   :
INSERT INTO `all_accesses` (`type`, `name`) VALUES ('edit_rules', ' ');

8.  SQL   :
ALTER TABLE `user` ADD `tocken` VARCHAR(300) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '   ()';

9.    :
- "/ "
- " "
10.     :
echo "<a href="/info/"><b><font color="green"><img src="/style/icons/info.png" alt="*" title="   "> </font></b>";
11. , .     - , .
