{* шаблон страницы списка новостей *} {assign var="preheader" value="+"} {if $isadmin eq "yes"}{assign var="postheader" value=`$preheader``$smarty.const.STRING_NEWS_TITLE`}{else}{assign var="postheader" value=$smarty.const.STRING_NEWS_TITLE}{/if} {include file="header.tpl.html" header=$postheader} {if $pre_news_array}
{section name=i loop=$pre_news_array}{if $smarty.section.i.index ne 0}
{/if}
{$pre_news_array[i].add_date}     {$pre_news_array[i].title}
{$pre_news_array[i].textToPrePublication}
{/section}
{else}
{$smarty.const.STRING_NO_NEWS}
{/if}