blob: 089c98901e35daca1a7fc99885564c57a1ce780c (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
<?php
include ("includes/config.php");
include ("includes/functions.php");
if (!isset($_GET['noheader'])) include ("includes/header.php");
switch ($_GET["p"]) {
case "": page(); break; // Our opening page
case "recent": recent(); break; // list of recent games, 30 in date order
case "match": match(); break; // Single Match stats
case "matchp": matchp(); break; // Player stats for single match
case "report": report(); break; // Report generator
case "rank": rank(); break; // Rankings
case "ext_rank": ext_rank(); break; // Extended rankings
case "servers": servers(); break; // Server listings
case "sinfo": sinfo(); break; // Server info
case "squery": squery(); break; // Server query page
case "players": players(); break; // Players list
case "psearch": psearch(); break; // Player search
case "pinfo": pinfo(); break; // Player info
case "pexplrank": pexplrank(); break; // Explain ranking
case "maps": maps(); break; // Maps list
case "minfo": minfo(); break; // Map info
case "totals": totals(); break; // Totals summary
case "watchlist": watchlist(); break; // The viewer's watchlist
case "credits": credits(); break; // Credits
case "help": help(); break; // Help Page
default: page(); break; // Our opening page
}
function page() {
include("pages/home.php");
}
function admin() {
include("admin.php");
}
function recent() {
include("pages/recent.php");
}
function match() {
include("pages/match.php");
}
function matchp() {
include("pages/match_player.php");
}
function report() {
include("pages/report.php");
}
function rank() {
include("pages/rank.php");
}
function ext_rank() {
include("pages/rank_extended.php");
}
function servers() {
include("pages/servers.php");
}
function sinfo() {
include("pages/servers_info.php");
}
function squery() {
include("pages/servers_query.php");
}
function players() {
include("pages/players.php");
}
function psearch() {
include("pages/players_search.php");
}
function pinfo() {
include("pages/players_info.php");
}
function pexplrank() {
include("pages/players_explain_ranking.php");
}
function pmatchs() {
include("pages/players_matchs.php");
}
function pmaps() {
include("pages/players_maps.php");
}
function maps() {
include("pages/maps.php");
}
function minfo() {
include("pages/maps_info.php");
}
function totals() {
include("pages/totals.php");
}
function watchlist() {
include("pages/watchlist.php");
}
function credits() {
include("pages/credits.php");
}
function help() {
include("pages/help.php");
}
include("includes/footer.php");
?>
|