diff --git a/front/network.php b/front/network.php
index e53692f2..202d46ec 100644
--- a/front/network.php
+++ b/front/network.php
@@ -130,6 +130,9 @@ echo $_REQUEST['device_id'];
'.$pia_func_netdevname.' / '.$pia_func_netdevtyp.'';
}
@@ -147,39 +150,41 @@ function createnetworktabcontent($pia_func_netdevid, $pia_func_netdevname, $pia_
}
echo ' ';
}
+// #####################################
+// Build Tab Box
+// #####################################
+
$sql = 'SELECT "device_id", "net_device_name", "net_device_typ" FROM "network_infrastructure"';
$result = $db->query($sql);//->fetchArray(SQLITE3_ASSOC);
?>
-
-
-
-
-fetchArray(SQLITE3_ASSOC)){
- if(!isset($res['device_id'])) continue;
- if ($i == 0) {$active = 'active';} else {$active = '';}
- createnetworktab($res['device_id'], $res['net_device_name'], $res['net_device_typ'], $active);
- $i++;
-}
-?>
-
+
+
+ fetchArray(SQLITE3_ASSOC)){
+ if(!isset($res['device_id'])) continue;
+ if ($i == 0) {$active = 'active';} else {$active = '';}
+ createnetworktab($res['device_id'], $res['net_device_name'], $res['net_device_typ'], $active);
+ $i++;
+ }
+ ?>
+
-fetchArray(SQLITE3_ASSOC)){
- if(!isset($res['device_id'])) continue;
- if ($i == 0) {$active = 'active';} else {$active = '';}
- createnetworktabcontent($res['device_id'], $res['net_device_name'], $res['net_device_typ'], $active);
- $i++;
-}
-unset($i);
-?>
+ fetchArray(SQLITE3_ASSOC)){
+ if(!isset($res['device_id'])) continue;
+ if ($i == 0) {$active = 'active';} else {$active = '';}
+ createnetworktabcontent($res['device_id'], $res['net_device_name'], $res['net_device_typ'], $active);
+ $i++;
+ }
+ unset($i);
+ ?>
-
-
+
+