Moving device sub-pages

git-svn-id: http://www.observium.org/svn/observer/trunk@51 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2007-04-04 10:15:07 +00:00
parent 0d678d9e4c
commit 03de99e914
9 changed files with 480 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
$hostname = gethostbyid($_GET[id]);
echo("<div style='margin: 5px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>");
$i = "1";
$interface_query = mysql_query("select * from interfaces WHERE host = '$_GET[id]' ORDER BY 'ifIndex'");
while($interface = mysql_fetch_array($interface_query)) {
include("includes/print-interface.inc");
}
echo("</table></div>");
?>