Прикручиваем шаблон. Хороним идиотские ошибки. Исправляем дичь.

This commit is contained in:
Igor Barkov (iwork)
2020-09-30 16:45:10 +03:00
parent 0917f9d07f
commit cb47ba0542
4 changed files with 822 additions and 898 deletions

View File

@@ -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; }