//CTX $ctx = $net->get_ctx(); $ctx_name = empty($ctx) ? _('None') : Session::get_entity_name($conn, $ctx); $is_ext_ctx = FALSE; $context_type = 'local'; $ext_ctxs = Session::get_external_ctxs($conn); if (!empty($ext_ctxs[$ctx])) { $is_ext_ctx = TRUE; $context_type = 'remote'; } $descr = $net->get_descr(); $icon = $net->get_html_icon(); $external = $net->get_external(); $asset_value = $net->get_asset_value(); $threshold_a = $net->get_threshold_a(); $threshold_c = $net->get_threshold_c(); $owner = $net->get_owner(); //Net Ips $ips = $net->get_ips(); $net_sensors = $net->get_sensors(); $sensors = $net_sensors->get_sensors(); //Net Scan $is_nagios_enabled = Asset_net_scan::is_plugin_in_net($conn, $id, 2007); //Closing database connection $db->close(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title><?php