$s_id = key($ntop_list); $sensor = $ntop_list[$s_id]['ip']; } } if (!$_total) { echo ossim_error(_('There are not sensors with NTOP enabled'), AV_WARNING); exit; } // Get link $ntop_links = Av_sensor::get_ntop_link($sensor); $ntop = $ntop_links['ntop']; if ($link_ip != '') { $ntop .= (!preg_match("/\\/\$/", $ntop) ? '/' : '') . $link_ip . ".html"; } // Check access if (!Av_sensor::is_ntop_wrapper($ntop_links['testntop'])) { $ntop = 'errmsg.php'; } ?> <div id='c_ntop'> <div class='c_ntop_left'> <!-- change sensor --> <form method="GET" action="index.php" style="margin:1px"> <input type="hidden" name="opc" value="<?php echo $opc; ?> "> <?php echo gettext("Sensor"); ?>