21,886
社区成员
发帖
与我相关
我的任务
分享
{section name=foo start=10 loop=20 step=2}
{$smarty.section.foo.index}
{/section}
<hr />
{section name=bar loop=21 max=6 step=-2}
{$smarty.section.bar.index}
{/section}
10 12 14 16 18
<hr />
20 18 16 14 12 10