{include file="$blogtemplate/header.template"}

{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}

{foreach from=$searchresults item=result}
{assign var=article value=$result->getArticle()}

{$article->getTopic()}

{$locale->tr("categories")}: {foreach name=categories from=$article->getCategories() item=articleCategory} {$articleCategory->getName()}{if !$smarty.foreach.categories.last}, {/if} {/foreach}
{$article->getText()|strip_tags|truncate:300:"...":false}
{/foreach}
 
{include file="$blogtemplate/panel.template"} {include file="$blogtemplate/footer.template"}