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/import/import_jailbreak.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 html/import/import_jailbreak.php (limited to 'html/import/import_jailbreak.php') diff --git a/html/import/import_jailbreak.php b/html/import/import_jailbreak.php new file mode 100755 index 0000000..6d6e0da --- /dev/null +++ b/html/import/import_jailbreak.php @@ -0,0 +1,22 @@ + 'RedeemerDeath' and col4 <> 'JailRelease'"); + $r_suicides = $q_suicides['suicides']; + + $r_frags = $r_kills - $r_suicides; + $r_efficiency = get_dp(($r_kills / ($r_kills + $r_deaths + $r_suicides + $r_teamkills)) * 100); + + + mysql_query(" UPDATE uts_player + SET ass_obj = '$r_releases', + suicides = '$r_suicides', + frags = '$r_frags', + eff = '$r_efficiency' + WHERE id = $playerecordid;") or die(mysql_error()); + +?> \ No newline at end of file -- cgit