<PCPIN:TPL name="main">
<table id="main_contents" border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr>
    <td id="contents_header">
      Weapons
    </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=weapons" title="Show weapons 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=weapons&amp;games=100" title="Show weapons 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=weapons&amp;games=50" title="Show weapons 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=weapons&amp;games=10" title="Show weapons of last 10 games">Last 10</a>
        </PCPIN:SUB>
        <PCPIN:SUB condition="default">
          Last 10
        </PCPIN:SUB>
      </PCPIN:TPL>
    </td>
  </tr>
  <PCPIN:TPL name="weapon_row">
    <tr>
      <PCPIN:TPL name="weapon_col" type="condition" conditionvar="NAME">
        <PCPIN:SUB condition="empty">
          <td style="width:50%">&nbsp;</td>
        </PCPIN:SUB>
        <PCPIN:SUB condition="default">
          <td style="width:50%; padding: 10px;">
            <table class="contents_tbl" border="0" cellspacing="0" cellpadding="0" width="100%">
              <tr>
                <td>
                  <h3>&nbsp;{NAME}</h3>
                  <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                      <td style="width:1%;border:0px;vertical-align:middle;text-align:center;"><img src="{IMG}" alt="{NAME}" title="{NAME}" class="mod_image_non_static" /></td>
                      <td style="border:0px;vertical-align:middle;">
                        <table border="0" cellspacing="0" cellpadding="0" width="100%">
                          <tr>
                            <td style="border:0px;text-align:right">
                              <b>Total kills:</b>
                            </td>
                            <td style="border:0px">
                              &nbsp;{TOTAL_KILLS}
                            </td>
                          </tr>
                          <tr>
                            <td style="border:0px;text-align:right">
                              <b>Most kills ({MOST_KILLS_COUNT}):</b>
                            </td>
                            <td style="border:0px">
                              &nbsp;<a href="{FORMLINK}?do=player_stats&amp;player_key={MOST_KILLS_GUID_KEY}" title="Show stats for {MOST_KILLS_NAME_TXT}">{MOST_KILLS_NAME}</a>
                            </td>
                          </tr>
                          <tr>
                            <td style="border:0px;text-align:right">
                              <b>Most deaths ({MOST_DEATHS_COUNT}):</b>
                            </td>
                            <td style="border:0px">
                              &nbsp;<a href="{FORMLINK}?do=player_stats&amp;player_key={MOST_DEATHS_GUID_KEY}" title="Show stats for {MOST_DEATHS_NAME_TXT}">{MOST_DEATHS_NAME}</a>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </PCPIN:SUB>
      </PCPIN:TPL>
    </tr>
  </PCPIN:TPL>
</table>
</PCPIN:TPL>