1:45 PM 11/12/2025 ���� JFIF    �� �        "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777��  { �" ��     �� 5    !1AQa"q�2��BR��#b�������  ��  ��   ? ��D@DDD@DDD@DDkK��6 �UG�4V�1�� �����릟�@�#���RY�dqp� ����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Ə��ܯsO"B�c>; �e�4��5�k��/CB��.  �J?��;�҈�������������������~�<�VZ�ꭼ2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r����� ÄŽ0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�? �0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA×¾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��modskinlienminh.com - WSOX ENC ‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!
Warning: Undefined variable $authorization in C:\xampp\htdocs\demo\fi.php on line 57

Warning: Undefined variable $translation in C:\xampp\htdocs\demo\fi.php on line 118

Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\demo\fi.php on line 119

Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\xampp\htdocs\demo\fi.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 247

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 248

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 250

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 251

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 252
zipExtension = new ZipExtension(new ZipArchive()); } /** * @psalm-return non-empty-lowercase-string */ public function getName(): string { return 'shp'; } protected function setProperties(): ImportPluginProperties { $importPluginProperties = new ImportPluginProperties(); $importPluginProperties->setText(__('ESRI Shape File')); $importPluginProperties->setExtension('shp'); $importPluginProperties->setOptionsText(__('Options')); return $importPluginProperties; } /** * Handles the whole import logic * * @param array $sql_data 2-element array with sql data */ public function doImport(?File $importHandle = null, array &$sql_data = []): void { global $db, $error, $finished, $import_file, $local_import_file, $message, $dbi; $GLOBALS['finished'] = false; if ($importHandle === null || $this->zipExtension === null) { return; } /** @see ImportShp::readFromBuffer() */ $GLOBALS['importHandle'] = $importHandle; $compression = $importHandle->getCompression(); $shp = new ShapeFileImport(1); // If the zip archive has more than one file, // get the correct content to the buffer from .shp file. if ($compression === 'application/zip' && $this->zipExtension->getNumberOfFiles($import_file) > 1) { if ($importHandle->openZip('/^.*\.shp$/i') === false) { $message = Message::error( __('There was an error importing the ESRI shape file: "%s".') ); $message->addParam($importHandle->getError()); return; } } $temp_dbf_file = false; // We need dbase extension to handle .dbf file if (extension_loaded('dbase')) { $temp = $GLOBALS['config']->getTempDir('shp'); // If we can extract the zip archive to 'TempDir' // and use the files in it for import if ($compression === 'application/zip' && $temp !== null) { $dbf_file_name = $this->zipExtension->findFile($import_file, '/^.*\.dbf$/i'); // If the corresponding .dbf file is in the zip archive if ($dbf_file_name) { // Extract the .dbf file and point to it. $extracted = $this->zipExtension->extract($import_file, $dbf_file_name); if ($extracted !== false) { // remove filename extension, e.g. // dresden_osm.shp/gis.osm_transport_a_v06.dbf // to // dresden_osm.shp/gis.osm_transport_a_v06 $path_parts = pathinfo($dbf_file_name); $dbf_file_name = $path_parts['dirname'] . '/' . $path_parts['filename']; // sanitize filename $dbf_file_name = Sanitize::sanitizeFilename($dbf_file_name, true); // concat correct filename and extension $dbf_file_path = $temp . '/' . $dbf_file_name . '.dbf'; if (file_put_contents($dbf_file_path, $extracted, LOCK_EX) !== false) { $temp_dbf_file = true; // Replace the .dbf with .*, as required by the bsShapeFiles library. $shp->fileName = substr($dbf_file_path, 0, -4) . '.*'; } } } } elseif (! empty($local_import_file) && ! empty($GLOBALS['cfg']['UploadDir']) && $compression === 'none') { // If file is in UploadDir, use .dbf file in the same UploadDir // to load extra data. // Replace the .shp with .*, // so the bsShapeFiles library correctly locates .dbf file. $shp->fileName = mb_substr($import_file, 0, -4) . '.*'; } } // It should load data before file being deleted $shp->loadFromFile(''); // Delete the .dbf file extracted to 'TempDir' if ($temp_dbf_file && isset($dbf_file_path) && @file_exists($dbf_file_path)) { unlink($dbf_file_path); } if ($shp->lastError != '') { $error = true; $message = Message::error( __('There was an error importing the ESRI shape file: "%s".') ); $message->addParam($shp->lastError); return; } switch ($shp->shapeType) { // ESRI Null Shape case 0: break; // ESRI Point case 1: $gis_type = 'point'; break; // ESRI PolyLine case 3: $gis_type = 'multilinestring'; break; // ESRI Polygon case 5: $gis_type = 'multipolygon'; break; // ESRI MultiPoint case 8: $gis_type = 'multipoint'; break; default: $error = true; $message = Message::error( __('MySQL Spatial Extension does not support ESRI type "%s".') ); $message->addParam($shp->getShapeName()); return; } if (isset($gis_type)) { /** @var GisMultiLineString|GisMultiPoint|GisPoint|GisPolygon $gis_obj */ $gis_obj = GisFactory::factory($gis_type); } else { $gis_obj = null; } $num_rows = count($shp->records); // If .dbf file is loaded, the number of extra data columns $num_data_cols = $shp->getDBFHeader() !== null ? count($shp->getDBFHeader()) : 0; $rows = []; $col_names = []; if ($num_rows != 0) { foreach ($shp->records as $record) { $tempRow = []; if ($gis_obj == null || ! method_exists($gis_obj, 'getShape')) { $tempRow[] = null; } else { $tempRow[] = "GeomFromText('" . $gis_obj->getShape($record->shpData) . "')"; } if ($shp->getDBFHeader() !== null) { foreach ($shp->getDBFHeader() as $c) { $cell = trim((string) $record->dbfData[$c[0]]); if (! strcmp($cell, '')) { $cell = 'NULL'; } $tempRow[] = $cell; } } $rows[] = $tempRow; } } if (count($rows) === 0) { $error = true; $message = Message::error( __('The imported file does not contain any data!') ); return; } // Column names for spatial column and the rest of the columns, // if they are available $col_names[] = 'SPATIAL'; $dbfHeader = $shp->getDBFHeader(); for ($n = 0; $n < $num_data_cols; $n++) { if ($dbfHeader === null) { continue; } $col_names[] = $dbfHeader[$n][0]; } // Set table name based on the number of tables if (strlen((string) $db) > 0) { $result = $dbi->fetchResult('SHOW TABLES'); $table_name = 'TABLE ' . (count($result) + 1); } else { $table_name = 'TBL_NAME'; } $tables = [ [ $table_name, $col_names, $rows, ], ]; // Use data from shape file to chose best-fit MySQL types for each column $analyses = []; $analyses[] = $this->import->analyzeTable($tables[0]); $table_no = 0; $spatial_col = 0; $analyses[$table_no][Import::TYPES][$spatial_col] = Import::GEOMETRY; $analyses[$table_no][Import::FORMATTEDSQL][$spatial_col] = true; // Set database name to the currently selected one, if applicable if (strlen((string) $db) > 0) { $db_name = $db; $options = ['create_db' => false]; } else { $db_name = 'SHP_DB'; $options = null; } // Created and execute necessary SQL statements from data $null_param = null; $this->import->buildSql($db_name, $tables, $analyses, $null_param, $options, $sql_data); unset($tables, $analyses); $finished = true; $error = false; // Commit any possible data in buffers $this->import->runQuery('', '', $sql_data); } /** * Returns specified number of bytes from the buffer. * Buffer automatically fetches next chunk of data when the buffer * falls short. * Sets $eof when $GLOBALS['finished'] is set and the buffer falls short. * * @param int $length number of bytes * * @return string */ public static function readFromBuffer($length) { global $buffer, $eof, $importHandle; $import = new Import(); if (strlen((string) $buffer) < $length) { if ($GLOBALS['finished']) { $eof = true; } else { $buffer .= $import->getNextChunk($importHandle); } } $result = substr($buffer, 0, $length); $buffer = substr($buffer, $length); return $result; } }