From 71573da55d46a7ff9d0aae620a1bb450f94952e6 Mon Sep 17 00:00:00 2001 From: thisfro Date: Tue, 6 Oct 2020 13:42:41 +0200 Subject: [PATCH] use echo to render text --- index.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/index.php b/index.php index ac39388..3789da5 100644 --- a/index.php +++ b/index.php @@ -6,18 +6,19 @@ is_online()) { -

Join on server.thisfro.ch!

-

The Server is:

-

online

-

running version

-

1.16.3


-

Players online

-

0 / 10

+ + if($ms->is_online()) { + echo("

Join on server.thisfro.ch!

"); + echo(

The Server is:

); + echo(

online

); + echo(

running version

); + echo(

%s


, $ms->get_versrion()); + echo(

Players online

); + echo(

%s / %s

), $ms->get_current_players(), $ms->get_max_players()); } else { -

The Server is:

-

offline

+ echo(

The Server is:

+

offline

); } ?>