Devices
');
}
}
if ($_SESSION['userlevel'] >= '10')
{
if (count($cache['device_types']))
{
echo('
');
}
if ($config['show_locations'])
{
echo('
');
}
echo('
Add Device
Delete Device');
}
?>
Services
Alerts ('.$service_alerts.')');
}
if ($_SESSION['userlevel'] >= '10')
{
echo('
Add Service
Delete Service');
}
?>
Ports
');
}
if ($ports['ignored'])
{
echo('
Ignored ('.$ports['ignored'].')');
}
if ($config['enable_billing']) {
echo('
Traffic Bills'); $ifbreak = 1;
}
if ($config['enable_pseudowires']) {
echo('
Pseudowires'); $ifbreak = 1;
}
?>
= '5')
{
echo('
');
if ($config['int_customers']) { echo('
Customers'); $ifbreak = 1; }
if ($config['int_l2tp']) { echo('
L2TP'); $ifbreak = 1; }
if ($config['int_transit']) { echo('
Transit'); $ifbreak = 1; }
if ($config['int_peering']) { echo('
Peering'); $ifbreak = 1; }
if ($config['int_peering'] && $config['int_transit']) { echo('
Peering + Transit'); $ifbreak = 1; }
if ($config['int_core']) { echo('
Core'); $ifbreak = 1; }
}
if ($ifbreak) {
echo('
');
}
if (isset($interface_alerts))
{
echo('
Alerts ('.$interface_alerts.')');
}
$deleted_ports = 0;
foreach (dbFetchRows("SELECT * FROM `ports` AS P, `devices` as D WHERE P.`deleted` = '1' AND D.device_id = P.device_id") as $interface)
{
if (port_permitted($interface['port_id'], $interface['device_id']))
{
$deleted_ports++;
}
}
?>
Down
Disabled
Deleted ('.$deleted_ports.')'); }
?>
Health
');
}
foreach (array('fanspeed','humidity','temperature') as $item)
{
if ($menu_sensors[$item])
{
echo('
'.nicecase($item).'');
unset($menu_sensors[$item]);$sep++;
}
}
if ($sep)
{
echo('
');
$sep = 0;
}
foreach (array('current','frequency','power','voltage') as $item)
{
if ($menu_sensors[$item])
{
echo('
'.nicecase($item).'');
unset($menu_sensors[$item]);$sep++;
}
}
if ($sep && array_keys($menu_sensors))
{
echo('
');
$sep = 0;
}
foreach (array_keys($menu_sensors) as $item)
{
echo('
'.nicecase($item).'');
unset($menu_sensors[$item]);$sep++;
}
?>
= '5' && ($app_count) > "0")
{
?>
Apps
');
}
?>
= '5' && ($routing_count['bgp']+$routing_count['ospf']+$routing_count['cef']+$routing_count['vrf']) > "0")
{
?>
Routing
');
?>
Packages
Plugins