{include file="header.tpl"}

<h3>{t}News{/t}</h3>

<div class="news">
{if $news}
{section name=s loop=$news}
<div class="item {if $news[s].sponsored}spons{/if}">
 <a name="{$news[s].id}" href="{"?a=news&id=`$news[s].id`"|encurl}" class="title">{$news[s].title|escape:html}</a>
 <p class="text">{$news[s].full_text|escape:html|nl2br}</p>
 <p class="date">{$news[s].d}</p>
</div>
{/section}
{else}
<div class="item">
 <p class="text">{t}No news found.{/t}</p>
</div>
{/if}
</div>

{paginator col=$pages.col cur=$pages.cur url="?a=news&p=%s"|encurl}

{include file="footer.tpl"}