{* These variables are not stored in the DB, so we create them here for use in the theme *} {calcpct var='ffkillspct' sum=$plr.ffkills total=$plr.kills} {calcpct var='ffdeathspct' sum=$plr.ffdeaths total=$plr.deaths} {calcpct var='headshotpct' sum=$plr.headshots total=$plr.kills} {calcavg var='killbonusavg' total=$plr.kills values=$plr.killbonussum} {calcavg var='deathbonusavg' total=$plr.deaths values=$plr.deathbonussum} {calcratio var='shotsperkill' left=$plr.shots right=$plr.kills} {include file = "main_body.html" title = "`$conf.servername` - <#Player Profile:#> `$plr.name`" leftblock = 1 rightblock = 0 headertitle = "<#Player Profile:#> `$plr.name`" headercontentfile = "player_header.html" contentfile = "player_body.html" topleftcontent = "player_left.html" }