Home
OpenNelManager
Administration
phpmyadmin
patch
KHANAT SERVER DOCKER (TEST ENVIRONMENT - STATES)
Number command:'.$total.'
';
echo "";
echo "Command | Start | Stop | State | Num. launch | Last line log | Detail |
";
ksort($data);
foreach ($data as $key => $value)
{
list($val1, $val2) = explode(':', $value, 2);
$state=$value['state'];
$number_launch=$value['number_launch'];
$number_launch=$value['number_launch'];
$last_line=$value['last_line'];
$filter=$value['filter'];
$egs=$value['egs'];
$extra="";
if ( $state == 'started' ) {
$fond = "bgcolor=\"SpringGreen \"";
} else {
$fond = "bgcolor=\"Tomato\"";
}
if ( $filter == 'True' ) {
$extra="$extra filter";
}
if ( $egs == 'True' ) {
$extra="$extra player";
$extra="$extra admin";
}
list($type, $command) = explode(':', $key, 2);
echo "$command | | ";
echo " | $state | <";
echo "td align=\"right\">$number_launch$last_line | ";
echo "log config info $extra |
";
}
echo "
";
} else {
echo "OpenNelManager not used";
}
} else {
echo "OpenNelManager not actiavted";
}
?>
Command line :
curl -XGET
Refresh : 10s