query('SELECT `login`,`status`,`align`,(SELECT 1 FROM `online` WHERE `date` >= ?i AND `id` = users.`id`) AS `online` FROM `users` WHERE `align` = 1 ORDER BY `login` ASC', $timer); var_dump($data); ?> ← на главную

Модераторы онлайн

fetch_assoc()) { if (!empty($row['online'])) { echo ''; echo " {$row['login']} — {$row['status']}
"; } else { echo ''; echo " {$row['login']} — {$row['status']}
"; } } ?>