фикс перехода по локациям

This commit is contained in:
lopar 2018-03-23 20:57:17 +02:00
parent 4b0cbd86a6
commit df5e091658

View File

@ -57,7 +57,14 @@ function can_i_move()
function move_to_inside($room = 0, $roomname = 'неизвестное место') function move_to_inside($room = 0, $roomname = 'неизвестное место')
{ {
db::c()->query('UPDATE `users`,`online` SET `users`.`room` = ?i,`online`.`room` = ?i WHERE `online`.`id` = `users`.`id` AND `online`.`id` = ?i', $room, $room, $_SESSION['uid']); db::c()->query('UPDATE `users`,`online` SET `users`.`room` = ?i,`online`.`room` = ?i WHERE `online`.`id` = `users`.`id` AND `online`.`id` = ?i', $room, $room, $_SESSION['uid']);
?>
<html>
<head>
<link rel="stylesheet" href="css/main.css">
<meta charset="utf-8">
</head>
<body>
<?php
die(" die("
<script>setTimeout(function(){location.href='city.php'} , 5000);</script> <script>setTimeout(function(){location.href='city.php'} , 5000);</script>
<img style='display: block; margin: auto;' src='i/ajax-loader.gif'><br> <img style='display: block; margin: auto;' src='i/ajax-loader.gif'><br>