{* *}{strip} {* *} {if !empty($article)} {name from=article assign=name} {include 'breadcrumbs.htm' last=$name} {* *}

{$name}

{* *} {$date = $article->date|default:$article->created|default:''} {$y = substr($date, 0, 4)} {$d = substr($date, 8, 2)} {$date = min(max(1, intval(substr($date, 5, 2))), 12) - 1} {$m = [ 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек' ]} {$m = $m[$date]}
{* *}
{* *} {if !empty($article->images)} {/if} {* *} {body from=article}
{* *} {if !empty($article->commented)}
{/if}
{* *} {if !empty($article->commented)}

Комментарии

{if !empty($article->comments)} {function ideaShowComments}
{foreach $items as $comment}

{$comment->name}

{$comment->number} | {$comment->date}

{$comment->comment}

{if !empty($comment->discussion)} {ideaShowComments items=$comment->discussion} {/if} {/foreach}
{/function} {ideaShowComments items=$article->comments} {/if}
{* *}
{if !empty($error)} {include 'common/message.htm' msgTitle='Ошибка!' msgText=$error msgClass=danger} {/if} {if !empty($message)} {include 'common/message.htm' msgTitle='Сообщение' msgText=$message msgClass=info} {/if}

Оставьте свой отзыв

{/if}
{* *}
{* *} {else} {include 'missing_template.htm'} {/if} {/strip}