{include file="header.tpl"}

<h3>{t}Articles{/t}</h3>

<div class="news">
{foreach from=$articles item=a}
<div class="item">
 <a name="{$a.id}" href="{"?a=articles&`$a.link`"|encurl}" class="title">{$a.title}</a>
 <p class="text">{$a.small_text}</p>
 <p class="date">{$a.d}</p>
</div>
{foreachelse}
<div class="item">
 <p class="text">{t}No articles found{/t}</p>
</div>
{/foreach}
</div>

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

{include file="footer.tpl"}