summaryrefslogtreecommitdiff
path: root/html/import/import_domscreens.php
diff options
context:
space:
mode:
authorrandommonk <randommonk@gmail.com>2018-01-04 22:52:54 +0000
committerrandommonk <randommonk@gmail.com>2018-01-04 23:06:03 +0000
commitdfc4e20b8e9ca57340e24143539498fb82527697 (patch)
tree50cdec1c1e650e6ca8f0d055b401b2c893e43124 /html/import/import_domscreens.php
parent66b162b5f01c996fd8a5cd4e570e31f8483cdffa (diff)
Bumped version to 4.3. Added jpgraph stats developed by killerEye
Diffstat (limited to 'html/import/import_domscreens.php')
-rw-r--r--html/import/import_domscreens.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/html/import/import_domscreens.php b/html/import/import_domscreens.php
new file mode 100644
index 0000000..de8a379
--- /dev/null
+++ b/html/import/import_domscreens.php
@@ -0,0 +1,26 @@
+
+<?php
+ include_once('includes/domstats.php');
+
+ $safe_uid = mysql_real_escape_string($uid);
+
+ // Get relevant info
+ $playerinfo = getPlayerTeam($uid);
+ $playernames = $playerinfo[0];
+ $playerteams = $playerinfo[1];
+
+ $gameinfo = getGameStartEndRatio($uid);
+ $time_gamestart = $gameinfo[0];
+ $time_gameend = $gameinfo[1];
+ $time_ratio_correction = $gameinfo[2];
+
+ $tableTempIdom = generateTempTable($safe_uid);
+ $ampTimes = generateAmpTimes($safe_uid);
+ renderDataTotal($safe_uid,$tableTempIdom);
+ renderDataCPs($safe_uid,$tableTempIdom);
+ renderDataPickups($safe_uid);
+ renderAmpBars($safe_uid,$tableTempIdom);
+
+ // drop table
+ mysql_query("DROP TABLE $tableTempIdom") or die(mysql_error());
+?> \ No newline at end of file