exit from location
This commit is contained in:
parent
3e6d8541cd
commit
845857d3cf
@ -64,7 +64,7 @@ echo"<font color=red><b>Вы получили профессию Лекаря!</
|
|||||||
|
|
||||||
if($_GET['exit'] == 1) {
|
if($_GET['exit'] == 1) {
|
||||||
|
|
||||||
mysql_query('UPDATE `users`,`online` SET `users`.`room` = 2702, `online`.`room` = 2702 WHERE `users`.`id` = "'.$user['id'].'" AND `online`.`id` = "'.$user['id'].'"');
|
db::c()->query('UPDATE `users`,`online` SET `users`.`room` = 2702, `online`.`room` = 2702 WHERE `users`.`id` = ?i AND `online`.`id` = ?i', $user['id'],$user['id']);
|
||||||
header('Location: city.php');
|
header('Location: city.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user