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
//+------------------------------------------------------------------+ //| FileBin.mqh | //| Copyright 2000-2026, MetaQuotes Ltd. | //| www.mql5.com | //+------------------------------------------------------------------+ #include "File.mqh" //+------------------------------------------------------------------+ //| Class CFileBin | //| Purpose: Class of operations with binary files | //| Derives from class CFile | //+------------------------------------------------------------------+ class CFileBin : public CFile { public: CFileBin(void); ~CFileBin(void); //--- methods for working with files int Open(const string file_name,const int open_flags); //--- methods for writing data uint WriteChar(const char value); uint WriteShort(const short value); uint WriteInteger(const int value); uint WriteLong(const long value); uint WriteFloat(const float value); uint WriteDouble(const double value); uint WriteString(const string value); uint WriteString(const string value,const int size); uint WriteCharArray(const char &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint WriteShortArray(const short& array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint WriteIntegerArray(const int& array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint WriteLongArray(const long &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint WriteFloatArray(const float &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint WriteDoubleArray(const double &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); template uint WriteArray(T &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); template uint WriteStruct(T &data); bool WriteObject(CObject *object); template uint WriteEnum(const T value) { return(WriteInteger((int)value)); } //--- methods for reading data bool ReadChar(char &value); bool ReadShort(short &value); bool ReadInteger(int &value); bool ReadLong(long &value); bool ReadFloat(float &value); bool ReadDouble(double &value); bool ReadString(string &value); bool ReadString(string &value,const int size); uint ReadCharArray(char &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint ReadShortArray(short& array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint ReadIntegerArray(int& array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint ReadLongArray(long &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint ReadFloatArray(float &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); uint ReadDoubleArray(double &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); template uint ReadArray(T &array[],const int start_item=0,const int items_count=WHOLE_ARRAY); template uint ReadStruct(T &data); bool ReadObject(CObject *object); template bool ReadEnum(T &value); }; //+------------------------------------------------------------------+ //| Constructor | //+------------------------------------------------------------------+ CFileBin::CFileBin(void) { } //+------------------------------------------------------------------+ //| Destructor | //+------------------------------------------------------------------+ CFileBin::~CFileBin(void) { } //+------------------------------------------------------------------+ //| Opening a binary file | //+------------------------------------------------------------------+ int CFileBin::Open(const string file_name,const int open_flags) { return(CFile::Open(file_name,open_flags|FILE_BIN)); } //+------------------------------------------------------------------+ //| Write a variable of char or uchar type | //+------------------------------------------------------------------+ uint CFileBin::WriteChar(const char value) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteInteger(m_handle,value,sizeof(char))); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write a variable of short or ushort type | //+------------------------------------------------------------------+ uint CFileBin::WriteShort(const short value) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteInteger(m_handle,value,sizeof(short))); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write a variable of int or uint type | //+------------------------------------------------------------------+ uint CFileBin::WriteInteger(const int value) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteInteger(m_handle,value,sizeof(int))); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write a variable of long or ulong type | //+------------------------------------------------------------------+ uint CFileBin::WriteLong(const long value) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteLong(m_handle,value)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write a variable of float type | //+------------------------------------------------------------------+ uint CFileBin::WriteFloat(const float value) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteFloat(m_handle,value)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write a variable of double type | //+------------------------------------------------------------------+ uint CFileBin::WriteDouble(const double value) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteDouble(m_handle,value)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write a variable of string type | //+------------------------------------------------------------------+ uint CFileBin::WriteString(const string value) { //--- check handle if(m_handle!=INVALID_HANDLE) { //--- size of string int size=StringLen(value); //--- write if(FileWriteInteger(m_handle,size)==sizeof(int)) return(FileWriteString(m_handle,value,size)); } //--- failure return(0); } //+------------------------------------------------------------------+ //| Write a part of string | //+------------------------------------------------------------------+ uint CFileBin::WriteString(const string value,const int size) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteString(m_handle,value,size)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write array variables of type char or uchar | //+------------------------------------------------------------------+ uint CFileBin::WriteCharArray(const char &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write an array of variables of short or ushort type | //+------------------------------------------------------------------+ uint CFileBin::WriteShortArray(const short &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write an array of variables of int or uint type | //+------------------------------------------------------------------+ uint CFileBin::WriteIntegerArray(const int &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write an array of variables of long or ulong type | //+------------------------------------------------------------------+ uint CFileBin::WriteLongArray(const long &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write an array of variables of float type | //+------------------------------------------------------------------+ uint CFileBin::WriteFloatArray(const float &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write an array of variables of double type | //+------------------------------------------------------------------+ uint CFileBin::WriteDoubleArray(const double &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write an array of variables of any type | //+------------------------------------------------------------------+ template uint CFileBin::WriteArray(T &array[],const int start_item=0,const int items_count=WHOLE_ARRAY) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write an structure | //+------------------------------------------------------------------+ template uint CFileBin::WriteStruct(T &data) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileWriteStruct(m_handle,data)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Write data of an instance of the CObject class | //+------------------------------------------------------------------+ bool CFileBin::WriteObject(CObject *object) { //--- check handle & object if(m_handle!=INVALID_HANDLE) if(CheckPointer(object)) return(object.Save(m_handle)); //--- failure return(false); } //+------------------------------------------------------------------+ //| Read a variable of char or uchar type | //+------------------------------------------------------------------+ bool CFileBin::ReadChar(char &value) { //--- check handle if(m_handle!=INVALID_HANDLE) { ResetLastError(); value=(char)FileReadInteger(m_handle,sizeof(char)); return(GetLastError()==0); } //--- failure return(false); } //+------------------------------------------------------------------+ //| Read a variable of short or ushort type | //+------------------------------------------------------------------+ bool CFileBin::ReadShort(short &value) { //--- check handle if(m_handle!=INVALID_HANDLE) { ResetLastError(); value=(short)FileReadInteger(m_handle,sizeof(short)); return(GetLastError()==0); } //--- failure return(false); } //+------------------------------------------------------------------+ //| Read a variable of int or uint type | //+------------------------------------------------------------------+ bool CFileBin::ReadInteger(int &value) { //--- check handle if(m_handle!=INVALID_HANDLE) { ResetLastError(); value=FileReadInteger(m_handle,sizeof(int)); return(GetLastError()==0); } //--- failure return(false); } //+------------------------------------------------------------------+ //| Read a variable of long or ulong type | //+------------------------------------------------------------------+ bool CFileBin::ReadLong(long &value) { //--- check handle if(m_handle!=INVALID_HANDLE) { ResetLastError(); value=FileReadLong(m_handle); return(GetLastError()==0); } //--- failure return(false); } //+------------------------------------------------------------------+ //| Read a variable of float type | //+------------------------------------------------------------------+ bool CFileBin::ReadFloat(float &value) { //--- check handle if(m_handle!=INVALID_HANDLE) { ResetLastError(); value=FileReadFloat(m_handle); return(GetLastError()==0); } //--- failure return(false); } //+------------------------------------------------------------------+ //| Read a variable of double type | //+------------------------------------------------------------------+ bool CFileBin::ReadDouble(double &value) { //--- check handle if(m_handle!=INVALID_HANDLE) { ResetLastError(); value=FileReadDouble(m_handle); return(GetLastError()==0); } //--- failure return(false); } //+------------------------------------------------------------------+ //| Read a variable of string type | //+------------------------------------------------------------------+ bool CFileBin::ReadString(string &value) { //--- check handle if(m_handle!=INVALID_HANDLE) { ResetLastError(); int size=FileReadInteger(m_handle); if(GetLastError()==0) { value=FileReadString(m_handle,size); return(size==StringLen(value)); } } //--- failure return(false); } //+------------------------------------------------------------------+ //| Read a part of string | //+------------------------------------------------------------------+ bool CFileBin::ReadString(string &value,const int size) { //--- check handle if(m_handle!=INVALID_HANDLE) { value=FileReadString(m_handle,size); return(size==StringLen(value)); } //--- failure return(false); } //+------------------------------------------------------------------+ //| Read an array of variables of char or uchar type | //+------------------------------------------------------------------+ uint CFileBin::ReadCharArray(char &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileReadArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Read an array of variables of short or ushort type | //+------------------------------------------------------------------+ uint CFileBin::ReadShortArray(short &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileReadArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Read an array of variables of int or uint type | //+------------------------------------------------------------------+ uint CFileBin::ReadIntegerArray(int &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileReadArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Read an array of variables of long or ulong type | //+------------------------------------------------------------------+ uint CFileBin::ReadLongArray(long &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileReadArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Read an array of variables of float type | //+------------------------------------------------------------------+ uint CFileBin::ReadFloatArray(float &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileReadArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Read an array of variables of double type | //+------------------------------------------------------------------+ uint CFileBin::ReadDoubleArray(double &array[],const int start_item,const int items_count) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileReadArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Read an array of variables of any type | //+------------------------------------------------------------------+ template uint CFileBin::ReadArray(T &array[],const int start_item=0,const int items_count=WHOLE_ARRAY) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileReadArray(m_handle,array,start_item,items_count)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Read an structure | //+------------------------------------------------------------------+ template uint CFileBin::ReadStruct(T &data) { //--- check handle if(m_handle!=INVALID_HANDLE) return(FileReadStruct(m_handle,data)); //--- failure return(0); } //+------------------------------------------------------------------+ //| Read data of an instance of the CObject class | //+------------------------------------------------------------------+ bool CFileBin::ReadObject(CObject *object) { //--- check handle & object if(m_handle!=INVALID_HANDLE) if(CheckPointer(object)) return(object.Load(m_handle)); //--- failure return(false); } //+------------------------------------------------------------------+ //| Read a variable of an enumeration type | //+------------------------------------------------------------------+ template bool CFileBin::ReadEnum(T &value) { int val; if(!ReadInteger(val)) return(false); //--- value=(T)val; return(true); } //+------------------------------------------------------------------+