Файл: housetrack/modules/all_comments/views/default/all_comments.tpl
Строк: 35
<?php $this->display('header.tpl', array('sub_title' =>
'Комментарии')) ?>
<?php $this->display('title',
array('text' => 'Комментарии')) ?>
<?php if ( !
empty($comments)): ?>
<?php foreach($comments as $comment):
?>
<div class="menu">
<table
cellpadding="0" cellspacing="0">
<tr>
<td><?php
if(avatar($comment['user_id']))echo '<img src="'. URL
.'../files/avatars/'. $comment['user_id'] .'_50.jpg" alt=""
/>'; else echo '<img src="../files/avatars/empty_50.png"
alt="" />'; ?> </td>
<td>
<?php echo
user::get_username($comment['user_id'], TRUE) ?>
<?php echo '[<a
href="'. a_url('private/send', 'username='. $comment['username'])
.'">ЛС</a>]'; ?>
<?php echo
user::online_status($comment['last_visit']) ?>
<?php echo
main::display_time($comment['time']) ?> | <a href="<?php echo
URL .'downloads/view/'. $comment['item_id'] ?>"><?php echo
$comment['file_name'] ?></a><br />
<?php echo
$comment['text'] ?>
</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') ?>