From dfc4e20b8e9ca57340e24143539498fb82527697 Mon Sep 17 00:00:00 2001 From: randommonk Date: Thu, 4 Jan 2018 22:52:54 +0000 Subject: Bumped version to 4.3. Added jpgraph stats developed by killerEye --- html/import.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'html/import.php') diff --git a/html/import.php b/html/import.php index f811d92..c2bcfe6 100755 --- a/html/import.php +++ b/html/import.php @@ -740,6 +740,7 @@ $t0info, $t1info, $t2info, $t3info, $t0score, $t1score, $t2score, $t3score);"; echo "Done\n"; if ($html) echo''; + include('import/import_renderer-preconfig.php'); $updategameinfo = false; if (count($ignored_players) > 0) { @@ -757,6 +758,30 @@ $t0info, $t1info, $t2info, $t3info, $t0score, $t1score, $t2score, $t3score);"; mysql_query("UPDATE uts_match SET gameinfo = '$gameinfo' WHERE id = '$matchid'"); $updategameinfo = false; } + if ($gamename == "Domination" || $gamename == "Domination (insta)" ) { + if ($html) echo ''; + echo "Generating dom graphs: "; + if ($html) echo ''; + include("import/import_renderer-dom.php"); + echo "Done\n"; + if ($html) echo''; + } + else if ($gamename == "Tournament DeathMatch" || $gamename == "Tournament DeathMatch (insta)" || $gamename == "Tournament Team Game" || $gamename == "Tournament Team Game (insta)" ) { + if ($html) echo ''; + echo "Generating dm graphs: "; + if ($html) echo ''; + include("import/import_renderer-dm.php"); + echo "Done\n"; + if ($html) echo''; + } + else if ($gamename == "Capture the Flag" || $gamename == "Capture the Flag (insta)" ) { + if ($html) echo ''; + echo "Generating ctf graphs: "; + if ($html) echo ''; + include("import/import_renderer-ctf.php"); + echo "Done\n"; + if ($html) echo''; + } } } -- cgit