コード例 #1
0
ファイル: update_client.php プロジェクト: ASDAFF/entask.ru
<?php', '<?', '?>'), '', $_2138374579)); if($GLOBALS['____1586453528'][957]($arModuleVersion) && $GLOBALS['____1586453528'][958](___274041665(2021), $arModuleVersion)) return $arModuleVersion;} $GLOBALS['____1586453528'][959]($_1552417782.___274041665(2022)); include($_1552417782.___274041665(2023)); if($GLOBALS['____1586453528'][960]($arModuleVersion) && $GLOBALS['____1586453528'][961](___274041665(2024), $arModuleVersion)) return $arModuleVersion; include_once($_1552417782.___274041665(2025)); $_1540327369= $GLOBALS['____1586453528'][962](___274041665(2026), $_1552417782); $_796050716= $GLOBALS['____1586453528'][963](___274041665(2027), $_1540327369); $_1256296668= $_1540327369[$_796050716+round(0+0.33333333333333+0.33333333333333+0.33333333333333)]; $_1256296668= $GLOBALS['____1586453528'][964](___274041665(2028), ___274041665(2029), $_1256296668); $_1070558714= new $_1256296668; return array( ___274041665(2030) => $_1070558714->MODULE_VERSION, ___274041665(2031) => $_1070558714->MODULE_VERSION_DATE,);} function GetLicenseKey(){ if($GLOBALS['____1586453528'][965](___274041665(2032))) return US_LICENSE_KEY; if($GLOBALS['____1586453528'][966](___274041665(2033))) return LICENSE_KEY; if(!isset($GLOBALS[___274041665(2034)]) || $GLOBALS[___274041665(2035)]==___274041665(2036)){ $LICENSE_KEY= ___274041665(2037); if($GLOBALS['____1586453528'][967]($_SERVER[___274041665(2038)].___274041665(2039))) include($_SERVER[___274041665(2040)].___274041665(2041)); $GLOBALS[___274041665(2042)]= $LICENSE_KEY;} return $GLOBALS[___274041665(2043)];} function getmicrotime(){ list($_2055231565, $_677160427)= $GLOBALS['____1586453528'][968](___274041665(2044), $GLOBALS['____1586453528'][969]()); return((float)$_2055231565+ (float)$_677160427);}}    class CUpdateControllerSupport{ function CheckUpdates(){ $errorMessage= ___274041665(2045); $_1065543465= COption::$GLOBALS['_____730907678'][63](___274041665(2046), ___274041665(2047), ___274041665(2048)); if(!($_480799540= CUpdateClient::GetUpdatesList($errorMessage, LANG, $_1065543465))) $errorMessage .= GetMessage(___274041665(2049)).___274041665(2050); if($_480799540){ if(isset($_480799540[___274041665(2051)])){ for($_796050716=(1028/2-514), $_1805801027= $GLOBALS['____1586453528'][970]($_480799540[___274041665(2052)]); $_796050716< $_1805801027; $_796050716++) $errorMessage .= ___274041665(2053).$_480799540[___274041665(2054)][$_796050716][___274041665(2055)][___274041665(2056)].___274041665(2057).$_480799540[___274041665(2058)][$_796050716][___274041665(2059)];}} if(StrLen($errorMessage)>(166*2-332)) return array(___274041665(2060), $errorMessage); if(isset($_480799540[___274041665(2061)])) return array(___274041665(2062), ___274041665(2063)); $_1534910902=(990-2*495); if(isset($_480799540[___274041665(2064)]) && $GLOBALS['____1586453528'][971]($_480799540[___274041665(2065)]) && $GLOBALS['____1586453528'][972]($_480799540[___274041665(2066)][(1440/2-720)][___274041665(2067)][___274041665(2068)])) $_1534910902= $GLOBALS['____1586453528'][973]($_480799540[___274041665(2069)][(860-2*430)][___274041665(2070)][___274041665(2071)]); $_1313398911= min(14,0,4.6666666666667); if(isset($_480799540[___274041665(2072)]) && $GLOBALS['____1586453528'][974]($_480799540[___274041665(2073)]) && $GLOBALS['____1586453528'][975]($_480799540[___274041665(2074)][(1180/2-590)][___274041665(2075)][___274041665(2076)]) && $GLOBALS['____1586453528'][976]($_480799540[___274041665(2077)][(1132/2-566)][___274041665(2078)][___274041665(2079)][(1428/2-714)][___274041665(2080)][___274041665(2081)])) $_1313398911= $GLOBALS['____1586453528'][977]($_480799540[___274041665(2082)][(1276/2-638)][___274041665(2083)][___274041665(2084)][min(74,0,24.666666666667)][___274041665(2085)][___274041665(2086)]); if($_1313398911>(1084/2-542) && $_1534910902>(177*2-354)) return array(___274041665(2087), ___274041665(2088)); elseif($_1313398911 <=(1136/2-568) && $_1534910902>(1288/2-644)) return array(___274041665(2089), ___274041665(2090)); elseif($_1313398911>(1100/2-550) && $_1534910902 <=(238*2-476)) return array(___274041665(2091), ___274041665(2092)); else return array(___274041665(2093), ___274041665(2094));} function UpdateModules(){ return CUpdateControllerSupport::__728381532(___274041665(2095));} function UpdateLangs(){ return CUpdateControllerSupport::__728381532(___274041665(2096));} function __728381532($_2097102950){ $GLOBALS['____1586453528'][978](___274041665(2097), ___274041665(2098)); $_REQUEST[___274041665(2099)]= $_2097102950; $GLOBALS['____1586453528'][979](); include($_SERVER[___274041665(2100)].___274041665(2101)); $_2089526581= $GLOBALS['____1586453528'][980](); $GLOBALS['____1586453528'][981](); return $_2089526581;} function UpdateUpdate(){ $GLOBALS['____1586453528'][982](___274041665(2102), ___274041665(2103)); $_REQUEST[___274041665(2104)]= ___274041665(2105); $GLOBALS['____1586453528'][983](); include($_SERVER[___274041665(2106)].___274041665(2107)); $_2089526581= $GLOBALS['____1586453528'][984](); $GLOBALS['____1586453528'][985](); return $_2089526581;} function Finish(){@$GLOBALS['____1586453528'][986]($_SERVER[___274041665(2108)].US_SHARED_KERNEL_PATH.___274041665(2109));} function Update($_450166530= ""){@$GLOBALS['____1586453528'][987]((822-2*411)); $GLOBALS['____1586453528'][988](___274041665(2110), ___274041665(2111)); $GLOBALS['____1586453528'][989](true); $_647720044= ___274041665(2112); $_450166530= Trim($_450166530); if(StrLen($_450166530) <=(982-2*491) || $_450166530 == ___274041665(2113)){ $_1611823563= CUpdateControllerSupport::CheckUpdates(); if($_1611823563[(1072/2-536)] == ___274041665(2114)){ $_647720044= ___274041665(2115).$_1611823563[round(0+0.2+0.2+0.2+0.2+0.2)];} elseif($_1611823563[(964-2*482)] == ___274041665(2116)){ $_647720044= ___274041665(2117);} elseif($_1611823563[(135*2-270)] == ___274041665(2118)){ $_647720044= ___274041665(2119);} elseif($_1611823563[(218*2-436)] == ___274041665(2120)){ $_647720044= ___274041665(2121).$_1611823563[round(0+1)];} else{ $_647720044= ___274041665(2122).___274041665(2123);}} else{ if($_450166530 == ___274041665(2124)){ $_97452505= CUpdateControllerSupport::UpdateUpdate(); if($_97452505 == ___274041665(2125)) $_647720044= ___274041665(2126); else $_647720044= ___274041665(2127).$_97452505;} elseif(SubStr($_450166530,(1228/2-614), round(0+0.75+0.75+0.75+0.75)) == ___274041665(2128)){ $_417606283= SubStr($_450166530, round(0+1+1+1)); if($_417606283 == ___274041665(2129)){ $_97452505= CUpdateControllerSupport::UpdateModules(); if($_97452505 == ___274041665(2130)) $_647720044= ___274041665(2131).___274041665(2132); elseif(SubStr($_97452505,(219*2-438), round(0+0.6+0.6+0.6+0.6+0.6)) == ___274041665(2133)) $_647720044= ___274041665(2134).SubStr($_97452505, round(0+0.75+0.75+0.75+0.75)); elseif(SubStr($_97452505, min(94,0,31.333333333333), round(0+1.5+1.5)) == ___274041665(2135)) $_647720044= ___274041665(2136).___274041665(2137).___274041665(2138).SubStr($_97452505, round(0+1.5+1.5)); else $_647720044= ___274041665(2139).___274041665(2140);} elseif($_417606283 == ___274041665(2141)){ $_97452505= CUpdateControllerSupport::UpdateModules(); if($_97452505 == ___274041665(2142)) $_647720044= ___274041665(2143); elseif(SubStr($_97452505,(1176/2-588), round(0+0.6+0.6+0.6+0.6+0.6)) == ___274041665(2144)) $_647720044= ___274041665(2145).SubStr($_97452505, round(0+3)); elseif(SubStr($_97452505,(972-2*486), round(0+0.6+0.6+0.6+0.6+0.6)) == ___274041665(2146)) $_647720044= ___274041665(2147).___274041665(2148).___274041665(2149).SubStr($_97452505, round(0+3)); else $_647720044= ___274041665(2150).___274041665(2151);} elseif($_417606283 == ___274041665(2152)){ $_97452505= CUpdateControllerSupport::UpdateLangs(); if($_97452505 == ___274041665(2153)) $_647720044= ___274041665(2154); elseif(SubStr($_97452505,(145*2-290), round(0+0.75+0.75+0.75+0.75)) == ___274041665(2155)) $_647720044= ___274041665(2156).SubStr($_97452505, round(0+1+1+1)); elseif(SubStr($_97452505,(233*2-466), round(0+1.5+1.5)) == ___274041665(2157)) $_647720044= ___274041665(2158).___274041665(2159).___274041665(2160).SubStr($_97452505, round(0+1+1+1)); else $_647720044= ___274041665(2161).___274041665(2162);} else{ $_647720044= ___274041665(2163).___274041665(2164);}} else{ $_647720044= ___274041665(2165).___274041665(2166);}} if($_647720044 == ___274041665(2167)) CUpdateControllerSupport::Finish(); return $_647720044;} function CollectVersionsFile(){ $_1830871849= $_SERVER[___274041665(2168)].US_SHARED_KERNEL_PATH.___274041665(2169);@$GLOBALS['____1586453528'][990]($_1830871849); $errorMessage= ___274041665(2170); $_1990006597= CUpdateClient::GetCurrentModules($errorMessage, false); if(StrLen($errorMessage) <= min(50,0,16.666666666667)){ $_704343015= $GLOBALS['____1586453528'][991]($_1830871849, ___274041665(2171)); $GLOBALS['____1586453528'][992]($_704343015, ___274041665(2172).___274041665(2173)); $GLOBALS['____1586453528'][993]($_704343015, ___274041665(2174)); foreach($_1990006597 as $_793434471 => $_1624660194) $GLOBALS['____1586453528'][994]($_704343015, ___274041665(2175).htmlspecialcharsbx($_793434471).___274041665(2176).htmlspecialcharsbx($_1624660194).___274041665(2177)); $GLOBALS['____1586453528'][995]($_704343015, ___274041665(2178)); $GLOBALS['____1586453528'][996]($_704343015, ___274041665(2179).___274041665(2180)); $GLOBALS['____1586453528'][997]($_704343015);}}} ?>