{if $banner.type eq 'flash'} {elseif $banner.type eq 'img'} {elseif $banner.type eq 'html'} {/if}