Прикручиваем шаблон. Хороним идиотские ошибки. Исправляем дичь.
This commit is contained in:
@@ -5,9 +5,7 @@
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
}
|
||||
include "config.php";
|
||||
$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"));
|
||||
include "functions.php";
|
||||
include "functions.php";
|
||||
|
||||
if ($user->room != 53) { header("Location: main.php"); exit; }
|
||||
if ($user->battle) { header('location: fbattle.php'); exit; }
|
||||
|
||||
Reference in New Issue
Block a user