mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
git-svn-id: http://www.observium.org/svn/observer/trunk@2554 61d68cd4-352d-0410-923a-c4978735b2b8
30 lines
896 B
PHP
30 lines
896 B
PHP
<?php
|
|
|
|
print_optionbar_start();
|
|
|
|
echo("<span style='font-weight: bold;'>VLANs</span> » ");
|
|
|
|
echo('
|
|
<a href="device/device=' . $device['device_id'] . '/tab=vlans/">Basic</a> | Graphs :
|
|
<a href="device/device=' . $device['device_id'] . '/tab=vlans/view=bits/">Bits</a> |
|
|
<a href="device/device=' . $device['device_id'] . '/tab=vlans/view=pkts/">Packets</a> |
|
|
<a href="device/device=' . $device['device_id'] . '/tab=vlans/view=nupkts/">NU Packets</a> |
|
|
<a href="device/device=' . $device['device_id'] . '/tab=vlans/view=errors/">Errors</a>
|
|
');
|
|
|
|
print_optionbar_end();
|
|
|
|
echo('<table border="0" cellspacing="0" cellpadding="5" width="100%">');
|
|
|
|
$i = "1";
|
|
|
|
foreach (dbFetchRows("SELECT * FROM `vlans` WHERE `device_id` = ? ORDER BY 'vlan_vlan'", array($device['device_id'])) as $vlan)
|
|
{
|
|
include("includes/print-vlan.inc.php");
|
|
$i++;
|
|
}
|
|
|
|
echo("</table>");
|
|
|
|
?>
|