-
Notifications
You must be signed in to change notification settings - Fork 46
/
status.php
365 lines (322 loc) · 12.2 KB
/
status.php
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<?php
require_once("configs.php");
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" xmlns:xml="http://www.w3.org/XML/1998/namespace" class="chrome chrome8">
<head>
<title><?php echo $website['title']; ?> - Status</title>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<link rel="shortcut icon" href="wow/static/local-common/images/favicons/wow.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" media="all" href="wow/static/local-common/css/common.css?v17" />
<!--[if IE]><link rel="stylesheet" type="text/css" media="all" href="/wow/static/local-common/css/common-ie.css?v17" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="all" href="/wow/static/local-common/css/common-ie6.css?v17" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="all" href="/wow/static/local-common/css/common-ie7.css?v17" /><![endif]-->
<link rel="stylesheet" type="text/css" media="all" href="wow/static/css/wowe6dd.css?v7" />
<link rel="stylesheet" type="text/css" media="all" href="wow/static/css/status/realmstatuse6dd.css?v7" />
<!--[if IE]><link rel="stylesheet" type="text/css" media="all" href="/wow/static/css/wow-ie.css?v7" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="all" href="/wow/static/css/wow-ie6.css?v7" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="all" href="/wow/static/css/wow-ie7.css?v7" /><![endif]-->
<script type="text/javascript" src="wow/static/local-common/js/third-party/jquery-1.4.4-p1.min.js"></script>
<script type="text/javascript" src="wow/static/local-common/js/core.js?v17"></script>
<script type="text/javascript" src="wow/static/local-common/js/tooltip.js?v17"></script>
<!--[if IE 6]> <script type="text/javascript">
//<![CDATA[
try { document.execCommand('BackgroundImageCache', false, true) } catch(e) {}
//]]>
</script>
<![endif]-->
<script type="text/javascript">
//<![CDATA[
Core.staticUrl = '/wow/static';
Core.sharedStaticUrl= '/wow/static/local-common';
Core.baseUrl = '/wow/en';
Core.project = 'wow';
Core.locale = 'en-gb';
Core.buildRegion = 'eu';
Core.shortDateFormat= 'dd/MM/Y';
Core.loggedIn = false;
Flash.videoPlayer = 'http://eu.media.blizzard.com/wow/player/videoplayer.swf';
Flash.videoBase = 'http://eu.media.blizzard.com/wow/media/videos';
Flash.ratingImage = 'http://eu.media.blizzard.com/wow/player/rating-pegi.jpg';
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-544112-16']);
_gaq.push(['_setDomainName', '.battle.net']);
_gaq.push(['_trackPageview']);
//]]>
</script>
</head>
<body class="en-gb game-index"><div id="predictad_div" class="predictad" style="display: none; left: 788px; top: 104px; width: 321px; "></div>
<div id="wrapper">
<?php $page_cat="game"; include("header.php"); ?>
<div id="content">
<div class="content-top">
<div class="content-trail">
<ol class="ui-breadcrumb">
<li><a href="index.php" rel="np"><?php echo $website['title']; ?></a></li>
<li><a href="game.php" rel="np">Game</a></li>
<li class="last"><a href="" rel="np">Realm Status</a></li>
</ol>
</div>
<div class="content-bot">
<div class="content-header">
<h2 class="header ">Realm Status</h2>
<div class="desc">This page lists all available World of Warcraft realms as well as the status of each. A realm can be listed as either Up or Down. Messages related to realm status and scheduled maintenance will be posted in the <a href="forum/1028280/index.html">Service Status forum</a>. Let us apologize in advance if your Realm is listed as down. Chances are we are working diligently to bring it back online as quickly as possible. </div>
<span class="clear"><!-- --></span>
</div>
<div id="realm-status">
<?php include("functions/status_nav.php"); ?>
<div class="filter-toggle">
<a href="javascript:;" class="selected" onclick="RealmStatus.filterToggle(this)">
</a>
</div>
<span class="clear"><!-- --></span>
<div id="realm-filters" class="table-filters">
<form action="#">
<div class="filter">
<label for="filter-status">Status</label>
<select id="filter-status" class="input select" data-filter="column" data-column="0">
<option value="">All</option>
<option value="up">Up</option>
<option value="down">Down</option>
</select>
</div>
<div class="filter">
<label for="filter-name">Realm Name</label>
<input type="text" class="input" id="filter-name"
data-filter="column" data-column="1" />
</div>
<div class="filter">
<label for="filter-type">Type</label>
<select id="filter-type" class="input select" data-filter="column" data-column="2">
<option value="">All</option>
<option value="pve">
PvE
</option>
<option value="rppvp">
RP PvP
</option>
<option value="pvp">
PvP
</option>
<option value="rp">
RP
</option>
</select>
</div>
<div class="filter">
<label for="filter-population">Population</label>
<select id="filter-population" class="input select" data-filter="column" data-column="3">
<option value="">All</option>
<option value="high">High</option>
<option value="medium">Medium</option>
<option value="n/a">N/A</option>
<option value="low">Low</option>
</select>
</div>
<div class="filter">
<label for="filter-locale">Locale</label>
<select id="filter-locale" class="input select" data-column="4" data-filter="column">
<option value="">All</option>
<option value="spanish">Cataclysm</option>
<option value="german">WoTLK</option>
<option value="french">Burning Crusade</option>
<option value="tournament">Original</option>
<option value="russian">Tournament</option>
<option value="english">Test</option>
</select>
</div>
<div class="filter">
<label for="filter-queue">Queue</label>
<input type="checkbox" id="filter-queue" class="input" value="true" data-column="5" data-filter="column" />
</div>
<div class="filter" style="margin: 5px 0 5px 15px">
<button
class="ui-button button1 "
type="button"
id="filter-button"
onclick="RealmStatus.reset();"
>
<span>
<span>Reset</span>
</span>
</button>
</div>
<span class="clear"><!-- --></span>
</form>
</div>
</div>
<span class="clear"><!-- --></span>
<div id="all-realms">
<div class="table full-width">
<table>
<thead>
<tr>
<th><a href="javascript:;" class="sort-link"><span class="arrow">Status</span></a></th>
<th><a href="javascript:;" class="sort-link"><span class="arrow">Realm Name</span></a></th>
<th><a href="javascript:;" class="sort-link"><span class="arrow">Type</span></a></th>
<th><a href="javascript:;" class="sort-link"><span class="arrow">Population</span></a></th>
<th><a href="javascript:;" class="sort-link"><span class="arrow">Locale</span></a></th>
<th><a href="javascript:;" class="sort-link"><span class="arrow">Online Now</span></a></th>
</tr>
</thead>
<tbody>
<tr class="row1">
<td class="status" data-raw="up">
<div class="status-icon up"
onmouseover="Tooltip.show(this, 'Online')">
</div>
</td>
<td class="name">
<a href="servername1.php">
<?php require_once("configs.php");
echo $name_realm1['realm'];
?>
</a>
</td>
<td class="type" data-raw="pvp">
<span class="pvp">
(PvP & PvE)
</span>
</td>
<td class="population" data-raw="Low">
<span class="Low">
Low
</span>
</td>
<td class="locale">
Cataclysm
</td>
<td class="queue" data-raw="false">
<!--Bar Graph 1-->
<?php
require_once("configs.php");
$con = mysql_connect("$serveraddress","$serveruser","$serverpass");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("$server_cdb", $con);
$bar_width="100";
$max_online="500";
$border_color="#6cc02c";
$graph_fill="#2fa4f3";
$right_border="#6cc02c";
print'
<div style="width:'.$bar_width.'px; border:1px solid '.$border_color.'; height:18px; position:relative;margin-left:5px;text-align:left; background-repeat:repeat-x;">
<div style="position:absolute; z-index:50; width:100%; height:18px; text-align:center;color:white;">
<div style="margin-top:1px;">';
$sql = "SELECT SUM(online) FROM characters";
$sqlquery = mysql_query($sql) or die(mysql_error());
$memb = mysql_result($sqlquery,0,0);
echo $memb;
$number = $memb / $max_online;
$total_number = $number * $bar_width;
?> / <?php echo"$max_online"; ?>
</div></div>
<div style="width:<?php echo"$total_number"; ?>%; background:<?php echo"$graph_fill"; ?>; background-repeat:repeat-x; height:18px;border-right:1px solid <?php echo"$right_border"; ?>;">
</div></div>
<!--Bar Graph 1-->
</td>
</tr>
<!-- Removed or add the ( --> <!-- ) Only if you know what they are doing -->
<!--<tr class="row2">
<td class="status" data-raw="up">
<div class="status-icon up"
onmouseover="Tooltip.show(this, 'Online')">
</div>
</td>
<td class="name">
<a href="servername2.php"><?php require_once("configs.php");
echo $name_realm2['realm'];
?></a>
</td>
<td class="type" data-raw="pve">
<span class="pve">
(PvE)
</span>
</td>
<td class="population" data-raw="medium">
<span class="medium">
Medium
</span>
</td>
<td class="locale">
Cataclysm
</td>
<td class="queue" data-raw="false">-->
<!-- This is the 2nd (Second) Server on the Status, its for Public Use -->
<!--Bar Graph 2-->
<!--<?php
require_once("configs.php");
$con = mysql_connect("$serveraddress","$serveruser","$serverpass");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("$server_cdb_2", $con);
$bar_width="100";
$max_online="1000";
$border_color="#6cc02c";
$graph_fill="#2fa4f3";
$right_border="#6cc02c";
print'
<div style="width:'.$bar_width.'px; border:1px solid '.$border_color.'; height:18px; position:relative;margin-left:5px;text-align:left; background-repeat:repeat-x;">
<div style="position:absolute; z-index:50; width:100%; height:18px; text-align:center;color:white;">
<div style="margin-top:1px;">';
$sql = "SELECT SUM(online) FROM characters";
$sqlquery = mysql_query($sql) or die(mysql_error());
$memb = mysql_result($sqlquery,0,0);
echo $memb;
$number = $memb / $max_online;
$total_number = $number * $bar_width;
?> / <?php echo"$max_online"; ?>
</div></div>
<div style="width:<?php echo"$total_number"; ?>%; background:<?php echo"$graph_fill"; ?>; background-repeat:repeat-x; height:18px;border-right:1px solid <?php echo"$right_border"; ?>;">
</div></div>-->
<!--Bar Graph 2-->
<!--Server No.3-->
</td>
</tr>
<!-- Removed the ( --> <!-- ) Only if you know what they are doing -->
<!-- This is the 3rd (Third) Server on the Status, its Local -->
<!--<tr class="row1">
<td class="status" data-raw="up">
<div class="status-icon up"
onmouseover="Tooltip.show(this, 'Local')">
</div>
</td>
<td class="name">
Local
</td>
<td class="type" data-raw="pvp">
<span class="normal">
(Normal)
</span>
</td>
<td class="population" data-raw="Low">
<span class="Low">
Currently Local
</span>
</td>
<td class="locale">
Cataclysm
</td>
<td class="queue" data-raw="false">
Local
</td>
</tr>-->
<!--Server No.3-->
<tr class="no-results" style="display: none">
<td colspan="6">No results match the selected filters.</td>
</tr>
</tbody>
</table>
</div>
</div>
<span class="clear"><!-- --></span>
</div>
</div>
</div>
<?php include("functions/footer_man.php"); ?>
<?php include("functions/footer_man_nav.php"); ?>
<div id="fansite-menu" class="ui-fansite"></div><div id="menu-container"></div><ul class="ui-autocomplete ui-menu ui-widget ui-widget-content ui-corner-all" role="listbox" aria-activedescendant="ui-active-menuitem" style="z-index: 6; top: 0px; left: 0px; display: none; "></ul></body>
</html>