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

{$block.TITLE}

{else}

{$block.TITLE}

{/if}
{/if} {/if} {include file=$block.TEMPLATE} {if !isset($block.thumbnails)}
{/if} {/foreach}