initial commit

This commit is contained in:
Jannis Portmann 2020-10-06 13:31:35 +02:00
commit 5892578782
4 changed files with 445 additions and 0 deletions

24
index.php Normal file
View file

@ -0,0 +1,24 @@
<html>
<head>
<link rel="stylesheet" href="main.css">
</head>
<body>
<?php
require_once('minestat.php');
$ms = new MineStat("localhost");
if($ms->is_online()) {
<h3>Join on server.thisfro.ch!</h3>
<p>The Server is: </p>
<h2 class="online status">online</h2>
<p>running version</p>
<h2>1.16.3</h2><br>
<p>Players online</p>
<h2>0 / 10</h2>
}
else {
<p>The Server is: </p>
<h2 class="offline status">offline</h2>
}
?>
</body>
</html>