*/
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("update ".$_SESSION['current_basket']['table']." set STATUS = 'DEL' where ".$_SESSION['current_basket']['table'].".RES_ID = ".$_SESSION['chosen_doc'][$i]);
$db->query("update ".$_SESSION['current_basket']['table']." set STATUS = 'DEL' where ".$current_table[0].".RES_ID = ".$_SESSION['chosen_doc'][$i]);
if($_SESSION['history']['resdel'] == "true")
{
require_once("class_history.php");
$hist = new history();
$hist->add('res_x',$_SESSION['chosen_doc'][$i], "DEL", _DOC_DELETED.$_SESSION['chosen_doc'][$i]);
}
}
$_SESSION['chosen_doc'] = array();
?>
get_session_time_expire();
?>