{foreach from=$attach item=item} {$item|escape} {/foreach}