section 的預設變數

{section name=abc loop=20 start=2 step=3 max=18} {if $smarty.section.abc.first == TRUE} {/if} {sectionelse}

沒有結果可以顯示

{/section} {if $smarty.section.abc.show}

total: {$smarty.section.abc.total}
loop: {$smarty.section.abc.loop}

{/if}