diff --git a/html/pages/inventory.php b/html/pages/inventory.php new file mode 100644 index 0000000000..418476c434 --- /dev/null +++ b/html/pages/inventory.php @@ -0,0 +1,24 @@ + + +$sql = "SELECT * from entPhysical AS E, devices AS D WHERE E.device_id = D.device_id"; + +if($_POST['search']) { $sstring = $_POST['search']; $sql = "SELECT * from entPhysical AS E, devices AS D WHERE E.entPhysicalModelName LIKE '$sstring' AND E.device_id = D.device_id"; } + +echo("
"); + + +$query = mysql_query($sql); +echo("Hostname | Description | Name | Part No | Serial No |
---|---|---|---|---|
" . generatedevicelink($entry, shortHost($entry['hostname'])) . " | " . $entry['entPhysicalDescr'] . " | " . $entry['entPhysicalName'] . " | " . $entry['entPhysicalModelName'] . " | " . $entry['entPhysicalSerialNum'] . " |