[19033] | 1 | {html_style}#theHeader{ldelim}display:none}{/html_style} |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | {if !empty($thumbnails)}{strip} |
---|
| 6 | {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} |
---|
| 7 | {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'} |
---|
| 8 | {*define_derivative name='derivative_params' width=160 height=90 crop=true*} |
---|
| 9 | {define_derivative name='Large' type='large'} |
---|
| 10 | {define_derivative name='small' type='small'} |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | <div id="tf_loading" class="tf_loading"></div> |
---|
| 14 | |
---|
| 15 | <div id="tf_bg" class="tf_bg"> |
---|
| 16 | {if !empty($category_thumbnails)} |
---|
| 17 | {foreach from=$category_thumbnails item=cat} |
---|
| 18 | |
---|
| 19 | <img src="{$pwg->derivative_url($Large, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}" longdesc="{$pwg->derivative_url($small, $cat.representative.src_image)}" link="{$cat.URL}" Z="cat" id=""> |
---|
| 20 | {/foreach} |
---|
| 21 | {/if} |
---|
| 22 | |
---|
| 23 | {foreach from=$thumbnails item=thumbnail} |
---|
| 24 | {assign var=derivative value=$pwg->derivative($Large, $thumbnail.src_image)} |
---|
| 25 | {assign var=derivativeSmall value=$pwg->derivative($small, $thumbnail.src_image)} |
---|
| 26 | <img {if !$derivative->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}"> |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | {/foreach} |
---|
| 30 | |
---|
| 31 | <div id="tf_pattern" class="pattern visible"></div> |
---|
| 32 | </div> |
---|
| 33 | |
---|
| 34 | <div id="tf_content_wrapper" class="tf_content_wrapper"> |
---|
| 35 | |
---|
| 36 | {if !empty($category_thumbnails)} |
---|
| 37 | {foreach from=$category_thumbnails item=cat name=cat_loop} |
---|
| 38 | <div class="tf_content" id="content" {if $smarty.foreach.cat_loop.first}style="display:block;"{/if}> |
---|
| 39 | <h2> |
---|
| 40 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
| 41 | {if !empty($cat.icon_ts)} |
---|
| 42 | <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)"> |
---|
| 43 | {/if} |
---|
| 44 | </h2> |
---|
| 45 | <div class="infor"> |
---|
| 46 | {if isset($cat.INFO_DATES) } |
---|
| 47 | {$cat.INFO_DATES} |
---|
| 48 | <br>{/if} |
---|
| 49 | {$cat.CAPTION_NB_IMAGES}<br> |
---|
| 50 | {if not empty($cat.DESCRIPTION)} |
---|
| 51 | {$cat.DESCRIPTION} |
---|
| 52 | {/if} |
---|
| 53 | </div> |
---|
| 54 | </div> |
---|
| 55 | {/foreach} |
---|
| 56 | {/if} |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | {foreach from=$thumbnails item=thumbnail name=cat_loop} |
---|
| 61 | <div class="tf_content" id="content" {if $smarty.foreach.cat_loop.first}{if empty($category_thumbnails)} |
---|
| 62 | style="display:block;"{/if}{/if}> |
---|
| 63 | {if $SHOW_THUMBNAIL_CAPTION } |
---|
| 64 | <div class="infor visible"> |
---|
| 65 | <h2> |
---|
| 66 | {$thumbnail.NAME} |
---|
| 67 | {if !empty($thumbnail.icon_ts)} |
---|
| 68 | <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)"> |
---|
| 69 | {/if} |
---|
| 70 | </h2> |
---|
| 71 | <div id=comm> |
---|
| 72 | {if isset($thumbnail.NB_COMMENTS)} |
---|
| 73 | <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> |
---|
| 74 | {'Comment'|@translate} : {$thumbnail.NB_COMMENTS} |
---|
| 75 | </span> |
---|
| 76 | {/if} |
---|
| 77 | </div> |
---|
| 78 | <div id=nbhit> |
---|
| 79 | {if isset($thumbnail.NB_HITS)} |
---|
| 80 | <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits "> |
---|
| 81 | {'Hits'|@translate} : <span id=nbhit{$thumbnail.id}>{$thumbnail.NB_HITS}</span> |
---|
| 82 | </span> |
---|
| 83 | {/if} |
---|
| 84 | </div> |
---|
| 85 | <div id=rating> |
---|
| 86 | {if isset($thumbnail.rating_score)} |
---|
| 87 | <span class="{if 0==$thumbnail.rating_score}zero {/if}nb-hits "> |
---|
| 88 | {'Rating score'|@translate} : {$thumbnail.rating_score} |
---|
| 89 | </span> |
---|
| 90 | {/if} |
---|
| 91 | </div> |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | </div> |
---|
| 95 | {/if} |
---|
| 96 | </div> |
---|
| 97 | {/foreach} |
---|
| 98 | |
---|
| 99 | </div> |
---|
| 100 | <div id="tf_thumbs" class="tf_thumbs visible"> |
---|
| 101 | {if !empty($category_thumbnails)} |
---|
| 102 | <span id="tf_zoom" class="tf_zoom cat"></span> |
---|
| 103 | {foreach from=$category_thumbnails item=cat name=cat_loop} |
---|
| 104 | {if $smarty.foreach.cat_loop.first}<a href="{$cat.URL}">{if $smarty.foreach.cat_loop.first}<img src="{$pwg->derivative_url($small, $cat.representative.src_image)}">{/if}</a>{/if} |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | {/foreach} |
---|
| 108 | {else} |
---|
| 109 | <span id="tf_zoom" class="tf_zoom thumb"></span> |
---|
| 110 | |
---|
| 111 | {foreach from=$thumbnails item=thumbnail name=img_loop} |
---|
| 112 | {if $smarty.foreach.img_loop.first}<a href="{$thumbnail.URL}" class="lytebox" > |
---|
| 113 | <span id="tf_info" class="tf_info visible"></span></a> |
---|
| 114 | |
---|
| 115 | {/if} |
---|
| 116 | {if $smarty.foreach.img_loop.first}<img src="{$pwg->derivative_url($small, $thumbnail.src_image)}">{/if} |
---|
| 117 | {/foreach} |
---|
| 118 | {/if} |
---|
| 119 | </div> |
---|
| 120 | <div id="tf_fullscreen" class="tf_fullscreen hidedi"></div> |
---|
| 121 | <div id="tf_next" class="tf_next visible"></div> |
---|
| 122 | <div id="tf_prev" class="tf_prev visible"></div> |
---|
| 123 | |
---|
| 124 | {/strip} |
---|
| 125 | {/if} |
---|
| 126 | |
---|