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