{$totalweapons|commify} <#weapons used#> {$pagerstr}
{foreach name="wlist" from=$weapons item="w"} {foreachelse} {/foreach} {if count($weapons)} {/if}
{sortheader label="<#Weapon#>" sort="uniqueid" baseurl="$PHP_SELF" order=$order cursort=$sort} {sortheader label="<#Kills#>" sort="kills" order=$order} {sortheader label="<#Headshots#>" sort="headshotkills" order=$order} {sortheader label="<#HS%#>" sort="headshotpct" order=$order title="<#Headshot percentage#>"} {sortheader label="<#Accuracy#>" sort="accuracy" order=$order} {sortheader label="<#S:K#>" sort="shotsperkill" order=$order title="<#Shots per kill#>"} {sortheader label="<#Damage#>" sort="damage" order=$order}
{weaponimg weapon=$w} {$w.kills|commify} {$w.headshotkills|commify} {$w.headshotpct|digits2}% {$w.accuracy|digits2}% {$w.shotsperkill} {$w.damage|commify}

<#No weapons to display#>

<#Overall Values#>: {$weapons|@sum:'kills'|commify} {$weapons|@sum:'headshotkills'|commify} {$weapons|@avg:'headshotpct':2}% {$weapons|@avg:'accuracy':2}% {$weapons|@avg:'shotsperkill':2} {$weapons|@sum:'damage'|commify}
{$totalweapons|commify} <#weapons used#> {$pagerstr}
{foreach name="wlist" from=$weapons item="w"}
{weaponimg weapon=$w path="large" noimg=" - <#No Image Available#> - "}
{$w.name|default:$w.uniqueid|escape}
{/foreach}