<%inherit file="base.mako"/> <%block name="title"> Main Page - ${parent.title()} ##### RECENT GAMES #####

Recent Games

% for (game, server, map, pgstat) in recent_games: % if game != '-': % else: ${pgstat.nick_html_colors()} % endif % else: % endif % endfor
Game # Type Server Map Time Winner
${game.game_id} ${game.game_type_cd} ${server.name} ${map.name} ${game.start_dt.strftime('%m/%d/%Y %H:%M')} % if pgstat.player_id > 2: ${pgstat.nick_html_colors()}
- - - - - -
##### TOP PLAYERS #####

Top Players

<% i = 1 %> % for (player_id, nick, score) in top_players: % if player_id != '-': % else: % endif <% i = i+1 %> % endfor
# Nick Score
${i}${nick|n}${nick}${score}
##### TOP SERVERS #####

Top Servers

<% i = 1 %> % for (server_id, name, count) in top_servers: % if server_id != '-': % else: % endif <% i = i+1 %> % endfor
# Server Games
${i}${name}${name}${count}
##### TOP MAPS #####

Top Maps

<% i = 1 %> % for (map_id, name, count) in top_maps: % if map_id != '-': % else: % endif <% i = i+1 %> % endfor
# Map Times Played
${i}${name}${name}${count}