{foreach from=$TAB_ITEM item='tabItem'} {include file=$tabItem->tpl item=$tabItem} {/foreach} {if $TAB_ITEM|@count}
{/if} {foreach from=$ITEMS item='item'} {include file=$item->tpl item=$item} {/foreach} {if $TAB_ITEM|@count}
{/if}