{$NB_ELEMENTS} {'Photos'|@translate}

{'Filter'|@translate}
{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {foreach from=$images item=image name=image} {/foreach}{*images*}
{'File'|@translate} {'Number of rates'|@translate} {'Rating score'|@translate} {'Average rate'|@translate} {'Sum of rates'|@translate} {'Rate'|@translate}/{'Username'|@translate}/{'Rate date'|@translate}
{$image.FILE} {$image.NB_RATES}/{$image.NB_RATES_TOTAL} {$image.SCORE_RATE} {$image.AVG_RATE} {$image.SUM_RATE} {foreach from=$image.rates item=rate name=rate} {/foreach}{*rates*}
{$rate.rate} {$rate.USER} {$rate.date}
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {footer_script} function del(node,id,uid,aid){ var tr = jQuery(node).parents("tr").first().fadeTo(1000, 0.4), data = { image_id: id, user_id: uid }; if (aid) data.anonymous_id = aid; (new PwgWS('{$ROOT_URL|@escape:javascript}')).callService( 'pwg.rates.delete', data, { method: 'POST', onFailure: function(num, text) { tr.stop(); tr.fadeTo(0,1); alert(num + " " + text); }, onSuccess: function(result){ if (result) tr.remove(); else alert(result); } } ); return false; } {/footer_script} {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}