{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()}

{$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} | {$locale->formatDate($postDate,"%j %b, %Y")}
{$article->getText()|strip_tags|truncate:300:"...":false}
{/foreach}
{include file="$blogtemplate/footer.template"}