Merge branch 'master' of ssh://git.thisfro.ch:222/thisfro/minecraft-status into master

This commit is contained in:
Jannis Portmann 2020-10-06 13:50:57 +02:00
commit dfe2502a55

View file

@ -10,11 +10,11 @@
if($ms->is_online()) { if($ms->is_online()) {
printf("<h3>Join on server.thisfro.ch!</h3>"); printf("<h3>Join on server.thisfro.ch!</h3>");
printf("<p>The Server is: </p>"); printf("<p>The Server is: </p>");
echo("<h2 class='online status'>online</h2>"); printf("<h2 class='online status'>online</h2>");
echo("<p>running version</p>"); printf("<p>running version</p>");
printf("<h2>%s</h2><br>", $ms->get_versrion()); printf("<h2>%s</h2><br>", $ms->get_version());
echo("<p>Players online</p>"); printf("<p>Players online</p>");
echo("<h2>%s / %s</h2>)"), $ms->get_current_players(), $ms->get_max_players(); printf("<h2>%s / %s</h2>)"), $ms->get_current_players(), $ms->get_max_players();
} }
else { else {
echo("<p>The Server is:</p>"); echo("<p>The Server is:</p>");