<div class="title"><b><?=Lang::get('users_online'); ?></b></div>
<?php if($list->rowCount() == 0): ?>
<div class="error">No users online!</div>
<?php else: ?>
<?php foreach($list as $user): ?>
<div class="menu">
<?=User::nick($user['id'], '<small style="color: gray;">'.Filters::viewTime($user['time']).'</small>'); ?>
</div>
<?php endforeach; ?>
<?php $pages->view(); ?>
<?php endif; ?>
<div class="block">
<?=System::image('back.png'); ?> <a href="/"><?=Lang::get('mainpage'); ?></a>
</div>