2007-04-15 14:37:12 +00:00
|
|
|
<?php
|
|
|
|
|
2010-02-07 14:17:02 +00:00
|
|
|
print_optionbar_start();
|
|
|
|
|
2011-04-30 22:20:11 +00:00
|
|
|
echo("<span style='font-weight: bold;'>VLANs</span> » ");
|
|
|
|
|
|
|
|
echo("
|
2011-03-16 23:10:10 +00:00
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vlans/'>Basic</a> | Graphs :
|
2009-08-11 15:41:11 +00:00
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vlans/bits/'>Bits</a> |
|
2011-03-16 23:10:10 +00:00
|
|
|
<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> |
|
2011-04-30 22:20:11 +00:00
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vlans/errors/'>Errors</a>
|
|
|
|
");
|
2010-02-07 14:17:02 +00:00
|
|
|
|
|
|
|
print_optionbar_end();
|
2009-08-05 16:05:14 +00:00
|
|
|
|
2011-03-16 23:10:10 +00:00
|
|
|
echo('<table border="0" cellspacing="0" cellpadding="5" width="100%">');
|
2009-08-11 15:41:11 +00:00
|
|
|
|
2011-03-16 23:10:10 +00:00
|
|
|
$i = "1";
|
2011-03-28 20:29:34 +00:00
|
|
|
$vlan_query = mysql_query("select * from vlans WHERE device_id = '".$device['device_id']."' ORDER BY 'vlan_vlan'");
|
2007-04-15 14:37:12 +00:00
|
|
|
|
2011-04-06 13:54:50 +00:00
|
|
|
while ($vlan = mysql_fetch_assoc($vlan_query))
|
2011-03-16 23:10:10 +00:00
|
|
|
{
|
|
|
|
include("includes/print-vlan.inc.php");
|
|
|
|
$i++;
|
|
|
|
}
|
|
|
|
|
|
|
|
echo("</table>");
|
|
|
|
|
2011-04-12 22:29:29 +00:00
|
|
|
?>
|