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

This commit is contained in:
lopar 2018-03-23 20:55:31 +02:00
parent 54d5220fdd
commit 4b0cbd86a6
2 changed files with 5 additions and 17 deletions

View File

@ -57,24 +57,12 @@ function can_i_move()
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']);
?>
<html>
<head>
<link rel="stylesheet" href="css/main.css">
<meta charset="utf-8">
</head>
<body>
<?php
die("
<script>
function cityg() {
location.href = 'city.php';
}
setTimeout('cityg', 5000);
</script>
<br><br><img style='display: block; margin: auto;' src='i/ajax-loader.gif'><br>
<i>Переходим на $roomname...</i>
");
<script>setTimeout(function(){location.href='city.php'} , 5000);</script>
<img style='display: block; margin: auto;' src='i/ajax-loader.gif'><br>
<i>Переходим на $roomname...</i>
");
}
/**

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 96 KiB