Details | Graphs:
Bits |
Packets |
NU Packets |
Errors
");
$dographs = 1;
if($_GET['opta'] == graphs ) {
if($_GET['optb']) {
$graph_type = $_GET['optb'];
} else {
$graph_type = "bits";
}
$dographs = 1;
}
$hostname = gethostbyid($device['device_id']);
echo("");
$i = "1";
$interface_query = mysql_query("select * from interfaces WHERE device_id = '$_GET[id]' AND deleted = '0' ORDER BY `ifDescr` ASC");
while($interface = mysql_fetch_array($interface_query)) {
include("includes/print-interface.inc");
}
echo("
");
?>