From aa92a27e3ac522b6aeaf7a38add935a49dfc8f0c Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:30:44 +0300 Subject: [PATCH] =?UTF-8?q?add=20labels=20=D0=90=D0=B4=D0=BC=D0=B8=D0=BD?= =?UTF-8?q?=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=82=D0=BE=D1=80=20&=20=D0=A4?= =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=BC=D0=BE=D0=B4=D0=B5=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit по просьбе Дани --- views/pages/Profile/Index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/views/pages/Profile/Index.php b/views/pages/Profile/Index.php index 18cf63f..7228990 100644 --- a/views/pages/Profile/Index.php +++ b/views/pages/Profile/Index.php @@ -24,8 +24,12 @@ $userprofile = new User(explode('/', $_SERVER['REQUEST_URI'])[2]); i('id') === (int)explode('/', $_SERVER['REQUEST_URI'])[2]) { ?>

i('username')) ?>i('admin') === 1) { echo ''; } ?>

- i('admin') === 1) { + echo 'Администратор сервера'; + } else if ($userprofile->i('admin') === 2) { + echo 'Фотомодератор'; + } if ($userprofile->i('id') === Auth::userid()) { ?>

Редактировать мой профиль