View file protected/views/user/list.php
<div class="title"><b><?=Lang::get('users_list'); ?></b></div> <?php if($list->rowCount() == 0): ?> <div class="error"> No users! </div> <?php else: ?> <?php foreach($list as $user): ?> <div class="menu"> <?=User::nick($user['id']); ?> </div> <?php endforeach; ?> <?php $pages->view(); ?> <?php endif; ?> <div class="block"> <?=System::image('back.png'); ?> <a href="/"><?=Lang::get('mainpage'); ?></a> </div>