From 3a58cb2802c8be14f78015105afe759b1c7ce692 Mon Sep 17 00:00:00 2001 From: Matthijs Kuiper Date: Tue, 9 Jan 2018 00:43:43 +0100 Subject: Implement design for pages and update includes --- html/pages/admin/acelog.php | 4 +- html/pages/admin/aclog.php | 228 ++++++----- html/pages/admin/dmatch.php | 4 +- html/pages/admin/dplayer.php | 2 +- html/pages/admin/dpmatch.php | 2 +- html/pages/admin/editgames.php | 2 +- html/pages/admin/editgamestype.php | 6 +- html/pages/admin/editweapons.php | 2 +- html/pages/admin/ipsearch.php | 2 +- html/pages/admin/main.php | 51 ++- html/pages/admin/mplayers.php | 2 +- html/pages/admin/mservers.php | 2 +- html/pages/admin/pban.php | 4 +- html/pages/admin/pinfo.php | 4 +- html/pages/admin/plm.php | 34 +- html/pages/admin/recalcflags.php | 2 +- html/pages/admin/recalcranking.php | 2 +- html/pages/admin/utdclog.php | 4 +- html/pages/admin/utdcshot.php | 0 html/pages/credits.php | 661 ++++++++++++++++--------------- html/pages/dpmatch.php | 2 +- html/pages/graph_mbreakdown.php | 247 ++++++------ html/pages/graph_pbreakdown.php | 2 +- html/pages/help.php | 477 +++++++++++++--------- html/pages/home.php | 266 ++++++++++--- html/pages/maps.php | 42 +- html/pages/maps_info.php | 507 ++++++++++++------------ html/pages/match_info.php | 115 +++--- html/pages/match_info_ass.php | 8 +- html/pages/match_info_bt.php | 2 +- html/pages/match_info_ctf.php | 634 +++++++++++++++--------------- html/pages/match_info_killsmatrix.php | 58 +-- html/pages/match_info_lms.php | 27 +- html/pages/match_info_other.php | 206 +++++----- html/pages/match_info_other2.php | 40 +- html/pages/match_player.php | 165 ++++---- html/pages/match_report.php | 9 +- html/pages/players_explain_ranking.php | 66 ++-- html/pages/players_info.php | 694 ++++++++++++++++++--------------- html/pages/players_search.php | 46 ++- html/pages/rank_extended.php | 26 +- html/pages/report.php | 0 html/pages/report/bbcode.php | 0 html/pages/report/clanbase.php | 0 html/pages/report/index.htm | 0 html/pages/report_cb.php | 6 +- html/pages/servers.php | 18 +- html/pages/servers_info.php | 208 +++++----- html/pages/servers_query.php | 6 +- html/pages/totals.php | 565 +++++++++++++-------------- 50 files changed, 2920 insertions(+), 2540 deletions(-) mode change 100755 => 100644 html/pages/admin/acelog.php mode change 100755 => 100644 html/pages/admin/aclog.php mode change 100755 => 100644 html/pages/admin/dmatch.php mode change 100755 => 100644 html/pages/admin/dplayer.php mode change 100755 => 100644 html/pages/admin/dpmatch.php mode change 100755 => 100644 html/pages/admin/editgames.php mode change 100755 => 100644 html/pages/admin/editgamestype.php mode change 100755 => 100644 html/pages/admin/editweapons.php mode change 100755 => 100644 html/pages/admin/ipsearch.php mode change 100755 => 100644 html/pages/admin/main.php mode change 100755 => 100644 html/pages/admin/mplayers.php mode change 100755 => 100644 html/pages/admin/mservers.php mode change 100755 => 100644 html/pages/admin/pban.php mode change 100755 => 100644 html/pages/admin/pinfo.php mode change 100755 => 100644 html/pages/admin/plm.php mode change 100755 => 100644 html/pages/admin/recalcflags.php mode change 100755 => 100644 html/pages/admin/recalcranking.php mode change 100755 => 100644 html/pages/admin/utdclog.php mode change 100755 => 100644 html/pages/admin/utdcshot.php mode change 100755 => 100644 html/pages/dpmatch.php mode change 100755 => 100644 html/pages/graph_pbreakdown.php mode change 100755 => 100644 html/pages/maps.php mode change 100755 => 100644 html/pages/maps_info.php mode change 100755 => 100644 html/pages/match_info_ass.php mode change 100755 => 100644 html/pages/match_info_bt.php mode change 100755 => 100644 html/pages/match_info_ctf.php mode change 100755 => 100644 html/pages/match_info_killsmatrix.php mode change 100755 => 100644 html/pages/match_info_lms.php mode change 100755 => 100644 html/pages/match_info_other2.php mode change 100755 => 100644 html/pages/match_report.php mode change 100755 => 100644 html/pages/players_explain_ranking.php mode change 100755 => 100644 html/pages/players_search.php mode change 100755 => 100644 html/pages/rank_extended.php mode change 100755 => 100644 html/pages/report.php mode change 100755 => 100644 html/pages/report/bbcode.php mode change 100755 => 100644 html/pages/report/clanbase.php mode change 100755 => 100644 html/pages/report/index.htm mode change 100755 => 100644 html/pages/report_cb.php mode change 100755 => 100644 html/pages/servers.php mode change 100755 => 100644 html/pages/servers_info.php mode change 100755 => 100644 html/pages/servers_query.php (limited to 'html/pages') diff --git a/html/pages/admin/acelog.php b/html/pages/admin/acelog.php old mode 100755 new mode 100644 index 365174a..a9c80c0 --- a/html/pages/admin/acelog.php +++ b/html/pages/admin/acelog.php @@ -90,7 +90,7 @@ if (empty($filename)) { }
- +
@@ -252,7 +252,7 @@ if (empty($filename)) { if (!empty($filename)) { if (!file_exists('logs/ace/'. $filename) or !is_file('logs/ace/'. $filename)) die('File not found (2)'); - echo'
Available ACE Logs:
+ echo'
'.$filename.' '; diff --git a/html/pages/admin/aclog.php b/html/pages/admin/aclog.php old mode 100755 new mode 100644 index ada35c8..2d78b77 --- a/html/pages/admin/aclog.php +++ b/html/pages/admin/aclog.php @@ -1,108 +1,120 @@ - - - - '; - $logdir = opendir('logs/ac'); - $logs = array(); - $sort = array(); - $i = 0; - while (false !== ($filename = readdir($logdir))) { - if (!is_file('logs/ac/'. $filename)) continue; - if ($filename == '.htaccess' or $filename == 'index.htm') continue; - $i++; - $logs[$i] = $filename; - $extra = 0; - if (substr($filename, -4) == '.bz2') $extra = 4; - if (substr($filename, -3) == '.gz') $extra = 3; - - $sort[$i] = substr($filename, strlen($filename) - (23 + $extra), 19); - } - closedir($logdir); - if (count($logs) == 0) { - echo ''; - } else { - arsort($sort); - $i = 0; - foreach($sort as $id => $date) { - $log = $logs[$id]; - $extra = 0; - if (substr($log, -4) == '.bz2') $extra = 4; - if (substr($log, -3) == '.gz') $extra = 3; - - $i++; - $class = ($i%2) ? 'grey' : 'grey2'; - echo ''; - } - } -} - - -if (!empty($filename)) { - if (!file_exists('logs/ac/'. $filename) or !is_file('logs/ac/'. $filename)) die('bla'); - echo'
Available AnthChecker Logs:
No logs available!
'; - $tmp = substr($log, strlen($log) - (23 + $extra), 19); - $tmp = str_replace('.', '', $tmp); - $ts = mtimestamp($tmp); - echo ' '.date('Y-m-d H:i', $ts).''; - echo ''; - echo ''.substr($log, 6, strlen($log) - 30 - $extra).''; - echo ''; - $d_size = file_size_info(filesize('logs/ac/'. $log)); - echo $d_size['size'] .' '. $d_size['type']; - echo ''; - echo 'Delete'; - echo '
- - - - '; - - $fp = my_fopen('logs/ac/'.$filename, 'rb', $compression = NULL); - if (!$fp) die("Error opening file"); - - $i = 0; - echo ''; - */ - echo wordwrap(htmlentities($line), 80, '
', 1) ."
"; - } - echo ''; - my_fclose($fp, $compression); -} - -echo ''; -if (!empty($filename)) echo''; -echo''; -echo '
'.$filename.''; - echo 'Delete'; - echo '
'; - - while (($line = my_fgets($fp, 5000, $compression)) !== FALSE) { - /* - $i++; - $class = ($i%2) ? 'grey' : 'grey2'; - echo '
'; - echo ''; - echo htmlentities($line); - echo ''; - echo '
Go Back To Logfile Overview
Go Back To Admin Page
'; - -?> + + + + '; + + $logdir = opendir('logs/ac'); + $logs = array(); + $sort = array(); + $i = 0; + + while (false !== ($filename = readdir($logdir))) { + if (!is_file('logs/ac/'. $filename)) continue; + if ($filename == '.htaccess' or $filename == 'index.htm') continue; + + $i++; + $logs[$i] = $filename; + $extra = 0; + + if (substr($filename, -4) == '.bz2') $extra = 4; + if (substr($filename, -3) == '.gz') $extra = 3; + + $sort[$i] = substr($filename, strlen($filename) - (23 + $extra), 19); + } + + closedir($logdir); + + if (count($logs) == 0) { + echo ''; + } else { + arsort($sort); + $i = 0; + + foreach($sort as $id => $date) { + $log = $logs[$id]; + $extra = 0; + + if (substr($log, -4) == '.bz2') $extra = 4; + if (substr($log, -3) == '.gz') $extra = 3; + + $i++; + $class = ($i%2) ? 'grey' : 'grey2'; + echo ''; + } + } +} + +if (!empty($filename)) { + if (!file_exists('logs/ac/'. $filename) or !is_file('logs/ac/'. $filename)) die('bla'); + + echo'
Available AnthChecker Logs:
No logs available!
'; + $tmp = substr($log, strlen($log) - (23 + $extra), 19); + $tmp = str_replace('.', '', $tmp); + $ts = mtimestamp($tmp); + + echo ''.date('Y-m-d H:i', $ts).''; + echo ''; + echo ''.substr($log, 6, strlen($log) - 30 - $extra).''; + echo ''; + + $d_size = file_size_info(filesize('logs/ac/'. $log)); + + echo $d_size['size'] .' '. $d_size['type']; + echo ''; + echo 'Delete'; + echo '
+ + + + '; + + $fp = my_fopen('logs/ac/'.$filename, 'rb', $compression = NULL); + if (!$fp) die("Error opening file"); + $i = 0; + echo ''; + */ + + echo wordwrap(htmlentities($line), 80, '
', 1) ."
"; + } + + echo ''; + my_fclose($fp, $compression); +} + +echo ''; + +if (!empty($filename)) echo''; + +echo''; +echo '
'.$filename.''; + echo 'Delete'; + echo '
'; + + while (($line = my_fgets($fp, 5000, $compression)) !== FALSE) { + /* + $i++; + $class = ($i%2) ? 'grey' : 'grey2'; + echo '
'; + echo ''; + echo htmlentities($line); + echo ''; + echo '
Go Back To Logfile Overview
Go Back To Admin Page
'; + +?> diff --git a/html/pages/admin/dmatch.php b/html/pages/admin/dmatch.php old mode 100755 new mode 100644 index 9fed97d..3c7ebc5 --- a/html/pages/admin/dmatch.php +++ b/html/pages/admin/dmatch.php @@ -20,7 +20,7 @@ $results = adminselect($options); $matchid = $results['mid']; -echo'
+echo'
@@ -47,7 +47,7 @@ while ($r_radjust = mysql_fetch_array($q_radjust)) { mysql_query("UPDATE uts_rank SET rank = $newrank, prevrank = $oldrank, matches = $matchcount WHERE id = $rid") or die(mysql_error()); mysql_query("DELETE FROM uts_rank WHERE matches = 0") or die(mysql_error()); } - echo' + echo''; diff --git a/html/pages/admin/dplayer.php b/html/pages/admin/dplayer.php old mode 100755 new mode 100644 index 0239e5d..ca3e747 --- a/html/pages/admin/dplayer.php +++ b/html/pages/admin/dplayer.php @@ -15,7 +15,7 @@ $results = adminselect($options); $pid = $results['pid']; $playerid = $pid; -echo'
Deleting Match ID '.$matchid.'
DoneDone
Removing Match Record:
+echo'
diff --git a/html/pages/admin/dpmatch.php b/html/pages/admin/dpmatch.php old mode 100755 new mode 100644 index b021054..ff4258e --- a/html/pages/admin/dpmatch.php +++ b/html/pages/admin/dpmatch.php @@ -21,7 +21,7 @@ $results = adminselect($options); $matchid = $results['mid']; $pid = $results['pid']; -echo'
Deleting Player
+echo'
'; diff --git a/html/pages/admin/editgames.php b/html/pages/admin/editgames.php old mode 100755 new mode 100644 index 3f7a542..d2981b8 --- a/html/pages/admin/editgames.php +++ b/html/pages/admin/editgames.php @@ -16,7 +16,7 @@ if (isset($_REQUEST['submit'])) { } } -echo'
Delete Player From Match ID '.$matchid.'
+echo'
diff --git a/html/pages/admin/editgamestype.php b/html/pages/admin/editgamestype.php old mode 100755 new mode 100644 index d9e4ff1..26bff62 --- a/html/pages/admin/editgamestype.php +++ b/html/pages/admin/editgamestype.php @@ -29,7 +29,7 @@ if (isset($_REQUEST['submit'])) { ") or die(mysql_error()); if (isset($_REQUEST['update'])) { - echo'
Edit games
+ echo'
@@ -102,7 +102,7 @@ if (isset($_REQUEST['del'])) { -echo'
Updating...
+echo'
@@ -153,7 +153,7 @@ echo '
Current Mappings
'; -echo'
+echo'
diff --git a/html/pages/admin/editweapons.php b/html/pages/admin/editweapons.php old mode 100755 new mode 100644 index 2baeab9..dec6b64 --- a/html/pages/admin/editweapons.php +++ b/html/pages/admin/editweapons.php @@ -11,7 +11,7 @@ if (isset($_REQUEST['submit'])) { } } -echo'
Add new gamestype
+echo'
diff --git a/html/pages/admin/ipsearch.php b/html/pages/admin/ipsearch.php old mode 100755 new mode 100644 index 4ac9731..fcfe17f --- a/html/pages/admin/ipsearch.php +++ b/html/pages/admin/ipsearch.php @@ -22,7 +22,7 @@ $results = adminselect($options); $ip_from = $results['ip_from']; $ip_to = $results['ip_to']; -echo'
Edit weapons
+echo'
'; diff --git a/html/pages/admin/main.php b/html/pages/admin/main.php old mode 100755 new mode 100644 index 4d60302..e2c191e --- a/html/pages/admin/main.php +++ b/html/pages/admin/main.php @@ -17,7 +17,7 @@ function nf($number) { } -echo'
Players using IPs '.$ip_from.' - '.$ip_to.' and their last 5 matches using these IPs
+echo'
'; @@ -71,47 +71,46 @@ echo'
Database Statistics

'; -echo' -
'; +echo' + +
'; -echo ' - '; -echo'
'; +echo'
'; ?> diff --git a/html/pages/admin/mplayers.php b/html/pages/admin/mplayers.php old mode 100755 new mode 100644 index 3754d99..c9b58a3 --- a/html/pages/admin/mplayers.php +++ b/html/pages/admin/mplayers.php @@ -26,7 +26,7 @@ $mplayer2 = $results['mplayer2']; $mp1name = small_query("SELECT name FROM uts_pinfo WHERE id = $mplayer1"); $mp2name = small_query("SELECT name FROM uts_pinfo WHERE id = $mplayer2"); -echo'
+echo'
diff --git a/html/pages/admin/mservers.php b/html/pages/admin/mservers.php old mode 100755 new mode 100644 index b52a9d1..9e0bf6a --- a/html/pages/admin/mservers.php +++ b/html/pages/admin/mservers.php @@ -24,7 +24,7 @@ $mserver2 = $results[mserver2]; $q_myserver1 = small_query("SELECT servername, serverip FROM uts_match WHERE id = $mserver1"); $q_myserver2 = small_query("SELECT servername, serverip FROM uts_match WHERE id = $mserver2"); -echo'
Merging '.$mp2name[name].' Into '.$mp1name[name].'
+echo'
diff --git a/html/pages/admin/pban.php b/html/pages/admin/pban.php old mode 100755 new mode 100644 index f421ef5..88aa6a4 --- a/html/pages/admin/pban.php +++ b/html/pages/admin/pban.php @@ -26,7 +26,7 @@ $results = adminselect($options); $pid = $results['pid']; if ($ban) { - echo'
Merging '.$q_myserver2[servername].' ('.$q_myserver2[serverip].')
Into '.$q_myserver1[servername].' ('.$q_myserver1[serverip].')
+ echo'
@@ -45,7 +45,7 @@ if ($ban) {
Banning Player
Player Banned - Go Back To Admin Page
'; } else { - echo' + echo'
diff --git a/html/pages/admin/pinfo.php b/html/pages/admin/pinfo.php old mode 100755 new mode 100644 index 7be13ae..3ae57f7 --- a/html/pages/admin/pinfo.php +++ b/html/pages/admin/pinfo.php @@ -25,7 +25,7 @@ echo '
'; $sql_ips = "SELECT INET_NTOA(p.ip) AS ip, COUNT(p.id) AS matches, MIN(m.time) AS first, MAX(m.time) AS last FROM uts_player AS p, uts_match AS m WHERE p.pid = ".$pid." AND m.id = p.matchid GROUP BY ip ORDER BY ip"; $q_ips = mysql_query($sql_ips) or die("Can't get ip's: " . mysql_error()); echo ' -
Unbanning Player
+
@@ -60,7 +60,7 @@ mysql_free_result($q_ips); $sql_fakes = "SELECT INET_NTOA(p1.ip) AS ip, pi.name FROM uts_player AS p1, uts_player AS p2, uts_pinfo AS pi WHERE p1.pid = ".$pid." AND p1.ip = p2.ip AND p1.pid <> p2.pid AND pi.id = p2.pid GROUP BY pi.name"; $q_fakes = mysql_query($sql_fakes) or die("Can't retrieve fake nicks: " . mysql_error()); echo ' -
IP\'s used
+
diff --git a/html/pages/admin/plm.php b/html/pages/admin/plm.php old mode 100755 new mode 100644 index 68992e2..1ea9f52 --- a/html/pages/admin/plm.php +++ b/html/pages/admin/plm.php @@ -43,13 +43,13 @@ if($debug) { } // Print header & links -echo '

Player merging tool

'; +echo '

Player merging tool

'; echo "

Merge ip's - Merge ip's, limited on range - Manage ignored ip's - Manage ignored ip's - only range

"; // CASE: MANAGE IGNORED IPS if($_GET['manignore'] == "true") { if($_POST['submit'] == "Remove from ignored list") { - echo "

Stopped ignore ip's

"; + echo "

Stopped ignore ip's

"; foreach($_POST as $key=>$value) { if($key !='submit') { $key = mysql_real_escape_string(str_replace("_",".",$key)); @@ -60,7 +60,7 @@ if($_GET['manignore'] == "true") { } } else if($_GET['onlyrange'] == "true") { if($_POST['submit'] == "Confirm") { - echo '

Ignored ip\'s in range '.htmlentities($_POST['from']).' to '.htmlentities($_POST['to']).'
If you want to stop ignoring some ip\'s, because for example you accidently ignored these, check these and press the button at the lower end to confirm this

'; + echo '

Ignored ip\'s in range '.htmlentities($_POST['from']).' to '.htmlentities($_POST['to']).'
If you want to stop ignoring some ip\'s, because for example you accidently ignored these, check these and press the button at the lower end to confirm this

'; echo ''; $from = mysql_real_escape_string($_POST['from']); @@ -75,7 +75,7 @@ if($_GET['manignore'] == "true") { $trueplayerip = long2ip($playerip); $pidcount = $r_pipcheck[pidcount]; - echo "
$trueplayerip"; + echo "
$trueplayerip"; // Query for player names and ids associated to that ip during the cycle $sql_pcheck = "SELECT pi.id, pi.name, pi.country, p.pid, p.ip FROM uts_pinfo AS pi, uts_player AS p WHERE pi.id = p.pid AND p.ip = $playerip GROUP BY pi.id, pi.name, p.pid, p.ip, pi.country"; @@ -90,13 +90,13 @@ if($_GET['manignore'] == "true") { echo "

No ignored ip's found

"; } } else { - echo "

Ignored ip's in range: Enter range to filter on

"; + echo "

Ignored ip's in range: Enter range to filter on

"; echo ''; echo '
Ranging from to '; echo '

'; } } else { - echo '

Ignored ip\'s
If you want to stop ignoring some ip\'s, because for example you accidently ignored these, check these and press the button at the lower end to confirm this

'; + echo '

Ignored ip\'s
If you want to stop ignoring some ip\'s, because for example you accidently ignored these, check these and press the button at the lower end to confirm this

'; echo ''; $ignore_ips = mysql_query("SELECT ip FROM uts_ignoreips ORDER BY ip ASC"); @@ -107,7 +107,7 @@ if($_GET['manignore'] == "true") { $trueplayerip = long2ip($playerip); $pidcount = $r_pipcheck[pidcount]; - echo "
$trueplayerip"; + echo "
$trueplayerip"; // Query for player names and ids associated to that ip during the cycle $sql_pcheck = "SELECT pi.id, pi.name, pi.country, p.pid, p.ip FROM uts_pinfo AS pi, uts_player AS p WHERE pi.id = p.pid AND p.ip = $playerip GROUP BY pi.id, pi.name, p.pid, p.ip, pi.country"; @@ -125,7 +125,7 @@ if($_GET['manignore'] == "true") { // CASE: IGNORE SUBMITTED IP'S } else if($_POST['submit'] == "ignore") { - echo "

Ignored ips

"; + echo "

Ignored ips

"; foreach($_POST as $key=>$value) { if($key !='submit') { $key = mysql_real_escape_string(str_replace("_",".",$key)); @@ -138,7 +138,7 @@ if($_GET['manignore'] == "true") { // CASE: SHOW NICKS WITH GIVEN SHARED IP } else if(substr($_POST['submit'],0,8) == "merge - ") { - echo "

Merge nicks with shared ip

"; + echo "

Merge nicks with shared ip

"; $ip = mysql_real_escape_string(str_replace("_",".",substr($_POST['submit'],8))); $sql_pipcheck = "SELECT ip, COUNT(DISTINCT pid) AS pidcount FROM uts_player WHERE ip = INET_ATON('$ip') GROUP BY ip ORDER BY ip ASC"; @@ -152,7 +152,7 @@ if($_GET['manignore'] == "true") { // If there is more than one pid associated to an IP ... IF ($pidcount > 1 ) { echo ''; - echo "
$trueplayerip"; + echo "
$trueplayerip"; // Query for player names and ids associated to that ip during the cycle $sql_pcheck = "SELECT pi.id, pi.name, pi.country, p.pid, p.ip FROM uts_pinfo AS pi, uts_player AS p WHERE pi.id = p.pid AND p.ip = $playerip GROUP BY pi.id, pi.name, p.pid, p.ip, pi.country"; @@ -170,7 +170,7 @@ if($_GET['manignore'] == "true") { // CASE: MERGE NICKS WITH SHARED IP } else if($_POST['submit'] == "Player merge") { - echo "

Merging nicks with shared ip

"; + echo "

Merging nicks with shared ip

"; $ip = mysql_real_escape_string(str_replace("_",".",$_POST['ip'])); $merge_to_pid = mysql_real_escape_string($_POST['merge_to']); @@ -184,7 +184,7 @@ if($_GET['manignore'] == "true") { // If there is more than one pid associated to an IP ... IF ($pidcount > 1 ) { - echo "$trueplayerip

merge:
"; + echo "$trueplayerip

merge:
"; // Query for player names and ids associated to that ip during the cycle $sql_pcheck = "SELECT p.pid FROM uts_pinfo AS pi, uts_player AS p WHERE pi.id = p.pid AND p.ip = $playerip GROUP BY pi.id, pi.name, p.pid, p.ip, pi.country"; @@ -210,7 +210,7 @@ if($_GET['manignore'] == "true") { // CASE: SHOW ALL IP'S LINKED TO MORE THAN ONE NICK - ONLY RANGE } else if($_GET['onlyrange'] == "true") { if($_POST['submit'] == "Confirm") { - echo "

Showing all ip's in range ".htmlentities($_POST['from'])." to ".htmlentities($_POST['to'])."
If you want to ignore some ip's, because for example different but unrelated nicks are associated with it, check these and press the button at the lower end to confirm this

"; + echo "

Showing all ip's in range ".htmlentities($_POST['from'])." to ".htmlentities($_POST['to'])."
If you want to ignore some ip's, because for example different but unrelated nicks are associated with it, check these and press the button at the lower end to confirm this

"; $from = mysql_real_escape_string($_POST['from']); $to = mysql_real_escape_string($_POST['to']); @@ -240,7 +240,7 @@ if($_GET['manignore'] == "true") { // If there is more than one pid associated to an IP ... IF ($pidcount > 1 ) { - echo "
$trueplayerip"; + echo "
$trueplayerip"; // Query for player names and ids associated to that ip during the cycle $sql_pcheck = "SELECT pi.id, pi.name, pi.country, p.pid, p.ip FROM uts_pinfo AS pi, uts_player AS p WHERE pi.id = p.pid AND p.ip = $playerip GROUP BY pi.id, pi.name, p.pid, p.ip, pi.country"; @@ -260,7 +260,7 @@ if($_GET['manignore'] == "true") { } } else { - echo "

Showing all ip's in range - Enter range to filter on

"; + echo "

Showing all ip's in range - Enter range to filter on

"; echo ''; echo '
Ranging from to '; echo '

'; @@ -268,7 +268,7 @@ if($_GET['manignore'] == "true") { // CASE: SHOW ALL IP'S LINKED TO MORE THAN ONE NICK } else { - echo "

IP's linked with more than one nick
If you want to ignore some ip's, because for example different but unrelated nicks are associated with it, check these and press the button at the lower end to confirm this

"; + echo "

IP's linked with more than one nick
If you want to ignore some ip's, because for example different but unrelated nicks are associated with it, check these and press the button at the lower end to confirm this

"; $ignore_ips = mysql_query("SELECT ip FROM uts_ignoreips"); $extended_query = ""; @@ -299,7 +299,7 @@ if($_GET['manignore'] == "true") { // If there is more than one pid associated to an IP ... IF ($pidcount > 1 ) { - echo "
$trueplayerip"; + echo "
$trueplayerip"; // Query for player names and ids associated to that ip during the cycle $sql_pcheck = "SELECT pi.id, pi.name, pi.country, p.pid, p.ip FROM uts_pinfo AS pi, uts_player AS p WHERE pi.id = p.pid AND p.ip = $playerip GROUP BY pi.id, pi.name, p.pid, p.ip, pi.country"; diff --git a/html/pages/admin/recalcflags.php b/html/pages/admin/recalcflags.php old mode 100755 new mode 100644 index 073e648..2c88610 --- a/html/pages/admin/recalcflags.php +++ b/html/pages/admin/recalcflags.php @@ -27,7 +27,7 @@ include("includes/geoip.inc"); $gi = geoip_open("GeoIP.dat",GEOIP_STANDARD); -echo'
Possible aliasses
+echo'
'; diff --git a/html/pages/admin/recalcranking.php b/html/pages/admin/recalcranking.php old mode 100755 new mode 100644 index 1cbc865..0065439 --- a/html/pages/admin/recalcranking.php +++ b/html/pages/admin/recalcranking.php @@ -22,7 +22,7 @@ if ($results['start'] != 'Yes') { @set_time_limit(0); -echo'
Recalculating Countryflags
+echo'
'; diff --git a/html/pages/admin/utdclog.php b/html/pages/admin/utdclog.php old mode 100755 new mode 100644 index b22bfd7..b81f8d4 --- a/html/pages/admin/utdclog.php +++ b/html/pages/admin/utdclog.php @@ -17,7 +17,7 @@ if (!empty($filename)) { if (empty($filename)) { - echo'
Recalculating Rankings
+ echo'
'; @@ -70,7 +70,7 @@ if (empty($filename)) { if (!empty($filename)) { if (!file_exists('logs/utdc/'. $filename) or !is_file('logs/utdc/'. $filename)) die('bla'); - echo'
Available UTDC Logs:
+ echo'
'.$filename.' '; diff --git a/html/pages/admin/utdcshot.php b/html/pages/admin/utdcshot.php old mode 100755 new mode 100644 diff --git a/html/pages/credits.php b/html/pages/credits.php index 4f8f4c2..4848d6e 100755 --- a/html/pages/credits.php +++ b/html/pages/credits.php @@ -1,312 +1,349 @@ -
-

Credits

- -
    -
  1. Developers
  2. -
  3. Change Log
  4. -
  5. To Do List
  6. -
  7. Thanks
  8. -
  9. Copyright Notices
  10. -
- -

Developers

-

UTStats was developed by azazel, )°DoE°(-AnthraX, PJMODOS and toa.
-All original pages are W3C HTML 4.01 and -CSS compliant

- -
- -

Change Log

-

-

-
4.3.0 (4/1/2018 by killerEye, imported by Monk)
-
Added:
- Graphs of specific stats for CTF, DOM and DM game types.

- -
beta 4.2.8 (23/7/2011 by Rork)
-
Bug Fixes:
- Fixed explain rankings (reported by Letylove49)
- Fixed delete player (reported by The Cowboy)
- Fixed delete player from match
- Fixed support for LMS++

- -
beta 4.2.7 (24/4/2011 by Rork)
-
Added:
- IP Information in extended player info
- Possible fake nicks in extended player info
- Added support for LMS+

- -
Bug Fixes:
- Fixed player deletion
- Fixed DOM import with bots
- Fixed player info BT records
- Fixed order players in playersearch
- Fixed player time on server longer then gametime
- Fixed lms player sorting
- Fixed lms ttl
- Fixed SQL table creation (reported by PopCorn)

- -
beta 4.2.6 (04/12/2010 by Rork)
-
Bug Fixes:
- Fixed serveral vulnerabilities
- Fixed DOM specific map page not showing
- Fix Assault Match looks
- Add support for new BT times
- Fixed CTF Match Reports

- -
beta 4.2.5 (23/10/2010 by Rork)
-
Added:
- Game time in match stats
- Added applicable totals per gametype on the mappage
- Bunny Track stats, BT++ support only
- Server configuration checker/database setup
- UTDC Screenshots viewer
- ACE Logviewer
- Added out time in LMS
- Added number of players to recent matches
- Hide not applicable statistics from player pages
- Various lay-out improvements
- Filters in maplist
- Show Score under Match Totals for teamgames
- Added debug messages

- -
Bug Fixes:
- Fixed delete player from match
- Fixed bug where players are spec after merging or teamchange
- Fixed effective rank after merging players
- Dirty fix for divide by zero bug on logimport (was line 47) (gametime = 0)
- Fixed dodgy import log recognition
- Fixed playerlink in explain ranking
- Two bug fixes by Enakin reported in the 4.2.3 release thread
- Fixed LMS ttl by using the time until the player is out.
- Sorted LMS players by ttl, the winner on top
- Fixed php shorttag in import_playerstuff.php
- Prevent removing files from ftp after error
- Prevent importing empty log after ftp error
- Made the main pages W3C HTML 4.01 Compliant
- Fixed some vulnerabilities

- -
beta 4.2.4 (10/04/2010 by Loki)
-
Added:
- Breakdown of server occupation per weekday (By Loki)
- Breakdown of country of origin (By Loki)
- Included IpToCountry patch into the release, added GeoIP.dat from March 2010 (By Loki)

-
Bug Fixes:
- Fixed PHP opening tags (By Loki)

- -
beta 4.2.3 (18/01/09 by 2399Skillz)
-
Bug Fixes:
- Lots of bug fixes/database corrections (By Enakin)

- -
beta 4.2.2 (30/12/08 by 2399Skillz)
-
Added:
- Option to import AnthChecker logs (admin viewable only) (Added by Skillz)
- New player merger page for admins(Added by killereye)

-
Bug Fixes:
- UT Stats DOM fix (Edited by killereye)

- -
beta 4.2 (20/10/2005 by Azazel)
-
Added:
- Ranking re-calculation option added to admin section
- Import and display player pings
- Explain Ranking page
- Added an option to the admin page to delete temporary tables (if any)

- -
Bug Fixes:
- Import fix for MySQL v3.x
- Partial Import delete fix
- bbcode and Clanbase Report Fix - not showing high score win reports.
- Ranking fix (was more than 300 mins to get full ranking points)
- Spectator fix (was logging players as spectators)
- Efficiency on Players Total worked out as SUM rather than AVG
- Clanbase report fixed
- Totals on Totals Page fixed
- Events on Totals Page only show if they really happened
- Number of matches on Totals Page fixed
- Fixed a crash when trying to import logs that didnt contain IP records
- Maps sometimes appeared twice on the maps list / incorrect map statistics
- First/Prev/Next/Last links on map stas page were not working correctly
- Improved server actor version uploaded (old one may have caused some server lag at times)
- Updated import.php for new server actor
- Few actor fixes
- Weapon stats for second attacking team in assault games were not correct (reported by wgray8231)
- Delete player from match didn't correctly remove the player from the match (reported by wgray8231)

- -
beta 4.0
-
Added:
- Many pages overhauled
- Database overhauled
- Option to import bots or not (off by default)
- Command Line Interface now outputs to text not html
- Ranking stuff on match and player pages include gold/silver/bronze cups for each gametype
- Rankings tweaked so new players get even less points
- Maps page now sortable
- Flag Assists now show, get the new Smart CTF
- Report generator outputting to Clanbase and bbcode format
- Support added for custom weapons and gametypes
- Admin page including server/player merging, deletion of players/matches, renaming of "game types" etc
- Option to compress logs when backing them up (requires bzip/gzip support in php)
- More debugging stuff added
- Accuracy package optimised and recoded for better performance (it will not lag the server in anyway now)
- More detailed weapon statistics added
- Totals page expanded with information like on the old NGStats
- JailBreak should now display its statistics properly
- Purge logs option added
- Graphs now display better regardless of data used
- CTF4 Compatibility
- Date and Game Type filtering on Recent Matches page
- Ability to Ban players
- Ability to ignore matches < X minues in length
- IP Search within Administration
- Ability to ignore matches less than X minutes in length
- Option to import UTDC logs (admin viewable only)

- -
Bug Fixes:
- Ranking overhauled to better reflect average game play of players
- Cleaned up the importer
- Teamscores now shown correctly regardless of player switching activity
- Kills matrix is now created on combined player records
- Kills against bots no longer counted if bots are not imported
- Domination logs only log when players are in
- Teamkills identified as kills in non-team games (gg Epic :/)
- Eff etc fixed because of above Teamkills bug
- Last line not logging of buffer fixed

- -
beta 3.2
-
Added:
- Debugging Option
- Better FTP Capabilities
- Filters carried over on next last etc on player page

- -
Bug Fixes:
- Imports failing on some versions of php 4.3.x
- Totals page fixed
- Totals info at the top of match pages fixed

- -
beta 3.1
-
Added:
- Kills Matchup Matrix - Country Flags for Players
- Hover Hints over key parts of the page (eg. K F D S)
- Some Graphs

- -
Bug Fixes:
- Importer can now import unlimited logs
- Kills on match pages not listed
- Games where nothing happens no longer imported
- Players who have 0 kills & 0 deaths no longer get imported
- FTP script re-written
- Pickups removed from insta pages
- Translocator entries removed from logs (throws not kills)
- Multis & Sprees report correct player now
- Kills correctly worked out on non-Team Games
- - Frags correctly worked out on all games

- -
beta 3.0
-
Added:
- SmartCTF events
- UTGL Compatibility

- Updated:
- UTStats actor re-written from scratch, it now uses NGLog files
- Database re-written from scratch
- PHP code re-written from scratch

- -
Bug Fixes:
- Too many to think about

- -
beta 2.0
-
Code rewritten from ground up then lost :(

- - -
beta 1.2
-
Added:
- Accuracy Code (best in insta but works on all weapons)
- UT2004 spree scheme
- Who killed the Flag Carrier
-
- Updated:
- Complete overhaul of pages/theme to mimic closley UT2004 Stats by Epic
- Cap times added to Clanbase Report
- Stats database, now at least 10-20x smaller
-
- Bug Fixes:
- TeamKills no longer appear in DM
- TeamKills no longer mess up overall stats
- Bot kills etc no longer included in overall stats
- Sprees are unique

- -
beta 1.1
-
Added:
- Clanbse Reports for CTF Match's
- 30 Recent Match's to Player View

- -
beta 1
-
Stats output for:
- Player Joins/Leaves
- Match Start/End
- Frags and Item Pickups
- Sprees (Doubles/Multis and Domination/Monster etc)
- Events
- -
- -

To Do List

-
- "Requests"
- Centralise stats
- Web based installer
- Other Anticheat log parser. (UTPure, EUT, etc..)
- Multi language support
- Add sftp support
- Add siege support
- Wins/Losses to the Career summary
- Killgraph as in utstatsdb
-
-
- -

Thanks

-
-
-
Epic for making a game that we still play
- kostaki for the database pointers, scoring system and the inzane public servers :)
- Limited for the late night sesions, the linux script and the original zero_out function
- L0cky and Flash for the original FTP Script
- Loph for the 6 different reports o/
- Rush for the improved linux script, testing, suggestions and bug finding
- TNSe for being TNSe
- Truff for testing, suggestions and constant bug finding
- Truff Community for testing, suggestions and input
- UnrealAdmin.org testers and suggesters
- -

Copyright Notices

-
-
UTStats
- Copyright (C) 2004/2005 UTStats
-
- This program is free software; you can redistribute and/or modify
- it under the terms of the Open Unreal Mod License.
-
- If you do make any changes, fixes or updates posting them on the
- forum would be appreciated.
-
- UT Query PHP script v1.01 by Almar Joling, 2003
- www.persistentrealities.com
-
- pemftp Class by Alexey Dotsenko <alex at paneuromedia dot com>
- http://www.phpclasses.org/browse/package/1743.html
-
- GeoLite data created by MaxMind
- Available from http://www.maxmind.com/app/geolitecountry
-
- overLIB by Erik Bosrup
- http://www.bosrup.com/web/overlib/ -
-
- - - - - -
Back to Top 
-
+ + + + + + +
Credits
+ +
    +
  1. Developers
  2. +
  3. Change Log
  4. +
  5. To Do List
  6. +
  7. Thanks
  8. +
  9. Copyright Notices
  10. +
+ +

Developers

+ +
+

+ UTStats was developed by azazel, )°DoE°(-AnthraX, PJMODOS, toa and sn3p.
+ The source code is available from GitHub.
+ All original pages are W3C HTML 4.01 and + CSS compliant +

+
+ +

+ Change Log (click to show/hide) +

+ +