'" . db_fetch_cell("select name from snmp_query_graph where id=" . $_GET["id"]) . "'?", getenv("HTTP_REFERER"), "snmp.php?action=remove&id=" . $_GET["id"] . "&snmp_query_id=" . $_GET["snmp_query_id"]); include ('include/bottom_footer.php'); exit; } if ((read_config_option("remove_verification") == "") || (isset($_GET["confirm"]))) { db_execute("delete from snmp_query_graph where id=" . $_GET["id"]); db_execute("delete from snmp_query_graph_rrd where snmp_query_graph_id=" . $_GET["id"]); } } function snmp_item_edit() { include_once ("include/xml_functions.php"); global $colors, $paths; if (!empty($_GET["id"])) { $snmp_query_item = db_fetch_row("select * from snmp_query_graph where id=" . $_GET["id"]); } $snmp_query = db_fetch_row("select name,xml_path from snmp_query where id=" . $_GET["snmp_query_id"]); $header_label = "[edit: " . $snmp_query["name"] . "]"; start_box("Associated Graph/Data Templates $header_label", "98%", $colors["header"], "3", "center", ""); ?>