{* loop contentArray *} {foreach item=contentArrayItem from=$contentArray} {if $contentArrayItem.contenttype == 0} {if $contentArrayItem.contenttitle != ''}