'" . db_fetch_cell("select name from rra where id=" . $_GET["id"]) . "'?", $_SERVER["HTTP_REFERER"], "rra.php?action=remove&id=" . $_GET["id"]); exit; } if ((read_config_option("remove_verification") == "") || (isset($_GET["confirm"]))) { db_execute("delete from rra where id=" . $_GET["id"]); db_execute("delete from rra_cf where rra_id=" . $_GET["id"]); } } function rra_edit() { global $colors, $consolidation_functions; if (!empty($_GET["id"])) { $rra = db_fetch_row("select * from rra where id=" . $_GET["id"]); $header_label = "[edit: " . $rra["name"] . "]"; }else{ $header_label = "[new]"; } start_box("Round Robin Archives $header_label", "98%", $colors["header"], "3", "center", ""); ?>
Name
How data is to be entered in RRA's. Consolidation Functions
How data is to be entered in RRA's. X-Files Factor
The amount of unknown data that can still be regarded as known. Steps
How many data points are needed to put data into the RRA. Rows
How many generations data is kept in the RRA. Round Robin Archives", "98%", $colors["header"], "3", "center", "rra.php?action=edit"); print ""; DrawMatrixHeaderItem("Name",$colors["header_text"],1); DrawMatrixHeaderItem("Steps",$colors["header_text"],1); DrawMatrixHeaderItem("Rows",$colors["header_text"],2); print ""; $rras = db_fetch_assoc("select id,name,rows,steps from rra order by steps"); $i = 0; if (sizeof($rras) > 0) { foreach ($rras as $rra) { form_alternate_row_color($colors["alternate"],$colors["light"],$i); $i++; ?> "> ">Delete