summaryrefslogtreecommitdiff
path: root/html/import/import_domscreens.php
blob: de8a3792eb26347721ecaa6fdfb67bd6cd5ddc57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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());
?>