Мелкие ошибки из анализатора.
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Battles\Template;
|
||||
use Battles\User;
|
||||
|
||||
session_start();
|
||||
require_once "functions.php";
|
||||
$user = $user ?? new \Battles\User($_SESSION['uid']);
|
||||
$user = $user ?? new User($_SESSION['uid']);
|
||||
if ($user->level < 4 && $user->level > 10) {
|
||||
header('location: main.php?act=none');
|
||||
exit;
|
||||
@@ -11,7 +15,7 @@ if ($user->room == 403) {
|
||||
header('Location: canalizaciya.php');
|
||||
exit;
|
||||
}
|
||||
\Battles\Template::header('Вход в водосток');
|
||||
Template::header('Вход в водосток');
|
||||
?>
|
||||
<style>
|
||||
legend {
|
||||
@@ -73,7 +77,7 @@ if ($user->room == 403) {
|
||||
|
||||
if ($wawe == 0) {
|
||||
echo "<FORM id='REQUEST'>
|
||||
<FIELDSET style='padding-left: 5; width=50%; color:#000000;'>
|
||||
<FIELDSET style='padding-left: 5px; width=50%; color:#000000;'>
|
||||
<LEGEND><B> Группа </B> </LEGEND>
|
||||
Комментарий <INPUT style=\"font-size:12px;\" TYPE=text NAME=cmt maxlength=40 size=40><BR>
|
||||
Пароль <INPUT style=\"font-size:12px;\" TYPE=password NAME=pass maxlength=6 size=40><BR>
|
||||
@@ -85,7 +89,7 @@ if ($user->room == 403) {
|
||||
} else {
|
||||
|
||||
print"<FORM id='REQUEST'>
|
||||
<FIELDSET style='padding-left: 5; width=50%'>
|
||||
<FIELDSET style='padding-left: 5px; width=50%'>
|
||||
<LEGEND><B> Группа </B> </LEGEND>";
|
||||
if ($nawe == 1) {
|
||||
echo "<INPUT style=\"font-size:12px;\" type='submit' name='start' value='Начать'> ";
|
||||
|
||||
Reference in New Issue
Block a user