{combine_script id='jquery.dataTables' load='footer' path='themes/default/js/plugins/jquery.dataTables.js'} {html_style} .sorting { background: url({$ROOT_URL}themes/default/js/plugins/datatables/images/sort_both.png) no-repeat center right; cursor:pointer; } .sorting_asc { background: url({$ROOT_URL}themes/default/js/plugins/datatables/images/sort_asc.png) no-repeat center right; } .sorting_desc { background: url({$ROOT_URL}themes/default/js/plugins/datatables/images/sort_desc.png) no-repeat center right; } .sorting, .sorting_asc, .sorting_desc { padding: 3px 18px 3px 10px; } .sorting_asc_disabled { background: url({$ROOT_URL}themes/default/js/plugins/datatables/images/sort_asc_disabled.png) no-repeat center right; } .sorting_desc_disabled { background: url({$ROOT_URL}themes/default/js/plugins/datatables/images/sort_desc_disabled.png) no-repeat center right; } .dtBar { text-align:left; padding: 10px 0 10px 20px } .dtBar DIV{ display:inline; padding-right: 5px; } .dataTables_paginate A { padding-left: 3px; } .ui-tooltip { padding: 8px; position: absolute; z-index: 9999; max-width: {3*$TN_WIDTH}px; -webkit-box-shadow: 0 0 5px #aaa; box-shadow: 0 0 5px #aaa; } body .ui-tooltip { border-width: 2px; } {/html_style}
{'Username'|@translate} | {'Last'|@translate} | {'Number of rates'|@translate} | {'Average rate'|@translate} | {'Variation'|@translate} | {'Consensus deviation'|@translate|@replace:' ':' '} |
{'Consensus deviation'|@translate|@replace:' ':' '} {$CONSENSUS_TOP_NUMBER} |
{foreach from=$available_rates item=rate}
{$rate} | {/foreach}|
---|---|---|---|---|---|---|---|---|
{$user} | {$rating.last_date} | {$rating.count} | {$rating.avg|@number_format:2} | {$rating.cv|@number_format:3} | {$rating.cd|@number_format:3} | {if !empty($rating.cdtop)}{$rating.cdtop|@number_format:3}{/if} | {foreach from=$rating.rates item=rates key=rate}{if !empty($rates)} {capture assign=rate_over}{foreach $rates as $rate_arr}{if $rate_arr@index>29}{break}{/if}{/foreach}{/capture} {$rates|@count} {/if} | {/foreach}