exit from location

This commit is contained in:
lopar 2018-03-23 21:17:53 +02:00
parent 3e6d8541cd
commit 845857d3cf

View File

@ -64,7 +64,7 @@ echo"<font color=red><b>Вы получили профессию Лекаря!</
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');
}