diff --git a/functions.php b/functions.php
index cbd8b80..1325c2c 100644
--- a/functions.php
+++ b/functions.php
@@ -147,12 +147,12 @@ function get_vpn_url($domain,$passkey) {
function show_service($name, $containers) {
$str = '
';
- $str .= "{$name} | Container name | Status | Action |
";
+ $str .= "{$name} |
";
$containers = trim($containers);
$arr = explode("|",$containers);
foreach ($arr as $container) {
- $c_arr = explode(":",$container);
- $str .= " | ".$c_arr[0]." | ".$c_arr[1]." | RESTART |
";
+ $c_arr = explode("#",$container);
+ $str .= "".$c_arr[0]." | ".$c_arr[1]." | ".$c_arr[2]." | RESTART |
";
}
$str .= '
';
diff --git a/scan.php b/scan.php
index e3fc8b3..d34f639 100644
--- a/scan.php
+++ b/scan.php
@@ -74,6 +74,7 @@ switch ($_GET["op"]) {
if ($key=="services") {
if ($data["INSTALL_STATUS"]==2) echo "NEW";
elseif ($data["INSTALL_STATUS"]==1) {
+ echo "Service/Container | Image | Status | Action |
";
foreach ($data["INSTALLED_SERVICES"] as $service_name => $object) {
//echo base64_decode($object["content"]);
show_service($service_name, $object["running"].":Up");