From b25ef05312f7b8246fea759df60cb3237f1ffc77 Mon Sep 17 00:00:00 2001 From: Jan Danielzick Date: Wed, 12 Feb 2020 05:26:21 +0100 Subject: [PATCH] added php logic --- strassenkind.php | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/strassenkind.php b/strassenkind.php index db4d83a..406536e 100644 --- a/strassenkind.php +++ b/strassenkind.php @@ -17,9 +17,33 @@ echo "Done."; --> - Strassenkind Status Page + Strassenkind Server Status Page + "; + } + ?> - + +

Strassenkind Server Status

+
+ \n
 $command 
\n
 $output 
\n
"; + } + } else { + //run status command list otherwise + foreach ($status_commands as $command) { + echo "\n
 $command 
\n
 $output 
\n
"; + } + } + ?> \ No newline at end of file