".$lang_label["deletedata"].""; // First checkings $max = $_POST["max"]; $min = $_POST["min"]; if ($max == $min){ echo "

ERROR ".$lang_label["max_eq_min"]."

"; echo ""; include ("general/footer.php"); exit; } $origen_modulo = $_POST["origen_modulo"]; if (count($origen_modulo) <= 0){ echo "

ERROR: ".$lang_label["nomodules_selected"]."

"; echo ""; include ("general/footer.php"); exit; } // Source (agent) $id_origen = $_POST["origen"]; // Copy for ($a=0;$a
".$lang_label["filtering_datamodule"]." [".dame_nombre_modulo_agentemodulo($id_agentemodulo)."]"; $sql1='DELETE FROM tagente_datos WHERE id_agente_modulo = '.$origen_modulo[$a].' AND ( datos < '.$min.' OR datos > '.$max.' )'; $result1=mysql_query($sql1); //echo "
DEBUG DELETE $sql1
"; } } //if copy modules or alerts } else { // Form view ?>

>



  

'; echo "".$lang_label["modules"]."

"; echo ""; ?>


'; ?>