{foreach from=$data item='item' name='bottom_menu'} {$item.label}{if !$smarty.foreach.bottom_menu.last} | {/if} {/foreach}