-
Overview
");
if(@mysql_result(mysql_query("select count(interface_id) from interfaces WHERE device_id = '" . $device['device_id'] . "'"), 0) > '0') {
echo("
-
Port Details
-
Port Graphs
");
}
echo(" -
Host Graphs
");
if(mysql_result(mysql_query("select count(service_id) from services WHERE service_host = '" . $device['device_id'] . "'"), 0) > '0') {
echo("
-
Service Details
");
}
echo("
-
Eventlog
");
echo("
-
Syslog
");
if($_SESSION[userlevel] > "5") {
echo("
-
Edit Device
");
}
echo("
");
include("pages/$page/$section.inc");
echo("
");
}
?>