{if !empty($item->list)} {if $item->paginator.currentItemCount > 0}

{$item->paginator.currentItemCount} {'Comment'|get_plural:$item->paginator.currentItemCount} on "{$item->postTitle|htmlspecialchars}" Post

{/if} {foreach from=$item->list item='row' name='comment'}

Submitted {if $row.timeAgo}{$row.timeAgo|htmlspecialchars} ago{/if} {if $row.author} by {if $row.authorId && $row.authorType == 'admin'} {/if} {else} Anonymous {/if} {if $row.url}   {/if}

{$row.content|htmlspecialchars|nl2br}
{/foreach} {if $item->paginator}{include file="ViewController/list-paginator.tpl"|SMGetTemplate paginator = $item->paginator}{/if} {/if} {* відкривається в tpl/Blog/view.tpl *}