{foreach from=$lblocks item=lblock} {if $lblock.type eq 'B'} {include file="_system_/blocks/banner.html" id=$lblock.elem_id column=$lblock.column} {elseif not $lblock.name} {include file="_system_/side_block.html" title=$lblock.caption content=$lblock.content} {else} {include file="_system_/blocks/`$lblock.name`.html"} {/if} {/foreach}