'" . db_fetch_cell("select name from host_template where id=" . $_GET["id"]) . "'?", getenv("HTTP_REFERER"), "host_templates.php?action=remove&id=" . $_GET["id"]); include ('include/bottom_footer.php'); exit; } if ((read_config_option("remove_verification") == "") || (isset($_GET["confirm"]))) { db_execute("delete from host_template where id=" . $_GET["id"]); } } function template_edit() { global $colors; display_output_messages(); if (!empty($_GET["id"])) { $host_template = db_fetch_row("select * from host_template where id=" . $_GET["id"]); $header_label = "[edit: " . $host_template["name"] . "]"; }else{ $header_label = "[new]"; $_GET["id"] = 0; } start_box("Host Templates $header_label", "98%", $colors["header"], "3", "center", ""); ?>