Баг в админке
This commit is contained in:
parent
71002160b9
commit
91901859ae
@ -990,8 +990,8 @@ if ($_POST['grn'] && $_POST['gr']) echo telegraph($_POST['grn'], $_POST['gr']);
|
||||
# Показывает невидимок.
|
||||
echo '<legend>Невидимки:</legend>';
|
||||
$prs = db::c()->query('SELECT `id`, `login` FROM `users` WHERE `invis` = 1 ORDER BY `id` DESC');
|
||||
while ($prs->fetch_assoc()) {
|
||||
$effect = db::c()->query('SELECT `time` FROM `effects` WHERE `owner` = "?s" AND `type` = 1022 LIMIT 1', $prs['id'])->fetch_assoc();
|
||||
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 '<b>[id] = ' . $prs['id'] . ', ' . $prs['login'] . ' - [невидимка ' . substr($effect[0], strlen($effect['time']) - 4) . ']</b><br />';
|
||||
}
|
||||
# Системное сообщение.
|
||||
|
Loading…
Reference in New Issue
Block a user