{$totalmaps|commify} <#maps played#> {$pagerstr}
{foreach name="mlist" from=$maps item="m"} {foreachelse} {/foreach}
{sortheader label="<#Map#>" sort="uniqueid" baseurl="$PHP_SELF" order=$order cursort=$sort} {sortheader label="<#Kills#>" sort="kills" order=$order} {sortheader label="<#FF Kills#>" sort="ffkills" order=$order title="<#Friendly fire kills#>"} {sortheader label="<#FF#>%" sort="ffkillspct" order=$order title="<#Friendly fire kill percentage#>"} {sortheader label="<#Games#>" sort="games" order=$order} {sortheader label="<#Rounds#>" sort="rounds" order=$order} {sortheader label="<#Online Time#>" sort="onlinetime" order=$order} {sortheader label="<#Last Played#>" sort="lasttime" order=$order}
{mapimg map=$m noimg='' width=40 heigth=30}  {$m.uniqueid} {$m.kills|commify} {$m.ffkills|commify} {$m.ffkillspct}% {$m.games|commify} {$m.rounds|commify} {$m.onlinetime|compacttime} {if $m.lasttime}{$m.lasttime|date}{else}<#unknown#>{/if}

<#No maps to display#>

{$totalmaps|commify} <#maps played#> {$pagerstr}
{foreach name="mlist" from=$maps item="m"}
{mapimg map=$m noimg=' - <#No Image Available#> - '}
{/foreach}