<{if $setting.maxad}>
<{foreach from=$setting.maxad item=data key=key}> <{if $data.pic}>
  • <{/if}> <{/foreach}>
    <{/if}>