moving
This commit is contained in:
parent
645c6cb600
commit
f3634fd3ca
@ -10,7 +10,7 @@ session_start();
|
|||||||
if (!isset($_SESSION['uid'])) header("Location: index.php");
|
if (!isset($_SESSION['uid'])) header("Location: index.php");
|
||||||
require_once 'functions.php';
|
require_once 'functions.php';
|
||||||
|
|
||||||
if (!empty($_GET['teeleport']) AND $user['admin'] == 1) {
|
if (!empty($_GET['teleport']) AND $user['admin'] == 1) {
|
||||||
db::c()->query('UPDATE `users`,`online` SET `users`.`room` = 20,`online`.`room` = 20 WHERE `online`.`id` = `users`.`id` AND `online`.`id` = ?i', $_SESSION['uid']);
|
db::c()->query('UPDATE `users`,`online` SET `users`.`room` = 20,`online`.`room` = 20 WHERE `online`.`id` = `users`.`id` AND `online`.`id` = ?i', $_SESSION['uid']);
|
||||||
header('location: city.php?cp');
|
header('location: city.php?cp');
|
||||||
die();
|
die();
|
||||||
|
Loading…
Reference in New Issue
Block a user