smartyでforみたいなこと
{section name=cnt loop=10} {$smarty.section.cnt.iteration-1}<br> {/section}
{section name=cnt loop=10} {$smarty.section.cnt.index}<br> {/section}
{section name=cnt start=0 loop=10} {$smarty.section.cnt.index}<br> {/section}
{section name=cnt loop=10} {$smarty.section.cnt.iteration-1}<br> {/section}
{section name=cnt loop=10} {$smarty.section.cnt.index}<br> {/section}
{section name=cnt start=0 loop=10} {$smarty.section.cnt.index}<br> {/section}