<PCPIN:TPL name="main">
<table id="main_contents" border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr>
    <td id="contents_header">
      Awards
    </td>
    <td style="text-align:right;padding-right:10px;">
      <PCPIN:TPL name="games_link_all" type="condition" conditionvar="ACTIVE">
        <PCPIN:SUB condition="empty">
          <a href="{FORMLINK}?do=awards" title="Show awards of all games">All games</a>
        </PCPIN:SUB>
        <PCPIN:SUB condition="default">
          All games
        </PCPIN:SUB>
      </PCPIN:TPL>
      /
      <PCPIN:TPL name="games_link_last_100" type="condition" conditionvar="ACTIVE">
        <PCPIN:SUB condition="empty">
          <a href="{FORMLINK}?do=awards&amp;games=100" title="Show awards of last 100 games">Last 100</a>
        </PCPIN:SUB>
        <PCPIN:SUB condition="default">
          Last 100
        </PCPIN:SUB>
      </PCPIN:TPL>
      /
      <PCPIN:TPL name="games_link_last_50" type="condition" conditionvar="ACTIVE">
        <PCPIN:SUB condition="empty">
          <a href="{FORMLINK}?do=awards&amp;games=50" title="Show awards of last 50 games">Last 50</a>
        </PCPIN:SUB>
        <PCPIN:SUB condition="default">
          Last 50
        </PCPIN:SUB>
      </PCPIN:TPL>
      /
      <PCPIN:TPL name="games_link_last_10" type="condition" conditionvar="ACTIVE">
        <PCPIN:SUB condition="empty">
          <a href="{FORMLINK}?do=awards&amp;games=10" title="Show awards of last 10 games">Last 10</a>
        </PCPIN:SUB>
        <PCPIN:SUB condition="default">
          Last 10
        </PCPIN:SUB>
      </PCPIN:TPL>
    </td>
  </tr>
</table>
<table border="0" cellspacing="0" cellpadding="10" width="100%">
  <PCPIN:TPL name="award_row" type="simplecondition" requiredvars="DISPLAY">
    <tr>
      <PCPIN:TPL name="award_col" type="condition" conditionvar="DISPLAY">
        <PCPIN:SUB condition="empty">
          <td style="width:33%"></td>
        </PCPIN:SUB>
        <PCPIN:SUB condition="default">
          <td style="width:33%">
            <table class="contents_tbl" border="0" cellspacing="0" cellpadding="0" width="100%">
              <tr class="tbl_hrow_1">
                <td style="width:.1%;vertical-align:middle;border-right:0px;padding:0px;margin:0px;"><img src="{IMAGE}" title="{AWARD_NAME}" alt="{AWARD_NAME}" border="0" /></td>
                <td style="text-align:center;border-left:0px;">
                  <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                      <td style="border:0px;text-align:right;"><img src="image/awards/laurel_left.gif" border="0" alt="" title="" /></td>
                      <td style="width:1%;border:0px;" nowrap="nowrap">
                        <h2>{AWARD_NAME}</h2>
                      </td>
                      <td style="border:0px;text-align:left;"><img src="image/awards/laurel_right.gif" border="0" alt="" title="" /></td>
                    </tr>
                    <tr>
                      <td colspan="3" style="text-align:center;border:0px;">
                        {AWARD_DESCRIPTION}: <b>{POINTS}</b>
                        <br /><br />
                        <span class="playername_span"><a href="{FORMLINK}?do=player_stats&amp;player_key={WINNER_GUID_KEY}" title="Show stats for {WINNER_NAME_TXT}">{WINNER_NAME}</a></span>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </PCPIN:SUB>
      </PCPIN:TPL>
    </tr>
  </PCPIN:TPL>
</table>
</PCPIN:TPL>