From bc0992f281700d76540271792955ce55d9b3363c Mon Sep 17 00:00:00 2001 From: "Igor Barkov (iwork)" Date: Wed, 30 Sep 2020 17:36:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=BD=D0=B5=D0=B4=D1=80=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=D0=B8=D0=B7?= =?UTF-8?q?=D0=B0=D1=82=D0=BE=D1=80=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- enter.php | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/enter.php b/enter.php index 829f0ed..327d786 100644 --- a/enter.php +++ b/enter.php @@ -51,19 +51,9 @@ if ($username && $password) { } else { $error = ERROR_EMPTY_CREDENTIALS; } -?> - - - - - - Входим... - - - - ← на главную -

- - - \ No newline at end of file +Template::header('Входим...'); + +if ($error) { + echo sprintf(' ← на главную

%s

', $error); +} \ No newline at end of file