фикс перехода по локациям
This commit is contained in:
parent
54d5220fdd
commit
4b0cbd86a6
22
city.php
22
city.php
@ -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 |
Loading…
Reference in New Issue
Block a user