{* Шаблон страницы новостей *} {assign var="preheader" value="+"} {if $admlink}{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}
{assign var="verifi" value=0} {section name=i loop=$pre_news_array} {if $verifi eq 1}
{else}{assign var="verifi" value=1}{/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}