git-svn-id: http://www.observium.org/svn/observer/trunk@81 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2007-04-09 01:58:25 +00:00
parent ab1c68ddf5
commit f12224f78a
6 changed files with 17 additions and 11 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
$interface_query = mysql_query("select * from interfaces WHERE interface_id = '$_GET[id]'");
$interface = mysql_fetch_array($interface_query);
$device_query = mysql_query("select * from devices where id = '$interface[host]'");
$device_query = mysql_query("SELECT * FROM `devices` WHERE `device_id` = '" . $interface['device_id'] . "'");
$device = mysql_fetch_array($device_query);
$hostname = $device['hostname'];
@@ -24,7 +24,7 @@ $interface = mysql_fetch_array($interface_query);
$i = 1;
$inf = fixifName($ifname);
# $bg="#ffffff";
$bg="#ffffff";
echo("<table cellpadding=7 cellspacing=0 class=devicetable width=100%>");
include("includes/device-header.inc");
echo("</table>");