query("SELECT name FROM hlstats_Games WHERE code='$game'");
if ($db->num_rows() < 1) error("No such game '$game'.");
list($gamename) = $db->fetch_row();
$db->free_result();
pageHeader(array($gamename), array($gamename => ''));
?>
query($query);
list($total_kills, $total_headshots) = $db->fetch_row($result);
$query= "
SELECT
serverId,
name,
IF(publicaddress != '',
publicaddress,
concat(address, ':', port)
) AS addr,
statusurl,
kills,
players,
rounds, suicides,
headshots,
bombs_planted,
bombs_defused,
ct_wins,
ts_wins,
ct_shots,
ct_hits,
ts_shots,
ts_hits,
act_players,
max_players,
act_map,
map_started,
map_ct_wins,
map_ts_wins,
game
FROM
hlstats_Servers
WHERE
serverId='$server_id'
";
$db->query($query);
$servers = array();
$servers[] = $db->fetch_array();
?>
Server |
Address |
Map |
Played |
Players |
Kills |
Headshots |
Hpk |
";
echo ''.htmlspecialchars($rowdata['name']).'';
?> |
(Join)";
?> |
|
|
|
|
|
0)
echo sprintf("%.4f", ($headshots/$kills));
else
echo sprintf("%.4f", 0);
?> |
24h View |
|
Last Week |
|
Last Month |
|
Last Year |
|