From 39d55b406d7986e784a058e3d3bd8e8b6e1f9b3c Mon Sep 17 00:00:00 2001 From: lopar Date: Sun, 24 Jun 2018 16:23:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=B0=D0=B3=20=D0=B2=20=D0=B0=D0=B4?= =?UTF-8?q?=D0=BC=D0=B8=D0=BD=D0=BA=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/admin.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index d8c004b..34a4560 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -990,9 +990,8 @@ if ($_POST['grn'] && $_POST['gr']) echo telegraph($_POST['grn'], $_POST['gr']); # Показывает невидимок. echo 'Невидимки:'; $prs = db::c()->query('SELECT `id`, `login` FROM `users` WHERE `invis` = 1 ORDER BY `id` DESC'); -while ($r = $prs->fetch_assoc()) { - $effect = db::c()->query('SELECT `time` FROM `effects` WHERE `owner` = "?s" AND `type` = 1022 LIMIT 1', $r['id'])->fetch_assoc(); - echo '[id] = ' . $prs['id'] . ', ' . $prs['login'] . ' - [невидимка ' . substr($effect[0], strlen($effect['time']) - 4) . ']
'; +while ($prs->fetch_assoc()) { + echo '[id] = ' . $prs['id'] . ', ' . $prs['login'] . '
'; } # Системное сообщение. if ($_POST['newsmsg']) {