<{assign var=countnum value="1"}> <{foreach from=$data.pic item=item key=key}>
<{/foreach}>