diff --git a/main.php b/main.php index e7770a3..026b41e 100644 --- a/main.php +++ b/main.php @@ -48,6 +48,10 @@ while ($row = $data->fetch_assoc()) { $iteminfo[] = new InventoryItem($row); } +if (isset($_POST['battlefield'])) { + header('Location: zayavka.php'); + exit(); +} /* === проверяем соответствие комнаты и скрипта === */ if (in_array($user->room, [20, 21, 26, 48, 51, 52, 651, 2655, 2601, 2701, 2702, 2111], 1)) { @@ -587,11 +591,11 @@ if ($edit) { title="Образы">
- + room === 20): ?> -