summaryrefslogtreecommitdiff
path: root/html/import/import_domscreens.php
diff options
context:
space:
mode:
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