{* 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}
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||