2008-10-28 22:06:00 +00:00
|
|
|
<?php
|
|
|
|
|
2010-02-06 00:51:49 +00:00
|
|
|
print_optionbar_start();
|
|
|
|
|
2009-08-05 16:05:14 +00:00
|
|
|
echo("
|
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/'>Basic</a> | Graphs :
|
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/bits/'>Bits</a> |
|
2010-07-17 14:22:27 +00:00
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/upkts/'>Packets</a> |
|
2009-08-05 16:05:14 +00:00
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/nupkts/'>NU Packets</a> |
|
|
|
|
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/errors/'>Errors</a>
|
2009-08-07 16:10:52 +00:00
|
|
|
");
|
2010-02-06 00:51:49 +00:00
|
|
|
print_optionbar_end();
|
2009-08-05 16:05:14 +00:00
|
|
|
|
2011-03-16 23:10:10 +00:00
|
|
|
echo("<div style='margin: 5px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>");
|
|
|
|
$i = "0";
|
2011-03-28 20:29:34 +00:00
|
|
|
$vrf_query = mysql_query("select * from vrfs WHERE device_id = '".$device['device_id']."' ORDER BY 'vrf_name'");
|
2011-04-06 13:54:50 +00:00
|
|
|
while ($vrf = mysql_fetch_assoc($vrf_query))
|
2011-03-16 23:10:10 +00:00
|
|
|
{
|
2011-03-17 16:35:18 +00:00
|
|
|
include("includes/print-vrf.inc.php");
|
2011-03-16 23:10:10 +00:00
|
|
|
$i++;
|
|
|
|
}
|
2009-08-05 16:05:14 +00:00
|
|
|
|
2011-03-16 23:10:10 +00:00
|
|
|
echo("</table></div>");
|
2008-10-28 22:06:00 +00:00
|
|
|
|
2011-03-16 23:10:10 +00:00
|
|
|
?>
|