{assign var='thumbnails' value=$block.thumbnails} {if !empty($thumbnails)} {foreach from=$thumbnails item=thumbnail}
RECENT
{if isset($block.TITLE)}{$block.TITLE}{elseif isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
{/foreach} {/if}