Code Search for Developers
 
 
  

block_team_cstrike.html from The Geronimo Project at Krugle


Show block_team_cstrike.html syntax highlighted

{*
   This block is included from the player, map and clan pages.
   This block will output a 'team comparison' table on the top summarizing general values.
   under that table, two side-by-side tables will display each team's action totals (bombs planted, etc)
   $thing will be either a PLAYER or CLAN hash of data
*}
{assign  var='totalwins' value=$thing.ctwon+$thing.terroristwon}
{calcpct var='bombdefusedpct' sum=$thing.bombdefused total=$thing.bombdefuseattempts}
{calcpct var='rescuedhostagespct' sum=$thing.rescuedhostages total=$thing.touchedhostages}
{calcpct var='vipescapedpct' sum=$thing.vipescaped total=$thing.rounds}
{calcpct var='bombrunnerpct' sum=$thing.bombrunner total=$thing.bombspawned}
{calcpct var='bombplantedpct' sum=$thing.bombplanted total=$thing.bombspawned}
{calcpct var='bombexplodedpct' sum=$thing.bombexploded total=$thing.bombplanted}
{calcpct var='ctkillspct' sum=$thing.ctkills total=$thing.kills digits=0}
{calcpct var='terroristkillspct' sum=$thing.terroristkills total=$thing.kills digits=2}
{calcpct var='ctwonpct' sum=$thing.ctwon total=$totalwins}
{calcpct var='terroristwonpct' sum=$thing.terroristwon total=$totalwins}
{assign  var='id' value=$id|default:$thing.id}

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>

<table width="100%" border="0" cellpadding="1" cellspacing="0" class="tbl-frame1">
  <tr><td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="tbl-shade1">
    <tr><td class="text">
      <font class="text-hdr"><#Team Comparison#></font>
      <table width="100%" border="0" cellpadding="1" cellspacing="0" class="tbl-frame1">
        <tr><td><table width="100%" border="0" cellpadding="1" cellspacing="0" class="tbl-shade4">
          <tr><td class="text">

            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr align="center" class="tbl-hdr">
		<td class="text-hdr-small"><#Team#></td>
		<td class="text-hdr-small"><#Kills#></td>
		<td class="text-hdr-small"><#Deaths#></td>
		<td class="text-hdr-small"><#Won#></td>
		<td class="text-hdr-small"><#Lost#></td>
		<td class="text-hdr-small"><#Joined#></td>
              </tr>
              <tr><td colspan="6" class="tbl-frame1"><img src="{$conf.imagesurl}spacer.gif" width="1" height="2"></td></tr>
              <tr align="center" class="tbl-shade2">
		<td class="label"><#CT#></td>
		<td class="text">{$thing.ctkills|commify}</td>
		<td class="text">{$thing.ctdeaths|commify}</td>
		<td class="text">{$thing.ctwon|commify}</td>
		<td class="text">{$thing.ctlost|commify}</td>
		<td class="text">{$thing.joinedct|commify}</td>
              </tr>
              <tr align="center" class="tbl-shade3">
		<td class="label"><#Terrorist#></td>
		<td class="text">{$thing.terroristkills|commify}</td>
		<td class="text">{$thing.terroristdeaths|commify}</td>
		<td class="text">{$thing.terroristwon|commify}</td>
		<td class="text">{$thing.terroristlost|commify}</td>
		<td class="text">{$thing.joinedterrorist|commify}</td>
              </tr>
              <tr class="tbl-frame1">
                <td colspan="6"><img src="{$conf.imagesurl}spacer.gif" width="1" height="1" /></td>
              </tr>
              <tr class="tbl-shade1" align="center">
                <td class="text-small"><#Comparisons:#></td>
                <td class="text-small">
{teamcompare
	width = '90%'
	leftwidth = $ctkillspct
	rightwidth = $terroristkillspct
}
</td>
                <td class-"text-small"><img src="{$conf.imagesurl}spacer.gif" width="1" height="1" /></td>
                <td class="text-small">
{teamcompare
	width = '90%'
	leftwidth = $ctwonpct
	rightwidth = $terroristwonpct
}
</td>
                <td class-"text-small"><img src="{$conf.imagesurl}spacer.gif" width="1" height="1" /></td>
                <td class-"text-small"><img src="{$conf.imagesurl}spacer.gif" width="1" height="1" /></td>
              </tr>
            </table>

          </td></tr>
        </table></td></tr>
      </table>
    </td></tr>
  </table>
</td></tr></table>

<br>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="50%">

<table width="100%" border="0" cellpadding="1" cellspacing="0" class="tbl-frame1">
  <tr><td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="tbl-shade1">
    <tr><td class="text" align="center">
      <font class="text-hdr"><#Counter-Terrorists#></font>
      <table width="100%" border="0" cellpadding="1" cellspacing="0" class="tbl-frame1">
        <tr><td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="tbl-shade4">
          <tr><td class="text">

            <table width="100%" border="0" cellspacing="1" cellpadding="1">
              <tr>
		<td class="label"><#Bomb Defused:#></td>
                <td align="right" class="text">{$thing.bombdefused|commify} / {$thing.bombdefuseattempts|commify}</td>
              </tr>
              <tr>
                <td align="left" class="label">&nbsp;</td>
                <td align="right" class="text">{$bombdefusedpct|digits2}%</td>
              </tr>
              <tr>
		<td class="label"><#Hostages Rescued:#></td>
                <td align="right" class="text">{$thing.rescuedhostages|commify} / {$thing.touchedhostages|commify}</td>
              </tr>
              <tr>
                <td align="left" class="label">&nbsp;</td>
                <td align="right" class="text">{$rescuedhostagespct|digits2}%</td>
              </tr>
              <tr>
		<td class="label"><#Escaped as VIP:#></td>
                <td align="right" class="text">{$thing.vipescaped|commify} / {$thing.rounds|commify}</td>
              </tr>
              <tr>
                <td align="left" class="label">&nbsp;</td>
                <td align="right" class="text">{$vipescapedpct|digits2}%</td>
              </tr>
              <tr>
                <td align="left" class="label">&nbsp;</td>
                <td align="right" class="text">&nbsp;</td>
              </tr>
            </table>

          </td></tr>
        </table></td></tr>
      </table>
    </td></tr>
  </table>
</td></tr></table>

    </td>
    <td><img src="{$conf.imagesurl}spacer.gif" height="1" width="10"></td>
    <td width="50%">

<table width="100%" border="0" cellpadding="1" cellspacing="0" class="tbl-frame1">
  <tr><td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="tbl-shade1">
    <tr><td class="text" align="center">
      <font class="text-hdr"><#Terrorists#></font>
      <table width="100%" border="0" cellpadding="1" cellspacing="0" class="tbl-frame1">
        <tr><td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="tbl-shade4">
          <tr><td class="text">

            <table border="0" cellpadding="1" cellspacing="1" width="100%">
              <tr> 
		<td class="label"><#Bomb Runner:#></td>
                <td class="text" align="right">{$thing.bombrunner|commify} / {$thing.bombspawned|commify}</td>
              </tr>
              <tr> 
                <td class="label">&nbsp;</td>
                <td class="text" align="right">{$bombrunnerpct|digits2}%</td>
              </tr>
              <tr> 
		<td class="label"><#Planted Bomb:#></td>
                <td class="text" align="right">{$thing.bombplanted|commify} / {$thing.rounds|commify}</td>
              </tr>
              <tr> 
                <td class="label">&nbsp;</td>
                <td class="text" align="right">{$bombplantedpct|digits2}%</td>
              </tr>
              <tr> 
		<td class="label"><#Bomb Exploded:#></td>
                <td class="text" align="right">{$thing.bombexploded|commify} / {$thing.bombplanted|commify}</td>
              </tr>
              <tr> 
                <td class="label">&nbsp;</td>
                <td class="text" align="right">{$bombexplodedpct|digits2}%</td>
              </tr>
              <tr> 
		<td class="label"><#Killed VIP:#></td>
                <td class="text" align="right">{$thing.vipkilled|commify}</td>
              </tr>
            </table>

          </td></tr>
        </table></td></tr>
      </table>
    </td></tr>
  </table>
</td></tr></table>

    </td>
  </tr>
</table>

    </td>
  </tr>
</table>
<br>




See more files for this project here

The Geronimo Project

The Geronimo project concists of two software :\n- Geronimo Hoshigo : a playable graphical user interface to play Go\n- Geronimo Margo : a artificial intelligence program which plays Go

Project homepage: http://sourceforge.net/projects/geronimo
Programming language(s): Java,Pascal,Perl,PHP
License: gpl2

  dep/
  languages/
  admin.html
  admin_body_awards.html
  admin_body_db.html
  admin_body_home.html
  admin_body_icons.html
  admin_body_misc.html
  admin_body_roles.html
  admin_body_weapons.html
  admin_fatal.html
  admin_left.html
  awards.html
  awards_body.html
  awards_detail.html
  awards_left.html
  block_errors.html
  block_map_topten.html
  block_maps_cstrike.html
  block_maps_dod.html
  block_maps_hl2dm.html
  block_maps_ns.html
  block_role_dod.html
  block_role_ns.html
  block_team_cstrike.html
  block_team_dod.html
  block_team_hl2dm.html
  block_team_ns.html
  block_weapons.html
  clan.html
  clan_body.html
  clan_header.html
  clan_left.html
  clanlist.html
  clanlist_body.html
  credits.html
  default_header.html
  editclan.html
  editclan_body.html
  editclan_fatal.html
  editclan_left.html
  editplr.html
  editplr_body.html
  editplr_fatal.html
  editplr_left.html
  footer.html
  header.html
  index.html
  index_body.html
  index_header.html
  key.html
  left.html
  login.html
  login_body.html
  logout.html
  logout_body.html
  main_body.html
  map.html
  map_body.html
  map_body_cstrike.html
  map_body_dod.html
  map_body_hl2dm.html
  map_body_ns.html
  map_left.html
  map_left_cstrike.html
  map_left_dod.html
  map_left_hl2dm.html
  map_left_ns.html
  map_topten_cstrike.html
  map_topten_dod.html
  map_topten_hl2dm.html
  map_topten_ns.html
  maplist.html
  maplist_body_cstrike.html
  maplist_body_dod.html
  maplist_body_hl2dm.html
  maplist_body_ns.html
  maplist_body_plain.html
  nomatch.html
  nomatch_body.html
  player.html
  player_aliases.html
  player_body.html
  player_header.html
  player_left.html
  player_victims.html
  server.html
  server_body.html
  smalltopten.html
  theme.cfg
  topten.html
  topten_body.html
  topten_left.html
  usersearch.html
  weapon.html
  weapon_body.html
  weapon_hitbox.html
  weapon_hitbox_combined.html
  weapon_left.html
  weaponlist.html
  weaponlist_body.html