0) { $os_arr = []; while ($row = mysqli_fetch_assoc($os_sql)) { // jQuery UI Autocomplete expects {label: "...", value: "..."} $label = $row['label']; $os_arr[] = ['label' => $label, 'value' => $label]; } $json_os = json_encode($os_arr); } ?>
All Assets 0) { ?> Workstations 0) { ?> Servers 0) { ?> Virtual 0) { ?> Network 0) { ?> Other

Assets

= 2) { ?>
s">

text-nowrap"> $asset_physical_location"; } else { $asset_physical_location_display = ""; } $asset_notes = nullable_htmlentities($row['asset_notes']); $asset_created_at = nullable_htmlentities($row['asset_created_at']); $asset_archived_at = nullable_htmlentities($row['asset_archived_at']); $asset_vendor_id = intval($row['asset_vendor_id']); $asset_location_id = intval($row['asset_location_id']); $asset_contact_id = intval($row['asset_contact_id']); $asset_network_id = intval($row['interface_network_id']); $device_icon = getAssetIcon($asset_type); $contact_archived_at = nullable_htmlentities($row['contact_archived_at']); if ($contact_archived_at) { $contact_archive_display = "(Archived)"; } else { $contact_archive_display = ''; } $contact_name = nullable_htmlentities($row['contact_name']); if ($contact_name) { $contact_name_display = "$contact_name $contact_archive_display"; } else { $contact_name_display = "-"; } $location_name = nullable_htmlentities($row['location_name']); if (empty($location_name)) { $location_name = "-"; } $location_archived_at = nullable_htmlentities($row['location_archived_at']); if ($location_archived_at) { $location_name_display = "
$location_name
"; } else { $location_name_display = $location_name; } $sql_credentials = mysqli_query($mysqli, "SELECT * FROM credentials WHERE credential_asset_id = $asset_id"); $credential_count = mysqli_num_rows($sql_credentials); ?>
Name Type Model Serial OS IP MAC Address Purchase Date Install Date Warranty Expire Assigned To Location Status Client Action