small fix in echo call with variables

This commit is contained in:
Jannis Portmann 2020-10-06 13:47:11 +02:00
parent a61ffc41ba
commit cf7f111cf8

View file

@ -12,9 +12,9 @@
echo("<p>The Server is: </p>"); echo("<p>The Server is: </p>");
echo("<h2 class='online status'>online</h2>"); echo("<h2 class='online status'>online</h2>");
echo("<p>running version</p>"); echo("<p>running version</p>");
echo("<h2>%s</h2><br>", $ms->get_versrion()); echo("<h2>%s</h2><br>"), $ms->get_versrion();
echo("<p>Players online</p>"); echo("<p>Players online</p>");
echo("<h2>%s / %s</h2>)", $ms->get_current_players(), $ms->get_max_players()); echo("<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>");