$id_reconscript)); echo htmlentities (safe_output($description), ENT_QUOTES, "UTF-8", true); return; } // Load global vars global $config; check_login (); if (! check_acl ($config['id_user'], 0, "LM")) { pandora_audit("ACL Violation", "Trying to access recon script Management"); require ("general/noaccess.php"); return; } $view = get_parameter ("view", ""); $create = get_parameter ("create", ""); if ($view != ""){ $form_id = $view; $reconscript = get_db_row ("trecon_script", "id_recon_script", $form_id); $form_name = $reconscript["name"]; $form_description = $reconscript["description"]; $form_script = $reconscript ["script"]; } if ($create != ""){ $form_name = ""; $form_description = ""; $form_script = ""; } // SHOW THE FORM // ================================================================= if (($create != "") OR ($view != "")){ if ($create != "") print_page_header (__('Recon script creation'), "", false, "", true); else { print_page_header (__('Recon script update'), "", false, "", true); $id_recon_script = get_parameter ("view",""); } print_help_icon("reconscript_definition"); if ($create == "") echo "