File size: 1Kb
<div class="head"><a href="{$home}/id{$row.id}">{$row.login|escape|esc}</a> / {$title}</div>
<div class="fon">
{if $count > 0}
{foreach from=$arrayrow item=rows key=k}
<div class="list text">
{include file='system/user.tpl'}
{$smarty.capture.comments}
{$smarty.capture.text}
{if $user.level > 9}
<span class="breadcrumb">
<a href="{$home}/download/edit/comments/{$rows.id}" title="Редактировать"><i class="fa fa-pencil"></i></a>
{if $user.level > 10}
<a href="{$home}/download/del/comments/{$rows.id}" title="Удалить"><i class="fa fa-trash-o"></i></a>
{/if}
</span>
{/if}
</div>
{/foreach}
{else}
<div class="alert alert-danger">Комментариев ещё нет...</div>
{/if}
</div>