moving
This commit is contained in:
parent
f3634fd3ca
commit
5e27b18dd2
@ -10,11 +10,9 @@ 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['teleport']) 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');
|
|
||||||
die();
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
|
Loading…
Reference in New Issue
Block a user