Хороним идиотские ошибки в проверках и инклюдах.

This commit is contained in:
Igor Barkov (iwork)
2020-09-30 15:30:00 +03:00
parent 2e167b79dd
commit 95fa17237a
112 changed files with 223 additions and 119 deletions
+2 -1
View File
@@ -11,10 +11,11 @@
$log_text="<strong><font color=#df0d0d>Пожирающее Пламя [3]</font></strong>";
$book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;"));
if ($_SESSION['uid'] == null) {
if (empty($_SESSION['uid'])) {
header("Location: index.php");
exit;
}
$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;"));
$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';"));
//mana needed