{$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->getText()|strip_tags|truncate:300:"...":false}
    
  {/foreach}
{$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}