{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()} {assign var="postDate" value=$article->getDateObject()} {assign var="postOwner" value=$article->getUserInfo()}

{$locale->formatDate($postDate,"%j %b, %Y")}

{$article->getTopic()}

{$locale->tr("posted_by")} {$postOwner->getUsername()} {$locale->formatDate($postDate,"%H:%M")} | {foreach name=categories from=$article->getCategories() item=postcategory} {$postcategory->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"}