-
Notifications
You must be signed in to change notification settings - Fork 14
/
svinfo.php
executable file
·49 lines (49 loc) · 1.99 KB
/
svinfo.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
<!--
// =========================================================================
// ______
// / __/ /____ ________ ____ ___ _ ___ ___
// _\ \/ __/ _ `/ __/ _ `/ _ `/ ' \/ -_|_-<
// /___/\__/\_,_/_/ \_, /\_,_/_/_/_/\__/___/
// _____ /___/ __ ___ __
// / ___/__ ___ / /________ / / / _ \___ ____ ___ / /
// / /__/ _ \/ _ \/ __/ __/ _ \/ / / ___/ _ `/ _ \/ -_) /
// \___/\___/_//_/\__/_/ \___/_/ /_/ \_,_/_//_/\__/_/
// =========================================================================
// Copyright (c) Stargames Control Panel - Licensed under GNU GPL.
// See LICENSE File
// =========================================================================
// Project Lead by: Mysterious
// =========================================================================
-->
<?php
if(!$SERVER['system_safe']) exit();
$query = "SELECT memory_value3 FROM $CONFIG_sql_cpdbname.memory WHERE memory_object=\"server_info\"";
$sql->result = $sql->execute_query($query,'main.php');$sql->total_query++;
$row = $sql->fetch_row();
$serverinfo_mes = $row[memory_value3] ? replace_text($row[memory_value3]) : "--------------------";
opmain_body("Server Information",150);
echo "
<TABLE width=\"100%\" height=\"100%\" align=\"center\" border=\"0\" cellspacing=\"1\" cellpadding=\"5\">
<TBODY>
<TR class=\"topic_title5\">
<TD width=\"100%\" height=\"25\" vAlign=\"top\"></TD>
</TR>
<TR class=\"topic_title6\" height=\"100%\">
<TD class=\"title_face4\" vAlign=\"top\">
<div class=\"poststyle\">".$serverinfo_mes."</div>
</TD>
</TR>
<TR class=\"topic_title5\">
<TD width=\"100%\" height=\"25\"></TD>
</TR>
<TBODY>
</TABLE>
<script type='text/javascript'>
var max_width = ".$CONFIG_max_img_width.";
var max_height = ".$CONFIG_max_img_height.";
var total_img_resize = ".$CP[images_num].";
window.onload=resize_img;
</script>
";
clmain_body();
?>