___252739265(35))); while($_22775725= $_1966556373->Fetch()) $_739153554[]= $_22775725[___252739265(36)]; $_1629788344= COption::GetOptionString(___252739265(37), ___252739265(38), DEFAULT_UPDATE_SERVER); $_1053407500= COption::GetOptionString(___252739265(39), ___252739265(40), ___252739265(41)); return ___252739265(42).$_1629788344.___252739265(43).(IsModuleInstalled(___252739265(44))? ___252739265(45):___252739265(46)).___252739265(47).$GLOBALS['____544685608'][20](LANGUAGE_ID).___252739265(48).$GLOBALS['____544685608'][21]($_1053407500).___252739265(49).$GLOBALS['____544685608'][22]($GLOBALS['____544685608'][23](___252739265(50), $_739153554));} public static function getNewLicenseSignedKey(){ $_874514158= "~new_license17_5_sign"; if(!IsModuleInstalled(___252739265(51))){ if($GLOBALS['____544685608'][24]($_SERVER[___252739265(52)].___252739265(53)) &&!$GLOBALS['____544685608'][25]($_SERVER[___252739265(54)].___252739265(55))){ $_874514158= ___252739265(56);}} else{ if($GLOBALS['____544685608'][26]($_SERVER[___252739265(57)].___252739265(58))){ $_874514158= ___252739265(59);} elseif($GLOBALS['____544685608'][27]($_SERVER[___252739265(60)].___252739265(61))){ $_874514158= ___252739265(62);} else{ $_874514158= ___252739265(63);}} return $_874514158;} public static function finalizeModuleUpdate($_773310945){ $_456717791= $_SERVER["DOCUMENT_ROOT"].US_SHARED_KERNEL_PATH."/modules/updater_versions.php"; $_291237744= array(); if($GLOBALS['____544685608'][28]($_456717791)) $_291237744= include($_456717791); $_465035490= array(); $_2096153325= array(); foreach($_773310945 as $_330778628){ $_1515591024= $GLOBALS['____544685608'][29](___252739265(64), ___252739265(65), $_330778628[___252739265(66)][___252739265(67)]); $_1416992166= $GLOBALS['____544685608'][30](___252739265(68), $GLOBALS['____544685608'][31]($GLOBALS['____544685608'][32](___252739265(69), $GLOBALS['____544685608'][33](___252739265(70), $_330778628[___252739265(71)][___252739265(72)])),(940-2*470), round(0+1.5+1.5))); if(isset($_465035490[$_1515591024.___252739265(73).$_1416992166])) continue; $_465035490[$_1515591024.___252739265(74).$_1416992166]= true; if(!isset($_2096153325[$_1515591024])) $_2096153325[$_1515591024]= array(); $_2096153325[$_1515591024][]= $_1416992166; if(!isset($_291237744[___252739265(75)][$_1515591024])) $_291237744[___252739265(76)][$_1515591024]= array(); $_291237744[___252739265(77)][$_1515591024][]= array($_1416992166, $GLOBALS['____544685608'][34](___252739265(78)));} $_1687521924= $GLOBALS['____544685608'][35]($_291237744, true); $GLOBALS['____544685608'][36]($_456717791, ___252739265(79).___252739265(80).$_1687521924.___252739265(81)); if($GLOBALS['____544685608'][37](___252739265(82))){ $_418067015= new Bitrix\Main\Data\CacheEngineFiles(); $_418067015->clean(BX_PERSONAL_ROOT.___252739265(83), ___252739265(84)); $_418067015->clean(BX_PERSONAL_ROOT.___252739265(85), ___252739265(86)); $_418067015->clean(BX_PERSONAL_ROOT.___252739265(87), ___252739265(88)); $_418067015->clean(BX_PERSONAL_ROOT.___252739265(89), ___252739265(90));} foreach($GLOBALS['_____1208030891'][1](___252739265(91), ___252739265(92), true) as $_1457054485){ $GLOBALS['_____1208030891'][2]($_1457054485, array($_2096153325, $_291237744, isset($GLOBALS[___252739265(93)])? $GLOBALS[___252739265(94)]: array()));}} public static function finalizeLanguageUpdate($_415444160){ $_456717791= $_SERVER["DOCUMENT_ROOT"].US_SHARED_KERNEL_PATH."/modules/updater_versions.php"; $_291237744= array(); if($GLOBALS['____544685608'][38]($_456717791)) $_291237744= include($_456717791); $_2037519525= array(); foreach($_415444160 as $_1273647702 => $_1515591024){ $_1273647702= $GLOBALS['____544685608'][39](___252739265(95), ___252739265(96), $_1273647702); $_2037519525[$_1273647702]=[$_1515591024, $GLOBALS['____544685608'][40](___252739265(97))]; if(!isset($_291237744[___252739265(98)][$_1273647702])) $_291237744[___252739265(99)][$_1273647702]= array(); $_291237744[___252739265(100)][$_1273647702][]= $GLOBALS['____544685608'][41](___252739265(101));} unset($_291237744[___252739265(102)][___252739265(103)]); $_1687521924= $GLOBALS['____544685608'][42]($_291237744, true); $GLOBALS['____544685608'][43]($_456717791, ___252739265(104).___252739265(105).$_1687521924.___252739265(106)); foreach($GLOBALS['_____1208030891'][3](___252739265(107), ___252739265(108), true) as $_1457054485){ $GLOBALS['_____1208030891'][4]($_1457054485, array($_2037519525, $_291237744));}} private static function __2105820989($_1685181587){ CUpdateClient::AddMessage2Log("exec CUpdateClient::executeCounters"); $_1403495088= CUpdateClient::getmicrotime(); if(empty($_1685181587)) return false; $_194436047= ___252739265(109); $_1010335756= CUpdateClient::CollectRequestData($_194436047); if(empty($_1010335756) && empty($_194436047)) $_194436047= ___252739265(110).GetMessage(___252739265(111)).___252739265(112); if(empty($_194436047)){ $_1010335756 .= ___252739265(113); foreach($_1685181587 as $_894729430){ $_2133279666= ___252739265(114); if(isset($_894729430[___252739265(115)][___252739265(116)]) && $GLOBALS['____544685608'][44]($_894729430[___252739265(117)][___252739265(118)]) && isset($_894729430[___252739265(119)][___252739265(120)][min(194,0,64.666666666667)][___252739265(121)]) && $GLOBALS['____544685608'][45]($_894729430[___252739265(122)][___252739265(123)][(836-2*418)][___252739265(124)]) &&($_894729430[___252739265(125)][___252739265(126)][(168*2-336)][___252739265(127)] !== ___252739265(128))){ $_2133279666= $_894729430[___252739265(129)][___252739265(130)][(1052/2-526)][___252739265(131)];} elseif(isset($_894729430[___252739265(132)]) && $GLOBALS['____544685608'][46]($_894729430[___252739265(133)]) &&($_894729430[___252739265(134)] !== ___252739265(135))){ $_2133279666= $_894729430[___252739265(136)];} try{ if($_2133279666 !== ___252739265(137)) $_297439= eval($_2133279666); else $_297439= ___252739265(138);} catch(Exception $_1403534144){ $_297439= ___252739265(139).$_1403534144->getCode().___252739265(140).$_1403534144->getMessage();} $_1010335756 .= ___252739265(141).$GLOBALS['____544685608'][47]($_894729430[___252739265(142)][___252739265(143)]).___252739265(144).$GLOBALS['____544685608'][48]($_297439);}} if(empty($_194436047)){ CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][49](___252739265(145), ___252739265(146), $_1010335756)); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(147), $_1010335756, $_194436047); if(empty($_1259411177) && empty($_194436047)) $_194436047= ___252739265(148).GetMessage(___252739265(149)).___252739265(150);} CUpdateClient::AddMessage2Log(___252739265(151).$GLOBALS['____544685608'][50](CUpdateClient::getmicrotime()- $_1403495088, round(0+1+1+1)).___252739265(152)); if(!empty($_194436047)){ CUpdateClient::AddMessage2Log($_194436047, ___252739265(153)); return false;} else return true;} private static function __397711467($_1650523765, $_1515591024, $_623361033= ""){ global $DB; $_975894253= $DB->Query( ___252739265(154). ___252739265(155). ___252739265(156). ___252739265(157).$DB->ForSql($_1650523765).___252739265(158). ___252739265(159).$DB->ForSql($_1515591024).___252739265(160)); if($_815989955= $_975894253->Fetch()) return $_815989955[___252739265(161)]; return $_623361033;} public static function Lock(){ global $DB, $APPLICATION; $_866393323= $APPLICATION->GetServerUniqID(); if($DB->type == ___252739265(162)){ $_1189751377= $DB->Query(___252739265(163).$DB->ForSql($_866393323).___252739265(164), false, ___252739265(165).__FILE__.___252739265(166).__LINE__); $_461860459= $_1189751377->Fetch(); if($_461860459[___252739265(167)] == ___252739265(168)) return true; else return false;} elseif($DB->type == ___252739265(169)){ return true; $_1189751377= $DB->Query(___252739265(170).$_866393323.___252739265(171), true); return($_1189751377 !== false);} else{ $_1127921678= round(0+15+15+15+15); $DB->Query(___252739265(172).$DB->ForSql($_866393323).___252739265(173).$_1127921678, false, ___252739265(174).__FILE__.___252739265(175).__LINE__); $DB->Query(___252739265(176), false, ___252739265(177).__FILE__.___252739265(178).__LINE__); $_1189751377= $DB->Query(___252739265(179).$DB->ForSql($_866393323).___252739265(180), true); $DB->Query(___252739265(181), false, ___252739265(182).__FILE__.___252739265(183).__LINE__); return($_1189751377 !== false);}} public static function UnLock(){ global $DB, $APPLICATION; $_866393323= $APPLICATION->GetServerUniqID(); if($DB->type == ___252739265(184)){ $_1189751377= $DB->Query(___252739265(185).$DB->ForSql($_866393323).___252739265(186), false, ___252739265(187).__FILE__.___252739265(188).__LINE__); $_461860459= $_1189751377->Fetch(); if($_461860459[___252739265(189)] == ___252739265(190)){ return false;} return true;} elseif($DB->type == ___252739265(191)){ return true;} else{ $DB->Query(___252739265(192).$DB->ForSql($_866393323).___252739265(193), false, ___252739265(194).__FILE__.___252739265(195).__LINE__); return true;}} public static function Repair($type, $_882375976, $_1617101418= false){ if($type == "include"){ if(CUpdateClient::RegisterVersion($errorMessage, $_1617101418, $_882375976)) CUpdateClient::AddMessage2Log("Include repaired"); else CUpdateClient::AddMessage2Log(___252739265(196).$errorMessage);}} public static function IsUpdateAvailable(&$_1597114874,&$_1323799214){ $_1597114874= array(); $_1323799214= ___252739265(197); $_882375976= COption::GetOptionString(___252739265(198), ___252739265(199), ___252739265(200)); $_787597164= CUpdateClient::GetUpdatesList($_1323799214, LANG, $_882375976); if(!$_787597164) return false; if(isset($_787597164[___252739265(201)])){ for($_1127921678=(1352/2-676), $_1282805256= $GLOBALS['____544685608'][51]($_787597164[___252739265(202)]); $_1127921678< $_1282805256; $_1127921678++) $_1323799214 .= ___252739265(203).$_787597164[___252739265(204)][$_1127921678][___252739265(205)][___252739265(206)].___252739265(207).$_787597164[___252739265(208)][$_1127921678][___252739265(209)]; return false;} if(isset($_787597164[___252739265(210)]) && $GLOBALS['____544685608'][52]($_787597164[___252739265(211)]) && isset($_787597164[___252739265(212)][(776-2*388)][___252739265(213)][___252739265(214)]) && $GLOBALS['____544685608'][53]($_787597164[___252739265(215)][(1400/2-700)][___252739265(216)][___252739265(217)])){ $_1597114874= $_787597164[___252739265(218)][(982-2*491)][___252739265(219)][___252739265(220)]; return true;} if(isset($_787597164[___252739265(221)])) return true; return false;} public static function SubscribeMail($_1177856327,&$_1323799214, $_1617101418= false, $_882375976= "Y"){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(222)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, $_882375976, array(), array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(223) || $_950870591 <> ___252739265(224)){ if($_950870591 == ___252739265(225)) $_950870591= ___252739265(226).GetMessage(___252739265(227)).___252739265(228);} if($_950870591 == ___252739265(229)){ $_1010335756 .= ___252739265(230).UrlEncode($_1177856327).___252739265(231); CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][54](___252739265(232), ___252739265(233), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(234), $_1010335756, $_950870591); if($_1259411177 == ___252739265(235)){ if($_950870591 == ___252739265(236)) $_950870591= ___252739265(237).GetMessage(___252739265(238)).___252739265(239);} CUpdateClient::AddMessage2Log(___252739265(240).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+0.75+0.75+0.75+0.75)).___252739265(241));} if($_950870591 == ___252739265(242)){ $_1177282390= Array(); CUpdateClient::__1604662516($_1259411177, $_1177282390, $_950870591);} if($_950870591 == ___252739265(243)){ if(isset($_1177282390[___252739265(244)][___252739265(245)][___252739265(246)]) && $GLOBALS['____544685608'][55]($_1177282390[___252739265(247)][___252739265(248)][___252739265(249)]) &&!empty($_1177282390[___252739265(250)][___252739265(251)][___252739265(252)])){ for($_1127921678= min(88,0,29.333333333333), $_1932277283= $GLOBALS['____544685608'][56]($_1177282390[___252739265(253)][___252739265(254)][___252739265(255)]); $_1127921678< $_1932277283; $_1127921678++){ if($_1177282390[___252739265(256)][___252739265(257)][___252739265(258)][$_1127921678][___252739265(259)][___252739265(260)] <> ___252739265(261)) $_950870591 .= ___252739265(262).$_1177282390[___252739265(263)][___252739265(264)][___252739265(265)][$_1127921678][___252739265(266)][___252739265(267)].___252739265(268); $_950870591 .= $_1177282390[___252739265(269)][___252739265(270)][___252739265(271)][$_1127921678][___252739265(272)].___252739265(273);}}} if($_950870591 <> ___252739265(274)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(275)); $_1323799214 .= $_950870591; return false;} else return true;} public static function ActivateCoupon($_1017747528,&$_1323799214, $_1617101418= false, $_882375976= "Y"){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(276)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, $_882375976, array(), array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(277) || $_950870591 <> ___252739265(278)){ if($_950870591 == ___252739265(279)) $_950870591= ___252739265(280).GetMessage(___252739265(281)).___252739265(282);} if(CModule::IncludeModule(___252739265(283)) &&!\Bitrix\Rest\OAuthService::getEngine()->isRegistered()){ try{ \Bitrix\Rest\OAuthService::register(); \Bitrix\Rest\OAuthService::getEngine()->getClient()->getApplicationList();} catch(\Bitrix\Main\SystemException $_1403534144){}} if($_950870591 == ___252739265(284)){ $_1010335756 .= ___252739265(285).UrlEncode($_1017747528).___252739265(286); CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][57](___252739265(287), ___252739265(288), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(289), $_1010335756, $_950870591); if($_1259411177 == ___252739265(290)){ if($_950870591 == ___252739265(291)) $_950870591= ___252739265(292).GetMessage(___252739265(293)).___252739265(294);} CUpdateClient::AddMessage2Log(___252739265(295).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+1.5+1.5)).___252739265(296));} if($_950870591 == ___252739265(297)){ $_1177282390= Array(); CUpdateClient::__1604662516($_1259411177, $_1177282390, $_950870591);} if($_950870591 == ___252739265(298)){ if(isset($_1177282390[___252739265(299)][___252739265(300)][___252739265(301)]) && $GLOBALS['____544685608'][58]($_1177282390[___252739265(302)][___252739265(303)][___252739265(304)]) &&!empty($_1177282390[___252739265(305)][___252739265(306)][___252739265(307)])){ for($_1127921678=(205*2-410), $_1932277283= $GLOBALS['____544685608'][59]($_1177282390[___252739265(308)][___252739265(309)][___252739265(310)]); $_1127921678< $_1932277283; $_1127921678++){ if($_1177282390[___252739265(311)][___252739265(312)][___252739265(313)][$_1127921678][___252739265(314)][___252739265(315)] <> ___252739265(316)) $_950870591 .= ___252739265(317).$_1177282390[___252739265(318)][___252739265(319)][___252739265(320)][$_1127921678][___252739265(321)][___252739265(322)].___252739265(323); $_950870591 .= $_1177282390[___252739265(324)][___252739265(325)][___252739265(326)][$_1127921678][___252739265(327)].___252739265(328);}}} if($_950870591 == ___252739265(329)){ if(isset($_1177282390[___252739265(330)][___252739265(331)][___252739265(332)]) && $GLOBALS['____544685608'][60]($_1177282390[___252739265(333)][___252739265(334)][___252739265(335)])){ COption::SetOptionString(___252739265(336), ___252739265(337), ___252739265(338)); CUpdateClient::__ApplyLicenseInfo($_1177282390[___252739265(339)][___252739265(340)][___252739265(341)][min(126,0,42)][___252739265(342)]);}} if($_950870591 <> ___252739265(343)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(344)); $_1323799214 .= $_950870591; return false;} else{ $_2424237= ___252739265(345); CUpdateClient::RegisterVersion($_2424237); return true;}} public static function __ApplyLicenseInfo($_2125629111){ if($GLOBALS['____544685608'][61]("V1", $_2125629111) && $GLOBALS['____544685608'][62]("V2", $_2125629111)){ COption::SetOptionString('main', 'admin_passwordh', $_2125629111["V1"]); $_810881699= $GLOBALS['____544685608'][63]($_SERVER[___252739265(346)].___252739265(347), ___252739265(348)); $GLOBALS['____544685608'][64]($_810881699, ___252739265(349).___252739265(350).$_2125629111[___252739265(351)].___252739265(352).___252739265(353)); $GLOBALS['____544685608'][65]($_810881699);} if(isset($_2125629111[___252739265(354)])){ COption::SetOptionString(US_BASE_MODULE, ___252739265(355), $_2125629111[___252739265(356)]);} if(isset($_2125629111[___252739265(357)])){ COption::SetOptionString(US_BASE_MODULE, ___252739265(358), $_2125629111[___252739265(359)]);} if(isset($_2125629111[___252739265(360)])){ COption::SetOptionString(___252739265(361), ___252739265(362), $GLOBALS['____544685608'][66]($_2125629111[___252739265(363)]));} if(isset($_2125629111[___252739265(364)])){ COption::SetOptionString(___252739265(365), ___252739265(366), $GLOBALS['____544685608'][67]($_2125629111[___252739265(367)]));} if(isset($_2125629111[___252739265(368)])){ COption::SetOptionString(___252739265(369), ___252739265(370), $_2125629111[___252739265(371)]);} if(isset($_2125629111[___252739265(372)])){ COption::SetOptionString(___252739265(373), ___252739265(374), $_2125629111[___252739265(375)]);} if(isset($_2125629111[___252739265(376)])){ COption::SetOptionString(___252739265(377), ___252739265(378), $GLOBALS['____544685608'][68]($_2125629111[___252739265(379)]));} if(isset($_2125629111[___252739265(380)])){ COption::SetOptionString(___252739265(381), ___252739265(382), $_2125629111[___252739265(383)]);} if(isset($_2125629111[___252739265(384)])){ COption::SetOptionString(___252739265(385), ___252739265(386), $_2125629111[___252739265(387)]);} if(isset($_2125629111[___252739265(388)])){ COption::SetOptionString(___252739265(389), ___252739265(390), $_2125629111[___252739265(391)]);} if(isset($_2125629111[___252739265(392)])){ COption::SetOptionString(___252739265(393), ___252739265(394), $_2125629111[___252739265(395)]);} if(isset($_2125629111[___252739265(396)])){ COption::SetOptionString(___252739265(397), ___252739265(398), $_2125629111[___252739265(399)]);} if(isset($_2125629111[___252739265(400)])){ COption::SetOptionString(___252739265(401), ___252739265(402), $_2125629111[___252739265(403)]);} if(isset($_2125629111[___252739265(404)])){ COption::SetOptionString(___252739265(405), ___252739265(406), $_2125629111[___252739265(407)]);} if(isset($_2125629111[___252739265(408)])){ COption::SetOptionString(___252739265(409), ___252739265(410), $_2125629111[___252739265(411)]);} if(isset($_2125629111[___252739265(412)])){ COption::SetOptionString(___252739265(413), ___252739265(414), $_2125629111[___252739265(415)]);} if(isset($_2125629111[___252739265(416)])){ COption::SetOptionString(___252739265(417), ___252739265(418), $_2125629111[___252739265(419)]);} foreach($_2125629111 as $_848869655 => $_1253875379){ if($GLOBALS['____544685608'][69]($_848869655,(250*2-500), round(0+1.5+1.5)) == ___252739265(420)){ COption::SetOptionString(___252739265(421), ___252739265(422).$GLOBALS['____544685608'][70]($_848869655, round(0+3)), $_1253875379);}} if($GLOBALS['____544685608'][71](___252739265(423), $_2125629111)){ $_492696035= array(); $_771381819= COption::GetOptionString(___252739265(424), ___252739265(425), ___252739265(426)); if($_771381819 <> ___252739265(427)){ $_771381819= $GLOBALS['____544685608'][72]($_771381819); $_492696035= $GLOBALS['____544685608'][73]($_771381819,[___252739265(428) => false]); if(!$GLOBALS['____544685608'][74]($_492696035)) $_492696035= array();} if(empty($_492696035)) $_492696035= array(___252739265(429) => array(), ___252739265(430) => array()); $_1725399427= $GLOBALS['____544685608'][75](___252739265(431), $_2125629111[___252739265(432)]); foreach($_1725399427 as $_1253875379) $_492696035[___252739265(433)][$_1253875379]= array(___252739265(434)); $_1504493957= $GLOBALS['____544685608'][76]($_492696035[___252739265(435)]); foreach($_1504493957 as $_219628798){ if($GLOBALS['____544685608'][77]($_219628798, $_1725399427) || $_219628798 == ___252739265(436)){ $_492696035[___252739265(437)][$_219628798]= array(___252739265(438));} else{ if($_492696035[___252739265(439)][$_219628798][(1440/2-720)] != ___252739265(440)) $_492696035[___252739265(441)][$_219628798]= array(___252739265(442));}} $_771381819= $GLOBALS['____544685608'][78]($_492696035); $_771381819= $GLOBALS['____544685608'][79]($_771381819); COption::SetOptionString(___252739265(443), ___252739265(444), $_771381819);} elseif($GLOBALS['____544685608'][80](___252739265(445), $_2125629111)){ $_492696035= array(); $_1725399427= $GLOBALS['____544685608'][81](___252739265(446), $_2125629111[___252739265(447)]); foreach($_1725399427 as $_1253875379) $_492696035[]= $_1253875379; $_771381819= $GLOBALS['____544685608'][82]($_492696035); $_771381819= $GLOBALS['____544685608'][83]($_771381819); COption::SetOptionString(___252739265(448), ___252739265(449), $_771381819);}} public static function UpdateUpdate(&$_1323799214, $_1617101418= false, $_882375976= "Y"){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(450)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, $_882375976, array(), array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(451) || $_950870591 <> ___252739265(452)){ if($_950870591 == ___252739265(453)) $_950870591= ___252739265(454).GetMessage(___252739265(455)).___252739265(456);} if($_950870591 == ___252739265(457)){ $_1010335756 .= ___252739265(458); CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][84](___252739265(459), ___252739265(460), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(461), $_1010335756, $_950870591); if($_1259411177 == ___252739265(462)){ if($_950870591 == ___252739265(463)) $_950870591= ___252739265(464).GetMessage(___252739265(465)).___252739265(466);} CUpdateClient::AddMessage2Log(___252739265(467).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+3)).___252739265(468));} if($_950870591 == ___252739265(469)){ if(!($_1327190513= $GLOBALS['____544685608'][85]($_SERVER[___252739265(470)].___252739265(471), ___252739265(472)))) $_950870591 .= ___252739265(473).$GLOBALS['____544685608'][86](___252739265(474), $_SERVER[___252739265(475)].___252739265(476), GetMessage(___252739265(477))).___252739265(478);} if($_950870591 == ___252739265(479)){ if(!$GLOBALS['____544685608'][87]($_1327190513, $_1259411177)) $_950870591 .= ___252739265(480).$GLOBALS['____544685608'][88](___252739265(481), $_SERVER[___252739265(482)].___252739265(483), GetMessage(___252739265(484))).___252739265(485);@$GLOBALS['____544685608'][89]($_1327190513);} if($_950870591 == ___252739265(486)){ $_1237670257= ___252739265(487); if(!CUpdateClient::UnGzipArchive($_1237670257, $_950870591, ___252739265(488))) $_950870591 .= ___252739265(489).GetMessage(___252739265(490)).___252739265(491);} if($_950870591 == ___252739265(492)){ $_982605162= $_SERVER[___252739265(493)].___252739265(494).$_1237670257; if(!$GLOBALS['____544685608'][90]($_982605162.___252739265(495)) ||!$GLOBALS['____544685608'][91]($_982605162.___252739265(496))) $_950870591 .= ___252739265(497).$GLOBALS['____544685608'][92](___252739265(498), $_982605162.___252739265(499), GetMessage(___252739265(500))).___252739265(501);} if($_950870591 == ___252739265(502)){ if(!$GLOBALS['____544685608'][93]($_982605162.___252739265(503))) $_950870591 .= ___252739265(504).$GLOBALS['____544685608'][94](___252739265(505), $_982605162.___252739265(506), GetMessage(___252739265(507))).___252739265(508);} if($_950870591 == ___252739265(509)) $_1259411177= $GLOBALS['____544685608'][95]($_982605162.___252739265(510)); if($_950870591 == ___252739265(511)){ $_1177282390= Array(); CUpdateClient::__1604662516($_1259411177, $_1177282390, $_950870591);} if($_950870591 == ___252739265(512)){ if(isset($_1177282390[___252739265(513)][___252739265(514)][___252739265(515)]) && $GLOBALS['____544685608'][96]($_1177282390[___252739265(516)][___252739265(517)][___252739265(518)]) &&!empty($_1177282390[___252739265(519)][___252739265(520)][___252739265(521)])){ for($_1127921678=(994-2*497), $_1932277283= $GLOBALS['____544685608'][97]($_1177282390[___252739265(522)][___252739265(523)][___252739265(524)]); $_1127921678< $_1932277283; $_1127921678++){ if($_1177282390[___252739265(525)][___252739265(526)][___252739265(527)][$_1127921678][___252739265(528)][___252739265(529)] <> ___252739265(530)) $_950870591 .= ___252739265(531).$_1177282390[___252739265(532)][___252739265(533)][___252739265(534)][$_1127921678][___252739265(535)][___252739265(536)].___252739265(537); $_950870591 .= $_1177282390[___252739265(538)][___252739265(539)][___252739265(540)][$_1127921678][___252739265(541)].___252739265(542);}}} if($_950870591 == ___252739265(543)){ $_510960545= $_SERVER[___252739265(544)].US_SHARED_KERNEL_PATH.___252739265(545); CUpdateClient::CheckDirPath($_510960545.___252739265(546), true); if(!$GLOBALS['____544685608'][98]($_510960545) ||!$GLOBALS['____544685608'][99]($_510960545)) $_950870591 .= ___252739265(547).$GLOBALS['____544685608'][100](___252739265(548), $_510960545, GetMessage(___252739265(549))).___252739265(550); if($_950870591 == ___252739265(551)) if(!$GLOBALS['____544685608'][101]($_510960545)) $_950870591 .= ___252739265(552).$GLOBALS['____544685608'][102](___252739265(553), $_510960545, GetMessage(___252739265(554))).___252739265(555);} if($_950870591 == ___252739265(556)){ CUpdateClient::CopyDirFiles($_982605162.___252739265(557), $_510960545, $_950870591);} if($_950870591 == ___252739265(558)){ CUpdateClient::AddMessage2Log(___252739265(559), ___252739265(560)); CUpdateClient::DeleteDirFilesEx($_982605162); bx_accelerator_reset();} if($_950870591 <> ___252739265(561)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(562)); $_1323799214 .= $_950870591; return false;} else return true;} public static function GetPHPSources(&$_1323799214, $_1617101418, $_882375976, $_864180909){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(563)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, $_882375976, $_864180909, array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(564) || $_950870591 <> ___252739265(565)){ if($_950870591 == ___252739265(566)) $_950870591= ___252739265(567).GetMessage(___252739265(568)).___252739265(569);} if($_950870591 == ___252739265(570)){ CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][103](___252739265(571), ___252739265(572), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(573), $_1010335756, $_950870591); if($_1259411177 == ___252739265(574)){ if($_950870591 == ___252739265(575)) $_950870591= ___252739265(576).GetMessage(___252739265(577)).___252739265(578);} CUpdateClient::AddMessage2Log(___252739265(579).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+3)).___252739265(580));} if($_950870591 == ___252739265(581)){ if(!($_1327190513= $GLOBALS['____544685608'][104]($_SERVER[___252739265(582)].___252739265(583), ___252739265(584)))) $_950870591= ___252739265(585).$GLOBALS['____544685608'][105](___252739265(586), $_SERVER[___252739265(587)].___252739265(588), GetMessage(___252739265(589))).___252739265(590);} if($_950870591 == ___252739265(591)){ $GLOBALS['____544685608'][106]($_1327190513, $_1259411177); $GLOBALS['____544685608'][107]($_1327190513);} if($_950870591 <> ___252739265(592)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(593)); $_1323799214 .= $_950870591; return false;} else return true;} public static function GetSupportFullLoad(&$_1323799214, $_1617101418, $_882375976, $_864180909){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(594)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, $_882375976, $_864180909, array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(595) || $_950870591 <> ___252739265(596)){ if($_950870591 == ___252739265(597)) $_950870591= ___252739265(598).GetMessage(___252739265(599)).___252739265(600);} if($_950870591 == ___252739265(601)){ $_1010335756 .= ___252739265(602); CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][108](___252739265(603), ___252739265(604), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(605), $_1010335756, $_950870591); if($_1259411177 == ___252739265(606)){ if($_950870591 == ___252739265(607)) $_950870591= ___252739265(608).GetMessage(___252739265(609)).___252739265(610);} CUpdateClient::AddMessage2Log(___252739265(611).$GLOBALS['____544685608'][109](CUpdateClient::getmicrotime()- $_1403495088, round(0+0.75+0.75+0.75+0.75)).___252739265(612));} if($_950870591 == ___252739265(613)){ if(!($_1327190513= $GLOBALS['____544685608'][110]($_SERVER[___252739265(614)].___252739265(615), ___252739265(616)))) $_950870591= ___252739265(617).$GLOBALS['____544685608'][111](___252739265(618), $_SERVER[___252739265(619)].___252739265(620), GetMessage(___252739265(621))).___252739265(622);} if($_950870591 == ___252739265(623)){ $GLOBALS['____544685608'][112]($_1327190513, $_1259411177); $GLOBALS['____544685608'][113]($_1327190513);} if($_950870591 <> ___252739265(624)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(625)); $_1323799214 .= $_950870591; return false;} else return true;} public static function RegisterVersion(&$_1323799214, $_1617101418= false, $_882375976= "Y"){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(626)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, $_882375976, array(), array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(627) || $_950870591 <> ___252739265(628)){ if($_950870591 == ___252739265(629)) $_950870591= ___252739265(630).GetMessage(___252739265(631)).___252739265(632);} if($_950870591 == ___252739265(633)){ $_1010335756 .= ___252739265(634); CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][114](___252739265(635), ___252739265(636), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(637), $_1010335756, $_950870591); if($_1259411177 == ___252739265(638)){ if($_950870591 == ___252739265(639)) $_950870591= ___252739265(640).GetMessage(___252739265(641)).___252739265(642);} CUpdateClient::AddMessage2Log(___252739265(643).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+3)).___252739265(644));} if($_950870591 == ___252739265(645)){ if(!($_1327190513= $GLOBALS['____544685608'][115]($_SERVER[___252739265(646)].___252739265(647), ___252739265(648)))) $_950870591 .= ___252739265(649).$GLOBALS['____544685608'][116](___252739265(650), $_SERVER[___252739265(651)].___252739265(652), GetMessage(___252739265(653))).___252739265(654);} if($_950870591 == ___252739265(655)){ if(!$GLOBALS['____544685608'][117]($_1327190513, $_1259411177)) $_950870591 .= ___252739265(656).$GLOBALS['____544685608'][118](___252739265(657), $_SERVER[___252739265(658)].___252739265(659), GetMessage(___252739265(660))).___252739265(661);@$GLOBALS['____544685608'][119]($_1327190513);} if($_950870591 == ___252739265(662)){ $_1237670257= ___252739265(663); if(!CUpdateClient::UnGzipArchive($_1237670257, $_950870591, ___252739265(664))) $_950870591 .= ___252739265(665).GetMessage(___252739265(666)).___252739265(667);} if($_950870591 == ___252739265(668)){ $_982605162= $_SERVER[___252739265(669)].___252739265(670).$_1237670257; if(!$GLOBALS['____544685608'][120]($_982605162.___252739265(671)) ||!$GLOBALS['____544685608'][121]($_982605162.___252739265(672))) $_950870591 .= ___252739265(673).$GLOBALS['____544685608'][122](___252739265(674), $_982605162.___252739265(675), GetMessage(___252739265(676))).___252739265(677);} if($_950870591 == ___252739265(678)){ if(!$GLOBALS['____544685608'][123]($_982605162.___252739265(679))) $_950870591 .= ___252739265(680).$GLOBALS['____544685608'][124](___252739265(681), $_982605162.___252739265(682), GetMessage(___252739265(683))).___252739265(684);} if($_950870591 == ___252739265(685)) $_1259411177= $GLOBALS['____544685608'][125]($_982605162.___252739265(686)); if($_950870591 == ___252739265(687)){ $_1177282390= Array(); CUpdateClient::__1604662516($_1259411177, $_1177282390, $_950870591);} if($_950870591 == ___252739265(688)){ if(isset($_1177282390[___252739265(689)][___252739265(690)][___252739265(691)]) && $GLOBALS['____544685608'][126]($_1177282390[___252739265(692)][___252739265(693)][___252739265(694)]) &&!empty($_1177282390[___252739265(695)][___252739265(696)][___252739265(697)])){ for($_1127921678=(802-2*401), $_1932277283= $GLOBALS['____544685608'][127]($_1177282390[___252739265(698)][___252739265(699)][___252739265(700)]); $_1127921678< $_1932277283; $_1127921678++){ if($_1177282390[___252739265(701)][___252739265(702)][___252739265(703)][$_1127921678][___252739265(704)][___252739265(705)] <> ___252739265(706)) $_950870591 .= ___252739265(707).$_1177282390[___252739265(708)][___252739265(709)][___252739265(710)][$_1127921678][___252739265(711)][___252739265(712)].___252739265(713); $_950870591 .= $_1177282390[___252739265(714)][___252739265(715)][___252739265(716)][$_1127921678][___252739265(717)].___252739265(718);}}} if($_950870591 == ___252739265(719)){ if(!$GLOBALS['____544685608'][128]($_982605162.___252739265(720)) ||!$GLOBALS['____544685608'][129]($_982605162.___252739265(721))) $_950870591 .= ___252739265(722).GetMessage(___252739265(723)).___252739265(724);} if($_950870591 == ___252739265(725)){ $_1784773117=@$GLOBALS['____544685608'][130]($_982605162.___252739265(726)); if($GLOBALS['____544685608'][131]($_1784773117) != $GLOBALS['____544685608'][132]($_1177282390[___252739265(727)][___252739265(728)][___252739265(729)][(902-2*451)][___252739265(730)][___252739265(731)])) $_950870591 .= ___252739265(732).GetMessage(___252739265(733)).___252739265(734);} if($_950870591 == ___252739265(735)){ if(!$GLOBALS['____544685608'][133]($_SERVER[___252739265(736)].US_SHARED_KERNEL_PATH.___252739265(737))) $_950870591 .= ___252739265(738).$GLOBALS['____544685608'][134](___252739265(739), $_SERVER[___252739265(740)].US_SHARED_KERNEL_PATH.___252739265(741), GetMessage(___252739265(742))).___252739265(743);} if($_950870591 == ___252739265(744)){ if(!$GLOBALS['____544685608'][135]($_982605162.___252739265(745), $_SERVER[___252739265(746)].US_SHARED_KERNEL_PATH.___252739265(747))) $_950870591 .= ___252739265(748).GetMessage(___252739265(749)).___252739265(750);@$GLOBALS['____544685608'][136]($_SERVER[___252739265(751)].US_SHARED_KERNEL_PATH.___252739265(752), BX_FILE_PERMISSIONS);} if($_950870591 == ___252739265(753)){ $strongUpdateCheck= COption::GetOptionString(___252739265(754), ___252739265(755), ___252739265(756)); if($strongUpdateCheck == ___252739265(757)){ $_1403625890= $GLOBALS['____544685608'][137]($GLOBALS['____544685608'][138]($GLOBALS['____544685608'][139]($_982605162.___252739265(758)))); $_1678013875= $GLOBALS['____544685608'][140]($GLOBALS['____544685608'][141]($GLOBALS['____544685608'][142]($_SERVER[___252739265(759)].US_SHARED_KERNEL_PATH.___252739265(760)))); if($_1678013875 != $_1403625890) $_950870591 .= ___252739265(761).$GLOBALS['____544685608'][143](___252739265(762), $_SERVER[___252739265(763)].US_SHARED_KERNEL_PATH.___252739265(764), GetMessage(___252739265(765))).___252739265(766);}} if($_950870591 == ___252739265(767)){ CUpdateClient::AddMessage2Log(___252739265(768), ___252739265(769)); CUpdateClient::DeleteDirFilesEx($_982605162);} if($_950870591 <> ___252739265(770)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(771)); $_1323799214 .= $_950870591; return false;} else return true;} public static function ActivateLicenseKey($_1228380152,&$_1323799214, $_1617101418= false, $_882375976= "Y"){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(772)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, $_882375976, array(), array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(773) || $_950870591 <> ___252739265(774)){ if($_950870591 == ___252739265(775)) $_950870591= ___252739265(776).GetMessage(___252739265(777)).___252739265(778);} if($_950870591 == ___252739265(779)){ $_1010335756 .= ___252739265(780); CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][144](___252739265(781), ___252739265(782), $_1010335756)); foreach($_1228380152 as $_219628798 => $_1416992166) $_1010335756 .= ___252739265(783).$_219628798.___252739265(784).$GLOBALS['____544685608'][145]($_1416992166); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(785), $_1010335756, $_950870591); if($_1259411177 == ___252739265(786)){ if($_950870591 == ___252739265(787)) $_950870591= ___252739265(788).GetMessage(___252739265(789)).___252739265(790);} CUpdateClient::AddMessage2Log(___252739265(791).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+0.6+0.6+0.6+0.6+0.6)).___252739265(792));} if($_950870591 == ___252739265(793)){ $_1177282390= Array(); CUpdateClient::__1604662516($_1259411177, $_1177282390, $_950870591);} if($_950870591 == ___252739265(794)){ if(isset($_1177282390[___252739265(795)][___252739265(796)][___252739265(797)]) && $GLOBALS['____544685608'][146]($_1177282390[___252739265(798)][___252739265(799)][___252739265(800)]) &&!empty($_1177282390[___252739265(801)][___252739265(802)][___252739265(803)])){ for($_1127921678=(828-2*414), $_1932277283= $GLOBALS['____544685608'][147]($_1177282390[___252739265(804)][___252739265(805)][___252739265(806)]); $_1127921678< $_1932277283; $_1127921678++){ if($_1177282390[___252739265(807)][___252739265(808)][___252739265(809)][$_1127921678][___252739265(810)][___252739265(811)] <> ___252739265(812)) $_950870591 .= ___252739265(813).$_1177282390[___252739265(814)][___252739265(815)][___252739265(816)][$_1127921678][___252739265(817)][___252739265(818)].___252739265(819); $_950870591 .= $_1177282390[___252739265(820)][___252739265(821)][___252739265(822)][$_1127921678][___252739265(823)].___252739265(824);}}} if($_950870591 == ___252739265(825)) CUpdateClient::AddMessage2Log(___252739265(826), ___252739265(827)); if($_950870591 <> ___252739265(828)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(829)); $_1323799214 .= $_950870591; return false;} else return true;} public static function GetNextStepLangUpdates(&$_1323799214, $_1617101418= false, $_2041950066= array()){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(830)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, ___252739265(831), array(), $_2041950066, array()); if($_1010335756 === false || $_1010335756 == ___252739265(832) || $_950870591 <> ___252739265(833)){ if($_950870591 == ___252739265(834)) $_950870591= ___252739265(835).GetMessage(___252739265(836)).___252739265(837);} if($_950870591 == ___252739265(838)){ CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][148](___252739265(839), ___252739265(840), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(841), $_1010335756, $_950870591); if($_1259411177 == ___252739265(842)){ if($_950870591 == ___252739265(843)) $_950870591= ___252739265(844).GetMessage(___252739265(845)).___252739265(846);} CUpdateClient::AddMessage2Log(___252739265(847).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+0.6+0.6+0.6+0.6+0.6)).___252739265(848));} if($_950870591 == ___252739265(849)){ if(!($_1327190513= $GLOBALS['____544685608'][149]($_SERVER[___252739265(850)].___252739265(851), ___252739265(852)))) $_950870591= ___252739265(853).$GLOBALS['____544685608'][150](___252739265(854), $_SERVER[___252739265(855)].___252739265(856), GetMessage(___252739265(857))).___252739265(858);} if($_950870591 == ___252739265(859)){ $GLOBALS['____544685608'][151]($_1327190513, $_1259411177); $GLOBALS['____544685608'][152]($_1327190513);} if($_950870591 <> ___252739265(860)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(861)); $_1323799214 .= $_950870591; return false;} else return true;} public static function GetNextStepHelpUpdates(&$_1323799214, $_1617101418= false, $_1874485780= array()){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(862)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, ___252739265(863), array(), array(), $_1874485780); if($_1010335756 === false || $_1010335756 == ___252739265(864) || $_950870591 <> ___252739265(865)){ if($_950870591 == ___252739265(866)) $_950870591= ___252739265(867).GetMessage(___252739265(868)).___252739265(869);} if($_950870591 == ___252739265(870)){ CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][153](___252739265(871), ___252739265(872), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(873), $_1010335756, $_950870591); if($_1259411177 == ___252739265(874)){ if($_950870591 == ___252739265(875)) $_950870591= ___252739265(876).GetMessage(___252739265(877)).___252739265(878);} CUpdateClient::AddMessage2Log(___252739265(879).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+1.5+1.5)).___252739265(880));} if($_950870591 == ___252739265(881)){ if(!($_1327190513= $GLOBALS['____544685608'][154]($_SERVER[___252739265(882)].___252739265(883), ___252739265(884)))) $_950870591= ___252739265(885).$GLOBALS['____544685608'][155](___252739265(886), $_SERVER[___252739265(887)].___252739265(888), GetMessage(___252739265(889))).___252739265(890);} if($_950870591 == ___252739265(891)){ $GLOBALS['____544685608'][156]($_1327190513, $_1259411177); $GLOBALS['____544685608'][157]($_1327190513);} if($_950870591 <> ___252739265(892)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(893)); $_1323799214 .= $_950870591; return false;} else return true;} public static function getSpd(){ return self::__397711467(US_BASE_MODULE, "crc_code", "");} public static function setSpd($_1253875379){ if($_1253875379 != "") COption::SetOptionString(US_BASE_MODULE, "crc_code", $_1253875379);} public static function LoadModulesUpdates(&$errorMessage,&$_1067260074, $_1617101418= false, $_882375976= "Y", $_864180909= array()){ $_1067260074= array(); $_1010335756= ___252739265(894); $_704234074= $_SERVER[___252739265(895)].___252739265(896); $_526328689= COption::GetOptionString(___252739265(897), ___252739265(898), ___252739265(899)); if($_526328689< round(0+5)) $_526328689= round(0+1+1+1+1+1); CUpdateClient::AddMessage2Log(___252739265(900)); if($GLOBALS['____544685608'][158]($_704234074.___252739265(901))){ $_1259411177= $GLOBALS['____544685608'][159]($_704234074.___252739265(902)); CUpdateClient::__1604662516($_1259411177, $_1067260074, $errorMessage);} if(empty($_1067260074) || $errorMessage <> ___252739265(903)){ $_1067260074= array(); if($GLOBALS['____544685608'][160]($_704234074.___252739265(904)))@$GLOBALS['____544685608'][161]($_704234074.___252739265(905)); if($GLOBALS['____544685608'][162]($_704234074.___252739265(906)))@$GLOBALS['____544685608'][163]($_704234074.___252739265(907)); if($errorMessage <> ___252739265(908)){ CUpdateClient::AddMessage2Log($errorMessage, ___252739265(909)); return ___252739265(910);}} if(empty($_1067260074)){ $_1010335756= CUpdateClient::CollectRequestData( $errorMessage, $_1617101418, $_882375976, $_864180909, array(), array()); if(empty($_1010335756) || $errorMessage <> ___252739265(911)){ if($errorMessage == ___252739265(912)) $errorMessage= ___252739265(913).GetMessage(___252739265(914)).___252739265(915); CUpdateClient::AddMessage2Log($errorMessage, ___252739265(916)); return ___252739265(917);} CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][164](___252739265(918), ___252739265(919), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(920), $_1010335756, $errorMessage); if($_1259411177 == ___252739265(921) || $errorMessage <> ___252739265(922)){ if($errorMessage == ___252739265(923)) $errorMessage= ___252739265(924).GetMessage(___252739265(925)).___252739265(926); CUpdateClient::AddMessage2Log($errorMessage, ___252739265(927)); return ___252739265(928);} CUpdateClient::AddMessage2Log(___252739265(929).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+0.6+0.6+0.6+0.6+0.6)).___252739265(930)); CUpdateClient::__1604662516($_1259411177, $_1067260074, $errorMessage); if($errorMessage <> ___252739265(931)){ CUpdateClient::AddMessage2Log($errorMessage, ___252739265(932)); return ___252739265(933);} if(isset($_1067260074[___252739265(934)][___252739265(935)][___252739265(936)])){ for($_1127921678=(179*2-358), $_1282805256= $GLOBALS['____544685608'][165]($_1067260074[___252739265(937)][___252739265(938)][___252739265(939)]); $_1127921678< $_1282805256; $_1127921678++) $errorMessage .= ___252739265(940).$_1067260074[___252739265(941)][___252739265(942)][___252739265(943)][$_1127921678][___252739265(944)][___252739265(945)].___252739265(946).$_1067260074[___252739265(947)][___252739265(948)][___252739265(949)][$_1127921678][___252739265(950)];} if($errorMessage <> ___252739265(951)){ CUpdateClient::AddMessage2Log($errorMessage, ___252739265(952)); return ___252739265(953);} if(isset($_1067260074[___252739265(954)][___252739265(955)][___252739265(956)])){ CUpdateClient::AddMessage2Log(___252739265(957), ___252739265(958)); return ___252739265(959);} $_1018555866= $GLOBALS['____544685608'][166]($_704234074.___252739265(960), ___252739265(961)); if(!$_1018555866){ $errorMessage= ___252739265(962).$GLOBALS['____544685608'][167](___252739265(963), $_SERVER[___252739265(964)].___252739265(965), GetMessage(___252739265(966))).___252739265(967); CUpdateClient::AddMessage2Log($errorMessage, ___252739265(968)); return ___252739265(969);} $GLOBALS['____544685608'][168]($_1018555866, $_1259411177); $GLOBALS['____544685608'][169]($_1018555866); CUpdateClient::AddMessage2Log(___252739265(970), ___252739265(971)); return ___252739265(972);} if(isset($_1067260074[___252739265(973)][___252739265(974)][___252739265(975)][(1292/2-646)][___252739265(976)][___252739265(977)])){ if($_1010335756 == ___252739265(978)){ $_1010335756= CUpdateClient::CollectRequestData($errorMessage, $_1617101418, $_882375976, $_864180909, array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(979) || $errorMessage <> ___252739265(980)){ if($errorMessage == ___252739265(981)) $errorMessage= ___252739265(982).GetMessage(___252739265(983)).___252739265(984); CUpdateClient::AddMessage2Log($errorMessage, ___252739265(985)); return ___252739265(986);}} CUpdateClient::AddMessage2Log(___252739265(987)); $_1905020326= static::__334796300( $_1067260074["DATA"]["#"]["FILE"][0]["@"]["NAME"], $_1067260074["DATA"]["#"]["FILE"][0]["@"]["SIZE"], $_704234074, $_526328689, $_1010335756, $errorMessage, "us_updater_modules.php");} elseif($_1067260074[___252739265(988)][___252739265(989)][___252739265(990)][(930-2*465)][___252739265(991)][___252739265(992)]){ CUpdateClient::AddMessage2Log(___252739265(993)); $_1905020326= static::__1359457298( $_1067260074["DATA"]["#"]["FILE"][0]["@"]["URL"], $_1067260074["DATA"]["#"]["FILE"][0]["@"]["SIZE"], $_704234074, $_526328689, $errorMessage);} else{ $_1905020326= ___252739265(994); $errorMessage .= GetMessage(___252739265(995));} if($_1905020326 == ___252739265(996)){ CUpdateClient::AddMessage2Log($errorMessage, ___252739265(997)); $errorMessage .= $errorMessage;} elseif($_1905020326 == ___252739265(998)){@$GLOBALS['____544685608'][170]($_704234074.___252739265(999));} CUpdateClient::AddMessage2Log(___252739265(1000), $_1905020326); return $_1905020326;} private static function __334796300($_1155344262, $_1751382369, $_1288595051, $_526328689, $_1659947616,&$errorMessage, $_958299203){ $_526328689= $GLOBALS['____544685608'][171]($_526328689); $_1333387459= min(186,0,62); if($_526328689>(844-2*422)) $_1333387459= getmicrotime(); $_1356093736= static::__1322302013(); $_191349102= $GLOBALS['____544685608'][172]($_1356093736[___252739265(1001)], $_1356093736[___252739265(1002)], $_1119909245, $_521926783, round(0+7.5+7.5+7.5+7.5)); if(!$_191349102){ $errorMessage .= static::__1617184128($_521926783, $_1119909245, $_1356093736); return ___252739265(1003);} $_1295428346= ___252739265(1004); if($_1356093736[___252739265(1005)]){ $_1295428346 .= ___252739265(1006).$_1356093736[___252739265(1007)].___252739265(1008).$_958299203.___252739265(1009); if($_1356093736[___252739265(1010)]) $_1295428346 .= ___252739265(1011).$GLOBALS['____544685608'][173]( $_1356093736[___252739265(1012)].___252739265(1013).$_1356093736[___252739265(1014)]).___252739265(1015);} else{ $_1295428346 .= ___252739265(1016).$_958299203.___252739265(1017);} $_1263285940= self::__397711467(US_BASE_MODULE, ___252739265(1018), ___252739265(1019)); $_1659947616 .= ___252739265(1020).$GLOBALS['____544685608'][174]($_1263285940); $_1659947616 .= ___252739265(1021).$GLOBALS['____544685608'][175]($GLOBALS['____544685608'][176](___252739265(1022))? ___252739265(1023): ___252739265(1024)); $_1823331535= $GLOBALS[___252739265(1025)]->GetVersion(); $_1659947616 .= ___252739265(1026).$GLOBALS['____544685608'][177]($_1823331535 != false? $_1823331535: ___252739265(1027)); $_1659947616 .= ___252739265(1028).COption::GetOptionString(___252739265(1029), ___252739265(1030), ___252739265(1031)); $_1659947616 .= ___252739265(1032).COption::GetOptionString(___252739265(1033), ___252739265(1034), ___252739265(1035)); $_1659947616 .= ___252739265(1036).$_1155344262; $_1941095887=($GLOBALS['____544685608'][178]($_1288595051.___252739265(1037))? $GLOBALS['____544685608'][179]($_1288595051.___252739265(1038)):(840-2*420)); $_1659947616 .= ___252739265(1039).$_1941095887; $_1295428346 .= ___252739265(1040); $_1295428346 .= ___252739265(1041); $_1295428346 .= ___252739265(1042).$_1356093736[___252739265(1043)].___252739265(1044); $_1295428346 .= ___252739265(1045); $_1295428346 .= ___252739265(1046); $_1295428346 .= ___252739265(1047).$GLOBALS['____544685608'][180]($_1659947616).___252739265(1048); $_1295428346 .= $_1659947616; $_1295428346 .= ___252739265(1049); $GLOBALS['____544685608'][181]($_191349102, $_1295428346); $_1197947708= ___252739265(1050); while(($_297439= $GLOBALS['____544685608'][182]($_191349102, round(0+4096))) && $_297439 != ___252739265(1051)) $_1197947708 .= $_297439; $_1278824077= $GLOBALS['____544685608'][183](___252739265(1052), $_1197947708); $_1925062872=(926-2*463); for($_1127921678=(1096/2-548), $_1282805256= $GLOBALS['____544685608'][184]($_1278824077); $_1127921678< $_1282805256; $_1127921678++){ if($GLOBALS['____544685608'][185]($_1278824077[$_1127921678], ___252739265(1053)) !== false){ $_1534248899= $GLOBALS['____544685608'][186]($_1278824077[$_1127921678], ___252739265(1054)); $_1925062872= $GLOBALS['____544685608'][187]($GLOBALS['____544685608'][188]($GLOBALS['____544685608'][189]($_1278824077[$_1127921678], $_1534248899+ round(0+0.25+0.25+0.25+0.25), $GLOBALS['____544685608'][190]($_1278824077[$_1127921678])- $_1534248899+ round(0+0.5+0.5))));}} if(($_1925062872+ $_1941095887) != $_1751382369){ $errorMessage .= ___252739265(1055).GetMessage(___252739265(1056)).___252739265(1057); return ___252739265(1058);}@$GLOBALS['____544685608'][191]($_1288595051.___252739265(1059)); if($GLOBALS['____544685608'][192]($_1288595051.___252739265(1060))){ if(@$GLOBALS['____544685608'][193]($_1288595051.___252739265(1061), $_1288595051.___252739265(1062))){ $_1018555866= $GLOBALS['____544685608'][194]($_1288595051.___252739265(1063), ___252739265(1064)); if($_1018555866){ $_2114766196= $GLOBALS['____544685608'][195]($_1288595051.___252739265(1065), ___252739265(1066)); do{ $_1383523654= $GLOBALS['____544685608'][196]($_2114766196, round(0+1638.4+1638.4+1638.4+1638.4+1638.4)); if($_1383523654 == ___252739265(1067)) break; $GLOBALS['____544685608'][197]($_1018555866, $_1383523654);} while(true); $GLOBALS['____544685608'][198]($_2114766196);@$GLOBALS['____544685608'][199]($_1288595051.___252739265(1068));} else{ $errorMessage .= ___252739265(1069).GetMessage(___252739265(1070)).___252739265(1071); return ___252739265(1072);}} else{ $errorMessage .= ___252739265(1073).GetMessage(___252739265(1074)).___252739265(1075); return ___252739265(1076);}} else{ $_1018555866= $GLOBALS['____544685608'][200]($_1288595051.___252739265(1077), ___252739265(1078)); if(!$_1018555866){ $errorMessage .= ___252739265(1079).GetMessage(___252739265(1080)).___252739265(1081); return ___252739265(1082);}} $_2137447634= true; while(true){ if($_526328689>(856-2*428) &&(CUpdateClient::getmicrotime()- $_1333387459)> $_526328689){ $_2137447634= false; break;} $_297439= $GLOBALS['____544685608'][201]($_191349102, round(0+40960)); if($_297439 == ___252739265(1083)) break; $GLOBALS['____544685608'][202]($_1018555866, $_297439);} $GLOBALS['____544685608'][203]($_1018555866); $GLOBALS['____544685608'][204]($_191349102); CUpdateClient::AddMessage2Log(___252739265(1084).(CUpdateClient::getmicrotime()- $_1333387459).___252739265(1085), ___252739265(1086)); $_263157950=($GLOBALS['____544685608'][205]($_1288595051.___252739265(1087))? $GLOBALS['____544685608'][206]($_1288595051.___252739265(1088)): min(30,0,10)); if($_263157950 == $_1751382369){ $_2137447634= true;} if($_2137447634){@$GLOBALS['____544685608'][207]($_1288595051); if(!@$GLOBALS['____544685608'][208]($_1288595051.___252739265(1089), $_1288595051)){ $errorMessage .= ___252739265(1090).GetMessage(___252739265(1091)).___252739265(1092); return ___252739265(1093);}@$GLOBALS['____544685608'][209]($_1288595051.___252739265(1094));} else{ return ___252739265(1095);} return ___252739265(1096);} private static function __1359457298($_1155344262, $_1751382369, $_1288595051, $_526328689,&$errorMessage){ $_355152023= 0; while($_355152023< round(0+3.3333333333333+3.3333333333333+3.3333333333333)){ $_355152023++; $_297439= static::__2079255045($_1155344262, $_1751382369, $_1288595051, $_526328689, $errorMessage); if($_297439 === ___252739265(1097)){ continue;} break;} if($_297439 === ___252739265(1098)){ $errorMessage= ___252739265(1099).GetMessage(___252739265(1100)).___252739265(1101); $_297439= ___252739265(1102);} return $_297439;} private static function __2079255045($_1155344262, $_1751382369, $_1288595051, $_526328689,&$errorMessage){ $_526328689= $GLOBALS['____544685608'][210]($_526328689); $_1333387459= min(4,0,1.3333333333333); if($_526328689>(1068/2-534)) $_1333387459= getmicrotime(); $_1941095887= $GLOBALS['____544685608'][211]($_1288595051.___252739265(1103))? $GLOBALS['____544685608'][212]($_1288595051.___252739265(1104)):(1348/2-674); $_1356093736= static::__1322302013(); $_191349102= $GLOBALS['____544685608'][213]($_1356093736[___252739265(1105)], $_1356093736[___252739265(1106)], $_1119909245, $_521926783, round(0+10+10+10)); if(!$_191349102){ $errorMessage .= static::__1617184128($_521926783, $_1119909245, $_1356093736); return ___252739265(1107);} if(!$_1155344262) $_1155344262= ___252739265(1108); $_1295428346= ___252739265(1109); if(!$_1356093736[___252739265(1110)]){ $_1295428346 .= ___252739265(1111).$_1155344262.___252739265(1112); $_1295428346 .= ___252739265(1113).$_1356093736[___252739265(1114)].___252739265(1115);} else{ $_1295428346 .= ___252739265(1116).$_1356093736[___252739265(1117)].$_1155344262.___252739265(1118); $_1295428346 .= ___252739265(1119).$_1356093736[___252739265(1120)].___252739265(1121); if($_1356093736[___252739265(1122)]) $_1295428346 .= ___252739265(1123).$GLOBALS['____544685608'][214]($_1356093736[___252739265(1124)].___252739265(1125).$_1356093736[___252739265(1126)]).___252739265(1127);} $_1295428346 .= ___252739265(1128); if($_1941095887>(203*2-406)) $_1295428346 .= ___252739265(1129).$_1941095887.___252739265(1130); $_1295428346 .= ___252739265(1131); $GLOBALS['____544685608'][215]($_191349102, $_1295428346); $_1197947708= ___252739265(1132); while(($_297439= $GLOBALS['____544685608'][216]($_191349102, round(0+1365.3333333333+1365.3333333333+1365.3333333333))) && $_297439!=___252739265(1133)) $_1197947708 .= $_297439; $_1278824077= $GLOBALS['____544685608'][217](___252739265(1134), $_1197947708); $_584097061=(176*2-352); $_1083790500= ___252739265(1135); if($GLOBALS['____544685608'][218](___252739265(1136), $_1278824077[(1116/2-558)], $_949850248)){ $_584097061= $GLOBALS['____544685608'][219]($_949850248[round(0+1.5+1.5)]); $_1083790500= $GLOBALS['____544685608'][220]($_1278824077[(982-2*491)], $GLOBALS['____544685608'][221]($_1278824077[(151*2-302)], $_584097061)+ $GLOBALS['____544685608'][222]($_584097061)+ round(0+1), $GLOBALS['____544685608'][223]($_1278824077[(1128/2-564)])- $GLOBALS['____544685608'][224]($_1278824077[min(224,0,74.666666666667)], $_584097061)+ round(0+0.2+0.2+0.2+0.2+0.2));} if($_584097061 != round(0+40+40+40+40+40) && $_584097061 != round(0+102+102) && $_584097061 != round(0+151+151) && $_584097061 != round(0+206)){ $errorMessage .= GetMessage(___252739265(1137)).___252739265(1138).$_584097061.___252739265(1139).$_1083790500.___252739265(1140); return ___252739265(1141);} $_1236349196= ___252739265(1142); $_1571808766=(227*2-454); for($_1127921678= round(0+0.2+0.2+0.2+0.2+0.2); $_1127921678< $GLOBALS['____544685608'][225]($_1278824077); $_1127921678++){ if($GLOBALS['____544685608'][226]($_1278824077[$_1127921678], ___252739265(1143)) !== false) $_1236349196= $GLOBALS['____544685608'][227]($GLOBALS['____544685608'][228]($_1278824077[$_1127921678], $GLOBALS['____544685608'][229]($_1278824077[$_1127921678], ___252739265(1144))+ round(0+0.5+0.5), $GLOBALS['____544685608'][230]($_1278824077[$_1127921678])- $GLOBALS['____544685608'][231]($_1278824077[$_1127921678], ___252739265(1145))+ round(0+0.33333333333333+0.33333333333333+0.33333333333333))); elseif($GLOBALS['____544685608'][232]($_1278824077[$_1127921678], ___252739265(1146)) !== false) $_1571808766= $GLOBALS['____544685608'][233]($GLOBALS['____544685608'][234]($GLOBALS['____544685608'][235]($_1278824077[$_1127921678], $GLOBALS['____544685608'][236]($_1278824077[$_1127921678], ___252739265(1147))+ round(0+0.33333333333333+0.33333333333333+0.33333333333333), $GLOBALS['____544685608'][237]($_1278824077[$_1127921678])- $GLOBALS['____544685608'][238]($_1278824077[$_1127921678], ___252739265(1148))+ round(0+0.2+0.2+0.2+0.2+0.2))));} $_1646795017= true; if($_1236349196 <> ___252739265(1149)){ if($GLOBALS['____544685608'][239](___252739265(1150), $_1236349196, $_949850248)){ $_1230350880= $GLOBALS['____544685608'][240]($_949850248[round(0+1)]); $_50919691= $GLOBALS['____544685608'][241]($_949850248[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]); $_1067207540= $GLOBALS['____544685608'][242]($_949850248[round(0+1+1+1)]); if(($_1230350880 == $_1941095887) &&($_50919691 ==($_1751382369- round(0+1))) &&($_1067207540 == $_1751382369)){ $_1646795017= false;}}} if($_1646795017){@$GLOBALS['____544685608'][243]($_1288595051.___252739265(1151)); $_1941095887= min(156,0,52);} if(($_1571808766+ $_1941095887) != $_1751382369){ $errorMessage .= ___252739265(1152).GetMessage(___252739265(1153)).___252739265(1154); return ___252739265(1155);} $_1018555866= $GLOBALS['____544685608'][244]($_1288595051.___252739265(1156), ___252739265(1157)); if(!$_1018555866){ $errorMessage .= ___252739265(1158).GetMessage(___252739265(1159)).___252739265(1160); return ___252739265(1161);} while(true){ if($_526328689>(980-2*490) &&(getmicrotime()- $_1333387459)> $_526328689){ break;} $_297439= $GLOBALS['____544685608'][245]($_191349102, round(0+256)* round(0+256+256+256+256)); if($_297439 == ___252739265(1162)){ break;} $GLOBALS['____544685608'][246]($_1018555866, $_297439);} $GLOBALS['____544685608'][247]($_1018555866); $GLOBALS['____544685608'][248]($_191349102); $GLOBALS['____544685608'][249](); $_263157950=($GLOBALS['____544685608'][250]($_1288595051.___252739265(1163))? $GLOBALS['____544685608'][251]($_1288595051.___252739265(1164)):(792-2*396)); if((int)$_263157950 === (int)$_1751382369){@$GLOBALS['____544685608'][252]($_1288595051); if(!@$GLOBALS['____544685608'][253]($_1288595051.___252739265(1165), $_1288595051)){ $errorMessage .= ___252739265(1166).GetMessage(___252739265(1167)).___252739265(1168); return ___252739265(1169);}@$GLOBALS['____544685608'][254]($_1288595051.___252739265(1170));} else{ return ___252739265(1171);} return ___252739265(1172);} public static function LoadLangsUpdates(&$errorMessage,&$_1067260074, $_1617101418= false, $_882375976= "Y", $_2041950066= array()){ $_1067260074= array(); $_1010335756= ___252739265(1173); $_704234074= $_SERVER[___252739265(1174)].___252739265(1175); $_526328689= COption::GetOptionString(___252739265(1176), ___252739265(1177), ___252739265(1178)); if($_526328689< round(0+1.25+1.25+1.25+1.25)) $_526328689= round(0+1.25+1.25+1.25+1.25); CUpdateClient::AddMessage2Log(___252739265(1179)); if($GLOBALS['____544685608'][255]($_704234074.___252739265(1180))){ $_1259411177= $GLOBALS['____544685608'][256]($_704234074.___252739265(1181)); CUpdateClient::__1604662516($_1259411177, $_1067260074, $errorMessage);} if(empty($_1067260074) || $errorMessage <> ___252739265(1182)){ $_1067260074= array(); if($GLOBALS['____544685608'][257]($_704234074.___252739265(1183)))@$GLOBALS['____544685608'][258]($_704234074.___252739265(1184)); if($GLOBALS['____544685608'][259]($_704234074.___252739265(1185)))@$GLOBALS['____544685608'][260]($_704234074.___252739265(1186)); if($errorMessage <> ___252739265(1187)){ CUpdateClient::AddMessage2Log($errorMessage, ___252739265(1188)); return ___252739265(1189);}} if(empty($_1067260074)){ $_1010335756= CUpdateClient::CollectRequestData( $errorMessage, $_1617101418, $_882375976, array(), $_2041950066, array()); if(empty($_1010335756) || $errorMessage <> ___252739265(1190)){ if($errorMessage == ___252739265(1191)) $errorMessage= ___252739265(1192).GetMessage(___252739265(1193)).___252739265(1194); CUpdateClient::AddMessage2Log($errorMessage, ___252739265(1195)); return ___252739265(1196);} CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][261](___252739265(1197), ___252739265(1198), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(1199), $_1010335756, $errorMessage); if($_1259411177 == ___252739265(1200) || $errorMessage <> ___252739265(1201)){ if($errorMessage == ___252739265(1202)) $errorMessage= ___252739265(1203).GetMessage(___252739265(1204)).___252739265(1205); CUpdateClient::AddMessage2Log($errorMessage, ___252739265(1206)); return ___252739265(1207);} CUpdateClient::AddMessage2Log(___252739265(1208).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+0.75+0.75+0.75+0.75)).___252739265(1209)); CUpdateClient::__1604662516($_1259411177, $_1067260074, $errorMessage); if($errorMessage <> ___252739265(1210)){ CUpdateClient::AddMessage2Log($errorMessage, ___252739265(1211)); return ___252739265(1212);} if(isset($_1067260074[___252739265(1213)][___252739265(1214)][___252739265(1215)])){ for($_1127921678= min(182,0,60.666666666667), $_1282805256= $GLOBALS['____544685608'][262]($_1067260074[___252739265(1216)][___252739265(1217)][___252739265(1218)]); $_1127921678< $_1282805256; $_1127921678++) $errorMessage .= ___252739265(1219).$_1067260074[___252739265(1220)][___252739265(1221)][___252739265(1222)][$_1127921678][___252739265(1223)][___252739265(1224)].___252739265(1225).$_1067260074[___252739265(1226)][___252739265(1227)][___252739265(1228)][$_1127921678][___252739265(1229)];} if($errorMessage <> ___252739265(1230)){ CUpdateClient::AddMessage2Log($errorMessage, ___252739265(1231)); return ___252739265(1232);} if(isset($_1067260074[___252739265(1233)][___252739265(1234)][___252739265(1235)])){ CUpdateClient::AddMessage2Log(___252739265(1236), ___252739265(1237)); return ___252739265(1238);} $_1018555866= $GLOBALS['____544685608'][263]($_704234074.___252739265(1239), ___252739265(1240)); if(!$_1018555866){ $errorMessage= ___252739265(1241).$GLOBALS['____544685608'][264](___252739265(1242), $_SERVER[___252739265(1243)].___252739265(1244), GetMessage(___252739265(1245))).___252739265(1246); CUpdateClient::AddMessage2Log($errorMessage, ___252739265(1247)); return ___252739265(1248);} $GLOBALS['____544685608'][265]($_1018555866, $_1259411177); $GLOBALS['____544685608'][266]($_1018555866); CUpdateClient::AddMessage2Log(___252739265(1249), ___252739265(1250)); return ___252739265(1251);} if(isset($_1067260074[___252739265(1252)][___252739265(1253)][___252739265(1254)][min(90,0,30)][___252739265(1255)][___252739265(1256)])){ if($_1010335756 == ___252739265(1257)){ $_1010335756= CUpdateClient::CollectRequestData( $errorMessage, $_1617101418, $_882375976, array(), $_2041950066, array()); if(empty($_1010335756) || $errorMessage <> ___252739265(1258)){ if($errorMessage == ___252739265(1259)) $errorMessage= ___252739265(1260).GetMessage(___252739265(1261)).___252739265(1262); CUpdateClient::AddMessage2Log($errorMessage, ___252739265(1263)); return ___252739265(1264);}} CUpdateClient::AddMessage2Log(___252739265(1265)); $_1905020326= static::__334796300( $_1067260074["DATA"]["#"]["FILE"][0]["@"]["NAME"], $_1067260074["DATA"]["#"]["FILE"][0]["@"]["SIZE"], $_704234074, $_526328689, $_1010335756, $errorMessage, "us_updater_langs.php");} elseif($_1067260074[___252739265(1266)][___252739265(1267)][___252739265(1268)][(1268/2-634)][___252739265(1269)][___252739265(1270)]){ CUpdateClient::AddMessage2Log(___252739265(1271)); $_1905020326= static::__1359457298( $_1067260074["DATA"]["#"]["FILE"][0]["@"]["URL"], $_1067260074["DATA"]["#"]["FILE"][0]["@"]["SIZE"], $_704234074, $_526328689, $errorMessage);} else{ $_1905020326= ___252739265(1272); $errorMessage .= GetMessage(___252739265(1273));} if($_1905020326 == ___252739265(1274)){ CUpdateClient::AddMessage2Log($errorMessage, ___252739265(1275)); $errorMessage .= $errorMessage;} elseif($_1905020326 == ___252739265(1276)){@$GLOBALS['____544685608'][267]($_704234074.___252739265(1277));} CUpdateClient::AddMessage2Log(___252739265(1278), $_1905020326); return $_1905020326;} public static function GetNextStepUpdates(&$_1323799214, $_1617101418= false, $_882375976= "Y", $_864180909= array()){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(1279)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, $_882375976, $_864180909, array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(1280) || $_950870591 <> ___252739265(1281)){ if($_950870591 == ___252739265(1282)) $_950870591= ___252739265(1283).GetMessage(___252739265(1284)).___252739265(1285);} if($_950870591 == ___252739265(1286)){ CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][268](___252739265(1287), ___252739265(1288), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(1289), $_1010335756, $_950870591); if($_1259411177 == ___252739265(1290)){ if($_950870591 == ___252739265(1291)) $_950870591= ___252739265(1292).GetMessage(___252739265(1293)).___252739265(1294);} CUpdateClient::AddMessage2Log(___252739265(1295).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+1.5+1.5)).___252739265(1296));} if($_950870591 == ___252739265(1297)){ if(!($_1327190513= $GLOBALS['____544685608'][269]($_SERVER[___252739265(1298)].___252739265(1299), ___252739265(1300)))) $_950870591= ___252739265(1301).$GLOBALS['____544685608'][270](___252739265(1302), $_SERVER[___252739265(1303)].___252739265(1304), GetMessage(___252739265(1305))).___252739265(1306);} if($_950870591 == ___252739265(1307)){ $GLOBALS['____544685608'][271]($_1327190513, $_1259411177); $GLOBALS['____544685608'][272]($_1327190513);} if($_950870591 <> ___252739265(1308)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(1309)); $_1323799214 .= $_950870591; return false;} else return true;} public static function UnGzipArchive(&$_508882360,&$_1323799214, $_883772358= true){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(1310)); $_1403495088= CUpdateClient::getmicrotime(); $_1649220137= $_SERVER[___252739265(1311)].___252739265(1312); if(!$GLOBALS['____544685608'][273]($_1649220137) ||!$GLOBALS['____544685608'][274]($_1649220137)) $_950870591 .= ___252739265(1313).$GLOBALS['____544685608'][275](___252739265(1314), $_1649220137, GetMessage(___252739265(1315))).___252739265(1316); if($_950870591 == ___252739265(1317)){ if(!$GLOBALS['____544685608'][276]($_1649220137)) $_950870591 .= ___252739265(1318).$GLOBALS['____544685608'][277](___252739265(1319), $_1649220137, GetMessage(___252739265(1320))).___252739265(1321);} if($_950870591 == ___252739265(1322)){ $_508882360= ___252739265(1323).$GLOBALS['____544685608'][278](); $_982605162= $_SERVER[___252739265(1324)].___252739265(1325).$_508882360; CUpdateClient::CheckDirPath($_982605162.___252739265(1326), true); if(!$GLOBALS['____544685608'][279]($_982605162) ||!$GLOBALS['____544685608'][280]($_982605162)) $_950870591 .= ___252739265(1327).$GLOBALS['____544685608'][281](___252739265(1328), $_982605162, GetMessage(___252739265(1329))).___252739265(1330); elseif(!$GLOBALS['____544685608'][282]($_982605162)) $_950870591 .= ___252739265(1331).$GLOBALS['____544685608'][283](___252739265(1332), $_982605162, GetMessage(___252739265(1333))).___252739265(1334);} if($_950870591 == ___252739265(1335)){ $_834866818= true; $_663192695= $GLOBALS['____544685608'][284]($_1649220137, ___252739265(1336)); $_696805109= $GLOBALS['____544685608'][285]($_663192695, $GLOBALS['____544685608'][286](___252739265(1337))); $GLOBALS['____544685608'][287]($_663192695); if($_696805109 == ___252739265(1338)) $_834866818= false;} if($_950870591 == ___252739265(1339)){ if($_834866818 &&!$GLOBALS['____544685608'][288](___252739265(1340))) $_834866818= false;} if($_950870591 == ___252739265(1341)){ if($_834866818) $_1488032735= $GLOBALS['____544685608'][289]($_1649220137, ___252739265(1342)); else $_1488032735= $GLOBALS['____544685608'][290]($_1649220137, ___252739265(1343)); if(!$_1488032735) $_950870591 .= ___252739265(1344).$GLOBALS['____544685608'][291](___252739265(1345), $_1649220137, GetMessage(___252739265(1346))).___252739265(1347);} if($_950870591 == ___252739265(1348)){ if($_834866818) $_696805109= $GLOBALS['____544685608'][292]($_1488032735, $GLOBALS['____544685608'][293](___252739265(1349))); else $_696805109= $GLOBALS['____544685608'][294]($_1488032735, $GLOBALS['____544685608'][295](___252739265(1350))); if($_696805109 != ___252739265(1351)){ $_950870591 .= ___252739265(1352).$GLOBALS['____544685608'][296](___252739265(1353), $_1649220137, GetMessage(___252739265(1354))).___252739265(1355); if($_834866818) $GLOBALS['____544685608'][297]($_1488032735); else $GLOBALS['____544685608'][298]($_1488032735);}} if($_950870591 == ___252739265(1356)){ $strongUpdateCheck= COption::GetOptionString(___252739265(1357), ___252739265(1358), ___252739265(1359)); while(true){ if($_834866818) $_1741938807= $GLOBALS['____544685608'][299]($_1488032735, round(0+2.5+2.5)); else $_1741938807= $GLOBALS['____544685608'][300]($_1488032735, round(0+1+1+1+1+1)); $_1741938807= $GLOBALS['____544685608'][301]($_1741938807); if($GLOBALS['____544685608'][302]($_1741938807)>(1140/2-570) && $GLOBALS['____544685608'][303]($_1741938807).___252739265(1360)==$_1741938807.___252739265(1361)){ $_1741938807= $GLOBALS['____544685608'][304]($_1741938807);} else{ if($_1741938807 != ___252739265(1362)) $_950870591 .= ___252739265(1363).$GLOBALS['____544685608'][305](___252739265(1364), $_1649220137, GetMessage(___252739265(1365))).___252739265(1366); break;} if($_834866818) $_1216286105= $GLOBALS['____544685608'][306]($_1488032735, $_1741938807); else $_1216286105= $GLOBALS['____544685608'][307]($_1488032735, $_1741938807); $_1961594296= $GLOBALS['____544685608'][308](___252739265(1367), $_1216286105); if($GLOBALS['____544685608'][309]($_1961594296) != round(0+0.75+0.75+0.75+0.75)){ $_950870591 .= ___252739265(1368).$GLOBALS['____544685608'][310](___252739265(1369), $_1649220137, GetMessage(___252739265(1370))).___252739265(1371); break;} $_1972782387= $_1961594296[min(54,0,18)]; $_1702688728= $_1961594296[round(0+0.25+0.25+0.25+0.25)]; $_2040903946= $_1961594296[round(0+1+1)]; $_1905140466= ___252739265(1372); if($GLOBALS['____544685608'][311]($_1972782387)> min(20,0,6.6666666666667)){ if($_834866818) $_1905140466= $GLOBALS['____544685608'][312]($_1488032735, $_1972782387); else $_1905140466= $GLOBALS['____544685608'][313]($_1488032735, $_1972782387);} $_1678013875= $GLOBALS['____544685608'][314]($GLOBALS['____544685608'][315]($_1905140466)); if($_1678013875 !== $_2040903946){ $_950870591 .= ___252739265(1373).$GLOBALS['____544685608'][316](___252739265(1374), $_1702688728, GetMessage(___252739265(1375))).___252739265(1376); break;} else{ CUpdateClient::CheckDirPath($_982605162.$_1702688728, true); if(!($_1327190513= $GLOBALS['____544685608'][317]($_982605162.$_1702688728, ___252739265(1377)))){ $_950870591 .= ___252739265(1378).$GLOBALS['____544685608'][318](___252739265(1379), $_982605162.$_1702688728, GetMessage(___252739265(1380))).___252739265(1381); break;} if($_1905140466 <> ___252739265(1382) &&!$GLOBALS['____544685608'][319]($_1327190513, $_1905140466)){ $_950870591 .= ___252739265(1383).$GLOBALS['____544685608'][320](___252739265(1384), $_982605162.$_1702688728, GetMessage(___252739265(1385))).___252739265(1386);@$GLOBALS['____544685608'][321]($_1327190513); break;} $GLOBALS['____544685608'][322]($_1327190513); if($strongUpdateCheck == ___252739265(1387)){ $_1678013875= $GLOBALS['____544685608'][323]($GLOBALS['____544685608'][324]($GLOBALS['____544685608'][325]($_982605162.$_1702688728))); if($_1678013875 !== $_2040903946){ $_950870591 .= ___252739265(1388).$GLOBALS['____544685608'][326](___252739265(1389), $_1702688728, GetMessage(___252739265(1390))).___252739265(1391); break;}}}} if($_834866818) $GLOBALS['____544685608'][327]($_1488032735); else $GLOBALS['____544685608'][328]($_1488032735);} if($_950870591 == ___252739265(1392)){ if($_883772358)@$GLOBALS['____544685608'][329]($_1649220137);} CUpdateClient::AddMessage2Log(___252739265(1393).Round(CUpdateClient::getmicrotime()-$_1403495088, round(0+1.5+1.5)).___252739265(1394)); if($_950870591 <> ___252739265(1395)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(1396)); $_1323799214 .= $_950870591; return false;} else return true;} public static function CheckUpdatability($_508882360,&$_1323799214){ $_950870591= ""; $_982605162= $_SERVER[___252739265(1397)].___252739265(1398).$_508882360; if(!$GLOBALS['____544685608'][330]($_982605162) ||!$GLOBALS['____544685608'][331]($_982605162)) $_950870591 .= ___252739265(1399).$GLOBALS['____544685608'][332](___252739265(1400), $_982605162, GetMessage(___252739265(1401))).___252739265(1402); if($_950870591 == ___252739265(1403)) if(!$GLOBALS['____544685608'][333]($_982605162)) $_950870591 .= ___252739265(1404).$GLOBALS['____544685608'][334](___252739265(1405), $_982605162, GetMessage(___252739265(1406))).___252739265(1407); if($_1881832549=@$GLOBALS['____544685608'][335]($_982605162)){ while(($_517023637= $GLOBALS['____544685608'][336]($_1881832549)) !== false){ if($_517023637 == ___252739265(1408) || $_517023637 == ___252739265(1409)) continue; if($GLOBALS['____544685608'][337]($_982605162.___252739265(1410).$_517023637)){ CUpdateClient::CheckUpdatability($_508882360.___252739265(1411).$_517023637, $_950870591);} elseif($GLOBALS['____544685608'][338]($_982605162.___252739265(1412).$_517023637)){ $_259739884= $_SERVER[___252739265(1413)].US_SHARED_KERNEL_PATH.___252739265(1414).$GLOBALS['____544685608'][339]($_508882360.___252739265(1415).$_517023637, $GLOBALS['____544685608'][340]($_508882360.___252739265(1416).$_517023637, ___252739265(1417))); if($GLOBALS['____544685608'][341]($_259739884)){ if(!$GLOBALS['____544685608'][342]($_259739884)) $_950870591 .= ___252739265(1418).$GLOBALS['____544685608'][343](___252739265(1419), $_259739884, GetMessage(___252739265(1420))).___252739265(1421);} else{ $_278080920= CUpdateClient::bxstrrpos($_259739884, ___252739265(1422)); $_259739884= $GLOBALS['____544685608'][344]($_259739884,(1428/2-714), $_278080920); if($GLOBALS['____544685608'][345]($_259739884)> round(0+0.5+0.5)) $_259739884= $GLOBALS['____544685608'][346]($_259739884, ___252739265(1423)); $_278080920= CUpdateClient::bxstrrpos($_259739884, ___252739265(1424)); while($_278080920>(1300/2-650)){ if($GLOBALS['____544685608'][347]($_259739884) && $GLOBALS['____544685608'][348]($_259739884)){ if(!$GLOBALS['____544685608'][349]($_259739884)) $_950870591 .= ___252739265(1425).$GLOBALS['____544685608'][350](___252739265(1426), $_259739884, GetMessage(___252739265(1427))).___252739265(1428); break;} $_259739884= $GLOBALS['____544685608'][351]($_259739884,(856-2*428), $_278080920); $_278080920= CUpdateClient::bxstrrpos($_259739884, ___252739265(1429));}}}}@$GLOBALS['____544685608'][352]($_1881832549);} if($_950870591 <> ___252739265(1430)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(1431)); $_1323799214 .= $_950870591; return false;} else return true;} public static function GetStepUpdateInfo($_508882360,&$_1323799214){ $_815989955= array(); $_950870591= ___252739265(1432); CUpdateClient::AddMessage2Log(___252739265(1433)); $_982605162= $_SERVER[___252739265(1434)].___252739265(1435).$_508882360; if(!$GLOBALS['____544685608'][353]($_982605162) ||!$GLOBALS['____544685608'][354]($_982605162)) $_950870591 .= ___252739265(1436).$GLOBALS['____544685608'][355](___252739265(1437), $_982605162, GetMessage(___252739265(1438))).___252739265(1439); if($_950870591 == ___252739265(1440)) if(!$GLOBALS['____544685608'][356]($_982605162)) $_950870591 .= ___252739265(1441).$GLOBALS['____544685608'][357](___252739265(1442), $_982605162, GetMessage(___252739265(1443))).___252739265(1444); if($_950870591 == ___252739265(1445)) if(!$GLOBALS['____544685608'][358]($_982605162.___252739265(1446)) ||!$GLOBALS['____544685608'][359]($_982605162.___252739265(1447))) $_950870591 .= ___252739265(1448).$GLOBALS['____544685608'][360](___252739265(1449), $_982605162.___252739265(1450), GetMessage(___252739265(1451))).___252739265(1452); if($_950870591 == ___252739265(1453)) if(!$GLOBALS['____544685608'][361]($_982605162.___252739265(1454))) $_950870591 .= ___252739265(1455).$GLOBALS['____544685608'][362](___252739265(1456), $_982605162.___252739265(1457), GetMessage(___252739265(1458))).___252739265(1459); if($_950870591 == ___252739265(1460)) $_1259411177= $GLOBALS['____544685608'][363]($_982605162.___252739265(1461)); if($_950870591 == ___252739265(1462)){ $_815989955= Array(); CUpdateClient::__1604662516($_1259411177, $_815989955, $_950870591);} if($_950870591 == ___252739265(1463)){ if(!isset($_815989955[___252739265(1464)]) ||!$GLOBALS['____544685608'][364]($_815989955[___252739265(1465)])) $_950870591 .= ___252739265(1466).GetMessage(___252739265(1467)).___252739265(1468);} if($_950870591 <> ___252739265(1469)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(1470)); $_1323799214 .= $_950870591; return false;} else return $_815989955;} public static function UpdateStepHelps($_508882360,&$_1323799214){ $_950870591= ""; CUpdateClient::AddMessage2Log(___252739265(1471)); $_1403495088= CUpdateClient::getmicrotime(); $_982605162= $_SERVER[___252739265(1472)].___252739265(1473).$_508882360; $_1131598678= $_SERVER[___252739265(1474)].US_SHARED_KERNEL_PATH.___252739265(1475); $_1668305463= array(); $_1881832549=@$GLOBALS['____544685608'][365]($_982605162); if($_1881832549){ while(false !==($_1221076400= $GLOBALS['____544685608'][366]($_1881832549))){ if($_1221076400 == ___252739265(1476) || $_1221076400 == ___252739265(1477)) continue; if($GLOBALS['____544685608'][367]($_982605162.___252739265(1478).$_1221076400)) $_1668305463[]= $_1221076400;} $GLOBALS['____544685608'][368]($_1881832549);} if(!$GLOBALS['____544685608'][369]($_1668305463) || empty($_1668305463)) $_950870591 .= ___252739265(1479).GetMessage(___252739265(1480)).___252739265(1481); if(!$GLOBALS['____544685608'][370]($_982605162) ||!$GLOBALS['____544685608'][371]($_982605162)) $_950870591 .= ___252739265(1482).$GLOBALS['____544685608'][372](___252739265(1483), $_982605162, GetMessage(___252739265(1484))).___252739265(1485); if($_950870591 == ___252739265(1486)) if(!$GLOBALS['____544685608'][373]($_982605162)) $_950870591 .= ___252739265(1487).$GLOBALS['____544685608'][374](___252739265(1488), $_982605162, GetMessage(___252739265(1489))).___252739265(1490); if($_950870591 == ___252739265(1491)){ CUpdateClient::CheckDirPath($_1131598678.___252739265(1492), true); if(!$GLOBALS['____544685608'][375]($_1131598678) ||!$GLOBALS['____544685608'][376]($_1131598678)) $_950870591 .= ___252739265(1493).$GLOBALS['____544685608'][377](___252739265(1494), $_1131598678, GetMessage(___252739265(1495))).___252739265(1496); elseif(!$GLOBALS['____544685608'][378]($_1131598678)) $_950870591 .= ___252739265(1497).$GLOBALS['____544685608'][379](___252739265(1498), $_1131598678, GetMessage(___252739265(1499))).___252739265(1500);} if($_950870591 == ___252739265(1501)){ for($_1127921678= min(176,0,58.666666666667), $_1932277283= $GLOBALS['____544685608'][380]($_1668305463); $_1127921678< $_1932277283; $_1127921678++){ $_1188614950= ___252739265(1502); $_2104086583= $_982605162.___252739265(1503).$_1668305463[$_1127921678]; if(!$GLOBALS['____544685608'][381]($_2104086583) ||!$GLOBALS['____544685608'][382]($_2104086583)) $_1188614950 .= ___252739265(1504).$GLOBALS['____544685608'][383](___252739265(1505), $_2104086583, GetMessage(___252739265(1506))).___252739265(1507); if($_1188614950 == ___252739265(1508)) if(!$GLOBALS['____544685608'][384]($_2104086583)) $_1188614950 .= ___252739265(1509).$GLOBALS['____544685608'][385](___252739265(1510), $_2104086583, GetMessage(___252739265(1511))).___252739265(1512); if($_1188614950 == ___252739265(1513)){ if($GLOBALS['____544685608'][386]($_1131598678.___252739265(1514).$_1668305463[$_1127921678].___252739265(1515))) CUpdateClient::DeleteDirFilesEx($_1131598678.___252739265(1516).$_1668305463[$_1127921678].___252739265(1517)); if($GLOBALS['____544685608'][387]($_1131598678.___252739265(1518).$_1668305463[$_1127921678].___252739265(1519))) $_1188614950 .= ___252739265(1520).$GLOBALS['____544685608'][388](___252739265(1521), $_1131598678.___252739265(1522).$_1668305463[$_1127921678].___252739265(1523), GetMessage(___252739265(1524))).___252739265(1525);} if($_1188614950 == ___252739265(1526)){ if($GLOBALS['____544685608'][389]($_1131598678.___252739265(1527).$_1668305463[$_1127921678])) if(!$GLOBALS['____544685608'][390]($_1131598678.___252739265(1528).$_1668305463[$_1127921678], $_1131598678.___252739265(1529).$_1668305463[$_1127921678].___252739265(1530))) $_1188614950 .= ___252739265(1531).$GLOBALS['____544685608'][391](___252739265(1532), $_1131598678.___252739265(1533).$_1668305463[$_1127921678], GetMessage(___252739265(1534))).___252739265(1535);} if($_1188614950 == ___252739265(1536)){ CUpdateClient::CheckDirPath($_1131598678.___252739265(1537).$_1668305463[$_1127921678].___252739265(1538), true); if(!$GLOBALS['____544685608'][392]($_1131598678.___252739265(1539).$_1668305463[$_1127921678]) ||!$GLOBALS['____544685608'][393]($_1131598678.___252739265(1540).$_1668305463[$_1127921678])) $_1188614950 .= ___252739265(1541).$GLOBALS['____544685608'][394](___252739265(1542), $_1131598678.___252739265(1543).$_1668305463[$_1127921678], GetMessage(___252739265(1544))).___252739265(1545); elseif(!$GLOBALS['____544685608'][395]($_1131598678.___252739265(1546).$_1668305463[$_1127921678])) $_1188614950 .= ___252739265(1547).$GLOBALS['____544685608'][396](___252739265(1548), $_1131598678.___252739265(1549).$_1668305463[$_1127921678], GetMessage(___252739265(1550))).___252739265(1551);} if($_1188614950 == ___252739265(1552)) CUpdateClient::CopyDirFiles($_2104086583, $_1131598678.___252739265(1553).$_1668305463[$_1127921678], $_1188614950); if($_1188614950 <> ___252739265(1554)){ $_950870591 .= $_1188614950;} else{ if($GLOBALS['____544685608'][397]($_1131598678.___252739265(1555).$_1668305463[$_1127921678].___252739265(1556))) CUpdateClient::DeleteDirFilesEx($_1131598678.___252739265(1557).$_1668305463[$_1127921678].___252739265(1558));}} CUpdateClient::ClearUpdateFolder($_982605162);} CUpdateClient::AddMessage2Log(___252739265(1559).Round(CUpdateClient::getmicrotime()-$_1403495088, round(0+0.6+0.6+0.6+0.6+0.6)).___252739265(1560)); if($_950870591 <> ___252739265(1561)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(1562)); $_1323799214 .= $_950870591; return false;} else return true;} public static function UpdateStepLangs($_508882360,&$_1323799214){ global $DB; $_950870591= ___252739265(1563); $_1403495088= CUpdateClient::getmicrotime(); $_982605162= $_SERVER[___252739265(1564)].___252739265(1565).$_508882360; if(!$GLOBALS['____544685608'][398]($_982605162) ||!$GLOBALS['____544685608'][399]($_982605162)) $_950870591 .= ___252739265(1566).$GLOBALS['____544685608'][400](___252739265(1567), $_982605162, GetMessage(___252739265(1568))).___252739265(1569); $_655283006= array(); if($_950870591 == ___252739265(1570)){ $_1881832549=@$GLOBALS['____544685608'][401]($_982605162); if($_1881832549){ while(false !==($_1221076400= $GLOBALS['____544685608'][402]($_1881832549))){ if($_1221076400 == ___252739265(1571) || $_1221076400 == ___252739265(1572)) continue; if($GLOBALS['____544685608'][403]($_982605162.___252739265(1573).$_1221076400)) $_655283006[]= $_1221076400;} $GLOBALS['____544685608'][404]($_1881832549);}} if(!$GLOBALS['____544685608'][405]($_655283006) || empty($_655283006)) $_950870591 .= ___252739265(1574).GetMessage(___252739265(1575)).___252739265(1576); if($_950870591 == ___252739265(1577)) if(!$GLOBALS['____544685608'][406]($_982605162)) $_950870591 .= ___252739265(1578).$GLOBALS['____544685608'][407](___252739265(1579), $_982605162, GetMessage(___252739265(1580))).___252739265(1581); $_1605423245= array( ___252739265(1582) => $_SERVER[___252739265(1583)].US_SHARED_KERNEL_PATH.___252739265(1584), ___252739265(1585) => $_SERVER[___252739265(1586)].US_SHARED_KERNEL_PATH.___252739265(1587), ___252739265(1588) => $_SERVER[___252739265(1589)].US_SHARED_KERNEL_PATH.___252739265(1590), ___252739265(1591) => $_SERVER[___252739265(1592)].US_SHARED_KERNEL_PATH.___252739265(1593), ___252739265(1594) => $_SERVER[___252739265(1595)].US_SHARED_KERNEL_PATH.___252739265(1596), ___252739265(1597) => $_SERVER[___252739265(1598)].US_SHARED_KERNEL_PATH.___252739265(1599)); $_1978199554= array( ___252739265(1600) => ___252739265(1601), ___252739265(1602) => ___252739265(1603), ___252739265(1604) => ___252739265(1605), ___252739265(1606) => ___252739265(1607), ___252739265(1608) => ___252739265(1609), ___252739265(1610) => ___252739265(1611),); if($_950870591 == ___252739265(1612)){ foreach($_1605423245 as $_37283447 => $_1939746221){ CUpdateClient::CheckDirPath($_1939746221.___252739265(1613), true); if(!$GLOBALS['____544685608'][408]($_1939746221) ||!$GLOBALS['____544685608'][409]($_1939746221)) $_950870591 .= ___252739265(1614).$GLOBALS['____544685608'][410](___252739265(1615), $_1939746221, GetMessage(___252739265(1616))).___252739265(1617); elseif(!$GLOBALS['____544685608'][411]($_1939746221)) $_950870591 .= ___252739265(1618).$GLOBALS['____544685608'][412](___252739265(1619), $_1939746221, GetMessage(___252739265(1620))).___252739265(1621);}} if($_950870591 == ___252739265(1622)){ $_510960545= $_SERVER[___252739265(1623)].US_SHARED_KERNEL_PATH.___252739265(1624); CUpdateClient::CheckDirPath($_510960545.___252739265(1625), true); if(!$GLOBALS['____544685608'][413]($_510960545) ||!$GLOBALS['____544685608'][414]($_510960545)) $_950870591 .= ___252739265(1626).$GLOBALS['____544685608'][415](___252739265(1627), $_510960545, GetMessage(___252739265(1628))).___252739265(1629); elseif(!$GLOBALS['____544685608'][416]($_510960545)) $_950870591 .= ___252739265(1630).$GLOBALS['____544685608'][417](___252739265(1631), $_510960545, GetMessage(___252739265(1632))).___252739265(1633);} $_1660323783= array(); if($_950870591 == ___252739265(1634)){ foreach($_1605423245 as $_37283447 => $_1939746221){ $_864473420=@$GLOBALS['____544685608'][418]($_1939746221); if($_864473420){ while(false !==($_1063840382= $GLOBALS['____544685608'][419]($_864473420))){ if($GLOBALS['____544685608'][420]($_1939746221.___252739265(1635).$_1063840382) && $_1063840382 != ___252739265(1636) && $_1063840382 != ___252739265(1637)){ if(!$GLOBALS['____544685608'][421]($_1939746221.___252739265(1638).$_1063840382)) $_950870591 .= ___252739265(1639).$GLOBALS['____544685608'][422](___252739265(1640), $_1939746221.___252739265(1641).$_1063840382, GetMessage(___252739265(1642))).___252739265(1643); if($GLOBALS['____544685608'][423]($_1939746221.___252739265(1644).$_1063840382.___252739265(1645)) &&!$GLOBALS['____544685608'][424]($_1939746221.___252739265(1646).$_1063840382.___252739265(1647))) $_950870591 .= ___252739265(1648).$GLOBALS['____544685608'][425](___252739265(1649), $_1939746221.___252739265(1650).$_1063840382.___252739265(1651), GetMessage(___252739265(1652))).___252739265(1653); $_1660323783[$_37283447][]= $_1063840382;}} $GLOBALS['____544685608'][426]($_864473420);}}} if($_950870591 == ___252739265(1654)){ $_1701684333= array(); $_1881832549=@$GLOBALS['____544685608'][427]($_510960545); if($_1881832549){ while(false !==($_1221076400= $GLOBALS['____544685608'][428]($_1881832549))){ if($GLOBALS['____544685608'][429]($_510960545.___252739265(1655).$_1221076400) && $_1221076400!=___252739265(1656) && $_1221076400!=___252739265(1657)){ if(!$GLOBALS['____544685608'][430]($_510960545.___252739265(1658).$_1221076400)) $_950870591 .= ___252739265(1659).$GLOBALS['____544685608'][431](___252739265(1660), $_510960545.___252739265(1661).$_1221076400, GetMessage(___252739265(1662))).___252739265(1663); if($GLOBALS['____544685608'][432]($_510960545.___252739265(1664).$_1221076400.___252739265(1665)) &&!$GLOBALS['____544685608'][433]($_510960545.___252739265(1666).$_1221076400.___252739265(1667))) $_950870591 .= ___252739265(1668).$GLOBALS['____544685608'][434](___252739265(1669), $_510960545.___252739265(1670).$_1221076400.___252739265(1671), GetMessage(___252739265(1672))).___252739265(1673); $_1701684333[]= $_1221076400;}} $GLOBALS['____544685608'][435]($_1881832549);}} if($_950870591 == ___252739265(1674)){ for($_1127921678=(210*2-420), $_1932277283= $GLOBALS['____544685608'][436]($_655283006); $_1127921678< $_1932277283; $_1127921678++){ $_1188614950= ___252739265(1675); $_2104086583= $_982605162.___252739265(1676).$_655283006[$_1127921678]; if(!$GLOBALS['____544685608'][437]($_2104086583) ||!$GLOBALS['____544685608'][438]($_2104086583)) $_1188614950 .= ___252739265(1677).$GLOBALS['____544685608'][439](___252739265(1678), $_2104086583, GetMessage(___252739265(1679))).___252739265(1680); if($_1188614950 == ___252739265(1681)) if(!$GLOBALS['____544685608'][440]($_2104086583)) $_1188614950 .= ___252739265(1682).$GLOBALS['____544685608'][441](___252739265(1683), $_2104086583, GetMessage(___252739265(1684))).___252739265(1685); if($_1188614950 == ___252739265(1686)){ $_864473420=@$GLOBALS['____544685608'][442]($_2104086583); if($_864473420){ while(false !==($_1063840382= $GLOBALS['____544685608'][443]($_864473420))){ if(!$GLOBALS['____544685608'][444]($_2104086583.___252739265(1687).$_1063840382) || $_1063840382 == ___252739265(1688) || $_1063840382 == ___252739265(1689)) continue; foreach($_1978199554 as $_37283447 => $_1939746221){ if(empty($_1660323783[$_37283447])){ continue;} if(!$GLOBALS['____544685608'][445]($_2104086583.___252739265(1690).$_1063840382.$_1939746221)) continue; $_399113058=@$GLOBALS['____544685608'][446]($_2104086583.___252739265(1691).$_1063840382.$_1939746221); if($_399113058){ while(false !==($_732724792= $GLOBALS['____544685608'][447]($_399113058))){ if(!$GLOBALS['____544685608'][448]($_2104086583.___252739265(1692).$_1063840382.$_1939746221.___252739265(1693).$_732724792) || $_732724792 == ___252739265(1694) || $_732724792 == ___252739265(1695)) continue; if(!$GLOBALS['____544685608'][449]($_732724792, $_1660323783[$_37283447])) continue; CUpdateClient::CopyDirFiles($_2104086583.___252739265(1696).$_1063840382.$_1939746221.___252739265(1697).$_732724792, $_1605423245[$_37283447].___252739265(1698).$_732724792, $_1188614950);} $GLOBALS['____544685608'][450]($_399113058);}} CUpdateClient::__134456409( $_655283006[$_1127921678], $_2104086583, $_1063840382, $_SERVER[___252739265(1699)].US_SHARED_KERNEL_PATH, $_1978199554); if($GLOBALS['____544685608'][451]($_1063840382, $_1701684333)) CUpdateClient::CopyDirFiles($_2104086583.___252739265(1700).$_1063840382, $_510960545.___252739265(1701).$_1063840382, $_1188614950);} $GLOBALS['____544685608'][452]($_864473420);}} if($_1188614950 <> ___252739265(1702)) $_950870591 .= $_1188614950;}} if($_950870591 == ___252739265(1703)) CUpdateClient::ClearUpdateFolder($_982605162); bx_accelerator_reset(); CUpdateClient::AddMessage2Log(___252739265(1704).Round(CUpdateClient::getmicrotime()-$_1403495088, round(0+1.5+1.5)).___252739265(1705)); if($_950870591 <> ___252739265(1706)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(1707)); $_1323799214 .= $_950870591; return false;} else return true;} private static function __134456409($_1617101418, $_570250719, $_1662434645, $_843765414, $_1693564514= array()){ $_1913458274= $_570250719."/".$_1662434645."/install"; if(!$GLOBALS['____544685608'][453]($_1913458274) ||!$GLOBALS['____544685608'][454]($_1913458274)) return; $_1961038170=@$GLOBALS['____544685608'][455]($_1913458274); if($_1961038170){ while(false !==($_1771216745= $GLOBALS['____544685608'][456]($_1961038170))){ if($_1771216745 === ___252739265(1708) || $_1771216745 === ___252739265(1709) ||!$GLOBALS['____544685608'][457]($_1913458274.___252739265(1710).$_1771216745)) continue; foreach($_1693564514 as $_1366681005){ if($GLOBALS['____544685608'][458]($_1366681005.___252739265(1711), ___252739265(1712).$_1771216745.___252739265(1713)) ===(1376/2-688)) continue 2;} self::__1529631181($_1617101418, $_1913458274.___252739265(1714).$_1771216745, $_843765414.___252739265(1715).$_1771216745);} $GLOBALS['____544685608'][459]($_1961038170);}} private static function __1529631181($_1617101418, $_570250719, $_843765414, $_887067179= ""){ $_1693163274= $_570250719.$_887067179; if(!$GLOBALS['____544685608'][460]($_1693163274) ||!$GLOBALS['____544685608'][461]($_1693163274)) return; $_1961038170=@$GLOBALS['____544685608'][462]($_1693163274); if($_1961038170){ while(false !==($_1771216745= $GLOBALS['____544685608'][463]($_1961038170))){ if($_1771216745 === ___252739265(1716) || $_1771216745 === ___252739265(1717) ||!$GLOBALS['____544685608'][464]($_1693163274.___252739265(1718).$_1771216745)) continue; if($_1771216745 === $_1617101418){ if($GLOBALS['____544685608'][465]($_1693163274, ___252739265(1719),-round(0+1.6666666666667+1.6666666666667+1.6666666666667)) ===(189*2-378)){ if($GLOBALS['____544685608'][466]($_843765414.$_887067179) && $GLOBALS['____544685608'][467]($_843765414.$_887067179) && $GLOBALS['____544685608'][468]($_843765414.$_887067179)){ $_754184642= ___252739265(1720); self::CopyDirFiles($_1693163274.___252739265(1721).$_1771216745, $_843765414.$_887067179.___252739265(1722).$_1771216745, $_754184642);} continue;}} self::__1529631181($_1617101418, $_570250719, $_843765414, $_887067179.___252739265(1723).$_1771216745);} $GLOBALS['____544685608'][469]($_1961038170);}} public static function UpdateStepModules($_508882360,&$_1323799214, $_1667332284= false, $_1509765910= false){ global $DB; $_950870591= ___252739265(1724); if(!$GLOBALS['____544685608'][470](___252739265(1725)) || US_SAVE_UPDATERS_DIR == ___252739265(1726)) $_1667332284= false; if(!$GLOBALS['____544685608'][471](___252739265(1727)) || US_SAVE_DESCRIPTIONS_DIR == ___252739265(1728)) $_1509765910= false; $_1403495088= CUpdateClient::getmicrotime(); $_2108779949= array(); if(!$GLOBALS['____544685608'][472]($_SERVER[___252739265(1729)].___252739265(1730))) $_2108779949[]= ___252739265(1731); if(!$GLOBALS['____544685608'][473]($_SERVER[___252739265(1732)].___252739265(1733))) $_2108779949[]= ___252739265(1734); if(!$GLOBALS['____544685608'][474]($_SERVER[___252739265(1735)].___252739265(1736))) $_2108779949[]= ___252739265(1737); if(!$GLOBALS['____544685608'][475]($_SERVER[___252739265(1738)].___252739265(1739))) $_2108779949[]= ___252739265(1740); $_982605162= $_SERVER[___252739265(1741)].___252739265(1742).$_508882360; if(!$GLOBALS['____544685608'][476]($_982605162) ||!$GLOBALS['____544685608'][477]($_982605162)) $_950870591 .= ___252739265(1743).$GLOBALS['____544685608'][478](___252739265(1744), $_982605162, GetMessage(___252739265(1745))).___252739265(1746); if($_950870591 == ___252739265(1747)) if(!$GLOBALS['____544685608'][479]($_982605162)) $_950870591 .= ___252739265(1748).$GLOBALS['____544685608'][480](___252739265(1749), $_982605162, GetMessage(___252739265(1750))).___252739265(1751); $_29694568= array(); if($_950870591 == ___252739265(1752)){ $_1881832549=@$GLOBALS['____544685608'][481]($_982605162); if($_1881832549){ while(false !==($_1221076400= $GLOBALS['____544685608'][482]($_1881832549))){ if($_1221076400 == ___252739265(1753) || $_1221076400 == ___252739265(1754)) continue; if($GLOBALS['____544685608'][483]($_982605162.___252739265(1755).$_1221076400)) $_29694568[]= $_1221076400;} $GLOBALS['____544685608'][484]($_1881832549);}} if(!$GLOBALS['____544685608'][485]($_29694568) || empty($_29694568)) $_950870591 .= ___252739265(1756).GetMessage(___252739265(1757)).___252739265(1758); if($_950870591 == ___252739265(1759)){ for($_1127921678=(159*2-318), $_1282805256= $GLOBALS['____544685608'][486]($_29694568); $_1127921678< $_1282805256; $_1127921678++){ $_1188614950= ___252739265(1760); $_2104086583= $_982605162.___252739265(1761).$_29694568[$_1127921678]; $_510960545= $_SERVER[___252739265(1762)].US_SHARED_KERNEL_PATH.___252739265(1763).$_29694568[$_1127921678]; CUpdateClient::CheckDirPath($_510960545.___252739265(1764), true); if(!$GLOBALS['____544685608'][487]($_510960545) ||!$GLOBALS['____544685608'][488]($_510960545)) $_1188614950 .= ___252739265(1765).$GLOBALS['____544685608'][489](___252739265(1766), $_510960545, GetMessage(___252739265(1767))).___252739265(1768); if($_1188614950 == ___252739265(1769)) if(!$GLOBALS['____544685608'][490]($_510960545)) $_1188614950 .= ___252739265(1770).$GLOBALS['____544685608'][491](___252739265(1771), $_510960545, GetMessage(___252739265(1772))).___252739265(1773); if($_1188614950 == ___252739265(1774)) if(!$GLOBALS['____544685608'][492]($_2104086583) ||!$GLOBALS['____544685608'][493]($_2104086583)) $_1188614950 .= ___252739265(1775).$GLOBALS['____544685608'][494](___252739265(1776), $_2104086583, GetMessage(___252739265(1777))).___252739265(1778); if($_1188614950 == ___252739265(1779)) if(!$GLOBALS['____544685608'][495]($_2104086583)) $_1188614950 .= ___252739265(1780).$GLOBALS['____544685608'][496](___252739265(1781), $_2104086583, GetMessage(___252739265(1782))).___252739265(1783); if($_1188614950 == ___252739265(1784)){ $_1881832549=@$GLOBALS['____544685608'][497]($_2104086583); $_838733203= array(); if($_1881832549){ while(false !==($_1221076400= $GLOBALS['____544685608'][498]($_1881832549))){ if($GLOBALS['____544685608'][499]($_1221076400,(846-2*423), round(0+2.3333333333333+2.3333333333333+2.3333333333333)) == ___252739265(1785)){ $_1138565967= ___252739265(1786); if($GLOBALS['____544685608'][500]($_2104086583.___252739265(1787).$_1221076400)){ $_688879705= $GLOBALS['____544685608'][501]($_1221076400, round(0+3.5+3.5), $GLOBALS['____544685608'][502]($_1221076400)- round(0+11)); if($GLOBALS['____544685608'][503]($_1221076400, $GLOBALS['____544685608'][504]($_1221076400)- round(0+3+3+3)) == ___252739265(1788)){ $_1138565967= ___252739265(1789); $_688879705= $GLOBALS['____544685608'][505]($_1221076400, round(0+7), $GLOBALS['____544685608'][506]($_1221076400)- round(0+5.3333333333333+5.3333333333333+5.3333333333333));} $_838733203[]= array(___252739265(1790).$_1221076400, $GLOBALS['____544685608'][507]($_688879705), $_1138565967);} elseif($GLOBALS['____544685608'][508]($_2104086583.___252739265(1791).$_1221076400.___252739265(1792))){ $_688879705= $GLOBALS['____544685608'][509]($_1221076400, round(0+2.3333333333333+2.3333333333333+2.3333333333333)); if($GLOBALS['____544685608'][510]($_1221076400, $GLOBALS['____544685608'][511]($_1221076400)- round(0+1.25+1.25+1.25+1.25)) == ___252739265(1793)){ $_1138565967= ___252739265(1794); $_688879705= $GLOBALS['____544685608'][512]($_1221076400, round(0+2.3333333333333+2.3333333333333+2.3333333333333), $GLOBALS['____544685608'][513]($_1221076400)- round(0+12));} $_838733203[]= array(___252739265(1795).$_1221076400.___252739265(1796), $GLOBALS['____544685608'][514]($_688879705), $_1138565967);} if($_1667332284) CUpdateClient::CopyDirFiles($_2104086583.___252739265(1797).$_1221076400, $_SERVER[___252739265(1798)].US_SAVE_UPDATERS_DIR.___252739265(1799).$_29694568[$_1127921678].___252739265(1800).$_1221076400, $_1188614950, false);} elseif($_1509765910 && $GLOBALS['____544685608'][515]($_1221076400, ___252739265(1801)) ===(185*2-370)){ CUpdateClient::CopyDirFiles($_2104086583.___252739265(1802).$_1221076400, $_SERVER[___252739265(1803)].US_SAVE_DESCRIPTIONS_DIR.___252739265(1804).$_29694568[$_1127921678].___252739265(1805).$_1221076400, $_1188614950, false);}} $GLOBALS['____544685608'][516]($_1881832549);} $_1932277283= $GLOBALS['____544685608'][517]($_838733203); for($_1099745806=(1168/2-584); $_1099745806< $_1932277283- round(0+0.33333333333333+0.33333333333333+0.33333333333333); $_1099745806++){ for($_904034302= $_1099745806+ round(0+0.25+0.25+0.25+0.25); $_904034302< $_1932277283; $_904034302++){ if(CUpdateClient::CompareVersions($_838733203[$_1099745806][round(0+0.5+0.5)], $_838733203[$_904034302][round(0+1)])>(1108/2-554)){ $_1285495156= $_838733203[$_1099745806]; $_838733203[$_1099745806]= $_838733203[$_904034302]; $_838733203[$_904034302]= $_1285495156;}}}} if($_1188614950 == ___252739265(1806)){ if($GLOBALS['____544685608'][518]($DB->type) == ___252739265(1807) && $GLOBALS['____544685608'][519](___252739265(1808)) && MYSQL_TABLE_TYPE <> ___252739265(1809)){ $DB->Query(___252739265(1810).MYSQL_TABLE_TYPE.___252739265(1811), true);}} if($_1188614950 == ___252739265(1812)){ for($_1099745806= min(178,0,59.333333333333), $_1932277283= $GLOBALS['____544685608'][520]($_838733203); $_1099745806< $_1932277283; $_1099745806++){ if($_838733203[$_1099745806][round(0+0.4+0.4+0.4+0.4+0.4)] == ___252739265(1813)){ $_1167058918= ___252739265(1814); CUpdateClient::RunUpdaterScript($_2104086583.$_838733203[$_1099745806][(135*2-270)], $_1167058918, ___252739265(1815).$_508882360.___252739265(1816).$_29694568[$_1127921678], $_29694568[$_1127921678]); if($_1167058918 <> ___252739265(1817)){ $_1188614950 .= $GLOBALS['____544685608'][521](___252739265(1818), $_29694568[$_1127921678], $GLOBALS['____544685608'][522](___252739265(1819), $_838733203[$_1099745806][round(0+0.5+0.5)], GetMessage(___252739265(1820)))).___252739265(1821). $_1167058918.___252739265(1822); $_1188614950 .= $GLOBALS['____544685608'][523](___252739265(1823), $_29694568[$_1127921678], GetMessage(___252739265(1824))).___252739265(1825); break;}}}} if($_1188614950 == ___252739265(1826)) CUpdateClient::CopyDirFiles($_2104086583, $_510960545, $_1188614950, true, $_2108779949); if($_1188614950 == ___252739265(1827)){ for($_1099745806=(862-2*431), $_1932277283= $GLOBALS['____544685608'][524]($_838733203); $_1099745806< $_1932277283; $_1099745806++){ if($_838733203[$_1099745806][round(0+2)]==___252739265(1828)){ $_1167058918= ___252739265(1829); CUpdateClient::RunUpdaterScript($_2104086583.$_838733203[$_1099745806][min(172,0,57.333333333333)], $_1167058918, ___252739265(1830).$_508882360.___252739265(1831).$_29694568[$_1127921678], $_29694568[$_1127921678]); if($_1167058918 <> ___252739265(1832)){ $_1188614950 .= $GLOBALS['____544685608'][525](___252739265(1833), $_29694568[$_1127921678], $GLOBALS['____544685608'][526](___252739265(1834), $_838733203[$_1099745806][round(0+0.5+0.5)], GetMessage(___252739265(1835)))).___252739265(1836). $_1167058918.___252739265(1837); $_1188614950 .= $GLOBALS['____544685608'][527](___252739265(1838), $_29694568[$_1127921678], GetMessage(___252739265(1839))).___252739265(1840); break;}}}} if($_1188614950 <> ___252739265(1841)) $_950870591 .= $_1188614950;} CUpdateClient::ClearUpdateFolder($_982605162);} CUpdateClient::AddMessage2Log(___252739265(1842).Round(CUpdateClient::getmicrotime()-$_1403495088, round(0+3)).___252739265(1843)); if($_950870591 <> ___252739265(1844)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(1845)); $_1323799214 .= $_950870591; return false;} else{ $GLOBALS[___252739265(1846)]= $_29694568; if($GLOBALS['____544685608'][528](___252739265(1847))){ foreach($GLOBALS['_____1208030891'][5](___252739265(1848), ___252739265(1849), true) as $_1457054485){ $GLOBALS['_____1208030891'][6]($_1457054485, $_29694568);}} return true;}} public static function ClearUpdateFolder($_982605162){ CUpdateClient::DeleteDirFilesEx($_982605162); bx_accelerator_reset();} public static function RunUpdaterScript($_1382182005,&$_1323799214, $_2104086583, $_1641661643){ global $DBType, $DB, $APPLICATION, $USER; if(!isset($GLOBALS[___252739265(1850)]) ||($GLOBALS[___252739265(1851)] != ___252739265(1852) && $GLOBALS[___252739265(1853)] != ___252739265(1854))){ $GLOBALS[___252739265(1855)]=((US_CALL_TYPE != ___252739265(1856))? COption::GetOptionString(___252739265(1857), ___252739265(1858), ___252739265(1859)): ___252739265(1860));} $strongUpdateCheck= $GLOBALS[___252739265(1861)]; $DOCUMENT_ROOT= $_SERVER[___252739265(1862)]; $_1382182005= $GLOBALS['____544685608'][529](___252739265(1863), ___252739265(1864), $_1382182005); $updaterPath= $GLOBALS['____544685608'][530]($_1382182005); $updaterPath= $GLOBALS['____544685608'][531]($updaterPath, $GLOBALS['____544685608'][532]($_SERVER[___252739265(1865)])); $updaterPath= Trim($updaterPath, ___252739265(1866)); if($updaterPath <> ___252739265(1867)) $updaterPath= ___252739265(1868).$updaterPath; $updaterName= $GLOBALS['____544685608'][533]($_1382182005, $GLOBALS['____544685608'][534]($_SERVER[___252739265(1869)])); CUpdateClient::AddMessage2Log(___252739265(1870).$updaterName.___252739265(1871), ___252739265(1872)); $updater= new CUpdater(); $updater->Init($updaterPath, $DBType, $updaterName, $_2104086583, $_1641661643, US_CALL_TYPE); $errorMessage= ___252739265(1873); include($_1382182005); if($errorMessage <> ___252739265(1874)) $_1323799214 .= $errorMessage; if($GLOBALS['____544685608'][535]($updater->errorMessage) &&!empty($updater->errorMessage)) $_1323799214 .= $GLOBALS['____544685608'][536](___252739265(1875), $updater->errorMessage); unset($updater);} public static function CompareVersions($_1409909201, $_898602405){ $_1409909201= $GLOBALS['____544685608'][537]($_1409909201); $_898602405= $GLOBALS['____544685608'][538]($_898602405); if($_1409909201 == $_898602405) return(221*2-442); $_1175142485= $GLOBALS['____544685608'][539](___252739265(1876), $_1409909201); $_2031053632= $GLOBALS['____544685608'][540](___252739265(1877), $_898602405); if($GLOBALS['____544685608'][541]($_1175142485[min(154,0,51.333333333333)])> $GLOBALS['____544685608'][542]($_2031053632[(214*2-428)]) || $GLOBALS['____544685608'][543]($_1175142485[(184*2-368)]) == $GLOBALS['____544685608'][544]($_2031053632[(1312/2-656)]) && $GLOBALS['____544685608'][545]($_1175142485[round(0+0.25+0.25+0.25+0.25)])> $GLOBALS['____544685608'][546]($_2031053632[round(0+0.25+0.25+0.25+0.25)]) || $GLOBALS['____544685608'][547]($_1175142485[(222*2-444)]) == $GLOBALS['____544685608'][548]($_2031053632[(840-2*420)]) && $GLOBALS['____544685608'][549]($_1175142485[round(0+1)]) == $GLOBALS['____544685608'][550]($_2031053632[round(0+0.25+0.25+0.25+0.25)]) && $GLOBALS['____544685608'][551]($_1175142485[round(0+0.4+0.4+0.4+0.4+0.4)])> $GLOBALS['____544685608'][552]($_2031053632[round(0+0.66666666666667+0.66666666666667+0.66666666666667)])){ return round(0+0.33333333333333+0.33333333333333+0.33333333333333);} if($GLOBALS['____544685608'][553]($_1175142485[(870-2*435)]) == $GLOBALS['____544685608'][554]($_2031053632[(144*2-288)]) && $GLOBALS['____544685608'][555]($_1175142485[round(0+0.5+0.5)]) == $GLOBALS['____544685608'][556]($_2031053632[round(0+1)]) && $GLOBALS['____544685608'][557]($_1175142485[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]) == $GLOBALS['____544685608'][558]($_2031053632[round(0+2)])){ return(1272/2-636);} return-round(0+1);} private static function __1826840843($_377018620){ return $GLOBALS['____544685608'][559]('mb_strlen')? $GLOBALS['____544685608'][560]($_377018620, 'latin1'): $GLOBALS['____544685608'][561]($_377018620);} private static function __713455041($_377018620, $_758894355){ if($GLOBALS['____544685608'][562]('mb_substr')){ $_1265326677=(func_num_args()> 2? func_get_arg(2): static::__1826840843($_377018620)); return $GLOBALS['____544685608'][563]($_377018620, $_758894355, $_1265326677, ___252739265(1878));} if(func_num_args()> round(0+0.66666666666667+0.66666666666667+0.66666666666667)){ return $GLOBALS['____544685608'][564]($_377018620, $_758894355, func_get_arg(round(0+2)));} return $GLOBALS['____544685608'][565]($_377018620, $_758894355);} private static function __1501596908($_632357909, $_98881825, $_472464824= 0){ if($GLOBALS['____544685608'][566]("BX_UTF")){ if($GLOBALS['____544685608'][567]("mb_orig_strpos")){ return mb_orig_strpos($_632357909, $_98881825, $_472464824);} return $GLOBALS['____544685608'][568]($_632357909, $_98881825, $_472464824, ___252739265(1879));} return $GLOBALS['____544685608'][569]($_632357909, $_98881825, $_472464824);} public static function checkValid(){ $_1259411177= $GLOBALS['____544685608'][570]($_SERVER["DOCUMENT_ROOT"].'/bitrix/modules/main/include.php'); $_1534248899= static::__1501596908($_1259411177, '/*ZDUyZmZ'); if($_1534248899 !== false){ $_825135259= static::__1501596908($_1259411177, '/**/', $_1534248899); if($_825135259 !== false){ $_1259411177= static::__713455041($_1259411177, $_1534248899, $_825135259- $_1534248899); $_628128795= static::__1501596908($_1259411177, '*/'); if($_628128795 !== false){ $_2009456244= static::__713455041($_1259411177, 9, $_628128795- 9); $_1259411177= static::__713455041($_1259411177, $_628128795+ 2); $_1260111019= $GLOBALS['____544685608'][571]($GLOBALS['____544685608'][572]($_1259411177)); if($_2009456244 === $_1260111019) return true;}}} if($GLOBALS['____544685608'][573]($_1259411177,(1352/2-676), $GLOBALS['____544685608'][574](___252739265(1880))) === ___252739265(1881)) return true; if($GLOBALS['____544685608'][575](CUpdateClient::GetLicenseKey().___252739265(1882)) === ___252739265(1883)) return true; return false;} public static function GetUpdatesList(&$_1323799214, $_1617101418= false, $_882375976= "Y"){ $_950870591= ""; $_815989955= array(); CUpdateClient::AddMessage2Log(___252739265(1884)); $_1010335756= CUpdateClient::CollectRequestData($_950870591, $_1617101418, $_882375976, array(), array(), array()); if($_1010335756 === false || $_1010335756 == ___252739265(1885) || $_950870591 <> ___252739265(1886)){ $_1323799214 .= $_950870591; CUpdateClient::AddMessage2Log(___252739265(1887), ___252739265(1888)); return false;} CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][576](___252739265(1889), ___252739265(1890), $_1010335756)); $_1403495088= CUpdateClient::getmicrotime(); $_1259411177= CUpdateClient::GetHTTPPage(___252739265(1891), $_1010335756, $_950870591); CUpdateClient::AddMessage2Log(___252739265(1892).Round(CUpdateClient::getmicrotime()- $_1403495088, round(0+3)).___252739265(1893)); $_815989955= Array(); if($_950870591 == ___252739265(1894)) CUpdateClient::__1604662516($_1259411177, $_815989955, $_950870591); if($_950870591 == ___252739265(1895)){ if(!isset($_815989955[___252739265(1896)]) ||!$GLOBALS['____544685608'][577]($_815989955[___252739265(1897)])) $_950870591 .= ___252739265(1898).GetMessage(___252739265(1899)).___252739265(1900);} if($_950870591 == ___252739265(1901)){ $_815989955= $_815989955[___252739265(1902)][___252739265(1903)]; if(!$GLOBALS['____544685608'][578]($_815989955[___252739265(1904)]) &&(!isset($_815989955[___252739265(1905)]) ||!$GLOBALS['____544685608'][579]($_815989955[___252739265(1906)]))) $_950870591 .= ___252739265(1907).GetMessage(___252739265(1908)).___252739265(1909); $_64523126= $_SERVER[___252739265(1910)].___252739265(1911); if($GLOBALS['____544685608'][580]($_64523126)){@$GLOBALS['____544685608'][581]($_64523126);} $_654803457= $_SERVER[___252739265(1912)].___252739265(1913); if($GLOBALS['____544685608'][582]($_654803457)){@$GLOBALS['____544685608'][583]($_654803457);}} if($_950870591 <> ___252739265(1914)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(1915)); $_1323799214 .= $_950870591; return false;} else return $_815989955;} public static function GetHTTPPage($_434754713, $_1876053354,&$_1323799214){ global $SERVER_NAME, $DB; CUpdateClient::AddMessage2Log(___252739265(1916)); $_1486846171= COption::GetOptionString(___252739265(1917), ___252739265(1918), DEFAULT_UPDATE_SERVER); $_2033896089= round(0+40+40); $_519808251= COption::GetOptionString(___252739265(1919), ___252739265(1920), ___252739265(1921)); $_295316290= COption::GetOptionString(___252739265(1922), ___252739265(1923), ___252739265(1924)); $_1962409267= COption::GetOptionString(___252739265(1925), ___252739265(1926), ___252739265(1927)); $_942349292= COption::GetOptionString(___252739265(1928), ___252739265(1929), ___252739265(1930)); $_1546650811=($_519808251 <> ___252739265(1931) && $_295316290 <> ___252739265(1932)); if($_434754713 == ___252739265(1933)) $_434754713= ___252739265(1934); elseif($_434754713 == ___252739265(1935)) $_434754713= ___252739265(1936); elseif($_434754713 == ___252739265(1937)) $_434754713= ___252739265(1938); elseif($_434754713 == ___252739265(1939)) $_434754713= ___252739265(1940); elseif($_434754713 == ___252739265(1941)) $_434754713= ___252739265(1942); elseif($_434754713 == ___252739265(1943)) $_434754713= ___252739265(1944); elseif($_434754713 == ___252739265(1945)) $_434754713= ___252739265(1946); if($_1546650811){ $_295316290= $GLOBALS['____544685608'][584]($_295316290); if($_295316290 <=(158*2-316)) $_295316290= round(0+80); $_1045584508= $_519808251; $_2050570751= $_295316290;} else{ $_1045584508= $_1486846171; $_2050570751= $_2033896089;} $_413351751=@$GLOBALS['____544685608'][585]($_1045584508, $_2050570751, $_1165223252, $_274982959, round(0+24+24+24+24+24)); if($_413351751){ $_2069942959= ___252739265(1947); if($_1546650811){ $_2069942959 .= ___252739265(1948).$_1486846171.___252739265(1949).$_434754713.___252739265(1950); if($_1962409267 <> ___252739265(1951)) $_2069942959 .= ___252739265(1952).$GLOBALS['____544685608'][586]($_1962409267.___252739265(1953).$_942349292).___252739265(1954);} else $_2069942959 .= ___252739265(1955).$_434754713.___252739265(1956); $_2104624367= self::__397711467(US_BASE_MODULE, ___252739265(1957), ___252739265(1958)); $_1876053354 .= ___252739265(1959).$GLOBALS['____544685608'][587]($_2104624367); if($GLOBALS['____544685608'][588](___252739265(1960))) $_1876053354 .= ___252739265(1961).$GLOBALS['____544685608'][589](___252739265(1962)); else $_1876053354 .= ___252739265(1963).$GLOBALS['____544685608'][590](___252739265(1964)); $_1823331535= $DB->GetVersion(); $_1876053354 .= ___252739265(1965).$GLOBALS['____544685608'][591]($_1823331535 != false? $_1823331535: ___252739265(1966)); $_1876053354 .= ___252739265(1967).COption::GetOptionString(___252739265(1968), ___252739265(1969), ___252739265(1970)); $_1876053354 .= ___252739265(1971).COption::GetOptionString(___252739265(1972), ___252739265(1973), ___252739265(1974)); $_2069942959 .= ___252739265(1975); $_2069942959 .= ___252739265(1976); $_2069942959 .= ___252739265(1977).$_1486846171.___252739265(1978); $_2069942959 .= ___252739265(1979); $_2069942959 .= ___252739265(1980); $_2069942959 .= ___252739265(1981).$GLOBALS['____544685608'][592]($_1876053354).___252739265(1982); $_2069942959 .="$_1876053354"; $_2069942959 .= ___252739265(1983); $GLOBALS['____544685608'][593]($_413351751, $_2069942959); $_955548500= false; while(!$GLOBALS['____544685608'][594]($_413351751)){ $_137295187= $GLOBALS['____544685608'][595]($_413351751, round(0+1365.3333333333+1365.3333333333+1365.3333333333)); if($_137295187 != ___252739265(1984)){ if($GLOBALS['____544685608'][596](___252739265(1985), $_137295187)) $_955548500= true;} else{ break;}} $_1259411177= ___252739265(1986); if($_955548500){ $_40130390= round(0+2048+2048); $_1265326677=(1404/2-702); $_137295187= FGets($_413351751, $_40130390); $_137295187= StrToLower($_137295187); $_818900531= ___252739265(1987); $_1127921678=(245*2-490); while($_1127921678< StrLen($_137295187) && $GLOBALS['____544685608'][597]($_137295187[$_1127921678], array(___252739265(1988), ___252739265(1989), ___252739265(1990), ___252739265(1991), ___252739265(1992), ___252739265(1993), ___252739265(1994), ___252739265(1995), ___252739265(1996), ___252739265(1997), ___252739265(1998), ___252739265(1999), ___252739265(2000), ___252739265(2001), ___252739265(2002), ___252739265(2003)))){ $_818900531 .= $_137295187[$_1127921678]; $_1127921678++;} $_1320662826= $GLOBALS['____544685608'][598]($_818900531); while($_1320662826>(214*2-428)){ $_809131038=(201*2-402); $_1246469110=(($_1320662826> $_40130390)? $_40130390: $_1320662826); while($_1246469110>(822-2*411) && $_137295187= $GLOBALS['____544685608'][599]($_413351751, $_1246469110)){ $_1259411177 .= $_137295187; $_809131038 += StrLen($_137295187); $_409500379= $_1320662826- $_809131038; $_1246469110=(($_409500379> $_40130390)? $_40130390: $_409500379);} $_1265326677 += $_1320662826; $_137295187= FGets($_413351751, $_40130390); $_137295187= FGets($_413351751, $_40130390); $_137295187= StrToLower($_137295187); $_818900531= ___252739265(2004); $_1127921678=(1244/2-622); while($_1127921678< StrLen($_137295187) && $GLOBALS['____544685608'][600]($_137295187[$_1127921678], array(___252739265(2005), ___252739265(2006), ___252739265(2007), ___252739265(2008), ___252739265(2009), ___252739265(2010), ___252739265(2011), ___252739265(2012), ___252739265(2013), ___252739265(2014), ___252739265(2015), ___252739265(2016), ___252739265(2017), ___252739265(2018), ___252739265(2019), ___252739265(2020)))){ $_818900531 .= $_137295187[$_1127921678]; $_1127921678++;} $_1320662826= $GLOBALS['____544685608'][601]($_818900531);}} else{ while($_137295187= $GLOBALS['____544685608'][602]($_413351751, round(0+4096))) $_1259411177 .= $_137295187;} $GLOBALS['____544685608'][603]($_413351751);} else{ $_1259411177= ___252739265(2021); if($GLOBALS['____544685608'][604](___252739265(2022)) && $GLOBALS['____544685608'][605](___252739265(2023), ___252739265(2024))) $_274982959= CUtil::ConvertToLangCharset($_274982959); $_1323799214 .= GetMessage(___252739265(2025)).___252739265(2026).$_1165223252.___252739265(2027).$_274982959.___252739265(2028); if($GLOBALS['____544685608'][606]($_1165223252) <=(1368/2-684)) $_1323799214 .= GetMessage(___252739265(2029)).___252739265(2030); CUpdateClient::AddMessage2Log(___252739265(2031).$_1486846171.___252739265(2032).$_1165223252.___252739265(2033).$_274982959.___252739265(2034), ___252739265(2035));} return $_1259411177;} private static function __917393393(&$_297439, $_2131071159){ $_1519560875= $_2131071159->getName(); if(!isset($_297439[$_1519560875])) $_297439[$_1519560875]= array(); $_514834610= array(___252739265(2036) => array()); foreach($_2131071159->attributes() as $_1041891455 => $_1426063989){ $_514834610[___252739265(2037)][$_1041891455]= (string)$_1426063989;} foreach($_2131071159->children() as $_1922711499){ if(!isset($_514834610[___252739265(2038)])) $_514834610[___252739265(2039)]= array(); self::__917393393($_514834610[___252739265(2040)], $_1922711499);} if(!isset($_514834610[___252739265(2041)])) $_514834610[___252739265(2042)]= (string)$_2131071159; $_297439[$_1519560875][]= $_514834610;} private static function __353071309($_1081552102){ $_297439= array(); if(!$GLOBALS['____544685608'][607](___252739265(2043)) ||!$GLOBALS['____544685608'][608](___252739265(2044))){ $_1620406089= new CUpdatesXML(); if($_1620406089->LoadString($_1081552102) && $_1620406089->GetTree()) $_297439= $_1620406089->GetArray(); return $_297439;} if($GLOBALS['____544685608'][609]($_1081552102, $GLOBALS['____544685608'][610](___252739265(2045), round(0+59.75+59.75+59.75+59.75), round(0+187), round(0+191))) ===(194*2-388)) $_1081552102= $GLOBALS['____544685608'][611]($_1081552102, round(0+3)); if($GLOBALS['____544685608'][612]($_1081552102, ___252739265(2046)) !==(948-2*474)) $_1081552102= ___252739265(2047).___252739265(2048).($GLOBALS['____544685608'][613](___252739265(2049))? ___252739265(2050): ___252739265(2051)).___252739265(2052).___252739265(2053).$_1081552102; $_2131071159= new \SimpleXMLElement($_1081552102); self::__917393393($_297439, $_2131071159); $_297439[___252739265(2054)]= $_297439[___252739265(2055)][min(16,0,5.3333333333333)]; if(!$GLOBALS['____544685608'][614](___252739265(2056))) $_297439= \Bitrix\Main\Text\Encoding::convertEncoding($_297439, ___252739265(2057), ___252739265(2058)); return $_297439;} private static function __1604662516(&$_1200786737,&$_1177282390,&$_1323799214){ $_950870591= ""; $_1177282390= array(); CUpdateClient::AddMessage2Log(___252739265(2059)); if($_1200786737 == ___252739265(2060)) $_950870591 .= ___252739265(2061).GetMessage(___252739265(2062)).___252739265(2063); if($_950870591 == ___252739265(2064)){ if(SubStr($_1200786737,(184*2-368), StrLen(___252739265(2065))) != ___252739265(2066) && CUpdateClient::IsGzipInstalled()) $_1200786737=@$GLOBALS['____544685608'][615]($_1200786737); if(SubStr($_1200786737,(1448/2-724), StrLen(___252739265(2067))) != ___252739265(2068)){ CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][616]($_1200786737,(836-2*418), round(0+33.333333333333+33.333333333333+33.333333333333)), ___252739265(2069)); $_950870591 .= ___252739265(2070).GetMessage(___252739265(2071)).___252739265(2072);}} if($_950870591 == ___252739265(2073)){ $_1177282390= self::__353071309($_1200786737); if(!$GLOBALS['____544685608'][617]($_1177282390) ||!isset($_1177282390[___252739265(2074)]) ||!$GLOBALS['____544685608'][618]($_1177282390[___252739265(2075)])) $_950870591 .= ___252739265(2076).GetMessage(___252739265(2077)).___252739265(2078);} if($_950870591 == ___252739265(2079)){ if(isset($_1177282390[___252739265(2080)][___252739265(2081)][___252739265(2082)])){ $_2104624367= $_1177282390[___252739265(2083)][___252739265(2084)][___252739265(2085)][(1072/2-536)][___252739265(2086)][___252739265(2087)]; if($_2104624367 <> ___252739265(2088)) COption::SetOptionString(US_BASE_MODULE, ___252739265(2089), $_2104624367);} if(isset($_1177282390[___252739265(2090)][___252739265(2091)][___252739265(2092)])){ CUpdateClient::__ApplyLicenseInfo($_1177282390[___252739265(2093)][___252739265(2094)][___252739265(2095)][(764-2*382)][___252739265(2096)]);}} if($_950870591 == ___252739265(2097)){ if(isset($_1177282390[___252739265(2098)][___252739265(2099)][___252739265(2100)])) CUpdateClient::__2105820989($_1177282390[___252739265(2101)][___252739265(2102)][___252739265(2103)]);} if($_950870591 <> ___252739265(2104)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(2105)); $_1323799214 .= $_950870591; return false;} else return true;} public static function CollectRequestData(&$_1323799214, $_1617101418= false, $_882375976= "Y", $_864180909= array(), $_2041950066= array(), $_1874485780= array()){ $_1193978398= ""; $_950870591= ___252739265(2106); if($_1617101418 === false){ $_1617101418= LANGUAGE_ID;} $_882375976=($GLOBALS['____544685608'][619]($_882375976)? $GLOBALS['____544685608'][620]($_882375976):(($_882375976 == ___252739265(2107))? ___252739265(2108): ___252739265(2109))); CUpdateClient::AddMessage2Log(___252739265(2110)); CUpdateClient::CheckDirPath($_SERVER[___252739265(2111)].___252739265(2112), true); $_1707773045= CUpdateClient::GetCurrentModules($_950870591); $_1375419705= CUpdateClient::GetCurrentLanguages($_950870591); $_416501783=(CUpdateExpertMode::isEnabled() && CUpdateExpertMode::isCorrectModulesStructure($_864180909)); if($_416501783){ $_1707773045= CUpdateExpertMode::processModulesFrom($_864180909, $_1707773045);} if($_950870591 == ___252739265(2113)){ $GLOBALS[___252739265(2114)]->GetVersion(); $_1193978398= ___252739265(2115).$GLOBALS['____544685608'][621]($GLOBALS['____544685608'][622](CUpdateClient::GetLicenseKey())). ___252739265(2116).$GLOBALS['____544685608'][623]($_1617101418). ___252739265(2117).$GLOBALS['____544685608'][624](UPDATE_SYSTEM_VERSION_A). ___252739265(2118).$GLOBALS['____544685608'][625](SM_VERSION). ___252739265(2119).(($GLOBALS['____544685608'][626](___252739265(2120)) && DEMO==___252739265(2121))? ___252739265(2122):(($GLOBALS['____544685608'][627](___252739265(2123)) && ENCODE==___252739265(2124))? ___252739265(2125):(($GLOBALS['____544685608'][628](___252739265(2126)) && TIMELIMIT_EDITION==___252739265(2127))? ___252739265(2128): ___252739265(2129)))). ___252739265(2130).$GLOBALS['____544685608'][629](CUpdateClient::__GetFooPath()). ___252739265(2131).$GLOBALS['____544685608'][630](CUpdateClient::__GetFooPath1()). ___252739265(2132).$GLOBALS['____544685608'][631]($GLOBALS[___252739265(2133)]->type). ___252739265(2134).$GLOBALS['____544685608'][632]((isset($GLOBALS[___252739265(2135)]->XE) && $GLOBALS[___252739265(2136)]->XE)? ___252739265(2137): ___252739265(2138)). ___252739265(2139).$GLOBALS['____544685608'][633]($_SERVER[___252739265(2140)]). ___252739265(2141).$GLOBALS['____544685608'][634]($_SERVER[___252739265(2142)]). ___252739265(2143).$GLOBALS['____544685608'][635]($_SERVER[___252739265(2144)]). ___252739265(2145).$GLOBALS['____544685608'][636]($GLOBALS[___252739265(2146)]->GetServerUniqID()). ___252739265(2147).$GLOBALS['____544685608'][637]((CUpdateClient::IsGzipInstalled())? ___252739265(2148): ___252739265(2149)). ___252739265(2150).$GLOBALS['____544685608'][638]($GLOBALS['____544685608'][639]()). ___252739265(2151).$GLOBALS['____544685608'][640]($_882375976). ___252739265(2152).$GLOBALS['____544685608'][641]((int)$GLOBALS['____544685608'][642](___252739265(2153))). ___252739265(2154).$GLOBALS['____544685608'][643](COption::GetOptionString(___252739265(2155), ___252739265(2156), ___252739265(2157))). ___252739265(2158).$GLOBALS['____544685608'][644](COption::GetOptionString(___252739265(2159), ___252739265(2160), ___252739265(2161))). ___252739265(2162).$GLOBALS['____544685608'][645](CUpdateClient::checkValid()? ___252739265(2163): ___252739265(2164)). ___252739265(2165).CUpdateClient::ModulesArray2Query($_1707773045, ___252739265(2166)). ___252739265(2167).CUpdateClient::ModulesArray2Query($_1375419705, ___252739265(2168)); $_92177812= ___252739265(2169); if($_416501783){ $_1165772127= CUpdateExpertMode::extractModulesTo($_864180909); $_1193978398 .= ___252739265(2170).$GLOBALS['____544685608'][646]($GLOBALS['____544685608'][647]($_1165772127)); $_864180909= $GLOBALS['____544685608'][648]($_1165772127);} if(CUpdateExpertMode::isIncludeTmpUpdatesEnabled()){ $_1193978398 .= ___252739265(2171);} if(!empty($_864180909)){ for($_1127921678= min(218,0,72.666666666667), $_1282805256= $GLOBALS['____544685608'][649]($_864180909); $_1127921678< $_1282805256; $_1127921678++){ if($_92177812 <> ___252739265(2172)) $_92177812 .= ___252739265(2173); $_92177812 .= $_864180909[$_1127921678];}} if($_92177812 <> ___252739265(2174)){ $_1193978398 .= ___252739265(2175).$GLOBALS['____544685608'][650]($_92177812);} $_92177812= ___252739265(2176); if(!empty($_2041950066)){ for($_1127921678=(1148/2-574), $_1282805256= $GLOBALS['____544685608'][651]($_2041950066); $_1127921678< $_1282805256; $_1127921678++){ if($_92177812 <> ___252739265(2177)) $_92177812 .= ___252739265(2178); $_92177812 .= $_2041950066[$_1127921678];}} if($_92177812 <> ___252739265(2179)) $_1193978398 .= ___252739265(2180).$GLOBALS['____544685608'][652]($_92177812); $_92177812= ___252739265(2181); if(!empty($_1874485780)){ for($_1127921678=(866-2*433), $_1282805256= $GLOBALS['____544685608'][653]($_1874485780); $_1127921678< $_1282805256; $_1127921678++){ if($_92177812 <> ___252739265(2182)) $_92177812 .= ___252739265(2183); $_92177812 .= $_1874485780[$_1127921678];}} if($_92177812 <> ___252739265(2184)) $_1193978398 .= ___252739265(2185).$GLOBALS['____544685608'][654]($_92177812); if($GLOBALS['____544685608'][655](___252739265(2186)) && $GLOBALS['____544685608'][656](___252739265(2187)) == ___252739265(2188)){ $_1282805256= round(0+1); if(CModule::IncludeModule(___252739265(2189))){ $_1282805256=(1468/2-734); $_1148508524= CIBlock::GetList(array(), array(___252739265(2190) => ___252739265(2191))); while($_1148508524->Fetch()) $_1282805256++;} $_1193978398 .= ___252739265(2192).$_1282805256; $_1193978398 .= ___252739265(2193).CUser::GetCount(); $_1282805256=(790-2*395); $_1905020326= CSite::GetList($_979900755, $_600184236, array()); while($_1905020326->Fetch()) $_1282805256++; $_1193978398 .= ___252739265(2194).$_1282805256;} if($GLOBALS['____544685608'][657](___252739265(2195)) && $GLOBALS['____544685608'][658](___252739265(2196)) == ___252739265(2197)){ $_1075184292= array(); $_771381819= COption::GetOptionString(___252739265(2198), ___252739265(2199), ___252739265(2200)); if($_771381819 <> ___252739265(2201)){ $_771381819= $GLOBALS['____544685608'][659]($_771381819); $_1075184292= $GLOBALS['____544685608'][660]($_771381819,[___252739265(2202) => false]); if(!$GLOBALS['____544685608'][661]($_1075184292)) $_1075184292= array();} if(empty($_1075184292)) $_1075184292= array(___252739265(2203) => array(), ___252739265(2204) => array()); $_702002978= ___252739265(2205); foreach($_1075184292[___252739265(2206)] as $_949331909 => $_1401958947){ if($_1401958947[(1060/2-530)] == ___252739265(2207) || $_1401958947[min(138,0,46)] == ___252739265(2208)){ if($_702002978 <> ___252739265(2209)) $_702002978 .= ___252739265(2210); $_702002978 .= $_949331909.___252739265(2211).$_1401958947[(189*2-378)].___252739265(2212).$_1401958947[round(0+0.33333333333333+0.33333333333333+0.33333333333333)];}} $_1193978398 .= ___252739265(2213).$GLOBALS['____544685608'][662]($_702002978);} if($GLOBALS['____544685608'][663](___252739265(2214)) && $GLOBALS['____544685608'][664](___252739265(2215)) == ___252739265(2216)){ $_430890092= array(); $_771381819= COption::GetOptionString(___252739265(2217), ___252739265(2218), ___252739265(2219)); if($_771381819 <> ___252739265(2220)){ $_771381819= $GLOBALS['____544685608'][665]($_771381819); $_430890092= $GLOBALS['____544685608'][666]($_771381819,[___252739265(2221) => false]); if(!$GLOBALS['____544685608'][667]($_430890092)) $_430890092= array(___252739265(2222));} if(empty($_430890092)) $_430890092= array(___252739265(2223)); $_1193978398 .= ___252739265(2224).$GLOBALS['____544685608'][668]($GLOBALS['____544685608'][669](___252739265(2225), $_430890092));} if(CModule::IncludeModule(___252739265(2226)) && $GLOBALS['____544685608'][670](___252739265(2227))) $_1193978398 .= ___252739265(2228).$GLOBALS['____544685608'][671](CCluster::getServersCount()); else $_1193978398 .= ___252739265(2229).$GLOBALS['____544685608'][672](___252739265(2230)); if($GLOBALS['____544685608'][673](___252739265(2231), ___252739265(2232)) && $GLOBALS['____544685608'][674](___252739265(2233), ___252739265(2234)) && CHTMLPagesCache::IsOn() && CHTMLPagesCache::IsCompositeEnabled()) $_1193978398 .= ___252739265(2235).$GLOBALS['____544685608'][675](___252739265(2236)); else $_1193978398 .= ___252739265(2237).$GLOBALS['____544685608'][676](___252739265(2238)); global $DB; if($DB->TableExists(___252739265(2239)) || $DB->TableExists(___252739265(2240))) $_1193978398 .= ___252739265(2241).$GLOBALS['____544685608'][677]((COption::GetOptionString(___252739265(2242), ___252739265(2243), ___252739265(2244)) == ___252739265(2245)? ___252739265(2246): ___252739265(2247))); else $_1193978398 .= ___252739265(2248).$GLOBALS['____544685608'][678](___252739265(2249)); $_874514158= CUpdateClient::getNewLicenseSignedKey(); $_1193978398 .= ___252739265(2250).$GLOBALS['____544685608'][679]($_874514158.___252739265(2251).COption::GetOptionString(___252739265(2252), $_874514158, ___252739265(2253))); return $_1193978398;} CUpdateClient::AddMessage2Log($_950870591, ___252739265(2254)); $_1323799214 .= $_950870591; return false;} public static function ModulesArray2Query($_1707773045, $_673080775= "bitm_"){ $_1736320734= ""; if($GLOBALS['____544685608'][680]($_1707773045)){ foreach($_1707773045 as $_219628798 => $_1416992166){ if($_1736320734 <> ___252739265(2255)) $_1736320734 .= ___252739265(2256); $_1736320734 .= $_673080775.$_219628798.___252739265(2257).$GLOBALS['____544685608'][681]($_1416992166);}} return $_1736320734;} public static function IsGzipInstalled(){ if($GLOBALS['____544685608'][682]("gzcompress")) return(COption::GetOptionString("main", "update_is_gzip_installed", "Y") == "Y"? true: false); return false;} public static function GetCurrentModules(&$_1323799214, $_1655798346= false){ $_1707773045= array(); $_1881832549=@$GLOBALS['____544685608'][683]($_SERVER[___252739265(2258)].US_SHARED_KERNEL_PATH.___252739265(2259)); if($_1881832549){ if($_1655798346 === false || $GLOBALS['____544685608'][684]($_1655798346) && $GLOBALS['____544685608'][685](___252739265(2260), $_1655798346)){ if($GLOBALS['____544685608'][686]($_SERVER[___252739265(2261)].US_SHARED_KERNEL_PATH.___252739265(2262)) && $GLOBALS['____544685608'][687]($_SERVER[___252739265(2263)].US_SHARED_KERNEL_PATH.___252739265(2264))){ $_278080920= $GLOBALS['____544685608'][688]($_SERVER[___252739265(2265)].US_SHARED_KERNEL_PATH.___252739265(2266)); $GLOBALS['____544685608'][689](___252739265(2267), $_278080920, $_1806337867); $_1707773045[___252739265(2268)]= $_1806337867[round(0+0.33333333333333+0.33333333333333+0.33333333333333)];} if($_1707773045[___252739265(2269)] == ___252739265(2270)){ CUpdateClient::AddMessage2Log(GetMessage(___252739265(2271)), ___252739265(2272)); $_1323799214 .= ___252739265(2273).GetMessage(___252739265(2274)).___252739265(2275);}} while(false !==($_1221076400= $GLOBALS['____544685608'][690]($_1881832549))){ if($GLOBALS['____544685608'][691]($_SERVER[___252739265(2276)].US_SHARED_KERNEL_PATH.___252739265(2277).$_1221076400) && $_1221076400 != ___252739265(2278) && $_1221076400 != ___252739265(2279) && $_1221076400 != ___252739265(2280) && $GLOBALS['____544685608'][692]($_1221076400, ___252739265(2281)) === false){ if($_1655798346 === false || $GLOBALS['____544685608'][693]($_1655798346) && $GLOBALS['____544685608'][694]($_1221076400, $_1655798346)){ $_659808168= $_SERVER[___252739265(2282)].US_SHARED_KERNEL_PATH.___252739265(2283).$_1221076400; if($GLOBALS['____544685608'][695]($_659808168.___252739265(2284))){ $_624836052= CUpdateClient::GetModuleInfo($_659808168); if(!isset($_624836052[___252739265(2285)]) || $_624836052[___252739265(2286)] == ___252739265(2287)){ CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][696](___252739265(2288), $_1221076400, GetMessage(___252739265(2289))), ___252739265(2290)); $_1323799214 .= ___252739265(2291).$GLOBALS['____544685608'][697](___252739265(2292), $_1221076400, GetMessage(___252739265(2293))).___252739265(2294);} else{ $_1707773045[$_1221076400]= $_624836052[___252739265(2295)];}} else{ continue; CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][698](___252739265(2296), $_1221076400, GetMessage(___252739265(2297))), ___252739265(2298)); $_1323799214 .= ___252739265(2299).$GLOBALS['____544685608'][699](___252739265(2300), $_1221076400, GetMessage(___252739265(2301))).___252739265(2302);}}}} $GLOBALS['____544685608'][700]($_1881832549);} else{ CUpdateClient::AddMessage2Log(GetMessage(___252739265(2303)), ___252739265(2304)); $_1323799214 .= ___252739265(2305).GetMessage(___252739265(2306)).___252739265(2307);} return $_1707773045;} public static function __GetFooPath(){ if(!$GLOBALS['____544685608'][701]("CLang")){ return "RA";} else{ $_1282805256= min(24,0,8); $_175355410= $_931674131= ___252739265(2308); $_1382182005= CLang::GetList($_175355410, $_931674131, array(___252739265(2309)=>___252739265(2310))); while($_1237954661= $_1382182005->Fetch()) $_1282805256++; return $_1282805256;}} public static function GetCurrentNumberOfUsers(){ return CUpdateClient::__GetFooPath1();} public static function GetCurrentLanguages(&$_1323799214, $_1655798346= false){ $_120028424= array(); $_871355311= $_SERVER[___252739265(2311)].US_SHARED_KERNEL_PATH.___252739265(2312); $_1881832549=@$GLOBALS['____544685608'][702]($_871355311); if($_1881832549){ while(false !==($_1221076400= $GLOBALS['____544685608'][703]($_1881832549))){ if($GLOBALS['____544685608'][704]($_871355311.___252739265(2313).$_1221076400) && $_1221076400!=___252739265(2314) && $_1221076400!=___252739265(2315)){ if($_1655798346===false || $GLOBALS['____544685608'][705]($_1655798346) && $GLOBALS['____544685608'][706]($_1221076400, $_1655798346)){ $_1814902825= ___252739265(2316); if($GLOBALS['____544685608'][707]($_871355311.___252739265(2317).$_1221076400.___252739265(2318))){ $_1814902825= $GLOBALS['____544685608'][708]($_871355311.___252739265(2319).$_1221076400.___252739265(2320)); $_1814902825= $GLOBALS['____544685608'][709](___252739265(2321), ___252739265(2322), $_1814902825); if($GLOBALS['____544685608'][710]($_1814902825) != round(0+8)){ CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][711](___252739265(2323), $_1221076400, GetMessage(___252739265(2324))), ___252739265(2325)); $_1323799214 .= ___252739265(2326).$GLOBALS['____544685608'][712](___252739265(2327), $_1221076400, GetMessage(___252739265(2328))).___252739265(2329); $_1814902825= ___252739265(2330);}} $_120028424[$_1221076400]= $_1814902825;}}} $GLOBALS['____544685608'][713]($_1881832549);} $_1740512650= false; $_175355410= ___252739265(2331); $_931674131= ___252739265(2332); if($GLOBALS['____544685608'][714](___252739265(2333))) $_1740512650= CLanguage::GetList($_175355410, $_931674131, array(___252739265(2334)=>___252739265(2335))); elseif($GLOBALS['____544685608'][715](___252739265(2336))) $_1740512650= CLang::GetList($_175355410, $_931674131, array(___252739265(2337)=>___252739265(2338))); if($_1740512650===false){ CUpdateClient::AddMessage2Log(GetMessage(___252739265(2339)), ___252739265(2340)); $_1323799214 .= ___252739265(2341).GetMessage(___252739265(2342)).___252739265(2343);} else{ while($_1237954661= $_1740512650->Fetch()){ if($_1655798346===false || $GLOBALS['____544685608'][716]($_1655798346) && $GLOBALS['____544685608'][717]($_1237954661[___252739265(2344)], $_1655798346)){ if(!$GLOBALS['____544685608'][718]($_1237954661[___252739265(2345)], $_120028424)){ $_120028424[$_1237954661[___252739265(2346)]]= ___252739265(2347);}}} if($_1655798346===false && empty($_120028424)){ CUpdateClient::AddMessage2Log(GetMessage(___252739265(2348)), ___252739265(2349)); $_1323799214 .= ___252739265(2350).GetMessage(___252739265(2351)).___252739265(2352);}} return $_120028424;} public static function __GetFooPath1(){ if($GLOBALS['____544685608'][719]('\Bitrix\Main\License', 'getActiveUsersCount')){ $_1587844353= new \Bitrix\Main\License(); return $_1587844353->getActiveUsersCount();} elseif(IsModuleInstalled(___252739265(2353))){ $_1373158878= ___252739265(2354); $_183729796= $GLOBALS[___252739265(2355)]->Query($_1373158878, true); if($_183729796 &&($_1177282390= $_183729796->Fetch())){ return $_1177282390[___252739265(2356)];}} return(836-2*418);} public static function GetCurrentHelps(&$_1323799214, $_1655798346= false){ $_1089253471= array(); $_495902403= $_SERVER[___252739265(2357)].US_SHARED_KERNEL_PATH.___252739265(2358); $_1881832549=@$GLOBALS['____544685608'][720]($_495902403); if($_1881832549){ while(false !==($_1221076400= $GLOBALS['____544685608'][721]($_1881832549))){ if($GLOBALS['____544685608'][722]($_495902403.___252739265(2359).$_1221076400) && $_1221076400!=___252739265(2360) && $_1221076400!=___252739265(2361)){ if($_1655798346===false || $GLOBALS['____544685608'][723]($_1655798346) && $GLOBALS['____544685608'][724]($_1221076400, $_1655798346)){ $_500367164= ___252739265(2362); if($GLOBALS['____544685608'][725]($_495902403.___252739265(2363).$_1221076400.___252739265(2364))){ $_500367164= $GLOBALS['____544685608'][726]($_495902403.___252739265(2365).$_1221076400.___252739265(2366)); $_500367164= $GLOBALS['____544685608'][727](___252739265(2367), ___252739265(2368), $_500367164); if($GLOBALS['____544685608'][728]($_500367164)!=round(0+2+2+2+2)){ CUpdateClient::AddMessage2Log($GLOBALS['____544685608'][729](___252739265(2369), $_1221076400, GetMessage(___252739265(2370))), ___252739265(2371)); $_1323799214 .= ___252739265(2372).$GLOBALS['____544685608'][730](___252739265(2373), $_1221076400, GetMessage(___252739265(2374))).___252739265(2375); $_500367164= ___252739265(2376);}} $_1089253471[$_1221076400]= $_500367164;}}} $GLOBALS['____544685608'][731]($_1881832549);} $_1740512650= false; $_175355410= ___252739265(2377); $_931674131= ___252739265(2378); if($GLOBALS['____544685608'][732](___252739265(2379))) $_1740512650= CLanguage::GetList($_175355410, $_931674131, array(___252739265(2380)=>___252739265(2381))); elseif($GLOBALS['____544685608'][733](___252739265(2382))) $_1740512650= CLang::GetList($_175355410, $_931674131, array(___252739265(2383)=>___252739265(2384))); if($_1740512650===false){ CUpdateClient::AddMessage2Log(GetMessage(___252739265(2385)), ___252739265(2386)); $_1323799214 .= ___252739265(2387).GetMessage(___252739265(2388)).___252739265(2389);} else{ while($_1237954661= $_1740512650->Fetch()){ if($_1655798346===false || $GLOBALS['____544685608'][734]($_1655798346) && $GLOBALS['____544685608'][735]($_1237954661[___252739265(2390)], $_1655798346)){ if(!$GLOBALS['____544685608'][736]($_1237954661[___252739265(2391)], $_1089253471)){ $_1089253471[$_1237954661[___252739265(2392)]]= ___252739265(2393);}}} if($_1655798346===false && empty($_1089253471)){ CUpdateClient::AddMessage2Log(GetMessage(___252739265(2394)), ___252739265(2395)); $_1323799214 .= ___252739265(2396).GetMessage(___252739265(2397)).___252739265(2398);}} return $_1089253471;} public static function AddMessage2Log($_384351051, $_1250732828= ""){ $_1896828541= 1000000; $_1779954508= round(0+8000); $_541551633= $_SERVER[___252739265(2399)].US_SHARED_KERNEL_PATH.___252739265(2400); $_2025996075= $_SERVER[___252739265(2401)].US_SHARED_KERNEL_PATH.___252739265(2402); if($_384351051 <> ___252739265(2403) || $_1250732828 <> ___252739265(2404)){ $_1901189773= $GLOBALS['____544685608'][737](true); if($GLOBALS['____544685608'][738]($_541551633)){ $_886372143=@$GLOBALS['____544685608'][739]($_541551633); $_886372143= $GLOBALS['____544685608'][740]($_886372143); if($_886372143> $_1896828541){ if(!($_810881699=@$GLOBALS['____544685608'][741]($_541551633, ___252739265(2405)))){ $GLOBALS['____544685608'][742]($_1901189773); return false;} if(!($_1327190513=@$GLOBALS['____544685608'][743]($_2025996075, ___252739265(2406)))){ $GLOBALS['____544685608'][744]($_1901189773); return false;} $_484468212= $GLOBALS['____544685608'][745]($_886372143-$_1896828541/2.0); $GLOBALS['____544685608'][746]($_810881699, $_484468212); do{ $_1383523654= $GLOBALS['____544685608'][747]($_810881699, $_1779954508); if($_1383523654 == ___252739265(2407)) break;@$GLOBALS['____544685608'][748]($_1327190513, $_1383523654);} while(true);@$GLOBALS['____544685608'][749]($_810881699);@$GLOBALS['____544685608'][750]($_1327190513);@$GLOBALS['____544685608'][751]($_2025996075, $_541551633);@$GLOBALS['____544685608'][752]($_2025996075);} $GLOBALS['____544685608'][753]();} if($_810881699=@$GLOBALS['____544685608'][754]($_541551633, ___252739265(2408))){ if($GLOBALS['____544685608'][755]($_810881699, LOCK_EX)){@$GLOBALS['____544685608'][756]($_810881699, $GLOBALS['____544685608'][757](___252739265(2409)).___252739265(2410).$_1250732828.___252739265(2411).$_384351051.___252739265(2412));@$GLOBALS['____544685608'][758]($_810881699);@$GLOBALS['____544685608'][759]($_810881699, LOCK_UN);@$GLOBALS['____544685608'][760]($_810881699);}} $GLOBALS['____544685608'][761]($_1901189773);}} public static function CheckDirPath($_1382182005, $_1340372408= true){ $_1350019530= Array(); $_1382182005= $GLOBALS['____544685608'][762](___252739265(2413), ___252739265(2414), $_1382182005); $_1382182005= $GLOBALS['____544685608'][763](___252739265(2415), ___252739265(2416), $_1382182005); if($_1382182005[$GLOBALS['____544685608'][764]($_1382182005)-round(0+0.5+0.5)] != ___252739265(2417)){ $_278080920= CUpdateClient::bxstrrpos($_1382182005, ___252739265(2418)); $_1382182005= $GLOBALS['____544685608'][765]($_1382182005,(1084/2-542), $_278080920);} while($GLOBALS['____544685608'][766]($_1382182005)>round(0+0.5+0.5) && $_1382182005[$GLOBALS['____544685608'][767]($_1382182005)-round(0+0.33333333333333+0.33333333333333+0.33333333333333)]==___252739265(2419)) $_1382182005= $GLOBALS['____544685608'][768]($_1382182005,(876-2*438), $GLOBALS['____544685608'][769]($_1382182005)-round(0+0.25+0.25+0.25+0.25)); $_278080920= CUpdateClient::bxstrrpos($_1382182005, ___252739265(2420)); while($_278080920>(814-2*407)){ if($GLOBALS['____544685608'][770]($_1382182005) && $GLOBALS['____544685608'][771]($_1382182005)){ if($_1340372408){ if(!$GLOBALS['____544685608'][772]($_1382182005))@$GLOBALS['____544685608'][773]($_1382182005, BX_DIR_PERMISSIONS);} break;} $_1350019530[]= $GLOBALS['____544685608'][774]($_1382182005, $_278080920+round(0+0.2+0.2+0.2+0.2+0.2)); $_1382182005= $GLOBALS['____544685608'][775]($_1382182005,(1076/2-538), $_278080920); $_278080920= CUpdateClient::bxstrrpos($_1382182005, ___252739265(2421));} for($_1127921678= $GLOBALS['____544685608'][776]($_1350019530)-round(0+0.2+0.2+0.2+0.2+0.2); $_1127921678>=(898-2*449); $_1127921678--){ $_1382182005= $_1382182005.___252739265(2422).$_1350019530[$_1127921678];@$GLOBALS['____544685608'][777]($_1382182005, BX_DIR_PERMISSIONS);}} public static function CopyDirFiles($_1351840008, $_2133011966,&$_1323799214, $_245347942= true, $_2108779949= array()){ $_950870591= ""; while($GLOBALS['____544685608'][778]($_1351840008)> round(0+1) && $_1351840008[$GLOBALS['____544685608'][779]($_1351840008)-round(0+1)] == ___252739265(2423)) $_1351840008= $GLOBALS['____544685608'][780]($_1351840008,(1072/2-536), $GLOBALS['____544685608'][781]($_1351840008)-round(0+0.33333333333333+0.33333333333333+0.33333333333333)); while($GLOBALS['____544685608'][782]($_2133011966)> round(0+0.5+0.5) && $_2133011966[$GLOBALS['____544685608'][783]($_2133011966)-round(0+0.2+0.2+0.2+0.2+0.2)] == ___252739265(2424)) $_2133011966= $GLOBALS['____544685608'][784]($_2133011966,(167*2-334), $GLOBALS['____544685608'][785]($_2133011966)-round(0+1)); if($GLOBALS['____544685608'][786]($_2133011966.___252739265(2425), $_1351840008.___252739265(2426)) ===(984-2*492)) $_950870591 .= ___252739265(2427).GetMessage(___252739265(2428)).___252739265(2429); if($_950870591 == ___252739265(2430)){ if(!$GLOBALS['____544685608'][787]($_1351840008)) $_950870591 .= ___252739265(2431).$GLOBALS['____544685608'][788](___252739265(2432), $_1351840008, GetMessage(___252739265(2433))).___252739265(2434);} if($_950870591 == ___252739265(2435)){ $strongUpdateCheck= COption::GetOptionString(___252739265(2436), ___252739265(2437), ___252739265(2438)); if($GLOBALS['____544685608'][789]($_1351840008)){ CUpdateClient::CheckDirPath($_2133011966.___252739265(2439)); if(!$GLOBALS['____544685608'][790]($_2133011966) ||!$GLOBALS['____544685608'][791]($_2133011966)) $_950870591 .= ___252739265(2440).$GLOBALS['____544685608'][792](___252739265(2441), $_2133011966, GetMessage(___252739265(2442))).___252739265(2443); elseif(!$GLOBALS['____544685608'][793]($_2133011966)) $_950870591 .= ___252739265(2444).$GLOBALS['____544685608'][794](___252739265(2445), $_2133011966, GetMessage(___252739265(2446))).___252739265(2447); if($_950870591 == ___252739265(2448)){ if($_1881832549=@$GLOBALS['____544685608'][795]($_1351840008)){ while(($_517023637= $GLOBALS['____544685608'][796]($_1881832549)) !== false){ if($_517023637 == ___252739265(2449) || $_517023637 == ___252739265(2450)) continue; if($_245347942 && $GLOBALS['____544685608'][797]($_517023637,(862-2*431), $GLOBALS['____544685608'][798](___252739265(2451))) == ___252739265(2452)) continue; if($_245347942 &&($GLOBALS['____544685608'][799]($_517023637,(772-2*386), $GLOBALS['____544685608'][800](___252739265(2453))) === ___252739265(2454)) &&( $GLOBALS['____544685608'][801]($GLOBALS['____544685608'][802]($_517023637,-round(0+1.5+1.5)), array(___252739265(2455), ___252739265(2456), ___252739265(2457), ___252739265(2458))) || $GLOBALS['____544685608'][803]($GLOBALS['____544685608'][804]($_517023637,-round(0+1+1+1+1+1)), array(___252739265(2459))))){ continue;} if(!empty($_2108779949)){ $_1762413502= false; foreach($_2108779949 as $_1913520795){ if($GLOBALS['____544685608'][805]($_1351840008.___252739265(2460).$_517023637.___252739265(2461), ___252739265(2462).$_1913520795.___252739265(2463)) !== false){ $_1762413502= true; break;}} if($_1762413502) continue;} if($GLOBALS['____544685608'][806]($_1351840008.___252739265(2464).$_517023637)){ CUpdateClient::CopyDirFiles($_1351840008.___252739265(2465).$_517023637, $_2133011966.___252739265(2466).$_517023637, $_950870591, false, $_2108779949);} elseif($GLOBALS['____544685608'][807]($_1351840008.___252739265(2467).$_517023637)){ if($GLOBALS['____544685608'][808]($_2133011966.___252739265(2468).$_517023637) &&!$GLOBALS['____544685608'][809]($_2133011966.___252739265(2469).$_517023637)){ $_950870591 .= ___252739265(2470).$GLOBALS['____544685608'][810](___252739265(2471), $_2133011966.___252739265(2472).$_517023637, GetMessage(___252739265(2473))).___252739265(2474);} else{ if($strongUpdateCheck == ___252739265(2475)) $_1403625890= $GLOBALS['____544685608'][811]($GLOBALS['____544685608'][812]($GLOBALS['____544685608'][813]($_1351840008.___252739265(2476).$_517023637)));@$GLOBALS['____544685608'][814]($_1351840008.___252739265(2477).$_517023637, $_2133011966.___252739265(2478).$_517023637);@$GLOBALS['____544685608'][815]($_2133011966.___252739265(2479).$_517023637, BX_FILE_PERMISSIONS); if($strongUpdateCheck == ___252739265(2480)){ $_1678013875= $GLOBALS['____544685608'][816]($GLOBALS['____544685608'][817]($GLOBALS['____544685608'][818]($_2133011966.___252739265(2481).$_517023637))); if($_1678013875 !== $_1403625890){ $_950870591 .= ___252739265(2482).$GLOBALS['____544685608'][819](___252739265(2483), $_2133011966.___252739265(2484).$_517023637, GetMessage(___252739265(2485))).___252739265(2486);}}}}}@$GLOBALS['____544685608'][820]($_1881832549);}}} else{ $_278080920= CUpdateClient::bxstrrpos($_2133011966, ___252739265(2487)); $_1170272101= $GLOBALS['____544685608'][821]($_2133011966, min(78,0,26), $_278080920); CUpdateClient::CheckDirPath($_1170272101.___252739265(2488)); if(!$GLOBALS['____544685608'][822]($_1170272101) ||!$GLOBALS['____544685608'][823]($_1170272101)) $_950870591 .= ___252739265(2489).$GLOBALS['____544685608'][824](___252739265(2490), $_1170272101, GetMessage(___252739265(2491))).___252739265(2492); elseif(!$GLOBALS['____544685608'][825]($_1170272101)) $_950870591 .= ___252739265(2493).$GLOBALS['____544685608'][826](___252739265(2494), $_1170272101, GetMessage(___252739265(2495))).___252739265(2496); if($_950870591 == ___252739265(2497)){ if($strongUpdateCheck == ___252739265(2498)) $_1403625890= $GLOBALS['____544685608'][827]($GLOBALS['____544685608'][828]($GLOBALS['____544685608'][829]($_1351840008)));@$GLOBALS['____544685608'][830]($_1351840008, $_2133011966);@$GLOBALS['____544685608'][831]($_2133011966, BX_FILE_PERMISSIONS); if($strongUpdateCheck == ___252739265(2499)){ $_1678013875= $GLOBALS['____544685608'][832]($GLOBALS['____544685608'][833]($GLOBALS['____544685608'][834]($_2133011966))); if($_1678013875 !== $_1403625890){ $_950870591 .= ___252739265(2500).$GLOBALS['____544685608'][835](___252739265(2501), $_2133011966, GetMessage(___252739265(2502))).___252739265(2503);}}}}} if($_950870591 <> ___252739265(2504)){ CUpdateClient::AddMessage2Log($_950870591, ___252739265(2505)); $_1323799214 .= $_950870591; return false;} else return true;} public static function DeleteDirFilesEx($_1382182005){ if(!$GLOBALS['____544685608'][836]($_1382182005)) return false; if($GLOBALS['____544685608'][837]($_1382182005)){@$GLOBALS['____544685608'][838]($_1382182005); return true;} if($_1881832549=@$GLOBALS['____544685608'][839]($_1382182005)){ while(($_517023637= $GLOBALS['____544685608'][840]($_1881832549)) !== false){ if($_517023637 == ___252739265(2506) || $_517023637 == ___252739265(2507)) continue; if($GLOBALS['____544685608'][841]($_1382182005.___252739265(2508).$_517023637)){ CUpdateClient::DeleteDirFilesEx($_1382182005.___252739265(2509).$_517023637);} else{@$GLOBALS['____544685608'][842]($_1382182005.___252739265(2510).$_517023637);}}}@$GLOBALS['____544685608'][843]($_1881832549);@$GLOBALS['____544685608'][844]($_1382182005); return true;} public static function bxstrrpos($_632357909, $_98881825){ $_737175448= $GLOBALS['____544685608'][845]($GLOBALS['____544685608'][846]($_632357909), $GLOBALS['____544685608'][847]($_98881825)); if($_737175448 === false){ return false;} $_737175448= $GLOBALS['____544685608'][848]($_632357909)- $GLOBALS['____544685608'][849]($_98881825)- $_737175448; return $_737175448;} public static function GetModuleInfo($_1382182005){ $arModuleVersion= array(); $_702002978= $GLOBALS['____544685608'][850]($_1382182005.___252739265(2511)); if($_702002978 !== false){@eval($GLOBALS['____544685608'][851](array(''), '', $_702002978)); if($GLOBALS['____544685608'][852]($arModuleVersion) && $GLOBALS['____544685608'][853](___252739265(2512), $arModuleVersion)) return $arModuleVersion;} $GLOBALS['____544685608'][854]($_1382182005.___252739265(2513)); include($_1382182005.___252739265(2514)); if($GLOBALS['____544685608'][855]($arModuleVersion) && $GLOBALS['____544685608'][856](___252739265(2515), $arModuleVersion)) return $arModuleVersion; include_once($_1382182005.___252739265(2516)); $_514834610= $GLOBALS['____544685608'][857](___252739265(2517), $_1382182005); $_1127921678= $GLOBALS['____544685608'][858](___252739265(2518), $_514834610); $_782212259= $_514834610[$_1127921678+round(0+0.2+0.2+0.2+0.2+0.2)]; $_782212259= $GLOBALS['____544685608'][859](___252739265(2519), ___252739265(2520), $_782212259); $_1899939550= new $_782212259; return array( ___252739265(2521) => $_1899939550->MODULE_VERSION, ___252739265(2522) => $_1899939550->MODULE_VERSION_DATE,);} public static function GetLicenseKey(){ if($GLOBALS['____544685608'][860]("US_LICENSE_KEY")) return US_LICENSE_KEY; if($GLOBALS['____544685608'][861](___252739265(2523))) return LICENSE_KEY; if(!isset($GLOBALS[___252739265(2524)]) || $GLOBALS[___252739265(2525)]==___252739265(2526)){ $LICENSE_KEY= ___252739265(2527); if($GLOBALS['____544685608'][862]($_SERVER[___252739265(2528)].___252739265(2529))) include($_SERVER[___252739265(2530)].___252739265(2531)); $GLOBALS[___252739265(2532)]= $LICENSE_KEY;} return $GLOBALS[___252739265(2533)];} public static function getmicrotime(){ list($_344853998, $_803147598)= $GLOBALS['____544685608'][863](" ", $GLOBALS['____544685608'][864]()); return((float)$_344853998+ (float)$_803147598);} private static function __1617184128($_274982959, $_1165223252, $_1356093736){ if($GLOBALS['____544685608'][865]('CUtil') && $GLOBALS['____544685608'][866]('CUtil', 'ConvertToLangCharset')) $_274982959= CUtil::ConvertToLangCharset($_274982959); $_194436047= GetMessage(___252739265(2534)).___252739265(2535).$_1165223252.___252739265(2536).$_274982959.___252739265(2537); if($GLOBALS['____544685608'][867]($_1165223252) <=(888-2*444)) $_194436047 .= GetMessage(___252739265(2538)).___252739265(2539); CUpdateClient::AddMessage2Log( ___252739265(2540).$_1356093736[___252739265(2541)].___252739265(2542).$_1165223252.___252739265(2543).$_274982959.___252739265(2544), ___252739265(2545)); return $_194436047;} private static function __1322302013($_1629788344= null, $_1414323565= null){ if(!$_1629788344) $_1629788344= COption::GetOptionString("main", "update_site", DEFAULT_UPDATE_SERVER); if(!$_1414323565) $_1414323565= round(0+40+40); $_519808251= COption::GetOptionString(___252739265(2546), ___252739265(2547), ___252739265(2548)); $_295316290= COption::GetOptionString(___252739265(2549), ___252739265(2550), ___252739265(2551)); $_1962409267= COption::GetOptionString(___252739265(2552), ___252739265(2553), ___252739265(2554)); $_942349292= COption::GetOptionString(___252739265(2555), ___252739265(2556), ___252739265(2557)); $_2074025981=($_519808251 <> ___252739265(2558) && $_295316290 <> ___252739265(2559)); $_297439= array( ___252739265(2560) => $_2074025981, ___252739265(2561) => $_1629788344, ___252739265(2562) => $_1414323565, ___252739265(2563) => $_1629788344, ___252739265(2564) => $_1414323565,); if($_2074025981){ $_295316290= $GLOBALS['____544685608'][868]($_295316290); if($_295316290 <= min(122,0,40.666666666667)) $_295316290= round(0+20+20+20+20); $_297439[___252739265(2565)]= $_519808251; $_297439[___252739265(2566)]= $_295316290; $_297439[___252739265(2567)]= $_1962409267; $_297439[___252739265(2568)]= $_942349292;} return $_297439;}} class CUpdateControllerSupport{ public static function CheckUpdates(){ $errorMessage= ""; $_882375976= COption::GetOptionString(___252739265(2569), ___252739265(2570), ___252739265(2571)); if(!($_787597164= CUpdateClient::GetUpdatesList($errorMessage, LANG, $_882375976))) $errorMessage .= GetMessage(___252739265(2572)).___252739265(2573); if($_787597164){ if(isset($_787597164[___252739265(2574)])){ for($_1127921678=(214*2-428), $_1282805256= $GLOBALS['____544685608'][869]($_787597164[___252739265(2575)]); $_1127921678< $_1282805256; $_1127921678++) $errorMessage .= ___252739265(2576).$_787597164[___252739265(2577)][$_1127921678][___252739265(2578)][___252739265(2579)].___252739265(2580).$_787597164[___252739265(2581)][$_1127921678][___252739265(2582)];}} if($errorMessage <> ___252739265(2583)) return array(___252739265(2584), $errorMessage); if(isset($_787597164[___252739265(2585)])) return array(___252739265(2586), ___252739265(2587)); $_270597754= min(116,0,38.666666666667); if(isset($_787597164[___252739265(2588)][min(58,0,19.333333333333)][___252739265(2589)][___252739265(2590)]) && $GLOBALS['____544685608'][870]($_787597164[___252739265(2591)][min(244,0,81.333333333333)][___252739265(2592)][___252739265(2593)])) $_270597754= $GLOBALS['____544685608'][871]($_787597164[___252739265(2594)][(930-2*465)][___252739265(2595)][___252739265(2596)]); $_413300405= min(94,0,31.333333333333); if(isset($_787597164[___252739265(2597)][(202*2-404)][___252739265(2598)][___252739265(2599)][(1492/2-746)][___252739265(2600)][___252739265(2601)]) && $GLOBALS['____544685608'][872]($_787597164[___252739265(2602)][(142*2-284)][___252739265(2603)][___252739265(2604)][(1404/2-702)][___252739265(2605)][___252739265(2606)])) $_413300405= $GLOBALS['____544685608'][873]($_787597164[___252739265(2607)][(1320/2-660)][___252739265(2608)][___252739265(2609)][(776-2*388)][___252739265(2610)][___252739265(2611)]); if($_413300405> min(114,0,38) && $_270597754>(179*2-358)) return array(___252739265(2612), ___252739265(2613)); elseif($_413300405 <=(241*2-482) && $_270597754>(830-2*415)) return array(___252739265(2614), ___252739265(2615)); elseif($_413300405> min(144,0,48) && $_270597754 <=(138*2-276)) return array(___252739265(2616), ___252739265(2617)); else return array(___252739265(2618), ___252739265(2619));} public static function UpdateModules(){ return CUpdateControllerSupport::__UpdateKernel("M");} public static function UpdateLangs(){ return CUpdateControllerSupport::__UpdateKernel("L");} public static function __UpdateKernel($_43529490){ $GLOBALS['____544685608'][874]("UPD_INTERNAL_CALL", "Y"); $_REQUEST[___252739265(2620)]= $_43529490; $GLOBALS['____544685608'][875](); include($_SERVER[___252739265(2621)].___252739265(2622)); $_297439= $GLOBALS['____544685608'][876](); $GLOBALS['____544685608'][877](); return $_297439;} public static function UpdateUpdate(){ $GLOBALS['____544685608'][878]("UPD_INTERNAL_CALL", "Y"); $_REQUEST[___252739265(2623)]= ___252739265(2624); $GLOBALS['____544685608'][879](); include($_SERVER[___252739265(2625)].___252739265(2626)); $_297439= $GLOBALS['____544685608'][880](); $GLOBALS['____544685608'][881](); return $_297439;} public static function Finish(){@$GLOBALS['____544685608'][882]($_SERVER["DOCUMENT_ROOT"].US_SHARED_KERNEL_PATH."/modules/versions.php");} public static function Update($_1383523654= ""){@$GLOBALS['____544685608'][883](0); $GLOBALS['____544685608'][884](___252739265(2627), ___252739265(2628)); $GLOBALS['____544685608'][885](true); $_1193978398= ___252739265(2629); $_1383523654= $GLOBALS['____544685608'][886]($_1383523654); if($_1383523654 == ___252739265(2630) || $_1383523654 == ___252739265(2631)){ $_815989955= CUpdateControllerSupport::CheckUpdates(); if($_815989955[min(122,0,40.666666666667)] == ___252739265(2632)){ $_1193978398= ___252739265(2633).$_815989955[round(0+0.33333333333333+0.33333333333333+0.33333333333333)];} elseif($_815989955[(247*2-494)] == ___252739265(2634)){ $_1193978398= ___252739265(2635);} elseif($_815989955[(918-2*459)] == ___252739265(2636)){ $_1193978398= ___252739265(2637);} elseif($_815989955[min(202,0,67.333333333333)] == ___252739265(2638)){ $_1193978398= ___252739265(2639).$_815989955[round(0+0.5+0.5)];} else{ $_1193978398= ___252739265(2640).___252739265(2641);}} else{ if($_1383523654 == ___252739265(2642)){ $_1080846951= CUpdateControllerSupport::UpdateUpdate(); if($_1080846951 == ___252739265(2643)) $_1193978398= ___252739265(2644); else $_1193978398= ___252739265(2645).$_1080846951;} elseif(SubStr($_1383523654,(1404/2-702), round(0+1.5+1.5)) == ___252739265(2646)){ $_630952844= SubStr($_1383523654, round(0+1.5+1.5)); if($_630952844 == ___252739265(2647)){ $_1080846951= CUpdateControllerSupport::UpdateModules(); if($_1080846951 == ___252739265(2648)) $_1193978398= ___252739265(2649).___252739265(2650); elseif(SubStr($_1080846951,(176*2-352), round(0+0.75+0.75+0.75+0.75)) == ___252739265(2651)) $_1193978398= ___252739265(2652).SubStr($_1080846951, round(0+1.5+1.5)); elseif(SubStr($_1080846951,(978-2*489), round(0+3)) == ___252739265(2653)) $_1193978398= ___252739265(2654).___252739265(2655).___252739265(2656).SubStr($_1080846951, round(0+3)); else $_1193978398= ___252739265(2657).___252739265(2658);} elseif($_630952844 == ___252739265(2659)){ $_1080846951= CUpdateControllerSupport::UpdateModules(); if($_1080846951 == ___252739265(2660)) $_1193978398= ___252739265(2661); elseif(SubStr($_1080846951,(954-2*477), round(0+1+1+1)) == ___252739265(2662)) $_1193978398= ___252739265(2663).SubStr($_1080846951, round(0+1+1+1)); elseif(SubStr($_1080846951, min(216,0,72), round(0+3)) == ___252739265(2664)) $_1193978398= ___252739265(2665).___252739265(2666).___252739265(2667).SubStr($_1080846951, round(0+0.6+0.6+0.6+0.6+0.6)); else $_1193978398= ___252739265(2668).___252739265(2669);} elseif($_630952844 == ___252739265(2670)){ $_1080846951= CUpdateControllerSupport::UpdateLangs(); if($_1080846951 == ___252739265(2671)) $_1193978398= ___252739265(2672); elseif(SubStr($_1080846951,(243*2-486), round(0+0.6+0.6+0.6+0.6+0.6)) == ___252739265(2673)) $_1193978398= ___252739265(2674).SubStr($_1080846951, round(0+1.5+1.5)); elseif(SubStr($_1080846951,(147*2-294), round(0+1+1+1)) == ___252739265(2675)) $_1193978398= ___252739265(2676).___252739265(2677).___252739265(2678).SubStr($_1080846951, round(0+0.6+0.6+0.6+0.6+0.6)); else $_1193978398= ___252739265(2679).___252739265(2680);} else{ $_1193978398= ___252739265(2681).___252739265(2682);}} else{ $_1193978398= ___252739265(2683).___252739265(2684);}} if($_1193978398 == ___252739265(2685)) CUpdateControllerSupport::Finish(); return $_1193978398;} public static function CollectVersionsFile(){ $_1404788260= $_SERVER["DOCUMENT_ROOT"].US_SHARED_KERNEL_PATH."/modules/versions.php";@$GLOBALS['____544685608'][887]($_1404788260); $errorMessage= ___252739265(2686); $_659547738= CUpdateClient::GetCurrentModules($errorMessage, false); if($errorMessage == ___252739265(2687)){ $_258823405= $GLOBALS['____544685608'][888]($_1404788260, ___252739265(2688)); $GLOBALS['____544685608'][889]($_258823405, ___252739265(2689).___252739265(2690)); $GLOBALS['____544685608'][890]($_258823405, ___252739265(2691)); foreach($_659547738 as $_1641661643 => $_1767659852) $GLOBALS['____544685608'][891]($_258823405, ___252739265(2692).htmlspecialcharsbx($_1641661643).___252739265(2693).htmlspecialcharsbx($_1767659852).___252739265(2694)); $GLOBALS['____544685608'][892]($_258823405, ___252739265(2695)); $GLOBALS['____544685608'][893]($_258823405, ___252739265(2696).___252739265(2697)); $GLOBALS['____544685608'][894]($_258823405);}}} class CUpdateExpertMode{ const OPTION_NAME= 'update_system_expert_mode'; public static function isAvailable(){ return( $GLOBALS['____544685608'][895]($GLOBALS['____544685608'][896](), '7.0.0') >= 0 && $GLOBALS['____544685608'][897]('UPDATE_SYSTEM_EXPERT_MODE_ENABLED') && UPDATE_SYSTEM_EXPERT_MODE_ENABLED === true);} public static function isEnabled(){ return( static::isAvailable() && COption::GetOptionString('main', 'update_system_expert_mode', 'N') === 'Y');} public static function enable(){ COption::SetOptionString('main', 'update_system_expert_mode', 'Y');} public static function disable(){ COption::SetOptionString('main', 'update_system_expert_mode', 'N');} public static function isCorrectModulesStructure($_1013400590){ if(!$GLOBALS['____544685608'][898]($_1013400590)){ return false;} $_1504493957= $GLOBALS['____544685608'][899]($_1013400590); if($_1504493957 === $GLOBALS['____544685608'][900]($_1504493957)){ return false;} $_205529739= $GLOBALS['____544685608'][901]($_1013400590); if($GLOBALS['____544685608'][902]($_205529739) && isset($_205529739[___252739265(2698)]) && $GLOBALS['____544685608'][903]($_205529739[___252739265(2699)])){ return true;} return false;} public static function processModulesFrom($_1013400590, $_83254544){ if(!$GLOBALS['____544685608'][904]($_83254544)){ return array();} if(!$GLOBALS['____544685608'][905]($_1013400590)){ return $_83254544;} foreach($_83254544 as $_1650523765 => $_2013085415){ if(!isset($_1013400590[$_1650523765][___252739265(2700)])){ continue;} if(CUpdateClient::CompareVersions($_2013085415, $_1013400590[$_1650523765][___252739265(2701)])>(223*2-446)){ $_83254544[$_1650523765]= $_1013400590[$_1650523765][___252739265(2702)];}} return $_83254544;} public static function extractModulesTo($_1013400590){ if(!$GLOBALS['____544685608'][906]($_1013400590)){ return array();} $_886044038= array(); foreach($_1013400590 as $_1650523765 => $_942507877){ if(isset($_942507877[___252739265(2703)])){ $_886044038[$_1650523765]= $_942507877[___252739265(2704)];}} return $_886044038;} public static function isIncludeTmpUpdatesEnabled(){ return static::isEnabled() && COption::GetOptionString('main', 'update_system_expert_mode_include_tmp_updates', 'N') === 'Y';} public static function enableIncludeTmpUpdates(){ COption::SetOptionString('main', 'update_system_expert_mode_include_tmp_updates', 'Y');} public static function disableIncludeTmpUpdates(){ COption::SetOptionString('main', 'update_system_expert_mode_include_tmp_updates', 'N');}}?>