2 function unset_time_lock(){
4 $user_id = $_SESSION['user_id'];
5 $q="update users set acc_lockout=NULL where user_id=$user_id";
8 $kset=$db->query("select login from users where user_id='$user_id'");
10 $nick=$kset->getString('login');
11 $exploded=explode("[Locked_OUT]", $nick);
12 $nick=mysql_real_escape_string($exploded[0]);
15 $q="update nodes set node_name='$nick' where node_id=$user_id";
17 $q="update users set login='$nick' where user_id=$user_id";
22 $error="ok. tvoj timelock bol zruseny.";