*/ $table_prefix = "pre_val_"; $table_suffix = "post_val_"; include("session.php"); if(file_exists($_SESSION['config']['lang'].'.php')) { include($_SESSION['config']['lang'].'.php'); } else { $_SESSION['error'] = "Language file missing...
"; } require("class_functions.php"); require_once("class_db.php"); $db = new dbquery(); $db->connect(); $services = array(); $users = array(); if( isset($_REQUEST['cancel']) ) { $_SESSION['chosen_doc'] = array(); ?> query("DELETE FROM ".$table_prefix."res_x WHERE res_id = '".$_SESSION['chosen_doc'][$i]."'"); $db->query("DELETE FROM ".$table_prefix."listinstance WHERE res_id = '".$_SESSION['chosen_doc'][$i]."'"); $db->query("DELETE FROM ".$table_prefix."notes WHERE record_id = '".$_SESSION['chosen_doc'][$i]."'"); $db->query("DELETE FROM ".$table_suffix."res_x WHERE res_id = '".$_SESSION['chosen_doc'][$i]."'"); $db->query("DELETE FROM ".$table_suffix."listinstance WHERE res_id = '".$_SESSION['chosen_doc'][$i]."'"); $db->query("DELETE FROM ".$table_suffix."notes WHERE record_id = '".$_SESSION['chosen_doc'][$i]."'"); } $_SESSION['chosen_doc'] = array(); ?> get_session_time_expire(); ?> <?php echo $_SESSION['config']['applicationname']; ?>