From 19d87a8913ddb123adb44ab8c91eb4558f0bc6bd Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 5 Nov 2008 13:11:40 +0000 Subject: [PATCH] add inventory git-svn-id: http://www.observium.org/svn/observer/trunk@284 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/inventory.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 html/pages/inventory.php 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 @@ +
$sstring"); + + +$query = mysql_query($sql); +echo(""); + +echo(""); + +while($entry = mysql_fetch_array($query)) { +if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; } +echo(""); + +} +echo("
HostnameDescriptionNamePart NoSerial No
" . generatedevicelink($entry, shortHost($entry['hostname'])) . "" . $entry['entPhysicalDescr'] . "" . $entry['entPhysicalName'] . "" . $entry['entPhysicalModelName'] . "" . $entry['entPhysicalSerialNum'] . "
"); + +?> + +