{if $options!=''} {foreach name=outer item=options_data from=$options}
{/foreach} {/if}