{foreach from=$blocks item=block key=key} {if $block.new_line}
{/if}
{if isset($block.TITLE)}
{if !empty($block.U_EDIT)} {/if} {if isset($block.TITLE_URL)}

{$block.TITLE}

{else}

{$block.TITLE}

{/if}
{/if} {include file=$block.TEMPLATE}
{if $block.end_line}
{/if} {/foreach}