Файл: housetrack/modules/user/views/default/list_users.tpl
Строк: 21
<?php $this->display('header.tpl', array('sub_title' => $title))
?>
<?php if ($error) echo '<div class="error">'.
$error .'</div>' ?>
<?php $this->display('title',
array('text' => 'Пользователи')) ?>
<?php if ( !
empty($users)): ?>
<?php foreach($users as $user): ?>
<div class="menu">
<table
cellpadding="0" cellspacing="0">
<tr>
<td><?php
if(avatar($user['user_id']))echo '<img src="'. URL
.'files/avatars/'. $user['user_id'] .'_50.jpg" alt=""
/>'; else echo '<img src="../files/avatars/empty_50.png"
alt="" />'; ?> </td>
<td>
<b><a href="<?php echo
a_url('user/profile/view', 'user_id='. $user['user_id'])
?>"><?php echo $user['username'] ?></a></b>
[<?php echo a_is_online($user['last_visit']) ?>]<br
/>
<span style="color: grey; font-size:
11px;">[<?php echo
$GLOBALS['controller']->access->ru_roles[$user['status']]
?>]</span>
</td>
</tr>
</table>
</div>
<?php
endforeach; ?>
<?php else: ?>
<div
class="menu">
Пользователей нет
</div>
<?php endif ?>
<?php if ($pagination) echo
'<div class="block">'. $pagination .'</div>'
?>
<div class="block">
<?echo'<img
src="'.URL.'/views/'.THEME.'/images/icon.png" alt=""
/>'?> <a href="<?php echo URL ?>"> На
главную</a>
</div>
<?php
$this->display('footer') ?>