*/ include("session.php"); require_once("class_functions.php"); require_once("class_db.php"); require_once("class_folders.php"); if(file_exists($_SESSION['config']['lang'].'.php')) { include($_SESSION['config']['lang'].'.php'); } else { $_SESSION['error'] = "Language file missing...
"; } $func = new functions(); $db = new dbquery(); $folders = new folders(); $db->connect(); ///The Fileplan if(isset($_REQUEST['fileplan_id'])) { $fileplanId = addslashes($func->wash($_REQUEST['fileplan_id'], "no", _FILEPLAN)); } else { $fileplanId = ""; } //The folder if(!isset($_REQUEST['folder_id']) || empty($_REQUEST['folder_id'])) { $_SESSION['error'] = _SELECT_FOLDER_FIRST; } else { $s_id = addslashes($func->wash($_REQUEST['folder_id'], "no", _THE_FOLDER)); } //The mode: flush or delete if(!isset($_REQUEST['mode']) || empty($_REQUEST['mode'])) { $mode = "FLH"; //Flush the folder is the default action } else { $mode = $_REQUEST['mode']; } //Action $action = $_GET['action']; ?> <?php echo _DELETE_FOLDER;?>
 
query("select DESCRIPTION from ".$_SESSION['tablename']['folders']." where FOLDER_ID = ".$s_id); $res = $db->fetch_object(); $scope = $folders->getScope($s_id); if ($scope['scope'] <> 'NONE') { ?>
 
DESCRIPTION."\" ?
"._DEFINITIVE_ACTION;?>
DESCRIPTION."\" ?
"._DEFINITIVE_ACTION;?>
delFolder($_REQUEST['fileplan_id'], $_REQUEST['folder_id'], $mode); $link = "index.php?page=fileplan_perso_up&id=".$fileplanId."&action=".$_POST['action']."&folder_id=".$parent; ?>