-
Service Overview:
-
Importance:
+
Service Overview:
Description:
Backup Info:
@@ -32,7 +31,13 @@
mysqli_data_seek($sql_assets, 0);
while($row = mysqli_fetch_array($sql_assets)){
- echo "
$row[asset_name]";
+ if(!empty($row['asset_ip'])){
+ $ip = '('.$row["asset_ip"].')';
+ }
+ else{
+ $ip = '';
+ }
+ echo "
$row[asset_name] $ip";
}
?>
@@ -68,7 +73,7 @@
}
foreach($networks as $network){
$network = explode(":", $network);
- echo "
$network[0] (VLAN $network[1])";
+ echo "
$network[0] (VLAN $network[1])";
}
// Not showing/haven't added explicitly linked networks - can't see a need for a network that doesn't have an asset on it?
@@ -210,32 +215,35 @@
?>
-
-
-
-
$row[login_uri]";
-// }
-// }
-//
-// // Showing explicitly linked URLs
-// while($row = mysqli_fetch_array($sql_urls)){
-// if(!empty($row['service_uri'])){
-// echo "
$row[service_uri]";
-// }
-// }
-// ?>
-
-
+
+
URLs
+
+ $row[login_uri]";
+ }
+ }
+
+ // Reset the $sql_assets pointer to the start
+ mysqli_data_seek($sql_assets, 0);
+
+ // Show URLs linked to assets, that also have logins
+ while($row = mysqli_fetch_array($sql_assets)){
+ if(!empty($row['login_uri'])){
+ echo "- $row[login_uri]
";
+ }
+ }
+ ?>
+
+