Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /** * This source file is subject to the commercial software * license agreemen..

Decoded Output download

<?php 
/** 
 * This source file is subject to the commercial software 
 * license agreement available through the world-wide-web at this URL: 
 * https://psandmore.com/licenses/sla 
 * If you are unable to obtain the license, please send an email to 
 * [email protected] and we will send you a copy immediately. 
 * 
 * @author    PS&More www.psandmore.com <[email protected]> 
 * @copyright 2011-2020 PS&More 
 * @license   psandmore.com/licenses/sla 
 */ 
 class PPSetup extends PSMSetup30 { const VERSION_SIGNATURE_START = "PP_VERSION["; const VERSION_REQUIRED_SIGNATURE_START = "PP_VERSION_REQUIRED["; const VERSION_SIGNATURE_END = "]"; const VERSION_INDEX = 0; const VERSION_REQUIRED_INDEX = 1; const VERSION_CHECK_INDEX = 0; const VERSION_CHECK_DESC_INDEX = 1; const EXTRA_MODULE = "module"; const EXTRA_VER = "version"; const EXTRA_ENABLED = "enabled"; const EXTRA_INTEGRATED = "integrated"; const EXTRA_IGNORE = "ignore"; protected $install_mode; protected $extra; protected $check_integration_processed; private $module_installed; private static $s_cache = array(); protected static $ppsetup_custom = array(); protected static $ppsetup_custom_config = null; public function install() { set_time_limit(300); $this->install_mode = true; $this->setupAndIntegration(); } public function uninstall() { set_time_limit(300); $this->setup(); } public function runSetup() { set_time_limit(300); $this->install_mode = true; $this->extra = $this->getExtraModulesConfiguration(); $this->setupAndIntegration(); } public function sanityCheck() { $this->setupSmarty(true); } public function runIntegrationTest() { set_time_limit(300); $this->setupAndIntegration(); } public function checkIntegration() { set_time_limit(300); $this->extra = $this->getExtraModulesConfiguration(); $this->setupAndIntegration(); $this->check_integration_processed = true; } public function moduleInstalled($bMy9t) { if (!Validate::isLoadedObject($bMy9t)) { goto O5IzK; } $r8zYq = $this->getExtraModules(); foreach ($r8zYq as $CWu4z) { if (!($bMy9t->name == $CWu4z["name"])) { goto w3Gl1; } set_time_limit(300); $uY9Qi = $this->install_mode; $this->install_mode = true; $this->module_installed = $bMy9t; $this->setupExtraModules(); $this->install_mode = $uY9Qi; Configuration::deleteByName("PP_INTEGRATION_CHECK"); Configuration::deleteByName("PP_INFO_CHECK_TIME"); if (!($bMy9t->name == "paypal")) { goto PVyHj; } Configuration::updateValue("PAYPAL_EXPRESS_CHECKOUT_SHORTCUT", 0); PVyHj: goto GTfuS; w3Gl1: mfvEu: } GTfuS: O5IzK: } public function moduleUpgraded($bMy9t) { $this->moduleInstalled($bMy9t); } public function checkModifiedFiles() { $vmANe = array(); list(, , , , $J9yRV, ) = $DiHuK = $this->getSetupVars1(); foreach ($J9yRV as $mEM7n) { list(, , $lGyLe, $pU4Bg, $mGlTp, $KulHu) = $this->getSetupVars2($DiHuK, $mEM7n); if (!$mGlTp) { goto ZNgO7; } $DDW7H = _PS_ROOT_DIR_ . "/" . $mGlTp; if (!is_file($DDW7H)) { goto Ed6zj; } $vmANe[$this->module->l("Overridden files")][] = sprintf($this->module->l("File "%s" overridden by "%s""), PSM::normalizePath($KulHu), PSM::normalizePath($mGlTp)); Ed6zj: ZNgO7: if (PSM::md5filesCompare($mEM7n, $pU4Bg)) { goto H7lI3; } $biNZu = array(); $Pzm9d = $this->module->plugins(); foreach ($Pzm9d as $aUUyU => $URk2o) { $d1Of4 = null; if (!Module::isInstalled($aUUyU)) { goto B1eo_; } if (!($d1Of4 === null)) { goto fSLWp; } $d1Of4 = Tools::file_get_contents($pU4Bg); fSLWp: if (!(Tools::strpos($d1Of4, "[modified by " . $aUUyU . "]") !== false)) { goto RmfDe; } $biNZu[$aUUyU] = $aUUyU; RmfDe: B1eo_: cQR6O: } sixiz: $vmANe[$this->module->l("Modified files")][] = PSM::normalizePath($lGyLe) . (count($biNZu) ? " " . sprintf($this->module->l("(modified by %s)"), implode(", ", $biNZu)) : ''); $wZb1s = $this->checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n); if (!(Tools::strlen($wZb1s[self::VERSION_CHECK_DESC_INDEX]) > 0)) { goto NZxXl; } if ($wZb1s[self::VERSION_CHECK_INDEX] == false) { goto ELR7c; } $vmANe[$this->module->l("Warnings")][] = $wZb1s[self::VERSION_CHECK_DESC_INDEX]; goto iiH5U; ELR7c: $vmANe[$this->module->l("Files integration")][] = $wZb1s[self::VERSION_CHECK_DESC_INDEX]; iiH5U: NZxXl: H7lI3: byTRz: } BnYfB: foreach (array("css", "js") as $m6rPK) { foreach (scandir(dirname(__FILE__) . "/views/" . $m6rPK) as $ODFpD) { $v3REF = false; if (Tools::strrpos($ODFpD, ".css") === Tools::strlen($ODFpD) - 4) { goto V84Lk; } if (Tools::strrpos($ODFpD, ".js") === Tools::strlen($ODFpD) - 3) { goto PCY0z; } goto kA1PG; V84Lk: if (!(Tools::strpos($ODFpD, "custom.css") === false)) { goto yw8mE; } $v3REF = "themes/" . _THEME_NAME_ . "/css/modules/" . $this->module->name . "/views/css/" . $ODFpD; yw8mE: goto kA1PG; PCY0z: if (!(Tools::strpos($ODFpD, "custom.js") === false)) { goto SXolI; } $v3REF = "themes/" . _THEME_NAME_ . "/js/modules/" . $this->module->name . "/views/js/" . $ODFpD; SXolI: kA1PG: if (!$v3REF) { goto RxAvn; } $u6PIQ = _PS_ROOT_DIR_ . "/" . $v3REF; if (!is_file($u6PIQ)) { goto LuBBE; } $vmANe[$this->module->l("Overridden files")][] = sprintf($this->module->l("File "%s" overridden by "%s""), PSM::normalizePath(dirname(__FILE__) . "/" . $ODFpD, "relative"), PSM::normalizePath($v3REF)); LuBBE: RxAvn: zmKkg: } nnH5d: a9_UG: } Au092: return $vmANe; } public function processIntegrationModule($n02z8) { $sCoCQ = "error"; if (!($BfSUx = Tools::getValue("json"))) { goto FOAhq; } $CWu4z = $this->getExtraModulesConfiguration(); if (!($CWu4z != null)) { goto gHxci; } $lolAj = json_decode($BfSUx, true); $Jd_lk = $lolAj["module"]; $n3QBE = $lolAj["ver"]; foreach ($CWu4z as &$bMy9t) { if (!(strcmp($Jd_lk, $bMy9t[self::EXTRA_MODULE]) == 0 && strcmp((string) $n3QBE, (string) $bMy9t[self::EXTRA_VER]) == 0)) { goto zdFkm; } $sCoCQ = "success"; $bMy9t[self::EXTRA_IGNORE] = $n02z8; $this->saveExtraModulesConfiguration($CWu4z); goto BSwA0; zdFkm: ycVMP: } BSwA0: gHxci: FOAhq: $BfSUx = array("status" => $sCoCQ); return json_encode($BfSUx); } protected function setup() { $ZyASF = $this->getXmlMd5File("prestashop/" . _PS_VERSION_ . ".xml", "ps_root_dir", _PS_VERSION_); list(, , , , $J9yRV, ) = $DiHuK = $this->getSetupVars1(); foreach ($J9yRV as $mEM7n) { list($GXeXU, $u8MJK, $lGyLe, $pU4Bg, , ) = $this->getSetupVars2($DiHuK, $mEM7n); if ($this->install_mode) { goto PENEi; } $UhYXs = PSM::md5filesCompare($mEM7n, $pU4Bg); if (!$UhYXs) { goto UrNjO; } $this->restoreFile($pU4Bg); $zGtoX = PSM::md5filesCompare($mEM7n, $pU4Bg); if (!$zGtoX) { goto KTgKA; } if (!is_array($ZyASF)) { goto FNLe8; } $nOl2D = array_keys($ZyASF); FNLe8: if (!(is_array($nOl2D) && !in_array($GXeXU, $nOl2D))) { goto RB1ow; } Tools::deleteFile($pU4Bg); RB1ow: KTgKA: UrNjO: goto OG8xh; PENEi: $wZb1s = $this->checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n); if (!($wZb1s[self::VERSION_CHECK_INDEX] == false)) { goto fhjJ0; } if (!is_array($ZyASF)) { goto izeoB; } $nOl2D = array_keys($ZyASF); izeoB: $c9MXV = !file_exists($pU4Bg); if ($c9MXV) { goto GXwuA; } if (!(isset($nOl2D) && is_array($nOl2D) && in_array($u8MJK, $nOl2D))) { goto yCGhI; } $c9MXV = PSM::md5Compare($pU4Bg, $ZyASF[$u8MJK]); yCGhI: GXwuA: if (!$c9MXV) { goto xw7oP; } $this->backupFile($pU4Bg); if (is_dir(dirname($pU4Bg))) { goto fdzBr; } mkdir(dirname($pU4Bg), 0755, true); fdzBr: @chmod($pU4Bg, 0755); Tools::deleteFile($pU4Bg); Tools::copy($mEM7n, $pU4Bg); xw7oP: fhjJ0: OG8xh: K9MGE: } WEjMR: if (!$this->install_mode) { goto Kn4F7; } $yyHom = $this->updateDB(); if (!$yyHom) { goto npQYO; } $this->insertData(false); npQYO: Kn4F7: $this->setupSmarty($this->install_mode); $this->getPPSetupEx()->setup(); $this->setupPlugins(); $this->setupExtraModules(); if ($this->install_mode) { goto HHhhI; } $this->cleanup(); goto c2mL7; HHhhI: PSM::protectDirectory(self::getBackupRootDirectory()); c2mL7: } protected function setupExtraModuleUninstalled() { } private function setupPlugins() { $Pzm9d = $this->plugins(); foreach ($Pzm9d as $e03au) { $e03au->setup(); XIyhh: } uy5Dv: } private function setupExtraModules() { if ($this->install_mode) { goto A_P0v; } $r8zYq = $this->getExtraModules(); $EmCj7 = PSM::getDB(); foreach ($r8zYq as $CWu4z) { foreach ($CWu4z["files"] as $w3rXK) { $mEM7n = $w3rXK["file"]; if (basename($mEM7n) == "ppsetup.php") { goto rT3HI; } $pU4Bg = _PS_MODULE_DIR_ . $w3rXK["rel_path"]; $UhYXs = PSM::md5filesCompare($w3rXK["file"], $pU4Bg); if (!$UhYXs) { goto k40gH; } $this->restoreFile($pU4Bg); k40gH: goto nhd9f; rT3HI: $U7bz2 = $this->isModuleInstalled($EmCj7, $CWu4z["name"], $CWu4z["version"]); if ($U7bz2) { goto AfVqo; } if (($P94JY = Module::getInstanceByName($CWu4z["name"])) && $P94JY->version == $CWu4z["version"]) { goto u48MC; } goto L8Rv0; AfVqo: $e03au = $this->getPPSetup($CWu4z["name"], $mEM7n); $e03au->setup(); goto L8Rv0; u48MC: $e03au = $this->getPPSetup($CWu4z["name"], $mEM7n); $e03au->setupExtraModuleUninstalled(); L8Rv0: nhd9f: qHKic: } PUsZA: ehzks: } cOQu6: goto yuZ5q; A_P0v: $this->extraModules(false); yuZ5q: } private function setupAndIntegration() { if (isset($this->module->integration_test_result)) { goto C3mNE; } $this->module->integration_test_result = array(); C3mNE: if (!$this->install_mode) { goto j3fz4; } $this->setup(); j3fz4: $this->checkFilesIntegrity(); $this->getPPSetupEx()->checkIntegrity(); $this->checkDbIntegrity(); $this->checkSmartyIntegrity(); $this->checkPluginsIntegrity(); $this->checkExtraModulesIntegrity(); $this->module->integrated = count($this->module->integration_test_result) == 0; if ($this->module->integrated) { goto q9xVN; } Configuration::deleteByName("PP_INTEGRATION"); goto fMPTs; q9xVN: Configuration::updateGlobalValue("PP_INTEGRATION", $this->module->integrationKey()); fMPTs: Configuration::updateGlobalValue("PP_INTEGRATION_CHECK", time()); } private function checkFilesIntegrity() { $yyHom = true; list(, , , , $J9yRV, ) = $DiHuK = $this->getSetupVars1(); foreach ($J9yRV as $mEM7n) { list(, , $lGyLe, $pU4Bg, , ) = $this->getSetupVars2($DiHuK, $mEM7n); $yyHom &= $this->checkFileIntegrity($pU4Bg, $lGyLe, $mEM7n); tvAib: } u1ZyL: return $yyHom; } private function checkFileIntegrity($pU4Bg, $lGyLe, $mEM7n) { $wZb1s = $this->checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n); if (!($wZb1s[self::VERSION_CHECK_INDEX] == false)) { goto KkLR4; } $this->module->integration_test_result[$this->module->l("Files integration")][] = $wZb1s[self::VERSION_CHECK_DESC_INDEX]; KkLR4: return $wZb1s[self::VERSION_CHECK_INDEX]; } private function checkPluginsIntegrity() { if (!$this->check_integration_processed) { goto Hf_Wv; } return; Hf_Wv: $Pzm9d = $this->module->plugins(); foreach ($Pzm9d as $aUUyU => $gIv3H) { list($URk2o, $sNN9D) = $gIv3H; if (!($WUaYG = PSM::getPlugin($aUUyU, $sNN9D))) { goto kDmrH; } if (!($u0UTL = PSM::checkPluginCompatibility($aUUyU, $WUaYG->apiVersion(), $Pzm9d))) { goto hpwHK; } $this->module->integration_test_result[$this->module->l("Plugins")][] = $u0UTL; hpwHK: kDmrH: aGSU1: } MlNF3: $Pzm9d = $this->plugins(); foreach ($Pzm9d as $aUUyU => $e03au) { $e03au->checkIntegrity(); hSwDv: } dwfic: } public function checkExtraModulesIntegrity($zu82Y = false) { $vmANe = array(); if ($this->check_integration_processed) { goto rqdFL; } $this->extraModules(true); $CWu4z = $this->getExtraModulesConfiguration(); if (!($CWu4z != null)) { goto v9bM5; } $srmTw = $this->getExtraModulesList(); $xex8T = $this->module->l("Modules"); foreach ($CWu4z as $bMy9t) { if (!($bMy9t[self::EXTRA_ENABLED] && !$bMy9t[self::EXTRA_INTEGRATED])) { goto f6mDC; } $aUUyU = $bMy9t[self::EXTRA_MODULE]; $n3QBE = $bMy9t[self::EXTRA_VER]; if ($bMy9t[self::EXTRA_IGNORE]) { goto lxTsu; } if ($zu82Y) { goto wByQ6; } if (empty($srmTw[$aUUyU])) { goto I0b0X; } $j0qxh = " (<span class="pp-integration-module check-for-update-or-ignore" data-module="" . $aUUyU . "" data-ver="" . $n3QBE . ""><a href="#" data-mode="IntegrationModuleCheckForUpdates"><i class="icon-refresh"></i>" . $this->module->l("check for update") . "</a> " . PSM::translate("or") . " <a href="#" data-mode="IntegrationModuleIgnore">" . $this->module->l("ignore") . "</a> " . $this->module->l("and allow to work without proper integration") . "</span>)"; goto a4RBJ; I0b0X: $j0qxh = " (<span class="pp-integration-module check-for-update-or-ignore" data-module="" . $aUUyU . "" data-ver="" . $n3QBE . ""><a href="#" data-mode="IntegrationModuleIgnore">" . $this->module->l("ignore") . "</a> " . $this->module->l("and allow to work without proper integration") . "</span>)"; a4RBJ: if ($n3QBE == "all") { goto psPMy; } $this->module->integration_test_result[$xex8T][] = sprintf($this->module->l("Integration failed for module "%s" version %s"), $aUUyU, $n3QBE) . $j0qxh; goto uiOSU; psPMy: $this->module->integration_test_result[$xex8T][] = sprintf($this->module->l("Integration failed for module "%s""), $aUUyU) . $j0qxh; uiOSU: wByQ6: goto bY8z2; lxTsu: if (!$zu82Y) { goto k2G64; } $j0qxh = " (<span class="pp-integration-module integrate" data-module="" . $aUUyU . "" data-ver="" . $n3QBE . ""><a href="#" data-mode="IntegrationModuleIntegrate">" . $this->module->l("activate integration") . "</a></span>)."; $vmANe[$xex8T][] = sprintf($this->module->l("Module "%s" not integrated. Integration postponed by user"), $aUUyU) . $j0qxh; k2G64: bY8z2: f6mDC: oFzpc: } cBQR0: v9bM5: rqdFL: return $zu82Y ? $vmANe : $this->module->integrated && count($this->module->integration_test_result) == 0; } private function extraModules($q3sDI) { $XO90u = array(); $yyHom = array(); $this->downloadExtraModules($q3sDI); $r8zYq = $this->getExtraModules(); $EmCj7 = PSM::getDB(); foreach ($r8zYq as &$CWu4z) { $CWu4z["enabled"] = $this->isModuleEnabled($CWu4z["name"], $CWu4z["version"]); $CWu4z["integrated"] = false; $CWu4z["ignore"] = false; if ($CWu4z["enabled"]) { goto gRPqm; } if ($q3sDI) { goto Z0Ky2; } foreach ($CWu4z["files"] as $w3rXK) { $mEM7n = $w3rXK["file"]; if (!(basename($mEM7n) == "ppsetup.php")) { goto QluU2; } if (!(($P94JY = Module::getInstanceByName($CWu4z["name"])) && $P94JY->version == $CWu4z["version"])) { goto N2KzV; } $e03au = $this->getPPSetup($CWu4z["name"], $mEM7n); $e03au->setupExtraModuleUninstalled(); N2KzV: QluU2: a1SpU: } k8Oxf: Z0Ky2: goto rxsqZ; gRPqm: $CWu4z["ignore"] = $this->ignoreExtraModule($CWu4z["name"], $CWu4z["version"]); if (!(!$CWu4z["ignore"] && count($CWu4z["files"]) > 0)) { goto GKsM5; } $CWu4z["integrated"] = true; foreach ($CWu4z["files"] as $w3rXK) { $mEM7n = $w3rXK["file"]; if (basename($mEM7n) == "ppsetup.php") { goto oSCdY; } $lGyLe = $w3rXK["rel_path"]; $pU4Bg = _PS_MODULE_DIR_ . $lGyLe; $wZb1s = $this->checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n); $gIT7c = $wZb1s[self::VERSION_CHECK_INDEX]; if ($q3sDI) { goto yTohP; } if ($gIT7c) { goto zJqeq; } if (!is_file($pU4Bg)) { goto r4QwD; } $this->backupFile($pU4Bg, true); Tools::copy($mEM7n, $pU4Bg); r4QwD: $gIT7c = $this->checkFileIntegrity($pU4Bg, $lGyLe, $mEM7n); zJqeq: yTohP: goto NEB8U; oSCdY: $e03au = $this->getPPSetup($CWu4z["name"], $mEM7n); if ($q3sDI) { goto CPx33; } $e03au->setup(); CPx33: $gIT7c = $e03au->checkIntegrity(); NEB8U: $CWu4z["integrated"] &= $gIT7c; OK0ht: } LBuzk: GKsM5: rxsqZ: if (!($CWu4z["version"] != "all")) { goto vMw7N; } $XO90u[$CWu4z["name"]] = (isset($XO90u[$CWu4z["name"]]) ? $XO90u[$CWu4z["name"]] : false) | (bool) $CWu4z["integrated"]; vMw7N: $yyHom[] = array(self::EXTRA_MODULE => $CWu4z["name"], self::EXTRA_VER => $CWu4z["version"], self::EXTRA_ENABLED => $CWu4z["enabled"] ? 1 : 0, self::EXTRA_INTEGRATED => $CWu4z["integrated"] ? 1 : 0, self::EXTRA_IGNORE => $CWu4z["ignore"] ? 1 : 0); Hl7wc: } qxzKr: foreach ($XO90u as $aUUyU => $gIT7c) { if (!(!$gIT7c && $this->isModuleEnabled($aUUyU))) { goto GUaiy; } $LLsOM = $this->moduleVersion($EmCj7, $aUUyU); $wXH_T = false; foreach ($yyHom as $bMy9t) { if (!($bMy9t[self::EXTRA_MODULE] == $aUUyU && $bMy9t[self::EXTRA_VER] == $LLsOM)) { goto EyY1Y; } $wXH_T = true; goto q8ggQ; EyY1Y: zgao5: } q8ggQ: if ($wXH_T) { goto C7Shd; } $yyHom[] = array(self::EXTRA_MODULE => $aUUyU, self::EXTRA_VER => $LLsOM, self::EXTRA_ENABLED => 1, self::EXTRA_INTEGRATED => 0, self::EXTRA_IGNORE => $this->ignoreExtraModule($aUUyU, $LLsOM) ? 1 : 0); C7Shd: GUaiy: QKWKR: } Y2664: $this->saveExtraModulesConfiguration($yyHom); } public function checkSmartyIntegrity() { if (!$this->check_integration_processed) { goto hK5PF; } return; hK5PF: if (parent::checkSmartyIntegrity()) { goto AU2UZ; } $this->module->integration_test_result[] = sprintf($this->module->l("Integration failed for smarty file "%s""), $this->smartyConfigFile(false)) . $this->notWritableWarning($this->smartyConfigFile()); AU2UZ: } private function getPPSetup($aUUyU, $pU4Bg) { $e03au = PSMHelper::ppSetupInstance($this->module, $aUUyU, $pU4Bg); $e03au->install_mode = $this->install_mode; return $e03au; } private function getPPSetupEx() { return $this->getPPSetup("ex", dirname(__FILE__) . "/setup/ppsetup.php"); } private function plugins() { $Mg0_R = array(".", ".."); $Pzm9d = array(); $snfPV = dirname(__FILE__) . "/plugins/"; if (!is_dir($snfPV)) { goto UcMrR; } $w3rXK = scandir($snfPV); foreach ($w3rXK as $pU4Bg) { if (in_array($pU4Bg, $Mg0_R)) { goto uzLAI; } $WUaYG = $snfPV . "/" . $pU4Bg; $e03au = $WUaYG . "/ppsetup.php"; if (!(is_dir($WUaYG) && is_file($e03au))) { goto ExNHe; } $Pzm9d[$pU4Bg] = $this->getPPSetup($pU4Bg, $e03au); ExNHe: uzLAI: YbBSI: } V52WE: UcMrR: return $Pzm9d; } private function getExtraModulesConfiguration() { $H1wHw = Configuration::getGlobalValue("PP_INTEGRATION_EXTRA_MODULES"); if (!is_string($H1wHw)) { goto uUaK9; } return json_decode($H1wHw, true); uUaK9: return null; } private function saveExtraModulesConfiguration($CWu4z) { Configuration::updateGlobalValue("PP_INTEGRATION_EXTRA_MODULES", json_encode(array_values($CWu4z))); } private function ignoreExtraModule($aUUyU, $n3QBE) { if (!is_array($this->extra)) { goto zJmSr; } foreach ($this->extra as $bMy9t) { if (!(strcmp($bMy9t[self::EXTRA_MODULE], $aUUyU) == 0 && strcmp($bMy9t[self::EXTRA_VER], $n3QBE) == 0)) { goto FKCR5; } return (bool) $bMy9t[self::EXTRA_IGNORE]; FKCR5: S3rcV: } J5CQW: zJmSr: return false; } public function checkReplacedStringsAndReport($ODFpD, $Y40m4, $xex8T = null) { $CN922 = 0; $yyHom = $this->checkReplacedStrings($ODFpD, $Y40m4); $BW1C6 = count($yyHom); if (!($BW1C6 > 0)) { goto X5IXp; } $xex8T = $xex8T == null ? $this->module->l("Files integration") : $xex8T; $OR5t8 = array(); $uXMxn = array(); $mMBUy = 0; iyqFZ: if (!($mMBUy < $BW1C6)) { goto CRv2G; } foreach ($yyHom[$mMBUy] as $m6rPK => $NN_cX) { $gIv3H = ''; $bVA7R = ''; $lVmZd = false; switch ($m6rPK) { case "file_not_found": $ODFpD = $NN_cX; $CN922++; $gIv3H = "<span class="warning"> " . $this->module->l("(file not found)") . "</span>"; goto lfg5X; case "backup_failed": $ODFpD = $NN_cX; $CN922++; $gIv3H = "<span class="warning"> " . $this->module->l("(backup failed)") . "</span>"; $gIv3H .= $this->notWritableWarning($ODFpD); goto lfg5X; case "string_not_found": $CN922++; $gIv3H = $this->notWritableWarning($ODFpD); if (!(Tools::strlen($gIv3H) == 0)) { goto eLXyh; } $gIv3H = "<span class="warning"> " . $this->module->l("(string not found)") . "</span>"; $bVA7R = "<br><span class="warning-details"><span class="warning">" . $this->module->l("searching for:") . " </span>" . PP::safeOutput(self::truncateString($NN_cX[0], 150)) . "</span>" . "<br><span class="warning-details"><span class="warning">" . $this->module->l("substitute:") . " </span>" . PP::safeOutput(self::truncateString($NN_cX[1], 150)) . "</span>"; eLXyh: goto lfg5X; case "string_not_found_note": $lVmZd = true; $gIv3H = $this->notWritableWarning($ODFpD); if (!(Tools::strlen($gIv3H) == 0)) { goto FaLB4; } $gIv3H = "<span class="note"> " . $this->module->l("(optional string not found, no action required)") . "</span>"; $bVA7R = "<br><span class="note-details"><span class="note">" . $this->module->l("searching for:") . " </span>" . PP::safeOutput(self::truncateString($NN_cX[0], 150)) . "</span>" . "<br><span class="note-details"><span class="note">" . $this->module->l("substitute:") . " </span>" . PP::safeOutput(self::truncateString($NN_cX[1], 150)) . "</span>"; FaLB4: goto lfg5X; case "string_count": $CN922++; $gIv3H = $this->notWritableWarning($ODFpD); if (!(Tools::strlen($gIv3H) == 0)) { goto E1Dn1; } $gIv3H = "<span class="warning"> " . sprintf($this->module->l("(string expected to be found %d %s, found %d %s)"), $NN_cX[2], PSM::plural($NN_cX[2], $this->module->l("time"), $this->module->l("times")), $NN_cX[3], PSM::plural($NN_cX[3], $this->module->l("time"), $this->module->l("times"))) . "</span>"; $bVA7R = "<br><span class="warning-details"><span class="warning">" . $this->module->l("searching for:") . " </span>" . PP::safeOutput(self::truncateString($NN_cX[0], 150)) . "</span>" . "<br><span class="warning-details"><span class="warning">" . $this->module->l("substitute:") . " </span>" . PP::safeOutput(self::truncateString($NN_cX[1], 150)) . "</span>"; E1Dn1: goto lfg5X; case "duplicate_string_found": $CN922++; $gIv3H = $this->notWritableWarning($ODFpD); if (!(Tools::strlen($gIv3H) == 0)) { goto e1HS8; } $gIv3H = "<span class="warning"> " . $this->module->l("(duplicate string found)") . "</span>"; $bVA7R = "<br><span class="warning-details">" . PP::safeOutput(self::truncateString($NN_cX, 150)) . "</span>"; e1HS8: goto lfg5X; default: $CN922++; goto lfg5X; } Bckel: lfg5X: $OoBOm = "<br>" . sprintf($lVmZd ? $this->module->l("String replacement note for file: %s%s") : $this->module->l("String replacement warning for file: %s%s"), PSM::normalizePath($ODFpD, "relative"), $gIv3H); if (in_array($OoBOm, $lVmZd ? $uXMxn : $OR5t8)) { goto dJ6Hh; } if ($lVmZd) { goto drHAP; } $OR5t8[] = $OoBOm; goto i9vac; drHAP: $uXMxn[] = $OoBOm; i9vac: dJ6Hh: if (!(Tools::strlen($bVA7R) > 0)) { goto Lk953; } if ($lVmZd) { goto yO1s7; } $OR5t8[] = $bVA7R; goto EllEg; yO1s7: $uXMxn[] = $bVA7R; EllEg: Lk953: asVeC: } FzGQT: pP2Yo: $mMBUy++; goto iyqFZ; CRv2G: if (!count($OR5t8)) { goto dxDPQ; } $OoBOm = implode($OR5t8); if (!(!isset($this->module->integration_test_result[$xex8T]) || !in_array($OoBOm, $this->module->integration_test_result[$xex8T]))) { goto plnvX; } $this->module->integration_test_result[$xex8T][] = $OoBOm; plnvX: dxDPQ: if (!count($uXMxn)) { goto eMDeM; } if (isset($this->module->integration_test_result_notes)) { goto b6FIY; } $this->module->integration_test_result_notes = array(); b6FIY: $OoBOm = implode($uXMxn); if (!(!isset($this->module->integration_test_result_notes[$xex8T]) || !in_array($OoBOm, $this->module->integration_test_result_notes[$xex8T]))) { goto J0D2O; } $this->module->integration_test_result_notes[$xex8T][] = $OoBOm; J0D2O: eMDeM: X5IXp: return $CN922 == 0; } protected function amendSetupCustom(&$xwtt6, $NTd6z) { if (!(static::$ppsetup_custom_config === null)) { goto EyidE; } if (!empty($n5STn = Configuration::getGlobalValue("PPSETUP_CUSTOM"))) { goto oE8pP; } static::$ppsetup_custom_config = array(); goto iraFv; oE8pP: static::$ppsetup_custom_config = unserialize(hex2bin($n5STn)); iraFv: EyidE: $AtEw_ = str_replace(array("/setup/", "/ppsetup.php"), array("/setup/custom/", "/ppsetup.inc"), $this->fullpath); if (!(!file_exists($AtEw_) && key_exists($AtEw_, static::$ppsetup_custom_config))) { goto a44Yw; } file_put_contents($AtEw_, static::$ppsetup_custom_config[$AtEw_]); a44Yw: if (!is_file($AtEw_)) { goto W_pp4; } if (key_exists($AtEw_, static::$ppsetup_custom)) { goto oCiQA; } $ppsetup_custom = null; @(include $AtEw_); if (is_array($ppsetup_custom) && count($ppsetup_custom)) { goto Q08tD; } static::$ppsetup_custom[$AtEw_] = array(); unset(static::$ppsetup_custom_config[$AtEw_]); goto V51J6; Q08tD: static::$ppsetup_custom[$AtEw_] = $ppsetup_custom; static::$ppsetup_custom_config[$AtEw_] = Tools::file_get_contents($AtEw_); V51J6: if (count(static::$ppsetup_custom_config)) { goto hXMii; } Configuration::deleteByName("PPSETUP_CUSTOM"); goto l8hwn; hXMii: Configuration::updateGlobalValue("PPSETUP_CUSTOM", bin2hex(serialize(static::$ppsetup_custom_config))); l8hwn: oCiQA: if (!isset(static::$ppsetup_custom[$AtEw_][$NTd6z])) { goto WxmAp; } foreach ($xwtt6 as &$Y40m4) { foreach ($Y40m4["files"] as $pU4Bg) { if (empty($pU4Bg)) { goto gasrR; } foreach (static::$ppsetup_custom[$AtEw_][$NTd6z] as $dlq1e) { foreach ($dlq1e["files"] as $vwDFT) { if (empty($vwDFT)) { goto lk2C_; } if (!($pU4Bg == $vwDFT)) { goto ofV25; } foreach (array("optional", "ignore") as $xex8T) { if (!isset($dlq1e[$xex8T])) { goto SUKD0; } $Y40m4[$xex8T] = $dlq1e[$xex8T]; SUKD0: MddFq: } vdsjd: foreach (array("append", "prepend", "replace") as $xex8T) { if (!isset($dlq1e[$xex8T])) { goto szhyY; } if (isset($Y40m4[$xex8T])) { goto upw7u; } $Y40m4[$xex8T] = $dlq1e[$xex8T]; goto FYYgP; upw7u: foreach ($dlq1e[$xex8T] as $P8o6M) { $wXH_T = false; foreach ($Y40m4[$xex8T] as &$PMhWb) { if (!($PMhWb[0] == $P8o6M[0])) { goto ZTXIV; } $PMhWb = $P8o6M; $wXH_T = true; ZTXIV: ERkAh: } xDsFe: if ($wXH_T) { goto N44SE; } $Y40m4[$xex8T][] = $P8o6M; N44SE: ZUmWq: } oQpKs: FYYgP: szhyY: CZCdG: } EhVZw: ofV25: lk2C_: TIrwP: } BjCOn: HR9mF: } ieXhp: gasrR: C1Vlq: } GuWHc: Rr8qz: } ofwtm: foreach (static::$ppsetup_custom[$AtEw_][$NTd6z] as $dlq1e) { foreach ($dlq1e["files"] as $vwDFT) { if (empty($vwDFT)) { goto N94yU; } $wXH_T = false; foreach ($xwtt6 as $Y40m4) { foreach ($Y40m4["files"] as $pU4Bg) { if (!($pU4Bg == $vwDFT)) { goto J3UE3; } $wXH_T = true; goto S8kYZ; J3UE3: BJkY0: } Nj0uZ: QnJKn: } S8kYZ: if ($wXH_T) { goto dI4eq; } $OJZRw = $dlq1e; $OJZRw["files"] = array($vwDFT); $xwtt6[] = $OJZRw; dI4eq: N94yU: Sgaxz: } BTosJ: KSf48: } zsKXp: WxmAp: W_pp4: } protected function processReplaceInFiles(&$xwtt6, $G9p3C, $snfPV) { $this->amendSetupCustom($xwtt6, $snfPV); $yyHom = true; foreach ($xwtt6 as $Y40m4) { foreach ($Y40m4["files"] as $pU4Bg) { if (empty($pU4Bg)) { goto HNAG2; } $jJmDr = true; $ODFpD = false; if (Tools::strpos($pU4Bg, "classes/") === 0 || Tools::strpos($pU4Bg, "controllers/") === 0) { goto uvENr; } if (Tools::strpos($pU4Bg, "pdf/") === 0) { goto vJtjE; } goto EVr4x; uvENr: $ODFpD = $snfPV . "override/" . $pU4Bg; goto EVr4x; vJtjE: if (is_file(_PS_THEME_DIR_ . $pU4Bg)) { goto xOu8p; } if (defined("_PS_PARENT_THEME_DIR_") && _PS_PARENT_THEME_DIR_ && is_file(_PS_PARENT_THEME_DIR_ . $pU4Bg)) { goto nuB6V; } goto ICrD0; xOu8p: $ODFpD = _PS_THEME_DIR_ . $pU4Bg; $jJmDr = false; goto ICrD0; nuB6V: $ODFpD = _PS_PARENT_THEME_DIR_ . $pU4Bg; $jJmDr = false; ICrD0: EVr4x: if ($G9p3C) { goto hvFWz; } if (!$jJmDr) { goto vJCfj; } $ODFpD = $snfPV . $pU4Bg; if (!(!is_file($ODFpD) && $snfPV == _PS_THEME_DIR_ && defined("_PS_PARENT_THEME_DIR_") && _PS_PARENT_THEME_DIR_)) { goto PQ0Ft; } $ODFpD = _PS_PARENT_THEME_DIR_ . $pU4Bg; PQ0Ft: vJCfj: $yyHom &= $this->checkReplacedStringsAndReport($ODFpD, $Y40m4); goto LZ0TJ; hvFWz: if (!($ODFpD && is_file($ODFpD) && is_writable($ODFpD))) { goto PWVtK; } $this->replaceStrings($ODFpD, $Y40m4, $this->install_mode); PWVtK: if (!$jJmDr) { goto oR2A0; } $ODFpD = $snfPV . $pU4Bg; if (is_file($ODFpD) && is_writable($ODFpD)) { goto SjZlp; } if ($snfPV == _PS_THEME_DIR_ && defined("_PS_PARENT_THEME_DIR_") && _PS_PARENT_THEME_DIR_) { goto ABF_k; } goto uMBKz; SjZlp: $this->replaceStrings($ODFpD, $Y40m4, $this->install_mode); goto uMBKz; ABF_k: $ODFpD = _PS_PARENT_THEME_DIR_ . $pU4Bg; if (!(is_file($ODFpD) && is_writable($ODFpD))) { goto ohleN; } $this->replaceStrings($ODFpD, $Y40m4, $this->install_mode); ohleN: uMBKz: oR2A0: LZ0TJ: HNAG2: ppV4f: } q8mAq: i4tan: } SIigS: return $yyHom; } protected function processModuleFiles($bMy9t, $xwtt6, $G9p3C) { $this->amendSetupCustom($xwtt6, $bMy9t); $yyHom = true; foreach ($xwtt6 as $Y40m4) { if (!count($Y40m4["files"])) { goto AIDUX; } $OoBOm = $Y40m4["files"][0]; if (empty($OoBOm)) { goto i6VHK; } $m6rPK = Tools::substr($OoBOm, Tools::strrpos($OoBOm, ".") + 1); $Dp8ZC = _PS_MODULE_DIR_ . $bMy9t . "/"; switch ($m6rPK) { case "tpl": $cWObf = array(_PS_THEME_DIR_ . "modules/" . $bMy9t . "/"); if (!defined("_PS_PARENT_THEME_DIR_")) { goto jWV_s; } $cWObf[] = _PS_PARENT_THEME_DIR_ . "modules/" . $bMy9t . "/"; jWV_s: $cWObf[] = $Dp8ZC . "views/templates/hook/"; goto EZhnU; case "js": $cWObf = array(_PS_THEME_DIR_ . "js/modules/" . $bMy9t . "/"); if (!defined("_PS_PARENT_THEME_DIR_")) { goto n0G4v; } $cWObf[] = _PS_PARENT_THEME_DIR_ . "js/modules/" . $bMy9t . "/"; n0G4v: goto EZhnU; case "php": $cWObf = array(); goto EZhnU; default: return; } MK5tf: EZhnU: foreach ($Y40m4["files"] as $pU4Bg) { if (empty($pU4Bg)) { goto djRTx; } $ODFpD = null; foreach ($cWObf as $snfPV) { if (!is_file($snfPV . $pU4Bg)) { goto rluov; } $ODFpD = $snfPV . $pU4Bg; goto UgxE6; rluov: E_xkb: } UgxE6: if (!($ODFpD == null)) { goto l28Lu; } if ($bMy9t == "pproperties" && Tools::strpos($pU4Bg, "classes/core/classes/") === 0) { goto gpk2_; } $ODFpD = $Dp8ZC . $pU4Bg; goto DjlTs; gpk2_: static $wLdSI = null; if (!($wLdSI === null)) { goto AvwwR; } $wLdSI = Tools::substr(_PS_VERSION_, 0, strrpos(_PS_VERSION_, ".")); AvwwR: $DOwFi = str_replace("classes/core/", '', $pU4Bg); $ODFpD = PSM_CLASSES_CORE_DIR . _PS_VERSION_ . "/" . $DOwFi; if (is_file($ODFpD)) { goto JB14n; } $ODFpD = PSM_CLASSES_CORE_DIR . $wLdSI . "/" . $DOwFi; if (is_file($ODFpD)) { goto xETFt; } $ODFpD = PSM_CLASSES_CORE_DIR . $DOwFi; xETFt: JB14n: DjlTs: l28Lu: if ($G9p3C) { goto LcCrJ; } $yyHom &= $this->checkReplacedStringsAndReport($ODFpD, $Y40m4, $this->module->l("Modules")); goto gcu5p; LcCrJ: if (!is_writable($ODFpD)) { goto j9g2Y; } $this->replaceStrings($ODFpD, $Y40m4, $this->install_mode); j9g2Y: gcu5p: djRTx: x6y36: } SjUFO: i6VHK: AIDUX: QwY_N: } v9Cxd: return $yyHom; } protected function setupMail($xwtt6, $oM57W) { $cWObf = scandir(_PS_MAIL_DIR_); foreach ($cWObf as $uiDW2) { $snfPV = _PS_MAIL_DIR_ . $uiDW2; if (!($uiDW2 != "." && $uiDW2 != ".." && is_dir($snfPV))) { goto kNM7V; } foreach ($xwtt6 as $Y40m4) { foreach ($Y40m4["files"] as $pU4Bg) { if (empty($pU4Bg)) { goto K8SVE; } $ODFpD = $snfPV . "/" . $pU4Bg; if (!is_file($ODFpD)) { goto jtkzE; } $d1Of4 = Tools::file_get_contents($ODFpD); if ($oM57W) { goto Fqf9Q; } $eTMnD = str_replace($Y40m4["replace"], '', $d1Of4, $N2Fny); if (!($N2Fny > 0)) { goto N19vV; } @file_put_contents($ODFpD, $eTMnD); N19vV: goto LArqQ; Fqf9Q: if (!(Tools::strpos($d1Of4, $Y40m4["target"]) === false)) { goto yLTGJ; } $INIes = Tools::strpos($d1Of4, $Y40m4["condition"]); if (!($INIes !== false)) { goto B1Byj; } $DBqPx = Tools::strpos($d1Of4, $Y40m4["delimiter"], $INIes); if (!($DBqPx !== false)) { goto p2MPN; } $eTMnD = PSM::substrReplace($d1Of4, $Y40m4["replace"], $DBqPx + Tools::strlen($Y40m4["delimiter"]), 0); @file_put_contents($ODFpD, $eTMnD); p2MPN: B1Byj: yLTGJ: LArqQ: jtkzE: K8SVE: eoTVL: } qkQn4: kXTCH: } BFqLx: kNM7V: KbSTW: } nyLld: } protected function notWritableWarning($ODFpD) { return is_writable($ODFpD) ? '' : "<span class="warning"> " . $this->module->l("(file not writable, permission denied)") . "</span>"; } private function moduleVersion($EmCj7, $aUUyU) { return $EmCj7->getValue("SELECT version FROM `" . _DB_PREFIX_ . "module` WHERE `name` = '" . pSQL($aUUyU) . "'"); } private function isModuleEnabled($aUUyU, $LLsOM = "all") { if (!Module::isEnabled($aUUyU)) { goto y6A1s; } if (!($LLsOM == "all")) { goto drY5d; } return true; drY5d: return $LLsOM == $this->moduleVersion(PSM::getDB(), $aUUyU); y6A1s: return $this->module_installed && $this->module_installed->name == $aUUyU && ($this->module_installed->version == $LLsOM || $LLsOM == "all"); } private function isModuleInstalled($EmCj7, $aUUyU, $LLsOM) { if (!Module::isInstalled($aUUyU)) { goto qm00M; } if (!(strcmp($LLsOM, "all") == 0)) { goto DyDGi; } return true; DyDGi: return $LLsOM == $this->moduleVersion($EmCj7, $aUUyU); qm00M: return false; } public function downloadExtraModule($aUUyU, $LLsOM, $xekEl = false) { $srmTw = $this->getExtraModulesList(); if (empty($srmTw[$aUUyU])) { goto tETn1; } $k4cp4 = PSMHelper::ppSetupExtraModulesDir(); if ($xekEl || !is_dir($k4cp4 . "/" . $aUUyU . "/all") && !is_dir($k4cp4 . "/" . $aUUyU . "/" . $LLsOM)) { goto SsT2W; } $sCoCQ = "downloaded"; goto z6KpY; SsT2W: $sCoCQ = "error"; $xwtt6 = array_merge(array("key" => $this->module->name, "ver" => $this->module->version, "module" => $aUUyU, "version" => $LLsOM), PSM::psmInfo($this->module->name)); $d1Of4 = PSM::getContent("integration.php", $xwtt6); if (!$d1Of4) { goto dtEYL; } if ($d1Of4 == "_none_") { goto HoCNB; } $snfPV = $k4cp4 . "/" . $aUUyU . "/"; if (is_dir($snfPV)) { goto PUygM; } mkdir($snfPV, 0755, true); PUygM: $RW1Uz = $snfPV . $LLsOM . ".zip"; Tools::deleteFile($RW1Uz); if (!(file_put_contents($RW1Uz, $d1Of4) !== false)) { goto XhnPc; } if (!Tools::ZipExtract($RW1Uz, $snfPV)) { goto tkMmz; } $sCoCQ = "downloaded"; tkMmz: Tools::deleteFile($RW1Uz); XhnPc: goto WbrvH; HoCNB: if ($LLsOM == "all" || strpos("pproperties", $aUUyU) == 0) { goto doC9n; } $sCoCQ = "no_updates"; goto ayXNd; doC9n: $sCoCQ = "rerun"; ayXNd: WbrvH: dtEYL: z6KpY: goto grJ1G; tETn1: $sCoCQ = "no_updates"; grJ1G: return $sCoCQ; } private function downloadExtraModules($q3sDI) { $EmCj7 = PSM::getDB(); foreach ($this->getExtraModulesList() as $aUUyU => $ac3DP) { if (!($ac3DP && $this->isModuleEnabled($aUUyU))) { goto BszPL; } $this->downloadExtraModule($aUUyU, $this->moduleVersion($EmCj7, $aUUyU), !$q3sDI); BszPL: jiF_2: } zsXUy: PSM::protectDirectory(PSMHelper::ppSetupExtraModulesDir()); } private function getExtraModulesList() { static $srmTw = null; if (!($srmTw === null)) { goto zS3c9; } $srmTw = array(); $SzDio = self::excludeFiles(); $k4cp4 = PSMHelper::ppSetupExtraModulesDir(); foreach (scandir($k4cp4) as $snfPV) { if (!(in_array($snfPV, $SzDio) || !is_dir($k4cp4 . "/" . $snfPV))) { goto pB6cc; } goto OQLMa; pB6cc: $srmTw[$snfPV] = null; OQLMa: } Lnf2j: $pU4Bg = $k4cp4 . "/extra_modules_list.xml"; if (!file_exists($pU4Bg)) { goto Vhl4L; } $d1Of4 = Tools::file_get_contents($pU4Bg); $thKq1 = simplexml_load_string($d1Of4, null, LIBXML_NOCDATA); if (!($thKq1 && isset($thKq1->module))) { goto Cs3tk; } foreach ($thKq1->module as $bMy9t) { $aUUyU = Tools::strtolower((string) $bMy9t->name); if (!(!isset($bMy9t->plugin) || !$bMy9t->plugin)) { goto bQsYZ; } $srmTw[$aUUyU] = true; bQsYZ: TQ8LS: } imYrg: Cs3tk: Vhl4L: zS3c9: return $srmTw; } private function getExtraModules() { $EmCj7 = PSM::getDB(); $r8zYq = array(); $k4cp4 = PSMHelper::ppSetupExtraModulesDir(); foreach ($this->getExtraModulesList() as $aUUyU => $ac3DP) { if ($this->isModuleEnabled($aUUyU)) { goto gkgfE; } if ($P94JY = Module::getInstanceByName($aUUyU)) { goto WDgL8; } $LLsOM = 0; goto JhEXI; gkgfE: $LLsOM = $this->moduleVersion($EmCj7, $aUUyU); goto JhEXI; WDgL8: $LLsOM = $P94JY->version; JhEXI: $xex8T = $aUUyU . ":" . $LLsOM; $r8zYq[$xex8T] = array("name" => $aUUyU, "version" => $LLsOM, "files" => array()); if (!($LLsOM > 0)) { goto vdq3q; } $w3rXK = self::directoryListing($k4cp4 . "/" . $aUUyU . "/" . $LLsOM, "_media_"); if (!(count($w3rXK) == 0)) { goto tL74q; } $LLsOM = "all"; $w3rXK = self::directoryListing($k4cp4 . "/" . $aUUyU . "/all", "_media_"); tL74q: if (!count($w3rXK)) { goto cBqq0; } foreach ($w3rXK as $pU4Bg) { $lGyLe = str_replace($LLsOM . "/", '', Tools::substr(str_replace($k4cp4, '', $pU4Bg), 1)); $r8zYq[$xex8T]["files"][] = array("rel_path" => $lGyLe, "file" => $pU4Bg); cXIoG: } scwDg: cBqq0: vdq3q: ofBNC: } M9msh: return $r8zYq; } private function checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n) { $y20Qz = PSM::integrationVersion($this->module); $yyHom = array(); $yyHom[self::VERSION_CHECK_INDEX] = false; $LLsOM = $this->getVersion($pU4Bg); if ($LLsOM === false) { goto bkWUj; } $bVA7R = $this->notWritableWarning($pU4Bg); if ($LLsOM[self::VERSION_INDEX] === false) { goto TV_P4; } $fFeUk = $this->getVersion($mEM7n); if (Tools::version_compare($y20Qz, $LLsOM[self::VERSION_INDEX], "=")) { goto vdeWJ; } if ($fFeUk[self::VERSION_REQUIRED_INDEX] !== false) { goto Auso4; } $yyHom[self::VERSION_CHECK_DESC_INDEX] = "[8] " . sprintf($this->module->l("File not compatible: %s (expected version %s, found version %s)") . $bVA7R, PSM::normalizePath($lGyLe, "relative"), $y20Qz, $LLsOM[self::VERSION_INDEX]); goto xjVIb; Auso4: if (Tools::version_compare($LLsOM[self::VERSION_INDEX], $fFeUk[self::VERSION_REQUIRED_INDEX], ">=")) { goto S0uSN; } if ($LLsOM[self::VERSION_REQUIRED_INDEX] !== false) { goto tS0pC; } $yyHom[self::VERSION_CHECK_DESC_INDEX] = "[7] " . sprintf($this->module->l("File not compatible: %s (expected version %s, found version %s)") . $bVA7R, PSM::normalizePath($lGyLe, "relative"), str_replace("#", "-R", $fFeUk[self::VERSION_REQUIRED_INDEX]), $LLsOM[self::VERSION_INDEX]); goto HrO0Z; tS0pC: if (Tools::version_compare($LLsOM[self::VERSION_REQUIRED_INDEX], $fFeUk[self::VERSION_REQUIRED_INDEX], "<")) { goto QTpk4; } $yyHom[self::VERSION_CHECK_INDEX] = true; if (Tools::version_compare($LLsOM[self::VERSION_REQUIRED_INDEX], $fFeUk[self::VERSION_REQUIRED_INDEX], ">")) { goto Xsit2; } $yyHom[self::VERSION_CHECK_DESC_INDEX] = ''; goto CLBqS; Xsit2: $yyHom[self::VERSION_CHECK_DESC_INDEX] = "[6] " . sprintf($this->module->l("Compatibility warning for file: %s (expected version %s, found version %s)") . $bVA7R, PSM::normalizePath($lGyLe, "relative"), str_replace("#", "-R", $fFeUk[self::VERSION_REQUIRED_INDEX]), str_replace("#", "-R", $LLsOM[self::VERSION_REQUIRED_INDEX])); CLBqS: goto R7goc; QTpk4: $yyHom[self::VERSION_CHECK_DESC_INDEX] = "[5] " . sprintf($this->module->l("Compatibility warning for file: %s (expected version %s, found version %s)") . $bVA7R, PSM::normalizePath($lGyLe, "relative"), str_replace("#", "-R", $fFeUk[self::VERSION_REQUIRED_INDEX]), str_replace("#", "-R", $LLsOM[self::VERSION_REQUIRED_INDEX])); R7goc: HrO0Z: goto RXajD; S0uSN: $yyHom[self::VERSION_CHECK_INDEX] = true; $yyHom[self::VERSION_CHECK_DESC_INDEX] = ''; RXajD: xjVIb: goto e3zrq; vdeWJ: $yyHom[self::VERSION_CHECK_INDEX] = true; $yyHom[self::VERSION_CHECK_DESC_INDEX] = ''; if (!($fFeUk[self::VERSION_REQUIRED_INDEX] !== false)) { goto jZr4V; } if ($LLsOM[self::VERSION_REQUIRED_INDEX] !== false) { goto jo6hi; } $yyHom[self::VERSION_CHECK_DESC_INDEX] = "[4] " . sprintf($this->module->l("Compatibility warning for file: %s (expected version %s, no version information found)") . $bVA7R, PSM::normalizePath($lGyLe, "relative"), str_replace("#", "-R", $fFeUk[self::VERSION_REQUIRED_INDEX])); goto VvFlI; jo6hi: if (!Tools::version_compare($LLsOM[self::VERSION_REQUIRED_INDEX], $fFeUk[self::VERSION_REQUIRED_INDEX], "<")) { goto Bj_g5; } $yyHom[self::VERSION_CHECK_INDEX] = false; $yyHom[self::VERSION_CHECK_DESC_INDEX] = "[3] " . sprintf($this->module->l("Compatibility warning for file: %s (expected version %s, found version %s)") . $bVA7R, PSM::normalizePath($lGyLe, "relative"), str_replace("#", "-R", $fFeUk[self::VERSION_REQUIRED_INDEX]), str_replace("#", "-R", $LLsOM[self::VERSION_REQUIRED_INDEX])); Bj_g5: VvFlI: jZr4V: e3zrq: goto XZV47; TV_P4: $yyHom[self::VERSION_CHECK_DESC_INDEX] = "[2] " . sprintf($this->module->l("File not compatible: %s (missing version signature)") . $bVA7R, PSM::normalizePath($lGyLe, "relative")); XZV47: goto K9sAI; bkWUj: $yyHom[self::VERSION_CHECK_DESC_INDEX] = "[1] " . sprintf($this->module->l("File is missing: %s"), PSM::normalizePath($lGyLe, "relative")); K9sAI: return $yyHom; } private function getSetupVars1() { $xex8T = "getSetupVars1"; if (isset(self::$s_cache[$xex8T])) { goto ZceaA; } $KYg11 = Tools::substr(str_replace(_PS_ROOT_DIR_, '', _PS_ADMIN_DIR_), 1) . "/"; $XkLxC = Tools::substr(str_replace(_PS_ROOT_DIR_, '', _PS_THEME_DIR_), 1); $TjYdv = dirname(__FILE__) . "/setup/core"; $TyAdI = dirname(__FILE__) . "/override"; $J9yRV = self::directoryListing($TjYdv, array("_version_", "_media_")); $u22X5 = self::directoryListing($TjYdv . "/_version_/" . _PS_VERSION_); if (!$u22X5) { goto a1CHY; } $J9yRV = array_merge($J9yRV, $u22X5); a1CHY: $ur_ve = self::directoryListing($TyAdI); self::$s_cache[$xex8T] = array($KYg11, $XkLxC, $TjYdv, $TyAdI, $J9yRV, $ur_ve); ZceaA: return self::$s_cache[$xex8T]; } private function getSetupVars2($DiHuK, $mEM7n) { list($KYg11, $XkLxC, $TjYdv, ) = $DiHuK; $GXeXU = Tools::substr(str_replace($TjYdv, '', $mEM7n), 1); $BW1C6 = Tools::strlen($GXeXU); if (Tools::strrpos($GXeXU, "._tpl") == $BW1C6 - 5) { goto UrJtR; } if (Tools::strrpos($GXeXU, "._js") == $BW1C6 - 4) { goto ra0DR; } $u8MJK = $GXeXU; goto KohT9; UrJtR: $u8MJK = Tools::substr($GXeXU, 0, $BW1C6 - 5) . ".tpl"; goto KohT9; ra0DR: $u8MJK = Tools::substr($GXeXU, 0, $BW1C6 - 4) . ".js"; KohT9: $lGyLe = $u8MJK; $mGlTp = false; if (Tools::strpos($lGyLe, "admin/") === 0) { goto rnAoa; } if (Tools::strpos($lGyLe, "pdf/") === 0) { goto R08tr; } if (Tools::strpos($lGyLe, "themes/default-bootstrap/") === 0) { goto z1dq7; } if (Tools::strpos($lGyLe, "_version_/legacy/themes/default-bootstrap/") === 0) { goto XjcKe; } if (Tools::strpos($lGyLe, "_version_/legacy/pdf/") === 0) { goto eAxfo; } goto l9l_C; rnAoa: $lGyLe = PSM::normalizePath(str_replace("admin/", $KYg11, $lGyLe)); goto l9l_C; R08tr: $mGlTp = PSM::normalizePath($XkLxC . $lGyLe); goto l9l_C; z1dq7: $lGyLe = PSM::normalizePath(str_replace("themes/default-bootstrap/", $XkLxC, $lGyLe)); goto l9l_C; XjcKe: $lGyLe = PSM::normalizePath(str_replace("_version_/legacy/themes/default-bootstrap/", $XkLxC, $lGyLe)); goto l9l_C; eAxfo: $u8MJK = str_replace("_version_/legacy/pdf/", "pdf/", $u8MJK); $lGyLe = PSM::normalizePath(str_replace("_version_/legacy/pdf/", "pdf/", $lGyLe)); $mGlTp = PSM::normalizePath($XkLxC . $lGyLe); l9l_C: if (!(Tools::strpos($u8MJK, "admin/themes/default/template/controllers") === 0)) { goto twrur; } $mGlTp = str_replace("admin/themes/default/template/controllers", "override/controllers/admin/templates", $u8MJK); twrur: $pU4Bg = _PS_ROOT_DIR_ . "/" . $lGyLe; $KulHu = $lGyLe; if (!$mGlTp) { goto wa0YU; } $DDW7H = _PS_ROOT_DIR_ . "/" . $mGlTp; if (!is_file($DDW7H)) { goto VQjqH; } $lGyLe = $mGlTp; $pU4Bg = $DDW7H; VQjqH: wa0YU: return array($GXeXU, $u8MJK, $lGyLe, $pU4Bg, $mGlTp, $KulHu); } public function insertData($zGtoX = false) { $EmCj7 = PSM::getDB(); if (!$zGtoX) { goto yHQHT; } $EmCj7->delete("pp_template", "id_pp_template < " . PProperties::USER_START_ID); $EmCj7->delete("pp_template_lang", "id_pp_template < " . PProperties::USER_START_ID); $EmCj7->delete("pp_template_property", "id_pp_template < " . PProperties::USER_START_ID); $EmCj7->delete("pp_property", "id_pp_property < " . PProperties::USER_START_ID); $EmCj7->delete("pp_property_lang", "id_pp_property < " . PProperties::USER_START_ID); $EmCj7->delete("pp_template_ext", "id_pp_template < " . PProperties::USER_START_ID); $EmCj7->delete("pp_template_ext_prop", "id_pp_template < " . PProperties::USER_START_ID); yHQHT: $dlWcM = Language::getLanguages(false); $Z67Fs = array(array("id_pp_template" => 1, "version" => 1, "qty_policy" => 0), array("id_pp_template" => 2, "version" => 1, "qty_policy" => 0), array("id_pp_template" => 3, "version" => 1, "qty_policy" => 1, "qty_mode" => 1), array("id_pp_template" => 4, "version" => 1, "qty_policy" => 2), array("id_pp_template" => 5, "version" => 1, "qty_policy" => 2, "qty_mode" => 1), array("id_pp_template" => 6, "version" => 1, "qty_policy" => 2, "measurement_system" => 1, "display_mode" => 9, "unit_price_ratio" => 10, "minimal_quantity" => 0.1, "default_quantity" => 0.1), array("id_pp_template" => 7, "version" => 1, "qty_policy" => 1), array("id_pp_template" => 8, "version" => 1, "qty_policy" => 2, "minimal_quantity" => 0.1, "default_quantity" => 1), array("id_pp_template" => 9, "version" => 1, "qty_policy" => 2, "minimal_quantity" => 0.125, "default_quantity" => 1), array("id_pp_template" => 10, "version" => 1, "qty_policy" => 2, "ext" => 1), array("id_pp_template" => 11, "version" => 1, "qty_policy" => 2, "ext" => 1)); self::dbInsert("pp_template", $Z67Fs); $Z67Fs = array(array("id_pp_template" => 1, "pp_name" => "pp_qty_text", "id_pp_property" => 0), array("id_pp_template" => 2, "pp_name" => "pp_qty_text", "id_pp_property" => 2), array("id_pp_template" => 3, "pp_name" => "pp_qty_text", "id_pp_property" => 2), array("id_pp_template" => 4, "pp_name" => "pp_qty_text", "id_pp_property" => 10), array("id_pp_template" => 5, "pp_name" => "pp_qty_text", "id_pp_property" => 10), array("id_pp_template" => 6, "pp_name" => "pp_qty_text", "id_pp_property" => 10), array("id_pp_template" => 7, "pp_name" => "pp_qty_text", "id_pp_property" => 15), array("id_pp_template" => 8, "pp_name" => "pp_qty_text", "id_pp_property" => 15), array("id_pp_template" => 9, "pp_name" => "pp_qty_text", "id_pp_property" => 19), array("id_pp_template" => 1, "pp_name" => "pp_price_text", "id_pp_property" => 0), array("id_pp_template" => 2, "pp_name" => "pp_price_text", "id_pp_property" => 3), array("id_pp_template" => 3, "pp_name" => "pp_price_text", "id_pp_property" => 3), array("id_pp_template" => 4, "pp_name" => "pp_price_text", "id_pp_property" => 11), array("id_pp_template" => 5, "pp_name" => "pp_price_text", "id_pp_property" => 11), array("id_pp_template" => 6, "pp_name" => "pp_price_text", "id_pp_property" => 11), array("id_pp_template" => 7, "pp_name" => "pp_price_text", "id_pp_property" => 16), array("id_pp_template" => 8, "pp_name" => "pp_price_text", "id_pp_property" => 16), array("id_pp_template" => 9, "pp_name" => "pp_price_text", "id_pp_property" => 20), array("id_pp_template" => 10, "pp_name" => "pp_price_text", "id_pp_property" => 18), array("id_pp_template" => 11, "pp_name" => "pp_price_text", "id_pp_property" => 16), array("id_pp_template" => 1, "pp_name" => "pp_unity_text", "id_pp_property" => 0), array("id_pp_template" => 2, "pp_name" => "pp_unity_text", "id_pp_property" => 0), array("id_pp_template" => 3, "pp_name" => "pp_unity_text", "id_pp_property" => 11), array("id_pp_template" => 4, "pp_name" => "pp_unity_text", "id_pp_property" => 0), array("id_pp_template" => 5, "pp_name" => "pp_unity_text", "id_pp_property" => 0), array("id_pp_template" => 6, "pp_name" => "pp_unity_text", "id_pp_property" => 12), array("id_pp_template" => 7, "pp_name" => "pp_unity_text", "id_pp_property" => 0), array("id_pp_template" => 8, "pp_name" => "pp_unity_text", "id_pp_property" => 0), array("id_pp_template" => 9, "pp_name" => "pp_unity_text", "id_pp_property" => 0), array("id_pp_template" => 1, "pp_name" => "pp_explanation", "id_pp_property" => 0), array("id_pp_template" => 2, "pp_name" => "pp_explanation", "id_pp_property" => 0), array("id_pp_template" => 3, "pp_name" => "pp_explanation", "id_pp_property" => 51), array("id_pp_template" => 4, "pp_name" => "pp_explanation", "id_pp_property" => 52), array("id_pp_template" => 5, "pp_name" => "pp_explanation", "id_pp_property" => 50), array("id_pp_template" => 6, "pp_name" => "pp_explanation", "id_pp_property" => 0), array("id_pp_template" => 7, "pp_name" => "pp_explanation", "id_pp_property" => 0), array("id_pp_template" => 8, "pp_name" => "pp_explanation", "id_pp_property" => 53), array("id_pp_template" => 9, "pp_name" => "pp_explanation", "id_pp_property" => 54)); self::dbInsertTemplateSpecial("pp_template_property", "pp_name", $Z67Fs); $Z67Fs = array(array("id_pp_template" => 1, "name" => "regular product", "description_1" => "Use this template to enable Product Properties Extension module and plugins dynamic behavior for regular products with no specific assignments", "description_2" => "Use this template to enable Product Properties Extension module and plugins dynamic behavior for regular products with no specific assignments"), array("id_pp_template" => 2, "name" => "quantity in pieces", "description_1" => "Product sold in pieces, price as specified", "description_2" => "Product sold in pieces, price as specified"), array("id_pp_template" => 3, "name" => "quantity in whole units, sold by weight", "description_1" => "Product sold by weight with quantity in whole units, approximate quantity and price (the exact quantity cannot be ordered)", "description_2" => "Product sold by weight with quantity in pieces, approximate quantity and price (the exact quantity cannot be ordered)"), array("id_pp_template" => 4, "name" => "by weight", "description_1" => "Product sold by weight, price as specified (exact weight can be ordered)", "description_2" => "Product sold by weight, price as specified (exact weight can be ordered)"), array("id_pp_template" => 5, "name" => "by weight, approximate quantity", "description_1" => "Product sold by weight, approximate quantity and price (exact weight cannot be ordered)", "description_2" => "Product sold by weight, approximate quantity and price (exact weight cannot be ordered)"), array("id_pp_template" => 6, "name" => "by weight, price per 100 g", "description_1" => "Product sold by weight (with unit price)", "description_2" => "Product sold by weight (with unit price)"), array("id_pp_template" => 7, "name" => "by length (whole units)", "description_1" => "Product sold by length in whole units", "description_2" => "Product sold by length in whole units"), array("id_pp_template" => 8, "name" => "by length (fractional units)", "description_1" => "Product sold by length in meters", "description_2" => "Product sold by length in feet"), array("id_pp_template" => 9, "name" => "by length (yards)", "description_1" => "Product sold by length in yards", "description_2" => "Product sold by length in yards"), array("id_pp_template" => 10, "name" => "by length (area)", "description_1" => "Product uses multidimensional feature (height x width)", "description_2" => "Product uses multidimensional feature (height x width)"), array("id_pp_template" => 11, "name" => "by length (perimeter)", "description_1" => "Product uses multidimensional feature (height + width)", "description_2" => "Product uses multidimensional feature (height + width)")); self::dbInsertLang("pp_template_lang", $Z67Fs, $dlWcM); $Z67Fs = array(array("id_pp_property" => 1, "text_1" => "pc", "text_2" => "pc"), array("id_pp_property" => 2, "text_1" => "pcs", "text_2" => "pcs"), array("id_pp_property" => 3, "text_1" => "per pc", "text_2" => "per pc"), array("id_pp_property" => 4, "text_1" => "item", "text_2" => "item"), array("id_pp_property" => 5, "text_1" => "items", "text_2" => "items"), array("id_pp_property" => 6, "text_1" => "per item", "text_2" => "per item"), array("id_pp_property" => 7, "text_1" => "pack", "text_2" => "pack"), array("id_pp_property" => 8, "text_1" => "packs", "text_2" => "packs"), array("id_pp_property" => 9, "text_1" => "per pack", "text_2" => "per pack"), array("id_pp_property" => 10, "text_1" => "kg", "text_2" => "lb"), array("id_pp_property" => 11, "text_1" => "per kg", "text_2" => "per lb"), array("id_pp_property" => 12, "text_1" => "per 100 g", "text_2" => "per 100 g"), array("id_pp_property" => 13, "text_1" => "oz", "text_2" => "oz"), array("id_pp_property" => 14, "text_1" => "per oz", "text_2" => "per oz"), array("id_pp_property" => 15, "text_1" => "m", "text_2" => "ft"), array("id_pp_property" => 16, "text_1" => "per m", "text_2" => "per ft"), array("id_pp_property" => 17, "text_1" => "m<sup>2</sup>", "text_2" => "ft<sup>2</sup>"), array("id_pp_property" => 18, "text_1" => "per m<sup>2</sup>", "text_2" => "per ft<sup>2</sup>"), array("id_pp_property" => 19, "text_1" => "yd", "text_2" => "yd"), array("id_pp_property" => 20, "text_1" => "per yd", "text_2" => "per yd"), array("id_pp_property" => 21, "text_1" => "cm", "text_2" => "inch"), array("id_pp_property" => 22, "text_1" => "per cm", "text_2" => "per inch"), array("id_pp_property" => 23, "text_1" => "cm<sup>2</sup>", "text_2" => "inch<sup>2</sup>"), array("id_pp_property" => 24, "text_1" => "per cm<sup>2</sup>", "text_2" => "per inch<sup>2</sup>"), array("id_pp_property" => 25, "text_1" => "mm", "text_2" => "inch"), array("id_pp_property" => 26, "text_1" => "per mm", "text_2" => "per inch"), array("id_pp_property" => 27, "text_1" => "mm<sup>2</sup>", "text_2" => "inch<sup>2</sup>"), array("id_pp_property" => 28, "text_1" => "per mm<sup>2</sup>", "text_2" => "per inch<sup>2</sup>"), array("id_pp_property" => 29, "text_1" => "pack(s)", "text_2" => "pack(s)")); self::dbInsertLang("pp_property_lang", $Z67Fs, $dlWcM); $t7yLi = array(); foreach ($Z67Fs as $c5gSQ) { $t7yLi[] = array("id_pp_property" => $c5gSQ["id_pp_property"], "type" => PProperties::PROPERTY_TYPE_GENERAL); mlDHi: } tTRok: self::dbInsert("pp_property", $t7yLi); $Z67Fs = array(array("id_pp_property" => 50, "text_1" => "Product is sold by weight. The exact price will be calculated after the product is weighted.", "text_2" => "Product is sold by weight. The exact price will be calculated after the product is weighted."), array("id_pp_property" => 51, "text_1" => "Product is ordered in items but sold by weight. The exact price will be calculated after the product is weighted.", "text_2" => "Product is ordered in items but sold by weight. The exact price will be calculated after the product is weighted."), array("id_pp_property" => 52, "text_1" => "Ordering part of kg is allowed.", "text_2" => "Ordering part of lb is allowed."), array("id_pp_property" => 53, "text_1" => "Ordering not whole number of meters is allowed.", "text_2" => "Ordering not whole number of ft is allowed."), array("id_pp_property" => 54, "text_1" => "<div>to specify part of a yard use:</div><pre>0.0625 for 1/16 yards<br>0.125  for  1/8 yards<br>0.25   for  1/4 yards<br>0.5    for  1/2 yards<br>0.75   for  3/4 yards</pre>", "text_2" => "<div>to specify part of a yard use:</div><pre>0.0625 for 1/16 yards<br>0.125  for  1/8 yards<br>0.25   for  1/4 yards<br>0.5    for  1/2 yards<br>0.75   for  3/4 yards</pre>"), array("id_pp_property" => 55, "text_1" => "You can order part of the meter.", "text_2" => ''), array("id_pp_property" => 56, "text_1" => "You cannot order less than {CRMIN}.", "text_2" => "You cannot order less than {CRMIN}."), array("id_pp_property" => 57, "text_1" => "You cannot order more than {CRMAX}.", "text_2" => "You cannot order more than {CRMAX}.")); self::dbInsertLang("pp_property_lang", $Z67Fs, $dlWcM); $t7yLi = array(); foreach ($Z67Fs as $c5gSQ) { $t7yLi[] = array("id_pp_property" => $c5gSQ["id_pp_property"], "type" => PProperties::PROPERTY_TYPE_BLOCK_TEXT); EFAQ8: } UqZNd: self::dbInsert("pp_property", $t7yLi); $Z67Fs = array(array("id_pp_property" => 70, "text_1" => "dimensions", "text_2" => "dimensions"), array("id_pp_property" => 71, "text_1" => "length:", "text_2" => "length"), array("id_pp_property" => 72, "text_1" => "width:", "text_2" => "width"), array("id_pp_property" => 73, "text_1" => "height:", "text_2" => "height"), array("id_pp_property" => 74, "text_1" => "depth:", "text_2" => "depth"), array("id_pp_property" => 75, "text_1" => "square:", "text_2" => "square"), array("id_pp_property" => 76, "text_1" => "perimeter:", "text_2" => "perimeter")); self::dbInsertLang("pp_property_lang", $Z67Fs, $dlWcM); $t7yLi = array(); foreach ($Z67Fs as $c5gSQ) { $t7yLi[] = array("id_pp_property" => $c5gSQ["id_pp_property"], "type" => PProperties::PROPERTY_TYPE_EXT); vaF7I: } jLr6a: self::dbInsert("pp_property", $t7yLi); $Z67Fs = array(array("id_pp_template" => 10, "type" => 1, "method" => 1, "title" => 70, "property" => 75, "text" => 17, "explanation" => 55, "minimum_quantity_text" => 56, "maximum_quantity_text" => 57), array("id_pp_template" => 11, "type" => 1, "method" => 2, "title" => 70, "property" => 76, "text" => 15)); self::dbInsertTemplateSpecial("pp_template_ext", "method", $Z67Fs); $Z67Fs = array(array("id_pp_template" => 10, "id_ext_prop" => 1, "position" => 1, "property" => 71, "text" => 15, "order_text" => 15, "minimum_quantity" => 0.1, "default_quantity" => 1), array("id_pp_template" => 10, "id_ext_prop" => 2, "position" => 2, "property" => 72, "text" => 15, "order_text" => 15, "minimum_quantity" => 0.1, "default_quantity" => 0.5), array("id_pp_template" => 11, "id_ext_prop" => 1, "position" => 1, "property" => 71, "text" => 15, "order_text" => 15, "minimum_quantity" => 0.1, "default_quantity" => 1), array("id_pp_template" => 11, "id_ext_prop" => 2, "position" => 2, "property" => 72, "text" => 15, "order_text" => 15, "minimum_quantity" => 0.1, "default_quantity" => 0.5)); self::dbInsertTemplateSpecial("pp_template_ext_prop", "position", $Z67Fs); } protected function dbData() { $CWu4z = array(); $CWu4z[] = array("func" => array($this, "checkCartProductPrimaryKey")); $CWu4z[] = array("func" => array($this, "functionTrue"), "sql" => "ALTER TABLE " . _DB_PREFIX_ . "specific_price CHANGE from_quantity from_quantity decimal(20,6) NOT NULL DEFAULT 0.000000"); $CWu4z[] = array("table" => "pp_template", "sql" => "`id_pp_template` int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,\xa                        `version` tinyint unsigned NOT NULL,\xa                        `qty_policy` tinyint unsigned NOT NULL DEFAULT 0,
                        `qty_mode` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `measurement_system` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `display_mode` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `price_display_mode` tinyint unsigned NOT NULL DEFAULT 0,
                        `unit_price_ratio` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `minimal_price_ratio` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `minimal_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `maximum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `total_maximum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `default_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `qty_step` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `qty_values` varchar(256),
                        `ext` tinyint unsigned NOT NULL DEFAULT 0,
                        `qty_available_display` tinyint unsigned NOT NULL DEFAULT 0,
                        `hidden` tinyint unsigned NOT NULL DEFAULT 0,
                        `customization` tinyint(1) unsigned NOT NULL DEFAULT 0,
                        `css` varchar(256)"); $CWu4z[] = array("table" => "pp_template_lang", "sql" => "`id_pp_template` int(10) unsigned NOT NULL,
                        `id_lang` int(10) unsigned NOT NULL,
                        `name` varchar(48) NOT NULL,
                        `auto_desc_1` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `description_1` text,
                        `auto_desc_2` tinyint unsigned NOT NULL DEFAULT 0,
                        `description_2` text,
                        PRIMARY KEY (`id_pp_template`, `id_lang`)"); $CWu4z[] = array("table" => "pp_template_property", "sql" => "`id_pp_template` int(10) unsigned NOT NULL,\xa                        `pp_name` varchar(32) NOT NULL,
                        `id_pp_property` int(10) unsigned NOT NULL,
                        INDEX (id_pp_template)"); $CWu4z[] = array("table" => "pp_property", "sql" => "`id_pp_property` int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,
                        `type` int(10) NOT NULL", "options" => "AUTO_INCREMENT = " . PProperties::USER_START_ID); $CWu4z[] = array("table" => "pp_property_lang", "sql" => "`id_pp_property` int(10) unsigned NOT NULL,\xa                        `id_lang` int(10) unsigned NOT NULL,
                        `text_1` text NOT NULL,\xa                        `text_2` text NOT NULL,
                        PRIMARY KEY (`id_pp_property`, `id_lang`)"); $CWu4z[] = array("table" => "pp_template_ext", "sql" => "`id_pp_template` int(10) unsigned NOT NULL,
                        `type` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `policy` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `method` int(10) unsigned NOT NULL DEFAULT 0,
                        `title` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `property` int(10) unsigned NOT NULL DEFAULT 0,
                        `text` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `explanation` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `minimum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `maximum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `minimum_quantity_text` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `maximum_quantity_text` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `minimal_price_ratio` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        INDEX (id_pp_template)"); $CWu4z[] = array("table" => "pp_template_ext_prop", "sql" => "`id_pp_template` int(10) unsigned NOT NULL,
                        `id_ext_prop` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `position` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `property` int(10) unsigned NOT NULL DEFAULT 0,
                        `text` int(10) unsigned NOT NULL DEFAULT 0,
                        `order_text` int(10) unsigned NOT NULL DEFAULT 0,
                        `minimum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `maximum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `default_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `qty_step` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `qty_ratio` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        INDEX (id_pp_template)"); $CWu4z[] = array("table" => "pp_order_detail", "sql" => "`id_pp_order_detail` int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,\xa                        `id_order` int(10) unsigned NOT NULL,\xa                        `id_order_detail` int(10) unsigned NOT NULL,
                        `id_shop` int(11) unsigned NOT NULL,
                        `id_cart_product` int(10) unsigned NOT NULL,\xa                        `id_product` int(10) unsigned NOT NULL,
                        `id_product_attribute` int(10) unsigned DEFAULT NULL,\xa                        `quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `data_type` varchar(32) NOT NULL,
                        `data` text,\xa                        INDEX `id_product` (`id_product`), 
                        INDEX `id_product_id_product_attribute` (`id_product`, `id_product_attribute`), \xa                        INDEX `id_product_attribute` (`id_product_attribute`), \xa                        INDEX `id_order_id_order_detail` (`id_order`, `id_order_detail`)"); $CWu4z[] = array("column" => "id_pp_template", "table" => "product", "sql" => "int(10) unsigned AFTER `weight`"); $CWu4z[] = array("column" => "quantity_remainder", "table" => "product", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $CWu4z[] = array("column" => "minimal_quantity_fractional", "table" => "product", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $CWu4z[] = array("column" => "minimal_quantity_fractional", "table" => "product_shop", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $CWu4z[] = array("column" => "quantity_remainder", "table" => "product_attribute", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $CWu4z[] = array("column" => "minimal_quantity_fractional", "table" => "product_attribute", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $CWu4z[] = array("column" => "minimal_quantity_fractional", "table" => "product_attribute_shop", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $CWu4z[] = array("column" => "id_cart_product", "table" => "cart_product", "sql" => "int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST"); $CWu4z[] = array("column" => "quantity_fractional", "table" => "cart_product", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $CWu4z[] = array("column" => "pp_data_type", "table" => "cart_product", "sql" => "varchar(32) DEFAULT NULL AFTER `quantity_fractional`"); $CWu4z[] = array("column" => "pp_data", "table" => "cart_product", "sql" => "text AFTER `pp_data_type`"); $CWu4z[] = array("column" => "id_cart_product", "table" => "customization", "sql" => "int(10) unsigned NOT NULL AFTER `id_cart`"); $CWu4z[] = array("column" => "quantity_fractional", "table" => "customization", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $CWu4z[] = array("column" => "id_cart_product", "table" => "order_detail", "sql" => "int(10) unsigned NOT NULL AFTER `id_order`"); $CWu4z[] = array("column" => "product_quantity_fractional", "table" => "order_detail", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `product_quantity`"); $CWu4z[] = array("column" => "pp_data_type", "table" => "order_detail", "sql" => "varchar(32) DEFAULT NULL"); $CWu4z[] = array("column" => "pp_data", "table" => "order_detail", "sql" => "text"); $CWu4z[] = array("column" => "physical_quantity_remainder", "table" => "stock", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `physical_quantity`"); $CWu4z[] = array("column" => "usable_quantity_remainder", "table" => "stock", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `usable_quantity`"); $CWu4z[] = array("column" => "physical_quantity_remainder", "table" => "stock_mvt", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `physical_quantity`"); $CWu4z[] = array("column" => "quantity_remainder", "table" => "stock_available", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $CWu4z[] = array("column" => "physical_quantity_remainder", "table" => "stock_available", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `physical_quantity`"); $CWu4z[] = array("column" => "reserved_quantity_remainder", "table" => "stock_available", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `reserved_quantity`"); $CWu4z[] = array("column" => "maximum_quantity", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $CWu4z[] = array("column" => "total_maximum_quantity", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `maximum_quantity`"); $CWu4z[] = array("column" => "qty_step", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `default_quantity`"); $CWu4z[] = array("column" => "qty_values", "table" => "pp_template", "sql" => "varchar(256) AFTER `qty_step`"); $CWu4z[] = array("column" => "minimal_price_ratio", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `unit_price_ratio`"); $CWu4z[] = array("column" => "ext", "table" => "pp_template", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `qty_step`"); $CWu4z[] = array("column" => "price_display_mode", "table" => "pp_template", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `ext`"); $CWu4z[] = array("column" => "customization", "table" => "pp_template", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `hidden`"); $CWu4z[] = array("column" => "css", "table" => "pp_template", "sql" => "varchar(64) AFTER `hidden`"); $CWu4z[] = array("column" => "qty_available_display", "table" => "pp_template", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `hidden`"); $CWu4z[] = array("column" => "policy", "table" => "pp_template_ext", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `type`"); $CWu4z[] = array("column" => "minimum_quantity", "table" => "pp_template_ext", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `explanation`"); $CWu4z[] = array("column" => "maximum_quantity", "table" => "pp_template_ext", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimum_quantity`"); $CWu4z[] = array("column" => "minimum_quantity_text", "table" => "pp_template_ext", "sql" => "int(10) unsigned NOT NULL AFTER `maximum_quantity`"); $CWu4z[] = array("column" => "maximum_quantity_text", "table" => "pp_template_ext", "sql" => "int(10) unsigned NOT NULL AFTER `minimum_quantity_text`"); $CWu4z[] = array("column" => "minimal_price_ratio", "table" => "pp_template_ext", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `maximum_quantity_text`"); $CWu4z[] = array("column" => "id_ext_prop", "table" => "pp_template_ext_prop", "sql" => "int(10) unsigned NOT NULL DEFAULT 0 AFTER `id_pp_template`"); $CWu4z[] = array("column" => "qty_ratio", "table" => "pp_template_ext_prop", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `qty_step`"); $CWu4z[] = array("func" => array($this, "amend")); return $CWu4z; } public function amend() { $EmCj7 = Db::getInstance(); $EmCj7->execute("UPDATE `" . _DB_PREFIX_ . "pp_template_ext_prop` SET `id_ext_prop` = `position` WHERE `id_ext_prop` = 0"); return false; } private static function dbInsert($IwjAm, $Z67Fs) { $EmCj7 = PSM::getDB(); foreach ($Z67Fs as $c5gSQ) { $EmCj7->insert($IwjAm, $c5gSQ, false, true, Db::INSERT_IGNORE); CcA5A: } hBcfP: } private static function dbInsertLang($IwjAm, $Z67Fs, $dlWcM) { $EmCj7 = PSM::getDB(); foreach ($Z67Fs as $c5gSQ) { foreach ($dlWcM as $Z4xRF) { $c5gSQ["id_lang"] = $Z4xRF["id_lang"]; $EmCj7->insert($IwjAm, $c5gSQ, false, true, Db::INSERT_IGNORE); IiZK9: } ZzLn8: EyYQz: } Ml0tn: } private static function dbInsertTemplateSpecial($IwjAm, $GqsL9, $Z67Fs) { $EmCj7 = PSM::getDB(); foreach ($Z67Fs as $c5gSQ) { $y0pry = $EmCj7->getRow("SELECT `id_pp_template` FROM `" . _DB_PREFIX_ . $IwjAm . "` WHERE `id_pp_template` = " . (int) $c5gSQ["id_pp_template"] . " AND `" . $GqsL9 . "`="" . pSQL($c5gSQ[$GqsL9]) . """); if (!($y0pry === false)) { goto jWgQv; } $EmCj7->insert($IwjAm, $c5gSQ); jWgQv: gbJmv: } sHRuS: } private function updateDB() { return $this->setupDB(); } public function checkDbIntegrity() { $yyHom = parent::checkDbIntegrity(); if (!(count($yyHom) > 0)) { goto NOmyi; } foreach ($yyHom as $CWu4z) { switch ($CWu4z["key"]) { case "table_not_found": $this->module->integration_test_result[$this->module->l("Database")][] = sprintf($this->module->l("Missing table "%s""), _DB_PREFIX_ . $CWu4z["table"]); goto e6YqN; case "column_not_found": $this->module->integration_test_result[$this->module->l("Database")][] = sprintf($this->module->l("Missing column "%s" in table "%s""), $CWu4z["column"], _DB_PREFIX_ . $CWu4z["table"]); goto e6YqN; case "column_definition": $this->module->integration_test_result[$this->module->l("Database")][] = sprintf($this->module->l("Column "%s" in table "%s" not properly defined [%s]"), $CWu4z["column"], _DB_PREFIX_ . $CWu4z["table"], $CWu4z["sql"]); goto e6YqN; default: goto e6YqN; } r5njV: e6YqN: Fop72: } R5VfY: return false; NOmyi: return true; } public function functionTrue() { return true; } public function checkCartProductPrimaryKey() { $EmCj7 = Db::getInstance(); $yyHom = $EmCj7->getRow("SELECT column_name FROM information_schema.columns\xa            WHERE table_schema = '" . _DB_NAME_ . "'\xa            AND table_name = '" . _DB_PREFIX_ . "cart_product' AND column_key = 'PRI'"); if (!(is_array($yyHom) && $yyHom["column_name"] != "id_cart_product")) { goto PIODM; } $EmCj7->execute("ALTER TABLE `" . _DB_PREFIX_ . "cart_product` DROP PRIMARY KEY"); PIODM: return false; } protected static function directoryListing($q4_xt, $x4V8B = false, &$CYnVo = null) { if (is_array($CYnVo)) { goto xk9Z5; } $CYnVo = array(); xk9Z5: if (is_dir($q4_xt)) { goto Qe62d; } if (!(isset($RqGsQ) && ($x4V8B === false || !self::inString($RqGsQ, $x4V8B)))) { goto Bz0Fz; } $CYnVo[] = $RqGsQ; Bz0Fz: goto GlqfF; Qe62d: $SzDio = self::excludeFiles(); $cwuws = dir($q4_xt); gPRNM: if (!(false !== ($Hzd5c = $cwuws->read()))) { goto H8OBm; } if (!in_array($Hzd5c, $SzDio)) { goto d0lnG; } goto gPRNM; d0lnG: $RqGsQ = $q4_xt . "/" . $Hzd5c; if (!is_dir($RqGsQ)) { goto akPEK; } self::directoryListing($RqGsQ, $x4V8B, $CYnVo); goto gPRNM; akPEK: if (!($x4V8B === false || !self::inString($RqGsQ, $x4V8B))) { goto m9TSC; } $CYnVo[] = $RqGsQ; m9TSC: goto gPRNM; H8OBm: $cwuws->close(); GlqfF: return $CYnVo; } protected static function inString($OoBOm, $movf1) { if (!is_array($movf1)) { goto JTvLg; } foreach ($movf1 as $n5STn) { if (!(Tools::strpos($OoBOm, $movf1) !== false)) { goto R_2pl; } return true; R_2pl: ppAgB: } NOr4T: return false; JTvLg: return Tools::strpos($OoBOm, $movf1) !== false; } protected static function copyDirectory($q4_xt, $X2msJ) { if (is_dir($q4_xt)) { goto P2Ggp; } Tools::copy($q4_xt, $X2msJ); goto vs174; P2Ggp: mkdir($X2msJ, 0755, true); $cwuws = dir($q4_xt); j_XXO: if (!(false !== ($Hzd5c = $cwuws->read()))) { goto WMZto; } if (!($Hzd5c == "." || $Hzd5c == "..")) { goto DuoI8; } goto j_XXO; DuoI8: $RqGsQ = $q4_xt . "/" . $Hzd5c; if (!is_dir($RqGsQ)) { goto hN30v; } self::copyDirectory($RqGsQ, $X2msJ . "/" . $Hzd5c); goto j_XXO; hN30v: Tools::copy($RqGsQ, $X2msJ . "/" . $Hzd5c); goto j_XXO; WMZto: $cwuws->close(); vs174: } protected static function removeDirectory($snfPV) { if (!is_dir($snfPV)) { goto uzX8y; } $w3rXK = scandir($snfPV); if (!(count($w3rXK) > 2)) { goto uaC3t; } foreach ($w3rXK as $pU4Bg) { if (!($pU4Bg != "." && $pU4Bg != ".." && is_dir($snfPV . "/" . $pU4Bg))) { goto eEquR; } self::removeDirectory($snfPV . "/" . $pU4Bg); eEquR: Gv47r: } zkENb: uaC3t: $SzDio = self::excludeFiles(); $RG00W = true; $w3rXK = scandir($snfPV); foreach ($w3rXK as $pU4Bg) { if (in_array($pU4Bg, $SzDio)) { goto za4ha; } $RG00W = false; goto IRawp; za4ha: oeffs: } IRawp: if (!$RG00W) { goto vh4yv; } $w3rXK = scandir($snfPV); foreach ($w3rXK as $pU4Bg) { if (!($pU4Bg != "." && $pU4Bg != ".." && is_file($snfPV . "/" . $pU4Bg))) { goto IATh9; } Tools::deleteFile($snfPV . "/" . $pU4Bg); IATh9: zgn4u: } nlMx2: rmdir($snfPV); vh4yv: uzX8y: } protected static function excludeFiles() { $pU4Bg = dirname(__FILE__) . "/ppsetup_exclude.inc"; if (!file_exists($pU4Bg)) { goto VMJjW; } $d1Of4 = Tools::file_get_contents($pU4Bg); return explode("|", $d1Of4); VMJjW: return array(".", "..", "php.ini", ".htaccess", "index.php", "desktop.ini", ".DS_Store", ".gitignore", ".gitmodules", ".svn", "__MACOSX"); } private function getVersion($pU4Bg) { if (!is_file($pU4Bg)) { goto JfXLP; } $LLsOM = array(); $d1Of4 = Tools::file_get_contents($pU4Bg); $LLsOM[self::VERSION_INDEX] = self::getVersionBySignature($d1Of4, self::VERSION_SIGNATURE_START); $LLsOM[self::VERSION_REQUIRED_INDEX] = self::getVersionBySignature($d1Of4, self::VERSION_REQUIRED_SIGNATURE_START); return $LLsOM; JfXLP: return false; } private function getVersionBySignature($d1Of4, $lzIjT) { $LMfhW = Tools::strpos($d1Of4, $lzIjT); if (!($LMfhW !== false)) { goto oRz7v; } $K57Fa = Tools::strpos($d1Of4, self::VERSION_SIGNATURE_END, $LMfhW); if (!($K57Fa !== false)) { goto ua7n8; } $BW1C6 = Tools::strlen($lzIjT); return Tools::substr($d1Of4, $LMfhW + $BW1C6, $K57Fa - $LMfhW - $BW1C6); ua7n8: oRz7v: return false; } private function getVersionSignature() { return self::VERSION_SIGNATURE_START . $this->module->version . self::VERSION_SIGNATURE_END; } public function smartyIntegrationString() { return "if(!file_exists(_PS_MODULE_DIR_.'pproperties/smarty/smarty.config.inc')){@ini_set('display_errors','on');@error_reporting(E_ALL);}" . "require_once(_PS_MODULE_DIR_.'pproperties/smarty/smarty.config.inc');"; } private function getXmlMd5File($ODFpD, $yZwg_, $ymrwd = false) { $ODFpD = dirname(__FILE__) . "/config/" . $ODFpD; if (is_file($ODFpD)) { goto AFSPd; } if (!($ymrwd !== false)) { goto u_kc1; } $Xbt07 = new Upgrader(); libxml_set_streams_context(@stream_context_create(array("http" => array("timeout" => 3)))); $lLCtX = @simplexml_load_file($Xbt07->rss_md5file_link_dir . $ymrwd . ".xml"); if (!($lLCtX != false)) { goto PmD9_; } $lLCtX->asXML($ODFpD); PmD9_: u_kc1: goto Tc5oK; AFSPd: $lLCtX = @simplexml_load_file($ODFpD); Tc5oK: if (!(isset($lLCtX) && $lLCtX != false)) { goto LNane; } $a6RMF = $this->md5FileAsFilesArray($lLCtX->{$yZwg_}[0]); return $a6RMF; LNane: return false; } private function md5FileAsFilesArray($ejN5B, &$G56d8 = array(), $E4vdf = 1, &$yyHom = null) { if (array($yyHom)) { goto kGpnR; } $yyHom = array(); kGpnR: foreach ($ejN5B as $pgJ_L) { if (is_object($pgJ_L) && $pgJ_L->getName() == "dir") { goto Ix_4D; } if (is_object($pgJ_L) && $pgJ_L->getName() == "md5file") { goto I3Fqq; } goto cq30A; Ix_4D: $G56d8[$E4vdf] = (string) $pgJ_L["name"]; $this->md5FileAsFilesArray($pgJ_L, $G56d8, $E4vdf + 1, $yyHom); goto cq30A; I3Fqq: $RIVWZ = ''; $mMBUy = 1; ufMX8: if (!($mMBUy < $E4vdf)) { goto Ton6P; } $RIVWZ .= $G56d8[$mMBUy] . "/"; dz2l_: $mMBUy++; goto ufMX8; Ton6P: $RIVWZ .= (string) $pgJ_L["name"]; $yyHom[$RIVWZ] = (string) $pgJ_L; cq30A: t9GDw: } WoG4b: return $yyHom; } private function backupFile($pU4Bg, $xekEl = false) { if (!is_file($pU4Bg)) { goto fwXzF; } $snfPV = self::getBackupDirectory(); $ZXblS = str_replace(_PS_ROOT_DIR_, '', $pU4Bg); $gNXec = $snfPV . str_replace(_PS_ROOT_DIR_, '', dirname($pU4Bg)); $wsmX_ = $snfPV . $ZXblS; if (!$xekEl) { goto c8362; } Tools::deleteFile($wsmX_); c8362: if (is_file($wsmX_)) { goto EISZM; } if (is_dir($gNXec)) { goto IdR6b; } mkdir($gNXec, 0755, true); IdR6b: Tools::copy($pU4Bg, $wsmX_); $vsF5W = filemtime($pU4Bg); if (!($vsF5W !== false)) { goto nUJea; } touch($wsmX_, $vsF5W); nUJea: EISZM: fwXzF: } private function restoreFile($pU4Bg) { if (!is_file($pU4Bg)) { goto iObe1; } $snfPV = self::getBackupDirectory(); $ZXblS = str_replace(_PS_ROOT_DIR_, '', $pU4Bg); $DB9Ob = $snfPV . $ZXblS; if (!is_file($DB9Ob)) { goto To7s8; } Tools::copy($DB9Ob, $pU4Bg); $vsF5W = filemtime($DB9Ob); if (!($vsF5W !== false)) { goto RH4j_; } touch($pU4Bg, $vsF5W); RH4j_: Tools::deleteFile($DB9Ob); To7s8: iObe1: } private function cleanup() { self::removeDirectory(self::getBackupRootDirectory()); } private static function getBackupRootDirectory() { return _PS_MODULE_DIR_ . "pproperties-backup"; } private static function getBackupDirectory() { return self::getBackupRootDirectory() . "/" . _PS_VERSION_; } private static function truncateString($xiM0h, $BW1C6 = 120) { if (!is_array($xiM0h)) { goto e9REq; } $xiM0h = implode(" ", $xiM0h); e9REq: return Tools::truncateString($xiM0h, $BW1C6); } } 
 
/* 
$->l('Overridden files'); 
$->l('File "%s" overridden by "%s"'); 
$->l('Modified files'); 
$->l('(modified by %s)'); 
$->l('Files integration'); 
$->l('Warnings'); 
$->l('Plugins'); 
$->l('Modules'); 
$->l('activate integration'); 
$->l('Module "%s" not integrated. Integration postponed by user'); 
$->l('ignore'); 
$->l('and allow to work without proper integration'); 
$->l('check for update'); 
$->l('Integration failed for module "%s"'); 
$->l('Integration failed for module "%s" version %s'); 
$->l('Integration failed for smarty file "%s"'); 
$->l('(file not found)'); 
$->l('(backup failed)'); 
$->l('(string not found)'); 
$->l('searching for:'); 
$->l('substitute:'); 
$->l('(optional string not found, no action required)'); 
$->l('(string expected to be found %d %s, found %d %s)'); 
$->l('time'); 
$->l('times'); 
$->l('(duplicate string found)'); 
$->l('String replacement note for file: %s%s'); 
$->l('String replacement warning for file: %s%s'); 
$->l('(file not writable, permission denied)'); 
$->l('File is missing: %s'); 
$->l('File not compatible: %s (missing version signature)'); 
$->l('Compatibility warning for file: %s (expected version %s, found version %s)'); 
$->l('Compatibility warning for file: %s (expected version %s, no version information found)'); 
$->l('File not compatible: %s (expected version %s, found version %s)'); 
$->l('Database'); 
$->l('Missing table "%s"'); 
$->l('Missing column "%s" in table "%s"'); 
$->l('Column "%s" in table "%s" not properly defined [%s]'); 
*/ 
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * This source file is subject to the commercial software
 * license agreement available through the world-wide-web at this URL:
 * https://psandmore.com/licenses/sla
 * If you are unable to obtain the license, please send an email to
 * [email protected] and we will send you a copy immediately.
 *
 * @author    PS&More www.psandmore.com <[email protected]>
 * @copyright 2011-2020 PS&More
 * @license   psandmore.com/licenses/sla
 */
 class PPSetup extends PSMSetup30 { const VERSION_SIGNATURE_START = "\x50\x50\137\x56\105\122\123\x49\x4f\116\x5b"; const VERSION_REQUIRED_SIGNATURE_START = "\x50\120\x5f\x56\x45\122\x53\111\117\x4e\137\x52\105\x51\125\111\122\x45\x44\133"; const VERSION_SIGNATURE_END = "\x5d"; const VERSION_INDEX = 0; const VERSION_REQUIRED_INDEX = 1; const VERSION_CHECK_INDEX = 0; const VERSION_CHECK_DESC_INDEX = 1; const EXTRA_MODULE = "\155\x6f\x64\165\154\x65"; const EXTRA_VER = "\166\145\x72\163\151\x6f\x6e"; const EXTRA_ENABLED = "\145\156\x61\142\154\x65\x64"; const EXTRA_INTEGRATED = "\151\156\164\x65\x67\162\141\164\145\144"; const EXTRA_IGNORE = "\x69\147\x6e\x6f\x72\145"; protected $install_mode; protected $extra; protected $check_integration_processed; private $module_installed; private static $s_cache = array(); protected static $ppsetup_custom = array(); protected static $ppsetup_custom_config = null; public function install() { set_time_limit(300); $this->install_mode = true; $this->setupAndIntegration(); } public function uninstall() { set_time_limit(300); $this->setup(); } public function runSetup() { set_time_limit(300); $this->install_mode = true; $this->extra = $this->getExtraModulesConfiguration(); $this->setupAndIntegration(); } public function sanityCheck() { $this->setupSmarty(true); } public function runIntegrationTest() { set_time_limit(300); $this->setupAndIntegration(); } public function checkIntegration() { set_time_limit(300); $this->extra = $this->getExtraModulesConfiguration(); $this->setupAndIntegration(); $this->check_integration_processed = true; } public function moduleInstalled($bMy9t) { if (!Validate::isLoadedObject($bMy9t)) { goto O5IzK; } $r8zYq = $this->getExtraModules(); foreach ($r8zYq as $CWu4z) { if (!($bMy9t->name == $CWu4z["\x6e\141\155\145"])) { goto w3Gl1; } set_time_limit(300); $uY9Qi = $this->install_mode; $this->install_mode = true; $this->module_installed = $bMy9t; $this->setupExtraModules(); $this->install_mode = $uY9Qi; Configuration::deleteByName("\120\x50\x5f\111\x4e\x54\105\x47\122\x41\124\x49\117\x4e\137\x43\x48\x45\x43\113"); Configuration::deleteByName("\120\x50\137\111\116\106\x4f\137\103\110\105\103\x4b\x5f\124\111\115\105"); if (!($bMy9t->name == "\160\141\x79\160\141\154")) { goto PVyHj; } Configuration::updateValue("\x50\x41\131\x50\101\x4c\137\105\x58\120\x52\105\x53\x53\x5f\103\110\105\x43\x4b\117\x55\124\x5f\x53\x48\117\122\x54\x43\125\x54", 0); PVyHj: goto GTfuS; w3Gl1: mfvEu: } GTfuS: O5IzK: } public function moduleUpgraded($bMy9t) { $this->moduleInstalled($bMy9t); } public function checkModifiedFiles() { $vmANe = array(); list(, , , , $J9yRV, ) = $DiHuK = $this->getSetupVars1(); foreach ($J9yRV as $mEM7n) { list(, , $lGyLe, $pU4Bg, $mGlTp, $KulHu) = $this->getSetupVars2($DiHuK, $mEM7n); if (!$mGlTp) { goto ZNgO7; } $DDW7H = _PS_ROOT_DIR_ . "\x2f" . $mGlTp; if (!is_file($DDW7H)) { goto Ed6zj; } $vmANe[$this->module->l("\x4f\166\145\x72\162\151\144\x64\145\x6e\x20\146\x69\154\145\x73")][] = sprintf($this->module->l("\106\151\x6c\x65\x20\42\45\163\42\40\x6f\x76\x65\x72\x72\x69\x64\x64\145\156\40\142\171\x20\x22\45\163\x22"), PSM::normalizePath($KulHu), PSM::normalizePath($mGlTp)); Ed6zj: ZNgO7: if (PSM::md5filesCompare($mEM7n, $pU4Bg)) { goto H7lI3; } $biNZu = array(); $Pzm9d = $this->module->plugins(); foreach ($Pzm9d as $aUUyU => $URk2o) { $d1Of4 = null; if (!Module::isInstalled($aUUyU)) { goto B1eo_; } if (!($d1Of4 === null)) { goto fSLWp; } $d1Of4 = Tools::file_get_contents($pU4Bg); fSLWp: if (!(Tools::strpos($d1Of4, "\133\155\157\x64\x69\146\x69\x65\x64\40\142\171\x20" . $aUUyU . "\x5d") !== false)) { goto RmfDe; } $biNZu[$aUUyU] = $aUUyU; RmfDe: B1eo_: cQR6O: } sixiz: $vmANe[$this->module->l("\115\x6f\144\x69\x66\x69\x65\144\x20\146\151\x6c\x65\163")][] = PSM::normalizePath($lGyLe) . (count($biNZu) ? "\x20" . sprintf($this->module->l("\50\x6d\157\x64\151\x66\151\145\x64\x20\x62\x79\x20\x25\163\51"), implode("\x2c\x20", $biNZu)) : ''); $wZb1s = $this->checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n); if (!(Tools::strlen($wZb1s[self::VERSION_CHECK_DESC_INDEX]) > 0)) { goto NZxXl; } if ($wZb1s[self::VERSION_CHECK_INDEX] == false) { goto ELR7c; } $vmANe[$this->module->l("\127\141\x72\x6e\x69\x6e\147\x73")][] = $wZb1s[self::VERSION_CHECK_DESC_INDEX]; goto iiH5U; ELR7c: $vmANe[$this->module->l("\106\151\154\145\x73\x20\x69\x6e\164\145\x67\162\141\164\151\157\156")][] = $wZb1s[self::VERSION_CHECK_DESC_INDEX]; iiH5U: NZxXl: H7lI3: byTRz: } BnYfB: foreach (array("\x63\x73\x73", "\x6a\x73") as $m6rPK) { foreach (scandir(dirname(__FILE__) . "\x2f\x76\151\x65\167\163\x2f" . $m6rPK) as $ODFpD) { $v3REF = false; if (Tools::strrpos($ODFpD, "\x2e\x63\163\x73") === Tools::strlen($ODFpD) - 4) { goto V84Lk; } if (Tools::strrpos($ODFpD, "\56\152\163") === Tools::strlen($ODFpD) - 3) { goto PCY0z; } goto kA1PG; V84Lk: if (!(Tools::strpos($ODFpD, "\143\x75\x73\164\x6f\155\x2e\x63\x73\163") === false)) { goto yw8mE; } $v3REF = "\164\x68\x65\155\x65\x73\57" . _THEME_NAME_ . "\x2f\143\163\163\x2f\x6d\157\x64\165\x6c\x65\163\x2f" . $this->module->name . "\x2f\166\x69\145\167\x73\x2f\143\163\163\57" . $ODFpD; yw8mE: goto kA1PG; PCY0z: if (!(Tools::strpos($ODFpD, "\x63\x75\163\164\157\155\x2e\152\163") === false)) { goto SXolI; } $v3REF = "\164\x68\x65\x6d\x65\x73\57" . _THEME_NAME_ . "\57\x6a\x73\x2f\x6d\x6f\144\165\x6c\x65\x73\57" . $this->module->name . "\x2f\166\151\145\x77\x73\x2f\152\x73\57" . $ODFpD; SXolI: kA1PG: if (!$v3REF) { goto RxAvn; } $u6PIQ = _PS_ROOT_DIR_ . "\57" . $v3REF; if (!is_file($u6PIQ)) { goto LuBBE; } $vmANe[$this->module->l("\117\166\145\x72\162\151\144\144\x65\x6e\40\146\151\154\x65\163")][] = sprintf($this->module->l("\x46\x69\154\145\x20\x22\45\163\42\x20\x6f\x76\145\x72\162\x69\144\x64\x65\x6e\x20\x62\171\x20\x22\45\x73\x22"), PSM::normalizePath(dirname(__FILE__) . "\57" . $ODFpD, "\x72\145\x6c\141\x74\x69\x76\145"), PSM::normalizePath($v3REF)); LuBBE: RxAvn: zmKkg: } nnH5d: a9_UG: } Au092: return $vmANe; } public function processIntegrationModule($n02z8) { $sCoCQ = "\145\162\162\x6f\162"; if (!($BfSUx = Tools::getValue("\152\x73\x6f\x6e"))) { goto FOAhq; } $CWu4z = $this->getExtraModulesConfiguration(); if (!($CWu4z != null)) { goto gHxci; } $lolAj = json_decode($BfSUx, true); $Jd_lk = $lolAj["\155\157\x64\x75\154\x65"]; $n3QBE = $lolAj["\166\x65\162"]; foreach ($CWu4z as &$bMy9t) { if (!(strcmp($Jd_lk, $bMy9t[self::EXTRA_MODULE]) == 0 && strcmp((string) $n3QBE, (string) $bMy9t[self::EXTRA_VER]) == 0)) { goto zdFkm; } $sCoCQ = "\x73\x75\x63\x63\145\163\x73"; $bMy9t[self::EXTRA_IGNORE] = $n02z8; $this->saveExtraModulesConfiguration($CWu4z); goto BSwA0; zdFkm: ycVMP: } BSwA0: gHxci: FOAhq: $BfSUx = array("\163\x74\141\164\165\x73" => $sCoCQ); return json_encode($BfSUx); } protected function setup() { $ZyASF = $this->getXmlMd5File("\x70\162\x65\x73\x74\141\163\150\x6f\160\x2f" . _PS_VERSION_ . "\56\x78\x6d\154", "\x70\x73\x5f\162\x6f\x6f\x74\137\x64\x69\162", _PS_VERSION_); list(, , , , $J9yRV, ) = $DiHuK = $this->getSetupVars1(); foreach ($J9yRV as $mEM7n) { list($GXeXU, $u8MJK, $lGyLe, $pU4Bg, , ) = $this->getSetupVars2($DiHuK, $mEM7n); if ($this->install_mode) { goto PENEi; } $UhYXs = PSM::md5filesCompare($mEM7n, $pU4Bg); if (!$UhYXs) { goto UrNjO; } $this->restoreFile($pU4Bg); $zGtoX = PSM::md5filesCompare($mEM7n, $pU4Bg); if (!$zGtoX) { goto KTgKA; } if (!is_array($ZyASF)) { goto FNLe8; } $nOl2D = array_keys($ZyASF); FNLe8: if (!(is_array($nOl2D) && !in_array($GXeXU, $nOl2D))) { goto RB1ow; } Tools::deleteFile($pU4Bg); RB1ow: KTgKA: UrNjO: goto OG8xh; PENEi: $wZb1s = $this->checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n); if (!($wZb1s[self::VERSION_CHECK_INDEX] == false)) { goto fhjJ0; } if (!is_array($ZyASF)) { goto izeoB; } $nOl2D = array_keys($ZyASF); izeoB: $c9MXV = !file_exists($pU4Bg); if ($c9MXV) { goto GXwuA; } if (!(isset($nOl2D) && is_array($nOl2D) && in_array($u8MJK, $nOl2D))) { goto yCGhI; } $c9MXV = PSM::md5Compare($pU4Bg, $ZyASF[$u8MJK]); yCGhI: GXwuA: if (!$c9MXV) { goto xw7oP; } $this->backupFile($pU4Bg); if (is_dir(dirname($pU4Bg))) { goto fdzBr; } mkdir(dirname($pU4Bg), 0755, true); fdzBr: @chmod($pU4Bg, 0755); Tools::deleteFile($pU4Bg); Tools::copy($mEM7n, $pU4Bg); xw7oP: fhjJ0: OG8xh: K9MGE: } WEjMR: if (!$this->install_mode) { goto Kn4F7; } $yyHom = $this->updateDB(); if (!$yyHom) { goto npQYO; } $this->insertData(false); npQYO: Kn4F7: $this->setupSmarty($this->install_mode); $this->getPPSetupEx()->setup(); $this->setupPlugins(); $this->setupExtraModules(); if ($this->install_mode) { goto HHhhI; } $this->cleanup(); goto c2mL7; HHhhI: PSM::protectDirectory(self::getBackupRootDirectory()); c2mL7: } protected function setupExtraModuleUninstalled() { } private function setupPlugins() { $Pzm9d = $this->plugins(); foreach ($Pzm9d as $e03au) { $e03au->setup(); XIyhh: } uy5Dv: } private function setupExtraModules() { if ($this->install_mode) { goto A_P0v; } $r8zYq = $this->getExtraModules(); $EmCj7 = PSM::getDB(); foreach ($r8zYq as $CWu4z) { foreach ($CWu4z["\x66\x69\x6c\x65\163"] as $w3rXK) { $mEM7n = $w3rXK["\146\x69\154\x65"]; if (basename($mEM7n) == "\x70\160\163\145\164\165\x70\x2e\160\150\x70") { goto rT3HI; } $pU4Bg = _PS_MODULE_DIR_ . $w3rXK["\x72\145\154\x5f\x70\x61\x74\x68"]; $UhYXs = PSM::md5filesCompare($w3rXK["\146\151\x6c\145"], $pU4Bg); if (!$UhYXs) { goto k40gH; } $this->restoreFile($pU4Bg); k40gH: goto nhd9f; rT3HI: $U7bz2 = $this->isModuleInstalled($EmCj7, $CWu4z["\156\141\155\145"], $CWu4z["\x76\x65\162\163\x69\x6f\x6e"]); if ($U7bz2) { goto AfVqo; } if (($P94JY = Module::getInstanceByName($CWu4z["\x6e\x61\155\145"])) && $P94JY->version == $CWu4z["\166\145\162\x73\151\157\156"]) { goto u48MC; } goto L8Rv0; AfVqo: $e03au = $this->getPPSetup($CWu4z["\156\x61\155\x65"], $mEM7n); $e03au->setup(); goto L8Rv0; u48MC: $e03au = $this->getPPSetup($CWu4z["\156\x61\x6d\145"], $mEM7n); $e03au->setupExtraModuleUninstalled(); L8Rv0: nhd9f: qHKic: } PUsZA: ehzks: } cOQu6: goto yuZ5q; A_P0v: $this->extraModules(false); yuZ5q: } private function setupAndIntegration() { if (isset($this->module->integration_test_result)) { goto C3mNE; } $this->module->integration_test_result = array(); C3mNE: if (!$this->install_mode) { goto j3fz4; } $this->setup(); j3fz4: $this->checkFilesIntegrity(); $this->getPPSetupEx()->checkIntegrity(); $this->checkDbIntegrity(); $this->checkSmartyIntegrity(); $this->checkPluginsIntegrity(); $this->checkExtraModulesIntegrity(); $this->module->integrated = count($this->module->integration_test_result) == 0; if ($this->module->integrated) { goto q9xVN; } Configuration::deleteByName("\x50\x50\137\111\x4e\x54\x45\x47\x52\x41\x54\x49\117\x4e"); goto fMPTs; q9xVN: Configuration::updateGlobalValue("\x50\120\x5f\x49\x4e\124\x45\107\122\101\x54\111\117\116", $this->module->integrationKey()); fMPTs: Configuration::updateGlobalValue("\120\120\x5f\x49\116\x54\105\x47\122\x41\x54\111\x4f\116\x5f\103\x48\x45\103\x4b", time()); } private function checkFilesIntegrity() { $yyHom = true; list(, , , , $J9yRV, ) = $DiHuK = $this->getSetupVars1(); foreach ($J9yRV as $mEM7n) { list(, , $lGyLe, $pU4Bg, , ) = $this->getSetupVars2($DiHuK, $mEM7n); $yyHom &= $this->checkFileIntegrity($pU4Bg, $lGyLe, $mEM7n); tvAib: } u1ZyL: return $yyHom; } private function checkFileIntegrity($pU4Bg, $lGyLe, $mEM7n) { $wZb1s = $this->checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n); if (!($wZb1s[self::VERSION_CHECK_INDEX] == false)) { goto KkLR4; } $this->module->integration_test_result[$this->module->l("\x46\x69\154\145\x73\x20\x69\x6e\x74\145\147\x72\x61\164\x69\x6f\x6e")][] = $wZb1s[self::VERSION_CHECK_DESC_INDEX]; KkLR4: return $wZb1s[self::VERSION_CHECK_INDEX]; } private function checkPluginsIntegrity() { if (!$this->check_integration_processed) { goto Hf_Wv; } return; Hf_Wv: $Pzm9d = $this->module->plugins(); foreach ($Pzm9d as $aUUyU => $gIv3H) { list($URk2o, $sNN9D) = $gIv3H; if (!($WUaYG = PSM::getPlugin($aUUyU, $sNN9D))) { goto kDmrH; } if (!($u0UTL = PSM::checkPluginCompatibility($aUUyU, $WUaYG->apiVersion(), $Pzm9d))) { goto hpwHK; } $this->module->integration_test_result[$this->module->l("\x50\154\165\x67\151\156\x73")][] = $u0UTL; hpwHK: kDmrH: aGSU1: } MlNF3: $Pzm9d = $this->plugins(); foreach ($Pzm9d as $aUUyU => $e03au) { $e03au->checkIntegrity(); hSwDv: } dwfic: } public function checkExtraModulesIntegrity($zu82Y = false) { $vmANe = array(); if ($this->check_integration_processed) { goto rqdFL; } $this->extraModules(true); $CWu4z = $this->getExtraModulesConfiguration(); if (!($CWu4z != null)) { goto v9bM5; } $srmTw = $this->getExtraModulesList(); $xex8T = $this->module->l("\x4d\157\x64\165\x6c\145\163"); foreach ($CWu4z as $bMy9t) { if (!($bMy9t[self::EXTRA_ENABLED] && !$bMy9t[self::EXTRA_INTEGRATED])) { goto f6mDC; } $aUUyU = $bMy9t[self::EXTRA_MODULE]; $n3QBE = $bMy9t[self::EXTRA_VER]; if ($bMy9t[self::EXTRA_IGNORE]) { goto lxTsu; } if ($zu82Y) { goto wByQ6; } if (empty($srmTw[$aUUyU])) { goto I0b0X; } $j0qxh = "\40\x28\74\163\x70\x61\x6e\x20\143\x6c\x61\163\163\x3d\x22\x70\160\55\151\156\x74\145\x67\162\x61\164\151\x6f\x6e\55\155\x6f\144\x75\154\x65\40\x63\x68\x65\x63\153\x2d\x66\x6f\162\55\165\160\x64\141\164\x65\55\157\x72\55\151\147\156\x6f\x72\x65\42\40\144\141\x74\141\55\x6d\x6f\x64\x75\x6c\145\x3d\42" . $aUUyU . "\42\x20\x64\141\164\x61\x2d\x76\145\x72\x3d\x22" . $n3QBE . "\42\76\x3c\x61\40\x68\162\145\146\x3d\42\43\42\x20\x64\x61\x74\x61\x2d\155\157\144\x65\x3d\42\x49\x6e\164\x65\x67\162\x61\164\151\x6f\156\115\157\x64\x75\x6c\x65\103\150\x65\143\x6b\x46\157\x72\125\160\x64\x61\x74\x65\x73\x22\x3e\x3c\151\x20\x63\154\141\x73\x73\x3d\x22\151\x63\x6f\156\x2d\x72\145\146\x72\x65\163\150\x22\76\74\x2f\151\76" . $this->module->l("\x63\150\145\x63\153\40\146\157\x72\40\165\160\x64\x61\164\x65") . "\74\57\141\76\40" . PSM::translate("\157\x72") . "\40\74\141\x20\x68\x72\145\x66\x3d\42\x23\x22\x20\144\141\x74\141\55\x6d\x6f\144\145\75\x22\111\156\x74\145\147\162\x61\164\151\157\x6e\115\x6f\144\165\154\145\111\x67\x6e\157\162\145\42\76" . $this->module->l("\x69\147\156\x6f\162\145") . "\x3c\x2f\141\76\40" . $this->module->l("\141\156\144\40\141\154\x6c\x6f\x77\40\164\x6f\40\167\157\162\153\40\x77\151\x74\150\x6f\165\164\40\160\162\x6f\160\x65\x72\40\x69\x6e\x74\x65\x67\x72\141\164\151\157\156") . "\74\x2f\x73\160\141\156\76\51"; goto a4RBJ; I0b0X: $j0qxh = "\x20\50\x3c\163\x70\x61\x6e\40\143\154\141\x73\x73\x3d\x22\160\160\x2d\x69\156\164\145\x67\x72\x61\164\151\x6f\x6e\55\155\x6f\144\165\x6c\145\40\x63\150\x65\143\153\x2d\x66\x6f\162\x2d\165\x70\x64\141\x74\x65\55\x6f\162\x2d\x69\147\156\157\x72\145\42\x20\144\141\x74\x61\55\155\157\144\x75\154\x65\75\x22" . $aUUyU . "\42\40\x64\141\x74\141\55\x76\x65\162\x3d\42" . $n3QBE . "\42\x3e\x3c\141\x20\150\162\145\x66\x3d\42\x23\x22\x20\x64\141\164\x61\55\x6d\x6f\x64\x65\75\x22\x49\156\x74\145\147\162\141\164\151\157\156\x4d\157\144\x75\154\x65\x49\147\x6e\x6f\x72\x65\x22\x3e" . $this->module->l("\x69\147\156\x6f\x72\145") . "\74\57\x61\x3e\40" . $this->module->l("\141\156\x64\x20\141\154\154\157\x77\40\x74\x6f\40\167\x6f\162\153\40\x77\151\164\150\x6f\x75\164\x20\160\162\x6f\160\145\x72\x20\x69\156\x74\145\147\x72\141\164\x69\x6f\x6e") . "\74\57\163\160\141\156\x3e\x29"; a4RBJ: if ($n3QBE == "\x61\154\x6c") { goto psPMy; } $this->module->integration_test_result[$xex8T][] = sprintf($this->module->l("\111\x6e\x74\x65\147\162\x61\164\x69\157\x6e\40\x66\x61\x69\154\x65\144\x20\x66\x6f\162\x20\155\157\x64\x75\x6c\x65\40\x22\x25\163\x22\x20\x76\145\162\x73\151\x6f\156\40\x25\163"), $aUUyU, $n3QBE) . $j0qxh; goto uiOSU; psPMy: $this->module->integration_test_result[$xex8T][] = sprintf($this->module->l("\111\156\164\145\147\162\141\x74\151\157\156\x20\146\141\151\154\145\x64\x20\146\x6f\x72\x20\x6d\157\144\x75\154\x65\40\42\x25\163\x22"), $aUUyU) . $j0qxh; uiOSU: wByQ6: goto bY8z2; lxTsu: if (!$zu82Y) { goto k2G64; } $j0qxh = "\40\50\x3c\x73\160\x61\156\x20\x63\x6c\141\163\x73\75\x22\x70\160\55\x69\156\164\145\x67\x72\x61\x74\x69\157\156\55\155\157\x64\165\x6c\x65\40\x69\156\x74\x65\x67\162\141\x74\145\x22\40\144\141\164\141\x2d\x6d\x6f\144\x75\x6c\x65\75\42" . $aUUyU . "\42\40\144\x61\x74\x61\x2d\x76\x65\x72\x3d\x22" . $n3QBE . "\x22\76\x3c\141\40\150\162\x65\146\75\x22\43\42\x20\x64\141\x74\141\55\155\157\x64\x65\75\42\111\156\x74\145\x67\162\141\x74\x69\x6f\156\115\157\144\165\x6c\x65\x49\x6e\x74\x65\147\x72\x61\164\145\42\76" . $this->module->l("\141\143\164\x69\166\141\164\145\40\x69\x6e\x74\145\x67\x72\x61\x74\151\157\x6e") . "\74\57\141\x3e\74\57\x73\160\141\156\x3e\51\56"; $vmANe[$xex8T][] = sprintf($this->module->l("\115\x6f\x64\x75\154\145\40\42\x25\x73\x22\x20\x6e\157\164\40\151\156\164\x65\x67\162\x61\x74\145\x64\x2e\40\x49\156\x74\145\x67\x72\141\x74\x69\x6f\156\x20\160\157\163\164\x70\x6f\156\x65\144\x20\x62\171\40\165\x73\x65\162"), $aUUyU) . $j0qxh; k2G64: bY8z2: f6mDC: oFzpc: } cBQR0: v9bM5: rqdFL: return $zu82Y ? $vmANe : $this->module->integrated && count($this->module->integration_test_result) == 0; } private function extraModules($q3sDI) { $XO90u = array(); $yyHom = array(); $this->downloadExtraModules($q3sDI); $r8zYq = $this->getExtraModules(); $EmCj7 = PSM::getDB(); foreach ($r8zYq as &$CWu4z) { $CWu4z["\145\x6e\141\142\154\x65\144"] = $this->isModuleEnabled($CWu4z["\156\141\x6d\x65"], $CWu4z["\166\145\162\x73\151\x6f\156"]); $CWu4z["\x69\x6e\x74\145\x67\162\141\164\145\144"] = false; $CWu4z["\151\147\156\157\x72\145"] = false; if ($CWu4z["\x65\x6e\x61\142\x6c\x65\144"]) { goto gRPqm; } if ($q3sDI) { goto Z0Ky2; } foreach ($CWu4z["\146\151\154\145\163"] as $w3rXK) { $mEM7n = $w3rXK["\146\151\x6c\145"]; if (!(basename($mEM7n) == "\160\160\163\145\164\165\x70\x2e\160\150\160")) { goto QluU2; } if (!(($P94JY = Module::getInstanceByName($CWu4z["\156\x61\155\145"])) && $P94JY->version == $CWu4z["\166\145\162\x73\x69\x6f\156"])) { goto N2KzV; } $e03au = $this->getPPSetup($CWu4z["\156\x61\x6d\145"], $mEM7n); $e03au->setupExtraModuleUninstalled(); N2KzV: QluU2: a1SpU: } k8Oxf: Z0Ky2: goto rxsqZ; gRPqm: $CWu4z["\x69\x67\156\x6f\162\145"] = $this->ignoreExtraModule($CWu4z["\156\x61\x6d\x65"], $CWu4z["\166\145\162\x73\x69\157\x6e"]); if (!(!$CWu4z["\151\x67\x6e\x6f\162\145"] && count($CWu4z["\x66\x69\154\x65\x73"]) > 0)) { goto GKsM5; } $CWu4z["\x69\156\164\145\147\x72\141\x74\x65\x64"] = true; foreach ($CWu4z["\146\x69\154\145\163"] as $w3rXK) { $mEM7n = $w3rXK["\x66\x69\154\145"]; if (basename($mEM7n) == "\160\x70\163\145\x74\x75\160\x2e\x70\x68\x70") { goto oSCdY; } $lGyLe = $w3rXK["\162\x65\154\137\160\x61\x74\150"]; $pU4Bg = _PS_MODULE_DIR_ . $lGyLe; $wZb1s = $this->checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n); $gIT7c = $wZb1s[self::VERSION_CHECK_INDEX]; if ($q3sDI) { goto yTohP; } if ($gIT7c) { goto zJqeq; } if (!is_file($pU4Bg)) { goto r4QwD; } $this->backupFile($pU4Bg, true); Tools::copy($mEM7n, $pU4Bg); r4QwD: $gIT7c = $this->checkFileIntegrity($pU4Bg, $lGyLe, $mEM7n); zJqeq: yTohP: goto NEB8U; oSCdY: $e03au = $this->getPPSetup($CWu4z["\156\141\x6d\145"], $mEM7n); if ($q3sDI) { goto CPx33; } $e03au->setup(); CPx33: $gIT7c = $e03au->checkIntegrity(); NEB8U: $CWu4z["\151\156\164\x65\147\162\x61\164\145\144"] &= $gIT7c; OK0ht: } LBuzk: GKsM5: rxsqZ: if (!($CWu4z["\x76\145\162\x73\151\157\156"] != "\141\x6c\154")) { goto vMw7N; } $XO90u[$CWu4z["\x6e\x61\155\145"]] = (isset($XO90u[$CWu4z["\x6e\141\x6d\x65"]]) ? $XO90u[$CWu4z["\156\x61\x6d\x65"]] : false) | (bool) $CWu4z["\151\x6e\x74\x65\x67\162\141\164\x65\x64"]; vMw7N: $yyHom[] = array(self::EXTRA_MODULE => $CWu4z["\x6e\x61\x6d\x65"], self::EXTRA_VER => $CWu4z["\166\145\x72\x73\x69\157\x6e"], self::EXTRA_ENABLED => $CWu4z["\145\156\x61\142\154\145\x64"] ? 1 : 0, self::EXTRA_INTEGRATED => $CWu4z["\151\156\x74\x65\147\x72\141\x74\x65\x64"] ? 1 : 0, self::EXTRA_IGNORE => $CWu4z["\x69\x67\x6e\x6f\162\x65"] ? 1 : 0); Hl7wc: } qxzKr: foreach ($XO90u as $aUUyU => $gIT7c) { if (!(!$gIT7c && $this->isModuleEnabled($aUUyU))) { goto GUaiy; } $LLsOM = $this->moduleVersion($EmCj7, $aUUyU); $wXH_T = false; foreach ($yyHom as $bMy9t) { if (!($bMy9t[self::EXTRA_MODULE] == $aUUyU && $bMy9t[self::EXTRA_VER] == $LLsOM)) { goto EyY1Y; } $wXH_T = true; goto q8ggQ; EyY1Y: zgao5: } q8ggQ: if ($wXH_T) { goto C7Shd; } $yyHom[] = array(self::EXTRA_MODULE => $aUUyU, self::EXTRA_VER => $LLsOM, self::EXTRA_ENABLED => 1, self::EXTRA_INTEGRATED => 0, self::EXTRA_IGNORE => $this->ignoreExtraModule($aUUyU, $LLsOM) ? 1 : 0); C7Shd: GUaiy: QKWKR: } Y2664: $this->saveExtraModulesConfiguration($yyHom); } public function checkSmartyIntegrity() { if (!$this->check_integration_processed) { goto hK5PF; } return; hK5PF: if (parent::checkSmartyIntegrity()) { goto AU2UZ; } $this->module->integration_test_result[] = sprintf($this->module->l("\111\x6e\164\145\x67\162\x61\x74\x69\x6f\x6e\40\x66\141\151\x6c\x65\x64\x20\146\157\162\40\x73\155\x61\162\164\x79\x20\146\151\154\x65\x20\42\x25\x73\x22"), $this->smartyConfigFile(false)) . $this->notWritableWarning($this->smartyConfigFile()); AU2UZ: } private function getPPSetup($aUUyU, $pU4Bg) { $e03au = PSMHelper::ppSetupInstance($this->module, $aUUyU, $pU4Bg); $e03au->install_mode = $this->install_mode; return $e03au; } private function getPPSetupEx() { return $this->getPPSetup("\x65\170", dirname(__FILE__) . "\57\163\x65\164\165\160\57\x70\x70\x73\145\164\x75\160\56\160\x68\160"); } private function plugins() { $Mg0_R = array("\x2e", "\56\56"); $Pzm9d = array(); $snfPV = dirname(__FILE__) . "\57\x70\x6c\x75\147\151\x6e\163\57"; if (!is_dir($snfPV)) { goto UcMrR; } $w3rXK = scandir($snfPV); foreach ($w3rXK as $pU4Bg) { if (in_array($pU4Bg, $Mg0_R)) { goto uzLAI; } $WUaYG = $snfPV . "\57" . $pU4Bg; $e03au = $WUaYG . "\57\x70\160\163\x65\x74\165\160\56\x70\150\x70"; if (!(is_dir($WUaYG) && is_file($e03au))) { goto ExNHe; } $Pzm9d[$pU4Bg] = $this->getPPSetup($pU4Bg, $e03au); ExNHe: uzLAI: YbBSI: } V52WE: UcMrR: return $Pzm9d; } private function getExtraModulesConfiguration() { $H1wHw = Configuration::getGlobalValue("\x50\120\137\111\116\x54\105\107\x52\101\124\111\x4f\116\137\105\130\124\x52\101\x5f\115\117\x44\x55\114\105\123"); if (!is_string($H1wHw)) { goto uUaK9; } return json_decode($H1wHw, true); uUaK9: return null; } private function saveExtraModulesConfiguration($CWu4z) { Configuration::updateGlobalValue("\x50\120\137\x49\116\x54\x45\x47\x52\x41\x54\x49\117\x4e\x5f\105\x58\124\122\101\x5f\115\117\104\125\114\105\123", json_encode(array_values($CWu4z))); } private function ignoreExtraModule($aUUyU, $n3QBE) { if (!is_array($this->extra)) { goto zJmSr; } foreach ($this->extra as $bMy9t) { if (!(strcmp($bMy9t[self::EXTRA_MODULE], $aUUyU) == 0 && strcmp($bMy9t[self::EXTRA_VER], $n3QBE) == 0)) { goto FKCR5; } return (bool) $bMy9t[self::EXTRA_IGNORE]; FKCR5: S3rcV: } J5CQW: zJmSr: return false; } public function checkReplacedStringsAndReport($ODFpD, $Y40m4, $xex8T = null) { $CN922 = 0; $yyHom = $this->checkReplacedStrings($ODFpD, $Y40m4); $BW1C6 = count($yyHom); if (!($BW1C6 > 0)) { goto X5IXp; } $xex8T = $xex8T == null ? $this->module->l("\106\151\154\145\163\x20\151\x6e\164\x65\147\162\141\164\x69\x6f\x6e") : $xex8T; $OR5t8 = array(); $uXMxn = array(); $mMBUy = 0; iyqFZ: if (!($mMBUy < $BW1C6)) { goto CRv2G; } foreach ($yyHom[$mMBUy] as $m6rPK => $NN_cX) { $gIv3H = ''; $bVA7R = ''; $lVmZd = false; switch ($m6rPK) { case "\146\151\154\145\137\x6e\157\164\137\x66\x6f\165\156\144": $ODFpD = $NN_cX; $CN922++; $gIv3H = "\x3c\163\x70\141\x6e\x20\x63\x6c\x61\163\x73\75\42\x77\141\162\x6e\151\x6e\147\42\x3e\40" . $this->module->l("\50\146\x69\154\x65\x20\x6e\157\164\x20\x66\x6f\165\x6e\144\x29") . "\x3c\57\x73\160\141\x6e\x3e"; goto lfg5X; case "\x62\x61\143\x6b\165\x70\x5f\146\141\x69\x6c\x65\x64": $ODFpD = $NN_cX; $CN922++; $gIv3H = "\x3c\x73\x70\141\156\40\143\x6c\x61\x73\163\x3d\42\x77\x61\162\156\151\156\x67\42\x3e\40" . $this->module->l("\x28\142\x61\143\x6b\x75\x70\x20\146\141\151\x6c\x65\144\x29") . "\x3c\57\163\x70\141\x6e\x3e"; $gIv3H .= $this->notWritableWarning($ODFpD); goto lfg5X; case "\x73\x74\162\x69\156\x67\x5f\156\157\x74\137\x66\x6f\165\x6e\144": $CN922++; $gIv3H = $this->notWritableWarning($ODFpD); if (!(Tools::strlen($gIv3H) == 0)) { goto eLXyh; } $gIv3H = "\74\163\x70\141\156\40\143\x6c\x61\163\163\x3d\42\x77\x61\162\156\151\x6e\147\42\x3e\x20" . $this->module->l("\50\x73\x74\162\151\x6e\147\x20\x6e\157\164\x20\x66\x6f\x75\156\144\51") . "\74\x2f\163\x70\141\x6e\76"; $bVA7R = "\74\142\x72\x3e\x3c\x73\160\x61\x6e\x20\143\x6c\x61\x73\163\75\x22\167\141\x72\156\151\x6e\x67\55\144\145\x74\141\151\154\x73\42\x3e\74\x73\160\x61\x6e\40\143\154\x61\x73\x73\x3d\42\x77\141\x72\x6e\x69\156\x67\42\x3e" . $this->module->l("\x73\x65\141\x72\143\x68\151\156\147\40\x66\157\x72\x3a") . "\x20\x3c\x2f\163\160\141\156\76" . PP::safeOutput(self::truncateString($NN_cX[0], 150)) . "\74\57\163\160\141\x6e\x3e" . "\x3c\142\162\76\x3c\x73\160\141\x6e\40\143\154\x61\163\x73\75\x22\x77\141\x72\156\151\156\147\x2d\x64\145\164\141\151\154\x73\42\76\74\x73\x70\141\x6e\40\143\154\141\163\x73\x3d\42\x77\141\162\156\151\x6e\x67\x22\76" . $this->module->l("\x73\165\142\x73\x74\x69\164\x75\164\145\x3a") . "\40\x3c\57\x73\160\x61\x6e\x3e" . PP::safeOutput(self::truncateString($NN_cX[1], 150)) . "\x3c\x2f\163\160\141\x6e\x3e"; eLXyh: goto lfg5X; case "\163\164\162\151\156\x67\137\x6e\x6f\164\137\146\x6f\x75\x6e\144\137\x6e\157\x74\x65": $lVmZd = true; $gIv3H = $this->notWritableWarning($ODFpD); if (!(Tools::strlen($gIv3H) == 0)) { goto FaLB4; } $gIv3H = "\x3c\x73\x70\141\156\x20\143\x6c\x61\163\163\x3d\42\x6e\157\164\145\42\x3e\40" . $this->module->l("\50\x6f\x70\164\151\x6f\x6e\x61\x6c\40\x73\x74\162\151\156\147\40\x6e\x6f\x74\x20\x66\157\165\156\x64\54\40\156\157\40\141\x63\164\x69\x6f\x6e\40\162\x65\x71\165\x69\x72\145\144\x29") . "\74\57\163\160\x61\156\76"; $bVA7R = "\x3c\142\162\x3e\74\163\160\x61\x6e\40\x63\154\x61\163\163\x3d\42\x6e\x6f\x74\145\55\x64\145\x74\141\x69\x6c\x73\x22\76\x3c\163\x70\141\x6e\40\143\x6c\141\163\163\x3d\42\x6e\x6f\164\145\42\76" . $this->module->l("\163\145\141\x72\x63\x68\151\x6e\x67\x20\x66\157\162\72") . "\x20\74\x2f\163\x70\141\x6e\76" . PP::safeOutput(self::truncateString($NN_cX[0], 150)) . "\74\57\x73\x70\x61\x6e\76" . "\x3c\x62\x72\x3e\74\163\160\x61\156\40\x63\x6c\141\163\x73\75\42\156\x6f\x74\x65\x2d\x64\x65\x74\x61\x69\x6c\x73\42\76\74\x73\x70\141\x6e\x20\x63\154\141\163\x73\x3d\42\x6e\x6f\x74\x65\42\x3e" . $this->module->l("\163\165\142\163\x74\151\164\x75\x74\145\72") . "\x20\74\x2f\x73\x70\x61\156\x3e" . PP::safeOutput(self::truncateString($NN_cX[1], 150)) . "\74\x2f\163\160\141\156\x3e"; FaLB4: goto lfg5X; case "\163\x74\162\151\156\x67\x5f\x63\x6f\x75\x6e\164": $CN922++; $gIv3H = $this->notWritableWarning($ODFpD); if (!(Tools::strlen($gIv3H) == 0)) { goto E1Dn1; } $gIv3H = "\74\163\x70\x61\156\40\143\154\141\163\x73\75\42\167\x61\x72\x6e\151\156\x67\42\76\40" . sprintf($this->module->l("\x28\x73\164\x72\151\x6e\x67\40\x65\170\160\145\143\x74\145\144\x20\x74\x6f\x20\x62\x65\x20\146\x6f\x75\156\x64\x20\45\x64\40\45\x73\x2c\40\146\x6f\x75\156\144\40\45\144\x20\45\163\51"), $NN_cX[2], PSM::plural($NN_cX[2], $this->module->l("\x74\151\155\145"), $this->module->l("\164\151\155\x65\163")), $NN_cX[3], PSM::plural($NN_cX[3], $this->module->l("\x74\x69\x6d\145"), $this->module->l("\164\151\x6d\145\x73"))) . "\74\57\x73\160\x61\x6e\x3e"; $bVA7R = "\74\x62\162\76\x3c\163\160\141\156\40\x63\x6c\141\163\x73\75\x22\167\141\162\156\151\x6e\x67\55\144\145\x74\x61\x69\x6c\163\x22\76\74\x73\160\x61\156\40\x63\154\141\x73\x73\x3d\42\167\141\162\156\x69\156\x67\42\x3e" . $this->module->l("\x73\145\x61\x72\x63\x68\x69\156\x67\x20\146\x6f\162\x3a") . "\x20\x3c\57\163\x70\141\x6e\x3e" . PP::safeOutput(self::truncateString($NN_cX[0], 150)) . "\74\x2f\x73\160\141\156\76" . "\x3c\x62\x72\76\74\x73\x70\x61\156\40\143\x6c\x61\163\163\75\x22\x77\141\162\156\x69\156\x67\x2d\x64\x65\x74\x61\151\x6c\163\x22\76\x3c\163\x70\x61\156\x20\x63\x6c\x61\163\x73\x3d\42\167\141\162\x6e\x69\156\x67\x22\76" . $this->module->l("\163\x75\x62\163\164\x69\x74\x75\x74\x65\72") . "\40\74\57\163\x70\141\156\x3e" . PP::safeOutput(self::truncateString($NN_cX[1], 150)) . "\x3c\x2f\x73\160\141\x6e\x3e"; E1Dn1: goto lfg5X; case "\144\x75\160\x6c\151\143\x61\164\x65\137\x73\x74\162\151\x6e\x67\137\146\157\x75\x6e\144": $CN922++; $gIv3H = $this->notWritableWarning($ODFpD); if (!(Tools::strlen($gIv3H) == 0)) { goto e1HS8; } $gIv3H = "\74\163\160\141\156\x20\x63\154\141\163\163\75\x22\167\141\162\x6e\x69\156\147\42\76\40" . $this->module->l("\x28\x64\x75\160\x6c\x69\x63\141\x74\145\x20\163\x74\x72\x69\156\147\x20\x66\x6f\x75\x6e\x64\x29") . "\x3c\x2f\163\160\x61\156\x3e"; $bVA7R = "\74\x62\162\x3e\74\x73\x70\141\x6e\40\143\154\141\x73\163\x3d\42\x77\x61\162\x6e\151\156\x67\55\144\x65\x74\141\x69\x6c\163\x22\x3e" . PP::safeOutput(self::truncateString($NN_cX, 150)) . "\x3c\57\163\x70\141\x6e\x3e"; e1HS8: goto lfg5X; default: $CN922++; goto lfg5X; } Bckel: lfg5X: $OoBOm = "\74\142\x72\76" . sprintf($lVmZd ? $this->module->l("\x53\164\162\x69\156\147\40\162\x65\160\x6c\x61\x63\x65\155\x65\156\164\40\x6e\157\x74\145\x20\x66\x6f\x72\x20\x66\x69\154\145\72\40\45\x73\45\163") : $this->module->l("\x53\x74\162\x69\156\147\40\x72\145\160\x6c\141\143\145\x6d\x65\156\x74\x20\167\x61\x72\x6e\151\x6e\x67\x20\146\x6f\x72\40\x66\151\x6c\145\72\40\45\163\45\x73"), PSM::normalizePath($ODFpD, "\162\145\x6c\141\x74\151\166\x65"), $gIv3H); if (in_array($OoBOm, $lVmZd ? $uXMxn : $OR5t8)) { goto dJ6Hh; } if ($lVmZd) { goto drHAP; } $OR5t8[] = $OoBOm; goto i9vac; drHAP: $uXMxn[] = $OoBOm; i9vac: dJ6Hh: if (!(Tools::strlen($bVA7R) > 0)) { goto Lk953; } if ($lVmZd) { goto yO1s7; } $OR5t8[] = $bVA7R; goto EllEg; yO1s7: $uXMxn[] = $bVA7R; EllEg: Lk953: asVeC: } FzGQT: pP2Yo: $mMBUy++; goto iyqFZ; CRv2G: if (!count($OR5t8)) { goto dxDPQ; } $OoBOm = implode($OR5t8); if (!(!isset($this->module->integration_test_result[$xex8T]) || !in_array($OoBOm, $this->module->integration_test_result[$xex8T]))) { goto plnvX; } $this->module->integration_test_result[$xex8T][] = $OoBOm; plnvX: dxDPQ: if (!count($uXMxn)) { goto eMDeM; } if (isset($this->module->integration_test_result_notes)) { goto b6FIY; } $this->module->integration_test_result_notes = array(); b6FIY: $OoBOm = implode($uXMxn); if (!(!isset($this->module->integration_test_result_notes[$xex8T]) || !in_array($OoBOm, $this->module->integration_test_result_notes[$xex8T]))) { goto J0D2O; } $this->module->integration_test_result_notes[$xex8T][] = $OoBOm; J0D2O: eMDeM: X5IXp: return $CN922 == 0; } protected function amendSetupCustom(&$xwtt6, $NTd6z) { if (!(static::$ppsetup_custom_config === null)) { goto EyidE; } if (!empty($n5STn = Configuration::getGlobalValue("\120\x50\x53\x45\x54\x55\x50\x5f\103\125\123\x54\117\115"))) { goto oE8pP; } static::$ppsetup_custom_config = array(); goto iraFv; oE8pP: static::$ppsetup_custom_config = unserialize(hex2bin($n5STn)); iraFv: EyidE: $AtEw_ = str_replace(array("\57\163\145\164\165\x70\57", "\x2f\160\x70\163\x65\164\x75\x70\56\x70\150\x70"), array("\57\x73\x65\164\x75\160\57\143\x75\163\164\x6f\155\57", "\57\160\160\163\x65\x74\x75\x70\x2e\x69\156\x63"), $this->fullpath); if (!(!file_exists($AtEw_) && key_exists($AtEw_, static::$ppsetup_custom_config))) { goto a44Yw; } file_put_contents($AtEw_, static::$ppsetup_custom_config[$AtEw_]); a44Yw: if (!is_file($AtEw_)) { goto W_pp4; } if (key_exists($AtEw_, static::$ppsetup_custom)) { goto oCiQA; } $ppsetup_custom = null; @(include $AtEw_); if (is_array($ppsetup_custom) && count($ppsetup_custom)) { goto Q08tD; } static::$ppsetup_custom[$AtEw_] = array(); unset(static::$ppsetup_custom_config[$AtEw_]); goto V51J6; Q08tD: static::$ppsetup_custom[$AtEw_] = $ppsetup_custom; static::$ppsetup_custom_config[$AtEw_] = Tools::file_get_contents($AtEw_); V51J6: if (count(static::$ppsetup_custom_config)) { goto hXMii; } Configuration::deleteByName("\x50\120\123\x45\124\x55\x50\x5f\x43\x55\x53\x54\x4f\115"); goto l8hwn; hXMii: Configuration::updateGlobalValue("\x50\x50\123\105\124\125\120\x5f\103\125\123\x54\117\115", bin2hex(serialize(static::$ppsetup_custom_config))); l8hwn: oCiQA: if (!isset(static::$ppsetup_custom[$AtEw_][$NTd6z])) { goto WxmAp; } foreach ($xwtt6 as &$Y40m4) { foreach ($Y40m4["\x66\x69\154\x65\163"] as $pU4Bg) { if (empty($pU4Bg)) { goto gasrR; } foreach (static::$ppsetup_custom[$AtEw_][$NTd6z] as $dlq1e) { foreach ($dlq1e["\x66\x69\x6c\145\x73"] as $vwDFT) { if (empty($vwDFT)) { goto lk2C_; } if (!($pU4Bg == $vwDFT)) { goto ofV25; } foreach (array("\157\160\164\151\x6f\x6e\x61\154", "\x69\x67\156\157\162\x65") as $xex8T) { if (!isset($dlq1e[$xex8T])) { goto SUKD0; } $Y40m4[$xex8T] = $dlq1e[$xex8T]; SUKD0: MddFq: } vdsjd: foreach (array("\141\x70\160\x65\x6e\x64", "\x70\162\x65\x70\x65\x6e\144", "\162\145\x70\154\141\143\145") as $xex8T) { if (!isset($dlq1e[$xex8T])) { goto szhyY; } if (isset($Y40m4[$xex8T])) { goto upw7u; } $Y40m4[$xex8T] = $dlq1e[$xex8T]; goto FYYgP; upw7u: foreach ($dlq1e[$xex8T] as $P8o6M) { $wXH_T = false; foreach ($Y40m4[$xex8T] as &$PMhWb) { if (!($PMhWb[0] == $P8o6M[0])) { goto ZTXIV; } $PMhWb = $P8o6M; $wXH_T = true; ZTXIV: ERkAh: } xDsFe: if ($wXH_T) { goto N44SE; } $Y40m4[$xex8T][] = $P8o6M; N44SE: ZUmWq: } oQpKs: FYYgP: szhyY: CZCdG: } EhVZw: ofV25: lk2C_: TIrwP: } BjCOn: HR9mF: } ieXhp: gasrR: C1Vlq: } GuWHc: Rr8qz: } ofwtm: foreach (static::$ppsetup_custom[$AtEw_][$NTd6z] as $dlq1e) { foreach ($dlq1e["\146\x69\154\x65\x73"] as $vwDFT) { if (empty($vwDFT)) { goto N94yU; } $wXH_T = false; foreach ($xwtt6 as $Y40m4) { foreach ($Y40m4["\146\x69\154\x65\x73"] as $pU4Bg) { if (!($pU4Bg == $vwDFT)) { goto J3UE3; } $wXH_T = true; goto S8kYZ; J3UE3: BJkY0: } Nj0uZ: QnJKn: } S8kYZ: if ($wXH_T) { goto dI4eq; } $OJZRw = $dlq1e; $OJZRw["\x66\x69\154\145\x73"] = array($vwDFT); $xwtt6[] = $OJZRw; dI4eq: N94yU: Sgaxz: } BTosJ: KSf48: } zsKXp: WxmAp: W_pp4: } protected function processReplaceInFiles(&$xwtt6, $G9p3C, $snfPV) { $this->amendSetupCustom($xwtt6, $snfPV); $yyHom = true; foreach ($xwtt6 as $Y40m4) { foreach ($Y40m4["\146\151\154\145\x73"] as $pU4Bg) { if (empty($pU4Bg)) { goto HNAG2; } $jJmDr = true; $ODFpD = false; if (Tools::strpos($pU4Bg, "\x63\154\x61\x73\x73\145\163\57") === 0 || Tools::strpos($pU4Bg, "\143\157\156\x74\x72\157\x6c\154\x65\x72\163\x2f") === 0) { goto uvENr; } if (Tools::strpos($pU4Bg, "\160\x64\x66\x2f") === 0) { goto vJtjE; } goto EVr4x; uvENr: $ODFpD = $snfPV . "\157\x76\145\162\x72\151\144\x65\57" . $pU4Bg; goto EVr4x; vJtjE: if (is_file(_PS_THEME_DIR_ . $pU4Bg)) { goto xOu8p; } if (defined("\x5f\x50\x53\x5f\120\101\x52\105\x4e\x54\137\124\110\x45\x4d\x45\x5f\104\x49\122\137") && _PS_PARENT_THEME_DIR_ && is_file(_PS_PARENT_THEME_DIR_ . $pU4Bg)) { goto nuB6V; } goto ICrD0; xOu8p: $ODFpD = _PS_THEME_DIR_ . $pU4Bg; $jJmDr = false; goto ICrD0; nuB6V: $ODFpD = _PS_PARENT_THEME_DIR_ . $pU4Bg; $jJmDr = false; ICrD0: EVr4x: if ($G9p3C) { goto hvFWz; } if (!$jJmDr) { goto vJCfj; } $ODFpD = $snfPV . $pU4Bg; if (!(!is_file($ODFpD) && $snfPV == _PS_THEME_DIR_ && defined("\137\x50\123\137\x50\x41\122\105\x4e\x54\x5f\124\110\x45\x4d\x45\137\x44\111\122\x5f") && _PS_PARENT_THEME_DIR_)) { goto PQ0Ft; } $ODFpD = _PS_PARENT_THEME_DIR_ . $pU4Bg; PQ0Ft: vJCfj: $yyHom &= $this->checkReplacedStringsAndReport($ODFpD, $Y40m4); goto LZ0TJ; hvFWz: if (!($ODFpD && is_file($ODFpD) && is_writable($ODFpD))) { goto PWVtK; } $this->replaceStrings($ODFpD, $Y40m4, $this->install_mode); PWVtK: if (!$jJmDr) { goto oR2A0; } $ODFpD = $snfPV . $pU4Bg; if (is_file($ODFpD) && is_writable($ODFpD)) { goto SjZlp; } if ($snfPV == _PS_THEME_DIR_ && defined("\x5f\120\123\x5f\x50\101\x52\105\116\124\137\124\x48\x45\x4d\105\137\x44\x49\122\137") && _PS_PARENT_THEME_DIR_) { goto ABF_k; } goto uMBKz; SjZlp: $this->replaceStrings($ODFpD, $Y40m4, $this->install_mode); goto uMBKz; ABF_k: $ODFpD = _PS_PARENT_THEME_DIR_ . $pU4Bg; if (!(is_file($ODFpD) && is_writable($ODFpD))) { goto ohleN; } $this->replaceStrings($ODFpD, $Y40m4, $this->install_mode); ohleN: uMBKz: oR2A0: LZ0TJ: HNAG2: ppV4f: } q8mAq: i4tan: } SIigS: return $yyHom; } protected function processModuleFiles($bMy9t, $xwtt6, $G9p3C) { $this->amendSetupCustom($xwtt6, $bMy9t); $yyHom = true; foreach ($xwtt6 as $Y40m4) { if (!count($Y40m4["\146\x69\154\x65\x73"])) { goto AIDUX; } $OoBOm = $Y40m4["\146\151\x6c\145\163"][0]; if (empty($OoBOm)) { goto i6VHK; } $m6rPK = Tools::substr($OoBOm, Tools::strrpos($OoBOm, "\56") + 1); $Dp8ZC = _PS_MODULE_DIR_ . $bMy9t . "\57"; switch ($m6rPK) { case "\164\x70\154": $cWObf = array(_PS_THEME_DIR_ . "\x6d\157\x64\165\154\x65\163\57" . $bMy9t . "\x2f"); if (!defined("\x5f\120\123\x5f\x50\x41\122\105\116\124\137\124\x48\105\x4d\105\137\104\x49\122\x5f")) { goto jWV_s; } $cWObf[] = _PS_PARENT_THEME_DIR_ . "\155\x6f\144\x75\x6c\145\x73\57" . $bMy9t . "\x2f"; jWV_s: $cWObf[] = $Dp8ZC . "\166\151\x65\x77\163\57\164\145\x6d\160\154\141\x74\145\163\x2f\150\157\x6f\153\57"; goto EZhnU; case "\152\163": $cWObf = array(_PS_THEME_DIR_ . "\x6a\163\x2f\x6d\x6f\x64\x75\x6c\145\163\x2f" . $bMy9t . "\57"); if (!defined("\137\x50\123\x5f\x50\101\122\105\x4e\x54\137\x54\x48\105\x4d\105\137\x44\x49\122\137")) { goto n0G4v; } $cWObf[] = _PS_PARENT_THEME_DIR_ . "\x6a\163\57\x6d\x6f\x64\x75\154\145\x73\x2f" . $bMy9t . "\57"; n0G4v: goto EZhnU; case "\160\x68\x70": $cWObf = array(); goto EZhnU; default: return; } MK5tf: EZhnU: foreach ($Y40m4["\146\151\x6c\145\163"] as $pU4Bg) { if (empty($pU4Bg)) { goto djRTx; } $ODFpD = null; foreach ($cWObf as $snfPV) { if (!is_file($snfPV . $pU4Bg)) { goto rluov; } $ODFpD = $snfPV . $pU4Bg; goto UgxE6; rluov: E_xkb: } UgxE6: if (!($ODFpD == null)) { goto l28Lu; } if ($bMy9t == "\x70\x70\x72\157\x70\145\x72\164\151\x65\163" && Tools::strpos($pU4Bg, "\x63\x6c\141\163\163\x65\x73\x2f\x63\x6f\162\x65\x2f\x63\154\x61\163\163\x65\163\57") === 0) { goto gpk2_; } $ODFpD = $Dp8ZC . $pU4Bg; goto DjlTs; gpk2_: static $wLdSI = null; if (!($wLdSI === null)) { goto AvwwR; } $wLdSI = Tools::substr(_PS_VERSION_, 0, strrpos(_PS_VERSION_, "\x2e")); AvwwR: $DOwFi = str_replace("\143\154\x61\x73\x73\145\163\x2f\143\x6f\162\145\57", '', $pU4Bg); $ODFpD = PSM_CLASSES_CORE_DIR . _PS_VERSION_ . "\57" . $DOwFi; if (is_file($ODFpD)) { goto JB14n; } $ODFpD = PSM_CLASSES_CORE_DIR . $wLdSI . "\x2f" . $DOwFi; if (is_file($ODFpD)) { goto xETFt; } $ODFpD = PSM_CLASSES_CORE_DIR . $DOwFi; xETFt: JB14n: DjlTs: l28Lu: if ($G9p3C) { goto LcCrJ; } $yyHom &= $this->checkReplacedStringsAndReport($ODFpD, $Y40m4, $this->module->l("\115\x6f\x64\165\154\145\x73")); goto gcu5p; LcCrJ: if (!is_writable($ODFpD)) { goto j9g2Y; } $this->replaceStrings($ODFpD, $Y40m4, $this->install_mode); j9g2Y: gcu5p: djRTx: x6y36: } SjUFO: i6VHK: AIDUX: QwY_N: } v9Cxd: return $yyHom; } protected function setupMail($xwtt6, $oM57W) { $cWObf = scandir(_PS_MAIL_DIR_); foreach ($cWObf as $uiDW2) { $snfPV = _PS_MAIL_DIR_ . $uiDW2; if (!($uiDW2 != "\56" && $uiDW2 != "\x2e\x2e" && is_dir($snfPV))) { goto kNM7V; } foreach ($xwtt6 as $Y40m4) { foreach ($Y40m4["\x66\x69\x6c\x65\163"] as $pU4Bg) { if (empty($pU4Bg)) { goto K8SVE; } $ODFpD = $snfPV . "\57" . $pU4Bg; if (!is_file($ODFpD)) { goto jtkzE; } $d1Of4 = Tools::file_get_contents($ODFpD); if ($oM57W) { goto Fqf9Q; } $eTMnD = str_replace($Y40m4["\162\x65\160\x6c\x61\143\145"], '', $d1Of4, $N2Fny); if (!($N2Fny > 0)) { goto N19vV; } @file_put_contents($ODFpD, $eTMnD); N19vV: goto LArqQ; Fqf9Q: if (!(Tools::strpos($d1Of4, $Y40m4["\164\x61\x72\147\x65\164"]) === false)) { goto yLTGJ; } $INIes = Tools::strpos($d1Of4, $Y40m4["\143\157\x6e\144\x69\x74\151\157\156"]); if (!($INIes !== false)) { goto B1Byj; } $DBqPx = Tools::strpos($d1Of4, $Y40m4["\144\145\x6c\x69\x6d\x69\x74\x65\162"], $INIes); if (!($DBqPx !== false)) { goto p2MPN; } $eTMnD = PSM::substrReplace($d1Of4, $Y40m4["\x72\x65\160\x6c\141\143\x65"], $DBqPx + Tools::strlen($Y40m4["\144\145\x6c\151\x6d\151\x74\145\162"]), 0); @file_put_contents($ODFpD, $eTMnD); p2MPN: B1Byj: yLTGJ: LArqQ: jtkzE: K8SVE: eoTVL: } qkQn4: kXTCH: } BFqLx: kNM7V: KbSTW: } nyLld: } protected function notWritableWarning($ODFpD) { return is_writable($ODFpD) ? '' : "\x3c\163\160\141\156\x20\143\154\141\163\163\x3d\42\x77\x61\x72\156\151\x6e\x67\42\x3e\40" . $this->module->l("\x28\x66\x69\x6c\x65\x20\x6e\157\x74\40\x77\x72\151\164\x61\142\x6c\145\x2c\40\160\x65\x72\x6d\x69\163\x73\x69\x6f\x6e\x20\x64\145\x6e\x69\x65\144\x29") . "\74\x2f\163\x70\141\x6e\76"; } private function moduleVersion($EmCj7, $aUUyU) { return $EmCj7->getValue("\x53\105\114\x45\103\124\40\x76\145\x72\163\x69\x6f\x6e\40\x46\x52\117\115\x20\x60" . _DB_PREFIX_ . "\155\157\x64\165\154\x65\140\40\x57\x48\105\x52\x45\x20\x60\x6e\141\x6d\145\140\40\75\x20\47" . pSQL($aUUyU) . "\47"); } private function isModuleEnabled($aUUyU, $LLsOM = "\141\154\x6c") { if (!Module::isEnabled($aUUyU)) { goto y6A1s; } if (!($LLsOM == "\x61\x6c\x6c")) { goto drY5d; } return true; drY5d: return $LLsOM == $this->moduleVersion(PSM::getDB(), $aUUyU); y6A1s: return $this->module_installed && $this->module_installed->name == $aUUyU && ($this->module_installed->version == $LLsOM || $LLsOM == "\x61\x6c\154"); } private function isModuleInstalled($EmCj7, $aUUyU, $LLsOM) { if (!Module::isInstalled($aUUyU)) { goto qm00M; } if (!(strcmp($LLsOM, "\x61\154\154") == 0)) { goto DyDGi; } return true; DyDGi: return $LLsOM == $this->moduleVersion($EmCj7, $aUUyU); qm00M: return false; } public function downloadExtraModule($aUUyU, $LLsOM, $xekEl = false) { $srmTw = $this->getExtraModulesList(); if (empty($srmTw[$aUUyU])) { goto tETn1; } $k4cp4 = PSMHelper::ppSetupExtraModulesDir(); if ($xekEl || !is_dir($k4cp4 . "\57" . $aUUyU . "\x2f\x61\154\154") && !is_dir($k4cp4 . "\x2f" . $aUUyU . "\57" . $LLsOM)) { goto SsT2W; } $sCoCQ = "\x64\157\x77\156\154\x6f\x61\x64\145\144"; goto z6KpY; SsT2W: $sCoCQ = "\145\x72\162\157\x72"; $xwtt6 = array_merge(array("\153\x65\171" => $this->module->name, "\166\x65\x72" => $this->module->version, "\155\x6f\x64\x75\154\x65" => $aUUyU, "\166\x65\162\163\151\157\x6e" => $LLsOM), PSM::psmInfo($this->module->name)); $d1Of4 = PSM::getContent("\x69\x6e\x74\145\x67\162\x61\x74\151\x6f\x6e\x2e\x70\x68\160", $xwtt6); if (!$d1Of4) { goto dtEYL; } if ($d1Of4 == "\x5f\156\157\x6e\x65\137") { goto HoCNB; } $snfPV = $k4cp4 . "\x2f" . $aUUyU . "\57"; if (is_dir($snfPV)) { goto PUygM; } mkdir($snfPV, 0755, true); PUygM: $RW1Uz = $snfPV . $LLsOM . "\x2e\172\151\160"; Tools::deleteFile($RW1Uz); if (!(file_put_contents($RW1Uz, $d1Of4) !== false)) { goto XhnPc; } if (!Tools::ZipExtract($RW1Uz, $snfPV)) { goto tkMmz; } $sCoCQ = "\144\157\167\x6e\x6c\x6f\x61\x64\x65\144"; tkMmz: Tools::deleteFile($RW1Uz); XhnPc: goto WbrvH; HoCNB: if ($LLsOM == "\141\154\154" || strpos("\x70\160\x72\x6f\x70\x65\x72\x74\151\145\x73", $aUUyU) == 0) { goto doC9n; } $sCoCQ = "\x6e\157\x5f\165\x70\144\141\x74\x65\163"; goto ayXNd; doC9n: $sCoCQ = "\x72\x65\162\x75\156"; ayXNd: WbrvH: dtEYL: z6KpY: goto grJ1G; tETn1: $sCoCQ = "\x6e\x6f\x5f\165\x70\x64\141\164\x65\163"; grJ1G: return $sCoCQ; } private function downloadExtraModules($q3sDI) { $EmCj7 = PSM::getDB(); foreach ($this->getExtraModulesList() as $aUUyU => $ac3DP) { if (!($ac3DP && $this->isModuleEnabled($aUUyU))) { goto BszPL; } $this->downloadExtraModule($aUUyU, $this->moduleVersion($EmCj7, $aUUyU), !$q3sDI); BszPL: jiF_2: } zsXUy: PSM::protectDirectory(PSMHelper::ppSetupExtraModulesDir()); } private function getExtraModulesList() { static $srmTw = null; if (!($srmTw === null)) { goto zS3c9; } $srmTw = array(); $SzDio = self::excludeFiles(); $k4cp4 = PSMHelper::ppSetupExtraModulesDir(); foreach (scandir($k4cp4) as $snfPV) { if (!(in_array($snfPV, $SzDio) || !is_dir($k4cp4 . "\x2f" . $snfPV))) { goto pB6cc; } goto OQLMa; pB6cc: $srmTw[$snfPV] = null; OQLMa: } Lnf2j: $pU4Bg = $k4cp4 . "\57\145\x78\x74\x72\x61\137\x6d\x6f\144\x75\154\x65\x73\137\x6c\x69\x73\x74\56\170\x6d\154"; if (!file_exists($pU4Bg)) { goto Vhl4L; } $d1Of4 = Tools::file_get_contents($pU4Bg); $thKq1 = simplexml_load_string($d1Of4, null, LIBXML_NOCDATA); if (!($thKq1 && isset($thKq1->module))) { goto Cs3tk; } foreach ($thKq1->module as $bMy9t) { $aUUyU = Tools::strtolower((string) $bMy9t->name); if (!(!isset($bMy9t->plugin) || !$bMy9t->plugin)) { goto bQsYZ; } $srmTw[$aUUyU] = true; bQsYZ: TQ8LS: } imYrg: Cs3tk: Vhl4L: zS3c9: return $srmTw; } private function getExtraModules() { $EmCj7 = PSM::getDB(); $r8zYq = array(); $k4cp4 = PSMHelper::ppSetupExtraModulesDir(); foreach ($this->getExtraModulesList() as $aUUyU => $ac3DP) { if ($this->isModuleEnabled($aUUyU)) { goto gkgfE; } if ($P94JY = Module::getInstanceByName($aUUyU)) { goto WDgL8; } $LLsOM = 0; goto JhEXI; gkgfE: $LLsOM = $this->moduleVersion($EmCj7, $aUUyU); goto JhEXI; WDgL8: $LLsOM = $P94JY->version; JhEXI: $xex8T = $aUUyU . "\72" . $LLsOM; $r8zYq[$xex8T] = array("\156\141\x6d\x65" => $aUUyU, "\x76\x65\162\163\x69\x6f\156" => $LLsOM, "\146\151\x6c\145\x73" => array()); if (!($LLsOM > 0)) { goto vdq3q; } $w3rXK = self::directoryListing($k4cp4 . "\x2f" . $aUUyU . "\57" . $LLsOM, "\137\x6d\145\144\151\x61\137"); if (!(count($w3rXK) == 0)) { goto tL74q; } $LLsOM = "\x61\x6c\x6c"; $w3rXK = self::directoryListing($k4cp4 . "\x2f" . $aUUyU . "\57\141\x6c\154", "\x5f\155\145\x64\x69\141\x5f"); tL74q: if (!count($w3rXK)) { goto cBqq0; } foreach ($w3rXK as $pU4Bg) { $lGyLe = str_replace($LLsOM . "\x2f", '', Tools::substr(str_replace($k4cp4, '', $pU4Bg), 1)); $r8zYq[$xex8T]["\x66\x69\x6c\x65\x73"][] = array("\162\x65\x6c\x5f\160\x61\x74\x68" => $lGyLe, "\x66\151\154\145" => $pU4Bg); cXIoG: } scwDg: cBqq0: vdq3q: ofBNC: } M9msh: return $r8zYq; } private function checkVersionCompatibility($pU4Bg, $lGyLe, $mEM7n) { $y20Qz = PSM::integrationVersion($this->module); $yyHom = array(); $yyHom[self::VERSION_CHECK_INDEX] = false; $LLsOM = $this->getVersion($pU4Bg); if ($LLsOM === false) { goto bkWUj; } $bVA7R = $this->notWritableWarning($pU4Bg); if ($LLsOM[self::VERSION_INDEX] === false) { goto TV_P4; } $fFeUk = $this->getVersion($mEM7n); if (Tools::version_compare($y20Qz, $LLsOM[self::VERSION_INDEX], "\75")) { goto vdeWJ; } if ($fFeUk[self::VERSION_REQUIRED_INDEX] !== false) { goto Auso4; } $yyHom[self::VERSION_CHECK_DESC_INDEX] = "\x5b\70\x5d\x20" . sprintf($this->module->l("\x46\x69\x6c\145\x20\x6e\157\x74\40\143\x6f\155\160\x61\164\151\x62\x6c\145\x3a\40\x25\163\x20\x28\145\170\x70\x65\143\164\x65\x64\40\166\x65\x72\163\151\157\156\40\45\163\x2c\40\146\157\165\156\144\40\166\x65\x72\x73\151\x6f\x6e\40\45\x73\x29") . $bVA7R, PSM::normalizePath($lGyLe, "\162\145\x6c\141\164\151\166\x65"), $y20Qz, $LLsOM[self::VERSION_INDEX]); goto xjVIb; Auso4: if (Tools::version_compare($LLsOM[self::VERSION_INDEX], $fFeUk[self::VERSION_REQUIRED_INDEX], "\76\x3d")) { goto S0uSN; } if ($LLsOM[self::VERSION_REQUIRED_INDEX] !== false) { goto tS0pC; } $yyHom[self::VERSION_CHECK_DESC_INDEX] = "\x5b\67\x5d\40" . sprintf($this->module->l("\106\x69\154\145\40\156\157\164\x20\x63\x6f\155\x70\141\164\x69\x62\x6c\x65\x3a\40\45\x73\40\x28\145\x78\x70\145\x63\164\x65\x64\40\x76\145\x72\163\x69\x6f\x6e\x20\x25\163\x2c\x20\146\x6f\x75\156\144\x20\166\145\162\x73\151\157\x6e\x20\x25\163\51") . $bVA7R, PSM::normalizePath($lGyLe, "\x72\145\x6c\141\x74\x69\x76\145"), str_replace("\43", "\x2d\122", $fFeUk[self::VERSION_REQUIRED_INDEX]), $LLsOM[self::VERSION_INDEX]); goto HrO0Z; tS0pC: if (Tools::version_compare($LLsOM[self::VERSION_REQUIRED_INDEX], $fFeUk[self::VERSION_REQUIRED_INDEX], "\x3c")) { goto QTpk4; } $yyHom[self::VERSION_CHECK_INDEX] = true; if (Tools::version_compare($LLsOM[self::VERSION_REQUIRED_INDEX], $fFeUk[self::VERSION_REQUIRED_INDEX], "\x3e")) { goto Xsit2; } $yyHom[self::VERSION_CHECK_DESC_INDEX] = ''; goto CLBqS; Xsit2: $yyHom[self::VERSION_CHECK_DESC_INDEX] = "\x5b\66\135\40" . sprintf($this->module->l("\103\x6f\x6d\x70\x61\164\x69\x62\151\x6c\x69\164\171\40\x77\x61\162\x6e\x69\x6e\x67\x20\x66\x6f\x72\x20\146\x69\154\145\72\x20\45\163\x20\50\145\x78\160\x65\x63\x74\145\144\x20\166\145\162\x73\x69\157\156\40\45\163\x2c\40\x66\157\165\x6e\x64\40\166\145\x72\x73\x69\x6f\x6e\x20\45\163\x29") . $bVA7R, PSM::normalizePath($lGyLe, "\x72\145\154\x61\x74\151\x76\145"), str_replace("\43", "\55\122", $fFeUk[self::VERSION_REQUIRED_INDEX]), str_replace("\43", "\x2d\122", $LLsOM[self::VERSION_REQUIRED_INDEX])); CLBqS: goto R7goc; QTpk4: $yyHom[self::VERSION_CHECK_DESC_INDEX] = "\133\x35\135\x20" . sprintf($this->module->l("\x43\157\155\x70\141\164\151\x62\151\x6c\151\164\171\x20\167\x61\162\x6e\151\x6e\x67\x20\x66\x6f\x72\40\146\151\154\145\x3a\40\45\x73\40\50\145\170\x70\x65\x63\x74\145\x64\x20\166\x65\162\x73\x69\157\x6e\40\45\163\x2c\x20\146\x6f\165\x6e\x64\x20\166\145\x72\x73\151\157\x6e\40\x25\x73\x29") . $bVA7R, PSM::normalizePath($lGyLe, "\162\x65\154\141\164\x69\x76\145"), str_replace("\x23", "\55\122", $fFeUk[self::VERSION_REQUIRED_INDEX]), str_replace("\x23", "\55\122", $LLsOM[self::VERSION_REQUIRED_INDEX])); R7goc: HrO0Z: goto RXajD; S0uSN: $yyHom[self::VERSION_CHECK_INDEX] = true; $yyHom[self::VERSION_CHECK_DESC_INDEX] = ''; RXajD: xjVIb: goto e3zrq; vdeWJ: $yyHom[self::VERSION_CHECK_INDEX] = true; $yyHom[self::VERSION_CHECK_DESC_INDEX] = ''; if (!($fFeUk[self::VERSION_REQUIRED_INDEX] !== false)) { goto jZr4V; } if ($LLsOM[self::VERSION_REQUIRED_INDEX] !== false) { goto jo6hi; } $yyHom[self::VERSION_CHECK_DESC_INDEX] = "\x5b\x34\x5d\40" . sprintf($this->module->l("\103\157\155\160\141\x74\151\x62\151\154\x69\164\171\x20\167\x61\162\x6e\x69\156\x67\40\146\x6f\x72\40\146\151\154\x65\x3a\x20\45\163\x20\50\145\x78\160\x65\x63\164\x65\144\x20\166\145\x72\163\151\x6f\156\x20\45\x73\54\40\x6e\157\40\166\x65\162\x73\x69\157\x6e\x20\151\156\146\157\x72\x6d\x61\x74\x69\x6f\x6e\x20\146\x6f\165\x6e\144\x29") . $bVA7R, PSM::normalizePath($lGyLe, "\x72\x65\154\141\x74\x69\166\145"), str_replace("\43", "\x2d\x52", $fFeUk[self::VERSION_REQUIRED_INDEX])); goto VvFlI; jo6hi: if (!Tools::version_compare($LLsOM[self::VERSION_REQUIRED_INDEX], $fFeUk[self::VERSION_REQUIRED_INDEX], "\74")) { goto Bj_g5; } $yyHom[self::VERSION_CHECK_INDEX] = false; $yyHom[self::VERSION_CHECK_DESC_INDEX] = "\x5b\63\x5d\40" . sprintf($this->module->l("\103\157\x6d\160\141\x74\151\142\151\x6c\x69\x74\171\40\167\x61\162\x6e\x69\156\x67\x20\x66\x6f\x72\40\146\151\154\145\72\x20\x25\163\40\x28\x65\170\160\x65\143\x74\145\x64\x20\x76\145\x72\x73\151\157\156\40\45\x73\x2c\x20\x66\x6f\165\156\x64\x20\166\145\x72\x73\x69\157\x6e\40\x25\x73\x29") . $bVA7R, PSM::normalizePath($lGyLe, "\162\145\154\141\x74\x69\166\x65"), str_replace("\x23", "\55\122", $fFeUk[self::VERSION_REQUIRED_INDEX]), str_replace("\x23", "\55\122", $LLsOM[self::VERSION_REQUIRED_INDEX])); Bj_g5: VvFlI: jZr4V: e3zrq: goto XZV47; TV_P4: $yyHom[self::VERSION_CHECK_DESC_INDEX] = "\x5b\x32\x5d\40" . sprintf($this->module->l("\106\x69\154\x65\x20\x6e\x6f\x74\40\143\157\155\x70\x61\x74\151\x62\154\x65\x3a\40\45\x73\40\50\x6d\x69\163\x73\x69\156\147\40\166\x65\162\163\x69\157\x6e\x20\163\151\147\x6e\141\x74\165\162\145\51") . $bVA7R, PSM::normalizePath($lGyLe, "\x72\145\x6c\x61\x74\151\x76\x65")); XZV47: goto K9sAI; bkWUj: $yyHom[self::VERSION_CHECK_DESC_INDEX] = "\133\x31\x5d\40" . sprintf($this->module->l("\x46\151\154\x65\40\x69\163\40\x6d\151\163\x73\151\x6e\x67\x3a\40\45\163"), PSM::normalizePath($lGyLe, "\x72\145\154\x61\x74\x69\x76\x65")); K9sAI: return $yyHom; } private function getSetupVars1() { $xex8T = "\147\x65\x74\x53\x65\x74\x75\x70\126\x61\x72\163\61"; if (isset(self::$s_cache[$xex8T])) { goto ZceaA; } $KYg11 = Tools::substr(str_replace(_PS_ROOT_DIR_, '', _PS_ADMIN_DIR_), 1) . "\x2f"; $XkLxC = Tools::substr(str_replace(_PS_ROOT_DIR_, '', _PS_THEME_DIR_), 1); $TjYdv = dirname(__FILE__) . "\57\163\x65\164\165\x70\57\143\x6f\162\145"; $TyAdI = dirname(__FILE__) . "\57\x6f\x76\x65\x72\162\151\144\x65"; $J9yRV = self::directoryListing($TjYdv, array("\137\x76\145\162\x73\151\157\156\x5f", "\137\x6d\145\x64\x69\141\137")); $u22X5 = self::directoryListing($TjYdv . "\57\x5f\x76\x65\x72\x73\151\x6f\x6e\x5f\x2f" . _PS_VERSION_); if (!$u22X5) { goto a1CHY; } $J9yRV = array_merge($J9yRV, $u22X5); a1CHY: $ur_ve = self::directoryListing($TyAdI); self::$s_cache[$xex8T] = array($KYg11, $XkLxC, $TjYdv, $TyAdI, $J9yRV, $ur_ve); ZceaA: return self::$s_cache[$xex8T]; } private function getSetupVars2($DiHuK, $mEM7n) { list($KYg11, $XkLxC, $TjYdv, ) = $DiHuK; $GXeXU = Tools::substr(str_replace($TjYdv, '', $mEM7n), 1); $BW1C6 = Tools::strlen($GXeXU); if (Tools::strrpos($GXeXU, "\x2e\137\x74\x70\x6c") == $BW1C6 - 5) { goto UrJtR; } if (Tools::strrpos($GXeXU, "\x2e\137\152\163") == $BW1C6 - 4) { goto ra0DR; } $u8MJK = $GXeXU; goto KohT9; UrJtR: $u8MJK = Tools::substr($GXeXU, 0, $BW1C6 - 5) . "\x2e\164\160\154"; goto KohT9; ra0DR: $u8MJK = Tools::substr($GXeXU, 0, $BW1C6 - 4) . "\56\x6a\163"; KohT9: $lGyLe = $u8MJK; $mGlTp = false; if (Tools::strpos($lGyLe, "\x61\144\x6d\x69\x6e\x2f") === 0) { goto rnAoa; } if (Tools::strpos($lGyLe, "\x70\x64\x66\57") === 0) { goto R08tr; } if (Tools::strpos($lGyLe, "\x74\x68\x65\155\x65\x73\57\x64\145\146\141\165\154\x74\x2d\x62\157\x6f\164\163\x74\162\x61\x70\x2f") === 0) { goto z1dq7; } if (Tools::strpos($lGyLe, "\x5f\166\145\162\x73\x69\157\156\x5f\x2f\154\145\147\141\x63\171\57\x74\150\x65\x6d\x65\163\x2f\x64\x65\146\x61\165\x6c\x74\x2d\x62\x6f\x6f\164\163\164\x72\141\160\57") === 0) { goto XjcKe; } if (Tools::strpos($lGyLe, "\x5f\x76\145\x72\x73\151\x6f\x6e\137\x2f\x6c\x65\147\141\x63\x79\57\x70\x64\146\x2f") === 0) { goto eAxfo; } goto l9l_C; rnAoa: $lGyLe = PSM::normalizePath(str_replace("\141\x64\155\x69\156\x2f", $KYg11, $lGyLe)); goto l9l_C; R08tr: $mGlTp = PSM::normalizePath($XkLxC . $lGyLe); goto l9l_C; z1dq7: $lGyLe = PSM::normalizePath(str_replace("\164\x68\145\x6d\x65\163\x2f\x64\x65\x66\141\x75\154\164\x2d\142\157\157\164\163\164\x72\141\x70\57", $XkLxC, $lGyLe)); goto l9l_C; XjcKe: $lGyLe = PSM::normalizePath(str_replace("\x5f\x76\145\162\163\151\x6f\x6e\137\57\154\145\147\141\143\x79\57\x74\x68\x65\155\145\x73\x2f\144\145\x66\141\x75\x6c\164\55\x62\157\x6f\x74\x73\x74\162\x61\160\57", $XkLxC, $lGyLe)); goto l9l_C; eAxfo: $u8MJK = str_replace("\x5f\x76\x65\162\x73\x69\157\156\137\x2f\x6c\145\x67\141\x63\x79\x2f\x70\x64\x66\57", "\160\144\146\x2f", $u8MJK); $lGyLe = PSM::normalizePath(str_replace("\137\166\x65\x72\163\x69\157\x6e\x5f\57\154\145\x67\141\143\x79\x2f\160\144\x66\57", "\x70\144\146\57", $lGyLe)); $mGlTp = PSM::normalizePath($XkLxC . $lGyLe); l9l_C: if (!(Tools::strpos($u8MJK, "\141\144\155\151\x6e\x2f\x74\150\x65\x6d\x65\x73\x2f\x64\x65\146\x61\165\154\x74\x2f\x74\145\155\160\154\141\x74\x65\57\x63\x6f\156\x74\x72\157\154\154\145\x72\x73") === 0)) { goto twrur; } $mGlTp = str_replace("\141\144\155\x69\x6e\x2f\164\150\145\x6d\x65\163\57\x64\x65\146\141\165\154\164\57\x74\145\155\x70\154\141\164\x65\x2f\x63\157\x6e\x74\x72\x6f\154\154\145\x72\x73", "\157\166\x65\162\x72\151\x64\145\57\x63\157\156\x74\x72\157\x6c\154\145\162\163\57\141\x64\155\x69\x6e\x2f\x74\145\x6d\160\x6c\x61\x74\145\163", $u8MJK); twrur: $pU4Bg = _PS_ROOT_DIR_ . "\57" . $lGyLe; $KulHu = $lGyLe; if (!$mGlTp) { goto wa0YU; } $DDW7H = _PS_ROOT_DIR_ . "\57" . $mGlTp; if (!is_file($DDW7H)) { goto VQjqH; } $lGyLe = $mGlTp; $pU4Bg = $DDW7H; VQjqH: wa0YU: return array($GXeXU, $u8MJK, $lGyLe, $pU4Bg, $mGlTp, $KulHu); } public function insertData($zGtoX = false) { $EmCj7 = PSM::getDB(); if (!$zGtoX) { goto yHQHT; } $EmCj7->delete("\x70\x70\x5f\164\145\x6d\160\x6c\141\x74\x65", "\x69\x64\x5f\160\160\137\164\x65\x6d\x70\154\141\164\145\40\74\x20" . PProperties::USER_START_ID); $EmCj7->delete("\160\x70\137\x74\x65\x6d\x70\x6c\x61\x74\145\x5f\x6c\x61\156\147", "\x69\x64\x5f\x70\x70\x5f\x74\145\155\x70\154\x61\164\x65\40\x3c\x20" . PProperties::USER_START_ID); $EmCj7->delete("\160\x70\137\x74\x65\x6d\x70\154\141\x74\145\x5f\160\162\157\x70\145\162\164\x79", "\151\x64\137\160\x70\137\164\x65\155\160\154\141\x74\x65\40\74\x20" . PProperties::USER_START_ID); $EmCj7->delete("\160\160\137\x70\x72\157\x70\145\162\x74\171", "\151\144\x5f\x70\160\137\160\162\x6f\x70\145\x72\164\x79\40\x3c\x20" . PProperties::USER_START_ID); $EmCj7->delete("\x70\x70\137\x70\x72\x6f\x70\x65\162\164\171\137\x6c\x61\156\147", "\151\x64\x5f\160\x70\137\x70\162\157\160\145\x72\x74\171\x20\x3c\x20" . PProperties::USER_START_ID); $EmCj7->delete("\160\160\137\x74\x65\x6d\160\154\x61\x74\145\137\x65\x78\x74", "\x69\x64\137\x70\160\x5f\x74\x65\155\160\154\141\164\x65\40\x3c\40" . PProperties::USER_START_ID); $EmCj7->delete("\x70\160\137\164\145\x6d\160\154\x61\164\x65\x5f\x65\x78\164\x5f\160\162\157\x70", "\x69\x64\x5f\160\160\137\164\x65\155\x70\154\x61\164\x65\x20\74\x20" . PProperties::USER_START_ID); yHQHT: $dlWcM = Language::getLanguages(false); $Z67Fs = array(array("\151\x64\137\160\160\x5f\164\x65\x6d\160\154\141\x74\145" => 1, "\x76\145\162\163\x69\157\x6e" => 1, "\x71\x74\171\137\x70\x6f\154\x69\143\171" => 0), array("\151\144\x5f\160\160\x5f\164\x65\155\160\154\141\164\x65" => 2, "\166\x65\162\x73\x69\157\x6e" => 1, "\x71\x74\x79\137\160\x6f\154\x69\143\171" => 0), array("\x69\x64\x5f\x70\160\x5f\164\145\155\160\x6c\141\164\145" => 3, "\166\145\x72\x73\x69\157\156" => 1, "\x71\164\x79\137\160\x6f\154\x69\x63\x79" => 1, "\161\164\x79\x5f\155\x6f\144\x65" => 1), array("\151\x64\137\160\x70\137\164\145\155\x70\154\141\164\x65" => 4, "\x76\145\x72\x73\151\157\156" => 1, "\161\164\171\x5f\160\x6f\x6c\151\x63\171" => 2), array("\151\144\x5f\160\160\137\164\x65\155\160\x6c\x61\x74\x65" => 5, "\x76\145\x72\x73\x69\157\156" => 1, "\x71\164\171\x5f\160\x6f\154\151\x63\171" => 2, "\x71\x74\171\137\x6d\157\144\x65" => 1), array("\151\144\137\160\x70\137\164\x65\x6d\160\x6c\x61\x74\x65" => 6, "\166\x65\162\163\x69\x6f\x6e" => 1, "\161\164\x79\137\160\x6f\154\151\x63\171" => 2, "\x6d\x65\141\163\x75\x72\x65\x6d\x65\156\164\x5f\163\171\163\x74\145\155" => 1, "\x64\x69\163\x70\154\141\171\137\155\157\x64\145" => 9, "\x75\x6e\x69\x74\x5f\160\162\151\x63\x65\137\162\141\164\x69\x6f" => 10, "\155\x69\x6e\151\155\x61\x6c\137\161\x75\141\156\x74\x69\164\171" => 0.1, "\144\x65\146\x61\x75\x6c\164\137\161\165\141\156\164\x69\164\x79" => 0.1), array("\x69\x64\x5f\x70\x70\x5f\x74\145\x6d\160\154\141\164\x65" => 7, "\166\x65\162\x73\151\x6f\x6e" => 1, "\161\164\x79\x5f\x70\157\x6c\x69\143\171" => 1), array("\x69\144\137\x70\160\x5f\x74\x65\155\x70\154\141\x74\145" => 8, "\166\x65\x72\x73\151\x6f\156" => 1, "\161\164\x79\x5f\160\157\x6c\151\x63\171" => 2, "\x6d\151\x6e\151\155\x61\x6c\137\161\x75\141\156\x74\x69\x74\x79" => 0.1, "\144\x65\x66\x61\x75\x6c\x74\137\161\165\141\156\x74\x69\x74\x79" => 1), array("\151\x64\137\160\x70\x5f\164\145\x6d\160\x6c\141\164\x65" => 9, "\x76\x65\162\x73\x69\157\156" => 1, "\161\164\171\137\x70\x6f\x6c\x69\143\171" => 2, "\x6d\x69\156\x69\155\x61\x6c\x5f\161\165\141\x6e\x74\151\164\x79" => 0.125, "\144\x65\146\x61\165\154\x74\x5f\161\x75\141\156\164\x69\x74\x79" => 1), array("\151\x64\x5f\160\x70\137\164\x65\x6d\x70\x6c\x61\164\145" => 10, "\x76\x65\162\163\151\x6f\156" => 1, "\x71\x74\x79\x5f\x70\157\154\151\x63\171" => 2, "\145\x78\164" => 1), array("\151\144\x5f\160\x70\x5f\x74\145\x6d\x70\x6c\x61\164\145" => 11, "\166\145\162\x73\x69\157\156" => 1, "\x71\x74\171\137\x70\x6f\154\151\143\171" => 2, "\145\x78\x74" => 1)); self::dbInsert("\x70\x70\137\x74\145\x6d\x70\154\x61\x74\x65", $Z67Fs); $Z67Fs = array(array("\151\144\137\160\160\137\x74\145\x6d\x70\154\x61\164\x65" => 1, "\160\x70\137\156\x61\155\145" => "\160\160\137\161\x74\171\137\x74\x65\x78\164", "\x69\x64\137\x70\160\137\x70\162\x6f\x70\145\162\x74\171" => 0), array("\x69\x64\137\x70\160\137\164\145\x6d\x70\x6c\141\x74\145" => 2, "\160\x70\x5f\156\141\x6d\x65" => "\x70\160\x5f\161\164\171\x5f\x74\x65\170\164", "\x69\x64\x5f\x70\x70\137\160\x72\157\160\145\x72\x74\x79" => 2), array("\x69\x64\x5f\x70\x70\137\164\145\x6d\x70\x6c\x61\164\x65" => 3, "\x70\160\137\156\x61\x6d\145" => "\x70\160\137\x71\164\171\137\x74\145\170\164", "\x69\x64\137\160\x70\x5f\x70\x72\157\x70\145\162\x74\171" => 2), array("\x69\x64\137\160\x70\137\x74\x65\155\160\154\141\x74\x65" => 4, "\160\x70\137\156\x61\155\x65" => "\x70\x70\x5f\161\x74\x79\137\x74\x65\x78\164", "\151\x64\137\x70\x70\137\x70\x72\x6f\160\145\162\164\x79" => 10), array("\x69\144\x5f\160\160\137\x74\x65\155\x70\x6c\141\x74\145" => 5, "\x70\160\x5f\156\x61\x6d\145" => "\160\x70\x5f\x71\164\171\x5f\x74\x65\170\x74", "\151\144\137\x70\x70\137\x70\162\x6f\160\x65\162\x74\171" => 10), array("\x69\x64\x5f\160\x70\137\x74\x65\x6d\x70\154\x61\x74\145" => 6, "\160\160\137\156\141\155\x65" => "\160\x70\x5f\161\164\x79\137\164\x65\170\x74", "\151\144\137\160\160\x5f\x70\x72\157\160\x65\x72\x74\171" => 10), array("\x69\144\x5f\160\x70\137\164\145\155\160\154\x61\164\x65" => 7, "\x70\160\137\156\141\x6d\x65" => "\160\160\137\161\164\171\x5f\x74\145\x78\164", "\x69\x64\137\160\160\x5f\160\x72\x6f\160\x65\162\164\171" => 15), array("\151\144\x5f\x70\x70\137\164\x65\x6d\160\x6c\141\164\145" => 8, "\160\x70\x5f\156\141\x6d\145" => "\x70\x70\137\161\164\171\x5f\x74\145\170\x74", "\x69\144\x5f\x70\x70\x5f\x70\162\x6f\160\145\162\164\x79" => 15), array("\x69\144\137\160\x70\x5f\x74\145\155\x70\x6c\141\164\x65" => 9, "\160\x70\x5f\156\141\x6d\145" => "\x70\160\137\x71\164\x79\x5f\164\x65\x78\x74", "\x69\144\137\160\x70\x5f\160\x72\157\x70\145\x72\164\x79" => 19), array("\x69\x64\x5f\x70\160\137\164\x65\155\x70\x6c\141\x74\x65" => 1, "\x70\x70\x5f\x6e\141\x6d\145" => "\x70\160\137\x70\x72\x69\143\x65\137\164\145\170\164", "\x69\x64\137\x70\160\x5f\160\162\x6f\160\145\162\164\171" => 0), array("\x69\x64\x5f\160\160\x5f\x74\145\155\160\x6c\x61\164\x65" => 2, "\x70\160\x5f\156\x61\x6d\x65" => "\160\x70\x5f\x70\x72\x69\x63\145\x5f\x74\145\x78\x74", "\151\x64\x5f\x70\160\137\160\162\157\x70\x65\x72\x74\171" => 3), array("\x69\x64\x5f\x70\x70\x5f\164\x65\155\160\x6c\141\164\x65" => 3, "\x70\x70\x5f\x6e\141\155\145" => "\160\x70\137\x70\x72\151\143\x65\x5f\x74\145\170\164", "\x69\x64\137\x70\x70\137\x70\x72\x6f\160\x65\162\x74\x79" => 3), array("\x69\144\x5f\160\160\137\x74\x65\155\x70\x6c\x61\x74\x65" => 4, "\x70\x70\137\x6e\x61\155\x65" => "\160\160\x5f\x70\162\151\x63\x65\137\164\145\x78\x74", "\151\144\x5f\160\160\x5f\160\162\157\x70\145\162\164\171" => 11), array("\x69\x64\x5f\x70\160\x5f\164\x65\155\x70\x6c\x61\164\x65" => 5, "\x70\x70\x5f\x6e\x61\x6d\x65" => "\x70\x70\137\x70\x72\x69\x63\145\x5f\164\145\x78\x74", "\x69\144\137\x70\x70\137\160\162\x6f\x70\x65\162\164\171" => 11), array("\151\x64\x5f\x70\x70\x5f\x74\145\x6d\x70\154\141\164\145" => 6, "\160\160\x5f\156\141\x6d\x65" => "\x70\x70\137\160\x72\151\x63\x65\137\164\x65\170\x74", "\x69\144\x5f\x70\x70\x5f\x70\x72\157\x70\145\162\164\171" => 11), array("\x69\144\x5f\160\x70\137\164\x65\155\x70\154\x61\x74\x65" => 7, "\x70\x70\137\x6e\x61\155\x65" => "\x70\x70\137\x70\162\x69\x63\x65\137\x74\145\170\164", "\x69\144\137\x70\x70\x5f\x70\162\x6f\160\145\162\x74\x79" => 16), array("\151\144\x5f\x70\x70\137\164\145\x6d\160\x6c\x61\x74\x65" => 8, "\160\160\137\x6e\141\x6d\x65" => "\x70\160\x5f\160\162\151\143\x65\x5f\x74\145\x78\x74", "\151\x64\137\160\x70\137\x70\162\157\x70\x65\x72\x74\x79" => 16), array("\x69\x64\137\x70\x70\x5f\164\x65\x6d\x70\154\x61\x74\x65" => 9, "\x70\x70\137\156\141\155\x65" => "\160\x70\x5f\x70\x72\151\x63\x65\x5f\x74\x65\x78\x74", "\151\x64\x5f\x70\160\137\x70\x72\x6f\x70\x65\162\x74\171" => 20), array("\x69\144\x5f\x70\160\x5f\x74\145\x6d\x70\154\x61\x74\145" => 10, "\160\160\x5f\156\141\155\145" => "\160\160\137\160\162\151\143\x65\x5f\164\x65\x78\x74", "\x69\x64\137\160\x70\x5f\x70\x72\x6f\x70\145\162\164\171" => 18), array("\x69\x64\x5f\x70\x70\137\164\x65\x6d\x70\x6c\x61\x74\x65" => 11, "\x70\x70\137\x6e\141\x6d\x65" => "\x70\160\x5f\x70\162\x69\143\x65\137\164\145\x78\x74", "\151\x64\137\160\x70\x5f\x70\162\x6f\160\145\162\x74\x79" => 16), array("\x69\x64\x5f\160\x70\x5f\x74\145\155\160\154\141\x74\x65" => 1, "\160\x70\137\x6e\x61\x6d\145" => "\160\160\x5f\x75\x6e\x69\x74\x79\x5f\x74\145\x78\x74", "\x69\144\x5f\160\160\x5f\x70\x72\157\160\145\162\164\x79" => 0), array("\151\144\x5f\x70\160\x5f\164\145\155\x70\154\x61\164\x65" => 2, "\x70\x70\137\156\x61\x6d\145" => "\160\x70\137\165\x6e\151\x74\x79\137\164\x65\170\164", "\151\x64\x5f\160\160\137\x70\162\157\x70\x65\162\164\171" => 0), array("\x69\x64\x5f\160\x70\137\164\x65\x6d\160\x6c\x61\x74\145" => 3, "\160\160\x5f\x6e\141\155\x65" => "\x70\x70\137\x75\x6e\x69\164\x79\137\x74\145\x78\164", "\x69\x64\137\160\160\137\x70\162\157\160\145\162\164\171" => 11), array("\151\x64\x5f\x70\x70\137\x74\x65\155\160\x6c\141\164\145" => 4, "\x70\160\x5f\156\141\x6d\x65" => "\160\160\x5f\x75\x6e\151\164\171\x5f\x74\x65\x78\x74", "\x69\144\x5f\x70\160\137\x70\x72\157\160\145\x72\164\171" => 0), array("\151\x64\x5f\x70\160\x5f\164\x65\155\160\x6c\x61\x74\x65" => 5, "\x70\160\x5f\156\141\155\x65" => "\160\x70\137\165\156\x69\164\x79\137\164\x65\x78\x74", "\151\144\137\x70\x70\137\160\162\157\x70\145\162\164\171" => 0), array("\151\144\137\160\160\137\x74\x65\x6d\160\154\141\164\145" => 6, "\x70\160\137\156\x61\x6d\x65" => "\160\x70\137\165\x6e\151\x74\171\x5f\x74\x65\x78\164", "\151\144\x5f\160\160\137\160\162\x6f\x70\x65\162\164\171" => 12), array("\151\144\x5f\x70\160\x5f\x74\x65\155\160\x6c\x61\x74\x65" => 7, "\x70\x70\137\x6e\x61\x6d\145" => "\x70\x70\x5f\165\156\151\164\171\x5f\164\x65\x78\x74", "\151\x64\137\x70\160\137\x70\162\x6f\x70\145\x72\x74\x79" => 0), array("\151\x64\137\x70\x70\x5f\x74\x65\155\x70\154\141\x74\145" => 8, "\160\x70\x5f\156\141\x6d\x65" => "\x70\x70\x5f\x75\x6e\x69\164\x79\137\x74\145\x78\x74", "\151\144\x5f\x70\160\137\x70\x72\157\160\x65\x72\x74\x79" => 0), array("\x69\x64\x5f\x70\160\x5f\164\x65\155\160\154\141\x74\x65" => 9, "\x70\x70\137\x6e\141\x6d\145" => "\x70\x70\137\165\x6e\x69\x74\x79\137\164\x65\170\164", "\151\x64\x5f\160\x70\x5f\x70\x72\157\160\x65\162\x74\171" => 0), array("\x69\x64\137\160\160\x5f\x74\x65\x6d\x70\x6c\141\164\145" => 1, "\x70\x70\137\x6e\x61\x6d\145" => "\160\160\137\x65\x78\x70\154\x61\156\141\164\151\157\156", "\x69\144\x5f\x70\x70\x5f\x70\x72\157\160\x65\x72\164\x79" => 0), array("\x69\144\137\x70\x70\x5f\164\145\155\x70\x6c\141\164\x65" => 2, "\160\x70\137\x6e\x61\155\145" => "\160\160\137\x65\x78\160\x6c\x61\156\x61\164\151\157\x6e", "\x69\144\x5f\160\x70\x5f\160\162\x6f\x70\145\x72\164\x79" => 0), array("\x69\144\x5f\160\160\137\x74\x65\155\x70\154\141\164\145" => 3, "\x70\x70\137\156\x61\155\x65" => "\160\160\x5f\145\170\x70\x6c\141\156\x61\164\x69\x6f\x6e", "\x69\144\137\x70\160\x5f\160\162\157\x70\x65\x72\164\x79" => 51), array("\x69\x64\137\160\x70\137\x74\x65\x6d\x70\x6c\x61\x74\145" => 4, "\160\x70\x5f\156\x61\x6d\x65" => "\160\160\x5f\145\170\x70\154\141\x6e\x61\164\151\x6f\156", "\151\x64\x5f\160\160\137\160\162\157\160\x65\x72\x74\x79" => 52), array("\x69\x64\137\160\x70\137\x74\145\x6d\x70\154\141\164\x65" => 5, "\x70\x70\x5f\156\x61\x6d\x65" => "\x70\160\x5f\x65\x78\160\x6c\x61\156\x61\x74\x69\157\x6e", "\x69\x64\x5f\x70\160\137\x70\162\x6f\x70\145\x72\164\171" => 50), array("\151\x64\x5f\x70\160\137\x74\145\x6d\160\x6c\141\x74\145" => 6, "\160\160\x5f\x6e\141\x6d\145" => "\x70\160\x5f\x65\170\160\154\141\156\x61\164\151\x6f\x6e", "\x69\x64\x5f\160\160\x5f\x70\x72\157\x70\x65\x72\164\171" => 0), array("\x69\144\137\160\x70\137\164\145\x6d\160\154\x61\164\145" => 7, "\160\160\137\x6e\141\155\145" => "\160\160\x5f\x65\x78\160\x6c\141\x6e\141\164\151\157\x6e", "\x69\x64\x5f\160\160\x5f\160\162\x6f\x70\145\162\x74\x79" => 0), array("\151\144\x5f\160\x70\137\164\145\x6d\x70\x6c\x61\x74\145" => 8, "\160\x70\137\156\141\155\x65" => "\x70\x70\x5f\x65\x78\160\x6c\x61\x6e\141\x74\151\157\156", "\x69\144\x5f\x70\160\137\160\162\x6f\x70\x65\162\x74\171" => 53), array("\151\144\x5f\x70\160\x5f\164\145\155\x70\x6c\141\x74\x65" => 9, "\160\160\137\156\141\155\145" => "\160\160\x5f\x65\x78\160\154\x61\x6e\x61\x74\151\157\156", "\x69\x64\x5f\x70\x70\x5f\160\162\157\x70\x65\162\x74\x79" => 54)); self::dbInsertTemplateSpecial("\x70\x70\x5f\x74\145\x6d\x70\x6c\141\x74\x65\x5f\x70\162\x6f\x70\145\162\x74\x79", "\160\x70\x5f\156\x61\x6d\145", $Z67Fs); $Z67Fs = array(array("\x69\x64\x5f\x70\160\137\164\145\155\160\x6c\x61\x74\x65" => 1, "\x6e\x61\x6d\x65" => "\162\145\147\165\x6c\141\x72\40\160\x72\157\144\165\x63\164", "\x64\145\x73\x63\162\x69\x70\164\151\x6f\156\137\61" => "\x55\163\x65\x20\x74\x68\151\x73\40\164\145\x6d\x70\154\141\164\145\x20\x74\x6f\40\x65\156\141\142\154\x65\40\x50\162\x6f\144\165\143\x74\40\120\162\157\160\145\162\164\151\x65\163\40\x45\170\x74\145\156\x73\151\157\156\40\155\157\144\x75\x6c\x65\40\x61\156\144\40\160\x6c\165\x67\151\156\x73\x20\x64\x79\x6e\141\155\151\143\x20\x62\145\x68\x61\166\x69\x6f\x72\x20\146\157\x72\40\162\145\x67\165\154\x61\x72\x20\160\162\x6f\144\x75\143\164\x73\40\167\x69\164\150\40\x6e\157\x20\x73\x70\145\x63\x69\x66\151\143\x20\x61\163\x73\x69\x67\156\x6d\x65\156\164\163", "\144\x65\x73\143\x72\151\160\164\x69\x6f\156\x5f\62" => "\x55\163\x65\x20\x74\x68\151\163\x20\x74\x65\x6d\x70\154\x61\x74\145\x20\x74\x6f\x20\145\156\x61\x62\154\x65\x20\120\x72\157\x64\x75\143\x74\40\x50\162\157\x70\145\x72\164\x69\x65\163\x20\x45\170\164\x65\x6e\x73\x69\x6f\x6e\x20\155\x6f\x64\x75\154\145\40\x61\156\144\x20\x70\154\165\147\151\x6e\x73\40\x64\171\x6e\141\155\x69\x63\x20\x62\x65\x68\x61\x76\151\x6f\162\x20\x66\157\162\40\162\145\147\165\x6c\141\162\40\x70\x72\x6f\x64\165\x63\164\163\40\x77\151\164\150\x20\156\x6f\40\163\160\145\x63\151\146\151\143\x20\141\x73\163\151\147\x6e\155\x65\x6e\164\x73"), array("\x69\144\x5f\160\160\x5f\x74\145\155\x70\x6c\x61\164\x65" => 2, "\156\141\155\x65" => "\x71\x75\141\x6e\x74\x69\164\171\40\151\156\x20\160\151\x65\143\145\163", "\144\x65\163\143\x72\151\x70\x74\151\x6f\x6e\137\61" => "\x50\x72\x6f\x64\165\143\x74\x20\163\x6f\x6c\x64\x20\x69\156\40\x70\151\x65\x63\x65\163\x2c\40\x70\x72\151\143\145\x20\141\163\40\x73\160\x65\x63\x69\146\151\145\144", "\144\x65\x73\x63\162\151\x70\x74\x69\x6f\156\x5f\62" => "\x50\162\x6f\x64\x75\143\164\40\x73\157\x6c\144\x20\151\x6e\x20\x70\151\x65\143\145\163\54\x20\160\162\151\143\145\x20\141\163\x20\163\x70\x65\x63\151\x66\151\145\x64"), array("\151\144\x5f\160\x70\137\164\145\x6d\x70\x6c\141\164\x65" => 3, "\156\x61\155\x65" => "\x71\x75\x61\156\164\151\164\x79\40\151\156\x20\167\x68\x6f\x6c\x65\40\x75\x6e\x69\x74\x73\54\40\163\x6f\x6c\144\x20\142\x79\40\x77\x65\x69\x67\x68\x74", "\x64\x65\163\x63\162\151\160\x74\x69\157\156\137\x31" => "\x50\x72\x6f\144\x75\x63\164\x20\x73\157\154\144\40\x62\x79\x20\167\145\151\x67\x68\x74\40\167\151\x74\150\x20\161\165\141\x6e\x74\151\x74\x79\40\151\156\x20\167\x68\x6f\x6c\145\40\x75\156\x69\164\x73\54\40\x61\160\160\x72\x6f\170\x69\155\x61\x74\x65\x20\161\x75\x61\x6e\164\x69\x74\171\x20\141\x6e\144\40\160\x72\x69\x63\x65\40\x28\x74\150\x65\x20\x65\x78\141\x63\x74\40\x71\x75\x61\156\x74\x69\164\171\x20\x63\x61\156\156\157\x74\x20\x62\145\40\x6f\x72\x64\x65\162\x65\144\x29", "\x64\x65\163\143\162\x69\160\164\x69\157\156\137\x32" => "\x50\162\157\144\x75\x63\x74\x20\163\x6f\x6c\144\x20\x62\171\x20\x77\x65\x69\x67\x68\x74\40\167\151\x74\150\x20\161\x75\141\x6e\x74\151\164\x79\x20\x69\156\40\x70\151\145\143\145\163\x2c\x20\x61\x70\160\x72\x6f\x78\x69\x6d\141\164\x65\40\161\x75\x61\x6e\x74\151\x74\171\x20\141\x6e\144\x20\160\162\151\x63\145\x20\x28\x74\x68\145\x20\145\x78\x61\x63\164\x20\x71\165\x61\x6e\x74\x69\164\x79\40\x63\141\x6e\156\x6f\164\x20\142\145\40\x6f\x72\144\x65\x72\x65\144\51"), array("\151\144\137\x70\x70\137\x74\145\x6d\x70\154\141\164\x65" => 4, "\156\141\x6d\x65" => "\x62\x79\x20\x77\x65\151\147\150\x74", "\144\145\163\143\162\151\160\x74\151\x6f\x6e\137\61" => "\x50\x72\x6f\x64\x75\x63\x74\x20\x73\x6f\x6c\144\x20\x62\x79\40\x77\145\x69\147\x68\164\x2c\x20\x70\162\151\x63\x65\x20\141\163\40\163\x70\145\x63\x69\146\151\145\x64\x20\x28\145\x78\141\143\x74\x20\167\145\151\x67\x68\164\x20\x63\141\x6e\40\x62\145\x20\157\162\x64\x65\162\x65\144\51", "\144\145\x73\143\x72\151\x70\164\151\x6f\156\x5f\62" => "\120\162\157\x64\165\143\164\x20\x73\157\154\144\x20\x62\171\x20\x77\145\151\x67\150\x74\x2c\40\160\162\x69\x63\x65\x20\x61\x73\40\x73\160\x65\143\x69\146\x69\x65\144\40\50\x65\170\x61\x63\x74\x20\x77\x65\x69\147\150\164\x20\x63\141\x6e\x20\142\145\40\157\162\144\145\162\x65\144\51"), array("\x69\x64\x5f\x70\160\137\x74\x65\155\160\154\141\164\x65" => 5, "\156\141\x6d\x65" => "\x62\x79\x20\167\145\151\x67\x68\164\54\40\141\x70\160\162\x6f\170\x69\155\141\164\x65\40\161\x75\x61\x6e\164\x69\164\171", "\x64\x65\163\x63\162\x69\160\x74\x69\x6f\156\137\x31" => "\120\162\157\144\x75\143\164\x20\x73\157\x6c\x64\x20\x62\171\x20\x77\x65\151\147\x68\x74\x2c\40\x61\x70\160\x72\x6f\170\x69\x6d\141\164\145\x20\x71\x75\x61\156\x74\x69\164\171\40\x61\156\144\40\x70\162\x69\143\145\x20\50\x65\170\141\x63\164\x20\x77\145\x69\x67\x68\x74\x20\x63\141\156\x6e\157\x74\40\x62\145\x20\x6f\x72\144\x65\162\145\x64\51", "\x64\x65\x73\143\x72\151\x70\164\x69\157\x6e\x5f\62" => "\120\162\157\144\165\143\x74\x20\163\157\154\x64\x20\x62\171\40\167\x65\x69\147\x68\164\54\x20\x61\x70\x70\x72\x6f\170\x69\x6d\x61\x74\x65\x20\x71\x75\141\x6e\x74\x69\164\171\x20\x61\x6e\x64\x20\160\162\x69\143\145\40\50\145\170\141\143\x74\40\x77\145\x69\147\x68\164\40\x63\141\x6e\x6e\x6f\x74\x20\x62\145\40\x6f\x72\x64\x65\162\145\x64\51"), array("\151\x64\x5f\160\x70\137\x74\x65\x6d\160\x6c\141\164\x65" => 6, "\156\x61\x6d\x65" => "\142\171\x20\x77\x65\x69\x67\150\164\54\40\160\x72\x69\143\145\x20\x70\145\162\40\x31\60\x30\40\x67", "\x64\x65\x73\143\x72\151\x70\x74\x69\x6f\x6e\x5f\61" => "\x50\162\157\x64\165\x63\164\40\x73\x6f\x6c\x64\x20\x62\171\x20\167\x65\x69\147\150\x74\x20\x28\167\x69\x74\x68\x20\x75\156\x69\164\x20\160\162\x69\x63\145\51", "\144\x65\x73\143\x72\x69\x70\164\x69\x6f\x6e\137\x32" => "\x50\x72\x6f\x64\x75\143\x74\40\x73\x6f\x6c\144\40\x62\x79\x20\x77\145\151\x67\150\x74\40\50\x77\x69\x74\150\40\165\x6e\x69\x74\x20\x70\x72\x69\x63\x65\51"), array("\151\144\137\x70\x70\137\164\145\x6d\x70\154\141\164\x65" => 7, "\x6e\x61\x6d\145" => "\x62\171\x20\x6c\145\x6e\x67\x74\150\x20\x28\x77\150\157\154\x65\40\165\156\x69\164\163\51", "\144\145\163\143\x72\x69\160\x74\x69\x6f\156\x5f\61" => "\x50\x72\x6f\144\165\x63\164\x20\x73\x6f\x6c\144\40\142\x79\40\154\145\x6e\147\164\150\40\151\x6e\40\x77\x68\157\154\x65\40\x75\x6e\151\164\x73", "\x64\145\163\143\162\x69\160\164\151\157\156\x5f\x32" => "\120\162\157\144\165\x63\x74\40\x73\x6f\x6c\144\x20\x62\x79\x20\x6c\145\x6e\x67\164\150\40\151\156\40\x77\150\157\x6c\x65\40\x75\156\151\x74\163"), array("\151\x64\x5f\160\160\x5f\x74\x65\x6d\160\x6c\141\164\145" => 8, "\x6e\141\x6d\145" => "\142\x79\x20\x6c\x65\x6e\x67\164\x68\x20\50\x66\x72\x61\x63\x74\151\157\156\141\x6c\40\x75\156\x69\164\x73\x29", "\x64\x65\163\143\162\151\x70\164\x69\x6f\156\137\61" => "\120\162\157\144\x75\x63\x74\40\x73\x6f\x6c\144\x20\x62\171\x20\154\145\156\x67\164\150\40\151\x6e\x20\155\145\164\145\162\x73", "\144\x65\163\x63\162\151\x70\x74\151\157\x6e\137\62" => "\120\162\x6f\144\x75\143\x74\40\x73\157\154\144\x20\x62\171\x20\154\x65\x6e\x67\164\150\40\x69\x6e\40\146\145\x65\x74"), array("\x69\144\137\160\x70\x5f\x74\x65\x6d\160\154\141\164\x65" => 9, "\156\141\155\x65" => "\142\x79\x20\154\x65\x6e\x67\x74\150\x20\x28\x79\x61\162\x64\163\51", "\x64\145\163\x63\x72\x69\x70\164\x69\157\x6e\137\x31" => "\x50\162\157\144\x75\x63\164\40\163\x6f\x6c\x64\40\x62\171\x20\x6c\x65\156\x67\x74\150\x20\151\x6e\40\x79\141\x72\x64\163", "\144\x65\163\143\x72\x69\x70\x74\151\x6f\156\x5f\x32" => "\120\162\x6f\144\165\143\x74\40\x73\x6f\x6c\144\x20\142\171\x20\154\145\156\x67\x74\150\40\151\x6e\x20\171\x61\x72\144\x73"), array("\x69\x64\x5f\x70\160\137\x74\x65\x6d\160\154\141\x74\x65" => 10, "\156\141\155\145" => "\142\171\x20\x6c\x65\x6e\147\164\150\40\50\141\162\145\141\51", "\x64\145\x73\x63\x72\x69\x70\164\x69\157\x6e\x5f\61" => "\120\x72\157\x64\x75\143\164\40\x75\x73\145\163\x20\155\x75\x6c\164\151\144\x69\x6d\145\156\x73\x69\x6f\156\141\x6c\40\x66\145\x61\x74\x75\162\x65\x20\x28\150\x65\151\147\150\x74\x20\170\x20\x77\x69\144\x74\x68\51", "\x64\145\x73\143\162\x69\160\x74\151\157\x6e\137\62" => "\x50\162\x6f\x64\x75\x63\164\x20\x75\x73\145\x73\x20\x6d\x75\154\164\x69\x64\151\155\x65\156\x73\x69\157\x6e\141\x6c\40\146\x65\x61\x74\165\162\145\x20\50\x68\145\x69\147\x68\x74\40\x78\40\167\151\x64\164\x68\x29"), array("\x69\x64\x5f\x70\x70\x5f\164\x65\x6d\160\x6c\141\164\x65" => 11, "\156\x61\155\x65" => "\x62\x79\40\154\x65\x6e\x67\164\150\40\x28\160\145\162\x69\x6d\145\x74\145\162\51", "\x64\145\163\x63\x72\x69\160\164\151\x6f\156\137\61" => "\120\x72\x6f\x64\x75\143\164\40\165\x73\x65\x73\x20\x6d\x75\154\x74\x69\144\151\x6d\145\156\x73\151\157\x6e\141\x6c\x20\x66\x65\141\164\165\x72\145\40\50\x68\x65\x69\x67\150\164\40\53\x20\167\151\144\164\150\x29", "\144\145\163\143\162\151\x70\x74\151\157\x6e\x5f\62" => "\x50\162\157\144\x75\x63\x74\x20\x75\163\x65\163\40\155\165\x6c\x74\151\x64\151\155\145\156\x73\151\157\x6e\141\x6c\40\146\145\x61\164\165\162\x65\x20\x28\x68\x65\151\x67\150\164\x20\x2b\40\167\x69\144\164\x68\x29")); self::dbInsertLang("\160\x70\x5f\x74\145\x6d\x70\154\141\164\145\x5f\154\141\156\147", $Z67Fs, $dlWcM); $Z67Fs = array(array("\151\144\x5f\160\160\137\160\162\157\160\x65\162\164\x79" => 1, "\164\145\x78\x74\x5f\61" => "\x70\x63", "\164\145\170\x74\x5f\62" => "\x70\x63"), array("\x69\x64\x5f\x70\x70\x5f\x70\x72\157\160\x65\x72\x74\x79" => 2, "\x74\x65\170\164\137\x31" => "\x70\x63\163", "\164\x65\170\164\x5f\62" => "\x70\143\x73"), array("\151\144\137\x70\x70\x5f\x70\x72\x6f\x70\145\162\164\171" => 3, "\164\x65\170\x74\x5f\61" => "\x70\x65\x72\40\160\143", "\164\x65\x78\164\137\62" => "\160\x65\x72\40\x70\143"), array("\x69\144\x5f\x70\160\137\x70\x72\x6f\160\x65\x72\x74\171" => 4, "\164\x65\170\164\x5f\x31" => "\151\x74\145\155", "\x74\x65\170\164\137\x32" => "\x69\x74\145\x6d"), array("\151\144\137\160\x70\137\160\162\157\x70\145\x72\x74\171" => 5, "\x74\x65\170\164\x5f\61" => "\x69\x74\145\x6d\163", "\x74\x65\x78\164\x5f\62" => "\x69\x74\145\155\x73"), array("\151\144\137\x70\x70\137\160\162\x6f\160\145\x72\164\x79" => 6, "\164\145\170\164\x5f\61" => "\160\145\x72\40\x69\164\145\155", "\x74\x65\x78\x74\137\62" => "\x70\145\162\40\151\x74\145\155"), array("\x69\x64\137\160\x70\137\160\x72\x6f\x70\145\x72\x74\171" => 7, "\164\145\170\x74\x5f\61" => "\160\x61\143\153", "\x74\145\x78\164\137\62" => "\x70\141\143\153"), array("\151\x64\x5f\160\160\137\160\x72\157\x70\x65\162\164\171" => 8, "\164\145\x78\164\137\x31" => "\160\141\x63\153\x73", "\164\x65\x78\164\137\x32" => "\x70\141\x63\153\x73"), array("\x69\x64\137\160\160\137\160\162\x6f\x70\x65\x72\x74\x79" => 9, "\164\145\x78\164\137\61" => "\160\x65\x72\x20\160\x61\143\x6b", "\x74\145\x78\164\x5f\x32" => "\x70\145\x72\40\160\141\143\153"), array("\x69\x64\137\160\160\x5f\160\162\x6f\x70\x65\162\x74\171" => 10, "\x74\145\x78\164\x5f\x31" => "\x6b\x67", "\x74\145\170\x74\x5f\62" => "\154\142"), array("\x69\144\137\160\160\x5f\160\x72\x6f\160\145\162\164\x79" => 11, "\164\x65\x78\164\x5f\61" => "\160\145\162\x20\x6b\x67", "\164\x65\x78\x74\x5f\62" => "\x70\145\x72\40\x6c\142"), array("\x69\x64\x5f\x70\160\137\160\x72\157\x70\145\x72\164\171" => 12, "\x74\x65\170\x74\137\x31" => "\160\x65\162\x20\x31\x30\60\40\147", "\164\145\170\x74\x5f\x32" => "\160\x65\x72\x20\61\60\x30\40\147"), array("\x69\x64\137\x70\x70\x5f\160\162\x6f\160\145\162\164\x79" => 13, "\x74\x65\x78\x74\x5f\61" => "\x6f\172", "\164\x65\170\164\137\62" => "\x6f\x7a"), array("\151\144\x5f\x70\x70\137\160\162\157\160\145\162\164\171" => 14, "\x74\x65\x78\x74\137\61" => "\160\x65\x72\40\157\x7a", "\164\145\x78\164\x5f\x32" => "\160\145\162\x20\x6f\x7a"), array("\151\144\x5f\160\x70\137\x70\162\x6f\x70\145\162\164\x79" => 15, "\164\x65\x78\164\137\x31" => "\x6d", "\164\145\x78\x74\137\62" => "\x66\164"), array("\151\x64\x5f\160\x70\x5f\160\x72\x6f\160\145\162\x74\171" => 16, "\x74\x65\x78\x74\137\61" => "\160\x65\162\40\155", "\164\x65\x78\164\x5f\62" => "\x70\x65\x72\x20\146\164"), array("\x69\x64\x5f\160\160\137\x70\x72\x6f\160\145\x72\164\x79" => 17, "\x74\145\170\164\137\x31" => "\155\x3c\163\165\x70\76\62\74\57\x73\x75\160\x3e", "\164\145\x78\x74\137\x32" => "\146\164\74\163\x75\160\x3e\x32\74\x2f\163\x75\x70\x3e"), array("\x69\x64\137\160\x70\137\160\x72\x6f\x70\x65\162\164\171" => 18, "\164\x65\170\164\x5f\x31" => "\x70\x65\x72\x20\155\74\163\x75\x70\x3e\x32\x3c\57\x73\x75\160\x3e", "\x74\145\170\x74\x5f\x32" => "\160\x65\162\x20\x66\164\x3c\x73\x75\x70\x3e\62\x3c\57\163\x75\160\x3e"), array("\x69\x64\137\x70\160\137\x70\162\157\x70\x65\162\x74\171" => 19, "\x74\x65\x78\164\137\x31" => "\x79\x64", "\x74\x65\x78\164\137\62" => "\x79\x64"), array("\151\144\137\x70\x70\x5f\x70\162\x6f\x70\145\x72\x74\x79" => 20, "\164\x65\x78\164\x5f\x31" => "\x70\x65\162\x20\171\144", "\164\x65\x78\164\137\62" => "\160\x65\x72\x20\x79\144"), array("\x69\144\x5f\x70\x70\137\160\162\x6f\160\145\162\164\171" => 21, "\164\145\x78\164\x5f\x31" => "\x63\155", "\164\145\170\164\137\62" => "\151\156\x63\150"), array("\151\144\x5f\160\160\x5f\160\x72\x6f\160\145\162\164\171" => 22, "\x74\x65\170\x74\137\61" => "\160\145\162\40\x63\155", "\x74\x65\x78\x74\137\x32" => "\x70\x65\162\x20\x69\x6e\x63\150"), array("\x69\x64\137\x70\160\x5f\x70\x72\157\x70\x65\162\164\x79" => 23, "\x74\145\170\x74\137\61" => "\143\155\74\163\165\160\76\62\74\x2f\x73\165\160\x3e", "\x74\145\170\164\137\x32" => "\151\156\x63\x68\x3c\163\165\160\76\62\x3c\x2f\163\165\x70\76"), array("\x69\144\x5f\160\160\137\160\162\x6f\x70\x65\x72\164\x79" => 24, "\164\x65\170\164\x5f\x31" => "\160\145\162\40\143\x6d\x3c\163\x75\x70\x3e\x32\x3c\57\163\x75\160\x3e", "\164\x65\x78\164\x5f\62" => "\x70\145\x72\x20\x69\156\143\150\74\163\165\160\x3e\62\74\57\x73\165\160\x3e"), array("\x69\144\137\x70\x70\x5f\160\162\157\x70\145\x72\164\171" => 25, "\x74\145\x78\x74\x5f\x31" => "\155\x6d", "\x74\x65\x78\x74\x5f\62" => "\151\x6e\x63\x68"), array("\151\x64\x5f\160\160\137\160\x72\x6f\160\x65\162\164\171" => 26, "\164\x65\x78\x74\x5f\x31" => "\x70\x65\x72\40\x6d\x6d", "\164\145\x78\x74\x5f\x32" => "\160\x65\x72\40\x69\x6e\143\150"), array("\151\144\x5f\160\x70\137\x70\162\x6f\x70\x65\162\164\x79" => 27, "\x74\x65\170\164\x5f\61" => "\155\155\74\163\x75\160\x3e\62\74\x2f\x73\x75\x70\x3e", "\164\x65\x78\164\137\62" => "\151\156\x63\150\x3c\163\165\160\x3e\62\x3c\57\x73\x75\x70\x3e"), array("\151\144\137\160\x70\137\160\x72\157\x70\x65\x72\x74\x79" => 28, "\164\x65\x78\x74\137\x31" => "\x70\x65\x72\x20\x6d\x6d\74\x73\x75\160\76\62\x3c\57\x73\165\160\x3e", "\x74\x65\x78\164\137\62" => "\160\x65\x72\x20\151\156\x63\150\x3c\x73\x75\x70\76\x32\x3c\57\x73\165\160\x3e"), array("\x69\x64\x5f\x70\160\137\160\162\x6f\160\145\x72\164\x79" => 29, "\164\145\x78\164\137\61" => "\x70\141\x63\x6b\50\163\x29", "\164\145\x78\x74\137\x32" => "\x70\x61\143\153\x28\x73\x29")); self::dbInsertLang("\x70\x70\x5f\x70\x72\x6f\160\145\x72\x74\x79\x5f\x6c\x61\156\x67", $Z67Fs, $dlWcM); $t7yLi = array(); foreach ($Z67Fs as $c5gSQ) { $t7yLi[] = array("\151\x64\137\x70\160\x5f\160\162\157\x70\145\x72\x74\171" => $c5gSQ["\151\x64\137\x70\x70\137\160\162\157\160\x65\x72\x74\x79"], "\x74\171\x70\x65" => PProperties::PROPERTY_TYPE_GENERAL); mlDHi: } tTRok: self::dbInsert("\x70\x70\137\x70\x72\157\x70\145\x72\x74\171", $t7yLi); $Z67Fs = array(array("\x69\x64\x5f\x70\x70\x5f\160\162\x6f\x70\145\x72\164\171" => 50, "\x74\145\170\x74\137\x31" => "\120\162\157\x64\165\143\164\40\151\163\x20\163\x6f\x6c\144\40\x62\171\40\x77\x65\x69\x67\150\x74\x2e\40\124\x68\145\40\x65\x78\141\143\164\40\160\x72\151\143\x65\x20\167\151\x6c\x6c\40\x62\145\40\x63\x61\154\x63\165\154\x61\164\x65\x64\40\x61\x66\x74\x65\x72\x20\x74\x68\145\x20\x70\162\157\x64\165\x63\164\40\151\163\40\167\x65\x69\147\x68\164\x65\144\x2e", "\164\x65\x78\x74\x5f\62" => "\x50\x72\x6f\144\x75\143\164\x20\x69\163\40\163\x6f\x6c\144\x20\142\171\40\x77\x65\x69\147\150\x74\56\x20\124\x68\145\40\145\170\x61\x63\164\x20\x70\x72\x69\143\x65\x20\x77\151\154\154\x20\142\x65\x20\143\x61\x6c\x63\165\x6c\141\164\x65\x64\40\141\146\164\145\162\x20\x74\150\x65\x20\x70\x72\x6f\x64\x75\143\164\40\x69\163\x20\x77\x65\x69\147\x68\x74\145\x64\x2e"), array("\151\144\137\160\x70\x5f\x70\162\x6f\160\145\x72\164\171" => 51, "\x74\x65\170\164\137\x31" => "\x50\x72\x6f\x64\165\x63\x74\40\151\163\x20\x6f\x72\x64\145\162\145\x64\40\x69\x6e\x20\151\x74\145\x6d\163\x20\x62\x75\164\40\x73\x6f\x6c\x64\x20\142\171\40\167\145\151\x67\x68\164\x2e\40\124\150\x65\40\x65\170\141\x63\x74\x20\x70\x72\x69\143\x65\x20\x77\x69\x6c\154\x20\142\x65\x20\x63\141\x6c\x63\165\x6c\x61\164\145\x64\40\141\146\164\145\x72\40\164\150\145\40\160\162\x6f\x64\x75\143\x74\40\151\163\x20\x77\x65\x69\147\150\164\145\144\56", "\164\x65\x78\x74\137\x32" => "\x50\162\157\144\165\143\164\x20\x69\x73\x20\157\x72\144\145\x72\145\x64\40\151\156\40\x69\164\x65\x6d\163\40\142\165\x74\40\x73\x6f\x6c\x64\x20\x62\171\x20\x77\x65\151\x67\x68\x74\x2e\x20\x54\150\x65\x20\145\x78\x61\143\x74\x20\160\162\x69\143\x65\x20\167\x69\154\154\x20\x62\x65\40\x63\x61\154\143\165\x6c\x61\x74\145\x64\x20\x61\146\x74\x65\x72\40\x74\150\x65\40\x70\x72\x6f\144\x75\x63\164\x20\x69\x73\x20\x77\x65\151\147\x68\164\x65\144\x2e"), array("\x69\x64\137\x70\x70\x5f\160\162\x6f\x70\145\x72\x74\171" => 52, "\164\x65\170\x74\x5f\61" => "\117\162\x64\x65\x72\151\156\x67\40\x70\x61\x72\164\40\x6f\x66\x20\x6b\x67\x20\x69\163\x20\x61\154\154\157\x77\145\x64\56", "\164\145\170\164\137\62" => "\x4f\x72\144\145\162\151\156\x67\x20\160\141\162\164\40\x6f\x66\40\154\x62\x20\151\163\40\141\154\x6c\x6f\167\145\x64\x2e"), array("\x69\144\x5f\x70\x70\x5f\160\162\157\x70\x65\162\x74\x79" => 53, "\164\145\170\x74\x5f\x31" => "\x4f\x72\144\x65\162\151\156\147\x20\x6e\x6f\164\x20\167\150\x6f\x6c\145\40\x6e\x75\x6d\x62\x65\162\x20\157\146\40\x6d\145\x74\145\x72\163\x20\x69\x73\x20\141\154\154\x6f\x77\145\144\56", "\164\x65\x78\x74\137\x32" => "\x4f\x72\144\x65\162\x69\156\x67\x20\x6e\157\x74\x20\167\x68\x6f\x6c\145\40\x6e\165\x6d\142\145\x72\x20\157\146\x20\x66\164\x20\x69\163\40\141\x6c\154\x6f\x77\x65\144\56"), array("\151\144\x5f\160\x70\x5f\160\x72\x6f\x70\x65\x72\164\171" => 54, "\164\145\170\x74\x5f\61" => "\x3c\x64\x69\166\x3e\x74\157\x20\163\x70\145\x63\x69\146\x79\40\160\x61\162\164\x20\x6f\x66\40\x61\x20\171\141\162\144\x20\165\x73\x65\x3a\74\57\x64\151\166\76\74\160\162\145\76\60\x2e\60\66\x32\x35\x20\x66\x6f\x72\40\61\57\x31\66\40\x79\x61\162\144\x73\74\x62\x72\76\60\x2e\x31\62\x35\40\40\x66\x6f\x72\x20\x20\61\57\70\x20\171\141\162\144\x73\74\142\x72\76\60\x2e\62\x35\40\40\x20\146\x6f\162\40\40\61\x2f\64\x20\x79\141\x72\x64\163\74\142\162\x3e\60\x2e\65\40\40\40\x20\146\x6f\x72\x20\40\x31\57\62\40\171\141\162\x64\x73\74\142\x72\76\60\x2e\x37\65\40\40\x20\146\x6f\x72\40\40\63\x2f\64\40\x79\x61\162\144\163\x3c\x2f\x70\x72\145\x3e", "\164\x65\170\x74\137\62" => "\x3c\x64\x69\166\x3e\x74\x6f\x20\x73\160\x65\x63\151\x66\171\40\x70\x61\162\164\40\x6f\146\40\x61\x20\171\x61\162\x64\40\165\x73\145\72\74\x2f\x64\151\166\76\74\x70\x72\145\76\60\56\60\66\62\x35\40\x66\x6f\162\40\x31\x2f\61\66\40\171\141\x72\144\x73\74\142\x72\76\60\56\61\x32\65\40\40\x66\x6f\162\x20\x20\61\x2f\70\40\171\x61\162\144\163\74\142\162\x3e\60\x2e\x32\65\40\x20\40\x66\x6f\x72\x20\x20\61\x2f\x34\x20\171\141\x72\x64\x73\x3c\142\162\76\60\56\65\x20\x20\x20\40\146\x6f\162\x20\40\x31\57\x32\40\x79\x61\162\144\163\x3c\x62\162\76\60\x2e\67\x35\x20\x20\x20\146\157\x72\40\x20\63\x2f\64\40\x79\141\162\x64\163\x3c\x2f\160\162\x65\x3e"), array("\151\x64\x5f\x70\x70\137\x70\x72\x6f\x70\145\x72\164\x79" => 55, "\x74\x65\170\x74\x5f\x31" => "\131\157\x75\40\143\141\156\x20\157\162\144\x65\162\x20\x70\x61\x72\164\40\x6f\x66\40\x74\x68\145\40\x6d\145\x74\x65\162\56", "\164\x65\x78\x74\137\62" => ''), array("\151\x64\137\160\160\x5f\160\x72\x6f\160\x65\x72\x74\171" => 56, "\x74\x65\x78\164\137\x31" => "\131\x6f\165\40\x63\x61\156\156\157\164\x20\x6f\x72\144\x65\x72\40\x6c\145\163\163\40\x74\x68\141\x6e\40\173\103\x52\x4d\x49\x4e\175\x2e", "\x74\x65\170\164\x5f\62" => "\x59\157\x75\40\x63\141\x6e\156\x6f\x74\x20\157\162\x64\145\162\x20\x6c\145\163\x73\40\x74\150\141\x6e\x20\173\x43\122\115\111\x4e\x7d\x2e"), array("\x69\x64\137\160\160\137\x70\162\x6f\x70\x65\x72\x74\171" => 57, "\164\145\170\164\137\61" => "\131\x6f\x75\40\143\x61\156\156\x6f\x74\x20\157\162\144\x65\x72\40\155\x6f\x72\145\x20\x74\x68\x61\156\x20\x7b\103\x52\x4d\101\130\175\56", "\164\x65\170\164\x5f\62" => "\x59\x6f\165\40\143\x61\156\156\x6f\x74\x20\157\x72\x64\x65\162\x20\x6d\x6f\162\145\x20\x74\x68\141\x6e\x20\173\x43\x52\x4d\x41\x58\175\x2e")); self::dbInsertLang("\160\x70\137\x70\x72\157\x70\145\x72\164\171\137\x6c\x61\x6e\x67", $Z67Fs, $dlWcM); $t7yLi = array(); foreach ($Z67Fs as $c5gSQ) { $t7yLi[] = array("\x69\144\137\160\x70\137\x70\x72\157\x70\x65\162\x74\x79" => $c5gSQ["\x69\x64\137\160\x70\x5f\160\162\x6f\x70\x65\162\x74\171"], "\164\171\x70\145" => PProperties::PROPERTY_TYPE_BLOCK_TEXT); EFAQ8: } UqZNd: self::dbInsert("\x70\x70\137\x70\x72\157\160\x65\x72\164\x79", $t7yLi); $Z67Fs = array(array("\151\x64\x5f\160\160\137\160\x72\x6f\160\145\162\164\171" => 70, "\164\145\170\164\x5f\x31" => "\x64\x69\x6d\x65\x6e\x73\x69\x6f\x6e\x73", "\164\x65\x78\x74\x5f\62" => "\144\151\155\x65\x6e\163\x69\x6f\156\163"), array("\151\144\x5f\160\x70\x5f\160\162\157\x70\145\162\164\171" => 71, "\x74\145\x78\x74\137\x31" => "\x6c\x65\x6e\x67\x74\x68\72", "\164\145\170\x74\x5f\62" => "\154\145\x6e\x67\164\150"), array("\x69\144\x5f\160\160\137\160\x72\x6f\x70\145\x72\164\171" => 72, "\x74\145\170\x74\x5f\61" => "\167\x69\144\164\150\x3a", "\164\x65\170\x74\x5f\62" => "\x77\x69\144\x74\x68"), array("\x69\x64\x5f\x70\160\137\x70\x72\157\160\145\x72\x74\171" => 73, "\164\145\x78\x74\137\x31" => "\150\x65\x69\147\x68\x74\72", "\164\x65\170\x74\x5f\62" => "\x68\145\x69\147\x68\x74"), array("\x69\x64\x5f\160\160\x5f\x70\162\x6f\x70\x65\162\164\171" => 74, "\164\x65\170\164\137\x31" => "\144\145\x70\164\150\x3a", "\x74\x65\170\164\137\62" => "\x64\145\160\x74\x68"), array("\x69\144\x5f\160\160\x5f\x70\x72\x6f\x70\x65\x72\x74\x79" => 75, "\164\x65\170\x74\x5f\x31" => "\163\161\x75\x61\x72\x65\72", "\164\145\x78\x74\x5f\62" => "\x73\x71\x75\141\x72\x65"), array("\x69\x64\137\160\x70\137\160\162\x6f\x70\x65\162\164\x79" => 76, "\164\x65\x78\164\x5f\61" => "\x70\145\x72\x69\x6d\145\164\x65\x72\72", "\164\145\x78\164\x5f\x32" => "\160\x65\162\x69\155\x65\164\145\162")); self::dbInsertLang("\x70\x70\x5f\x70\162\157\160\x65\162\164\x79\x5f\x6c\141\156\x67", $Z67Fs, $dlWcM); $t7yLi = array(); foreach ($Z67Fs as $c5gSQ) { $t7yLi[] = array("\151\x64\137\160\x70\137\x70\x72\157\160\x65\x72\x74\x79" => $c5gSQ["\151\144\137\160\x70\137\160\x72\157\x70\x65\162\164\x79"], "\x74\x79\x70\145" => PProperties::PROPERTY_TYPE_EXT); vaF7I: } jLr6a: self::dbInsert("\160\160\x5f\x70\x72\157\160\145\x72\164\x79", $t7yLi); $Z67Fs = array(array("\x69\144\x5f\160\160\x5f\x74\145\x6d\x70\x6c\141\164\x65" => 10, "\x74\x79\x70\x65" => 1, "\155\145\164\x68\157\x64" => 1, "\164\x69\x74\x6c\145" => 70, "\160\x72\157\x70\145\x72\164\x79" => 75, "\x74\x65\x78\x74" => 17, "\x65\x78\160\x6c\x61\156\x61\x74\x69\157\x6e" => 55, "\x6d\151\156\151\155\x75\x6d\x5f\x71\165\141\x6e\164\x69\164\x79\137\164\145\170\164" => 56, "\x6d\141\170\x69\155\x75\155\x5f\x71\x75\x61\x6e\x74\x69\164\x79\137\x74\x65\170\x74" => 57), array("\151\x64\137\x70\x70\x5f\164\145\x6d\160\154\141\164\x65" => 11, "\164\x79\160\x65" => 1, "\155\145\x74\x68\157\x64" => 2, "\x74\x69\164\x6c\x65" => 70, "\160\x72\x6f\x70\x65\162\164\x79" => 76, "\x74\x65\170\x74" => 15)); self::dbInsertTemplateSpecial("\x70\x70\137\x74\x65\155\160\x6c\141\x74\x65\137\145\170\164", "\155\x65\x74\x68\x6f\144", $Z67Fs); $Z67Fs = array(array("\151\144\x5f\160\x70\x5f\164\x65\x6d\x70\x6c\141\164\x65" => 10, "\x69\144\137\145\x78\x74\x5f\x70\162\x6f\160" => 1, "\160\157\163\x69\164\151\x6f\156" => 1, "\x70\x72\157\x70\x65\x72\x74\171" => 71, "\164\x65\170\164" => 15, "\x6f\x72\x64\x65\x72\x5f\164\x65\170\164" => 15, "\x6d\x69\x6e\151\x6d\x75\155\x5f\x71\165\x61\x6e\164\151\164\171" => 0.1, "\144\145\x66\x61\165\x6c\164\x5f\x71\165\141\x6e\x74\x69\x74\171" => 1), array("\151\x64\137\x70\160\x5f\x74\x65\x6d\x70\x6c\141\164\x65" => 10, "\151\x64\x5f\x65\x78\164\137\x70\162\x6f\x70" => 2, "\160\x6f\x73\151\164\x69\157\x6e" => 2, "\x70\162\157\160\145\x72\x74\x79" => 72, "\x74\x65\170\x74" => 15, "\x6f\162\144\x65\162\137\164\x65\170\164" => 15, "\x6d\151\x6e\151\155\x75\155\137\161\165\141\156\x74\151\164\171" => 0.1, "\144\145\x66\141\x75\x6c\x74\137\x71\x75\x61\x6e\164\x69\164\x79" => 0.5), array("\151\x64\137\x70\x70\x5f\164\145\x6d\160\x6c\141\164\145" => 11, "\x69\144\x5f\145\x78\x74\x5f\x70\162\x6f\x70" => 1, "\x70\x6f\163\x69\164\151\x6f\156" => 1, "\x70\x72\157\x70\145\162\164\x79" => 71, "\164\x65\x78\164" => 15, "\x6f\162\x64\x65\x72\x5f\x74\x65\x78\x74" => 15, "\155\151\156\x69\x6d\165\155\137\161\165\x61\156\164\x69\x74\x79" => 0.1, "\144\x65\146\x61\165\154\164\137\x71\165\141\156\164\151\164\x79" => 1), array("\151\x64\137\x70\160\x5f\164\145\x6d\160\x6c\x61\164\x65" => 11, "\x69\144\x5f\145\x78\164\137\160\x72\157\160" => 2, "\160\157\163\x69\x74\x69\157\156" => 2, "\160\162\157\x70\x65\x72\x74\171" => 72, "\164\145\170\x74" => 15, "\x6f\x72\x64\x65\162\x5f\x74\145\170\164" => 15, "\x6d\151\156\151\x6d\x75\155\137\x71\x75\x61\156\x74\x69\164\171" => 0.1, "\144\x65\x66\x61\165\154\x74\x5f\161\x75\x61\156\x74\151\164\x79" => 0.5)); self::dbInsertTemplateSpecial("\x70\160\137\164\145\155\160\x6c\141\x74\x65\137\x65\x78\164\x5f\160\162\x6f\160", "\x70\157\163\151\x74\x69\157\x6e", $Z67Fs); } protected function dbData() { $CWu4z = array(); $CWu4z[] = array("\x66\x75\x6e\x63" => array($this, "\x63\150\x65\x63\x6b\x43\141\x72\x74\x50\x72\x6f\144\165\143\x74\120\162\x69\x6d\141\x72\171\113\x65\171")); $CWu4z[] = array("\146\x75\156\143" => array($this, "\146\x75\156\x63\x74\151\x6f\156\124\x72\165\x65"), "\x73\x71\x6c" => "\101\x4c\x54\105\122\40\x54\101\x42\x4c\105\40" . _DB_PREFIX_ . "\163\160\145\143\x69\x66\151\143\137\160\162\x69\143\x65\40\x43\110\101\116\x47\105\40\146\162\x6f\155\137\x71\165\x61\156\164\151\164\x79\x20\146\x72\157\155\137\161\x75\141\x6e\x74\151\x74\x79\40\x64\145\x63\151\x6d\x61\x6c\x28\62\60\54\x36\x29\x20\116\x4f\124\x20\116\x55\x4c\114\40\x44\x45\x46\x41\x55\114\x54\x20\60\x2e\x30\x30\60\x30\x30\60"); $CWu4z[] = array("\164\141\142\154\x65" => "\x70\x70\x5f\164\145\155\160\x6c\x61\164\145", "\x73\161\154" => "\140\x69\144\137\160\x70\137\x74\x65\155\x70\154\x61\164\x65\140\x20\151\156\164\x28\x31\60\x29\40\x75\x6e\x73\151\147\156\145\x64\40\116\117\124\40\116\125\114\x4c\x20\x41\x55\124\x4f\137\111\116\103\122\x45\x4d\x45\116\x54\40\120\122\x49\x4d\x41\x52\131\x20\113\105\131\54\xa\x20\40\x20\x20\40\40\40\x20\x20\40\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\40\x60\166\x65\x72\x73\151\x6f\x6e\x60\x20\164\151\156\171\151\x6e\x74\40\x75\x6e\x73\151\147\156\145\x64\40\116\117\124\40\116\125\114\x4c\x2c\xa\40\x20\x20\40\x20\40\40\40\x20\40\40\40\x20\x20\40\x20\40\40\x20\x20\40\x20\40\x20\x60\161\x74\x79\x5f\x70\x6f\x6c\151\143\171\140\x20\x74\151\x6e\171\151\x6e\164\40\165\156\163\x69\147\x6e\145\144\x20\116\117\x54\x20\116\125\x4c\x4c\40\104\x45\x46\101\x55\x4c\x54\x20\x30\x2c\12\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\x20\x20\140\161\x74\x79\x5f\155\157\144\x65\x60\x20\x74\x69\156\x79\x69\156\164\x20\x75\156\163\151\x67\x6e\145\144\x20\116\x4f\x54\x20\116\125\x4c\114\40\x44\x45\x46\101\125\114\124\x20\x30\x2c\xa\40\40\x20\40\40\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\x20\40\40\40\x20\x60\155\145\x61\x73\165\162\x65\x6d\x65\156\164\x5f\163\x79\163\x74\145\x6d\140\x20\164\151\156\x79\x69\x6e\164\x20\165\156\x73\x69\x67\156\x65\x64\x20\116\x4f\x54\40\116\125\114\114\40\x44\x45\x46\x41\125\x4c\124\x20\x30\54\xa\x20\40\x20\x20\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\40\40\x20\140\x64\151\163\x70\154\x61\171\137\155\157\144\145\140\40\x74\151\156\x79\x69\x6e\x74\40\165\x6e\163\x69\147\x6e\145\144\x20\116\117\124\40\116\125\x4c\114\x20\x44\105\x46\101\125\114\124\40\60\54\xa\40\x20\40\40\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\40\40\140\160\x72\151\x63\145\137\x64\151\x73\x70\x6c\x61\171\137\155\157\144\x65\x60\40\164\151\156\171\151\156\164\40\x75\156\x73\x69\147\156\145\144\40\116\x4f\x54\40\x4e\125\x4c\x4c\x20\104\x45\x46\101\125\114\124\40\x30\54\12\x20\40\40\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\40\40\x20\x20\40\x60\165\x6e\x69\x74\137\x70\162\x69\x63\145\137\x72\x61\164\151\x6f\140\40\x64\x65\x63\x69\155\x61\154\x28\x32\60\54\66\x29\x20\x4e\x4f\x54\40\116\125\x4c\114\x20\x44\105\106\101\x55\x4c\x54\x20\x30\56\60\60\x30\x30\x30\60\54\12\40\x20\x20\40\40\40\40\40\40\x20\40\40\40\40\40\x20\x20\x20\x20\x20\40\40\40\40\x60\x6d\151\156\x69\155\x61\154\137\x70\x72\x69\143\x65\x5f\x72\141\164\151\x6f\140\40\144\x65\x63\151\x6d\141\x6c\50\x32\x30\x2c\66\x29\40\x4e\x4f\124\x20\x4e\125\114\x4c\x20\104\x45\x46\101\125\114\x54\x20\60\56\60\x30\60\60\60\60\x2c\xa\x20\40\x20\40\40\x20\x20\40\40\40\40\x20\x20\x20\x20\40\40\40\x20\40\x20\x20\x20\40\140\x6d\151\156\x69\155\x61\154\137\x71\165\141\x6e\164\151\164\x79\140\x20\144\x65\143\x69\155\x61\154\x28\x32\x30\54\x36\51\40\116\x4f\124\x20\x4e\x55\x4c\x4c\x20\104\105\106\101\125\114\124\x20\x30\56\60\x30\x30\60\x30\x30\54\12\40\40\40\40\40\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\140\155\141\170\x69\x6d\165\x6d\x5f\x71\x75\141\x6e\164\151\x74\x79\140\x20\x64\x65\143\x69\x6d\141\x6c\50\62\60\x2c\66\x29\40\116\x4f\124\40\x4e\125\114\114\40\x44\105\106\101\x55\114\x54\x20\x30\x2e\60\60\60\x30\60\x30\x2c\12\40\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\40\40\40\40\x20\x20\x20\40\x20\40\x60\x74\157\164\141\x6c\x5f\x6d\141\170\151\155\165\x6d\137\161\165\x61\x6e\164\x69\x74\171\x60\40\x64\x65\x63\x69\x6d\x61\x6c\50\62\x30\54\x36\51\40\x4e\x4f\x54\x20\116\125\x4c\114\40\x44\x45\x46\101\125\114\x54\40\x30\x2e\60\60\x30\x30\60\60\x2c\12\40\x20\x20\40\40\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\40\40\40\x20\x20\40\x20\40\x60\x64\x65\146\141\165\x6c\164\x5f\161\x75\141\156\164\x69\x74\171\x60\x20\x64\x65\x63\x69\155\x61\x6c\50\62\60\x2c\66\x29\40\116\117\124\x20\116\x55\114\x4c\x20\x44\x45\106\101\x55\x4c\124\x20\x30\x2e\60\x30\x30\x30\60\60\x2c\12\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\40\x60\x71\x74\171\x5f\x73\164\x65\160\140\x20\144\145\x63\x69\155\x61\x6c\x28\62\60\54\66\x29\40\116\117\124\x20\116\125\x4c\114\40\x44\105\x46\101\125\114\124\40\x30\x2e\60\x30\x30\60\x30\60\x2c\xa\x20\x20\40\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\x20\40\x60\x71\164\171\x5f\x76\x61\154\x75\x65\163\x60\x20\x76\x61\162\x63\150\141\162\50\x32\x35\x36\51\x2c\12\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\40\40\x20\140\145\x78\164\140\x20\x74\151\x6e\x79\x69\156\164\x20\165\156\163\151\147\x6e\x65\x64\40\116\117\124\40\x4e\125\114\114\40\104\x45\106\101\125\114\x54\40\60\54\12\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\140\x71\x74\x79\137\141\x76\x61\151\154\141\142\154\145\x5f\x64\151\163\160\154\141\171\x60\40\x74\x69\156\x79\x69\156\x74\x20\x75\x6e\x73\151\x67\x6e\x65\x64\x20\x4e\117\124\x20\x4e\125\114\x4c\40\x44\x45\x46\x41\x55\x4c\124\x20\60\x2c\12\40\x20\x20\40\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\40\40\x20\140\x68\x69\x64\x64\x65\156\x60\40\x74\x69\x6e\171\151\156\164\x20\165\x6e\x73\x69\147\x6e\145\144\x20\x4e\117\x54\x20\x4e\125\114\x4c\40\104\105\106\101\x55\x4c\124\40\60\54\12\x20\x20\40\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\40\40\40\x20\x20\x60\143\x75\x73\164\157\155\x69\172\141\164\151\157\x6e\x60\40\164\x69\x6e\x79\151\156\164\50\x31\51\40\165\156\x73\x69\x67\156\x65\x64\40\x4e\x4f\x54\x20\116\125\x4c\x4c\40\104\x45\106\101\x55\114\x54\x20\60\x2c\12\40\40\40\x20\40\x20\40\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\x60\x63\x73\x73\140\x20\x76\141\162\x63\150\141\x72\x28\62\x35\x36\51"); $CWu4z[] = array("\164\x61\142\154\x65" => "\160\x70\137\164\x65\x6d\160\154\141\x74\145\137\x6c\x61\156\147", "\163\x71\x6c" => "\140\151\144\x5f\160\x70\137\164\x65\155\160\154\x61\x74\x65\140\40\151\x6e\x74\x28\61\60\x29\40\x75\156\163\151\147\156\145\144\x20\x4e\117\x54\40\116\x55\114\x4c\54\12\40\40\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\40\140\x69\x64\137\x6c\x61\x6e\x67\140\x20\x69\x6e\x74\50\61\x30\51\x20\165\156\163\151\x67\156\145\144\40\116\x4f\x54\40\116\x55\x4c\114\54\12\40\x20\x20\x20\x20\x20\40\40\40\40\40\40\x20\x20\x20\x20\40\40\x20\40\40\x20\40\40\140\x6e\141\155\x65\140\40\166\x61\x72\143\150\x61\x72\50\x34\x38\x29\x20\116\x4f\124\x20\116\125\114\x4c\54\12\40\40\x20\40\x20\40\40\x20\40\40\40\40\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\140\x61\x75\x74\157\137\x64\x65\x73\x63\x5f\61\x60\40\x74\151\x6e\x79\x69\x6e\x74\40\x75\x6e\163\x69\x67\x6e\145\144\x20\x4e\x4f\x54\x20\x4e\x55\x4c\114\x20\104\x45\x46\101\125\114\124\40\x30\x2c\xa\x20\40\40\40\40\40\x20\40\40\x20\x20\x20\40\40\x20\40\x20\40\40\40\x20\40\x20\40\x60\144\145\163\143\162\x69\160\x74\x69\x6f\156\x5f\x31\140\x20\164\x65\x78\164\54\12\40\40\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\x60\141\165\x74\157\137\144\145\x73\143\137\x32\x60\40\164\151\156\x79\x69\156\164\40\x75\x6e\x73\x69\x67\x6e\x65\144\x20\116\x4f\124\40\116\125\x4c\114\x20\104\x45\106\x41\125\114\124\40\x30\54\12\40\40\40\x20\x20\40\40\40\40\x20\40\40\x20\x20\40\x20\x20\40\40\x20\x20\40\40\x20\140\x64\145\x73\x63\162\151\160\164\x69\157\x6e\137\62\x60\40\x74\x65\x78\x74\54\12\40\40\40\x20\40\40\40\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x50\x52\x49\115\x41\122\131\x20\x4b\105\131\40\50\140\151\144\137\x70\160\137\164\145\155\160\x6c\x61\164\145\x60\x2c\x20\140\x69\144\137\154\141\x6e\x67\140\51"); $CWu4z[] = array("\164\x61\142\154\x65" => "\160\160\x5f\x74\x65\x6d\160\x6c\141\x74\145\137\160\162\157\x70\145\x72\x74\171", "\163\161\x6c" => "\140\151\x64\x5f\160\160\137\x74\145\x6d\160\154\x61\164\x65\140\40\151\156\164\x28\x31\x30\51\40\165\x6e\x73\151\x67\x6e\x65\144\x20\x4e\117\x54\x20\116\x55\114\x4c\x2c\xa\x20\x20\40\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\40\x20\40\140\160\x70\137\156\x61\x6d\x65\140\40\166\x61\162\143\x68\141\x72\50\x33\x32\x29\x20\116\x4f\x54\x20\116\125\x4c\114\x2c\12\x20\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\40\40\40\x20\140\x69\x64\x5f\x70\x70\137\x70\x72\x6f\160\x65\162\x74\x79\140\x20\151\x6e\164\50\61\x30\x29\x20\165\x6e\x73\151\147\156\x65\x64\x20\x4e\x4f\124\40\x4e\125\114\114\54\12\40\x20\x20\40\40\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\40\40\40\40\x20\40\x20\x20\x49\116\x44\105\x58\x20\50\151\144\137\x70\x70\137\x74\x65\x6d\x70\154\141\164\x65\x29"); $CWu4z[] = array("\x74\x61\142\154\145" => "\x70\x70\x5f\x70\x72\157\160\145\x72\164\x79", "\163\161\x6c" => "\140\151\144\137\160\160\x5f\x70\162\157\x70\x65\x72\164\171\140\x20\x69\x6e\164\x28\61\60\51\40\165\x6e\x73\151\x67\x6e\x65\144\40\x4e\117\x54\40\116\x55\x4c\x4c\40\101\125\124\x4f\137\x49\116\103\x52\105\115\x45\116\124\40\120\122\111\115\x41\122\131\x20\113\x45\131\54\12\x20\x20\40\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\x20\40\x60\x74\171\x70\145\x60\40\x69\x6e\x74\50\61\60\51\x20\116\117\124\x20\x4e\125\114\114", "\157\160\x74\x69\x6f\x6e\163" => "\x41\x55\x54\117\x5f\x49\116\x43\122\x45\x4d\x45\x4e\124\x20\75\x20" . PProperties::USER_START_ID); $CWu4z[] = array("\x74\x61\142\x6c\145" => "\160\x70\137\x70\x72\x6f\160\x65\x72\164\171\x5f\154\x61\156\x67", "\163\x71\x6c" => "\x60\x69\x64\137\x70\160\137\160\162\157\160\145\x72\164\x79\140\40\151\156\x74\x28\x31\60\x29\x20\x75\156\163\151\147\x6e\x65\x64\x20\x4e\x4f\124\x20\x4e\x55\x4c\x4c\x2c\xa\40\x20\x20\x20\40\40\40\40\x20\40\x20\x20\x20\40\40\40\40\x20\40\40\x20\40\x20\40\x60\x69\x64\137\154\x61\156\x67\140\40\151\156\164\50\61\60\51\x20\165\156\163\x69\147\x6e\x65\x64\x20\116\x4f\x54\x20\116\125\114\114\x2c\12\40\40\40\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\x20\40\40\x60\164\x65\x78\x74\137\x31\140\40\164\145\170\164\x20\x4e\x4f\x54\40\x4e\125\x4c\114\x2c\xa\40\x20\x20\x20\40\40\x20\40\40\40\40\x20\x20\40\40\x20\x20\40\40\40\40\x20\x20\40\x60\164\x65\170\x74\x5f\62\140\x20\x74\x65\170\x74\x20\x4e\x4f\x54\x20\x4e\x55\x4c\x4c\x2c\12\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\120\x52\x49\x4d\101\x52\131\x20\x4b\x45\x59\40\50\140\x69\144\x5f\160\x70\x5f\x70\x72\157\160\x65\162\164\x79\x60\54\x20\140\x69\144\137\154\x61\x6e\147\140\x29"); $CWu4z[] = array("\x74\x61\x62\x6c\145" => "\x70\x70\137\164\x65\x6d\x70\154\141\164\x65\x5f\x65\x78\x74", "\x73\x71\154" => "\140\151\144\137\160\160\137\164\145\155\x70\154\x61\164\x65\140\x20\151\156\x74\x28\x31\x30\51\40\165\156\x73\151\x67\x6e\x65\x64\40\x4e\117\x54\40\x4e\x55\114\x4c\54\12\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\40\40\40\40\140\164\x79\x70\x65\x60\x20\x74\x69\x6e\171\151\x6e\x74\x20\165\x6e\x73\151\x67\156\x65\144\x20\x4e\117\x54\x20\116\125\x4c\114\x20\104\105\x46\x41\x55\114\x54\x20\x30\54\xa\40\x20\40\40\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\40\40\40\x20\40\40\40\40\x20\140\x70\x6f\x6c\151\x63\171\140\40\x74\151\x6e\x79\151\x6e\x74\40\x75\156\x73\151\147\156\x65\x64\x20\x4e\x4f\x54\40\x4e\125\114\x4c\40\104\105\x46\x41\x55\114\124\x20\x30\54\xa\x20\x20\x20\40\40\40\x20\x20\40\x20\40\40\40\40\40\40\40\x20\x20\x20\40\x20\40\40\140\x6d\x65\164\x68\x6f\144\x60\40\151\x6e\x74\50\61\x30\x29\40\165\x6e\x73\151\147\x6e\x65\x64\x20\116\117\124\40\116\125\x4c\x4c\x20\x44\105\106\101\x55\114\124\40\60\x2c\12\40\40\x20\x20\40\40\x20\40\x20\x20\40\x20\40\40\x20\40\40\x20\40\x20\40\x20\40\x20\140\164\151\x74\x6c\145\x60\x20\x69\156\164\x28\61\60\x29\40\x75\x6e\163\151\x67\156\x65\x64\x20\116\x4f\x54\40\x4e\x55\x4c\x4c\x20\104\105\106\x41\x55\114\x54\40\60\x2c\xa\40\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\40\x20\40\x20\x60\160\162\x6f\x70\x65\162\164\x79\x60\40\151\x6e\164\x28\61\60\51\40\165\156\x73\x69\147\x6e\145\144\40\x4e\x4f\124\x20\x4e\x55\x4c\x4c\40\104\105\x46\101\125\x4c\x54\x20\60\x2c\12\40\40\40\40\x20\40\x20\40\40\40\x20\x20\x20\40\x20\x20\40\40\x20\40\x20\40\40\40\140\164\x65\x78\164\140\40\151\x6e\164\50\x31\60\x29\x20\x75\x6e\163\151\x67\156\x65\144\x20\x4e\117\x54\x20\116\125\x4c\114\x20\x44\x45\106\101\125\x4c\124\x20\60\x2c\xa\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\40\140\x65\x78\160\154\x61\x6e\141\x74\x69\157\x6e\x60\x20\x69\x6e\x74\50\61\x30\x29\x20\165\156\x73\x69\147\x6e\x65\x64\40\116\117\124\x20\116\x55\x4c\114\x20\104\x45\106\x41\x55\x4c\124\40\60\54\xa\40\40\40\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\x60\x6d\151\156\x69\155\x75\x6d\137\161\x75\141\156\164\151\164\171\x60\x20\144\x65\143\151\x6d\x61\154\x28\62\60\x2c\66\x29\40\116\117\x54\x20\116\125\x4c\x4c\x20\104\x45\106\101\125\114\x54\x20\x30\x2e\60\x30\x30\x30\60\60\x2c\12\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\40\40\140\155\x61\x78\x69\155\x75\155\137\x71\165\x61\x6e\x74\151\x74\171\x60\x20\x64\x65\143\x69\x6d\x61\x6c\x28\x32\x30\x2c\66\x29\40\x4e\117\124\x20\x4e\125\x4c\114\40\x44\x45\x46\101\125\114\x54\40\x30\56\x30\x30\60\60\x30\x30\54\xa\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\40\x20\40\x20\x20\40\140\155\x69\x6e\151\155\165\x6d\x5f\x71\165\x61\x6e\x74\151\164\171\x5f\x74\x65\x78\164\140\x20\151\156\x74\x28\61\60\x29\40\165\156\163\151\147\x6e\145\144\x20\x4e\x4f\124\x20\116\x55\114\114\x20\x44\x45\x46\x41\125\x4c\x54\40\60\x2c\xa\x20\x20\40\x20\40\40\x20\x20\40\40\x20\x20\40\40\40\40\40\40\x20\x20\40\40\40\x20\140\155\x61\170\x69\x6d\x75\x6d\137\161\165\141\156\164\151\164\x79\x5f\164\x65\170\164\x60\40\x69\x6e\164\x28\x31\x30\x29\x20\x75\156\x73\151\x67\156\x65\x64\x20\116\117\124\x20\x4e\125\114\114\x20\x44\105\106\x41\x55\x4c\124\x20\60\54\xa\40\40\40\40\40\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\40\140\x6d\151\x6e\151\155\x61\154\137\x70\162\151\143\145\x5f\162\x61\x74\151\x6f\140\40\x64\145\143\151\x6d\141\154\50\x32\60\x2c\66\51\40\116\x4f\x54\x20\x4e\x55\114\x4c\40\x44\105\x46\101\x55\x4c\124\40\x30\x2e\60\60\x30\60\x30\60\54\12\40\40\40\x20\x20\40\40\x20\40\40\x20\40\x20\x20\40\40\40\40\x20\40\x20\40\x20\40\x49\x4e\104\x45\130\40\50\151\144\137\x70\160\x5f\164\145\x6d\160\x6c\x61\164\x65\x29"); $CWu4z[] = array("\x74\141\x62\154\x65" => "\160\x70\x5f\x74\x65\155\x70\x6c\x61\164\145\137\x65\170\164\137\160\x72\x6f\160", "\x73\161\x6c" => "\x60\x69\144\137\160\160\x5f\x74\x65\x6d\160\x6c\x61\x74\145\x60\x20\151\156\x74\x28\61\x30\x29\40\x75\156\x73\x69\147\156\145\x64\40\x4e\117\124\40\x4e\125\114\114\54\12\x20\40\40\40\40\40\x20\x20\40\x20\40\40\x20\40\40\x20\x20\40\40\40\40\x20\x20\40\140\151\x64\x5f\x65\170\x74\x5f\x70\162\157\160\140\40\x69\156\164\50\x31\60\51\x20\x75\x6e\163\151\147\156\145\144\x20\116\x4f\x54\x20\116\125\x4c\x4c\40\x44\105\x46\101\x55\x4c\124\40\60\54\xa\x20\40\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\40\40\x60\x70\x6f\x73\x69\x74\x69\x6f\x6e\140\x20\164\151\x6e\171\151\x6e\164\x20\165\156\163\151\x67\156\145\x64\x20\x4e\x4f\x54\x20\116\125\114\x4c\x20\x44\105\x46\x41\x55\x4c\x54\40\x30\54\xa\40\x20\x20\40\40\x20\40\x20\40\40\40\40\x20\x20\40\40\x20\40\x20\x20\x20\40\40\x20\x60\160\x72\x6f\x70\145\162\164\171\140\x20\151\x6e\164\50\x31\60\x29\40\165\156\163\x69\x67\x6e\x65\144\x20\x4e\117\124\x20\x4e\x55\x4c\114\40\104\x45\106\x41\125\114\124\x20\60\54\12\40\x20\40\x20\x20\40\40\40\x20\40\40\x20\40\40\x20\40\40\x20\x20\x20\x20\40\x20\40\x60\164\145\x78\x74\140\x20\x69\156\164\x28\x31\x30\x29\x20\x75\156\x73\x69\x67\x6e\x65\x64\x20\x4e\117\x54\40\x4e\125\x4c\x4c\40\104\105\x46\x41\125\x4c\124\40\60\54\12\x20\40\40\x20\40\x20\40\x20\40\x20\40\x20\40\40\40\40\40\x20\40\40\40\40\x20\40\x60\157\x72\144\x65\162\x5f\x74\145\x78\164\140\40\x69\156\164\50\61\x30\x29\x20\x75\x6e\163\151\147\x6e\145\x64\40\x4e\117\x54\x20\x4e\x55\x4c\114\40\104\105\106\101\125\x4c\124\40\x30\x2c\12\40\x20\40\40\40\x20\x20\40\40\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\40\40\x20\x60\x6d\151\156\x69\155\165\x6d\x5f\161\x75\141\156\164\x69\x74\171\140\40\144\x65\143\x69\155\x61\x6c\50\62\x30\54\x36\51\40\116\117\x54\x20\x4e\x55\x4c\114\x20\x44\105\106\x41\125\114\x54\40\60\x2e\x30\60\60\x30\60\x30\54\12\40\40\x20\40\x20\x20\40\x20\x20\40\40\40\40\x20\x20\40\40\40\x20\x20\40\x20\40\40\x60\155\x61\170\151\155\x75\x6d\x5f\x71\165\141\156\164\x69\x74\x79\140\x20\x64\145\143\x69\x6d\x61\x6c\50\62\60\54\66\x29\40\116\117\124\x20\116\x55\114\114\40\104\105\x46\x41\x55\114\x54\x20\x30\x2e\60\x30\x30\x30\x30\60\54\12\40\40\x20\x20\40\x20\x20\40\40\x20\40\x20\40\40\40\x20\40\x20\40\40\x20\40\x20\40\x60\144\x65\146\141\165\x6c\164\x5f\161\x75\141\x6e\x74\x69\x74\171\x60\40\144\x65\x63\x69\x6d\x61\154\50\x32\60\x2c\66\51\x20\116\117\x54\40\116\125\114\x4c\x20\x44\105\106\101\125\x4c\x54\x20\x30\x2e\x30\x30\x30\x30\60\x30\x2c\12\x20\40\x20\x20\40\40\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\x60\161\x74\x79\x5f\x73\164\x65\x70\140\40\144\145\x63\151\x6d\x61\x6c\50\62\60\54\x36\51\x20\116\117\x54\x20\116\x55\x4c\x4c\x20\x44\105\x46\x41\x55\114\x54\x20\60\x2e\x30\x30\x30\60\60\x30\x2c\xa\40\40\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\x60\x71\x74\x79\137\162\141\x74\x69\x6f\x60\x20\144\145\x63\151\x6d\x61\154\x28\62\x30\54\x36\51\40\116\117\x54\40\116\x55\x4c\114\x20\x44\x45\106\101\125\x4c\124\x20\x30\56\60\x30\60\x30\x30\60\x2c\12\40\40\40\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\40\x20\x20\40\x49\116\x44\x45\x58\x20\x28\151\144\x5f\160\x70\x5f\x74\145\x6d\160\x6c\x61\164\145\51"); $CWu4z[] = array("\x74\x61\142\x6c\145" => "\x70\x70\137\x6f\162\144\145\162\137\x64\145\x74\141\151\154", "\163\161\x6c" => "\x60\x69\144\137\x70\160\x5f\x6f\x72\x64\145\x72\x5f\144\145\164\141\151\154\140\x20\x69\x6e\x74\x28\x31\x30\51\40\x75\x6e\x73\151\147\x6e\145\144\40\116\117\x54\x20\116\125\x4c\114\x20\101\125\x54\117\x5f\x49\x4e\x43\x52\x45\115\105\116\x54\40\x50\122\111\x4d\x41\122\x59\40\113\x45\131\54\xa\40\40\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\40\40\x20\40\x60\x69\144\137\x6f\162\144\x65\x72\140\40\x69\x6e\164\50\x31\60\51\40\165\x6e\x73\151\147\x6e\x65\144\40\116\x4f\x54\x20\x4e\x55\x4c\x4c\x2c\xa\x20\40\40\40\x20\40\40\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\x20\140\151\x64\x5f\157\162\144\145\x72\137\x64\145\x74\141\151\x6c\140\x20\151\x6e\164\50\61\60\51\40\x75\156\x73\x69\x67\x6e\145\144\x20\116\x4f\124\40\x4e\x55\114\x4c\54\12\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\x60\x69\x64\137\x73\150\x6f\x70\x60\40\x69\x6e\164\x28\x31\61\x29\x20\165\x6e\163\x69\x67\156\145\x64\x20\x4e\117\x54\40\x4e\125\114\x4c\54\12\x20\40\40\40\40\x20\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\40\x20\40\x20\x60\151\x64\x5f\143\x61\x72\164\137\160\x72\x6f\144\165\143\x74\140\x20\151\156\x74\50\x31\x30\51\x20\x75\x6e\163\151\x67\156\145\x64\x20\116\117\x54\40\116\125\x4c\x4c\x2c\xa\40\40\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\40\40\40\x20\40\40\x60\151\144\x5f\x70\162\157\x64\165\143\164\140\40\151\x6e\x74\50\61\60\51\x20\x75\156\163\151\147\x6e\145\x64\x20\116\117\x54\x20\x4e\125\114\x4c\54\12\x20\x20\40\40\x20\x20\40\x20\x20\40\40\x20\40\40\40\x20\40\x20\40\40\40\40\40\40\140\x69\144\x5f\160\162\x6f\x64\x75\x63\x74\137\141\164\x74\162\151\x62\x75\x74\x65\x60\x20\x69\156\x74\x28\x31\x30\x29\x20\165\x6e\163\x69\147\156\145\144\40\104\x45\106\x41\x55\x4c\124\40\116\x55\x4c\114\x2c\xa\40\x20\x20\x20\x20\40\x20\x20\40\40\40\x20\x20\40\x20\40\40\x20\x20\40\40\40\40\x20\140\161\x75\141\x6e\164\x69\164\171\140\x20\x64\x65\x63\151\x6d\x61\x6c\x28\x32\60\54\x36\51\x20\x4e\x4f\x54\x20\116\x55\x4c\x4c\x20\104\x45\x46\x41\x55\x4c\x54\40\x30\x2e\x30\x30\60\60\x30\x30\x2c\xa\x20\40\40\x20\40\40\40\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\40\40\40\40\x20\40\x60\x64\141\164\x61\137\164\x79\160\145\140\40\166\141\162\x63\x68\x61\x72\x28\x33\x32\x29\40\x4e\x4f\124\40\x4e\x55\x4c\x4c\x2c\12\40\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\40\x20\x20\140\144\x61\x74\141\140\40\164\x65\x78\x74\54\xa\x20\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\40\x20\40\111\116\x44\105\130\x20\140\151\x64\137\x70\x72\x6f\x64\x75\x63\164\x60\x20\50\140\x69\144\x5f\x70\162\157\x64\165\143\x74\140\x29\54\x20\12\x20\x20\40\40\40\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\x49\116\x44\x45\x58\40\140\x69\x64\137\x70\162\157\144\165\143\164\137\151\144\137\160\x72\x6f\x64\165\143\164\x5f\x61\x74\164\162\x69\142\x75\x74\x65\140\x20\x28\x60\x69\144\x5f\160\162\157\144\x75\143\x74\x60\x2c\40\x60\151\144\x5f\160\x72\157\x64\x75\x63\x74\137\141\x74\164\162\x69\142\x75\x74\x65\140\51\x2c\x20\xa\40\x20\40\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\40\40\40\40\40\x20\40\40\x20\x20\x49\116\104\105\x58\x20\140\151\x64\x5f\160\x72\157\144\x75\x63\164\x5f\141\x74\164\x72\151\x62\165\x74\145\140\40\x28\140\151\x64\x5f\160\162\157\x64\x75\x63\164\137\x61\x74\x74\x72\x69\142\x75\164\145\x60\x29\54\40\xa\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\40\111\x4e\x44\105\130\40\x60\151\144\137\x6f\x72\144\145\162\137\x69\x64\137\157\162\144\145\162\137\144\145\x74\x61\151\154\x60\x20\x28\x60\x69\x64\x5f\x6f\162\x64\145\x72\x60\54\x20\x60\x69\144\x5f\x6f\x72\x64\145\x72\137\144\145\x74\141\151\x6c\x60\x29"); $CWu4z[] = array("\x63\157\154\x75\155\x6e" => "\x69\x64\137\x70\x70\x5f\x74\x65\155\160\x6c\x61\164\145", "\164\141\x62\154\145" => "\160\162\x6f\x64\x75\x63\164", "\x73\x71\x6c" => "\151\x6e\x74\x28\x31\60\x29\x20\x75\x6e\163\x69\147\156\x65\x64\x20\101\106\124\105\122\40\x60\x77\x65\x69\147\150\x74\x60"); $CWu4z[] = array("\143\x6f\x6c\165\x6d\x6e" => "\161\165\141\x6e\164\151\x74\171\x5f\162\145\x6d\141\151\156\144\145\x72", "\x74\141\x62\x6c\145" => "\160\162\x6f\144\x75\143\164", "\x73\161\154" => "\x64\145\143\151\155\141\x6c\50\x32\60\x2c\66\x29\x20\116\117\124\40\x4e\125\114\114\40\104\105\106\101\125\x4c\x54\40\x30\x2e\60\60\60\x30\x30\x30\x20\x41\106\x54\x45\x52\40\140\x71\x75\141\156\x74\x69\x74\171\140"); $CWu4z[] = array("\143\157\154\165\155\156" => "\x6d\x69\156\151\x6d\x61\154\x5f\x71\165\141\x6e\x74\x69\x74\x79\x5f\x66\162\x61\x63\164\151\157\x6e\x61\x6c", "\x74\x61\x62\154\145" => "\x70\x72\x6f\144\x75\x63\x74", "\163\x71\x6c" => "\144\x65\143\151\x6d\x61\154\50\62\x30\x2c\66\51\40\116\x4f\124\40\116\x55\x4c\x4c\x20\x44\x45\x46\101\x55\114\124\40\x30\56\60\x30\x30\x30\x30\x30\40\101\x46\x54\105\122\40\140\155\x69\156\x69\x6d\141\154\x5f\161\x75\141\x6e\x74\x69\x74\171\140"); $CWu4z[] = array("\143\x6f\154\x75\155\x6e" => "\155\151\156\x69\155\141\154\x5f\161\x75\x61\x6e\164\x69\x74\171\x5f\x66\x72\x61\143\x74\151\157\156\x61\x6c", "\x74\x61\x62\x6c\145" => "\x70\162\x6f\x64\165\143\x74\137\163\x68\x6f\x70", "\x73\161\154" => "\144\145\143\x69\155\x61\x6c\x28\62\60\x2c\66\51\40\116\x4f\x54\40\116\125\x4c\114\x20\x44\105\106\x41\125\x4c\124\40\x30\56\x30\x30\x30\x30\x30\60\x20\x41\106\124\x45\122\40\x60\x6d\151\156\x69\x6d\141\x6c\137\x71\x75\x61\156\164\151\164\171\x60"); $CWu4z[] = array("\143\157\154\165\x6d\156" => "\161\x75\x61\156\x74\151\164\x79\137\162\x65\x6d\x61\x69\x6e\x64\145\162", "\x74\141\x62\x6c\x65" => "\x70\162\157\144\165\x63\164\x5f\141\x74\x74\162\151\x62\x75\x74\145", "\163\161\x6c" => "\x64\145\x63\x69\x6d\141\x6c\50\x32\60\54\66\x29\40\116\117\124\x20\x4e\125\x4c\114\x20\x44\105\106\101\125\x4c\124\40\x30\x2e\60\60\x30\x30\60\60\40\x41\106\x54\105\122\40\x60\x71\165\x61\x6e\164\151\x74\x79\140"); $CWu4z[] = array("\x63\157\154\165\155\156" => "\155\x69\x6e\x69\155\x61\x6c\x5f\161\x75\141\x6e\164\x69\164\171\x5f\x66\162\x61\x63\x74\x69\157\156\x61\x6c", "\164\x61\142\154\145" => "\160\x72\x6f\144\x75\143\164\137\141\x74\164\162\151\142\165\164\x65", "\x73\161\x6c" => "\144\145\x63\151\x6d\x61\x6c\x28\x32\x30\x2c\66\x29\x20\116\x4f\x54\40\x4e\x55\114\x4c\x20\104\105\106\x41\125\x4c\x54\x20\x30\56\60\x30\x30\x30\x30\60\x20\101\x46\124\x45\122\40\x60\x6d\x69\x6e\151\155\x61\154\x5f\161\x75\141\156\164\151\164\171\140"); $CWu4z[] = array("\x63\157\x6c\165\x6d\156" => "\155\151\156\x69\x6d\141\154\x5f\161\165\141\x6e\x74\x69\164\171\x5f\x66\162\x61\143\164\151\x6f\x6e\141\x6c", "\x74\141\x62\x6c\x65" => "\x70\162\157\144\165\x63\164\137\x61\x74\164\162\151\x62\x75\164\145\x5f\x73\x68\157\x70", "\x73\161\154" => "\144\x65\x63\x69\x6d\x61\x6c\x28\x32\x30\54\66\x29\40\116\117\x54\x20\116\x55\114\x4c\x20\x44\x45\x46\x41\x55\114\124\40\x30\56\60\60\60\x30\x30\60\40\x41\106\x54\105\122\x20\140\x6d\x69\x6e\x69\x6d\141\x6c\x5f\161\165\141\156\x74\151\x74\171\140"); $CWu4z[] = array("\x63\x6f\x6c\165\155\156" => "\151\x64\137\143\141\162\x74\137\160\x72\x6f\144\165\143\164", "\164\141\x62\x6c\x65" => "\x63\141\162\x74\137\160\162\x6f\x64\x75\x63\164", "\x73\161\x6c" => "\x69\156\164\x28\x31\x30\51\40\x75\x6e\x73\151\x67\x6e\145\x64\40\x4e\x4f\124\x20\116\125\114\x4c\40\101\x55\x54\117\137\111\x4e\x43\x52\105\115\x45\116\124\40\x50\x52\x49\115\101\122\x59\40\113\105\x59\40\106\x49\x52\123\124"); $CWu4z[] = array("\x63\157\x6c\x75\x6d\156" => "\161\x75\x61\156\164\151\164\x79\137\146\162\x61\x63\x74\x69\157\156\141\x6c", "\164\141\x62\x6c\x65" => "\143\141\162\164\137\160\x72\157\144\x75\143\x74", "\x73\161\154" => "\144\145\x63\151\x6d\141\154\50\62\x30\54\66\x29\x20\x4e\x4f\124\40\116\x55\x4c\x4c\x20\x44\105\106\x41\x55\114\x54\x20\60\x2e\x30\60\x30\60\x30\x30\x20\101\x46\x54\x45\x52\x20\x60\x71\x75\x61\x6e\164\x69\x74\x79\x60"); $CWu4z[] = array("\x63\157\x6c\x75\155\x6e" => "\x70\x70\137\x64\141\164\141\137\x74\171\160\145", "\x74\x61\x62\x6c\x65" => "\143\x61\162\164\x5f\160\x72\157\x64\165\143\164", "\x73\161\x6c" => "\x76\x61\x72\143\x68\x61\x72\x28\x33\62\51\40\x44\x45\106\101\125\x4c\x54\x20\x4e\x55\114\x4c\x20\x41\106\x54\105\x52\40\x60\x71\165\141\156\164\x69\x74\x79\137\x66\162\x61\143\164\151\157\x6e\x61\154\x60"); $CWu4z[] = array("\x63\x6f\x6c\x75\x6d\x6e" => "\x70\x70\x5f\144\x61\x74\x61", "\x74\141\142\x6c\x65" => "\143\x61\x72\x74\137\160\162\x6f\144\165\x63\x74", "\163\x71\x6c" => "\164\x65\x78\164\40\x41\106\124\105\x52\40\x60\160\x70\x5f\x64\x61\x74\x61\137\x74\x79\x70\x65\x60"); $CWu4z[] = array("\x63\157\154\165\x6d\156" => "\x69\x64\137\x63\x61\x72\164\x5f\160\x72\157\144\x75\x63\x74", "\164\x61\142\154\x65" => "\143\165\x73\x74\157\x6d\151\172\141\x74\x69\x6f\x6e", "\x73\x71\154" => "\x69\156\164\50\61\60\51\40\165\156\163\151\x67\156\145\144\40\116\117\124\40\116\125\x4c\114\x20\101\106\124\x45\x52\x20\x60\151\x64\x5f\143\x61\162\164\140"); $CWu4z[] = array("\x63\157\154\165\x6d\x6e" => "\161\165\141\x6e\x74\151\x74\171\x5f\x66\162\141\143\164\151\157\156\x61\x6c", "\164\141\142\x6c\145" => "\x63\165\x73\164\157\155\151\172\141\164\x69\157\x6e", "\x73\161\154" => "\x64\x65\x63\151\155\x61\154\50\62\60\x2c\x36\x29\x20\116\117\x54\40\x4e\125\114\114\x20\x44\105\x46\x41\x55\x4c\124\x20\x30\x2e\x30\60\x30\60\x30\60\x20\101\106\124\105\122\x20\x60\161\165\x61\x6e\164\x69\x74\171\x60"); $CWu4z[] = array("\x63\x6f\x6c\165\x6d\x6e" => "\x69\144\137\143\141\x72\x74\137\160\162\x6f\144\x75\143\164", "\164\141\142\x6c\145" => "\157\162\x64\x65\162\137\x64\145\164\141\151\154", "\x73\161\x6c" => "\151\156\164\x28\61\60\51\40\165\x6e\x73\x69\x67\x6e\145\144\40\116\117\124\x20\x4e\125\114\114\40\x41\106\124\x45\x52\x20\140\x69\144\x5f\157\162\144\145\162\140"); $CWu4z[] = array("\143\x6f\x6c\x75\155\156" => "\160\162\x6f\x64\x75\x63\x74\x5f\x71\x75\x61\156\x74\151\164\171\137\146\162\x61\143\x74\151\x6f\156\141\x6c", "\x74\x61\x62\154\x65" => "\x6f\162\144\x65\x72\x5f\x64\145\x74\141\x69\154", "\x73\161\154" => "\144\x65\x63\x69\x6d\x61\x6c\50\x32\60\54\x36\x29\x20\x4e\x4f\x54\40\x4e\x55\x4c\114\x20\104\x45\106\101\125\x4c\124\x20\60\56\x30\x30\x30\x30\x30\60\x20\x41\106\x54\x45\122\40\140\160\x72\157\x64\165\x63\164\x5f\x71\x75\x61\156\x74\151\164\x79\x60"); $CWu4z[] = array("\143\157\154\165\x6d\x6e" => "\160\x70\x5f\144\141\x74\141\137\x74\171\160\145", "\x74\141\x62\x6c\145" => "\x6f\162\144\x65\162\137\x64\x65\164\x61\x69\x6c", "\163\x71\x6c" => "\166\x61\x72\x63\150\141\162\50\x33\62\x29\x20\x44\x45\x46\x41\125\114\124\x20\116\125\x4c\114"); $CWu4z[] = array("\143\x6f\x6c\165\155\156" => "\160\160\137\x64\141\x74\x61", "\x74\x61\142\x6c\145" => "\x6f\162\144\x65\162\137\144\145\x74\141\151\x6c", "\x73\x71\x6c" => "\164\x65\170\164"); $CWu4z[] = array("\x63\x6f\154\165\155\x6e" => "\x70\150\x79\163\x69\x63\x61\x6c\137\x71\x75\x61\156\164\x69\164\x79\137\x72\145\155\141\x69\156\144\x65\162", "\164\141\142\x6c\145" => "\x73\x74\x6f\143\x6b", "\163\161\154" => "\144\145\x63\151\x6d\x61\x6c\50\62\x30\x2c\x36\x29\x20\116\x4f\124\x20\x4e\125\x4c\x4c\40\x44\105\106\101\x55\x4c\124\40\60\x2e\60\x30\x30\x30\x30\x30\40\101\x46\124\105\122\40\140\x70\150\x79\x73\x69\143\141\x6c\137\161\165\x61\156\x74\x69\164\x79\x60"); $CWu4z[] = array("\x63\x6f\154\x75\x6d\x6e" => "\x75\163\141\142\x6c\x65\137\161\x75\x61\x6e\x74\x69\x74\x79\137\162\x65\155\x61\x69\x6e\x64\x65\x72", "\x74\x61\142\154\x65" => "\x73\164\x6f\x63\x6b", "\163\161\154" => "\144\145\x63\151\155\x61\154\50\62\60\54\66\51\40\116\x4f\124\x20\x4e\125\x4c\114\40\104\105\106\x41\125\x4c\124\40\60\x2e\x30\60\60\x30\60\60\x20\101\x46\x54\105\122\x20\x60\x75\163\141\142\154\x65\137\x71\165\141\x6e\x74\x69\164\171\140"); $CWu4z[] = array("\143\157\154\165\155\156" => "\160\150\171\163\x69\143\141\154\x5f\x71\165\141\156\x74\151\x74\171\x5f\162\x65\x6d\141\151\156\144\x65\162", "\x74\141\142\154\145" => "\163\x74\157\143\x6b\x5f\x6d\166\164", "\x73\161\154" => "\144\x65\143\x69\x6d\x61\154\50\62\60\54\66\51\40\x4e\117\x54\x20\x4e\x55\x4c\114\x20\x44\x45\106\x41\125\114\x54\40\x30\56\60\60\x30\x30\x30\60\x20\x41\106\124\x45\122\x20\140\x70\150\x79\163\151\143\x61\x6c\x5f\161\x75\141\x6e\164\151\164\x79\140"); $CWu4z[] = array("\143\157\154\x75\155\156" => "\x71\x75\x61\x6e\x74\x69\x74\171\x5f\x72\x65\x6d\141\151\156\x64\145\x72", "\164\x61\142\x6c\145" => "\163\164\x6f\x63\153\x5f\x61\166\x61\x69\154\141\142\154\x65", "\163\161\x6c" => "\144\145\x63\151\155\141\x6c\x28\62\60\54\66\51\40\x4e\x4f\124\x20\x4e\x55\114\x4c\x20\x44\105\106\x41\125\114\x54\40\60\x2e\x30\60\60\60\x30\x30\40\101\x46\x54\105\122\40\140\161\x75\x61\156\x74\x69\x74\x79\140"); $CWu4z[] = array("\x63\157\154\x75\x6d\156" => "\160\x68\171\x73\x69\143\x61\154\x5f\161\x75\141\x6e\164\151\164\x79\x5f\x72\x65\x6d\x61\x69\156\144\x65\x72", "\164\141\142\154\145" => "\x73\x74\x6f\143\x6b\137\141\x76\x61\x69\x6c\x61\x62\x6c\x65", "\x73\x71\x6c" => "\x64\x65\143\151\155\141\154\x28\62\x30\54\66\51\40\x4e\x4f\124\x20\x4e\x55\x4c\x4c\x20\104\x45\x46\x41\125\x4c\x54\x20\60\x2e\x30\60\x30\60\x30\x30\40\x41\106\124\x45\122\x20\x60\x70\x68\x79\x73\151\x63\141\x6c\x5f\x71\x75\x61\x6e\164\x69\x74\171\140"); $CWu4z[] = array("\143\157\154\x75\155\156" => "\162\x65\x73\145\x72\x76\145\x64\x5f\161\165\141\156\x74\151\164\x79\137\x72\x65\155\x61\x69\156\x64\x65\x72", "\164\141\x62\x6c\145" => "\x73\x74\x6f\143\x6b\x5f\141\x76\x61\x69\154\x61\x62\x6c\x65", "\163\x71\154" => "\144\145\x63\x69\155\141\x6c\x28\62\60\x2c\x36\x29\x20\116\x4f\x54\40\116\x55\x4c\x4c\40\104\x45\106\101\125\114\124\x20\60\56\x30\60\x30\x30\x30\x30\40\101\x46\124\105\x52\40\x60\x72\145\x73\145\x72\166\x65\144\137\161\x75\x61\x6e\164\x69\x74\171\140"); $CWu4z[] = array("\x63\x6f\x6c\x75\x6d\x6e" => "\x6d\141\x78\151\x6d\x75\x6d\137\x71\x75\141\x6e\x74\x69\164\171", "\x74\141\x62\154\x65" => "\x70\160\137\164\145\x6d\160\154\141\164\145", "\163\161\x6c" => "\x64\x65\143\151\155\141\x6c\x28\x32\60\54\66\51\40\x4e\x4f\x54\x20\x4e\125\114\114\40\x44\x45\106\x41\x55\x4c\124\x20\60\x2e\x30\x30\x30\x30\60\x30\40\x41\x46\x54\105\122\x20\140\155\151\156\151\x6d\141\154\137\x71\165\x61\x6e\x74\151\x74\x79\x60"); $CWu4z[] = array("\143\x6f\x6c\165\155\156" => "\x74\x6f\x74\141\x6c\137\x6d\141\170\151\155\x75\x6d\x5f\161\165\x61\156\x74\x69\164\x79", "\164\141\142\154\145" => "\160\160\137\x74\145\x6d\160\x6c\x61\164\x65", "\x73\161\x6c" => "\144\x65\x63\x69\x6d\141\154\x28\x32\x30\x2c\66\x29\40\x4e\x4f\x54\x20\116\x55\114\114\x20\104\105\106\x41\125\x4c\x54\x20\x30\56\60\60\60\x30\60\60\x20\x41\x46\124\x45\x52\x20\140\x6d\141\170\x69\155\x75\x6d\x5f\161\x75\141\x6e\164\x69\164\171\x60"); $CWu4z[] = array("\143\x6f\x6c\165\x6d\x6e" => "\x71\x74\x79\137\163\164\145\160", "\x74\x61\142\x6c\x65" => "\160\160\x5f\164\145\x6d\x70\x6c\x61\164\145", "\163\x71\x6c" => "\144\145\x63\x69\155\x61\154\x28\x32\x30\54\66\51\x20\x4e\x4f\124\40\x4e\x55\114\114\40\104\x45\106\101\125\114\x54\x20\x30\56\x30\x30\x30\60\x30\60\40\101\x46\x54\x45\x52\x20\x60\x64\x65\146\x61\165\154\x74\137\161\x75\x61\x6e\164\151\x74\x79\x60"); $CWu4z[] = array("\143\x6f\154\x75\x6d\156" => "\161\164\171\137\166\141\x6c\x75\145\x73", "\164\141\x62\x6c\145" => "\x70\x70\137\x74\x65\155\160\154\141\x74\x65", "\x73\x71\154" => "\166\141\x72\143\x68\141\162\50\62\x35\x36\x29\x20\101\106\124\105\122\x20\140\x71\164\171\x5f\163\164\145\160\140"); $CWu4z[] = array("\x63\x6f\154\165\155\156" => "\x6d\x69\x6e\x69\155\x61\x6c\x5f\160\x72\x69\x63\x65\137\162\141\x74\x69\x6f", "\164\x61\x62\154\145" => "\x70\160\137\164\145\x6d\160\154\141\164\145", "\163\161\154" => "\144\x65\143\151\x6d\141\154\50\x32\x30\54\x36\51\x20\x4e\x4f\x54\x20\x4e\x55\114\x4c\40\x44\x45\x46\x41\x55\x4c\124\40\x30\x2e\60\60\x30\x30\x30\60\x20\x41\106\124\105\122\x20\x60\165\x6e\151\x74\x5f\x70\x72\151\143\145\x5f\162\x61\x74\151\157\140"); $CWu4z[] = array("\x63\x6f\x6c\165\x6d\x6e" => "\x65\x78\164", "\164\x61\x62\x6c\145" => "\x70\160\x5f\x74\x65\x6d\x70\x6c\x61\164\x65", "\163\161\154" => "\164\x69\x6e\171\x69\156\164\40\x75\156\x73\151\x67\x6e\145\144\x20\x4e\x4f\x54\x20\x4e\x55\x4c\x4c\40\x44\105\106\x41\x55\114\124\40\x30\40\101\106\x54\105\x52\x20\x60\161\x74\x79\x5f\x73\164\x65\x70\140"); $CWu4z[] = array("\143\x6f\x6c\165\155\x6e" => "\160\x72\x69\143\x65\137\x64\x69\163\x70\154\141\x79\137\x6d\x6f\x64\145", "\164\x61\142\154\x65" => "\160\x70\137\164\145\x6d\x70\x6c\x61\164\x65", "\x73\161\x6c" => "\x74\151\156\171\x69\156\164\x20\165\x6e\x73\151\x67\156\x65\x64\40\116\117\124\x20\x4e\125\x4c\x4c\40\104\105\x46\101\x55\114\124\40\60\x20\101\106\x54\x45\x52\x20\x60\x65\170\x74\140"); $CWu4z[] = array("\143\157\x6c\x75\155\x6e" => "\x63\x75\163\x74\157\155\x69\x7a\141\164\x69\157\x6e", "\x74\141\142\x6c\x65" => "\x70\160\x5f\164\x65\x6d\160\154\x61\164\x65", "\x73\161\154" => "\x74\x69\x6e\x79\x69\156\164\40\x75\156\x73\x69\147\156\145\x64\40\x4e\x4f\x54\40\116\x55\114\x4c\x20\104\x45\106\101\x55\x4c\124\x20\x30\40\x41\106\x54\105\122\x20\140\150\151\144\x64\x65\x6e\x60"); $CWu4z[] = array("\x63\157\154\x75\x6d\x6e" => "\143\x73\163", "\x74\x61\142\154\145" => "\x70\160\137\164\x65\155\160\x6c\141\164\145", "\x73\161\x6c" => "\x76\x61\162\x63\150\x61\x72\50\x36\x34\51\40\101\106\124\105\122\40\x60\150\151\144\x64\145\x6e\x60"); $CWu4z[] = array("\x63\x6f\154\x75\x6d\x6e" => "\161\164\171\x5f\x61\166\141\x69\154\141\x62\154\x65\x5f\144\151\x73\x70\x6c\x61\171", "\x74\141\142\x6c\x65" => "\x70\160\137\x74\x65\x6d\x70\154\x61\164\145", "\163\x71\x6c" => "\164\x69\156\171\151\156\164\x20\165\x6e\163\x69\147\x6e\145\x64\x20\116\117\x54\40\x4e\x55\x4c\114\x20\104\x45\106\x41\125\114\124\x20\x30\40\x41\x46\124\x45\122\x20\140\x68\151\144\144\145\156\140"); $CWu4z[] = array("\143\157\154\x75\x6d\x6e" => "\160\x6f\154\x69\x63\x79", "\164\x61\142\154\x65" => "\x70\x70\137\x74\x65\155\160\x6c\141\x74\145\137\145\x78\164", "\x73\x71\x6c" => "\164\x69\x6e\x79\x69\x6e\x74\x20\x75\x6e\x73\x69\147\156\x65\x64\40\116\x4f\x54\40\x4e\125\x4c\x4c\40\x44\105\106\101\125\x4c\124\x20\60\x20\x41\x46\x54\x45\x52\40\140\164\171\160\145\x60"); $CWu4z[] = array("\143\157\x6c\165\155\156" => "\155\x69\156\151\155\165\155\137\x71\x75\x61\156\x74\x69\x74\x79", "\164\141\x62\154\145" => "\x70\x70\137\164\145\155\160\x6c\141\164\145\137\145\170\x74", "\x73\161\154" => "\x64\x65\143\x69\x6d\141\x6c\50\x32\60\54\66\x29\40\x4e\117\x54\40\116\x55\114\x4c\x20\104\105\106\x41\125\114\124\x20\x30\56\60\x30\x30\60\x30\60\x20\x41\x46\124\x45\x52\x20\x60\x65\170\160\154\x61\156\141\164\151\x6f\x6e\x60"); $CWu4z[] = array("\x63\157\x6c\165\155\156" => "\x6d\141\x78\x69\155\165\155\137\161\165\x61\x6e\x74\x69\164\171", "\x74\141\142\154\145" => "\160\160\x5f\164\145\155\160\154\x61\164\145\x5f\145\170\164", "\x73\161\154" => "\x64\145\x63\x69\155\141\x6c\50\62\60\54\66\51\x20\116\117\124\x20\x4e\125\x4c\114\40\x44\105\x46\x41\x55\x4c\x54\x20\x30\x2e\60\60\60\x30\60\x30\x20\101\x46\124\105\x52\40\x60\155\x69\x6e\x69\155\165\155\137\161\165\x61\156\164\151\x74\171\140"); $CWu4z[] = array("\x63\157\x6c\165\x6d\x6e" => "\155\151\x6e\151\155\x75\155\137\x71\x75\x61\x6e\164\151\164\171\137\164\x65\170\x74", "\164\141\x62\154\x65" => "\x70\x70\137\x74\x65\x6d\160\154\141\164\145\x5f\x65\170\164", "\163\x71\154" => "\151\156\x74\x28\61\60\x29\40\x75\x6e\163\x69\x67\156\145\144\40\116\x4f\x54\x20\116\125\x4c\114\40\x41\106\124\x45\x52\x20\x60\x6d\x61\x78\151\155\165\155\x5f\161\165\141\156\x74\x69\164\x79\140"); $CWu4z[] = array("\143\157\154\165\x6d\x6e" => "\x6d\141\x78\151\155\x75\x6d\x5f\161\165\x61\x6e\x74\151\164\171\x5f\x74\145\x78\164", "\164\x61\x62\x6c\x65" => "\x70\160\137\164\145\155\x70\154\x61\164\x65\x5f\x65\x78\164", "\x73\x71\154" => "\151\x6e\x74\x28\61\x30\51\40\165\x6e\163\x69\147\156\x65\144\40\116\x4f\x54\x20\x4e\x55\114\114\x20\101\x46\124\105\x52\40\140\155\x69\x6e\x69\155\165\155\x5f\161\165\141\156\164\151\x74\171\x5f\164\x65\x78\164\140"); $CWu4z[] = array("\143\x6f\x6c\165\x6d\156" => "\155\151\x6e\x69\x6d\141\154\x5f\x70\x72\x69\143\x65\137\x72\x61\164\151\x6f", "\164\141\142\x6c\145" => "\160\x70\x5f\x74\x65\155\160\x6c\141\x74\x65\x5f\x65\x78\164", "\163\161\154" => "\x64\145\143\x69\x6d\141\x6c\x28\62\60\54\x36\51\x20\x4e\x4f\124\40\116\x55\x4c\x4c\40\104\x45\x46\101\x55\114\x54\x20\60\56\x30\x30\x30\60\60\x30\x20\x41\x46\x54\x45\x52\x20\140\155\x61\170\x69\x6d\165\x6d\x5f\161\x75\141\x6e\x74\151\x74\171\x5f\x74\145\170\x74\140"); $CWu4z[] = array("\143\157\154\x75\155\x6e" => "\x69\x64\x5f\x65\x78\x74\x5f\x70\x72\x6f\x70", "\164\x61\142\154\145" => "\160\160\x5f\x74\x65\155\160\x6c\x61\x74\x65\x5f\x65\170\164\x5f\x70\x72\x6f\160", "\163\x71\x6c" => "\x69\x6e\x74\50\x31\x30\51\x20\165\x6e\x73\151\147\x6e\145\144\40\116\117\x54\40\x4e\x55\x4c\114\x20\104\x45\106\x41\125\x4c\x54\40\x30\x20\101\x46\124\x45\122\x20\x60\151\x64\x5f\x70\x70\137\x74\x65\x6d\160\x6c\x61\x74\145\x60"); $CWu4z[] = array("\x63\x6f\154\x75\x6d\156" => "\161\x74\171\137\x72\x61\164\151\x6f", "\164\x61\x62\154\145" => "\x70\160\x5f\164\145\155\160\154\x61\x74\x65\137\x65\x78\164\x5f\160\x72\157\x70", "\x73\161\x6c" => "\144\x65\x63\151\x6d\141\154\x28\62\x30\54\66\51\40\x4e\x4f\124\x20\116\125\114\114\x20\x44\x45\x46\x41\125\x4c\x54\40\60\x2e\x30\60\60\60\60\x30\40\101\106\124\x45\122\40\140\x71\164\x79\x5f\163\164\145\160\140"); $CWu4z[] = array("\146\165\156\x63" => array($this, "\141\x6d\145\156\144")); return $CWu4z; } public function amend() { $EmCj7 = Db::getInstance(); $EmCj7->execute("\125\x50\104\x41\124\x45\x20\140" . _DB_PREFIX_ . "\x70\160\137\164\145\155\160\x6c\x61\x74\x65\137\145\x78\x74\x5f\x70\162\157\160\x60\x20\123\105\x54\40\x60\x69\144\137\145\170\x74\x5f\160\x72\157\160\140\40\75\40\x60\160\157\163\x69\164\x69\157\x6e\140\x20\x57\x48\105\x52\x45\x20\x60\x69\x64\x5f\x65\x78\164\137\x70\162\x6f\x70\140\40\x3d\x20\x30"); return false; } private static function dbInsert($IwjAm, $Z67Fs) { $EmCj7 = PSM::getDB(); foreach ($Z67Fs as $c5gSQ) { $EmCj7->insert($IwjAm, $c5gSQ, false, true, Db::INSERT_IGNORE); CcA5A: } hBcfP: } private static function dbInsertLang($IwjAm, $Z67Fs, $dlWcM) { $EmCj7 = PSM::getDB(); foreach ($Z67Fs as $c5gSQ) { foreach ($dlWcM as $Z4xRF) { $c5gSQ["\x69\144\x5f\154\141\156\x67"] = $Z4xRF["\151\144\x5f\154\x61\156\x67"]; $EmCj7->insert($IwjAm, $c5gSQ, false, true, Db::INSERT_IGNORE); IiZK9: } ZzLn8: EyYQz: } Ml0tn: } private static function dbInsertTemplateSpecial($IwjAm, $GqsL9, $Z67Fs) { $EmCj7 = PSM::getDB(); foreach ($Z67Fs as $c5gSQ) { $y0pry = $EmCj7->getRow("\123\105\x4c\105\x43\124\40\x60\151\x64\x5f\160\160\137\164\145\155\160\154\x61\164\145\140\40\106\x52\x4f\x4d\x20\140" . _DB_PREFIX_ . $IwjAm . "\140\x20\x57\110\x45\x52\x45\x20\x60\151\x64\x5f\x70\x70\x5f\x74\x65\x6d\160\154\x61\x74\x65\140\x20\75\40" . (int) $c5gSQ["\x69\144\137\x70\x70\137\x74\145\155\x70\x6c\x61\164\145"] . "\40\101\x4e\104\x20\140" . $GqsL9 . "\x60\x3d\x22" . pSQL($c5gSQ[$GqsL9]) . "\42"); if (!($y0pry === false)) { goto jWgQv; } $EmCj7->insert($IwjAm, $c5gSQ); jWgQv: gbJmv: } sHRuS: } private function updateDB() { return $this->setupDB(); } public function checkDbIntegrity() { $yyHom = parent::checkDbIntegrity(); if (!(count($yyHom) > 0)) { goto NOmyi; } foreach ($yyHom as $CWu4z) { switch ($CWu4z["\x6b\x65\171"]) { case "\164\141\x62\x6c\145\x5f\156\157\164\x5f\146\x6f\x75\156\144": $this->module->integration_test_result[$this->module->l("\x44\x61\164\141\142\x61\163\145")][] = sprintf($this->module->l("\x4d\x69\163\163\151\x6e\147\x20\164\x61\x62\x6c\145\x20\42\45\x73\42"), _DB_PREFIX_ . $CWu4z["\x74\141\142\x6c\145"]); goto e6YqN; case "\x63\x6f\x6c\x75\155\x6e\x5f\x6e\x6f\x74\137\x66\x6f\x75\x6e\144": $this->module->integration_test_result[$this->module->l("\x44\x61\x74\141\x62\141\x73\145")][] = sprintf($this->module->l("\x4d\x69\163\163\x69\156\x67\x20\143\x6f\154\x75\155\156\40\x22\x25\x73\x22\x20\x69\156\x20\164\x61\x62\154\x65\x20\42\45\x73\x22"), $CWu4z["\143\157\154\165\x6d\156"], _DB_PREFIX_ . $CWu4z["\164\x61\x62\154\x65"]); goto e6YqN; case "\143\x6f\154\x75\155\156\x5f\x64\x65\x66\151\x6e\x69\164\x69\x6f\156": $this->module->integration_test_result[$this->module->l("\104\141\x74\x61\x62\141\163\145")][] = sprintf($this->module->l("\103\157\x6c\x75\x6d\x6e\40\42\x25\x73\42\40\x69\x6e\x20\164\141\x62\x6c\x65\x20\42\45\163\x22\40\x6e\157\164\x20\160\162\x6f\x70\x65\x72\x6c\171\x20\144\x65\146\x69\x6e\145\144\x20\x5b\x25\163\x5d"), $CWu4z["\x63\157\x6c\x75\x6d\156"], _DB_PREFIX_ . $CWu4z["\164\141\142\154\145"], $CWu4z["\163\161\x6c"]); goto e6YqN; default: goto e6YqN; } r5njV: e6YqN: Fop72: } R5VfY: return false; NOmyi: return true; } public function functionTrue() { return true; } public function checkCartProductPrimaryKey() { $EmCj7 = Db::getInstance(); $yyHom = $EmCj7->getRow("\x53\105\x4c\105\x43\x54\40\x63\x6f\154\165\x6d\156\x5f\x6e\x61\x6d\145\x20\x46\x52\117\x4d\40\x69\x6e\x66\157\x72\x6d\x61\x74\151\x6f\x6e\x5f\x73\x63\150\x65\x6d\x61\56\143\157\x6c\x75\155\156\x73\xa\x20\x20\40\x20\x20\40\40\40\x20\x20\40\40\x57\110\105\x52\105\40\164\141\142\154\x65\137\x73\x63\x68\x65\x6d\141\40\x3d\x20\x27" . _DB_NAME_ . "\x27\xa\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\x41\x4e\x44\40\164\141\x62\x6c\145\137\156\x61\155\145\x20\75\40\47" . _DB_PREFIX_ . "\143\x61\162\x74\x5f\x70\162\157\x64\x75\143\164\x27\x20\x41\x4e\x44\40\143\157\x6c\165\x6d\x6e\x5f\x6b\x65\x79\x20\x3d\x20\x27\x50\122\x49\x27"); if (!(is_array($yyHom) && $yyHom["\x63\x6f\154\x75\155\156\137\x6e\141\x6d\145"] != "\151\144\x5f\x63\141\x72\164\x5f\x70\162\157\144\165\143\x74")) { goto PIODM; } $EmCj7->execute("\101\114\124\x45\122\40\x54\x41\102\114\x45\40\140" . _DB_PREFIX_ . "\x63\141\x72\x74\x5f\x70\162\157\144\x75\143\x74\x60\x20\104\x52\117\x50\x20\120\x52\x49\x4d\101\122\x59\40\113\x45\x59"); PIODM: return false; } protected static function directoryListing($q4_xt, $x4V8B = false, &$CYnVo = null) { if (is_array($CYnVo)) { goto xk9Z5; } $CYnVo = array(); xk9Z5: if (is_dir($q4_xt)) { goto Qe62d; } if (!(isset($RqGsQ) && ($x4V8B === false || !self::inString($RqGsQ, $x4V8B)))) { goto Bz0Fz; } $CYnVo[] = $RqGsQ; Bz0Fz: goto GlqfF; Qe62d: $SzDio = self::excludeFiles(); $cwuws = dir($q4_xt); gPRNM: if (!(false !== ($Hzd5c = $cwuws->read()))) { goto H8OBm; } if (!in_array($Hzd5c, $SzDio)) { goto d0lnG; } goto gPRNM; d0lnG: $RqGsQ = $q4_xt . "\x2f" . $Hzd5c; if (!is_dir($RqGsQ)) { goto akPEK; } self::directoryListing($RqGsQ, $x4V8B, $CYnVo); goto gPRNM; akPEK: if (!($x4V8B === false || !self::inString($RqGsQ, $x4V8B))) { goto m9TSC; } $CYnVo[] = $RqGsQ; m9TSC: goto gPRNM; H8OBm: $cwuws->close(); GlqfF: return $CYnVo; } protected static function inString($OoBOm, $movf1) { if (!is_array($movf1)) { goto JTvLg; } foreach ($movf1 as $n5STn) { if (!(Tools::strpos($OoBOm, $movf1) !== false)) { goto R_2pl; } return true; R_2pl: ppAgB: } NOr4T: return false; JTvLg: return Tools::strpos($OoBOm, $movf1) !== false; } protected static function copyDirectory($q4_xt, $X2msJ) { if (is_dir($q4_xt)) { goto P2Ggp; } Tools::copy($q4_xt, $X2msJ); goto vs174; P2Ggp: mkdir($X2msJ, 0755, true); $cwuws = dir($q4_xt); j_XXO: if (!(false !== ($Hzd5c = $cwuws->read()))) { goto WMZto; } if (!($Hzd5c == "\56" || $Hzd5c == "\x2e\x2e")) { goto DuoI8; } goto j_XXO; DuoI8: $RqGsQ = $q4_xt . "\x2f" . $Hzd5c; if (!is_dir($RqGsQ)) { goto hN30v; } self::copyDirectory($RqGsQ, $X2msJ . "\x2f" . $Hzd5c); goto j_XXO; hN30v: Tools::copy($RqGsQ, $X2msJ . "\x2f" . $Hzd5c); goto j_XXO; WMZto: $cwuws->close(); vs174: } protected static function removeDirectory($snfPV) { if (!is_dir($snfPV)) { goto uzX8y; } $w3rXK = scandir($snfPV); if (!(count($w3rXK) > 2)) { goto uaC3t; } foreach ($w3rXK as $pU4Bg) { if (!($pU4Bg != "\x2e" && $pU4Bg != "\56\x2e" && is_dir($snfPV . "\x2f" . $pU4Bg))) { goto eEquR; } self::removeDirectory($snfPV . "\57" . $pU4Bg); eEquR: Gv47r: } zkENb: uaC3t: $SzDio = self::excludeFiles(); $RG00W = true; $w3rXK = scandir($snfPV); foreach ($w3rXK as $pU4Bg) { if (in_array($pU4Bg, $SzDio)) { goto za4ha; } $RG00W = false; goto IRawp; za4ha: oeffs: } IRawp: if (!$RG00W) { goto vh4yv; } $w3rXK = scandir($snfPV); foreach ($w3rXK as $pU4Bg) { if (!($pU4Bg != "\56" && $pU4Bg != "\56\56" && is_file($snfPV . "\x2f" . $pU4Bg))) { goto IATh9; } Tools::deleteFile($snfPV . "\57" . $pU4Bg); IATh9: zgn4u: } nlMx2: rmdir($snfPV); vh4yv: uzX8y: } protected static function excludeFiles() { $pU4Bg = dirname(__FILE__) . "\57\160\x70\163\145\x74\165\x70\137\x65\x78\x63\x6c\165\x64\x65\x2e\x69\x6e\143"; if (!file_exists($pU4Bg)) { goto VMJjW; } $d1Of4 = Tools::file_get_contents($pU4Bg); return explode("\174", $d1Of4); VMJjW: return array("\56", "\x2e\56", "\160\150\x70\x2e\x69\x6e\x69", "\56\x68\164\x61\143\143\145\x73\163", "\151\x6e\144\x65\x78\x2e\x70\150\x70", "\144\145\163\x6b\164\157\160\x2e\151\156\x69", "\56\x44\123\137\x53\x74\x6f\x72\x65", "\x2e\147\x69\x74\151\147\x6e\157\x72\145", "\x2e\147\151\x74\155\x6f\144\165\154\145\x73", "\x2e\x73\x76\x6e", "\137\x5f\x4d\x41\103\117\x53\130"); } private function getVersion($pU4Bg) { if (!is_file($pU4Bg)) { goto JfXLP; } $LLsOM = array(); $d1Of4 = Tools::file_get_contents($pU4Bg); $LLsOM[self::VERSION_INDEX] = self::getVersionBySignature($d1Of4, self::VERSION_SIGNATURE_START); $LLsOM[self::VERSION_REQUIRED_INDEX] = self::getVersionBySignature($d1Of4, self::VERSION_REQUIRED_SIGNATURE_START); return $LLsOM; JfXLP: return false; } private function getVersionBySignature($d1Of4, $lzIjT) { $LMfhW = Tools::strpos($d1Of4, $lzIjT); if (!($LMfhW !== false)) { goto oRz7v; } $K57Fa = Tools::strpos($d1Of4, self::VERSION_SIGNATURE_END, $LMfhW); if (!($K57Fa !== false)) { goto ua7n8; } $BW1C6 = Tools::strlen($lzIjT); return Tools::substr($d1Of4, $LMfhW + $BW1C6, $K57Fa - $LMfhW - $BW1C6); ua7n8: oRz7v: return false; } private function getVersionSignature() { return self::VERSION_SIGNATURE_START . $this->module->version . self::VERSION_SIGNATURE_END; } public function smartyIntegrationString() { return "\151\146\x28\x21\146\151\154\x65\x5f\x65\x78\x69\163\164\163\50\x5f\x50\x53\x5f\x4d\117\104\x55\114\105\137\x44\111\x52\x5f\56\x27\160\x70\162\x6f\160\145\162\164\151\x65\x73\57\163\x6d\141\162\164\x79\x2f\x73\x6d\x61\x72\x74\x79\56\x63\x6f\156\x66\x69\147\56\151\156\x63\x27\51\51\x7b\100\x69\x6e\x69\x5f\x73\x65\164\50\x27\144\151\163\160\154\x61\171\x5f\x65\x72\x72\157\162\163\x27\x2c\47\x6f\x6e\x27\x29\73\100\x65\x72\x72\x6f\x72\x5f\x72\145\160\157\162\x74\x69\x6e\x67\50\x45\137\101\x4c\x4c\x29\x3b\x7d" . "\162\145\161\165\x69\162\x65\137\157\x6e\143\145\x28\137\x50\123\137\115\x4f\104\125\114\x45\x5f\104\x49\x52\137\x2e\x27\160\160\x72\157\x70\x65\x72\x74\x69\x65\163\x2f\x73\155\141\162\164\171\57\x73\x6d\x61\162\164\x79\x2e\143\x6f\x6e\x66\x69\x67\56\151\x6e\x63\x27\51\73"; } private function getXmlMd5File($ODFpD, $yZwg_, $ymrwd = false) { $ODFpD = dirname(__FILE__) . "\x2f\143\x6f\x6e\x66\x69\x67\57" . $ODFpD; if (is_file($ODFpD)) { goto AFSPd; } if (!($ymrwd !== false)) { goto u_kc1; } $Xbt07 = new Upgrader(); libxml_set_streams_context(@stream_context_create(array("\x68\x74\164\160" => array("\164\x69\x6d\x65\x6f\x75\x74" => 3)))); $lLCtX = @simplexml_load_file($Xbt07->rss_md5file_link_dir . $ymrwd . "\x2e\x78\x6d\154"); if (!($lLCtX != false)) { goto PmD9_; } $lLCtX->asXML($ODFpD); PmD9_: u_kc1: goto Tc5oK; AFSPd: $lLCtX = @simplexml_load_file($ODFpD); Tc5oK: if (!(isset($lLCtX) && $lLCtX != false)) { goto LNane; } $a6RMF = $this->md5FileAsFilesArray($lLCtX->{$yZwg_}[0]); return $a6RMF; LNane: return false; } private function md5FileAsFilesArray($ejN5B, &$G56d8 = array(), $E4vdf = 1, &$yyHom = null) { if (array($yyHom)) { goto kGpnR; } $yyHom = array(); kGpnR: foreach ($ejN5B as $pgJ_L) { if (is_object($pgJ_L) && $pgJ_L->getName() == "\144\151\x72") { goto Ix_4D; } if (is_object($pgJ_L) && $pgJ_L->getName() == "\155\144\x35\x66\151\154\x65") { goto I3Fqq; } goto cq30A; Ix_4D: $G56d8[$E4vdf] = (string) $pgJ_L["\156\141\155\x65"]; $this->md5FileAsFilesArray($pgJ_L, $G56d8, $E4vdf + 1, $yyHom); goto cq30A; I3Fqq: $RIVWZ = ''; $mMBUy = 1; ufMX8: if (!($mMBUy < $E4vdf)) { goto Ton6P; } $RIVWZ .= $G56d8[$mMBUy] . "\57"; dz2l_: $mMBUy++; goto ufMX8; Ton6P: $RIVWZ .= (string) $pgJ_L["\156\141\155\145"]; $yyHom[$RIVWZ] = (string) $pgJ_L; cq30A: t9GDw: } WoG4b: return $yyHom; } private function backupFile($pU4Bg, $xekEl = false) { if (!is_file($pU4Bg)) { goto fwXzF; } $snfPV = self::getBackupDirectory(); $ZXblS = str_replace(_PS_ROOT_DIR_, '', $pU4Bg); $gNXec = $snfPV . str_replace(_PS_ROOT_DIR_, '', dirname($pU4Bg)); $wsmX_ = $snfPV . $ZXblS; if (!$xekEl) { goto c8362; } Tools::deleteFile($wsmX_); c8362: if (is_file($wsmX_)) { goto EISZM; } if (is_dir($gNXec)) { goto IdR6b; } mkdir($gNXec, 0755, true); IdR6b: Tools::copy($pU4Bg, $wsmX_); $vsF5W = filemtime($pU4Bg); if (!($vsF5W !== false)) { goto nUJea; } touch($wsmX_, $vsF5W); nUJea: EISZM: fwXzF: } private function restoreFile($pU4Bg) { if (!is_file($pU4Bg)) { goto iObe1; } $snfPV = self::getBackupDirectory(); $ZXblS = str_replace(_PS_ROOT_DIR_, '', $pU4Bg); $DB9Ob = $snfPV . $ZXblS; if (!is_file($DB9Ob)) { goto To7s8; } Tools::copy($DB9Ob, $pU4Bg); $vsF5W = filemtime($DB9Ob); if (!($vsF5W !== false)) { goto RH4j_; } touch($pU4Bg, $vsF5W); RH4j_: Tools::deleteFile($DB9Ob); To7s8: iObe1: } private function cleanup() { self::removeDirectory(self::getBackupRootDirectory()); } private static function getBackupRootDirectory() { return _PS_MODULE_DIR_ . "\x70\160\162\x6f\x70\x65\162\x74\x69\x65\163\55\142\141\x63\x6b\165\160"; } private static function getBackupDirectory() { return self::getBackupRootDirectory() . "\x2f" . _PS_VERSION_; } private static function truncateString($xiM0h, $BW1C6 = 120) { if (!is_array($xiM0h)) { goto e9REq; } $xiM0h = implode("\40", $xiM0h); e9REq: return Tools::truncateString($xiM0h, $BW1C6); } }

/*
$->l('Overridden files');
$->l('File "%s" overridden by "%s"');
$->l('Modified files');
$->l('(modified by %s)');
$->l('Files integration');
$->l('Warnings');
$->l('Plugins');
$->l('Modules');
$->l('activate integration');
$->l('Module "%s" not integrated. Integration postponed by user');
$->l('ignore');
$->l('and allow to work without proper integration');
$->l('check for update');
$->l('Integration failed for module "%s"');
$->l('Integration failed for module "%s" version %s');
$->l('Integration failed for smarty file "%s"');
$->l('(file not found)');
$->l('(backup failed)');
$->l('(string not found)');
$->l('searching for:');
$->l('substitute:');
$->l('(optional string not found, no action required)');
$->l('(string expected to be found %d %s, found %d %s)');
$->l('time');
$->l('times');
$->l('(duplicate string found)');
$->l('String replacement note for file: %s%s');
$->l('String replacement warning for file: %s%s');
$->l('(file not writable, permission denied)');
$->l('File is missing: %s');
$->l('File not compatible: %s (missing version signature)');
$->l('Compatibility warning for file: %s (expected version %s, found version %s)');
$->l('Compatibility warning for file: %s (expected version %s, no version information found)');
$->l('File not compatible: %s (expected version %s, found version %s)');
$->l('Database');
$->l('Missing table "%s"');
$->l('Missing column "%s" in table "%s"');
$->l('Column "%s" in table "%s" not properly defined [%s]');
*/

Function Calls

None

Variables

None

Stats

MD5 0986a151f3ebeb8457b0d2fd3b881f70
Eval Count 0
Decode Time 118 ms