Skip to content

Commit 44178a8

Browse files
committed
remove no longer used code
1 parent 9e805ce commit 44178a8

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

server.php

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
1-
<?php
2-
unset($Os, $img, $version, $password, $title, $motd, $connectlink, $map);
3-
switch ($type) {
4-
case "csgo":
5-
case "valheim":
6-
case "vrising":
7-
case "protocol-valve":
8-
case "rust":
9-
case "arkse":
10-
include 'query/sourcequery.php';
11-
break;
12-
case "minecraft":
13-
include 'query/minecraftquery.php';
14-
break;
15-
}
16-
$serverstatus = json_decode($queryresult ?? false);
17-
require 'html/type/query.php';
18-
// Set color if server is offline or online
19-
if ($status == 1) {
20-
$statusfarbe ='background-color: #00FF17;';
21-
} else {
22-
$statusfarbe ='background-color: #E20401;';
23-
}
24-
?>
25-
<section>
1+
<section id="<?php echo "server_".$ServerID?>">
262
<details>
273
<summary>
284
<table class="server_list_table">

0 commit comments

Comments
 (0)