diff --git a/client_service_view_modal.php b/client_service_view_modal.php index 7dedc09c..0bcafbf6 100644 --- a/client_service_view_modal.php +++ b/client_service_view_modal.php @@ -13,8 +13,7 @@
-

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
    + +