initial commit
This commit is contained in:
commit
5892578782
4 changed files with 445 additions and 0 deletions
24
index.php
Normal file
24
index.php
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue