/home/aqcert/public_html/admin/tinymce/tests/plugins/filemanager
Edit: /home/aqcert/public_html/admin/tinymce/tests/plugins/filemanager/dialog.php (16504B)
FileManager
- /
$b){
$tmp_path.=$b."/";
if($k==count($bc)-2){
?>
- /
There is an error! The root folder not exist.
Swipe the name of file/folder to show options
-
 echo )
.png" alt="folder" />
 echo )
.png" alt="folder" />
onclick="if(confirm('')){ delete_folder('',''); $(this).parent().parent().parent().hide(200); return false;}" title="">
$file) {
if ($file != '.' && $file != '..' && !is_dir($root . $cur_dir . $file)) {
$is_img=false;
$is_video=false;
$show_original=false;
$file_ext = strtolower(substr(strrchr($file,'.'),1));
if(in_array($file_ext, $ext)){
if(in_array($file_ext, $ext_img)){
$src = $base_url . $cur_dir . $file;
$src_thumb = $thumbs_path.$subdir. $file;
//add in thumbs folder if not exist
$thumb_path=dirname( __FILE__ ).DIRECTORY_SEPARATOR."thumbs".DIRECTORY_SEPARATOR.$subfolder.DIRECTORY_SEPARATOR.$subdir.$file;
if(!file_exists($thumb_path)) create_img_gd(dirname( __FILE__ ). DIRECTORY_SEPARATOR.$current_path.$subfolder.DIRECTORY_SEPARATOR.$subdir.$file, $thumb_path, 122, 91);
$is_img=true;
//check if is smaller tha thumb
$info=getimagesize(dirname( __FILE__ ). DIRECTORY_SEPARATOR.$current_path.$subfolder.DIRECTORY_SEPARATOR.$subdir.$file);
if($info[0]<122 && $info[2]<91){
$src_thumb=$current_path.$subfolder.DIRECTORY_SEPARATOR.$subdir.$file;
$show_original=true;
}
}elseif(file_exists('ico/'.strtoupper($file_ext).".png")){
$src = $src_thumb ='ico/'.strtoupper($file_ext).".png";
}else{
$src = $src_thumb = "ico/Default.png";
}
if (in_array($file_ext, $ext_video)) {
$class_ext = 4;
$is_video=true;
}elseif (in_array($file_ext, $ext_img)) {
$class_ext = 2;
}elseif (in_array($file_ext, $ext_music)) {
$class_ext = 5;
}elseif (in_array($file_ext, $ext_misc)) {
$class_ext = 3;
}else{
$class_ext = 1;
}
if((!($_GET['type']==1 && !$is_img) && !($_GET['type']>=3 && !$is_video))){
?>
-
">
![image]()
src="">