чистка кода
This commit is contained in:
parent
f170e19a85
commit
ea0e5b54ec
@ -650,14 +650,7 @@ if (!empty($_POST['open'])) {
|
||||
<TR>
|
||||
<TD valign=top>
|
||||
<?php
|
||||
if (!in_array($user['room'], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 16, 19, 101]) AND empty($logs) AND empty($tklogs)) die(err('В этой комнате невозможно подавать заявки!'));
|
||||
// if ($user['room'] != 1 && $user['room'] != 2 && $user['room'] != 3 && $user['room'] != 4 &&
|
||||
// $user['room'] != 5 && $user['room'] != 6 && $user['room'] != 7 && $user['room'] != 9 &&
|
||||
// $user['room'] != 10 && $user['room'] != 15 && $user['room'] != 16 && $user['room'] != 19 &&
|
||||
// $user['room'] != 8 && $user['room'] != 101 && !$tklogs && !$logs) {
|
||||
// echo "<BR><BR><BR><CENTER><B>В этой комнате невозможно подавать заявки</b></CENTER>";
|
||||
// die();
|
||||
// }
|
||||
if (!in_array($user['room'], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 16, 19]) AND empty($tklogs)) die(err('В этой комнате невозможно подавать заявки!'));
|
||||
|
||||
if (!$level && !$tklogs && !$logs) {
|
||||
echo "<BR><BR><BR><CENTER><B>Выберите раздел</b></CENTER>";
|
||||
|
Loading…
Reference in New Issue
Block a user