{html_style}#theHeader{ldelim}display:none}{/html_style} {if !empty($thumbnails)}{strip} {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'} {*define_derivative name='derivative_params' width=160 height=90 crop=true*} {define_derivative name='Large' type='large'} {define_derivative name='small' type='small'}
{if !empty($category_thumbnails)} {foreach from=$category_thumbnails item=cat} {$cat.TN_ALT} {/foreach} {/if} {foreach from=$thumbnails item=thumbnail} {assign var=derivative value=$pwg->derivative($Large, $thumbnail.src_image)} {assign var=derivativeSmall value=$pwg->derivative($small, $thumbnail.src_image)} is_cached()}data-{/if}src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" longdesc="{$derivativeSmall->get_url()}" link="'{$thumbnail.URL}'" Z="thumb" id="{$thumbnail.id}"> {/foreach}
{if !empty($category_thumbnails)} {foreach from=$category_thumbnails item=cat name=cat_loop}

{$cat.NAME} {if !empty($cat.icon_ts)} (!) {/if}

{if isset($cat.INFO_DATES) } {$cat.INFO_DATES}
{/if} {$cat.CAPTION_NB_IMAGES}
{if not empty($cat.DESCRIPTION)} {$cat.DESCRIPTION} {/if}
{/foreach} {/if} {foreach from=$thumbnails item=thumbnail name=cat_loop}
{if $SHOW_THUMBNAIL_CAPTION }

{$thumbnail.NAME} {if !empty($thumbnail.icon_ts)} (!) {/if}

{if isset($thumbnail.NB_COMMENTS)} {'Comment'|@translate} : {$thumbnail.NB_COMMENTS} {/if}
{if isset($thumbnail.NB_HITS)} {'Hits'|@translate} : {$thumbnail.NB_HITS} {/if}
{if isset($thumbnail.rating_score)} {'Rating score'|@translate} : {$thumbnail.rating_score} {/if}
{/if}
{/foreach}
{if !empty($category_thumbnails)} {foreach from=$category_thumbnails item=cat name=cat_loop} {if $smarty.foreach.cat_loop.first}{if $smarty.foreach.cat_loop.first}{/if}{/if} {/foreach} {else} {foreach from=$thumbnails item=thumbnail name=img_loop} {if $smarty.foreach.img_loop.first} {/if} {if $smarty.foreach.img_loop.first}{/if} {/foreach} {/if}
{/strip} {/if}