0 && is_numeric($_POST['cpd']) ) { $fullpath = $al3x_set['updir'] . '/' . $_POST['uid'] . '/' . substr($_SESSION[$_POST['akey']][$_POST['cpd']]['path'] , 1); if (al3x_create_dir($_POST['newdir'], $fullpath ) ) { al3x_notify('Success: Directory created!'); } else { al3x_notify('Error: Directory could not be created!', 'error'); } } elseif ( isset($_GET['action']) && $_GET['action'] == 'delete' && is_numeric($_GET['uid']) ) { if ( is_file($al3x_set['updir'] . '/' . $_GET['uid'] . '/' . $_GET['delpath']) ) { if (unlink($al3x_set['updir'] . '/' . $_GET['uid'] . '/' . $_GET['delpath']) ) al3x_notify('Success: File deleted!'); else al3x_notify('Error: File could not be deleted!', 'error'); } elseif ( is_dir($al3x_set['updir'] . '/' . $_GET['uid'] . '/' . $_GET['delpath']) ) { if (rmdir($al3x_set['updir'] . '/' . $_GET['uid'] . '/' . $_GET['delpath'])) al3x_notify('Success: Directory deleted!'); else al3x_notify('Error: Directory could not be deleted, maybe directory is not empty!', 'error'); } } ?>

File Manager: files

'.', "path" => './', "type" => 'dir', "size" => 0, "lastmod" => filemtime('.') ); array_unshift($arrDirectories, $rootdir ); $sesskey = md5(serialize($arrDirectories)); $_SESSION[$sesskey] = $arrDirectories; $htmloption = al3x_build_html_options($arrDirectories); } else { al3x_notify('FATAL ERROR: No directory to browse!', 'error'); } ?>
manage files for user "uname ;?>" (ID: id ;?>)
file upload
  select file:
store in directory:
 

create directory
  directory name:
parent directory:
 

directory listing
 
User select
Please select user to manage files and directories.