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']) {