2007-04-15 14:37:12 +00:00
|
|
|
<?php
|
|
|
|
|
2010-02-07 14:17:02 +00:00
|
|
|
print_optionbar_start();
|
|
|
|
|
|
|
|
echo("<div style='margin: auto; text-align: left; padding: 2px 5px; padding-left: 11px; clear: both; display:block; height:20px;'>
|
2009-08-11 15:41:11 +00:00
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vlans/'>Basic</a> | Graphs :
|
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vlans/bits/'>Bits</a> |
|
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vlans/pkts/'>Packets</a> |
|
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vlans/nupkts/'>NU Packets</a> |
|
2010-02-07 14:17:02 +00:00
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vlans/errors/'>Errors</a> ");
|
|
|
|
|
|
|
|
print_optionbar_end();
|
2009-08-05 16:05:14 +00:00
|
|
|
|
2009-08-11 15:41:11 +00:00
|
|
|
|
|
|
|
echo("<table border=0 cellspacing=0 cellpadding=5 width=100%>");
|
2007-04-15 14:37:12 +00:00
|
|
|
$i = "1";
|
2008-03-13 11:58:22 +00:00
|
|
|
$vlan_query = mysql_query("select * from vlans WHERE device_id = '".$_GET['id']."' ORDER BY 'vlan_vlan'");
|
2007-04-15 14:37:12 +00:00
|
|
|
while($vlan = mysql_fetch_array($vlan_query)) {
|
|
|
|
include("includes/print-vlan.inc");
|
|
|
|
$i++;
|
|
|
|
}
|
2009-08-11 15:41:11 +00:00
|
|
|
echo("</table>");
|
2007-04-15 14:37:12 +00:00
|
|
|
|
|
|
|
?>
|