-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
110 lines (83 loc) · 2.82 KB
/
index.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
<!DOCTYPE html>
<html lang="de">
<html>
<head>
<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cache">
<meta charset="utf-8">
<link type="text/css" href="css/button.css" rel="stylesheet" media="screen" >
<link type="text/css" href="css/horizontalemenue.css" rel="stylesheet" media="screen" >
<link type="text/css" href="css/general.css" rel="stylesheet" media="screen" >
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
</head>
<body>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<header>
<p><h1>
<span class="highlight">O</span>pen-<span class="highlight">G</span>ame<span class="highlight">S</span>erver-<span class="highlight">M</span>anager
</h1>
</header>
<p>
<br>
<ul>
<li><a class="active" href="index.php"><i class="fas fa-home"></i> Home</a></li>
<li><a href="php/install.php"><i class="fas fa-download"></i> Installations Menü</a></li>
<li><a href="php/gui.php"><i class="fas fa-terminal"></i> Konsole</a></li>
<li><a href="php/config.php"><i class="fas fa-cogs"></i> Einstellungen</a></li>
<li class="right"><a href="php/help.php"><i class="far fa-question-circle"></i> Hilfe</a></li>
<li class="right"><a href="php/contact.php"><i class="far fa-address-book"></i> Kontakt</a></li>
<?php include("/var/www/html/OGSM/config/servers.txt"); ?>
</ul>
<br>
<div class="row">
<div class="column left">
<div class="column side">
<h2>Host System Optionen</h2>
<a class="buttongruen" onclick="reboot()">
<i class="fas fa-redo"></i>
Server Neustarten
</a>
<p>
<a class="buttonrot" onclick="shutdown()">
<i class="fas fa-power-off"></i>
Server Herunterfahren
</a>
<br>
</div>
</div>
<div class="column spacer"></div>
<div class="column middle">
<h1>Startseite</h1>
<br>
<h4><p style="text-align: center"><strong>Herzlich Willkommen</strong></p></h4>
<p style="text-align: justify">Beim OpenGameServerManager (©OGSM) by NicodimarcoTV & CoolusaHD </p>
</div>
</div>
<footer>
<p></p>
<p>©OGSM by NicodimarcoTV & CoolusaHD</p>
</footer>
<script>
function reboot() {
var txt;
var r = confirm("Wollen sie den Server wirklich Neustarten ?");
if (r === true) {
window.location.href="php/action.php?Aktion=reboot";
} else {
window.location.href="index.php";
}
}
</script>
<script>
function shutdown() {
var txt;
var r = confirm("Wollen sie den Server wirklich Herunterfahren ?");
if (r === true) {
window.location.href="php/action.php?Aktion=shutdown";
} else {
window.location.href="index.php";
}
}
</script>
</body>
</html>