mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
updates.
git-svn-id: http://www.observium.org/svn/observer/trunk@81 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -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>");
|
||||
|
||||
Reference in New Issue
Block a user