| 12345678910111213141516171819202122232425 |
- <?php
- require_once ($_SERVER['DOCUMENT_ROOT']."/inc/auth.php");
- require_once ($_SERVER['DOCUMENT_ROOT']."/inc/languages/" . $language . ".php");
- require_once ($_SERVER['DOCUMENT_ROOT']."/inc/idfilter.php");
- ?>
- <html>
- <head>
- <title>Панель администратора</title>
- <link rel="stylesheet" type="text/css" href=<? echo "\"/$style.css\""; ?>>
- <meta http-equiv="content-type" content="application/xhtml+xml">
- <meta charset="UTF-8">
- </head>
- <body>
- <div id="cont">
- <?php
- $dev_info = get_record($db_link,'devices','id='.$id);
- $interfaces = get_snmp_interfaces($dev_info['ip'], $dev_info['community'], $dev_info['snmp_version']);
- print "<table class=\"data\" cellspacing=\"1\" cellpadding=\"4\">\n";
- print "<tr><td><b>Snmp interfaces</b></td></tr>\n";
- foreach ($interfaces as $key => $int) { print "<tr><td>$key => $int</td></tr>"; }
- print "</table>\n";
- ?>
- </div>
- </body>
- </html>
|