Мелкие ошибки из анализатора.

This commit is contained in:
Igor Barkov (iwork)
2021-02-01 16:39:48 +02:00
parent 95ade992e0
commit 538047f36f
13 changed files with 148 additions and 168 deletions
+8 -4
View File
@@ -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>
Пароль&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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='Начать'> &nbsp;";