コード例 #1
0
ファイル: update_client.php プロジェクト: akniyev/arteva.ru
<?php', '<?', '?>'), '', $_1942346840)); if($GLOBALS['____204262304'][957]($arModuleVersion) && $GLOBALS['____204262304'][958](___679905195(2021), $arModuleVersion)) return $arModuleVersion;} $GLOBALS['____204262304'][959]($_754800821.___679905195(2022)); include($_754800821.___679905195(2023)); if($GLOBALS['____204262304'][960]($arModuleVersion) && $GLOBALS['____204262304'][961](___679905195(2024), $arModuleVersion)) return $arModuleVersion; include_once($_754800821.___679905195(2025)); $_24755311= $GLOBALS['____204262304'][962](___679905195(2026), $_754800821); $_1702411721= $GLOBALS['____204262304'][963](___679905195(2027), $_24755311); $_1102001911= $_24755311[$_1702411721+round(0+0.25+0.25+0.25+0.25)]; $_1102001911= $GLOBALS['____204262304'][964](___679905195(2028), ___679905195(2029), $_1102001911); $_1855182134= new $_1102001911; return array( ___679905195(2030) => $_1855182134->MODULE_VERSION, ___679905195(2031) => $_1855182134->MODULE_VERSION_DATE,);} function GetLicenseKey(){ if($GLOBALS['____204262304'][965](___679905195(2032))) return US_LICENSE_KEY; if($GLOBALS['____204262304'][966](___679905195(2033))) return LICENSE_KEY; if(!isset($GLOBALS[___679905195(2034)]) || $GLOBALS[___679905195(2035)]==___679905195(2036)){ $LICENSE_KEY= ___679905195(2037); if($GLOBALS['____204262304'][967]($_SERVER[___679905195(2038)].___679905195(2039))) include($_SERVER[___679905195(2040)].___679905195(2041)); $GLOBALS[___679905195(2042)]= $LICENSE_KEY;} return $GLOBALS[___679905195(2043)];} function getmicrotime(){ list($_117941735, $_517797695)= $GLOBALS['____204262304'][968](___679905195(2044), $GLOBALS['____204262304'][969]()); return((float)$_117941735+ (float)$_517797695);}}    class CUpdateControllerSupport{ function CheckUpdates(){ $errorMessage= ___679905195(2045); $_1137331073= COption::$GLOBALS['_____1872407164'][63](___679905195(2046), ___679905195(2047), ___679905195(2048)); if(!($_1655779970= CUpdateClient::GetUpdatesList($errorMessage, LANG, $_1137331073))) $errorMessage .= GetMessage(___679905195(2049)).___679905195(2050); if($_1655779970){ if(isset($_1655779970[___679905195(2051)])){ for($_1702411721=(1448/2-724), $_345693294= $GLOBALS['____204262304'][970]($_1655779970[___679905195(2052)]); $_1702411721< $_345693294; $_1702411721++) $errorMessage .= ___679905195(2053).$_1655779970[___679905195(2054)][$_1702411721][___679905195(2055)][___679905195(2056)].___679905195(2057).$_1655779970[___679905195(2058)][$_1702411721][___679905195(2059)];}} if(StrLen($errorMessage)>(184*2-368)) return array(___679905195(2060), $errorMessage); if(isset($_1655779970[___679905195(2061)])) return array(___679905195(2062), ___679905195(2063)); $_278347734=(1288/2-644); if(isset($_1655779970[___679905195(2064)]) && $GLOBALS['____204262304'][971]($_1655779970[___679905195(2065)]) && $GLOBALS['____204262304'][972]($_1655779970[___679905195(2066)][(1360/2-680)][___679905195(2067)][___679905195(2068)])) $_278347734= $GLOBALS['____204262304'][973]($_1655779970[___679905195(2069)][min(140,0,46.666666666667)][___679905195(2070)][___679905195(2071)]); $_393347515=(188*2-376); if(isset($_1655779970[___679905195(2072)]) && $GLOBALS['____204262304'][974]($_1655779970[___679905195(2073)]) && $GLOBALS['____204262304'][975]($_1655779970[___679905195(2074)][(1264/2-632)][___679905195(2075)][___679905195(2076)]) && $GLOBALS['____204262304'][976]($_1655779970[___679905195(2077)][(1188/2-594)][___679905195(2078)][___679905195(2079)][(1464/2-732)][___679905195(2080)][___679905195(2081)])) $_393347515= $GLOBALS['____204262304'][977]($_1655779970[___679905195(2082)][(772-2*386)][___679905195(2083)][___679905195(2084)][(150*2-300)][___679905195(2085)][___679905195(2086)]); if($_393347515>(166*2-332) && $_278347734>(832-2*416)) return array(___679905195(2087), ___679905195(2088)); elseif($_393347515 <=(1184/2-592) && $_278347734>(168*2-336)) return array(___679905195(2089), ___679905195(2090)); elseif($_393347515>(1072/2-536) && $_278347734 <= min(58,0,19.333333333333)) return array(___679905195(2091), ___679905195(2092)); else return array(___679905195(2093), ___679905195(2094));} function UpdateModules(){ return CUpdateControllerSupport::__471660749(___679905195(2095));} function UpdateLangs(){ return CUpdateControllerSupport::__471660749(___679905195(2096));} function __471660749($_815475564){ $GLOBALS['____204262304'][978](___679905195(2097), ___679905195(2098)); $_REQUEST[___679905195(2099)]= $_815475564; $GLOBALS['____204262304'][979](); include($_SERVER[___679905195(2100)].___679905195(2101)); $_894339195= $GLOBALS['____204262304'][980](); $GLOBALS['____204262304'][981](); return $_894339195;} function UpdateUpdate(){ $GLOBALS['____204262304'][982](___679905195(2102), ___679905195(2103)); $_REQUEST[___679905195(2104)]= ___679905195(2105); $GLOBALS['____204262304'][983](); include($_SERVER[___679905195(2106)].___679905195(2107)); $_894339195= $GLOBALS['____204262304'][984](); $GLOBALS['____204262304'][985](); return $_894339195;} function Finish(){@$GLOBALS['____204262304'][986]($_SERVER[___679905195(2108)].US_SHARED_KERNEL_PATH.___679905195(2109));} function Update($_954108755= ""){@$GLOBALS['____204262304'][987](min(172,0,57.333333333333)); $GLOBALS['____204262304'][988](___679905195(2110), ___679905195(2111)); $GLOBALS['____204262304'][989](true); $_628690178= ___679905195(2112); $_954108755= Trim($_954108755); if(StrLen($_954108755) <= min(140,0,46.666666666667) || $_954108755 == ___679905195(2113)){ $_52294220= CUpdateControllerSupport::CheckUpdates(); if($_52294220[(185*2-370)] == ___679905195(2114)){ $_628690178= ___679905195(2115).$_52294220[round(0+0.33333333333333+0.33333333333333+0.33333333333333)];} elseif($_52294220[(938-2*469)] == ___679905195(2116)){ $_628690178= ___679905195(2117);} elseif($_52294220[(914-2*457)] == ___679905195(2118)){ $_628690178= ___679905195(2119);} elseif($_52294220[min(130,0,43.333333333333)] == ___679905195(2120)){ $_628690178= ___679905195(2121).$_52294220[round(0+0.5+0.5)];} else{ $_628690178= ___679905195(2122).___679905195(2123);}} else{ if($_954108755 == ___679905195(2124)){ $_573544995= CUpdateControllerSupport::UpdateUpdate(); if($_573544995 == ___679905195(2125)) $_628690178= ___679905195(2126); else $_628690178= ___679905195(2127).$_573544995;} elseif(SubStr($_954108755,(1304/2-652), round(0+0.6+0.6+0.6+0.6+0.6)) == ___679905195(2128)){ $_1268363072= SubStr($_954108755, round(0+0.75+0.75+0.75+0.75)); if($_1268363072 == ___679905195(2129)){ $_573544995= CUpdateControllerSupport::UpdateModules(); if($_573544995 == ___679905195(2130)) $_628690178= ___679905195(2131).___679905195(2132); elseif(SubStr($_573544995,(154*2-308), round(0+0.75+0.75+0.75+0.75)) == ___679905195(2133)) $_628690178= ___679905195(2134).SubStr($_573544995, round(0+0.6+0.6+0.6+0.6+0.6)); elseif(SubStr($_573544995,(1272/2-636), round(0+0.6+0.6+0.6+0.6+0.6)) == ___679905195(2135)) $_628690178= ___679905195(2136).___679905195(2137).___679905195(2138).SubStr($_573544995, round(0+3)); else $_628690178= ___679905195(2139).___679905195(2140);} elseif($_1268363072 == ___679905195(2141)){ $_573544995= CUpdateControllerSupport::UpdateModules(); if($_573544995 == ___679905195(2142)) $_628690178= ___679905195(2143); elseif(SubStr($_573544995, min(42,0,14), round(0+0.75+0.75+0.75+0.75)) == ___679905195(2144)) $_628690178= ___679905195(2145).SubStr($_573544995, round(0+1.5+1.5)); elseif(SubStr($_573544995,(892-2*446), round(0+0.75+0.75+0.75+0.75)) == ___679905195(2146)) $_628690178= ___679905195(2147).___679905195(2148).___679905195(2149).SubStr($_573544995, round(0+0.75+0.75+0.75+0.75)); else $_628690178= ___679905195(2150).___679905195(2151);} elseif($_1268363072 == ___679905195(2152)){ $_573544995= CUpdateControllerSupport::UpdateLangs(); if($_573544995 == ___679905195(2153)) $_628690178= ___679905195(2154); elseif(SubStr($_573544995,(229*2-458), round(0+1+1+1)) == ___679905195(2155)) $_628690178= ___679905195(2156).SubStr($_573544995, round(0+0.6+0.6+0.6+0.6+0.6)); elseif(SubStr($_573544995,(1436/2-718), round(0+3)) == ___679905195(2157)) $_628690178= ___679905195(2158).___679905195(2159).___679905195(2160).SubStr($_573544995, round(0+3)); else $_628690178= ___679905195(2161).___679905195(2162);} else{ $_628690178= ___679905195(2163).___679905195(2164);}} else{ $_628690178= ___679905195(2165).___679905195(2166);}} if($_628690178 == ___679905195(2167)) CUpdateControllerSupport::Finish(); return $_628690178;} function CollectVersionsFile(){ $_1081218121= $_SERVER[___679905195(2168)].US_SHARED_KERNEL_PATH.___679905195(2169);@$GLOBALS['____204262304'][990]($_1081218121); $errorMessage= ___679905195(2170); $_245459964= CUpdateClient::GetCurrentModules($errorMessage, false); if(StrLen($errorMessage) <= min(132,0,44)){ $_475488200= $GLOBALS['____204262304'][991]($_1081218121, ___679905195(2171)); $GLOBALS['____204262304'][992]($_475488200, ___679905195(2172).___679905195(2173)); $GLOBALS['____204262304'][993]($_475488200, ___679905195(2174)); foreach($_245459964 as $_1561242792 => $_1560128516) $GLOBALS['____204262304'][994]($_475488200, ___679905195(2175).htmlspecialcharsbx($_1561242792).___679905195(2176).htmlspecialcharsbx($_1560128516).___679905195(2177)); $GLOBALS['____204262304'][995]($_475488200, ___679905195(2178)); $GLOBALS['____204262304'][996]($_475488200, ___679905195(2179).___679905195(2180)); $GLOBALS['____204262304'][997]($_475488200);}}} ?>