try to use printf
This commit is contained in:
parent
cf7f111cf8
commit
e422814a6d
1 changed files with 3 additions and 3 deletions
|
@ -8,11 +8,11 @@
|
||||||
$ms = new MineStat("localhost");
|
$ms = new MineStat("localhost");
|
||||||
|
|
||||||
if($ms->is_online()) {
|
if($ms->is_online()) {
|
||||||
echo("<h3>Join on server.thisfro.ch!</h3>");
|
printf("<h3>Join on server.thisfro.ch!</h3>");
|
||||||
echo("<p>The Server is: </p>");
|
printf("<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();
|
printf("<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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue