-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.php
More file actions
34 lines (32 loc) · 851 Bytes
/
Copy pathindex.php
File metadata and controls
34 lines (32 loc) · 851 Bytes
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
<?php
date_default_timezone_set('Europe/London');
$PageTitle = "Exile Server Stats:";
$path = dirname($_SERVER['PHP_SELF']);
include 'includes/header.php';
include 'includes/config.php';
include 'includes/functions.php';
foreach ($ServerList as $Server)
{
$ServerDetails = explode("|",$Server);
$dbhost = $ServerDetails[0];
$dbname = $ServerDetails[1];
$dbuser = $ServerDetails[2];
$dbpass = $ServerDetails[3];
$servername = ucwords($ServerDetails[4]);
$dbport = $ServerDetails[5];
displayServerDetails($dbhost,$dbname,$dbuser,$dbpass,$servername,$dbport);
}
?>
<script type="text/javascript">
$(function () {
$('.expander').simpleexpand();
});
$('tr').click( function() {
window.location = $(this).find('a').attr('href');
}).hover( function() {
$(this).toggleClass('hover');
});
</script>
<?php
include 'includes/footer.php';
?>