*/ include("session.php"); require_once("class_functions.php"); require_once("class_db.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(); $db->connect(); $time = $db->get_session_time_expire(); //The Fileplan if(isset($_REQUEST['fileplan_id'])) { $fileplanId = addslashes($func->wash($_REQUEST['fileplan_id'], "no", _FILEPLAN)); } else { $fileplanId = ""; } //The Fileplan if(isset($_REQUEST['idframe'])) { $idframe = addslashes($func->wash($_REQUEST['idframe'], "no", _FILEPLAN)); } else { $idframe = ""; } //The folder if(!isset($_REQUEST['folder_id']) || empty($_REQUEST['folder_id'])) { /*$db->query("select * from ".$_SESSION['tablename']['folders']." where fileplan_id = ".$fileplanId); if($db->nb_result() == 0)*/ $s_id = -1; /*else $_SESSION['error'] = _SELECT_FOLDER_FIRST;*/ } else { $s_id = addslashes($func->wash($_REQUEST['folder_id'], "no", _THE_FOLDER)); } ?> <?php echo _ADD_FOLDER;?>



 






show_array($_REQUEST); exit; require_once("class_folders.php"); $folders = new folders(); $folderId = $folders->addFolder($_REQUEST['folders'], $s_id, $fileplanId, $idframe); if ($folderId !== false) { $folders->addScope($folderId); ?>
query("select DESCRIPTION from ".$_SESSION['tablename']['folders']." where FOLDER_ID = ".$s_id); $res = $db->fetch_object(); ?>
DESCRIPTION;?>


: