{if $albums}> <{assign var="i" value=0}> <{assign var="total" value=1}> <{foreach from=$albums item=album}> <{if $i==0}>