From 40dfa7d5c0dc8e4cb2c95e403b6b4b2c4bf70644 Mon Sep 17 00:00:00 2001 From: Matthijs Kuiper Date: Sat, 4 Feb 2017 16:05:45 +0100 Subject: Original UTStats beta 4.2.8 --- html/pages/match_info.php | 78 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100755 html/pages/match_info.php (limited to 'html/pages/match_info.php') diff --git a/html/pages/match_info.php b/html/pages/match_info.php new file mode 100755 index 0000000..27b6669 --- /dev/null +++ b/html/pages/match_info.php @@ -0,0 +1,78 @@ + + + Unreal Tournament Match + + +
'; +include("pages/match_info_server.php"); + +$GLOBALS['gid'] = $gid; +$_GLOBALS['gid'] = $gid; +$GLOBALS['gamename'] = $gamename; +$_GLOBALS['gamename'] = $gamename; + +include('includes/teamstats.php'); +switch($real_gamename) { + case "Assault": + case "Assault (insta)": + include("pages/match_info_ass.php"); + break; + + case "Capture the Flag": + case "Capture the Flag (insta)": + include("pages/match_info_ctf.php"); + teamstats($mid, 'Match Summary'); + break; + + case "Domination": + case "Domination (insta)": + teamstats($mid, 'Match Summary', 'dom_cp', 'Dom Pts'); + break; + + case "JailBreak": + case "JailBreak (insta)": + teamstats($mid, 'Match Summary', 'ass_obj', 'Team Releases'); + break; + + case "Bunny Track": + include("pages/match_info_bt.php"); + break; + + case "Extended Last Man Standing": + case "Extended Last Man Standing (insta)": + case "Last Man Standing": + case "Last Man Standing (insta)": + case "Last Man Standing +": + case "Last Man Standing + (insta)": + case "Last Man Standing++": + case "Last Man Standing++ (insta)": + include("pages/match_info_lms.php"); + break; + + default: + if ($teamgame) { + teamstats($mid, 'Match Summary'); + } else { + teamstats($mid, 'Player Summary'); + } +} + + +if ($real_gamename == "Assault" or $real_gamename== "Assault (insta)") { + include("pages/match_info_other2.php"); +} +else if ($real_gamename != "Bunny Track") { + include("pages/match_info_other.php"); +} + +if ($real_gamename == "Capture the Flag" or $real_gamename== "Capture the Flag (insta)") { + include("pages/match_report.php"); +} + +?> \ No newline at end of file -- cgit