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 Since 2011 PS&More 
 * @license   https://psandmore.com/licenses/sla Software License Agreement 
 * 
 * -- this file is obfuscated for code protection -- 
 */ 
 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"; const EXTRA_PERMISSION = "permission"; protected $install_mode; protected $extra; protected $check_integration_processed; private $module_mutating; private static $s_cache = array(); private static $version_integrity = true; private static $version_mismatch_notes = 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($JESPB, $v2TXd = true) { if (!Validate::isLoadedObject($JESPB)) { goto megvN; } $ksmS8 = $this->getExtraModules(); foreach ($ksmS8 as $cblyO) { if (!($JESPB->name == $cblyO["name"])) { goto Kj3pZ; } set_time_limit(300); $EgvqW = $this->install_mode; $this->install_mode = $v2TXd; $this->module_mutating = $JESPB; $this->setupExtraModules(); $this->install_mode = $EgvqW; Configuration::deleteByName("PP_INTEGRATION_CHECK"); Configuration::deleteByName("PP_INFO_CHECK_TIME"); if (!($JESPB->name == "paypal")) { goto igsqT; } Configuration::updateValue("PAYPAL_EXPRESS_CHECKOUT_SHORTCUT", 0); igsqT: goto OhgVQ; Kj3pZ: O9avB: } OhgVQ: megvN: } public function moduleUpgraded($JESPB) { $this->moduleInstalled($JESPB); } public function moduleUninstall($JESPB) { $this->moduleInstalled($JESPB, false); } public function moduleUninstalled($JESPB) { } public function checkModifiedFiles() { $GAPv1 = array(); list(, , , , $wu1lh, ) = $m7rr8 = $this->getSetupVars1(); foreach ($wu1lh as $FjsP8) { list(, , $mX1Xi, $vLm6w, $vrD98, $Lfhpo) = $this->getSetupVars2($m7rr8, $FjsP8); if (!$vrD98) { goto lJXhO; } $eWyoc = _PS_ROOT_DIR_ . "/" . $vrD98; if (!is_file($eWyoc)) { goto q9j0m; } $GAPv1[$this->l("Overridden files")][] = sprintf($this->l("File "%s" overridden by "%s""), PSM::normalizePath($Lfhpo), PSM::normalizePath($vrD98)); q9j0m: lJXhO: if (PSM::md5filesCompare($FjsP8, $vLm6w)) { goto sdClF; } $Lh9nN = array(); $Em_Qo = $this->module->plugins(); foreach ($Em_Qo as $RY0bs => $NdxXP) { $KoaDL = null; if (!Module::isInstalled($RY0bs)) { goto xiWFO; } if (!($KoaDL === null)) { goto YaOIa; } $KoaDL = Tools::file_get_contents($vLm6w); YaOIa: if (!(Tools::strpos($KoaDL, "[modified by " . $RY0bs . "]") !== false)) { goto kO4tF; } $Lh9nN[$RY0bs] = $RY0bs; kO4tF: xiWFO: dqDSb: } bCdWi: $GAPv1[$this->l("Modified files")][] = PSM::normalizePath($mX1Xi) . (count($Lh9nN) ? " " . sprintf($this->l("(modified by %s)"), implode(", ", $Lh9nN)) : ''); $JqkKM = $this->checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8); if (!(Tools::strlen($JqkKM[self::VERSION_CHECK_DESC_INDEX]) > 0)) { goto JvHTe; } if ($JqkKM[self::VERSION_CHECK_INDEX] == false) { goto Ufyeq; } $GAPv1[$this->l("Warnings")][] = $JqkKM[self::VERSION_CHECK_DESC_INDEX]; goto pKQ_b; Ufyeq: $GAPv1[$this->l("Files integration")][] = $JqkKM[self::VERSION_CHECK_DESC_INDEX]; pKQ_b: JvHTe: sdClF: GC2wy: } x4fL5: foreach (array("css", "js") as $lZItC) { foreach (scandir(dirname(__FILE__) . "/views/" . $lZItC) as $GY9ga) { $jbYh7 = false; if (PSM::endsWith($GY9ga, ".css", false)) { goto Ucft6; } if (PSM::endsWith($GY9ga, ".js", false)) { goto Vok5X; } goto jBUAq; Ucft6: if (!(Tools::strpos($GY9ga, "custom.css") === false)) { goto o7BGP; } $jbYh7 = "themes/" . _THEME_NAME_ . "/css/modules/" . $this->module->name . "/views/css/" . $GY9ga; o7BGP: goto jBUAq; Vok5X: if (!(Tools::strpos($GY9ga, "custom.js") === false)) { goto ggRCw; } $jbYh7 = "themes/" . _THEME_NAME_ . "/js/modules/" . $this->module->name . "/views/js/" . $GY9ga; ggRCw: jBUAq: if (!$jbYh7) { goto kOrJc; } $RrdjD = _PS_ROOT_DIR_ . "/" . $jbYh7; if (!is_file($RrdjD)) { goto Enb3c; } $GAPv1[$this->l("Overridden files")][] = sprintf($this->l("File "%s" overridden by "%s""), PSM::normalizePath(dirname(__FILE__) . "/" . $GY9ga, "relative"), PSM::normalizePath($jbYh7)); Enb3c: kOrJc: jOPWO: } vObby: mKmxl: } D8g2b: return $GAPv1; } public function processIntegrationModule($TStCR) { $KW9R2 = "error"; if (!($KcQYK = Tools::getValue("json"))) { goto IGb4r; } $cblyO = $this->getExtraModulesConfiguration(); if (!($cblyO != null)) { goto jr_5G; } $NEw_s = json_decode($KcQYK, true); $ibNId = $NEw_s["module"]; $u7K91 = $NEw_s["ver"]; foreach ($cblyO as &$JESPB) { if (!(strcmp($ibNId, $JESPB[self::EXTRA_MODULE]) == 0 && strcmp((string) $u7K91, (string) $JESPB[self::EXTRA_VER]) == 0)) { goto R3fI5; } $KW9R2 = "success"; $JESPB[self::EXTRA_IGNORE] = $TStCR; $this->saveExtraModulesConfiguration($cblyO); goto YAGJ1; R3fI5: voMq8: } YAGJ1: jr_5G: IGb4r: $KcQYK = array("status" => $KW9R2); return json_encode($KcQYK); } protected function setup() { $oHsIB = $this->getXmlMd5File("prestashop/" . _PS_VERSION_ . ".xml", "ps_root_dir", _PS_VERSION_); list(, , , , $wu1lh, ) = $m7rr8 = $this->getSetupVars1(); foreach ($wu1lh as $FjsP8) { list($dQsW2, $YRAlz, $mX1Xi, $vLm6w, , ) = $this->getSetupVars2($m7rr8, $FjsP8); if ($this->install_mode) { goto eUXZW; } $hJxj0 = PSM::md5filesCompare($FjsP8, $vLm6w); if (!$hJxj0) { goto rqFvt; } $this->restoreFile($vLm6w); $hIeEA = PSM::md5filesCompare($FjsP8, $vLm6w); if (!$hIeEA) { goto uvz87; } if (!is_array($oHsIB)) { goto RXsg2; } $jTsTw = array_keys($oHsIB); RXsg2: if (!(is_array($jTsTw) && !in_array($dQsW2, $jTsTw))) { goto BWla7; } Tools::deleteFile($vLm6w); BWla7: uvz87: rqFvt: goto jPdEM; eUXZW: $JqkKM = $this->checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8); if (!($JqkKM[self::VERSION_CHECK_INDEX] == false)) { goto cGcyy; } if (!is_array($oHsIB)) { goto FJw51; } $jTsTw = array_keys($oHsIB); FJw51: $RWVIO = !file_exists($vLm6w); if ($RWVIO) { goto XhBrQ; } if (!(isset($jTsTw) && is_array($jTsTw) && in_array($YRAlz, $jTsTw))) { goto ZpExO; } $RWVIO = PSM::md5Compare($vLm6w, $oHsIB[$YRAlz]); ZpExO: XhBrQ: if (!$RWVIO) { goto gnC9q; } $this->backupFile($vLm6w); if (is_dir(dirname($vLm6w))) { goto StIUh; } mkdir(dirname($vLm6w), 0755, true); StIUh: @chmod($vLm6w, 0755); Tools::deleteFile($vLm6w); Tools::copy($FjsP8, $vLm6w); gnC9q: cGcyy: jPdEM: RSibe: } d4V3_: if (!$this->install_mode) { goto uvBuh; } $FMOv_ = $this->updateDB(); if (!$FMOv_) { goto rC_r2; } $this->insertData(false); rC_r2: uvBuh: $this->setupSmarty($this->install_mode); $this->getPPSetupEx()->setup(); $this->setupPlugins(); $this->setupExtraModules(); if ($this->install_mode) { goto D5THM; } $this->cleanup(); goto jx3Mk; D5THM: PSM::protectDirectory(self::getBackupRootDirectory()); jx3Mk: } protected function setupExtraModuleUninstalled() { } private function setupPlugins() { $Em_Qo = $this->plugins(); foreach ($Em_Qo as $kXZUl) { $kXZUl->setup(); QedTy: } eFHor: } private function setupExtraModules() { if ($this->install_mode) { goto wGFid; } $ksmS8 = $this->getExtraModules(); $vF7Dc = PSM::getDB(); foreach ($ksmS8 as $cblyO) { foreach ($cblyO["files"] as $t1BJu) { $FjsP8 = $t1BJu["file"]; if (basename($FjsP8) == "ppsetup.php") { goto ThWys; } $vLm6w = _PS_MODULE_DIR_ . $t1BJu["rel_path"]; $hJxj0 = PSM::md5filesCompare($t1BJu["file"], $vLm6w); if (!$hJxj0) { goto TjIHi; } $this->restoreFile($vLm6w); TjIHi: goto LZBu8; ThWys: $K2QWW = $this->isModuleInstalled($vF7Dc, $cblyO["name"], $cblyO["version"]); if ($K2QWW) { goto rw4Mg; } if (!(($QmL8M = Module::getInstanceByName($cblyO["name"])) && $QmL8M->version == $cblyO["version"])) { goto oz6t1; } $kXZUl = $this->getPPSetup($cblyO["name"], $FjsP8); $kXZUl->setupExtraModuleUninstalled(); oz6t1: goto CapxN; rw4Mg: if (!(empty($this->module_mutating) || $this->module_mutating->name == $cblyO["name"])) { goto CgAv2; } $kXZUl = $this->getPPSetup($cblyO["name"], $FjsP8); $kXZUl->setup(); if (empty($this->module_mutating)) { goto II4I2; } return; II4I2: CgAv2: CapxN: LZBu8: ji_t1: } fbrw1: eSKYL: } thSPI: goto aSPth; wGFid: $this->extraModules(false); aSPth: } private function setupAndIntegration() { if (isset($this->module->integration_test_result)) { goto b1czI; } $this->module->integration_test_result = array(); b1czI: if (!$this->install_mode) { goto dPDOm; } $this->setup(); dPDOm: $this->checkFilesIntegrity(); $this->getPPSetupEx()->checkIntegrity(); $this->checkDbIntegrity(); $this->checkSmartyIntegrity(); $this->checkPluginsIntegrity(); $this->checkExtraModulesIntegrity(); $this->module->integrated = count($this->module->integration_test_result) == 0; $this->checkVersionIntegrity($this->module->name); if ($this->module->integrated) { goto qkRpa; } Configuration::deleteByName("PP_INTEGRATION"); goto yM2bt; qkRpa: Configuration::updateGlobalValue("PP_INTEGRATION", $this->module->integrationKey()); yM2bt: Configuration::updateGlobalValue("PP_INTEGRATION_CHECK", time()); } private function checkVersionIntegrity($RY0bs) { $njSeD = "checkVersionIntegrity" . $RY0bs; if (isset(static::$s_cache[$njSeD])) { goto Q7gcC; } $wtjEv = $RY0bs . "_version"; $NnJcg = Configuration::getGlobalValue($wtjEv); $Owx4e = true; if (empty($NnJcg)) { goto KFApB; } $JESPB = $RY0bs == $this->module->name ? $this->module : Module::getInstanceByName($RY0bs); if (!($NnJcg != $JESPB->version)) { goto INeGe; } $d2lDl = $JESPB->displayName; if (isset($this->module->version_mismatch_notes[$d2lDl])) { goto SliL7; } static::$version_mismatch_notes[$d2lDl][] = $this->l("Version mismatch detected."); static::$version_mismatch_notes[$d2lDl][] = sprintf($this->l("You installed %s version %s but the currently running version is %s."), $JESPB->displayName, $NnJcg, $JESPB->version); static::$version_mismatch_notes[$d2lDl][] = "<br>"; static::$version_mismatch_notes[$d2lDl][] = sprintf($this->l("In order to properly upgrade the module, please restore the original files of the previously installed %s version %s and uninstall the module."), $d2lDl, $NnJcg); static::$version_mismatch_notes[$d2lDl][] = $this->module->confirmUninstall; static::$version_mismatch_notes[$d2lDl][] = $this->l("Follow installation and upgrading instructions in the module documentation."); SliL7: $Owx4e = false; INeGe: KFApB: static::$s_cache[$njSeD] = $Owx4e; static::$version_integrity &= $Owx4e; Q7gcC: $this->module->integrated &= static::$version_integrity; $this->module->version_mismatch_notes = static::$version_mismatch_notes; } private function checkFilesIntegrity() { $FMOv_ = true; list(, , , , $wu1lh, ) = $m7rr8 = $this->getSetupVars1(); foreach ($wu1lh as $FjsP8) { list(, , $mX1Xi, $vLm6w, , ) = $this->getSetupVars2($m7rr8, $FjsP8); $FMOv_ &= $this->checkFileIntegrity($vLm6w, $mX1Xi, $FjsP8); nPpmw: } zExbF: return $FMOv_; } private function checkFileIntegrity($vLm6w, $mX1Xi, $FjsP8) { $JqkKM = $this->checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8); if (!($JqkKM[self::VERSION_CHECK_INDEX] == false)) { goto FV2_b; } $this->module->integration_test_result[$this->l("Files integration")][] = $JqkKM[self::VERSION_CHECK_DESC_INDEX]; FV2_b: return $JqkKM[self::VERSION_CHECK_INDEX]; } private function checkPluginsIntegrity() { if (!$this->check_integration_processed) { goto Qc3Ox; } return; Qc3Ox: $Em_Qo = $this->module->plugins(); foreach ($Em_Qo as $RY0bs => $IWIVz) { list($NdxXP, $d9n5R) = $IWIVz; if (!($KyCHt = PSM::getPlugin($RY0bs, $d9n5R))) { goto MH8M5; } if (!($NZBPk = PSM::checkPluginCompatibility($RY0bs, $KyCHt->apiVersion(), $Em_Qo))) { goto PbMU7; } $this->module->integration_test_result[$this->l("Plugins")][] = $NZBPk; PbMU7: MH8M5: mmXGQ: } yn4r8: $Em_Qo = $this->plugins(); foreach ($Em_Qo as $RY0bs => $kXZUl) { $kXZUl->checkIntegrity(); oIb0i: } YJHJP: } public function checkExtraModulesIntegrity($PE3gz = false) { $GAPv1 = array(); if ($this->check_integration_processed) { goto sqDcf; } $this->extraModules(true); $cblyO = $this->getExtraModulesConfiguration(); if (!($cblyO != null)) { goto aEuHj; } $Iwc8B = $this->getExtraModulesList(); $d2lDl = $this->l("Modules"); foreach ($cblyO as $JESPB) { if (!($JESPB[self::EXTRA_ENABLED] && !$JESPB[self::EXTRA_INTEGRATED])) { goto n9DRp; } $RY0bs = $JESPB[self::EXTRA_MODULE]; $u7K91 = $JESPB[self::EXTRA_VER]; if ($JESPB[self::EXTRA_IGNORE]) { goto S7Kce; } if ($PE3gz) { goto PewPS; } $r0fhY = PP::wrapA($this->l("ignore"), false, ["href" => "#", "data-mode" => "IntegrationModuleIgnore"]); if (empty($Iwc8B[$RY0bs])) { goto cu5Vi; } $zKR1V = $JESPB[self::EXTRA_PERMISSION] ? PP::span(Context::getContext()->getTranslator()->trans("The server does not have permissions for writing.", array(), "Admin.Notifications.Error"), "failure permission_denied") : ''; $iY_7k = PP::wrapA(sprintf("%s%s", PP::wrapI('', "icon-refresh"), $this->l("check for update")), false, ["href" => "#", "data-mode" => "IntegrationModuleCheckForUpdates"]); $VHMdt = sprintf("(%s)", PP::span(sprintf("%s%s %s %s %s", $zKR1V, $iY_7k, PSM::translate("or"), $r0fhY, $this->l("and allow to work without proper integration")), "pp-integration-module check-for-update-or-ignore", ["data-module" => $RY0bs, "data-ver" => $u7K91])); goto jmySM; cu5Vi: $VHMdt = sprintf("(%s)", PP::span(sprintf("%s %s", $r0fhY, $this->l("and allow to work without proper integration")), "pp-integration-module check-for-update-or-ignore", ["data-module" => $RY0bs, "data-ver" => $u7K91])); jmySM: if ($u7K91 == "all") { goto RIojK; } $this->module->integration_test_result[$d2lDl][] = sprintf($this->l("Integration failed for module "%s" version %s"), $RY0bs, $u7K91) . $VHMdt; goto smxQE; RIojK: $this->module->integration_test_result[$d2lDl][] = sprintf($this->l("Integration failed for module "%s""), $RY0bs) . $VHMdt; smxQE: PewPS: goto LU9SI; S7Kce: if (!$PE3gz) { goto iFRNz; } $bPVCl = PP::wrapA($this->l("activate integration"), false, ["href" => "#", "data-mode" => "IntegrationModuleIntegrate"]); $VHMdt = sprintf(" (%s).", PP::span($bPVCl, "pp-integration-module integrate", ["data-module" => $RY0bs, "data-ver" => $u7K91])); $GAPv1[$d2lDl][] = sprintf($this->l("Module "%s" not integrated. Integration postponed by user"), $RY0bs) . $VHMdt; iFRNz: LU9SI: n9DRp: tryf_: } wXzRx: aEuHj: sqDcf: return $PE3gz ? $GAPv1 : $this->module->integrated && count($this->module->integration_test_result) == 0; } private function extraModules($EaucU) { $xDQ1U = array(); $FMOv_ = array(); $Qsc8a = $this->downloadExtraModules($EaucU); $ksmS8 = $this->getExtraModules(); $vF7Dc = PSM::getDB(); foreach ($ksmS8 as &$cblyO) { $cblyO["enabled"] = $this->isModuleEnabled($cblyO["name"], $cblyO["version"]); $cblyO["integrated"] = false; $cblyO["ignore"] = false; if ($cblyO["enabled"]) { goto kFKLn; } if ($EaucU) { goto tAHXo; } foreach ($cblyO["files"] as $t1BJu) { $FjsP8 = $t1BJu["file"]; if (!(basename($FjsP8) == "ppsetup.php")) { goto tEKAU; } if (!(($QmL8M = Module::getInstanceByName($cblyO["name"])) && $QmL8M->version == $cblyO["version"])) { goto ZhZzR; } $kXZUl = $this->getPPSetup($cblyO["name"], $FjsP8); $kXZUl->setupExtraModuleUninstalled(); ZhZzR: tEKAU: Oexbp: } k2AxI: tAHXo: goto eAZlF; kFKLn: $cblyO["ignore"] = $this->ignoreExtraModule($cblyO["name"], $cblyO["version"]); if (!(!$cblyO["ignore"] && count($cblyO["files"]) > 0)) { goto y60M_; } $cblyO["integrated"] = true; foreach ($cblyO["files"] as $t1BJu) { $FjsP8 = $t1BJu["file"]; if (basename($FjsP8) == "ppsetup.php") { goto KeQbs; } $mX1Xi = $t1BJu["rel_path"]; $vLm6w = _PS_MODULE_DIR_ . $mX1Xi; $JqkKM = $this->checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8); $sh1zA = $JqkKM[self::VERSION_CHECK_INDEX]; if ($EaucU) { goto nH1Xc; } if ($sh1zA) { goto MI021; } if (!is_file($vLm6w)) { goto ONhLE; } $this->backupFile($vLm6w, true); Tools::copy($FjsP8, $vLm6w); ONhLE: $sh1zA = $this->checkFileIntegrity($vLm6w, $mX1Xi, $FjsP8); MI021: nH1Xc: goto wXtcp; KeQbs: $kXZUl = $this->getPPSetup($cblyO["name"], $FjsP8); if ($EaucU) { goto SzOKE; } $kXZUl->setup(); SzOKE: $sh1zA = $kXZUl->checkIntegrity(); $this->checkVersionIntegrity($cblyO["name"]); wXtcp: $cblyO["integrated"] &= $sh1zA; qD29z: } sMoM9: y60M_: eAZlF: if (!($cblyO["version"] != "all")) { goto i2b31; } $xDQ1U[$cblyO["name"]] = (isset($xDQ1U[$cblyO["name"]]) ? $xDQ1U[$cblyO["name"]] : false) | (bool) $cblyO["integrated"]; i2b31: $FMOv_[] = array(self::EXTRA_MODULE => $cblyO["name"], self::EXTRA_VER => $cblyO["version"], self::EXTRA_ENABLED => $cblyO["enabled"] ? 1 : 0, self::EXTRA_INTEGRATED => $cblyO["integrated"] ? 1 : 0, self::EXTRA_IGNORE => $cblyO["ignore"] ? 1 : 0, self::EXTRA_PERMISSION => isset($Qsc8a[$cblyO["name"]]) ? 1 : 0); BDgtv: } hU5V2: foreach ($xDQ1U as $RY0bs => $sh1zA) { if (!(!$sh1zA && $this->isModuleEnabled($RY0bs))) { goto usuGg; } $DjwFh = $this->moduleVersion($vF7Dc, $RY0bs); $uiQzV = false; foreach ($FMOv_ as $JESPB) { if (!($JESPB[self::EXTRA_MODULE] == $RY0bs && $JESPB[self::EXTRA_VER] == $DjwFh)) { goto n5z4W; } $uiQzV = true; goto agW8g; n5z4W: hZrHS: } agW8g: if ($uiQzV) { goto KlKKw; } $FMOv_[] = array(self::EXTRA_MODULE => $RY0bs, self::EXTRA_VER => $DjwFh, self::EXTRA_ENABLED => 1, self::EXTRA_INTEGRATED => 0, self::EXTRA_IGNORE => $this->ignoreExtraModule($RY0bs, $DjwFh) ? 1 : 0, self::EXTRA_PERMISSION => isset($Qsc8a[$RY0bs]) ? 1 : 0); KlKKw: usuGg: wr5MI: } OOotj: $this->saveExtraModulesConfiguration($FMOv_); } public function checkSmartyIntegrity() { if (!$this->check_integration_processed) { goto TpXo4; } return; TpXo4: if (parent::checkSmartyIntegrity()) { goto C5FeF; } $this->module->integration_test_result[] = sprintf($this->l("Integration failed for smarty file "%s""), $this->smartyConfigFile(false)) . $this->notWritableWarning($this->smartyConfigFile()); C5FeF: } private function getPPSetup($RY0bs, $vLm6w) { $kXZUl = PSMHelper::ppSetupInstance($this->module, $RY0bs, $vLm6w); $kXZUl->install_mode = $this->install_mode; return $kXZUl; } private function getPPSetupEx() { return $this->getPPSetup("ex", dirname(__FILE__) . "/setup/ppsetup.php"); } private function plugins() { $Cv60P = array(".", ".."); $Em_Qo = array(); $Z50wN = dirname(__FILE__) . "/plugins/"; if (!is_dir($Z50wN)) { goto EOtcd; } $t1BJu = scandir($Z50wN); foreach ($t1BJu as $vLm6w) { if (in_array($vLm6w, $Cv60P)) { goto ZhQ2r; } $KyCHt = $Z50wN . "/" . $vLm6w; $kXZUl = $KyCHt . "/ppsetup.php"; if (!(is_dir($KyCHt) && is_file($kXZUl))) { goto neA2E; } $Em_Qo[$vLm6w] = $this->getPPSetup($vLm6w, $kXZUl); neA2E: ZhQ2r: fFVg2: } fAVQ_: EOtcd: return $Em_Qo; } private function getExtraModulesConfiguration() { $BEQRN = Configuration::getGlobalValue("PP_INTEGRATION_EXTRA_MODULES"); if (!is_string($BEQRN)) { goto jbjaA; } return json_decode($BEQRN, true); jbjaA: return null; } private function saveExtraModulesConfiguration($cblyO) { Configuration::updateGlobalValue("PP_INTEGRATION_EXTRA_MODULES", json_encode(array_values($cblyO))); } private function ignoreExtraModule($RY0bs, $u7K91) { if (!is_array($this->extra)) { goto H7vjf; } foreach ($this->extra as $JESPB) { if (!(strcmp($JESPB[self::EXTRA_MODULE], $RY0bs) == 0 && strcmp($JESPB[self::EXTRA_VER], $u7K91) == 0)) { goto pu6zU; } return (bool) $JESPB[self::EXTRA_IGNORE]; pu6zU: HicXS: } o4n_U: H7vjf: return false; } public function checkReplacedStringsAndReport($GY9ga, $N1u1v, $d2lDl = null) { $w80jG = 0; $FMOv_ = $this->checkReplacedStrings($GY9ga, $N1u1v); $UX0hM = count($FMOv_); if (!($UX0hM > 0)) { goto u5wMb; } $d2lDl = $d2lDl == null ? $this->l("Files integration") : $d2lDl; $YXZ7H = array(); $IQOd6 = array(); $VYzjM = 0; Du_MG: if (!($VYzjM < $UX0hM)) { goto e67zg; } foreach ($FMOv_[$VYzjM] as $lZItC => $PGd53) { $IWIVz = ''; $wJsUG = ''; $AKLRV = false; switch ($lZItC) { case "file_not_found": $GY9ga = $PGd53; $w80jG++; $IWIVz = PP::span(" " . $this->l("(file not found)"), "warning"); goto AGhwx; case "backup_failed": $GY9ga = $PGd53; $w80jG++; $IWIVz = PP::span(" " . $this->l("(backup failed)"), "warning"); $IWIVz .= $this->notWritableWarning($GY9ga); goto AGhwx; case "string_not_found": $w80jG++; $IWIVz = $this->notWritableWarning($GY9ga); if (!(Tools::strlen($IWIVz) == 0)) { goto g1IIi; } $IWIVz = PP::span(" " . $this->l("(string not found)"), "warning"); $wJsUG = sprintf("<br>%s<br>%s", PP::span(sprintf("%s%s", PP::span($this->l("searching for:") . " ", "warning"), PP::safeOutput(self::truncateString($PGd53[0], 150))), "warning-details"), PP::span(sprintf("%s%s", PP::span($this->l("substitute:") . " ", "warning"), PP::safeOutput(self::truncateString($PGd53[1], 150))), "warning-details")); g1IIi: goto AGhwx; case "string_not_found_note": $AKLRV = true; $IWIVz = $this->notWritableWarning($GY9ga); if (!(Tools::strlen($IWIVz) == 0)) { goto fWt0h; } $IWIVz = PP::span(" " . $this->l("(optional string not found, no action required)"), "note"); $wJsUG = sprintf("<br>%s<br>%s", PP::span(sprintf("%s%s", PP::span($this->l("searching for:") . " ", "note"), PP::safeOutput(self::truncateString($PGd53[0], 150))), "note-details"), PP::span(sprintf("%s%s", PP::span($this->l("substitute:") . " ", "note"), PP::safeOutput(self::truncateString($PGd53[1], 150))), "note-details")); fWt0h: goto AGhwx; case "string_count": $w80jG++; $IWIVz = $this->notWritableWarning($GY9ga); if (!(Tools::strlen($IWIVz) == 0)) { goto PmIcM; } $IWIVz = PP::span(" " . sprintf($this->l("(string expected to be found %d %s, found %d %s)"), $PGd53[2], PSM::plural($PGd53[2], $this->l("time"), $this->l("times")), $PGd53[3], PSM::plural($PGd53[3], $this->l("time"), $this->l("times"))), "warning"); $wJsUG = sprintf("<br>%s<br>%s", PP::span(sprintf("%s%s", PP::span($this->l("searching for:") . " ", "warning"), PP::safeOutput(self::truncateString($PGd53[0], 150))), "warning-details"), PP::span(sprintf("%s%s", PP::span($this->l("substitute:") . " ", "warning"), PP::safeOutput(self::truncateString($PGd53[1], 150))), "warning-details")); PmIcM: goto AGhwx; case "duplicate_string_found": $w80jG++; $IWIVz = $this->notWritableWarning($GY9ga); if (!(Tools::strlen($IWIVz) == 0)) { goto CKTm7; } $IWIVz = PP::span(" " . $this->l("(duplicate string found)"), "warning"); $wJsUG = sprintf("<br>%s", PP::span(PP::safeOutput(self::truncateString($PGd53, 150)), "warning-details")); CKTm7: goto AGhwx; default: $w80jG++; goto AGhwx; } ucGSZ: AGhwx: $O3XfF = "<br>" . sprintf($AKLRV ? $this->l("String replacement note for file: %s%s") : $this->l("String replacement warning for file: %s%s"), PSM::normalizePath($GY9ga, "relative"), $IWIVz); if (in_array($O3XfF, $AKLRV ? $IQOd6 : $YXZ7H)) { goto HaMcU; } if ($AKLRV) { goto mstZJ; } $YXZ7H[] = $O3XfF; goto ttc1b; mstZJ: $IQOd6[] = $O3XfF; ttc1b: HaMcU: if (!(Tools::strlen($wJsUG) > 0)) { goto GkZVB; } if ($AKLRV) { goto Ly7pu; } $YXZ7H[] = $wJsUG; goto fPsdW; Ly7pu: $IQOd6[] = $wJsUG; fPsdW: GkZVB: zLSii: } BegmP: lLNaq: $VYzjM++; goto Du_MG; e67zg: if (!count($YXZ7H)) { goto d6jqN; } $O3XfF = implode('', $YXZ7H); if (!(!isset($this->module->integration_test_result[$d2lDl]) || !in_array($O3XfF, $this->module->integration_test_result[$d2lDl]))) { goto sfHQY; } $this->module->integration_test_result[$d2lDl][] = $O3XfF; sfHQY: d6jqN: if (!count($IQOd6)) { goto rzJ1K; } if (isset($this->module->integration_test_result_notes)) { goto CTXmx; } $this->module->integration_test_result_notes = array(); CTXmx: $O3XfF = implode('', $IQOd6); if (!(!isset($this->module->integration_test_result_notes[$d2lDl]) || !in_array($O3XfF, $this->module->integration_test_result_notes[$d2lDl]))) { goto pSClM; } $this->module->integration_test_result_notes[$d2lDl][] = $O3XfF; pSClM: rzJ1K: u5wMb: return $w80jG == 0; } protected function amendSetupCustom(&$RFDcO, $HB2D6) { if (!(static::$ppsetup_custom_config === null)) { goto OmPOl; } if (!empty($RZ6kh = Configuration::getGlobalValue("PPSETUP_CUSTOM"))) { goto ezqzd; } static::$ppsetup_custom_config = array(); goto Mwfk7; ezqzd: static::$ppsetup_custom_config = psm_unser(hex2bin($RZ6kh)); Mwfk7: OmPOl: $C9JCT = str_replace(array("/setup/", "/ppsetup.php"), array("/setup/custom/", "/ppsetup.inc"), $this->fullpath); if (!(!file_exists($C9JCT) && key_exists($C9JCT, static::$ppsetup_custom_config))) { goto SHsGa; } $Z50wN = str_replace("/ppsetup.inc", '', $C9JCT); if (is_dir($Z50wN)) { goto s7RCR; } mkdir($Z50wN, 0755, true); PSM::protectDirectory($Z50wN); s7RCR: file_put_contents($C9JCT, static::$ppsetup_custom_config[$C9JCT]); SHsGa: if (!is_file($C9JCT)) { goto EoMBo; } if (key_exists($C9JCT, static::$ppsetup_custom)) { goto fMVsy; } $ppsetup_custom = null; @(include $C9JCT); if (is_array($ppsetup_custom) && count($ppsetup_custom)) { goto teLF8; } static::$ppsetup_custom[$C9JCT] = array(); unset(static::$ppsetup_custom_config[$C9JCT]); goto KSike; teLF8: static::$ppsetup_custom[$C9JCT] = $ppsetup_custom; static::$ppsetup_custom_config[$C9JCT] = Tools::file_get_contents($C9JCT); KSike: if (count(static::$ppsetup_custom_config)) { goto SQoMK; } Configuration::deleteByName("PPSETUP_CUSTOM"); goto w2oJ4; SQoMK: Configuration::updateGlobalValue("PPSETUP_CUSTOM", bin2hex(psm_ser(static::$ppsetup_custom_config))); w2oJ4: fMVsy: if (!isset(static::$ppsetup_custom[$C9JCT][$HB2D6])) { goto BVxI2; } foreach ($RFDcO as &$N1u1v) { foreach ($N1u1v["files"] as $vLm6w) { if (empty($vLm6w)) { goto xHLgT; } foreach (static::$ppsetup_custom[$C9JCT][$HB2D6] as $cgzzf) { foreach ($cgzzf["files"] as $FZZ72) { if (empty($FZZ72)) { goto qlT2w; } if (!($vLm6w == $FZZ72)) { goto W0Cp8; } foreach (array("optional", "ignore") as $d2lDl) { if (!isset($cgzzf[$d2lDl])) { goto fopBH; } $N1u1v[$d2lDl] = $cgzzf[$d2lDl]; fopBH: L_In1: } pfeuZ: foreach (array("append", "prepend", "replace") as $d2lDl) { if (!isset($cgzzf[$d2lDl])) { goto CtYKh; } if (isset($N1u1v[$d2lDl])) { goto WuyzY; } $N1u1v[$d2lDl] = $cgzzf[$d2lDl]; goto r_gXq; WuyzY: foreach ($cgzzf[$d2lDl] as $lb1Fr) { $uiQzV = false; foreach ($N1u1v[$d2lDl] as &$KvUl8) { if (!($KvUl8[0] == $lb1Fr[0])) { goto BVu5v; } $KvUl8 = $lb1Fr; $uiQzV = true; BVu5v: hzYc1: } AcyBw: if ($uiQzV) { goto RGyk6; } $N1u1v[$d2lDl][] = $lb1Fr; RGyk6: huEfD: } HvyB6: r_gXq: CtYKh: yRQZ9: } XTmKS: W0Cp8: qlT2w: lNEZ7: } qKwhW: AD_nD: } h5kJd: xHLgT: PJzf1: } yXAQN: sQ6y1: } qJrj3: foreach (static::$ppsetup_custom[$C9JCT][$HB2D6] as $cgzzf) { foreach ($cgzzf["files"] as $FZZ72) { if (empty($FZZ72)) { goto KKpsK; } $uiQzV = false; foreach ($RFDcO as $N1u1v) { foreach ($N1u1v["files"] as $vLm6w) { if (!($vLm6w == $FZZ72)) { goto e4IA9; } $uiQzV = true; goto MEASv; e4IA9: miS6m: } GX2W6: d2s4c: } MEASv: if ($uiQzV) { goto ssRDd; } $nIgUg = $cgzzf; $nIgUg["files"] = array($FZZ72); $RFDcO[] = $nIgUg; ssRDd: KKpsK: BhTWe: } RtH1B: djyEd: } vitP3: BVxI2: EoMBo: } protected function processReplaceInFiles(&$RFDcO, $yiSsK, $Z50wN) { $this->amendSetupCustom($RFDcO, $Z50wN); $FMOv_ = true; foreach ($RFDcO as $N1u1v) { foreach ($N1u1v["files"] as $vLm6w) { if (empty($vLm6w)) { goto ZDvzV; } $wR3Uf = true; $GY9ga = false; if (Tools::strpos($vLm6w, "classes/") === 0 || Tools::strpos($vLm6w, "controllers/") === 0) { goto bDnB3; } if (Tools::strpos($vLm6w, "pdf/") === 0) { goto F_3WH; } goto yaOBS; bDnB3: $GY9ga = $Z50wN . "override/" . $vLm6w; goto yaOBS; F_3WH: if (is_file(_PS_THEME_DIR_ . $vLm6w)) { goto hor8z; } if (defined("_PS_PARENT_THEME_DIR_") && _PS_PARENT_THEME_DIR_ && is_file(_PS_PARENT_THEME_DIR_ . $vLm6w)) { goto Uajw2; } goto CpWPf; hor8z: $GY9ga = _PS_THEME_DIR_ . $vLm6w; $wR3Uf = false; goto CpWPf; Uajw2: $GY9ga = _PS_PARENT_THEME_DIR_ . $vLm6w; $wR3Uf = false; CpWPf: yaOBS: if ($yiSsK) { goto eK1qq; } if (!$wR3Uf) { goto n1H31; } $GY9ga = $Z50wN . $vLm6w; if (!(!is_file($GY9ga) && $Z50wN == _PS_THEME_DIR_ && defined("_PS_PARENT_THEME_DIR_") && _PS_PARENT_THEME_DIR_)) { goto gwUHZ; } $GY9ga = _PS_PARENT_THEME_DIR_ . $vLm6w; gwUHZ: n1H31: $FMOv_ &= $this->checkReplacedStringsAndReport($GY9ga, $N1u1v); goto rkMEA; eK1qq: if (!($GY9ga && is_file($GY9ga) && is_writable($GY9ga))) { goto DCL3d; } $this->replaceStrings($GY9ga, $N1u1v, $this->install_mode); DCL3d: if (!$wR3Uf) { goto JMs5c; } $GY9ga = $Z50wN . $vLm6w; if (is_file($GY9ga) && is_writable($GY9ga)) { goto vGCKI; } if ($Z50wN == _PS_THEME_DIR_ && defined("_PS_PARENT_THEME_DIR_") && _PS_PARENT_THEME_DIR_) { goto xY2SJ; } goto ln2KW; vGCKI: $this->replaceStrings($GY9ga, $N1u1v, $this->install_mode); goto ln2KW; xY2SJ: $GY9ga = _PS_PARENT_THEME_DIR_ . $vLm6w; if (!(is_file($GY9ga) && is_writable($GY9ga))) { goto qOSRk; } $this->replaceStrings($GY9ga, $N1u1v, $this->install_mode); qOSRk: ln2KW: JMs5c: rkMEA: ZDvzV: BW0hk: } Iv847: beCuo: } sRDR0: return $FMOv_; } protected function processModuleFiles($JESPB, $RFDcO, $yiSsK) { $this->amendSetupCustom($RFDcO, $JESPB); $FMOv_ = true; foreach ($RFDcO as $N1u1v) { if (!count($N1u1v["files"])) { goto J9O0o; } $O3XfF = $N1u1v["files"][0]; if (empty($O3XfF)) { goto lOmCH; } $lZItC = Tools::substr($O3XfF, Tools::strrpos($O3XfF, ".") + 1); $zV8Po = _PS_MODULE_DIR_ . $JESPB . "/"; switch ($lZItC) { case "tpl": $Z7tVU = array(_PS_THEME_DIR_ . "modules/" . $JESPB . "/"); if (!defined("_PS_PARENT_THEME_DIR_")) { goto PCR7O; } $Z7tVU[] = _PS_PARENT_THEME_DIR_ . "modules/" . $JESPB . "/"; PCR7O: $Z7tVU[] = $zV8Po . "views/templates/hook/"; goto pQ3gH; case "js": $Z7tVU = array(_PS_THEME_DIR_ . "js/modules/" . $JESPB . "/"); if (!defined("_PS_PARENT_THEME_DIR_")) { goto MGBZr; } $Z7tVU[] = _PS_PARENT_THEME_DIR_ . "js/modules/" . $JESPB . "/"; MGBZr: goto pQ3gH; case "php": $Z7tVU = array(); goto pQ3gH; default: return; } U8lcL: pQ3gH: foreach ($N1u1v["files"] as $vLm6w) { if (empty($vLm6w)) { goto OBhBG; } $GY9ga = null; foreach ($Z7tVU as $Z50wN) { if (!is_file($Z50wN . $vLm6w)) { goto gjN1y; } $GY9ga = $Z50wN . $vLm6w; goto jGupl; gjN1y: ndHJD: } jGupl: if (!($GY9ga == null)) { goto A_Kp1; } if ($JESPB == "pproperties" && Tools::strpos($vLm6w, "classes/core/classes/") === 0) { goto IUfJE; } $GY9ga = $zV8Po . $vLm6w; goto bqtR1; IUfJE: static $VTCtN = null; if (!($VTCtN === null)) { goto lj8V0; } $VTCtN = Tools::substr(_PS_VERSION_, 0, strrpos(_PS_VERSION_, ".")); lj8V0: $kZqK7 = str_replace("classes/core/", '', $vLm6w); $GY9ga = PSM_CLASSES_CORE_DIR . _PS_VERSION_ . "/" . $kZqK7; if (is_file($GY9ga)) { goto Yz0o0; } $GY9ga = PSM_CLASSES_CORE_DIR . $VTCtN . "/" . $kZqK7; if (is_file($GY9ga)) { goto onA1a; } $GY9ga = PSM_CLASSES_CORE_DIR . $kZqK7; onA1a: Yz0o0: bqtR1: A_Kp1: if ($yiSsK) { goto gxOzm; } $FMOv_ &= $this->checkReplacedStringsAndReport($GY9ga, $N1u1v, $this->l("Modules")); goto Crp24; gxOzm: if (!is_writable($GY9ga)) { goto acdx6; } $this->replaceStrings($GY9ga, $N1u1v, $this->install_mode); acdx6: Crp24: OBhBG: W9sLO: } K3Yz9: lOmCH: J9O0o: xlyLb: } hgko3: return $FMOv_; } protected function setupMail($RFDcO, $v2TXd) { $Z7tVU = scandir(_PS_MAIL_DIR_); foreach ($Z7tVU as $mIDY6) { $Z50wN = _PS_MAIL_DIR_ . $mIDY6; if (!($mIDY6 != "." && $mIDY6 != ".." && is_dir($Z50wN))) { goto EUbp6; } foreach ($RFDcO as $N1u1v) { foreach ($N1u1v["files"] as $vLm6w) { if (empty($vLm6w)) { goto BPFHE; } $GY9ga = $Z50wN . "/" . $vLm6w; if (!is_file($GY9ga)) { goto r2faC; } $KoaDL = Tools::file_get_contents($GY9ga); if ($v2TXd) { goto gDa0O; } $hPgxk = str_replace($N1u1v["replace"], '', $KoaDL, $IB6HX); if (!($IB6HX > 0)) { goto dIird; } @file_put_contents($GY9ga, $hPgxk); dIird: goto QrDTy; gDa0O: if (!(Tools::strpos($KoaDL, $N1u1v["target"]) === false)) { goto Eu7IX; } $MVSr2 = Tools::strpos($KoaDL, $N1u1v["condition"]); if (!($MVSr2 !== false)) { goto IOALr; } $P7iqP = Tools::strpos($KoaDL, $N1u1v["delimiter"], $MVSr2); if (!($P7iqP !== false)) { goto RvcKU; } $hPgxk = PSM::substrReplace($KoaDL, $N1u1v["replace"], $P7iqP + Tools::strlen($N1u1v["delimiter"]), 0); @file_put_contents($GY9ga, $hPgxk); RvcKU: IOALr: Eu7IX: QrDTy: r2faC: BPFHE: s5ZRb: } m5hP6: QuZsY: } hg617: EUbp6: UzGUH: } x3MVH: } protected function notWritableWarning($GY9ga) { return is_writable($GY9ga) ? '' : "<span class="warning"> (" . Context::getContext()->getTranslator()->trans("The server does not have permissions for writing.", array(), "Admin.Notifications.Error") . ")</span>"; } private function moduleVersion($vF7Dc, $RY0bs) { return $vF7Dc->getValue("SELECT version FROM `" . _DB_PREFIX_ . "module` WHERE `name` = '" . pSQL($RY0bs) . "'"); } private function isModuleEnabled($RY0bs, $DjwFh = "all") { if (!Module::isEnabled($RY0bs)) { goto kQI9f; } if (!($DjwFh == "all")) { goto zUNcL; } return true; zUNcL: return $DjwFh == $this->moduleVersion(PSM::getDB(), $RY0bs); kQI9f: return $this->module_mutating && $this->module_mutating->name == $RY0bs && ($this->module_mutating->version == $DjwFh || $DjwFh == "all"); } private function isModuleInstalled($vF7Dc, $RY0bs, $DjwFh) { if (!Module::isInstalled($RY0bs)) { goto lBY26; } if (!(strcmp($DjwFh, "all") == 0)) { goto OjX5c; } return true; OjX5c: return $DjwFh == $this->moduleVersion($vF7Dc, $RY0bs); lBY26: return false; } public function downloadExtraModule($RY0bs, $DjwFh, $VpAvo = false) { $Iwc8B = $this->getExtraModulesList(); if (empty($Iwc8B[$RY0bs])) { goto dOGyc; } $f3iIA = PSMHelper::ppSetupExtraModulesDir(); if ($VpAvo || !is_dir($f3iIA . "/" . $RY0bs . "/all") && !is_dir($f3iIA . "/" . $RY0bs . "/" . $DjwFh)) { goto Cbu_U; } $KW9R2 = "downloaded"; goto gEvym; Cbu_U: $KW9R2 = "error"; $RFDcO = array_merge(array("key" => $this->module->name, "ver" => $this->module->version, "module" => $RY0bs, "version" => $DjwFh), PSM::psmInfo($this->module->name)); $KoaDL = PSM::getContent("integration.php", $RFDcO); if (!$KoaDL) { goto DCSHX; } if ($KoaDL == "_none_") { goto U0t2Z; } $Z50wN = $f3iIA . "/" . $RY0bs . "/"; if (is_dir($Z50wN)) { goto xcHX7; } mkdir($Z50wN, 0755, true); xcHX7: $qHz6P = $Z50wN . $DjwFh . ".zip"; Tools::deleteFile($qHz6P); if (!(file_put_contents($qHz6P, $KoaDL) !== false)) { goto o97EC; } if (Tools::ZipExtract($qHz6P, $Z50wN)) { goto Lvjh3; } $KW9R2 = "permission_denied"; goto myb4A; Lvjh3: $KW9R2 = "downloaded"; myb4A: Tools::deleteFile($qHz6P); o97EC: goto h8O6Y; U0t2Z: if ($DjwFh == "all" || strpos("pproperties", $RY0bs) == 0) { goto LHEw0; } $KW9R2 = "no_updates"; goto wtuzw; LHEw0: $KW9R2 = "rerun"; wtuzw: h8O6Y: DCSHX: gEvym: goto InCTc; dOGyc: $KW9R2 = "no_updates"; InCTc: return $KW9R2; } private function downloadExtraModules($EaucU) { $Qsc8a = []; $vF7Dc = PSM::getDB(); foreach ($this->getExtraModulesList() as $RY0bs => $RHVmL) { if (!($RHVmL && $this->isModuleEnabled($RY0bs))) { goto sU8cI; } $KW9R2 = $this->downloadExtraModule($RY0bs, $this->moduleVersion($vF7Dc, $RY0bs), !$EaucU); if (!($KW9R2 == "permission_denied")) { goto vZCmf; } $Qsc8a[$RY0bs] = true; vZCmf: sU8cI: s8o40: } BMOSw: PSM::protectDirectory(PSMHelper::ppSetupExtraModulesDir()); return $Qsc8a; } private function getExtraModulesList() { static $Iwc8B = null; if (!($Iwc8B === null)) { goto WfUzs; } $Iwc8B = array(); $AxtYz = self::excludeFiles(); $f3iIA = PSMHelper::ppSetupExtraModulesDir(); foreach (scandir($f3iIA) as $Z50wN) { if (!(in_array($Z50wN, $AxtYz) || !is_dir($f3iIA . "/" . $Z50wN))) { goto ebMW9; } goto hGEux; ebMW9: $Iwc8B[$Z50wN] = null; hGEux: } zT7HM: $vLm6w = $f3iIA . "/extra_modules_list.xml"; if (!file_exists($vLm6w)) { goto LnZSY; } $KoaDL = Tools::file_get_contents($vLm6w); $no1s8 = simplexml_load_string($KoaDL, null, LIBXML_NOCDATA); if (!($no1s8 && isset($no1s8->module))) { goto tYuLi; } foreach ($no1s8->module as $JESPB) { $RY0bs = Tools::strtolower((string) $JESPB->name); if (!(!isset($JESPB->plugin) || !$JESPB->plugin)) { goto Ttock; } $Iwc8B[$RY0bs] = true; Ttock: aIwEz: } ORWmZ: tYuLi: LnZSY: WfUzs: return $Iwc8B; } private function getExtraModules() { $vF7Dc = PSM::getDB(); $ksmS8 = array(); $f3iIA = PSMHelper::ppSetupExtraModulesDir(); foreach ($this->getExtraModulesList() as $RY0bs => $RHVmL) { if ($this->isModuleEnabled($RY0bs)) { goto nruu0; } if ($QmL8M = Module::getInstanceByName($RY0bs)) { goto wKci2; } $DjwFh = 0; goto aLybr; nruu0: $DjwFh = $this->moduleVersion($vF7Dc, $RY0bs); goto aLybr; wKci2: $DjwFh = $QmL8M->version; aLybr: $d2lDl = $RY0bs . ":" . $DjwFh; $ksmS8[$d2lDl] = array("name" => $RY0bs, "version" => $DjwFh, "files" => array()); if (!($DjwFh > 0)) { goto aoNUU; } $t1BJu = self::directoryListing($f3iIA . "/" . $RY0bs . "/" . $DjwFh, "_media_"); if (!(count($t1BJu) == 0)) { goto u8VeF; } $DjwFh = "all"; $t1BJu = self::directoryListing($f3iIA . "/" . $RY0bs . "/all", "_media_"); u8VeF: if (!count($t1BJu)) { goto nxRnm; } foreach ($t1BJu as $vLm6w) { $mX1Xi = str_replace($DjwFh . "/", '', Tools::substr(str_replace($f3iIA, '', $vLm6w), 1)); $ksmS8[$d2lDl]["files"][] = array("rel_path" => $mX1Xi, "file" => $vLm6w); h0TgT: } CI7VS: nxRnm: aoNUU: esB8J: } U3Qo_: return $ksmS8; } private function checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8) { $gI_Y6 = PSM::integrationVersion($this->module); $FMOv_ = array(); $FMOv_[self::VERSION_CHECK_INDEX] = false; $DjwFh = $this->getVersion($vLm6w); if ($DjwFh === false) { goto W00vd; } $wJsUG = $this->notWritableWarning($vLm6w); if ($DjwFh[self::VERSION_INDEX] === false) { goto xNK23; } $tUVaj = $this->getVersion($FjsP8); if (Tools::version_compare($gI_Y6, $DjwFh[self::VERSION_INDEX], "=")) { goto EsXwU; } if ($tUVaj[self::VERSION_REQUIRED_INDEX] !== false) { goto F1hFV; } $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "[8] " . sprintf($this->l("File not compatible: %s (expected version %s, found version %s)") . $wJsUG, PSM::normalizePath($mX1Xi, "relative"), $gI_Y6, $DjwFh[self::VERSION_INDEX]); goto F7RiZ; F1hFV: if (Tools::version_compare($DjwFh[self::VERSION_INDEX], $tUVaj[self::VERSION_REQUIRED_INDEX], ">=")) { goto fMm8V; } if ($DjwFh[self::VERSION_REQUIRED_INDEX] !== false) { goto fEVkA; } $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "[7] " . sprintf($this->l("File not compatible: %s (expected version %s, found version %s)") . $wJsUG, PSM::normalizePath($mX1Xi, "relative"), str_replace("#", "-R", $tUVaj[self::VERSION_REQUIRED_INDEX]), $DjwFh[self::VERSION_INDEX]); goto FrqP_; fEVkA: if (Tools::version_compare($DjwFh[self::VERSION_REQUIRED_INDEX], $tUVaj[self::VERSION_REQUIRED_INDEX], "<")) { goto pBTyX; } $FMOv_[self::VERSION_CHECK_INDEX] = true; if (Tools::version_compare($DjwFh[self::VERSION_REQUIRED_INDEX], $tUVaj[self::VERSION_REQUIRED_INDEX], ">")) { goto OxDC8; } $FMOv_[self::VERSION_CHECK_DESC_INDEX] = ''; goto QsPuO; OxDC8: $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "[6] " . sprintf($this->l("Compatibility warning for file: %s (expected version %s, found version %s)") . $wJsUG, PSM::normalizePath($mX1Xi, "relative"), str_replace("#", "-R", $tUVaj[self::VERSION_REQUIRED_INDEX]), str_replace("#", "-R", $DjwFh[self::VERSION_REQUIRED_INDEX])); QsPuO: goto qJmEw; pBTyX: $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "[5] " . sprintf($this->l("Compatibility warning for file: %s (expected version %s, found version %s)") . $wJsUG, PSM::normalizePath($mX1Xi, "relative"), str_replace("#", "-R", $tUVaj[self::VERSION_REQUIRED_INDEX]), str_replace("#", "-R", $DjwFh[self::VERSION_REQUIRED_INDEX])); qJmEw: FrqP_: goto SLFFO; fMm8V: $FMOv_[self::VERSION_CHECK_INDEX] = true; $FMOv_[self::VERSION_CHECK_DESC_INDEX] = ''; SLFFO: F7RiZ: goto abQad; EsXwU: $FMOv_[self::VERSION_CHECK_INDEX] = true; $FMOv_[self::VERSION_CHECK_DESC_INDEX] = ''; if (!($tUVaj[self::VERSION_REQUIRED_INDEX] !== false)) { goto FK90c; } if ($DjwFh[self::VERSION_REQUIRED_INDEX] !== false) { goto RG83R; } $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "[4] " . sprintf($this->l("Compatibility warning for file: %s (expected version %s, no version information found)") . $wJsUG, PSM::normalizePath($mX1Xi, "relative"), str_replace("#", "-R", $tUVaj[self::VERSION_REQUIRED_INDEX])); goto VIP2U; RG83R: if (!Tools::version_compare($DjwFh[self::VERSION_REQUIRED_INDEX], $tUVaj[self::VERSION_REQUIRED_INDEX], "<")) { goto PuuHC; } $FMOv_[self::VERSION_CHECK_INDEX] = false; $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "[3] " . sprintf($this->l("Compatibility warning for file: %s (expected version %s, found version %s)") . $wJsUG, PSM::normalizePath($mX1Xi, "relative"), str_replace("#", "-R", $tUVaj[self::VERSION_REQUIRED_INDEX]), str_replace("#", "-R", $DjwFh[self::VERSION_REQUIRED_INDEX])); PuuHC: VIP2U: FK90c: abQad: goto BRpT1; xNK23: $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "[2] " . sprintf($this->l("File not compatible: %s (missing version signature)") . $wJsUG, PSM::normalizePath($mX1Xi, "relative")); BRpT1: goto HIGA4; W00vd: $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "[1] " . sprintf($this->l("File is missing: %s"), PSM::normalizePath($mX1Xi, "relative")); HIGA4: return $FMOv_; } private function getSetupVars1() { $d2lDl = "getSetupVars1"; if (isset(static::$s_cache[$d2lDl])) { goto kHv99; } $NWVVH = Tools::substr(str_replace(_PS_ROOT_DIR_, '', _PS_ADMIN_DIR_), 1) . "/"; $d234c = Tools::substr(str_replace(_PS_ROOT_DIR_, '', _PS_THEME_DIR_), 1); $Hzjph = dirname(__FILE__) . "/setup/core"; $x_E_T = dirname(__FILE__) . "/override"; $wu1lh = self::directoryListing($Hzjph, array("_version_", "_media_")); $bvVUI = self::directoryListing($Hzjph . "/_version_/" . _PS_VERSION_); if (!$bvVUI) { goto Won2h; } $wu1lh = array_merge($wu1lh, $bvVUI); Won2h: $rXnPz = self::directoryListing($x_E_T); static::$s_cache[$d2lDl] = array($NWVVH, $d234c, $Hzjph, $x_E_T, $wu1lh, $rXnPz); kHv99: return static::$s_cache[$d2lDl]; } private function getSetupVars2($m7rr8, $FjsP8) { list($NWVVH, $d234c, $Hzjph, ) = $m7rr8; $dQsW2 = Tools::substr(str_replace($Hzjph, '', $FjsP8), 1); $UX0hM = Tools::strlen($dQsW2); if (Tools::strrpos($dQsW2, "._tpl") == $UX0hM - 5) { goto iBhH5; } if (Tools::strrpos($dQsW2, "._js") == $UX0hM - 4) { goto n_NWn; } $YRAlz = $dQsW2; goto fDivr; iBhH5: $YRAlz = Tools::substr($dQsW2, 0, $UX0hM - 5) . ".tpl"; goto fDivr; n_NWn: $YRAlz = Tools::substr($dQsW2, 0, $UX0hM - 4) . ".js"; fDivr: $mX1Xi = $YRAlz; $vrD98 = false; if (Tools::strpos($mX1Xi, "admin/") === 0) { goto yonng; } if (Tools::strpos($mX1Xi, "pdf/") === 0) { goto TWXLJ; } if (Tools::strpos($mX1Xi, "themes/default-bootstrap/") === 0) { goto RvCA8; } if (Tools::strpos($mX1Xi, "_version_/legacy/themes/default-bootstrap/") === 0) { goto psv7Y; } if (Tools::strpos($mX1Xi, "_version_/legacy/pdf/") === 0) { goto Syj42; } goto TySod; yonng: $mX1Xi = PSM::normalizePath(str_replace("admin/", $NWVVH, $mX1Xi)); goto TySod; TWXLJ: $vrD98 = PSM::normalizePath($d234c . $mX1Xi); goto TySod; RvCA8: $mX1Xi = PSM::normalizePath(str_replace("themes/default-bootstrap/", $d234c, $mX1Xi)); goto TySod; psv7Y: $mX1Xi = PSM::normalizePath(str_replace("_version_/legacy/themes/default-bootstrap/", $d234c, $mX1Xi)); goto TySod; Syj42: $YRAlz = str_replace("_version_/legacy/pdf/", "pdf/", $YRAlz); $mX1Xi = PSM::normalizePath(str_replace("_version_/legacy/pdf/", "pdf/", $mX1Xi)); $vrD98 = PSM::normalizePath($d234c . $mX1Xi); TySod: if (!(Tools::strpos($YRAlz, "admin/themes/default/template/controllers") === 0)) { goto LAdd3; } $vrD98 = str_replace("admin/themes/default/template/controllers", "override/controllers/admin/templates", $YRAlz); LAdd3: $vLm6w = _PS_ROOT_DIR_ . "/" . $mX1Xi; $Lfhpo = $mX1Xi; if (!$vrD98) { goto qCgQ9; } $eWyoc = _PS_ROOT_DIR_ . "/" . $vrD98; if (!is_file($eWyoc)) { goto WMcOh; } $mX1Xi = $vrD98; $vLm6w = $eWyoc; WMcOh: qCgQ9: return array($dQsW2, $YRAlz, $mX1Xi, $vLm6w, $vrD98, $Lfhpo); } public function insertData($hIeEA = false) { $vF7Dc = PSM::getDB(); if (!$hIeEA) { goto JMbdh; } $vF7Dc->delete("pp_template", "id_pp_template < " . PProperties::USER_START_ID); $vF7Dc->delete("pp_template_lang", "id_pp_template < " . PProperties::USER_START_ID); $vF7Dc->delete("pp_template_property", "id_pp_template < " . PProperties::USER_START_ID); $vF7Dc->delete("pp_property", "id_pp_property < " . PProperties::USER_START_ID); $vF7Dc->delete("pp_property_lang", "id_pp_property < " . PProperties::USER_START_ID); $vF7Dc->delete("pp_template_ext", "id_pp_template < " . PProperties::USER_START_ID); $vF7Dc->delete("pp_template_ext_prop", "id_pp_template < " . PProperties::USER_START_ID); JMbdh: $HfcTD = Language::getLanguages(false); $Pcc5w = 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", $Pcc5w); $Pcc5w = 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", $Pcc5w); $Pcc5w = 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", $Pcc5w, $HfcTD); $Pcc5w = 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" => "gram", "text_2" => "oz"), array("id_pp_property" => 14, "text_1" => "per gram", "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", $Pcc5w, $HfcTD); $Wx4Kq = array(); foreach ($Pcc5w as $aP7sw) { $Wx4Kq[] = array("id_pp_property" => $aP7sw["id_pp_property"], "type" => PProperties::PROPERTY_TYPE_GENERAL); UF2k1: } dG0mr: self::dbInsert("pp_property", $Wx4Kq); $Pcc5w = 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 {MIN}.", "text_2" => "You cannot order less than {MIN}."), array("id_pp_property" => 57, "text_1" => "You cannot order more than {MAX}.", "text_2" => "You cannot order more than {MAX}."), array("id_pp_property" => 58, "text_1" => "Enter your comment (optional)", "text_2" => "Enter your comment (optional)")); self::dbInsertLang("pp_property_lang", $Pcc5w, $HfcTD); $Wx4Kq = array(); foreach ($Pcc5w as $aP7sw) { $Wx4Kq[] = array("id_pp_property" => $aP7sw["id_pp_property"], "type" => PProperties::PROPERTY_TYPE_BLOCK_TEXT); YI2OH: } DgPZR: self::dbInsert("pp_property", $Wx4Kq); $Pcc5w = 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:"), array("id_pp_property" => 77, "text_1" => "weight:", "text_2" => "weight:"), array("id_pp_property" => 78, "text_1" => "Square", "text_2" => "Square"), array("id_pp_property" => 79, "text_1" => "Area", "text_2" => "Area"), array("id_pp_property" => 80, "text_1" => "Comment", "text_2" => "Comment")); self::dbInsertLang("pp_property_lang", $Pcc5w, $HfcTD); $Wx4Kq = array(); foreach ($Pcc5w as $aP7sw) { $Wx4Kq[] = array("id_pp_property" => $aP7sw["id_pp_property"], "type" => PProperties::PROPERTY_TYPE_EXT); PoCf2: } wNZw5: self::dbInsert("pp_property", $Wx4Kq); $Pcc5w = 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", $Pcc5w); $Pcc5w = 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", $Pcc5w); } protected function dbData() { $cblyO = array(); $cblyO[] = array("func" => array($this, "checkCartProductPrimaryKey")); $cblyO[] = 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"); $cblyO[] = array("func" => array($this, "functionTrue"), "sql" => "ALTER TABLE " . _DB_PREFIX_ . "order_detail CHANGE product_quantity_in_stock product_quantity_in_stock decimal(20,6) NOT NULL DEFAULT 0.000000"); $cblyO[] = array("func" => array($this, "functionTrue"), "sql" => "ALTER TABLE " . _DB_PREFIX_ . "order_detail CHANGE product_quantity_return product_quantity_return decimal(20,6) NOT NULL DEFAULT 0.000000"); $cblyO[] = array("func" => array($this, "functionTrue"), "sql" => "ALTER TABLE " . _DB_PREFIX_ . "order_detail CHANGE product_quantity_refunded product_quantity_refunded decimal(20,6) NOT NULL DEFAULT 0.000000"); $cblyO[] = array("func" => array($this, "functionTrue"), "sql" => "ALTER TABLE " . _DB_PREFIX_ . "order_detail CHANGE product_quantity_reinjected product_quantity_reinjected decimal(20,6) NOT NULL DEFAULT 0.000000"); $cblyO[] = array("func" => array($this, "functionTrue"), "sql" => "ALTER TABLE " . _DB_PREFIX_ . "order_slip_detail CHANGE product_quantity product_quantity decimal(20,6) NOT NULL DEFAULT 0.000000"); $cblyO[] = array("table" => "pp_template", "sql" => "`id_pp_template` int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,\xa                        `version` tinyint unsigned NOT NULL,
                        `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,
                        `display_mode` smallint unsigned NOT NULL DEFAULT 0,
                        `price_display_mode` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `unit_price_ratio` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `minimal_price_ratio` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `minimal_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `maximum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `total_maximum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `default_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `qty_step` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `qty_shift` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `qty_decimals` smallint unsigned NOT NULL DEFAULT 0,
                        `qty_values` varchar(256),\xa                        `qty_ratio` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `ext` tinyint unsigned NOT NULL DEFAULT 0,
                        `qty_available_display` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `hidden` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `customization` tinyint(1) unsigned NOT NULL DEFAULT 0,
                        `css` varchar(256)"); $cblyO[] = array("table" => "pp_template_lang", "sql" => "`id_pp_template` int(10) unsigned NOT NULL,\xa                        `id_lang` int(10) unsigned NOT NULL,\xa                        `name` varchar(48) NOT NULL,
                        `auto_desc_1` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `description_1` text,\xa                        `auto_desc_2` tinyint unsigned NOT NULL DEFAULT 0,
                        `description_2` text,
                        PRIMARY KEY (`id_pp_template`, `id_lang`)"); $cblyO[] = 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)"); $cblyO[] = array("table" => "pp_property", "sql" => "`id_pp_property` int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,\xa                        `type` int(10) NOT NULL", "options" => "AUTO_INCREMENT = " . PProperties::USER_START_ID); $cblyO[] = 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,
                        `text_2` text NOT NULL,
                        PRIMARY KEY (`id_pp_property`, `id_lang`)"); $cblyO[] = array("table" => "pp_template_ext", "sql" => "`id_pp_template` int(10) unsigned NOT NULL,\xa                        `type` tinyint unsigned NOT NULL DEFAULT 0,
                        `policy` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `method` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `title` int(10) unsigned NOT NULL DEFAULT 0,
                        `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,\xa                        `maximum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `minimum_quantity_text` int(10) unsigned NOT NULL DEFAULT 0,
                        `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)"); $cblyO[] = 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,
                        `position` tinyint unsigned NOT NULL DEFAULT 0,\xa                        `property` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `text` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `order_text` int(10) unsigned NOT NULL DEFAULT 0,\xa                        `minimum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `maximum_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        `default_quantity` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `qty_step` decimal(20,6) NOT NULL DEFAULT 0.000000,
                        `qty_ratio` decimal(20,6) NOT NULL DEFAULT 0.000000,\xa                        INDEX (id_pp_template)"); $cblyO[] = 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,\xa                        `id_shop` int(11) unsigned NOT NULL,\xa                        `id_cart_product` int(10) unsigned NOT NULL,
                        `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,
                        `data_type` varchar(32) NOT NULL,\xa                        `data` text,\xa                        INDEX `id_product` (`id_product`),\xa                        INDEX `id_product_id_product_attribute` (`id_product`, `id_product_attribute`),
                        INDEX `id_product_attribute` (`id_product_attribute`),\xa                        INDEX `id_order_id_order_detail` (`id_order`, `id_order_detail`)"); $cblyO[] = array("column" => "id_pp_template", "table" => "product", "sql" => "int(10) unsigned AFTER `weight`"); $cblyO[] = array("column" => "quantity_remainder", "table" => "product", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $cblyO[] = array("column" => "minimal_quantity_fractional", "table" => "product", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $cblyO[] = array("column" => "minimal_quantity_fractional", "table" => "product_shop", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $cblyO[] = array("column" => "quantity_remainder", "table" => "product_attribute", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $cblyO[] = array("column" => "minimal_quantity_fractional", "table" => "product_attribute", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $cblyO[] = array("column" => "minimal_quantity_fractional", "table" => "product_attribute_shop", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $cblyO[] = array("column" => "id_cart_product", "table" => "cart_product", "sql" => "int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST"); $cblyO[] = array("column" => "quantity_fractional", "table" => "cart_product", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $cblyO[] = array("column" => "pp_data_type", "table" => "cart_product", "sql" => "varchar(32) DEFAULT NULL AFTER `quantity_fractional`"); $cblyO[] = array("column" => "pp_data", "table" => "cart_product", "sql" => "text AFTER `pp_data_type`"); $cblyO[] = array("column" => "id_cart_product", "table" => "customization", "sql" => "int(10) unsigned NOT NULL AFTER `id_cart`"); $cblyO[] = array("column" => "quantity_fractional", "table" => "customization", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $cblyO[] = array("column" => "id_cart_product", "table" => "order_detail", "sql" => "int(10) unsigned NOT NULL AFTER `id_order`"); $cblyO[] = array("column" => "product_quantity_fractional", "table" => "order_detail", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `product_quantity`"); $cblyO[] = array("column" => "pp_data_type", "table" => "order_detail", "sql" => "varchar(32) DEFAULT NULL"); $cblyO[] = array("column" => "pp_data", "table" => "order_detail", "sql" => "text"); $cblyO[] = array("column" => "physical_quantity_remainder", "table" => "stock", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `physical_quantity`"); $cblyO[] = array("column" => "usable_quantity_remainder", "table" => "stock", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `usable_quantity`"); $cblyO[] = array("column" => "physical_quantity_remainder", "table" => "stock_mvt", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `physical_quantity`"); $cblyO[] = array("column" => "quantity_remainder", "table" => "stock_available", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `quantity`"); $cblyO[] = array("column" => "physical_quantity_remainder", "table" => "stock_available", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `physical_quantity`"); $cblyO[] = array("column" => "reserved_quantity_remainder", "table" => "stock_available", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `reserved_quantity`"); $cblyO[] = array("column" => "display_mode", "table" => "pp_template", "sql" => "smallint unsigned NOT NULL DEFAULT 0 AFTER `measurement_system`"); $cblyO[] = array("column" => "price_display_mode", "table" => "pp_template", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `display_mode`"); $cblyO[] = array("column" => "maximum_quantity", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimal_quantity`"); $cblyO[] = array("column" => "total_maximum_quantity", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `maximum_quantity`"); $cblyO[] = array("column" => "qty_step", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `default_quantity`"); $cblyO[] = array("column" => "qty_shift", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `qty_step`"); $cblyO[] = array("column" => "qty_decimals", "table" => "pp_template", "sql" => "smallint unsigned NOT NULL DEFAULT 0 AFTER `qty_shift`"); $cblyO[] = array("column" => "qty_values", "table" => "pp_template", "sql" => "varchar(256) AFTER `qty_decimals`"); $cblyO[] = array("column" => "qty_ratio", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `qty_values`"); $cblyO[] = array("column" => "ext", "table" => "pp_template", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `qty_ratio`"); $cblyO[] = array("column" => "minimal_price_ratio", "table" => "pp_template", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `unit_price_ratio`"); $cblyO[] = array("column" => "customization", "table" => "pp_template", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `hidden`"); $cblyO[] = array("column" => "css", "table" => "pp_template", "sql" => "varchar(64) AFTER `hidden`"); $cblyO[] = array("column" => "qty_available_display", "table" => "pp_template", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `hidden`"); $cblyO[] = array("column" => "policy", "table" => "pp_template_ext", "sql" => "tinyint unsigned NOT NULL DEFAULT 0 AFTER `type`"); $cblyO[] = array("column" => "minimum_quantity", "table" => "pp_template_ext", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `explanation`"); $cblyO[] = array("column" => "maximum_quantity", "table" => "pp_template_ext", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `minimum_quantity`"); $cblyO[] = array("column" => "minimum_quantity_text", "table" => "pp_template_ext", "sql" => "int(10) unsigned NOT NULL AFTER `maximum_quantity`"); $cblyO[] = array("column" => "maximum_quantity_text", "table" => "pp_template_ext", "sql" => "int(10) unsigned NOT NULL AFTER `minimum_quantity_text`"); $cblyO[] = array("column" => "minimal_price_ratio", "table" => "pp_template_ext", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `maximum_quantity_text`"); $cblyO[] = array("column" => "id_ext_prop", "table" => "pp_template_ext_prop", "sql" => "int(10) unsigned NOT NULL DEFAULT 0 AFTER `id_pp_template`"); $cblyO[] = array("column" => "qty_ratio", "table" => "pp_template_ext_prop", "sql" => "decimal(20,6) NOT NULL DEFAULT 0.000000 AFTER `qty_step`"); $cblyO[] = array("func" => array($this, "amend")); return $cblyO; } public function amend() { $vF7Dc = Db::getInstance(); $vF7Dc->execute("ALTER TABLE `" . _DB_PREFIX_ . "pp_template` CHANGE `display_mode` `display_mode` smallint unsigned NOT NULL DEFAULT 0"); $vF7Dc->execute("UPDATE `" . _DB_PREFIX_ . "pp_template_ext_prop` SET `id_ext_prop` = `position` WHERE `id_ext_prop` = 0"); return false; } private static function dbInsert($bbza1, $Pcc5w) { $vF7Dc = PSM::getDB(); foreach ($Pcc5w as $aP7sw) { $vF7Dc->insert($bbza1, $aP7sw, false, true, Db::INSERT_IGNORE); RNkT3: } G4Uur: } private static function dbInsertLang($bbza1, $Pcc5w, $HfcTD) { $vF7Dc = PSM::getDB(); foreach ($Pcc5w as $aP7sw) { foreach ($HfcTD as $itcc5) { $aP7sw["id_lang"] = $itcc5["id_lang"]; $vF7Dc->insert($bbza1, $aP7sw, false, true, Db::INSERT_IGNORE); UUYHd: } DdpHX: GzUef: } E47TH: } private static function dbInsertTemplateSpecial($bbza1, $pVP5j, $Pcc5w) { $vF7Dc = PSM::getDB(); foreach ($Pcc5w as $aP7sw) { $C29Ug = $vF7Dc->getRow("SELECT `id_pp_template` FROM `" . _DB_PREFIX_ . $bbza1 . "` WHERE `id_pp_template` = " . (int) $aP7sw["id_pp_template"] . " AND `" . $pVP5j . "`="" . pSQL($aP7sw[$pVP5j]) . """); if (!($C29Ug === false)) { goto alKn1; } $vF7Dc->insert($bbza1, $aP7sw); alKn1: LTcvv: } Izzmh: } private function updateDB() { return $this->setupDB(); } public function checkDbIntegrity() { $FMOv_ = parent::checkDbIntegrity(); if (!(count($FMOv_) > 0)) { goto mPuyH; } foreach ($FMOv_ as $cblyO) { switch ($cblyO["key"]) { case "table_not_found": $this->module->integration_test_result[$this->l("Database")][] = sprintf($this->l("Missing table "%s""), _DB_PREFIX_ . $cblyO["table"]); goto Tyal9; case "column_not_found": $this->module->integration_test_result[$this->l("Database")][] = sprintf($this->l("Missing column "%s" in table "%s""), $cblyO["column"], _DB_PREFIX_ . $cblyO["table"]); goto Tyal9; case "column_definition": $this->module->integration_test_result[$this->l("Database")][] = sprintf($this->l("Column "%s" in table "%s" not properly defined [%s]"), $cblyO["column"], _DB_PREFIX_ . $cblyO["table"], $cblyO["sql"]); goto Tyal9; default: goto Tyal9; } Qi1Om: Tyal9: rn23K: } E6_2e: return false; mPuyH: return true; } public function functionTrue() { return true; } public function checkCartProductPrimaryKey() { $vF7Dc = Db::getInstance(); $FMOv_ = $vF7Dc->getRow("SELECT column_name FROM information_schema.columns\xa            WHERE table_schema = '" . _DB_NAME_ . "'
            AND table_name = '" . _DB_PREFIX_ . "cart_product' AND column_key = 'PRI'"); if (!(is_array($FMOv_) && $FMOv_["column_name"] != "id_cart_product")) { goto VrmY0; } $vF7Dc->execute("ALTER TABLE `" . _DB_PREFIX_ . "cart_product` DROP PRIMARY KEY"); VrmY0: return false; } protected static function directoryListing($FY5Hc, $IBIbo = false, &$duEuQ = null) { if (is_array($duEuQ)) { goto ckuUC; } $duEuQ = array(); ckuUC: if (is_dir($FY5Hc)) { goto CqS4U; } if (!(isset($v9sSJ) && ($IBIbo === false || !self::inString($v9sSJ, $IBIbo)))) { goto yMpBM; } $duEuQ[] = $v9sSJ; yMpBM: goto gMigB; CqS4U: $AxtYz = self::excludeFiles(); $WWOgD = dir($FY5Hc); FVTma: if (!(false !== ($HFxE1 = $WWOgD->read()))) { goto tZxBR; } if (!in_array($HFxE1, $AxtYz)) { goto pzFNo; } goto FVTma; pzFNo: $v9sSJ = $FY5Hc . "/" . $HFxE1; if (!is_dir($v9sSJ)) { goto CGcsg; } self::directoryListing($v9sSJ, $IBIbo, $duEuQ); goto FVTma; CGcsg: if (!($IBIbo === false || !self::inString($v9sSJ, $IBIbo))) { goto ZtTBY; } $duEuQ[] = $v9sSJ; ZtTBY: goto FVTma; tZxBR: $WWOgD->close(); gMigB: return $duEuQ; } protected static function inString($O3XfF, $XsJMX) { if (!is_array($XsJMX)) { goto EnUqZ; } foreach ($XsJMX as $RZ6kh) { if (!(Tools::strpos($O3XfF, $XsJMX) !== false)) { goto Y0cIc; } return true; Y0cIc: vOfPe: } gvMAc: return false; EnUqZ: return Tools::strpos($O3XfF, $XsJMX) !== false; } protected static function copyDirectory($FY5Hc, $b3XH1) { if (is_dir($FY5Hc)) { goto oedQ5; } Tools::copy($FY5Hc, $b3XH1); goto SkaTB; oedQ5: mkdir($b3XH1, 0755, true); $WWOgD = dir($FY5Hc); Q651U: if (!(false !== ($HFxE1 = $WWOgD->read()))) { goto eGYFv; } if (!($HFxE1 == "." || $HFxE1 == "..")) { goto Kh3zq; } goto Q651U; Kh3zq: $v9sSJ = $FY5Hc . "/" . $HFxE1; if (!is_dir($v9sSJ)) { goto VyLoz; } self::copyDirectory($v9sSJ, $b3XH1 . "/" . $HFxE1); goto Q651U; VyLoz: Tools::copy($v9sSJ, $b3XH1 . "/" . $HFxE1); goto Q651U; eGYFv: $WWOgD->close(); SkaTB: } protected static function removeDirectory($Z50wN) { if (!is_dir($Z50wN)) { goto M_33F; } $t1BJu = scandir($Z50wN); if (!(count($t1BJu) > 2)) { goto JAg7X; } foreach ($t1BJu as $vLm6w) { if (!($vLm6w != "." && $vLm6w != ".." && is_dir($Z50wN . "/" . $vLm6w))) { goto iLNuX; } self::removeDirectory($Z50wN . "/" . $vLm6w); iLNuX: loM51: } vTchQ: JAg7X: $AxtYz = self::excludeFiles(); $ii99Y = true; $t1BJu = scandir($Z50wN); foreach ($t1BJu as $vLm6w) { if (in_array($vLm6w, $AxtYz)) { goto jdAQE; } $ii99Y = false; goto uFJ3g; jdAQE: QJu2f: } uFJ3g: if (!$ii99Y) { goto EyNGZ; } $t1BJu = scandir($Z50wN); foreach ($t1BJu as $vLm6w) { if (!($vLm6w != "." && $vLm6w != ".." && is_file($Z50wN . "/" . $vLm6w))) { goto chR6T; } Tools::deleteFile($Z50wN . "/" . $vLm6w); chR6T: b7Wml: } nkFbp: rmdir($Z50wN); EyNGZ: M_33F: } protected static function excludeFiles() { $vLm6w = dirname(__FILE__) . "/ppsetup_exclude.inc"; if (!file_exists($vLm6w)) { goto z31yO; } $KoaDL = Tools::file_get_contents($vLm6w); return explode("|", $KoaDL); z31yO: return array(".", "..", "php.ini", ".htaccess", "index.php", "desktop.ini", ".DS_Store", ".gitignore", ".gitmodules", ".svn", "__MACOSX"); } public function l($mL4D7) { return $this->module->l($mL4D7, "ppsetup"); } private function getVersion($vLm6w) { if (!is_file($vLm6w)) { goto h9zYG; } $DjwFh = array(); $KoaDL = Tools::file_get_contents($vLm6w); $DjwFh[self::VERSION_INDEX] = self::getVersionBySignature($KoaDL, self::VERSION_SIGNATURE_START); $DjwFh[self::VERSION_REQUIRED_INDEX] = self::getVersionBySignature($KoaDL, self::VERSION_REQUIRED_SIGNATURE_START); return $DjwFh; h9zYG: return false; } private function getVersionBySignature($KoaDL, $BIjes) { $SjWCH = Tools::strpos($KoaDL, $BIjes); if (!($SjWCH !== false)) { goto wpnN8; } $eFnw0 = Tools::strpos($KoaDL, self::VERSION_SIGNATURE_END, $SjWCH); if (!($eFnw0 !== false)) { goto iOqQ0; } $UX0hM = Tools::strlen($BIjes); return Tools::substr($KoaDL, $SjWCH + $UX0hM, $eFnw0 - $SjWCH - $UX0hM); iOqQ0: wpnN8: 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($GY9ga, $UJiPJ, $lUmXW = false) { $GY9ga = dirname(__FILE__) . "/config/" . $GY9ga; if (is_file($GY9ga)) { goto duJAS; } if (!($lUmXW !== false)) { goto gTO05; } $O5qIh = new Upgrader(); libxml_set_streams_context(@stream_context_create(array("http" => array("timeout" => 3)))); $WOeKN = @simplexml_load_file($O5qIh->rss_md5file_link_dir . $lUmXW . ".xml"); if (!($WOeKN != false)) { goto k_v8g; } $WOeKN->asXML($GY9ga); k_v8g: gTO05: goto XsDrX; duJAS: $WOeKN = @simplexml_load_file($GY9ga); XsDrX: if (!(isset($WOeKN) && $WOeKN != false)) { goto bkNXi; } $DYEe6 = $this->md5FileAsFilesArray($WOeKN->{$UJiPJ}[0]); return $DYEe6; bkNXi: return false; } private function md5FileAsFilesArray($FZ1Wb, &$qSqh7 = array(), $qWVLN = 1, &$FMOv_ = null) { if (array($FMOv_)) { goto Iaf57; } $FMOv_ = array(); Iaf57: foreach ($FZ1Wb as $jmYHi) { if (is_object($jmYHi) && $jmYHi->getName() == "dir") { goto JMcOk; } if (is_object($jmYHi) && $jmYHi->getName() == "md5file") { goto Ehuiw; } goto nv2HX; JMcOk: $qSqh7[$qWVLN] = (string) $jmYHi["name"]; $this->md5FileAsFilesArray($jmYHi, $qSqh7, $qWVLN + 1, $FMOv_); goto nv2HX; Ehuiw: $S5BLJ = ''; $VYzjM = 1; vXeDp: if (!($VYzjM < $qWVLN)) { goto R9hhp; } $S5BLJ .= $qSqh7[$VYzjM] . "/"; mgejz: $VYzjM++; goto vXeDp; R9hhp: $S5BLJ .= (string) $jmYHi["name"]; $FMOv_[$S5BLJ] = (string) $jmYHi; nv2HX: LLuFW: } CbyYy: return $FMOv_; } private function backupFile($vLm6w, $VpAvo = false) { if (!is_file($vLm6w)) { goto V562u; } $Z50wN = self::getBackupDirectory(); $lze7G = str_replace(_PS_ROOT_DIR_, '', $vLm6w); $W2lNn = $Z50wN . str_replace(_PS_ROOT_DIR_, '', dirname($vLm6w)); $hHY6P = $Z50wN . $lze7G; if (!$VpAvo) { goto MAaSO; } Tools::deleteFile($hHY6P); MAaSO: if (is_file($hHY6P)) { goto Geg1k; } if (is_dir($W2lNn)) { goto rNFTJ; } mkdir($W2lNn, 0755, true); rNFTJ: Tools::copy($vLm6w, $hHY6P); $gQY1X = filemtime($vLm6w); if (!($gQY1X !== false)) { goto u6OeZ; } touch($hHY6P, $gQY1X); u6OeZ: Geg1k: V562u: } private function restoreFile($vLm6w) { if (!is_file($vLm6w)) { goto rzkA5; } $Z50wN = self::getBackupDirectory(); $lze7G = str_replace(_PS_ROOT_DIR_, '', $vLm6w); $ug6Ax = $Z50wN . $lze7G; if (!is_file($ug6Ax)) { goto dq6uN; } Tools::copy($ug6Ax, $vLm6w); $gQY1X = filemtime($ug6Ax); if (!($gQY1X !== false)) { goto YcuBU; } touch($vLm6w, $gQY1X); YcuBU: Tools::deleteFile($ug6Ax); dq6uN: rzkA5: } 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($zyZeF, $UX0hM = 120) { if (!is_array($zyZeF)) { goto oJ5B2; } $zyZeF = implode(" ", $zyZeF); oJ5B2: return Tools::truncateString($zyZeF, $UX0hM); } } 
/* 
$->l('Overridden files'); 
$->l('File "%s" overridden by "%s"'); 
$->l('Modified files'); 
$->l('(modified by %s)'); 
$->l('Files integration'); 
$->l('Warnings'); 
$->l('Version mismatch detected.'); 
$->l('You installed %s version %s but the currently running version is %s.'); 
$->l('In order to properly upgrade the module, please restore the original files of the previously installed %s version %s and uninstall the module.'); 
$->l('Follow installation and upgrading instructions in the module documentation.'); 
$->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 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 Since 2011 PS&More
 * @license   https://psandmore.com/licenses/sla Software License Agreement
 *
 * -- this file is obfuscated for code protection --
 */
 class PPSetup extends PSMSetup30 { const VERSION_SIGNATURE_START = "\x50\120\137\x56\x45\x52\123\111\x4f\116\133"; const VERSION_REQUIRED_SIGNATURE_START = "\x50\120\137\x56\x45\x52\123\111\x4f\116\137\122\x45\x51\125\x49\122\105\x44\133"; const VERSION_SIGNATURE_END = "\135"; const VERSION_INDEX = 0; const VERSION_REQUIRED_INDEX = 1; const VERSION_CHECK_INDEX = 0; const VERSION_CHECK_DESC_INDEX = 1; const EXTRA_MODULE = "\155\157\x64\x75\x6c\145"; const EXTRA_VER = "\166\x65\x72\x73\151\157\156"; const EXTRA_ENABLED = "\x65\156\x61\x62\x6c\x65\x64"; const EXTRA_INTEGRATED = "\151\156\x74\x65\x67\162\141\164\145\144"; const EXTRA_IGNORE = "\x69\147\x6e\157\162\145"; const EXTRA_PERMISSION = "\x70\x65\x72\155\151\x73\x73\151\x6f\x6e"; protected $install_mode; protected $extra; protected $check_integration_processed; private $module_mutating; private static $s_cache = array(); private static $version_integrity = true; private static $version_mismatch_notes = 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($JESPB, $v2TXd = true) { if (!Validate::isLoadedObject($JESPB)) { goto megvN; } $ksmS8 = $this->getExtraModules(); foreach ($ksmS8 as $cblyO) { if (!($JESPB->name == $cblyO["\156\x61\x6d\x65"])) { goto Kj3pZ; } set_time_limit(300); $EgvqW = $this->install_mode; $this->install_mode = $v2TXd; $this->module_mutating = $JESPB; $this->setupExtraModules(); $this->install_mode = $EgvqW; Configuration::deleteByName("\x50\x50\x5f\111\x4e\124\105\107\x52\x41\124\x49\117\x4e\137\x43\x48\105\x43\113"); Configuration::deleteByName("\x50\x50\x5f\x49\116\106\x4f\x5f\x43\x48\105\x43\113\x5f\124\111\115\x45"); if (!($JESPB->name == "\x70\x61\171\x70\x61\x6c")) { goto igsqT; } Configuration::updateValue("\x50\101\131\x50\x41\x4c\x5f\x45\x58\x50\122\x45\123\123\137\x43\x48\105\103\x4b\x4f\x55\124\137\123\110\117\x52\124\x43\x55\x54", 0); igsqT: goto OhgVQ; Kj3pZ: O9avB: } OhgVQ: megvN: } public function moduleUpgraded($JESPB) { $this->moduleInstalled($JESPB); } public function moduleUninstall($JESPB) { $this->moduleInstalled($JESPB, false); } public function moduleUninstalled($JESPB) { } public function checkModifiedFiles() { $GAPv1 = array(); list(, , , , $wu1lh, ) = $m7rr8 = $this->getSetupVars1(); foreach ($wu1lh as $FjsP8) { list(, , $mX1Xi, $vLm6w, $vrD98, $Lfhpo) = $this->getSetupVars2($m7rr8, $FjsP8); if (!$vrD98) { goto lJXhO; } $eWyoc = _PS_ROOT_DIR_ . "\57" . $vrD98; if (!is_file($eWyoc)) { goto q9j0m; } $GAPv1[$this->l("\x4f\166\x65\x72\162\x69\x64\144\145\156\40\146\x69\154\x65\163")][] = sprintf($this->l("\106\151\154\145\40\x22\x25\163\42\x20\x6f\166\x65\x72\x72\151\x64\x64\x65\156\x20\142\171\40\x22\45\x73\42"), PSM::normalizePath($Lfhpo), PSM::normalizePath($vrD98)); q9j0m: lJXhO: if (PSM::md5filesCompare($FjsP8, $vLm6w)) { goto sdClF; } $Lh9nN = array(); $Em_Qo = $this->module->plugins(); foreach ($Em_Qo as $RY0bs => $NdxXP) { $KoaDL = null; if (!Module::isInstalled($RY0bs)) { goto xiWFO; } if (!($KoaDL === null)) { goto YaOIa; } $KoaDL = Tools::file_get_contents($vLm6w); YaOIa: if (!(Tools::strpos($KoaDL, "\x5b\x6d\x6f\144\151\x66\151\145\144\x20\142\171\x20" . $RY0bs . "\x5d") !== false)) { goto kO4tF; } $Lh9nN[$RY0bs] = $RY0bs; kO4tF: xiWFO: dqDSb: } bCdWi: $GAPv1[$this->l("\x4d\x6f\144\x69\146\x69\x65\x64\40\x66\151\154\x65\163")][] = PSM::normalizePath($mX1Xi) . (count($Lh9nN) ? "\x20" . sprintf($this->l("\x28\x6d\157\x64\x69\x66\151\145\x64\40\x62\x79\x20\x25\x73\x29"), implode("\x2c\40", $Lh9nN)) : ''); $JqkKM = $this->checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8); if (!(Tools::strlen($JqkKM[self::VERSION_CHECK_DESC_INDEX]) > 0)) { goto JvHTe; } if ($JqkKM[self::VERSION_CHECK_INDEX] == false) { goto Ufyeq; } $GAPv1[$this->l("\127\x61\162\x6e\x69\156\x67\163")][] = $JqkKM[self::VERSION_CHECK_DESC_INDEX]; goto pKQ_b; Ufyeq: $GAPv1[$this->l("\106\x69\x6c\145\163\x20\x69\x6e\164\x65\x67\x72\141\164\x69\157\156")][] = $JqkKM[self::VERSION_CHECK_DESC_INDEX]; pKQ_b: JvHTe: sdClF: GC2wy: } x4fL5: foreach (array("\143\163\163", "\152\163") as $lZItC) { foreach (scandir(dirname(__FILE__) . "\x2f\166\x69\145\167\x73\x2f" . $lZItC) as $GY9ga) { $jbYh7 = false; if (PSM::endsWith($GY9ga, "\56\x63\163\x73", false)) { goto Ucft6; } if (PSM::endsWith($GY9ga, "\56\x6a\163", false)) { goto Vok5X; } goto jBUAq; Ucft6: if (!(Tools::strpos($GY9ga, "\143\165\163\x74\157\155\56\143\x73\163") === false)) { goto o7BGP; } $jbYh7 = "\x74\x68\145\x6d\145\163\57" . _THEME_NAME_ . "\57\x63\163\163\x2f\155\157\x64\165\x6c\145\x73\57" . $this->module->name . "\x2f\x76\151\x65\x77\163\57\143\163\163\57" . $GY9ga; o7BGP: goto jBUAq; Vok5X: if (!(Tools::strpos($GY9ga, "\x63\165\x73\164\x6f\155\x2e\x6a\x73") === false)) { goto ggRCw; } $jbYh7 = "\x74\150\145\155\145\x73\57" . _THEME_NAME_ . "\x2f\x6a\163\x2f\x6d\x6f\144\165\154\145\163\x2f" . $this->module->name . "\x2f\x76\x69\x65\x77\x73\57\152\163\x2f" . $GY9ga; ggRCw: jBUAq: if (!$jbYh7) { goto kOrJc; } $RrdjD = _PS_ROOT_DIR_ . "\57" . $jbYh7; if (!is_file($RrdjD)) { goto Enb3c; } $GAPv1[$this->l("\x4f\166\x65\x72\x72\x69\144\x64\x65\x6e\40\146\151\154\145\x73")][] = sprintf($this->l("\106\151\x6c\x65\x20\42\45\163\42\40\x6f\x76\145\162\x72\x69\144\144\x65\x6e\40\142\171\40\42\45\x73\x22"), PSM::normalizePath(dirname(__FILE__) . "\57" . $GY9ga, "\x72\x65\x6c\x61\x74\x69\x76\145"), PSM::normalizePath($jbYh7)); Enb3c: kOrJc: jOPWO: } vObby: mKmxl: } D8g2b: return $GAPv1; } public function processIntegrationModule($TStCR) { $KW9R2 = "\145\x72\x72\157\162"; if (!($KcQYK = Tools::getValue("\152\x73\x6f\x6e"))) { goto IGb4r; } $cblyO = $this->getExtraModulesConfiguration(); if (!($cblyO != null)) { goto jr_5G; } $NEw_s = json_decode($KcQYK, true); $ibNId = $NEw_s["\155\157\144\165\154\x65"]; $u7K91 = $NEw_s["\166\145\162"]; foreach ($cblyO as &$JESPB) { if (!(strcmp($ibNId, $JESPB[self::EXTRA_MODULE]) == 0 && strcmp((string) $u7K91, (string) $JESPB[self::EXTRA_VER]) == 0)) { goto R3fI5; } $KW9R2 = "\x73\165\143\143\145\163\163"; $JESPB[self::EXTRA_IGNORE] = $TStCR; $this->saveExtraModulesConfiguration($cblyO); goto YAGJ1; R3fI5: voMq8: } YAGJ1: jr_5G: IGb4r: $KcQYK = array("\x73\x74\141\x74\x75\163" => $KW9R2); return json_encode($KcQYK); } protected function setup() { $oHsIB = $this->getXmlMd5File("\160\162\x65\x73\x74\x61\163\x68\x6f\160\x2f" . _PS_VERSION_ . "\56\170\155\154", "\x70\163\x5f\162\x6f\x6f\x74\137\144\x69\162", _PS_VERSION_); list(, , , , $wu1lh, ) = $m7rr8 = $this->getSetupVars1(); foreach ($wu1lh as $FjsP8) { list($dQsW2, $YRAlz, $mX1Xi, $vLm6w, , ) = $this->getSetupVars2($m7rr8, $FjsP8); if ($this->install_mode) { goto eUXZW; } $hJxj0 = PSM::md5filesCompare($FjsP8, $vLm6w); if (!$hJxj0) { goto rqFvt; } $this->restoreFile($vLm6w); $hIeEA = PSM::md5filesCompare($FjsP8, $vLm6w); if (!$hIeEA) { goto uvz87; } if (!is_array($oHsIB)) { goto RXsg2; } $jTsTw = array_keys($oHsIB); RXsg2: if (!(is_array($jTsTw) && !in_array($dQsW2, $jTsTw))) { goto BWla7; } Tools::deleteFile($vLm6w); BWla7: uvz87: rqFvt: goto jPdEM; eUXZW: $JqkKM = $this->checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8); if (!($JqkKM[self::VERSION_CHECK_INDEX] == false)) { goto cGcyy; } if (!is_array($oHsIB)) { goto FJw51; } $jTsTw = array_keys($oHsIB); FJw51: $RWVIO = !file_exists($vLm6w); if ($RWVIO) { goto XhBrQ; } if (!(isset($jTsTw) && is_array($jTsTw) && in_array($YRAlz, $jTsTw))) { goto ZpExO; } $RWVIO = PSM::md5Compare($vLm6w, $oHsIB[$YRAlz]); ZpExO: XhBrQ: if (!$RWVIO) { goto gnC9q; } $this->backupFile($vLm6w); if (is_dir(dirname($vLm6w))) { goto StIUh; } mkdir(dirname($vLm6w), 0755, true); StIUh: @chmod($vLm6w, 0755); Tools::deleteFile($vLm6w); Tools::copy($FjsP8, $vLm6w); gnC9q: cGcyy: jPdEM: RSibe: } d4V3_: if (!$this->install_mode) { goto uvBuh; } $FMOv_ = $this->updateDB(); if (!$FMOv_) { goto rC_r2; } $this->insertData(false); rC_r2: uvBuh: $this->setupSmarty($this->install_mode); $this->getPPSetupEx()->setup(); $this->setupPlugins(); $this->setupExtraModules(); if ($this->install_mode) { goto D5THM; } $this->cleanup(); goto jx3Mk; D5THM: PSM::protectDirectory(self::getBackupRootDirectory()); jx3Mk: } protected function setupExtraModuleUninstalled() { } private function setupPlugins() { $Em_Qo = $this->plugins(); foreach ($Em_Qo as $kXZUl) { $kXZUl->setup(); QedTy: } eFHor: } private function setupExtraModules() { if ($this->install_mode) { goto wGFid; } $ksmS8 = $this->getExtraModules(); $vF7Dc = PSM::getDB(); foreach ($ksmS8 as $cblyO) { foreach ($cblyO["\146\x69\x6c\145\163"] as $t1BJu) { $FjsP8 = $t1BJu["\146\151\x6c\145"]; if (basename($FjsP8) == "\x70\x70\163\x65\x74\x75\x70\x2e\x70\x68\160") { goto ThWys; } $vLm6w = _PS_MODULE_DIR_ . $t1BJu["\162\x65\154\x5f\160\x61\x74\150"]; $hJxj0 = PSM::md5filesCompare($t1BJu["\146\x69\x6c\x65"], $vLm6w); if (!$hJxj0) { goto TjIHi; } $this->restoreFile($vLm6w); TjIHi: goto LZBu8; ThWys: $K2QWW = $this->isModuleInstalled($vF7Dc, $cblyO["\x6e\x61\155\x65"], $cblyO["\166\145\x72\163\151\x6f\156"]); if ($K2QWW) { goto rw4Mg; } if (!(($QmL8M = Module::getInstanceByName($cblyO["\x6e\141\155\145"])) && $QmL8M->version == $cblyO["\166\145\x72\163\x69\x6f\x6e"])) { goto oz6t1; } $kXZUl = $this->getPPSetup($cblyO["\156\x61\155\x65"], $FjsP8); $kXZUl->setupExtraModuleUninstalled(); oz6t1: goto CapxN; rw4Mg: if (!(empty($this->module_mutating) || $this->module_mutating->name == $cblyO["\x6e\x61\x6d\x65"])) { goto CgAv2; } $kXZUl = $this->getPPSetup($cblyO["\x6e\x61\155\145"], $FjsP8); $kXZUl->setup(); if (empty($this->module_mutating)) { goto II4I2; } return; II4I2: CgAv2: CapxN: LZBu8: ji_t1: } fbrw1: eSKYL: } thSPI: goto aSPth; wGFid: $this->extraModules(false); aSPth: } private function setupAndIntegration() { if (isset($this->module->integration_test_result)) { goto b1czI; } $this->module->integration_test_result = array(); b1czI: if (!$this->install_mode) { goto dPDOm; } $this->setup(); dPDOm: $this->checkFilesIntegrity(); $this->getPPSetupEx()->checkIntegrity(); $this->checkDbIntegrity(); $this->checkSmartyIntegrity(); $this->checkPluginsIntegrity(); $this->checkExtraModulesIntegrity(); $this->module->integrated = count($this->module->integration_test_result) == 0; $this->checkVersionIntegrity($this->module->name); if ($this->module->integrated) { goto qkRpa; } Configuration::deleteByName("\x50\120\x5f\111\116\124\x45\107\122\x41\x54\111\x4f\x4e"); goto yM2bt; qkRpa: Configuration::updateGlobalValue("\120\120\137\111\x4e\124\x45\107\122\x41\x54\111\117\x4e", $this->module->integrationKey()); yM2bt: Configuration::updateGlobalValue("\x50\120\x5f\x49\x4e\124\x45\x47\x52\x41\x54\x49\117\x4e\x5f\x43\x48\105\103\x4b", time()); } private function checkVersionIntegrity($RY0bs) { $njSeD = "\x63\x68\x65\143\153\126\145\162\x73\x69\x6f\x6e\111\156\x74\x65\x67\x72\x69\x74\171" . $RY0bs; if (isset(static::$s_cache[$njSeD])) { goto Q7gcC; } $wtjEv = $RY0bs . "\x5f\166\145\162\x73\151\157\x6e"; $NnJcg = Configuration::getGlobalValue($wtjEv); $Owx4e = true; if (empty($NnJcg)) { goto KFApB; } $JESPB = $RY0bs == $this->module->name ? $this->module : Module::getInstanceByName($RY0bs); if (!($NnJcg != $JESPB->version)) { goto INeGe; } $d2lDl = $JESPB->displayName; if (isset($this->module->version_mismatch_notes[$d2lDl])) { goto SliL7; } static::$version_mismatch_notes[$d2lDl][] = $this->l("\126\145\x72\x73\151\157\156\x20\x6d\x69\163\155\141\x74\x63\x68\40\x64\145\164\x65\x63\x74\145\x64\x2e"); static::$version_mismatch_notes[$d2lDl][] = sprintf($this->l("\x59\x6f\165\x20\x69\156\163\164\x61\x6c\154\x65\x64\x20\x25\x73\x20\x76\145\162\163\x69\157\x6e\40\x25\163\40\142\x75\x74\40\x74\150\x65\x20\x63\165\162\162\x65\156\x74\154\x79\40\x72\x75\156\156\151\x6e\147\40\166\145\x72\163\x69\157\x6e\40\151\163\40\45\163\56"), $JESPB->displayName, $NnJcg, $JESPB->version); static::$version_mismatch_notes[$d2lDl][] = "\74\142\x72\x3e"; static::$version_mismatch_notes[$d2lDl][] = sprintf($this->l("\111\x6e\x20\x6f\x72\x64\x65\x72\x20\x74\x6f\40\160\162\x6f\x70\x65\162\154\171\40\x75\x70\147\162\x61\x64\x65\40\164\x68\x65\40\x6d\x6f\x64\165\154\x65\54\x20\x70\x6c\145\141\x73\x65\x20\x72\145\163\164\157\x72\x65\x20\164\150\x65\x20\x6f\162\151\147\151\x6e\x61\154\40\x66\151\x6c\145\x73\40\157\x66\x20\164\150\145\x20\160\162\x65\166\x69\157\x75\163\x6c\171\40\x69\156\163\164\141\154\154\145\144\x20\x25\163\40\x76\x65\x72\x73\151\x6f\x6e\40\x25\163\40\x61\156\x64\40\x75\156\x69\156\x73\x74\141\154\x6c\x20\x74\150\x65\x20\155\157\x64\165\154\145\x2e"), $d2lDl, $NnJcg); static::$version_mismatch_notes[$d2lDl][] = $this->module->confirmUninstall; static::$version_mismatch_notes[$d2lDl][] = $this->l("\x46\157\154\154\x6f\167\40\x69\156\x73\164\x61\x6c\x6c\x61\x74\x69\157\156\x20\x61\x6e\144\40\165\x70\147\162\x61\144\x69\x6e\147\x20\x69\156\163\x74\162\x75\143\164\151\157\156\x73\x20\x69\x6e\x20\164\150\x65\x20\x6d\x6f\x64\x75\x6c\x65\40\144\x6f\143\165\x6d\x65\x6e\x74\141\164\x69\x6f\x6e\x2e"); SliL7: $Owx4e = false; INeGe: KFApB: static::$s_cache[$njSeD] = $Owx4e; static::$version_integrity &= $Owx4e; Q7gcC: $this->module->integrated &= static::$version_integrity; $this->module->version_mismatch_notes = static::$version_mismatch_notes; } private function checkFilesIntegrity() { $FMOv_ = true; list(, , , , $wu1lh, ) = $m7rr8 = $this->getSetupVars1(); foreach ($wu1lh as $FjsP8) { list(, , $mX1Xi, $vLm6w, , ) = $this->getSetupVars2($m7rr8, $FjsP8); $FMOv_ &= $this->checkFileIntegrity($vLm6w, $mX1Xi, $FjsP8); nPpmw: } zExbF: return $FMOv_; } private function checkFileIntegrity($vLm6w, $mX1Xi, $FjsP8) { $JqkKM = $this->checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8); if (!($JqkKM[self::VERSION_CHECK_INDEX] == false)) { goto FV2_b; } $this->module->integration_test_result[$this->l("\x46\x69\154\x65\163\40\x69\156\x74\x65\147\162\141\164\151\157\156")][] = $JqkKM[self::VERSION_CHECK_DESC_INDEX]; FV2_b: return $JqkKM[self::VERSION_CHECK_INDEX]; } private function checkPluginsIntegrity() { if (!$this->check_integration_processed) { goto Qc3Ox; } return; Qc3Ox: $Em_Qo = $this->module->plugins(); foreach ($Em_Qo as $RY0bs => $IWIVz) { list($NdxXP, $d9n5R) = $IWIVz; if (!($KyCHt = PSM::getPlugin($RY0bs, $d9n5R))) { goto MH8M5; } if (!($NZBPk = PSM::checkPluginCompatibility($RY0bs, $KyCHt->apiVersion(), $Em_Qo))) { goto PbMU7; } $this->module->integration_test_result[$this->l("\x50\154\x75\147\151\x6e\163")][] = $NZBPk; PbMU7: MH8M5: mmXGQ: } yn4r8: $Em_Qo = $this->plugins(); foreach ($Em_Qo as $RY0bs => $kXZUl) { $kXZUl->checkIntegrity(); oIb0i: } YJHJP: } public function checkExtraModulesIntegrity($PE3gz = false) { $GAPv1 = array(); if ($this->check_integration_processed) { goto sqDcf; } $this->extraModules(true); $cblyO = $this->getExtraModulesConfiguration(); if (!($cblyO != null)) { goto aEuHj; } $Iwc8B = $this->getExtraModulesList(); $d2lDl = $this->l("\115\x6f\144\165\x6c\x65\163"); foreach ($cblyO as $JESPB) { if (!($JESPB[self::EXTRA_ENABLED] && !$JESPB[self::EXTRA_INTEGRATED])) { goto n9DRp; } $RY0bs = $JESPB[self::EXTRA_MODULE]; $u7K91 = $JESPB[self::EXTRA_VER]; if ($JESPB[self::EXTRA_IGNORE]) { goto S7Kce; } if ($PE3gz) { goto PewPS; } $r0fhY = PP::wrapA($this->l("\151\x67\x6e\x6f\x72\145"), false, ["\150\162\145\146" => "\x23", "\144\141\x74\x61\x2d\x6d\x6f\x64\145" => "\111\156\x74\x65\x67\x72\x61\164\151\157\156\115\157\x64\x75\x6c\x65\111\x67\x6e\x6f\x72\x65"]); if (empty($Iwc8B[$RY0bs])) { goto cu5Vi; } $zKR1V = $JESPB[self::EXTRA_PERMISSION] ? PP::span(Context::getContext()->getTranslator()->trans("\x54\x68\145\x20\x73\x65\x72\x76\x65\162\40\x64\x6f\145\163\x20\x6e\x6f\164\x20\150\x61\x76\145\x20\160\x65\x72\x6d\x69\163\x73\151\157\x6e\163\x20\146\157\162\40\x77\162\x69\x74\151\x6e\x67\56", array(), "\101\144\x6d\151\x6e\x2e\116\x6f\164\151\x66\x69\143\141\x74\x69\157\x6e\x73\56\105\x72\162\157\162"), "\146\141\151\154\165\x72\145\40\x70\145\x72\155\x69\163\163\151\x6f\156\137\x64\x65\x6e\x69\145\x64") : ''; $iY_7k = PP::wrapA(sprintf("\x25\163\x25\x73", PP::wrapI('', "\151\x63\x6f\x6e\x2d\x72\x65\146\x72\x65\163\150"), $this->l("\143\x68\x65\x63\153\40\146\157\162\x20\165\160\x64\x61\x74\145")), false, ["\x68\162\x65\146" => "\x23", "\x64\141\x74\141\x2d\155\157\144\x65" => "\111\156\x74\x65\147\x72\x61\x74\x69\x6f\x6e\115\x6f\x64\165\x6c\145\103\150\x65\143\x6b\106\157\162\125\x70\x64\141\x74\x65\x73"]); $VHMdt = sprintf("\x28\x25\163\x29", PP::span(sprintf("\45\x73\x25\x73\40\x25\x73\40\x25\163\40\x25\163", $zKR1V, $iY_7k, PSM::translate("\157\x72"), $r0fhY, $this->l("\141\156\x64\40\141\154\154\157\x77\x20\164\x6f\x20\167\157\162\153\40\167\x69\x74\150\x6f\x75\164\40\x70\162\x6f\x70\x65\162\40\x69\x6e\x74\145\147\162\141\x74\x69\157\x6e")), "\160\160\x2d\x69\156\x74\x65\147\x72\141\x74\151\x6f\x6e\55\155\157\x64\x75\154\x65\40\x63\150\145\143\x6b\x2d\146\157\162\x2d\x75\x70\144\141\164\145\x2d\157\162\55\151\147\156\157\162\145", ["\x64\x61\x74\141\55\155\x6f\144\165\x6c\x65" => $RY0bs, "\x64\141\164\x61\55\x76\145\x72" => $u7K91])); goto jmySM; cu5Vi: $VHMdt = sprintf("\50\x25\163\x29", PP::span(sprintf("\45\x73\x20\x25\163", $r0fhY, $this->l("\141\156\144\x20\x61\154\154\157\x77\x20\x74\x6f\x20\167\157\162\153\x20\x77\151\x74\x68\x6f\165\x74\40\x70\162\157\160\145\x72\40\151\x6e\164\145\147\162\141\x74\x69\157\156")), "\x70\160\x2d\151\x6e\x74\145\x67\x72\141\x74\151\157\x6e\55\x6d\157\x64\x75\154\145\40\x63\150\x65\143\x6b\55\x66\157\162\x2d\x75\x70\144\141\x74\x65\x2d\x6f\x72\x2d\151\147\x6e\157\x72\x65", ["\144\x61\164\x61\x2d\x6d\157\x64\x75\x6c\145" => $RY0bs, "\144\141\164\x61\x2d\166\x65\162" => $u7K91])); jmySM: if ($u7K91 == "\141\x6c\x6c") { goto RIojK; } $this->module->integration_test_result[$d2lDl][] = sprintf($this->l("\111\x6e\x74\145\147\x72\141\x74\x69\157\156\x20\146\141\151\154\145\144\40\x66\x6f\x72\40\155\x6f\144\x75\x6c\145\x20\42\45\x73\42\x20\166\x65\162\163\151\x6f\156\40\45\x73"), $RY0bs, $u7K91) . $VHMdt; goto smxQE; RIojK: $this->module->integration_test_result[$d2lDl][] = sprintf($this->l("\111\x6e\164\145\x67\162\141\x74\x69\157\x6e\40\x66\x61\151\x6c\x65\144\40\146\x6f\162\x20\x6d\x6f\144\165\154\145\x20\42\45\x73\42"), $RY0bs) . $VHMdt; smxQE: PewPS: goto LU9SI; S7Kce: if (!$PE3gz) { goto iFRNz; } $bPVCl = PP::wrapA($this->l("\141\x63\x74\151\166\x61\x74\145\40\x69\x6e\164\x65\x67\x72\x61\x74\151\x6f\x6e"), false, ["\x68\162\145\x66" => "\x23", "\x64\141\x74\141\55\155\157\x64\145" => "\x49\156\164\145\147\x72\x61\x74\x69\x6f\156\115\x6f\144\x75\x6c\x65\111\156\164\145\x67\x72\x61\x74\x65"]); $VHMdt = sprintf("\40\x28\45\163\x29\56", PP::span($bPVCl, "\x70\x70\x2d\151\x6e\x74\145\x67\x72\x61\164\151\x6f\156\x2d\155\x6f\x64\165\x6c\145\40\151\156\x74\145\147\162\x61\164\x65", ["\144\141\x74\141\55\155\157\144\x75\x6c\145" => $RY0bs, "\144\x61\x74\x61\55\x76\x65\162" => $u7K91])); $GAPv1[$d2lDl][] = sprintf($this->l("\115\x6f\144\165\154\x65\40\x22\x25\163\x22\x20\x6e\x6f\164\x20\151\156\164\x65\147\162\141\x74\145\144\x2e\x20\x49\x6e\x74\x65\x67\x72\x61\x74\x69\x6f\x6e\40\160\157\x73\164\x70\x6f\x6e\x65\144\x20\142\171\40\165\163\145\162"), $RY0bs) . $VHMdt; iFRNz: LU9SI: n9DRp: tryf_: } wXzRx: aEuHj: sqDcf: return $PE3gz ? $GAPv1 : $this->module->integrated && count($this->module->integration_test_result) == 0; } private function extraModules($EaucU) { $xDQ1U = array(); $FMOv_ = array(); $Qsc8a = $this->downloadExtraModules($EaucU); $ksmS8 = $this->getExtraModules(); $vF7Dc = PSM::getDB(); foreach ($ksmS8 as &$cblyO) { $cblyO["\145\156\141\x62\x6c\145\x64"] = $this->isModuleEnabled($cblyO["\156\x61\155\145"], $cblyO["\x76\x65\x72\163\151\157\x6e"]); $cblyO["\x69\156\x74\145\147\x72\141\164\x65\144"] = false; $cblyO["\x69\x67\x6e\x6f\162\145"] = false; if ($cblyO["\x65\x6e\141\x62\154\x65\144"]) { goto kFKLn; } if ($EaucU) { goto tAHXo; } foreach ($cblyO["\x66\x69\x6c\145\x73"] as $t1BJu) { $FjsP8 = $t1BJu["\x66\x69\154\x65"]; if (!(basename($FjsP8) == "\160\160\163\x65\164\x75\x70\x2e\160\x68\x70")) { goto tEKAU; } if (!(($QmL8M = Module::getInstanceByName($cblyO["\156\141\155\x65"])) && $QmL8M->version == $cblyO["\x76\x65\162\x73\151\x6f\156"])) { goto ZhZzR; } $kXZUl = $this->getPPSetup($cblyO["\156\141\x6d\x65"], $FjsP8); $kXZUl->setupExtraModuleUninstalled(); ZhZzR: tEKAU: Oexbp: } k2AxI: tAHXo: goto eAZlF; kFKLn: $cblyO["\151\x67\156\x6f\x72\145"] = $this->ignoreExtraModule($cblyO["\x6e\x61\x6d\145"], $cblyO["\166\x65\162\x73\151\x6f\x6e"]); if (!(!$cblyO["\x69\x67\x6e\x6f\x72\145"] && count($cblyO["\x66\151\154\145\x73"]) > 0)) { goto y60M_; } $cblyO["\151\x6e\x74\x65\x67\x72\141\x74\x65\144"] = true; foreach ($cblyO["\x66\151\x6c\x65\x73"] as $t1BJu) { $FjsP8 = $t1BJu["\146\151\154\x65"]; if (basename($FjsP8) == "\x70\160\163\x65\x74\165\160\x2e\x70\150\160") { goto KeQbs; } $mX1Xi = $t1BJu["\x72\x65\x6c\x5f\160\x61\x74\x68"]; $vLm6w = _PS_MODULE_DIR_ . $mX1Xi; $JqkKM = $this->checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8); $sh1zA = $JqkKM[self::VERSION_CHECK_INDEX]; if ($EaucU) { goto nH1Xc; } if ($sh1zA) { goto MI021; } if (!is_file($vLm6w)) { goto ONhLE; } $this->backupFile($vLm6w, true); Tools::copy($FjsP8, $vLm6w); ONhLE: $sh1zA = $this->checkFileIntegrity($vLm6w, $mX1Xi, $FjsP8); MI021: nH1Xc: goto wXtcp; KeQbs: $kXZUl = $this->getPPSetup($cblyO["\x6e\x61\x6d\145"], $FjsP8); if ($EaucU) { goto SzOKE; } $kXZUl->setup(); SzOKE: $sh1zA = $kXZUl->checkIntegrity(); $this->checkVersionIntegrity($cblyO["\156\141\155\145"]); wXtcp: $cblyO["\151\x6e\x74\x65\x67\x72\x61\164\145\144"] &= $sh1zA; qD29z: } sMoM9: y60M_: eAZlF: if (!($cblyO["\166\x65\x72\163\151\x6f\156"] != "\141\x6c\x6c")) { goto i2b31; } $xDQ1U[$cblyO["\x6e\x61\155\x65"]] = (isset($xDQ1U[$cblyO["\x6e\x61\155\x65"]]) ? $xDQ1U[$cblyO["\156\x61\x6d\x65"]] : false) | (bool) $cblyO["\x69\156\x74\x65\x67\162\141\x74\145\x64"]; i2b31: $FMOv_[] = array(self::EXTRA_MODULE => $cblyO["\x6e\141\155\x65"], self::EXTRA_VER => $cblyO["\166\145\162\163\151\x6f\x6e"], self::EXTRA_ENABLED => $cblyO["\x65\x6e\x61\142\154\x65\144"] ? 1 : 0, self::EXTRA_INTEGRATED => $cblyO["\x69\156\x74\145\x67\162\x61\x74\x65\x64"] ? 1 : 0, self::EXTRA_IGNORE => $cblyO["\x69\x67\x6e\x6f\x72\145"] ? 1 : 0, self::EXTRA_PERMISSION => isset($Qsc8a[$cblyO["\x6e\x61\155\x65"]]) ? 1 : 0); BDgtv: } hU5V2: foreach ($xDQ1U as $RY0bs => $sh1zA) { if (!(!$sh1zA && $this->isModuleEnabled($RY0bs))) { goto usuGg; } $DjwFh = $this->moduleVersion($vF7Dc, $RY0bs); $uiQzV = false; foreach ($FMOv_ as $JESPB) { if (!($JESPB[self::EXTRA_MODULE] == $RY0bs && $JESPB[self::EXTRA_VER] == $DjwFh)) { goto n5z4W; } $uiQzV = true; goto agW8g; n5z4W: hZrHS: } agW8g: if ($uiQzV) { goto KlKKw; } $FMOv_[] = array(self::EXTRA_MODULE => $RY0bs, self::EXTRA_VER => $DjwFh, self::EXTRA_ENABLED => 1, self::EXTRA_INTEGRATED => 0, self::EXTRA_IGNORE => $this->ignoreExtraModule($RY0bs, $DjwFh) ? 1 : 0, self::EXTRA_PERMISSION => isset($Qsc8a[$RY0bs]) ? 1 : 0); KlKKw: usuGg: wr5MI: } OOotj: $this->saveExtraModulesConfiguration($FMOv_); } public function checkSmartyIntegrity() { if (!$this->check_integration_processed) { goto TpXo4; } return; TpXo4: if (parent::checkSmartyIntegrity()) { goto C5FeF; } $this->module->integration_test_result[] = sprintf($this->l("\x49\x6e\164\145\147\162\141\164\x69\157\156\40\x66\x61\151\154\x65\144\40\x66\157\162\40\163\x6d\x61\162\164\171\40\146\151\154\x65\40\x22\x25\163\42"), $this->smartyConfigFile(false)) . $this->notWritableWarning($this->smartyConfigFile()); C5FeF: } private function getPPSetup($RY0bs, $vLm6w) { $kXZUl = PSMHelper::ppSetupInstance($this->module, $RY0bs, $vLm6w); $kXZUl->install_mode = $this->install_mode; return $kXZUl; } private function getPPSetupEx() { return $this->getPPSetup("\x65\170", dirname(__FILE__) . "\57\163\145\164\165\x70\57\160\160\x73\x65\x74\x75\160\56\x70\150\160"); } private function plugins() { $Cv60P = array("\56", "\x2e\x2e"); $Em_Qo = array(); $Z50wN = dirname(__FILE__) . "\57\x70\x6c\165\x67\151\156\x73\57"; if (!is_dir($Z50wN)) { goto EOtcd; } $t1BJu = scandir($Z50wN); foreach ($t1BJu as $vLm6w) { if (in_array($vLm6w, $Cv60P)) { goto ZhQ2r; } $KyCHt = $Z50wN . "\57" . $vLm6w; $kXZUl = $KyCHt . "\57\160\160\x73\x65\164\165\x70\56\160\150\160"; if (!(is_dir($KyCHt) && is_file($kXZUl))) { goto neA2E; } $Em_Qo[$vLm6w] = $this->getPPSetup($vLm6w, $kXZUl); neA2E: ZhQ2r: fFVg2: } fAVQ_: EOtcd: return $Em_Qo; } private function getExtraModulesConfiguration() { $BEQRN = Configuration::getGlobalValue("\120\x50\x5f\111\116\x54\105\x47\122\x41\x54\x49\117\116\x5f\105\x58\124\x52\x41\x5f\115\x4f\104\125\x4c\x45\123"); if (!is_string($BEQRN)) { goto jbjaA; } return json_decode($BEQRN, true); jbjaA: return null; } private function saveExtraModulesConfiguration($cblyO) { Configuration::updateGlobalValue("\120\120\x5f\111\116\124\105\107\x52\x41\x54\111\x4f\x4e\137\105\x58\x54\x52\101\x5f\x4d\117\104\x55\x4c\x45\x53", json_encode(array_values($cblyO))); } private function ignoreExtraModule($RY0bs, $u7K91) { if (!is_array($this->extra)) { goto H7vjf; } foreach ($this->extra as $JESPB) { if (!(strcmp($JESPB[self::EXTRA_MODULE], $RY0bs) == 0 && strcmp($JESPB[self::EXTRA_VER], $u7K91) == 0)) { goto pu6zU; } return (bool) $JESPB[self::EXTRA_IGNORE]; pu6zU: HicXS: } o4n_U: H7vjf: return false; } public function checkReplacedStringsAndReport($GY9ga, $N1u1v, $d2lDl = null) { $w80jG = 0; $FMOv_ = $this->checkReplacedStrings($GY9ga, $N1u1v); $UX0hM = count($FMOv_); if (!($UX0hM > 0)) { goto u5wMb; } $d2lDl = $d2lDl == null ? $this->l("\106\x69\154\x65\163\x20\x69\x6e\x74\x65\x67\x72\141\164\151\x6f\156") : $d2lDl; $YXZ7H = array(); $IQOd6 = array(); $VYzjM = 0; Du_MG: if (!($VYzjM < $UX0hM)) { goto e67zg; } foreach ($FMOv_[$VYzjM] as $lZItC => $PGd53) { $IWIVz = ''; $wJsUG = ''; $AKLRV = false; switch ($lZItC) { case "\x66\x69\154\x65\x5f\156\157\x74\137\x66\157\165\156\x64": $GY9ga = $PGd53; $w80jG++; $IWIVz = PP::span("\x20" . $this->l("\50\x66\x69\154\x65\40\x6e\x6f\x74\x20\146\x6f\165\156\144\x29"), "\x77\x61\x72\x6e\x69\x6e\x67"); goto AGhwx; case "\142\x61\143\153\165\x70\137\146\141\x69\154\x65\x64": $GY9ga = $PGd53; $w80jG++; $IWIVz = PP::span("\40" . $this->l("\50\142\x61\x63\153\x75\160\40\x66\141\x69\154\x65\x64\51"), "\x77\141\162\x6e\x69\x6e\x67"); $IWIVz .= $this->notWritableWarning($GY9ga); goto AGhwx; case "\x73\x74\162\x69\156\x67\x5f\x6e\x6f\164\137\146\x6f\165\x6e\x64": $w80jG++; $IWIVz = $this->notWritableWarning($GY9ga); if (!(Tools::strlen($IWIVz) == 0)) { goto g1IIi; } $IWIVz = PP::span("\40" . $this->l("\50\x73\x74\162\151\156\147\x20\x6e\x6f\x74\x20\x66\x6f\165\x6e\144\51"), "\x77\141\x72\x6e\151\156\x67"); $wJsUG = sprintf("\x3c\x62\162\x3e\45\163\74\x62\162\76\x25\163", PP::span(sprintf("\x25\x73\45\x73", PP::span($this->l("\x73\x65\141\162\x63\x68\151\x6e\x67\40\146\x6f\x72\72") . "\x20", "\167\x61\x72\x6e\x69\156\147"), PP::safeOutput(self::truncateString($PGd53[0], 150))), "\167\x61\162\156\151\156\x67\55\x64\145\164\141\x69\154\x73"), PP::span(sprintf("\x25\x73\45\x73", PP::span($this->l("\163\165\142\x73\x74\x69\164\x75\x74\x65\72") . "\40", "\x77\x61\162\156\151\156\x67"), PP::safeOutput(self::truncateString($PGd53[1], 150))), "\x77\x61\x72\156\x69\156\x67\x2d\144\145\164\x61\151\154\x73")); g1IIi: goto AGhwx; case "\x73\164\x72\151\x6e\147\x5f\156\157\x74\x5f\146\157\x75\156\x64\137\156\x6f\164\145": $AKLRV = true; $IWIVz = $this->notWritableWarning($GY9ga); if (!(Tools::strlen($IWIVz) == 0)) { goto fWt0h; } $IWIVz = PP::span("\40" . $this->l("\50\x6f\160\x74\151\x6f\x6e\141\154\40\x73\164\162\x69\156\147\40\156\157\x74\x20\146\x6f\x75\x6e\x64\x2c\x20\156\157\x20\141\x63\x74\x69\157\x6e\x20\162\x65\161\x75\x69\x72\x65\x64\51"), "\x6e\157\x74\145"); $wJsUG = sprintf("\74\x62\x72\x3e\x25\163\74\x62\162\76\x25\163", PP::span(sprintf("\45\163\45\163", PP::span($this->l("\x73\145\141\162\x63\x68\x69\156\147\40\x66\157\x72\72") . "\40", "\x6e\157\164\x65"), PP::safeOutput(self::truncateString($PGd53[0], 150))), "\156\157\164\x65\55\x64\145\x74\x61\151\x6c\x73"), PP::span(sprintf("\x25\163\x25\163", PP::span($this->l("\x73\165\142\163\164\151\164\x75\164\145\x3a") . "\x20", "\156\x6f\x74\x65"), PP::safeOutput(self::truncateString($PGd53[1], 150))), "\x6e\157\164\145\55\x64\145\x74\141\151\x6c\163")); fWt0h: goto AGhwx; case "\x73\164\162\x69\156\147\137\143\157\x75\156\x74": $w80jG++; $IWIVz = $this->notWritableWarning($GY9ga); if (!(Tools::strlen($IWIVz) == 0)) { goto PmIcM; } $IWIVz = PP::span("\40" . sprintf($this->l("\50\x73\x74\x72\x69\156\147\40\145\x78\x70\145\143\164\145\144\x20\164\157\x20\x62\145\40\146\157\x75\156\x64\40\45\144\40\x25\163\x2c\40\x66\157\x75\156\x64\40\x25\x64\x20\45\163\x29"), $PGd53[2], PSM::plural($PGd53[2], $this->l("\x74\151\155\145"), $this->l("\164\151\155\145\x73")), $PGd53[3], PSM::plural($PGd53[3], $this->l("\164\x69\155\x65"), $this->l("\164\x69\155\x65\163"))), "\167\x61\162\156\151\x6e\x67"); $wJsUG = sprintf("\74\142\162\x3e\45\x73\x3c\x62\x72\76\45\163", PP::span(sprintf("\x25\x73\45\163", PP::span($this->l("\x73\145\x61\x72\x63\150\x69\156\x67\x20\x66\157\x72\72") . "\x20", "\167\x61\x72\x6e\151\156\147"), PP::safeOutput(self::truncateString($PGd53[0], 150))), "\x77\141\162\x6e\151\x6e\147\55\x64\145\164\x61\151\x6c\x73"), PP::span(sprintf("\x25\163\x25\x73", PP::span($this->l("\x73\x75\142\x73\164\151\x74\x75\164\x65\x3a") . "\x20", "\x77\141\162\x6e\x69\156\x67"), PP::safeOutput(self::truncateString($PGd53[1], 150))), "\x77\141\162\x6e\x69\156\147\x2d\144\x65\x74\x61\151\x6c\163")); PmIcM: goto AGhwx; case "\x64\x75\x70\154\151\x63\x61\x74\x65\x5f\x73\164\162\151\156\x67\137\146\x6f\x75\x6e\x64": $w80jG++; $IWIVz = $this->notWritableWarning($GY9ga); if (!(Tools::strlen($IWIVz) == 0)) { goto CKTm7; } $IWIVz = PP::span("\40" . $this->l("\x28\144\x75\160\x6c\x69\143\141\164\145\x20\x73\x74\162\x69\156\x67\x20\x66\157\x75\156\144\x29"), "\x77\x61\x72\x6e\151\x6e\x67"); $wJsUG = sprintf("\x3c\x62\162\x3e\x25\163", PP::span(PP::safeOutput(self::truncateString($PGd53, 150)), "\167\141\162\156\151\156\x67\55\x64\145\x74\x61\151\x6c\x73")); CKTm7: goto AGhwx; default: $w80jG++; goto AGhwx; } ucGSZ: AGhwx: $O3XfF = "\x3c\142\x72\x3e" . sprintf($AKLRV ? $this->l("\x53\164\x72\151\156\x67\x20\x72\x65\x70\x6c\141\143\145\x6d\x65\x6e\164\40\156\x6f\x74\145\x20\x66\x6f\x72\x20\x66\x69\154\145\72\x20\x25\163\45\163") : $this->l("\123\x74\x72\151\156\x67\40\162\145\160\154\141\143\145\155\145\x6e\x74\x20\167\141\x72\x6e\x69\x6e\x67\40\x66\157\x72\40\x66\x69\154\145\x3a\x20\45\163\x25\x73"), PSM::normalizePath($GY9ga, "\x72\145\154\141\164\x69\x76\145"), $IWIVz); if (in_array($O3XfF, $AKLRV ? $IQOd6 : $YXZ7H)) { goto HaMcU; } if ($AKLRV) { goto mstZJ; } $YXZ7H[] = $O3XfF; goto ttc1b; mstZJ: $IQOd6[] = $O3XfF; ttc1b: HaMcU: if (!(Tools::strlen($wJsUG) > 0)) { goto GkZVB; } if ($AKLRV) { goto Ly7pu; } $YXZ7H[] = $wJsUG; goto fPsdW; Ly7pu: $IQOd6[] = $wJsUG; fPsdW: GkZVB: zLSii: } BegmP: lLNaq: $VYzjM++; goto Du_MG; e67zg: if (!count($YXZ7H)) { goto d6jqN; } $O3XfF = implode('', $YXZ7H); if (!(!isset($this->module->integration_test_result[$d2lDl]) || !in_array($O3XfF, $this->module->integration_test_result[$d2lDl]))) { goto sfHQY; } $this->module->integration_test_result[$d2lDl][] = $O3XfF; sfHQY: d6jqN: if (!count($IQOd6)) { goto rzJ1K; } if (isset($this->module->integration_test_result_notes)) { goto CTXmx; } $this->module->integration_test_result_notes = array(); CTXmx: $O3XfF = implode('', $IQOd6); if (!(!isset($this->module->integration_test_result_notes[$d2lDl]) || !in_array($O3XfF, $this->module->integration_test_result_notes[$d2lDl]))) { goto pSClM; } $this->module->integration_test_result_notes[$d2lDl][] = $O3XfF; pSClM: rzJ1K: u5wMb: return $w80jG == 0; } protected function amendSetupCustom(&$RFDcO, $HB2D6) { if (!(static::$ppsetup_custom_config === null)) { goto OmPOl; } if (!empty($RZ6kh = Configuration::getGlobalValue("\120\x50\123\x45\124\x55\x50\137\103\x55\x53\x54\x4f\x4d"))) { goto ezqzd; } static::$ppsetup_custom_config = array(); goto Mwfk7; ezqzd: static::$ppsetup_custom_config = psm_unser(hex2bin($RZ6kh)); Mwfk7: OmPOl: $C9JCT = str_replace(array("\57\x73\x65\x74\165\x70\x2f", "\x2f\160\x70\x73\145\164\x75\x70\x2e\160\150\160"), array("\x2f\163\x65\164\x75\x70\57\x63\165\163\x74\x6f\155\x2f", "\57\160\x70\x73\x65\164\165\x70\x2e\x69\x6e\x63"), $this->fullpath); if (!(!file_exists($C9JCT) && key_exists($C9JCT, static::$ppsetup_custom_config))) { goto SHsGa; } $Z50wN = str_replace("\57\x70\160\163\145\x74\165\160\56\151\156\x63", '', $C9JCT); if (is_dir($Z50wN)) { goto s7RCR; } mkdir($Z50wN, 0755, true); PSM::protectDirectory($Z50wN); s7RCR: file_put_contents($C9JCT, static::$ppsetup_custom_config[$C9JCT]); SHsGa: if (!is_file($C9JCT)) { goto EoMBo; } if (key_exists($C9JCT, static::$ppsetup_custom)) { goto fMVsy; } $ppsetup_custom = null; @(include $C9JCT); if (is_array($ppsetup_custom) && count($ppsetup_custom)) { goto teLF8; } static::$ppsetup_custom[$C9JCT] = array(); unset(static::$ppsetup_custom_config[$C9JCT]); goto KSike; teLF8: static::$ppsetup_custom[$C9JCT] = $ppsetup_custom; static::$ppsetup_custom_config[$C9JCT] = Tools::file_get_contents($C9JCT); KSike: if (count(static::$ppsetup_custom_config)) { goto SQoMK; } Configuration::deleteByName("\120\120\123\x45\124\125\120\x5f\103\125\123\124\117\x4d"); goto w2oJ4; SQoMK: Configuration::updateGlobalValue("\120\x50\x53\x45\124\125\120\x5f\103\125\x53\124\117\x4d", bin2hex(psm_ser(static::$ppsetup_custom_config))); w2oJ4: fMVsy: if (!isset(static::$ppsetup_custom[$C9JCT][$HB2D6])) { goto BVxI2; } foreach ($RFDcO as &$N1u1v) { foreach ($N1u1v["\x66\151\154\x65\x73"] as $vLm6w) { if (empty($vLm6w)) { goto xHLgT; } foreach (static::$ppsetup_custom[$C9JCT][$HB2D6] as $cgzzf) { foreach ($cgzzf["\146\x69\154\145\x73"] as $FZZ72) { if (empty($FZZ72)) { goto qlT2w; } if (!($vLm6w == $FZZ72)) { goto W0Cp8; } foreach (array("\x6f\160\164\151\157\x6e\141\x6c", "\x69\147\156\157\x72\145") as $d2lDl) { if (!isset($cgzzf[$d2lDl])) { goto fopBH; } $N1u1v[$d2lDl] = $cgzzf[$d2lDl]; fopBH: L_In1: } pfeuZ: foreach (array("\141\160\x70\x65\156\x64", "\160\x72\145\160\x65\x6e\x64", "\162\x65\x70\154\x61\143\x65") as $d2lDl) { if (!isset($cgzzf[$d2lDl])) { goto CtYKh; } if (isset($N1u1v[$d2lDl])) { goto WuyzY; } $N1u1v[$d2lDl] = $cgzzf[$d2lDl]; goto r_gXq; WuyzY: foreach ($cgzzf[$d2lDl] as $lb1Fr) { $uiQzV = false; foreach ($N1u1v[$d2lDl] as &$KvUl8) { if (!($KvUl8[0] == $lb1Fr[0])) { goto BVu5v; } $KvUl8 = $lb1Fr; $uiQzV = true; BVu5v: hzYc1: } AcyBw: if ($uiQzV) { goto RGyk6; } $N1u1v[$d2lDl][] = $lb1Fr; RGyk6: huEfD: } HvyB6: r_gXq: CtYKh: yRQZ9: } XTmKS: W0Cp8: qlT2w: lNEZ7: } qKwhW: AD_nD: } h5kJd: xHLgT: PJzf1: } yXAQN: sQ6y1: } qJrj3: foreach (static::$ppsetup_custom[$C9JCT][$HB2D6] as $cgzzf) { foreach ($cgzzf["\146\x69\154\x65\163"] as $FZZ72) { if (empty($FZZ72)) { goto KKpsK; } $uiQzV = false; foreach ($RFDcO as $N1u1v) { foreach ($N1u1v["\x66\151\154\x65\x73"] as $vLm6w) { if (!($vLm6w == $FZZ72)) { goto e4IA9; } $uiQzV = true; goto MEASv; e4IA9: miS6m: } GX2W6: d2s4c: } MEASv: if ($uiQzV) { goto ssRDd; } $nIgUg = $cgzzf; $nIgUg["\146\151\154\145\x73"] = array($FZZ72); $RFDcO[] = $nIgUg; ssRDd: KKpsK: BhTWe: } RtH1B: djyEd: } vitP3: BVxI2: EoMBo: } protected function processReplaceInFiles(&$RFDcO, $yiSsK, $Z50wN) { $this->amendSetupCustom($RFDcO, $Z50wN); $FMOv_ = true; foreach ($RFDcO as $N1u1v) { foreach ($N1u1v["\x66\151\x6c\x65\x73"] as $vLm6w) { if (empty($vLm6w)) { goto ZDvzV; } $wR3Uf = true; $GY9ga = false; if (Tools::strpos($vLm6w, "\143\154\x61\x73\x73\x65\163\x2f") === 0 || Tools::strpos($vLm6w, "\x63\157\156\x74\162\157\x6c\154\145\162\x73\57") === 0) { goto bDnB3; } if (Tools::strpos($vLm6w, "\160\x64\146\57") === 0) { goto F_3WH; } goto yaOBS; bDnB3: $GY9ga = $Z50wN . "\157\166\145\162\162\151\144\145\57" . $vLm6w; goto yaOBS; F_3WH: if (is_file(_PS_THEME_DIR_ . $vLm6w)) { goto hor8z; } if (defined("\x5f\x50\x53\137\x50\x41\x52\105\x4e\x54\x5f\x54\x48\105\115\x45\x5f\104\111\x52\137") && _PS_PARENT_THEME_DIR_ && is_file(_PS_PARENT_THEME_DIR_ . $vLm6w)) { goto Uajw2; } goto CpWPf; hor8z: $GY9ga = _PS_THEME_DIR_ . $vLm6w; $wR3Uf = false; goto CpWPf; Uajw2: $GY9ga = _PS_PARENT_THEME_DIR_ . $vLm6w; $wR3Uf = false; CpWPf: yaOBS: if ($yiSsK) { goto eK1qq; } if (!$wR3Uf) { goto n1H31; } $GY9ga = $Z50wN . $vLm6w; if (!(!is_file($GY9ga) && $Z50wN == _PS_THEME_DIR_ && defined("\x5f\x50\123\x5f\x50\x41\122\105\116\124\137\124\x48\x45\x4d\x45\137\x44\111\122\137") && _PS_PARENT_THEME_DIR_)) { goto gwUHZ; } $GY9ga = _PS_PARENT_THEME_DIR_ . $vLm6w; gwUHZ: n1H31: $FMOv_ &= $this->checkReplacedStringsAndReport($GY9ga, $N1u1v); goto rkMEA; eK1qq: if (!($GY9ga && is_file($GY9ga) && is_writable($GY9ga))) { goto DCL3d; } $this->replaceStrings($GY9ga, $N1u1v, $this->install_mode); DCL3d: if (!$wR3Uf) { goto JMs5c; } $GY9ga = $Z50wN . $vLm6w; if (is_file($GY9ga) && is_writable($GY9ga)) { goto vGCKI; } if ($Z50wN == _PS_THEME_DIR_ && defined("\137\120\x53\x5f\120\101\x52\x45\x4e\x54\x5f\124\x48\x45\115\x45\x5f\x44\x49\x52\x5f") && _PS_PARENT_THEME_DIR_) { goto xY2SJ; } goto ln2KW; vGCKI: $this->replaceStrings($GY9ga, $N1u1v, $this->install_mode); goto ln2KW; xY2SJ: $GY9ga = _PS_PARENT_THEME_DIR_ . $vLm6w; if (!(is_file($GY9ga) && is_writable($GY9ga))) { goto qOSRk; } $this->replaceStrings($GY9ga, $N1u1v, $this->install_mode); qOSRk: ln2KW: JMs5c: rkMEA: ZDvzV: BW0hk: } Iv847: beCuo: } sRDR0: return $FMOv_; } protected function processModuleFiles($JESPB, $RFDcO, $yiSsK) { $this->amendSetupCustom($RFDcO, $JESPB); $FMOv_ = true; foreach ($RFDcO as $N1u1v) { if (!count($N1u1v["\146\x69\x6c\x65\x73"])) { goto J9O0o; } $O3XfF = $N1u1v["\146\151\x6c\145\x73"][0]; if (empty($O3XfF)) { goto lOmCH; } $lZItC = Tools::substr($O3XfF, Tools::strrpos($O3XfF, "\56") + 1); $zV8Po = _PS_MODULE_DIR_ . $JESPB . "\x2f"; switch ($lZItC) { case "\x74\160\154": $Z7tVU = array(_PS_THEME_DIR_ . "\x6d\x6f\x64\x75\154\145\x73\57" . $JESPB . "\x2f"); if (!defined("\137\120\123\137\x50\101\x52\105\116\124\x5f\124\x48\x45\x4d\x45\x5f\104\x49\122\x5f")) { goto PCR7O; } $Z7tVU[] = _PS_PARENT_THEME_DIR_ . "\x6d\157\x64\165\x6c\145\x73\57" . $JESPB . "\57"; PCR7O: $Z7tVU[] = $zV8Po . "\x76\151\145\x77\163\x2f\164\x65\x6d\x70\x6c\x61\164\145\x73\x2f\x68\157\x6f\153\57"; goto pQ3gH; case "\152\163": $Z7tVU = array(_PS_THEME_DIR_ . "\x6a\163\57\155\x6f\x64\165\x6c\145\x73\x2f" . $JESPB . "\x2f"); if (!defined("\x5f\x50\123\x5f\120\x41\x52\x45\x4e\124\137\x54\x48\105\115\105\x5f\x44\x49\122\x5f")) { goto MGBZr; } $Z7tVU[] = _PS_PARENT_THEME_DIR_ . "\x6a\x73\57\x6d\157\x64\165\154\x65\x73\x2f" . $JESPB . "\x2f"; MGBZr: goto pQ3gH; case "\x70\150\x70": $Z7tVU = array(); goto pQ3gH; default: return; } U8lcL: pQ3gH: foreach ($N1u1v["\146\151\x6c\145\x73"] as $vLm6w) { if (empty($vLm6w)) { goto OBhBG; } $GY9ga = null; foreach ($Z7tVU as $Z50wN) { if (!is_file($Z50wN . $vLm6w)) { goto gjN1y; } $GY9ga = $Z50wN . $vLm6w; goto jGupl; gjN1y: ndHJD: } jGupl: if (!($GY9ga == null)) { goto A_Kp1; } if ($JESPB == "\x70\160\162\157\x70\x65\162\164\x69\x65\x73" && Tools::strpos($vLm6w, "\143\154\141\x73\163\145\163\57\x63\x6f\162\145\x2f\143\x6c\x61\x73\x73\145\x73\57") === 0) { goto IUfJE; } $GY9ga = $zV8Po . $vLm6w; goto bqtR1; IUfJE: static $VTCtN = null; if (!($VTCtN === null)) { goto lj8V0; } $VTCtN = Tools::substr(_PS_VERSION_, 0, strrpos(_PS_VERSION_, "\56")); lj8V0: $kZqK7 = str_replace("\143\x6c\x61\x73\x73\x65\163\57\x63\x6f\162\x65\x2f", '', $vLm6w); $GY9ga = PSM_CLASSES_CORE_DIR . _PS_VERSION_ . "\x2f" . $kZqK7; if (is_file($GY9ga)) { goto Yz0o0; } $GY9ga = PSM_CLASSES_CORE_DIR . $VTCtN . "\57" . $kZqK7; if (is_file($GY9ga)) { goto onA1a; } $GY9ga = PSM_CLASSES_CORE_DIR . $kZqK7; onA1a: Yz0o0: bqtR1: A_Kp1: if ($yiSsK) { goto gxOzm; } $FMOv_ &= $this->checkReplacedStringsAndReport($GY9ga, $N1u1v, $this->l("\x4d\157\x64\165\154\x65\163")); goto Crp24; gxOzm: if (!is_writable($GY9ga)) { goto acdx6; } $this->replaceStrings($GY9ga, $N1u1v, $this->install_mode); acdx6: Crp24: OBhBG: W9sLO: } K3Yz9: lOmCH: J9O0o: xlyLb: } hgko3: return $FMOv_; } protected function setupMail($RFDcO, $v2TXd) { $Z7tVU = scandir(_PS_MAIL_DIR_); foreach ($Z7tVU as $mIDY6) { $Z50wN = _PS_MAIL_DIR_ . $mIDY6; if (!($mIDY6 != "\56" && $mIDY6 != "\x2e\x2e" && is_dir($Z50wN))) { goto EUbp6; } foreach ($RFDcO as $N1u1v) { foreach ($N1u1v["\x66\x69\x6c\x65\x73"] as $vLm6w) { if (empty($vLm6w)) { goto BPFHE; } $GY9ga = $Z50wN . "\x2f" . $vLm6w; if (!is_file($GY9ga)) { goto r2faC; } $KoaDL = Tools::file_get_contents($GY9ga); if ($v2TXd) { goto gDa0O; } $hPgxk = str_replace($N1u1v["\x72\x65\160\x6c\x61\143\145"], '', $KoaDL, $IB6HX); if (!($IB6HX > 0)) { goto dIird; } @file_put_contents($GY9ga, $hPgxk); dIird: goto QrDTy; gDa0O: if (!(Tools::strpos($KoaDL, $N1u1v["\x74\141\x72\x67\145\164"]) === false)) { goto Eu7IX; } $MVSr2 = Tools::strpos($KoaDL, $N1u1v["\x63\x6f\x6e\144\151\x74\x69\x6f\x6e"]); if (!($MVSr2 !== false)) { goto IOALr; } $P7iqP = Tools::strpos($KoaDL, $N1u1v["\x64\145\154\151\x6d\151\x74\145\x72"], $MVSr2); if (!($P7iqP !== false)) { goto RvcKU; } $hPgxk = PSM::substrReplace($KoaDL, $N1u1v["\x72\x65\x70\154\141\143\145"], $P7iqP + Tools::strlen($N1u1v["\x64\145\x6c\x69\155\x69\164\x65\162"]), 0); @file_put_contents($GY9ga, $hPgxk); RvcKU: IOALr: Eu7IX: QrDTy: r2faC: BPFHE: s5ZRb: } m5hP6: QuZsY: } hg617: EUbp6: UzGUH: } x3MVH: } protected function notWritableWarning($GY9ga) { return is_writable($GY9ga) ? '' : "\74\163\160\x61\156\40\x63\154\141\x73\163\x3d\42\167\x61\162\x6e\151\156\x67\x22\x3e\x20\50" . Context::getContext()->getTranslator()->trans("\124\150\x65\40\x73\x65\x72\166\145\162\40\x64\157\x65\163\x20\x6e\157\164\40\x68\141\166\145\x20\160\145\162\x6d\151\163\163\x69\x6f\x6e\163\40\x66\x6f\162\40\167\162\151\x74\151\x6e\x67\x2e", array(), "\101\x64\x6d\x69\x6e\x2e\116\x6f\164\x69\x66\151\143\x61\x74\x69\x6f\x6e\x73\56\x45\162\162\x6f\x72") . "\51\74\57\163\x70\141\x6e\76"; } private function moduleVersion($vF7Dc, $RY0bs) { return $vF7Dc->getValue("\123\105\114\105\103\124\40\x76\145\x72\163\x69\x6f\x6e\40\x46\122\x4f\x4d\40\140" . _DB_PREFIX_ . "\x6d\x6f\x64\165\x6c\145\140\40\x57\x48\105\x52\105\40\x60\x6e\141\x6d\x65\140\x20\75\40\x27" . pSQL($RY0bs) . "\47"); } private function isModuleEnabled($RY0bs, $DjwFh = "\141\154\154") { if (!Module::isEnabled($RY0bs)) { goto kQI9f; } if (!($DjwFh == "\141\x6c\x6c")) { goto zUNcL; } return true; zUNcL: return $DjwFh == $this->moduleVersion(PSM::getDB(), $RY0bs); kQI9f: return $this->module_mutating && $this->module_mutating->name == $RY0bs && ($this->module_mutating->version == $DjwFh || $DjwFh == "\141\154\154"); } private function isModuleInstalled($vF7Dc, $RY0bs, $DjwFh) { if (!Module::isInstalled($RY0bs)) { goto lBY26; } if (!(strcmp($DjwFh, "\141\x6c\154") == 0)) { goto OjX5c; } return true; OjX5c: return $DjwFh == $this->moduleVersion($vF7Dc, $RY0bs); lBY26: return false; } public function downloadExtraModule($RY0bs, $DjwFh, $VpAvo = false) { $Iwc8B = $this->getExtraModulesList(); if (empty($Iwc8B[$RY0bs])) { goto dOGyc; } $f3iIA = PSMHelper::ppSetupExtraModulesDir(); if ($VpAvo || !is_dir($f3iIA . "\57" . $RY0bs . "\x2f\x61\154\x6c") && !is_dir($f3iIA . "\x2f" . $RY0bs . "\57" . $DjwFh)) { goto Cbu_U; } $KW9R2 = "\144\x6f\x77\x6e\154\x6f\x61\144\145\144"; goto gEvym; Cbu_U: $KW9R2 = "\145\162\x72\157\162"; $RFDcO = array_merge(array("\x6b\x65\171" => $this->module->name, "\166\145\x72" => $this->module->version, "\x6d\x6f\144\165\154\x65" => $RY0bs, "\x76\x65\x72\163\151\157\156" => $DjwFh), PSM::psmInfo($this->module->name)); $KoaDL = PSM::getContent("\151\x6e\x74\x65\147\162\141\x74\x69\x6f\x6e\56\x70\150\160", $RFDcO); if (!$KoaDL) { goto DCSHX; } if ($KoaDL == "\x5f\156\x6f\156\x65\x5f") { goto U0t2Z; } $Z50wN = $f3iIA . "\57" . $RY0bs . "\x2f"; if (is_dir($Z50wN)) { goto xcHX7; } mkdir($Z50wN, 0755, true); xcHX7: $qHz6P = $Z50wN . $DjwFh . "\56\172\x69\160"; Tools::deleteFile($qHz6P); if (!(file_put_contents($qHz6P, $KoaDL) !== false)) { goto o97EC; } if (Tools::ZipExtract($qHz6P, $Z50wN)) { goto Lvjh3; } $KW9R2 = "\160\145\x72\155\151\163\163\x69\x6f\x6e\x5f\144\x65\x6e\151\x65\144"; goto myb4A; Lvjh3: $KW9R2 = "\x64\157\x77\x6e\x6c\x6f\141\x64\145\144"; myb4A: Tools::deleteFile($qHz6P); o97EC: goto h8O6Y; U0t2Z: if ($DjwFh == "\141\x6c\154" || strpos("\160\x70\162\157\x70\145\162\x74\151\145\x73", $RY0bs) == 0) { goto LHEw0; } $KW9R2 = "\156\x6f\x5f\x75\x70\x64\141\164\145\x73"; goto wtuzw; LHEw0: $KW9R2 = "\x72\145\162\x75\156"; wtuzw: h8O6Y: DCSHX: gEvym: goto InCTc; dOGyc: $KW9R2 = "\x6e\x6f\x5f\x75\x70\x64\141\x74\145\163"; InCTc: return $KW9R2; } private function downloadExtraModules($EaucU) { $Qsc8a = []; $vF7Dc = PSM::getDB(); foreach ($this->getExtraModulesList() as $RY0bs => $RHVmL) { if (!($RHVmL && $this->isModuleEnabled($RY0bs))) { goto sU8cI; } $KW9R2 = $this->downloadExtraModule($RY0bs, $this->moduleVersion($vF7Dc, $RY0bs), !$EaucU); if (!($KW9R2 == "\x70\x65\162\x6d\x69\x73\163\151\x6f\x6e\x5f\x64\x65\156\151\x65\144")) { goto vZCmf; } $Qsc8a[$RY0bs] = true; vZCmf: sU8cI: s8o40: } BMOSw: PSM::protectDirectory(PSMHelper::ppSetupExtraModulesDir()); return $Qsc8a; } private function getExtraModulesList() { static $Iwc8B = null; if (!($Iwc8B === null)) { goto WfUzs; } $Iwc8B = array(); $AxtYz = self::excludeFiles(); $f3iIA = PSMHelper::ppSetupExtraModulesDir(); foreach (scandir($f3iIA) as $Z50wN) { if (!(in_array($Z50wN, $AxtYz) || !is_dir($f3iIA . "\57" . $Z50wN))) { goto ebMW9; } goto hGEux; ebMW9: $Iwc8B[$Z50wN] = null; hGEux: } zT7HM: $vLm6w = $f3iIA . "\57\x65\x78\x74\x72\x61\x5f\155\x6f\144\165\x6c\145\163\x5f\154\151\163\x74\x2e\170\155\x6c"; if (!file_exists($vLm6w)) { goto LnZSY; } $KoaDL = Tools::file_get_contents($vLm6w); $no1s8 = simplexml_load_string($KoaDL, null, LIBXML_NOCDATA); if (!($no1s8 && isset($no1s8->module))) { goto tYuLi; } foreach ($no1s8->module as $JESPB) { $RY0bs = Tools::strtolower((string) $JESPB->name); if (!(!isset($JESPB->plugin) || !$JESPB->plugin)) { goto Ttock; } $Iwc8B[$RY0bs] = true; Ttock: aIwEz: } ORWmZ: tYuLi: LnZSY: WfUzs: return $Iwc8B; } private function getExtraModules() { $vF7Dc = PSM::getDB(); $ksmS8 = array(); $f3iIA = PSMHelper::ppSetupExtraModulesDir(); foreach ($this->getExtraModulesList() as $RY0bs => $RHVmL) { if ($this->isModuleEnabled($RY0bs)) { goto nruu0; } if ($QmL8M = Module::getInstanceByName($RY0bs)) { goto wKci2; } $DjwFh = 0; goto aLybr; nruu0: $DjwFh = $this->moduleVersion($vF7Dc, $RY0bs); goto aLybr; wKci2: $DjwFh = $QmL8M->version; aLybr: $d2lDl = $RY0bs . "\x3a" . $DjwFh; $ksmS8[$d2lDl] = array("\156\x61\155\145" => $RY0bs, "\166\145\x72\163\x69\157\156" => $DjwFh, "\x66\151\x6c\145\x73" => array()); if (!($DjwFh > 0)) { goto aoNUU; } $t1BJu = self::directoryListing($f3iIA . "\x2f" . $RY0bs . "\57" . $DjwFh, "\x5f\155\145\x64\151\x61\x5f"); if (!(count($t1BJu) == 0)) { goto u8VeF; } $DjwFh = "\141\x6c\x6c"; $t1BJu = self::directoryListing($f3iIA . "\x2f" . $RY0bs . "\57\141\x6c\154", "\x5f\x6d\145\x64\x69\141\x5f"); u8VeF: if (!count($t1BJu)) { goto nxRnm; } foreach ($t1BJu as $vLm6w) { $mX1Xi = str_replace($DjwFh . "\57", '', Tools::substr(str_replace($f3iIA, '', $vLm6w), 1)); $ksmS8[$d2lDl]["\x66\x69\154\145\163"][] = array("\162\x65\x6c\x5f\x70\x61\x74\x68" => $mX1Xi, "\x66\151\x6c\145" => $vLm6w); h0TgT: } CI7VS: nxRnm: aoNUU: esB8J: } U3Qo_: return $ksmS8; } private function checkVersionCompatibility($vLm6w, $mX1Xi, $FjsP8) { $gI_Y6 = PSM::integrationVersion($this->module); $FMOv_ = array(); $FMOv_[self::VERSION_CHECK_INDEX] = false; $DjwFh = $this->getVersion($vLm6w); if ($DjwFh === false) { goto W00vd; } $wJsUG = $this->notWritableWarning($vLm6w); if ($DjwFh[self::VERSION_INDEX] === false) { goto xNK23; } $tUVaj = $this->getVersion($FjsP8); if (Tools::version_compare($gI_Y6, $DjwFh[self::VERSION_INDEX], "\75")) { goto EsXwU; } if ($tUVaj[self::VERSION_REQUIRED_INDEX] !== false) { goto F1hFV; } $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "\x5b\70\x5d\x20" . sprintf($this->l("\x46\x69\x6c\145\x20\156\157\164\40\143\157\x6d\x70\x61\x74\x69\142\154\145\72\x20\x25\x73\x20\50\145\170\160\145\143\x74\145\144\x20\x76\x65\x72\163\151\157\x6e\40\x25\163\54\40\146\157\x75\156\x64\40\x76\145\x72\x73\151\157\x6e\x20\x25\163\x29") . $wJsUG, PSM::normalizePath($mX1Xi, "\x72\x65\x6c\141\164\151\166\145"), $gI_Y6, $DjwFh[self::VERSION_INDEX]); goto F7RiZ; F1hFV: if (Tools::version_compare($DjwFh[self::VERSION_INDEX], $tUVaj[self::VERSION_REQUIRED_INDEX], "\x3e\x3d")) { goto fMm8V; } if ($DjwFh[self::VERSION_REQUIRED_INDEX] !== false) { goto fEVkA; } $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "\x5b\67\135\x20" . sprintf($this->l("\106\x69\154\x65\40\156\x6f\164\x20\x63\x6f\155\x70\x61\164\151\x62\x6c\x65\72\40\x25\x73\x20\50\145\x78\160\x65\x63\164\x65\144\x20\166\x65\162\x73\151\157\x6e\40\x25\163\54\40\146\157\x75\156\144\x20\166\x65\x72\x73\151\157\x6e\x20\45\x73\x29") . $wJsUG, PSM::normalizePath($mX1Xi, "\162\145\x6c\x61\x74\x69\x76\x65"), str_replace("\x23", "\x2d\x52", $tUVaj[self::VERSION_REQUIRED_INDEX]), $DjwFh[self::VERSION_INDEX]); goto FrqP_; fEVkA: if (Tools::version_compare($DjwFh[self::VERSION_REQUIRED_INDEX], $tUVaj[self::VERSION_REQUIRED_INDEX], "\x3c")) { goto pBTyX; } $FMOv_[self::VERSION_CHECK_INDEX] = true; if (Tools::version_compare($DjwFh[self::VERSION_REQUIRED_INDEX], $tUVaj[self::VERSION_REQUIRED_INDEX], "\x3e")) { goto OxDC8; } $FMOv_[self::VERSION_CHECK_DESC_INDEX] = ''; goto QsPuO; OxDC8: $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "\133\x36\135\40" . sprintf($this->l("\103\157\x6d\160\141\x74\x69\142\x69\x6c\x69\164\x79\40\x77\x61\x72\156\151\x6e\x67\x20\x66\157\162\40\x66\151\154\x65\x3a\40\x25\x73\x20\50\145\x78\x70\145\x63\x74\145\x64\x20\x76\x65\162\x73\x69\x6f\156\40\45\163\x2c\40\146\157\x75\156\x64\x20\x76\x65\x72\163\151\157\156\x20\x25\163\x29") . $wJsUG, PSM::normalizePath($mX1Xi, "\x72\145\x6c\x61\164\151\x76\145"), str_replace("\x23", "\x2d\x52", $tUVaj[self::VERSION_REQUIRED_INDEX]), str_replace("\43", "\55\x52", $DjwFh[self::VERSION_REQUIRED_INDEX])); QsPuO: goto qJmEw; pBTyX: $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "\x5b\65\135\x20" . sprintf($this->l("\x43\157\x6d\160\x61\x74\x69\x62\151\154\x69\164\x79\40\x77\141\162\156\x69\x6e\147\x20\146\157\162\40\x66\x69\x6c\x65\72\x20\x25\163\40\50\x65\x78\160\x65\143\164\x65\x64\x20\166\x65\x72\x73\151\x6f\156\40\45\163\54\40\146\157\x75\156\144\40\166\145\x72\163\x69\157\x6e\40\x25\x73\x29") . $wJsUG, PSM::normalizePath($mX1Xi, "\162\x65\154\141\164\151\166\x65"), str_replace("\x23", "\55\x52", $tUVaj[self::VERSION_REQUIRED_INDEX]), str_replace("\x23", "\x2d\122", $DjwFh[self::VERSION_REQUIRED_INDEX])); qJmEw: FrqP_: goto SLFFO; fMm8V: $FMOv_[self::VERSION_CHECK_INDEX] = true; $FMOv_[self::VERSION_CHECK_DESC_INDEX] = ''; SLFFO: F7RiZ: goto abQad; EsXwU: $FMOv_[self::VERSION_CHECK_INDEX] = true; $FMOv_[self::VERSION_CHECK_DESC_INDEX] = ''; if (!($tUVaj[self::VERSION_REQUIRED_INDEX] !== false)) { goto FK90c; } if ($DjwFh[self::VERSION_REQUIRED_INDEX] !== false) { goto RG83R; } $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "\x5b\x34\135\40" . sprintf($this->l("\x43\157\155\x70\x61\x74\151\142\151\x6c\151\164\171\x20\x77\x61\162\x6e\151\x6e\147\40\x66\x6f\162\x20\146\x69\x6c\x65\72\x20\45\163\x20\x28\x65\x78\x70\x65\143\164\x65\x64\40\166\x65\162\163\151\157\x6e\40\45\x73\54\x20\156\x6f\40\x76\x65\x72\x73\x69\157\156\40\151\x6e\146\x6f\162\155\x61\164\x69\x6f\156\x20\146\157\x75\156\x64\51") . $wJsUG, PSM::normalizePath($mX1Xi, "\x72\x65\x6c\141\x74\151\166\x65"), str_replace("\43", "\55\122", $tUVaj[self::VERSION_REQUIRED_INDEX])); goto VIP2U; RG83R: if (!Tools::version_compare($DjwFh[self::VERSION_REQUIRED_INDEX], $tUVaj[self::VERSION_REQUIRED_INDEX], "\74")) { goto PuuHC; } $FMOv_[self::VERSION_CHECK_INDEX] = false; $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "\133\x33\135\40" . sprintf($this->l("\x43\157\x6d\160\x61\x74\151\142\x69\154\151\164\171\x20\167\x61\162\156\151\x6e\147\40\146\x6f\x72\x20\146\x69\x6c\145\72\40\45\x73\x20\x28\x65\x78\x70\145\x63\164\145\144\x20\166\145\x72\163\x69\157\156\x20\45\x73\54\x20\146\x6f\x75\156\144\40\166\145\x72\x73\151\x6f\x6e\40\45\x73\51") . $wJsUG, PSM::normalizePath($mX1Xi, "\x72\145\154\x61\x74\x69\166\x65"), str_replace("\x23", "\55\x52", $tUVaj[self::VERSION_REQUIRED_INDEX]), str_replace("\x23", "\x2d\x52", $DjwFh[self::VERSION_REQUIRED_INDEX])); PuuHC: VIP2U: FK90c: abQad: goto BRpT1; xNK23: $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "\133\62\x5d\40" . sprintf($this->l("\106\151\x6c\145\40\x6e\157\x74\40\143\157\x6d\160\141\164\x69\x62\154\x65\72\40\45\x73\x20\50\155\151\163\x73\x69\156\147\40\166\145\x72\163\151\x6f\x6e\x20\163\x69\x67\156\141\164\165\162\145\51") . $wJsUG, PSM::normalizePath($mX1Xi, "\x72\x65\x6c\x61\164\x69\166\145")); BRpT1: goto HIGA4; W00vd: $FMOv_[self::VERSION_CHECK_DESC_INDEX] = "\x5b\x31\135\x20" . sprintf($this->l("\x46\x69\x6c\145\40\x69\163\x20\x6d\151\x73\163\x69\156\147\x3a\40\45\x73"), PSM::normalizePath($mX1Xi, "\x72\x65\x6c\141\164\x69\166\x65")); HIGA4: return $FMOv_; } private function getSetupVars1() { $d2lDl = "\x67\145\164\123\x65\164\x75\x70\x56\x61\x72\163\61"; if (isset(static::$s_cache[$d2lDl])) { goto kHv99; } $NWVVH = Tools::substr(str_replace(_PS_ROOT_DIR_, '', _PS_ADMIN_DIR_), 1) . "\x2f"; $d234c = Tools::substr(str_replace(_PS_ROOT_DIR_, '', _PS_THEME_DIR_), 1); $Hzjph = dirname(__FILE__) . "\57\163\145\x74\x75\160\x2f\143\x6f\162\145"; $x_E_T = dirname(__FILE__) . "\x2f\x6f\166\145\162\x72\x69\144\x65"; $wu1lh = self::directoryListing($Hzjph, array("\x5f\166\145\162\163\151\x6f\x6e\137", "\137\x6d\x65\x64\x69\141\x5f")); $bvVUI = self::directoryListing($Hzjph . "\x2f\x5f\x76\145\162\163\x69\x6f\x6e\x5f\x2f" . _PS_VERSION_); if (!$bvVUI) { goto Won2h; } $wu1lh = array_merge($wu1lh, $bvVUI); Won2h: $rXnPz = self::directoryListing($x_E_T); static::$s_cache[$d2lDl] = array($NWVVH, $d234c, $Hzjph, $x_E_T, $wu1lh, $rXnPz); kHv99: return static::$s_cache[$d2lDl]; } private function getSetupVars2($m7rr8, $FjsP8) { list($NWVVH, $d234c, $Hzjph, ) = $m7rr8; $dQsW2 = Tools::substr(str_replace($Hzjph, '', $FjsP8), 1); $UX0hM = Tools::strlen($dQsW2); if (Tools::strrpos($dQsW2, "\x2e\x5f\x74\160\x6c") == $UX0hM - 5) { goto iBhH5; } if (Tools::strrpos($dQsW2, "\x2e\137\x6a\x73") == $UX0hM - 4) { goto n_NWn; } $YRAlz = $dQsW2; goto fDivr; iBhH5: $YRAlz = Tools::substr($dQsW2, 0, $UX0hM - 5) . "\x2e\164\160\x6c"; goto fDivr; n_NWn: $YRAlz = Tools::substr($dQsW2, 0, $UX0hM - 4) . "\56\152\163"; fDivr: $mX1Xi = $YRAlz; $vrD98 = false; if (Tools::strpos($mX1Xi, "\141\144\x6d\x69\x6e\57") === 0) { goto yonng; } if (Tools::strpos($mX1Xi, "\160\144\146\x2f") === 0) { goto TWXLJ; } if (Tools::strpos($mX1Xi, "\x74\x68\x65\x6d\x65\x73\x2f\144\x65\x66\141\x75\x6c\x74\55\x62\157\x6f\164\x73\164\x72\141\160\57") === 0) { goto RvCA8; } if (Tools::strpos($mX1Xi, "\137\x76\x65\x72\x73\x69\157\x6e\x5f\57\154\145\147\141\143\171\x2f\164\x68\x65\x6d\145\x73\x2f\144\x65\x66\x61\x75\154\164\x2d\x62\x6f\157\x74\x73\x74\162\x61\160\57") === 0) { goto psv7Y; } if (Tools::strpos($mX1Xi, "\x5f\x76\x65\x72\163\x69\x6f\156\x5f\57\x6c\145\x67\141\143\x79\57\x70\x64\x66\57") === 0) { goto Syj42; } goto TySod; yonng: $mX1Xi = PSM::normalizePath(str_replace("\141\x64\x6d\151\x6e\57", $NWVVH, $mX1Xi)); goto TySod; TWXLJ: $vrD98 = PSM::normalizePath($d234c . $mX1Xi); goto TySod; RvCA8: $mX1Xi = PSM::normalizePath(str_replace("\164\150\x65\155\x65\163\57\144\145\146\141\165\x6c\x74\55\142\157\x6f\164\163\x74\x72\x61\160\57", $d234c, $mX1Xi)); goto TySod; psv7Y: $mX1Xi = PSM::normalizePath(str_replace("\x5f\166\x65\x72\163\151\x6f\156\x5f\57\x6c\145\x67\x61\x63\x79\57\x74\150\145\155\145\163\57\x64\145\146\141\165\154\164\55\142\x6f\157\164\163\164\x72\x61\160\57", $d234c, $mX1Xi)); goto TySod; Syj42: $YRAlz = str_replace("\x5f\166\145\x72\163\151\x6f\x6e\137\57\x6c\x65\147\141\143\171\57\x70\144\146\57", "\160\x64\146\57", $YRAlz); $mX1Xi = PSM::normalizePath(str_replace("\137\166\x65\162\x73\x69\157\156\137\57\154\145\x67\141\x63\x79\x2f\x70\x64\146\57", "\x70\144\146\57", $mX1Xi)); $vrD98 = PSM::normalizePath($d234c . $mX1Xi); TySod: if (!(Tools::strpos($YRAlz, "\x61\144\155\x69\156\x2f\164\x68\145\155\145\x73\x2f\144\145\146\x61\x75\x6c\x74\57\164\145\x6d\x70\154\x61\164\145\x2f\x63\157\156\164\162\x6f\x6c\x6c\145\x72\x73") === 0)) { goto LAdd3; } $vrD98 = str_replace("\141\144\x6d\151\156\x2f\164\150\x65\155\x65\163\57\x64\x65\x66\141\165\154\164\x2f\x74\x65\155\160\154\x61\x74\145\x2f\143\157\156\164\162\x6f\x6c\x6c\x65\162\x73", "\157\166\x65\162\x72\151\144\x65\x2f\143\x6f\x6e\x74\162\157\154\x6c\x65\162\163\57\141\144\x6d\151\156\57\164\145\155\x70\154\x61\x74\x65\163", $YRAlz); LAdd3: $vLm6w = _PS_ROOT_DIR_ . "\57" . $mX1Xi; $Lfhpo = $mX1Xi; if (!$vrD98) { goto qCgQ9; } $eWyoc = _PS_ROOT_DIR_ . "\x2f" . $vrD98; if (!is_file($eWyoc)) { goto WMcOh; } $mX1Xi = $vrD98; $vLm6w = $eWyoc; WMcOh: qCgQ9: return array($dQsW2, $YRAlz, $mX1Xi, $vLm6w, $vrD98, $Lfhpo); } public function insertData($hIeEA = false) { $vF7Dc = PSM::getDB(); if (!$hIeEA) { goto JMbdh; } $vF7Dc->delete("\x70\x70\137\164\x65\155\x70\x6c\x61\x74\145", "\151\144\x5f\160\160\x5f\x74\x65\155\160\x6c\141\164\x65\40\x3c\x20" . PProperties::USER_START_ID); $vF7Dc->delete("\160\x70\x5f\164\x65\x6d\160\154\x61\x74\x65\137\154\141\156\147", "\151\144\137\160\160\x5f\164\145\x6d\x70\x6c\141\164\x65\40\x3c\x20" . PProperties::USER_START_ID); $vF7Dc->delete("\160\x70\137\x74\x65\155\160\154\x61\x74\145\x5f\160\162\x6f\160\145\162\164\171", "\151\144\x5f\x70\160\137\x74\145\x6d\160\x6c\141\x74\145\40\74\40" . PProperties::USER_START_ID); $vF7Dc->delete("\160\x70\137\160\162\x6f\160\x65\162\164\171", "\151\x64\137\160\160\137\160\162\157\160\x65\x72\x74\x79\40\74\40" . PProperties::USER_START_ID); $vF7Dc->delete("\x70\160\137\x70\162\x6f\160\145\x72\164\171\x5f\x6c\141\156\x67", "\x69\144\137\x70\160\x5f\160\x72\157\160\x65\162\164\171\40\74\40" . PProperties::USER_START_ID); $vF7Dc->delete("\x70\160\x5f\x74\x65\x6d\x70\x6c\x61\x74\145\137\x65\170\x74", "\x69\144\x5f\x70\160\137\164\145\x6d\x70\x6c\x61\x74\145\40\x3c\40" . PProperties::USER_START_ID); $vF7Dc->delete("\x70\x70\x5f\x74\x65\155\160\x6c\x61\164\145\x5f\x65\x78\x74\x5f\160\x72\x6f\x70", "\151\144\137\160\x70\137\x74\145\155\160\154\x61\x74\145\x20\x3c\40" . PProperties::USER_START_ID); JMbdh: $HfcTD = Language::getLanguages(false); $Pcc5w = array(array("\151\x64\137\160\160\x5f\x74\x65\x6d\x70\x6c\141\164\145" => 1, "\x76\145\162\x73\151\157\x6e" => 1, "\x71\x74\171\x5f\160\x6f\x6c\151\143\x79" => 0), array("\151\x64\137\x70\x70\137\164\x65\155\160\x6c\x61\164\x65" => 2, "\166\x65\162\x73\x69\157\x6e" => 1, "\x71\x74\171\x5f\160\157\x6c\x69\143\171" => 0), array("\151\144\x5f\x70\160\x5f\164\x65\155\x70\x6c\x61\164\145" => 3, "\x76\x65\162\x73\x69\x6f\156" => 1, "\161\x74\171\x5f\x70\157\154\151\143\171" => 1, "\161\x74\x79\x5f\155\x6f\144\145" => 1), array("\151\x64\x5f\x70\160\x5f\x74\x65\155\160\154\141\x74\x65" => 4, "\x76\x65\x72\163\x69\157\156" => 1, "\161\x74\x79\137\x70\157\154\151\143\171" => 2), array("\151\x64\137\x70\160\137\164\x65\x6d\x70\x6c\x61\x74\x65" => 5, "\x76\x65\162\x73\x69\x6f\156" => 1, "\x71\x74\x79\x5f\160\x6f\x6c\x69\x63\171" => 2, "\x71\164\x79\137\x6d\x6f\144\x65" => 1), array("\151\x64\x5f\160\160\x5f\164\145\x6d\x70\154\141\x74\145" => 6, "\x76\145\x72\163\151\x6f\156" => 1, "\x71\x74\171\x5f\160\157\154\x69\143\171" => 2, "\x6d\x65\x61\x73\x75\162\145\x6d\145\x6e\x74\x5f\163\x79\163\x74\x65\x6d" => 1, "\x64\151\163\160\154\x61\x79\137\155\157\144\x65" => 9, "\165\156\151\164\137\x70\162\151\143\x65\x5f\162\x61\x74\151\x6f" => 10, "\155\151\156\x69\155\x61\154\137\161\x75\141\x6e\x74\151\x74\171" => 0.1, "\144\x65\x66\141\165\154\164\x5f\161\165\141\156\x74\151\164\171" => 0.1), array("\x69\x64\137\x70\x70\x5f\x74\145\x6d\160\x6c\141\x74\x65" => 7, "\x76\145\x72\x73\x69\x6f\156" => 1, "\161\x74\171\x5f\x70\x6f\x6c\x69\x63\171" => 1), array("\151\x64\x5f\x70\x70\x5f\164\x65\x6d\x70\154\x61\164\145" => 8, "\166\x65\x72\163\151\157\156" => 1, "\x71\x74\171\137\x70\157\154\x69\x63\x79" => 2, "\155\151\x6e\x69\x6d\x61\154\137\x71\165\x61\156\164\151\164\x79" => 0.1, "\144\x65\x66\141\x75\154\164\x5f\x71\165\141\x6e\164\151\x74\x79" => 1), array("\151\x64\x5f\x70\160\137\164\145\155\160\x6c\141\x74\145" => 9, "\x76\x65\x72\163\151\157\156" => 1, "\161\164\171\137\x70\x6f\x6c\151\x63\171" => 2, "\155\x69\x6e\151\155\141\154\137\x71\x75\x61\x6e\164\151\x74\171" => 0.125, "\144\145\x66\141\165\154\x74\x5f\161\x75\x61\x6e\164\151\164\x79" => 1), array("\151\144\137\x70\x70\137\x74\x65\x6d\160\154\x61\x74\145" => 10, "\166\145\x72\163\151\x6f\156" => 1, "\x71\x74\171\137\160\157\x6c\151\x63\x79" => 2, "\145\x78\x74" => 1), array("\x69\x64\x5f\x70\x70\137\164\x65\x6d\x70\154\141\164\145" => 11, "\166\x65\162\x73\x69\157\x6e" => 1, "\x71\164\x79\x5f\x70\157\x6c\x69\143\x79" => 2, "\x65\170\x74" => 1)); self::dbInsert("\160\160\x5f\164\145\x6d\x70\x6c\x61\x74\145", $Pcc5w); $Pcc5w = array(array("\151\144\x5f\x70\x70\137\164\145\155\160\x6c\x61\x74\145" => 1, "\160\160\x5f\x6e\x61\x6d\x65" => "\x70\160\x5f\x71\x74\171\137\164\x65\170\x74", "\x69\144\137\x70\x70\x5f\160\162\x6f\x70\145\162\164\x79" => 0), array("\151\x64\137\160\x70\x5f\164\145\x6d\160\x6c\141\164\145" => 2, "\160\x70\137\156\x61\x6d\145" => "\160\160\x5f\161\x74\171\x5f\x74\145\x78\164", "\x69\x64\x5f\160\160\137\x70\x72\157\x70\x65\x72\x74\x79" => 2), array("\151\144\x5f\x70\x70\x5f\164\x65\x6d\160\x6c\141\x74\x65" => 3, "\x70\x70\x5f\156\141\155\145" => "\160\x70\x5f\x71\x74\x79\x5f\x74\x65\170\164", "\151\x64\x5f\x70\x70\137\x70\x72\157\x70\x65\162\x74\x79" => 2), array("\151\144\x5f\x70\x70\137\x74\145\x6d\160\154\141\x74\x65" => 4, "\x70\x70\137\x6e\x61\x6d\x65" => "\160\x70\x5f\x71\164\x79\137\164\145\x78\x74", "\x69\x64\137\160\x70\137\x70\x72\157\x70\145\162\x74\171" => 10), array("\x69\144\x5f\x70\160\137\x74\x65\155\160\x6c\141\x74\145" => 5, "\x70\x70\137\156\x61\155\x65" => "\x70\x70\137\161\x74\171\137\164\x65\x78\x74", "\151\x64\137\x70\x70\x5f\160\162\157\160\145\x72\x74\x79" => 10), array("\151\x64\x5f\160\160\x5f\164\x65\155\x70\x6c\141\x74\x65" => 6, "\x70\160\137\x6e\141\155\145" => "\160\160\137\x71\x74\171\137\x74\x65\170\x74", "\151\x64\137\160\160\137\x70\162\157\x70\145\162\164\171" => 10), array("\x69\x64\137\160\160\137\164\145\x6d\x70\154\141\164\x65" => 7, "\x70\160\137\x6e\141\155\145" => "\x70\x70\137\x71\x74\x79\137\x74\145\170\x74", "\x69\144\137\160\160\x5f\160\x72\x6f\x70\x65\x72\164\x79" => 15), array("\x69\144\x5f\160\160\x5f\x74\x65\155\x70\x6c\x61\164\x65" => 8, "\160\x70\137\x6e\x61\155\145" => "\160\x70\137\161\x74\171\x5f\x74\145\170\164", "\x69\144\137\160\160\x5f\160\x72\x6f\160\x65\162\164\x79" => 15), array("\151\x64\x5f\160\160\137\164\145\155\x70\x6c\141\x74\145" => 9, "\x70\x70\137\156\x61\155\x65" => "\x70\160\x5f\x71\164\x79\137\164\145\x78\164", "\x69\x64\x5f\160\160\x5f\160\162\x6f\x70\145\162\164\x79" => 19), array("\x69\x64\x5f\160\x70\137\164\x65\x6d\x70\x6c\x61\x74\145" => 1, "\x70\x70\137\x6e\x61\155\x65" => "\160\160\137\x70\x72\151\143\x65\x5f\x74\145\x78\164", "\151\x64\137\160\x70\x5f\x70\162\x6f\x70\145\162\x74\x79" => 0), array("\151\x64\137\160\x70\x5f\164\x65\x6d\160\x6c\141\164\145" => 2, "\160\160\137\156\x61\155\145" => "\x70\160\137\x70\x72\x69\x63\x65\137\164\145\170\x74", "\151\x64\137\160\x70\137\x70\x72\157\x70\x65\162\164\171" => 3), array("\151\x64\x5f\160\160\137\164\x65\x6d\x70\x6c\141\x74\145" => 3, "\160\160\137\x6e\141\x6d\145" => "\x70\160\137\160\x72\151\x63\x65\137\164\145\170\164", "\x69\x64\137\160\x70\137\160\x72\x6f\160\x65\162\164\171" => 3), array("\x69\x64\137\160\x70\137\x74\145\x6d\160\154\x61\x74\145" => 4, "\x70\160\x5f\x6e\x61\155\145" => "\x70\x70\x5f\x70\x72\151\x63\x65\x5f\164\145\x78\x74", "\151\x64\x5f\160\160\137\x70\162\157\x70\145\162\164\x79" => 11), array("\x69\x64\x5f\x70\160\x5f\x74\145\155\x70\x6c\x61\x74\x65" => 5, "\160\x70\x5f\156\141\x6d\x65" => "\x70\160\137\x70\x72\151\x63\145\137\164\145\x78\x74", "\151\x64\137\160\x70\137\160\x72\x6f\160\145\162\x74\x79" => 11), array("\151\x64\x5f\160\x70\137\x74\145\155\x70\154\x61\x74\145" => 6, "\160\160\137\156\141\155\x65" => "\x70\x70\x5f\160\x72\151\x63\x65\137\164\x65\x78\x74", "\x69\x64\137\x70\x70\137\160\x72\157\x70\x65\x72\x74\171" => 11), array("\151\x64\x5f\160\x70\x5f\164\x65\155\x70\154\141\x74\145" => 7, "\x70\160\x5f\x6e\x61\x6d\x65" => "\x70\160\137\160\x72\x69\143\145\137\x74\145\x78\164", "\x69\144\x5f\x70\160\137\160\x72\157\x70\x65\162\x74\x79" => 16), array("\x69\x64\137\x70\x70\137\x74\x65\155\160\154\141\x74\145" => 8, "\160\x70\x5f\x6e\141\x6d\x65" => "\x70\x70\x5f\160\162\151\x63\x65\x5f\x74\x65\x78\164", "\151\144\137\160\160\137\160\162\157\x70\x65\x72\164\171" => 16), array("\151\x64\137\x70\x70\137\164\x65\155\x70\x6c\141\164\145" => 9, "\x70\160\137\x6e\x61\155\145" => "\x70\x70\x5f\x70\x72\x69\x63\145\137\164\145\x78\x74", "\x69\x64\x5f\x70\160\137\160\162\157\160\145\162\x74\171" => 20), array("\x69\x64\x5f\160\160\x5f\164\x65\x6d\x70\154\141\164\x65" => 10, "\160\160\x5f\156\x61\155\145" => "\x70\x70\x5f\x70\x72\x69\x63\145\x5f\x74\145\170\164", "\151\144\137\x70\x70\x5f\160\162\x6f\160\145\x72\x74\171" => 18), array("\x69\x64\x5f\160\160\137\164\x65\x6d\x70\154\141\x74\x65" => 11, "\160\x70\x5f\x6e\141\155\145" => "\x70\x70\x5f\x70\x72\151\x63\x65\137\164\x65\170\164", "\151\144\x5f\x70\x70\x5f\x70\x72\157\160\145\x72\164\x79" => 16), array("\x69\144\x5f\x70\x70\137\164\x65\155\x70\154\141\164\x65" => 1, "\160\160\x5f\x6e\x61\x6d\145" => "\160\x70\137\165\x6e\x69\164\171\137\x74\x65\170\164", "\151\x64\137\x70\160\137\x70\162\157\x70\x65\x72\x74\171" => 0), array("\151\144\x5f\x70\x70\x5f\164\145\155\160\x6c\141\x74\145" => 2, "\x70\x70\137\156\141\x6d\145" => "\x70\x70\x5f\165\156\x69\164\171\x5f\164\x65\x78\164", "\x69\144\137\160\160\x5f\x70\162\x6f\x70\145\162\x74\171" => 0), array("\x69\x64\x5f\x70\x70\x5f\164\x65\155\x70\154\141\x74\145" => 3, "\x70\160\137\156\x61\x6d\x65" => "\160\x70\137\x75\156\x69\164\x79\137\x74\145\170\x74", "\x69\x64\137\160\160\137\160\x72\x6f\x70\x65\162\x74\171" => 11), array("\151\144\137\x70\x70\x5f\x74\x65\155\x70\x6c\x61\x74\145" => 4, "\160\x70\x5f\x6e\x61\x6d\145" => "\x70\160\x5f\165\156\x69\164\171\x5f\164\x65\170\x74", "\x69\144\137\x70\160\x5f\160\162\157\160\x65\x72\x74\x79" => 0), array("\151\x64\x5f\x70\160\137\x74\145\x6d\x70\x6c\141\x74\x65" => 5, "\x70\x70\137\156\x61\x6d\145" => "\x70\160\x5f\x75\x6e\x69\164\x79\x5f\164\x65\170\164", "\x69\144\137\x70\160\x5f\160\x72\x6f\x70\145\162\164\x79" => 0), array("\x69\x64\137\x70\160\x5f\164\145\155\160\x6c\141\164\x65" => 6, "\160\160\x5f\x6e\141\x6d\145" => "\x70\160\x5f\x75\156\151\x74\x79\137\x74\x65\x78\164", "\x69\x64\137\x70\x70\137\x70\x72\x6f\160\x65\x72\x74\171" => 12), array("\151\x64\x5f\160\160\137\x74\145\155\x70\154\x61\x74\x65" => 7, "\x70\160\x5f\x6e\141\155\145" => "\160\160\137\165\x6e\151\164\x79\x5f\164\x65\170\x74", "\151\144\x5f\x70\x70\x5f\x70\x72\157\x70\x65\162\x74\x79" => 0), array("\x69\144\137\x70\160\x5f\164\145\155\160\154\x61\164\x65" => 8, "\160\160\x5f\x6e\x61\x6d\x65" => "\160\160\x5f\165\x6e\151\164\171\137\x74\x65\x78\x74", "\x69\144\x5f\x70\x70\137\160\x72\157\x70\145\x72\164\171" => 0), array("\151\x64\x5f\160\x70\x5f\164\145\155\x70\x6c\141\x74\145" => 9, "\x70\x70\137\156\141\155\x65" => "\160\160\x5f\165\156\151\x74\171\137\164\x65\x78\164", "\x69\144\x5f\x70\x70\x5f\160\x72\x6f\160\145\162\x74\171" => 0), array("\x69\144\137\x70\160\137\x74\145\155\x70\x6c\x61\x74\145" => 1, "\x70\x70\x5f\156\141\x6d\145" => "\x70\160\x5f\145\x78\160\154\x61\x6e\141\x74\151\x6f\156", "\x69\144\137\160\x70\137\x70\x72\157\x70\145\x72\x74\171" => 0), array("\x69\144\x5f\160\160\137\164\x65\x6d\160\154\x61\x74\145" => 2, "\x70\160\137\x6e\141\155\x65" => "\x70\x70\137\145\x78\160\x6c\141\x6e\x61\164\x69\x6f\156", "\x69\144\x5f\160\x70\x5f\x70\x72\157\x70\x65\162\164\171" => 0), array("\151\144\137\160\x70\137\x74\x65\155\160\154\x61\x74\x65" => 3, "\160\x70\x5f\156\141\x6d\x65" => "\x70\x70\137\x65\170\x70\154\141\x6e\x61\x74\151\x6f\156", "\151\x64\137\x70\x70\x5f\160\x72\x6f\x70\145\162\x74\x79" => 51), array("\151\x64\x5f\160\160\137\164\x65\x6d\x70\154\141\x74\145" => 4, "\x70\x70\137\x6e\141\155\145" => "\160\160\137\x65\170\x70\154\141\156\141\164\151\x6f\x6e", "\151\x64\137\160\x70\x5f\160\x72\157\160\145\x72\164\171" => 52), array("\151\x64\137\160\x70\x5f\164\145\x6d\160\154\141\x74\x65" => 5, "\160\x70\137\156\141\155\x65" => "\x70\x70\x5f\x65\170\160\154\x61\x6e\141\164\151\x6f\x6e", "\x69\144\137\x70\160\137\x70\162\157\x70\145\162\x74\x79" => 50), array("\x69\144\137\x70\x70\x5f\164\x65\155\x70\x6c\x61\164\x65" => 6, "\160\160\137\156\x61\x6d\145" => "\x70\160\x5f\145\170\160\x6c\x61\156\x61\164\x69\x6f\x6e", "\151\x64\x5f\x70\x70\137\160\x72\157\160\x65\162\x74\171" => 0), array("\x69\x64\137\x70\160\x5f\164\x65\x6d\160\x6c\x61\x74\145" => 7, "\x70\160\137\x6e\141\155\x65" => "\x70\160\x5f\x65\170\160\154\x61\x6e\x61\164\x69\157\x6e", "\x69\144\137\x70\160\x5f\x70\x72\157\160\145\162\x74\x79" => 0), array("\151\x64\137\160\160\x5f\164\x65\155\x70\x6c\141\x74\145" => 8, "\160\160\x5f\156\141\155\145" => "\160\x70\x5f\145\x78\160\154\x61\x6e\141\164\151\x6f\x6e", "\151\144\x5f\x70\x70\137\x70\x72\x6f\160\145\x72\x74\171" => 53), array("\x69\x64\137\x70\x70\137\x74\145\x6d\x70\x6c\141\x74\x65" => 9, "\160\160\x5f\156\x61\x6d\x65" => "\160\x70\137\x65\170\x70\154\x61\x6e\141\164\151\x6f\156", "\151\x64\137\160\x70\x5f\160\162\157\x70\145\x72\164\x79" => 54)); self::dbInsertTemplateSpecial("\x70\160\137\x74\145\x6d\x70\x6c\141\x74\145\137\160\162\157\x70\x65\162\164\171", "\160\160\x5f\x6e\x61\155\145", $Pcc5w); $Pcc5w = array(array("\151\144\137\160\x70\x5f\x74\145\x6d\160\154\x61\164\145" => 1, "\x6e\141\x6d\x65" => "\162\145\x67\x75\x6c\141\x72\40\x70\162\157\x64\165\x63\164", "\144\145\163\x63\x72\151\160\164\x69\157\x6e\x5f\x31" => "\125\163\x65\x20\x74\x68\151\x73\x20\164\145\x6d\x70\154\141\x74\x65\x20\x74\157\x20\145\x6e\141\142\154\145\40\120\x72\157\144\x75\x63\164\40\120\x72\x6f\160\145\162\164\151\145\163\40\105\170\x74\x65\x6e\x73\x69\157\x6e\x20\x6d\157\x64\165\x6c\x65\40\x61\x6e\x64\40\x70\x6c\x75\147\x69\156\x73\40\x64\171\156\141\x6d\151\143\40\x62\x65\x68\141\166\151\157\162\40\146\x6f\x72\x20\162\145\147\165\x6c\x61\162\40\160\162\157\144\x75\143\164\x73\x20\x77\151\164\x68\40\156\157\40\x73\160\145\143\x69\x66\x69\143\40\141\x73\x73\151\147\x6e\155\x65\x6e\164\x73", "\x64\145\x73\x63\x72\151\160\x74\151\157\156\137\62" => "\x55\x73\x65\40\x74\x68\x69\x73\x20\x74\145\155\x70\154\141\x74\145\x20\x74\x6f\x20\x65\156\x61\142\x6c\x65\x20\x50\x72\157\144\x75\x63\x74\40\120\x72\x6f\160\145\162\x74\151\145\x73\40\105\x78\164\145\156\x73\x69\157\156\40\x6d\157\x64\x75\x6c\x65\40\x61\156\x64\x20\x70\154\x75\x67\151\156\163\x20\144\x79\x6e\x61\155\151\143\x20\142\x65\x68\141\x76\x69\157\162\x20\x66\157\x72\x20\x72\x65\147\165\x6c\x61\162\x20\160\162\157\x64\x75\x63\164\163\40\167\x69\x74\x68\x20\x6e\x6f\40\x73\160\x65\143\x69\x66\151\x63\x20\141\163\x73\x69\x67\x6e\155\145\x6e\164\163"), array("\151\x64\x5f\x70\160\137\164\x65\x6d\160\154\x61\x74\x65" => 2, "\x6e\x61\x6d\145" => "\161\x75\141\x6e\164\151\x74\x79\x20\x69\156\x20\160\151\x65\143\145\163", "\x64\145\x73\143\162\x69\160\164\x69\157\x6e\137\x31" => "\x50\x72\x6f\x64\x75\143\x74\40\163\x6f\x6c\x64\40\151\x6e\x20\160\x69\x65\143\145\x73\54\x20\x70\x72\x69\143\x65\x20\141\x73\x20\163\x70\x65\143\151\x66\151\145\144", "\144\x65\163\143\162\151\x70\164\x69\x6f\156\137\62" => "\x50\x72\157\x64\165\143\x74\x20\x73\157\x6c\x64\40\151\x6e\40\160\151\145\143\145\163\54\40\x70\162\151\x63\x65\40\x61\x73\40\x73\x70\x65\x63\x69\x66\151\145\x64"), array("\x69\144\x5f\x70\160\137\x74\145\x6d\160\x6c\141\x74\x65" => 3, "\156\141\155\145" => "\x71\x75\x61\x6e\164\x69\164\171\40\x69\x6e\x20\167\150\157\154\145\x20\165\x6e\151\164\163\54\40\x73\157\154\144\40\x62\x79\x20\167\145\x69\147\150\x74", "\144\x65\x73\x63\x72\x69\160\164\x69\157\156\x5f\x31" => "\x50\162\x6f\144\165\x63\164\40\x73\x6f\x6c\x64\40\142\x79\40\167\x65\x69\x67\x68\x74\40\167\x69\x74\150\40\161\165\141\x6e\164\151\164\x79\x20\x69\156\x20\167\x68\x6f\154\x65\40\x75\156\151\x74\163\54\x20\x61\x70\160\162\157\x78\151\x6d\141\x74\145\40\161\x75\141\156\x74\x69\x74\x79\40\x61\156\144\40\160\162\151\143\145\x20\50\164\150\x65\40\145\x78\x61\143\164\x20\x71\x75\x61\x6e\164\151\x74\171\40\x63\141\156\156\x6f\x74\x20\142\145\x20\157\162\144\x65\162\145\144\x29", "\144\x65\163\143\x72\x69\x70\x74\x69\x6f\156\137\x32" => "\x50\x72\x6f\144\165\143\x74\x20\163\157\x6c\x64\x20\x62\x79\40\x77\145\151\x67\x68\x74\x20\x77\151\x74\150\x20\x71\x75\141\156\164\x69\164\x79\40\151\x6e\40\x70\151\x65\143\x65\x73\x2c\x20\x61\160\160\162\x6f\170\151\155\x61\x74\145\x20\161\x75\141\156\x74\x69\x74\171\40\x61\156\144\x20\160\x72\151\x63\145\x20\x28\164\x68\145\x20\x65\x78\141\143\x74\40\161\165\x61\156\x74\x69\x74\x79\x20\143\141\x6e\x6e\x6f\164\x20\x62\x65\40\157\162\x64\145\x72\x65\x64\x29"), array("\x69\x64\137\160\160\x5f\164\x65\x6d\160\x6c\x61\164\x65" => 4, "\156\141\x6d\145" => "\142\x79\40\x77\x65\x69\x67\150\x74", "\144\145\163\143\162\151\x70\164\x69\157\x6e\x5f\x31" => "\x50\x72\157\x64\x75\143\164\40\163\x6f\154\144\40\142\x79\x20\167\145\x69\147\x68\164\x2c\40\x70\x72\x69\143\x65\40\x61\163\x20\163\x70\x65\x63\151\146\151\x65\x64\x20\50\145\x78\x61\143\164\40\x77\x65\x69\x67\150\164\40\143\x61\156\x20\142\145\x20\x6f\162\x64\x65\x72\145\144\x29", "\144\145\x73\143\x72\151\160\164\151\157\156\x5f\x32" => "\x50\x72\157\144\x75\x63\x74\40\163\157\x6c\144\40\142\171\x20\167\145\x69\147\x68\x74\54\x20\160\162\x69\x63\145\x20\141\163\40\163\160\145\143\x69\146\x69\145\x64\x20\x28\x65\x78\141\143\164\40\167\145\151\x67\x68\164\x20\143\141\156\40\142\x65\40\x6f\x72\144\x65\x72\x65\144\x29"), array("\x69\144\x5f\160\160\137\164\x65\x6d\x70\154\x61\x74\x65" => 5, "\x6e\141\x6d\145" => "\x62\171\40\x77\x65\x69\147\x68\164\54\40\141\160\160\x72\x6f\170\151\155\141\x74\x65\40\161\165\x61\x6e\x74\151\x74\x79", "\x64\145\x73\143\x72\151\x70\x74\x69\157\x6e\137\61" => "\120\162\x6f\144\165\x63\x74\x20\x73\157\154\x64\40\142\171\40\x77\x65\x69\x67\x68\x74\x2c\40\141\160\x70\x72\x6f\170\151\x6d\x61\x74\145\x20\x71\165\141\x6e\x74\x69\x74\171\40\x61\156\144\x20\x70\x72\151\x63\145\x20\x28\145\170\x61\x63\164\x20\167\145\x69\x67\150\164\x20\143\x61\156\156\x6f\x74\40\x62\x65\40\157\162\144\x65\162\145\x64\x29", "\x64\145\163\x63\x72\x69\x70\164\151\157\156\x5f\x32" => "\x50\162\157\x64\165\x63\x74\x20\163\157\x6c\x64\40\142\x79\x20\167\x65\x69\x67\x68\164\x2c\40\141\160\x70\x72\157\170\x69\x6d\141\x74\145\40\x71\x75\141\x6e\x74\151\x74\x79\x20\141\x6e\x64\40\160\x72\151\143\x65\x20\50\145\x78\141\x63\x74\40\x77\x65\151\147\150\x74\x20\143\141\156\x6e\157\x74\40\142\x65\40\x6f\162\x64\145\x72\145\x64\51"), array("\x69\x64\137\x70\160\137\164\145\x6d\160\x6c\141\x74\145" => 6, "\x6e\x61\155\145" => "\x62\x79\40\167\145\x69\x67\x68\x74\x2c\40\160\x72\x69\143\145\x20\x70\x65\162\40\x31\x30\60\x20\147", "\x64\x65\x73\x63\x72\x69\160\x74\x69\157\x6e\137\x31" => "\x50\x72\157\144\165\x63\164\40\x73\157\x6c\x64\40\142\x79\x20\167\145\x69\x67\150\x74\40\50\167\x69\x74\x68\40\x75\156\x69\x74\40\x70\162\x69\x63\145\x29", "\x64\145\163\x63\162\151\x70\164\x69\157\156\137\x32" => "\120\162\157\x64\165\143\164\x20\x73\157\154\144\x20\x62\x79\40\167\145\x69\147\x68\164\x20\x28\x77\151\164\x68\x20\165\156\151\x74\40\160\162\x69\143\145\x29"), array("\151\144\137\x70\160\137\x74\145\x6d\x70\154\x61\x74\x65" => 7, "\156\x61\x6d\x65" => "\x62\x79\x20\154\x65\x6e\147\x74\x68\40\50\x77\150\157\x6c\x65\x20\165\x6e\151\x74\163\51", "\x64\145\163\x63\162\x69\160\x74\x69\x6f\x6e\x5f\x31" => "\x50\162\157\x64\x75\x63\x74\x20\x73\x6f\154\x64\40\142\171\40\x6c\145\x6e\x67\x74\150\x20\x69\x6e\x20\167\x68\x6f\154\145\x20\x75\156\151\x74\x73", "\144\145\163\x63\162\151\160\x74\x69\x6f\156\137\62" => "\120\162\x6f\x64\x75\143\x74\x20\x73\157\x6c\x64\40\142\x79\40\154\x65\156\147\x74\150\40\x69\x6e\40\167\x68\x6f\154\x65\x20\165\x6e\151\x74\163"), array("\151\144\137\x70\160\x5f\x74\x65\x6d\160\154\141\x74\x65" => 8, "\156\141\155\x65" => "\x62\x79\x20\x6c\x65\156\x67\164\150\40\50\146\162\141\143\x74\x69\x6f\x6e\141\154\40\165\156\151\x74\163\x29", "\x64\x65\x73\143\162\151\160\x74\x69\x6f\x6e\137\61" => "\x50\x72\157\x64\165\143\x74\40\163\157\154\144\40\142\x79\x20\154\145\156\147\x74\x68\x20\x69\156\x20\x6d\145\x74\145\162\163", "\x64\x65\x73\x63\x72\151\160\x74\151\x6f\x6e\x5f\x32" => "\x50\162\157\x64\x75\143\x74\40\x73\x6f\x6c\144\x20\142\171\x20\154\x65\156\147\164\150\40\x69\x6e\x20\x66\x65\145\x74"), array("\x69\x64\137\x70\160\x5f\164\x65\155\160\154\141\x74\x65" => 9, "\156\141\155\145" => "\142\171\40\x6c\x65\156\147\x74\150\x20\50\x79\x61\x72\x64\163\51", "\x64\145\163\x63\x72\x69\x70\164\x69\157\x6e\137\x31" => "\120\x72\x6f\144\x75\x63\x74\40\163\x6f\x6c\144\x20\x62\171\x20\154\145\156\x67\164\150\x20\151\x6e\40\171\141\162\144\x73", "\x64\145\163\143\162\x69\160\164\151\157\156\x5f\x32" => "\x50\x72\x6f\144\x75\x63\164\x20\163\157\154\144\x20\142\171\40\x6c\x65\x6e\x67\164\x68\40\x69\156\x20\x79\x61\162\144\x73"), array("\x69\144\x5f\x70\x70\x5f\x74\145\x6d\160\x6c\x61\x74\x65" => 10, "\156\x61\x6d\145" => "\x62\x79\40\x6c\145\x6e\x67\x74\x68\x20\x28\141\x72\145\x61\51", "\144\145\163\143\162\151\160\x74\x69\x6f\156\x5f\61" => "\120\x72\x6f\144\x75\x63\x74\40\x75\163\145\x73\40\x6d\165\154\x74\151\144\x69\x6d\145\x6e\163\151\x6f\156\x61\x6c\x20\146\x65\x61\x74\165\162\x65\x20\50\x68\x65\151\x67\x68\x74\x20\170\x20\167\x69\144\x74\150\51", "\144\x65\x73\143\162\x69\160\x74\x69\157\156\x5f\x32" => "\120\x72\157\144\165\143\164\40\x75\163\x65\163\x20\155\165\x6c\164\151\144\151\155\145\x6e\163\x69\x6f\x6e\x61\x6c\40\146\145\141\x74\x75\x72\145\x20\x28\x68\145\x69\x67\x68\164\x20\x78\40\x77\151\144\164\150\x29"), array("\x69\x64\x5f\x70\160\137\164\145\x6d\x70\x6c\x61\164\145" => 11, "\156\141\155\x65" => "\x62\171\x20\x6c\145\156\147\x74\150\x20\x28\160\145\x72\x69\x6d\145\164\145\x72\x29", "\x64\145\x73\143\162\151\x70\164\151\x6f\x6e\x5f\61" => "\x50\162\x6f\x64\165\143\x74\40\165\163\x65\x73\40\155\x75\154\164\151\144\x69\155\145\156\163\151\x6f\156\x61\154\40\146\145\141\x74\165\x72\x65\x20\50\x68\145\151\147\150\x74\40\53\40\x77\x69\x64\x74\150\51", "\x64\145\163\143\x72\x69\x70\164\151\157\156\x5f\62" => "\x50\162\x6f\x64\165\143\164\x20\165\163\145\x73\x20\155\x75\x6c\164\151\144\x69\155\145\156\x73\151\157\156\x61\154\40\146\x65\141\x74\x75\162\x65\40\50\x68\x65\x69\x67\x68\x74\40\x2b\40\167\x69\x64\164\150\x29")); self::dbInsertLang("\x70\160\x5f\164\x65\x6d\160\154\141\x74\145\137\154\x61\156\147", $Pcc5w, $HfcTD); $Pcc5w = array(array("\x69\144\137\160\160\137\x70\162\157\x70\145\x72\164\171" => 1, "\x74\x65\170\164\x5f\61" => "\x70\143", "\x74\x65\x78\x74\x5f\62" => "\160\x63"), array("\x69\144\137\160\x70\137\160\x72\x6f\x70\x65\x72\x74\171" => 2, "\164\x65\170\x74\x5f\61" => "\160\143\163", "\x74\x65\x78\164\137\62" => "\160\x63\163"), array("\151\144\137\x70\x70\x5f\160\x72\x6f\x70\x65\162\164\171" => 3, "\x74\x65\x78\164\x5f\61" => "\x70\145\x72\40\x70\143", "\x74\145\170\x74\137\62" => "\160\145\x72\x20\160\x63"), array("\151\144\x5f\x70\x70\x5f\160\x72\157\160\145\x72\x74\x79" => 4, "\x74\145\x78\x74\x5f\x31" => "\x69\x74\x65\155", "\164\x65\170\164\137\62" => "\151\164\145\x6d"), array("\151\x64\x5f\x70\160\137\160\x72\x6f\x70\145\x72\x74\171" => 5, "\164\x65\170\164\x5f\x31" => "\151\164\145\x6d\163", "\164\x65\170\164\137\x32" => "\151\164\145\155\x73"), array("\151\x64\x5f\160\x70\x5f\160\x72\x6f\x70\x65\162\x74\171" => 6, "\164\x65\x78\x74\137\61" => "\x70\145\x72\40\x69\x74\145\x6d", "\164\145\x78\x74\x5f\x32" => "\160\145\x72\x20\151\x74\145\x6d"), array("\x69\x64\x5f\x70\x70\137\x70\x72\157\x70\145\x72\x74\x79" => 7, "\x74\x65\x78\164\x5f\x31" => "\160\x61\143\153", "\x74\x65\x78\x74\137\62" => "\160\x61\x63\153"), array("\151\144\x5f\x70\x70\x5f\x70\162\x6f\160\145\162\x74\171" => 8, "\164\145\170\164\x5f\61" => "\160\x61\143\153\163", "\164\x65\x78\x74\137\x32" => "\x70\x61\x63\153\x73"), array("\x69\x64\x5f\160\160\x5f\160\x72\157\x70\145\x72\164\171" => 9, "\164\x65\x78\164\x5f\x31" => "\160\x65\x72\40\x70\x61\143\153", "\164\x65\x78\x74\137\62" => "\x70\145\x72\40\x70\x61\x63\x6b"), array("\x69\x64\x5f\160\160\x5f\x70\x72\157\x70\145\162\x74\171" => 10, "\164\x65\x78\x74\137\x31" => "\x6b\147", "\164\x65\170\x74\137\62" => "\154\142"), array("\x69\144\x5f\160\160\137\160\162\157\160\145\x72\164\171" => 11, "\x74\x65\170\164\x5f\x31" => "\160\145\x72\x20\x6b\x67", "\164\145\170\x74\137\62" => "\160\x65\162\40\154\142"), array("\x69\x64\137\x70\160\x5f\160\x72\157\160\x65\x72\164\171" => 12, "\164\x65\x78\164\137\x31" => "\x70\145\x72\40\x31\60\x30\x20\147", "\x74\145\170\164\x5f\62" => "\x70\145\x72\40\61\60\x30\x20\147"), array("\151\x64\137\x70\x70\x5f\x70\162\x6f\x70\x65\162\164\x79" => 13, "\x74\x65\x78\x74\137\61" => "\147\x72\x61\x6d", "\164\x65\x78\x74\x5f\x32" => "\x6f\172"), array("\151\144\x5f\x70\160\137\x70\162\x6f\160\145\x72\164\171" => 14, "\164\145\x78\164\x5f\61" => "\x70\x65\x72\x20\x67\x72\x61\x6d", "\164\145\x78\164\137\x32" => "\160\145\x72\40\157\172"), array("\151\x64\137\x70\160\x5f\x70\x72\x6f\160\145\162\164\x79" => 15, "\x74\x65\x78\x74\137\x31" => "\155", "\x74\145\x78\x74\x5f\62" => "\146\164"), array("\151\x64\x5f\x70\x70\137\x70\x72\157\160\145\162\164\171" => 16, "\x74\145\x78\164\x5f\x31" => "\x70\x65\x72\x20\x6d", "\x74\145\170\164\x5f\62" => "\x70\145\162\x20\x66\x74"), array("\x69\144\x5f\160\160\x5f\x70\x72\157\x70\145\162\x74\x79" => 17, "\x74\145\x78\x74\137\x31" => "\x6d\x3c\163\x75\160\x3e\62\74\x2f\x73\x75\x70\x3e", "\164\145\170\164\x5f\x32" => "\x66\164\74\x73\165\160\x3e\x32\74\x2f\163\165\x70\x3e"), array("\151\144\x5f\160\x70\137\160\x72\x6f\x70\x65\162\164\171" => 18, "\x74\x65\170\164\x5f\x31" => "\160\145\162\40\x6d\74\163\x75\160\x3e\62\74\57\x73\165\x70\76", "\x74\145\170\x74\137\62" => "\x70\x65\162\x20\x66\164\74\x73\165\x70\76\62\74\x2f\163\x75\x70\x3e"), array("\x69\x64\137\x70\x70\x5f\160\x72\157\x70\x65\x72\164\171" => 19, "\x74\145\x78\164\x5f\61" => "\171\144", "\x74\145\x78\x74\137\62" => "\171\144"), array("\x69\x64\x5f\x70\x70\137\160\x72\x6f\160\x65\162\164\171" => 20, "\164\x65\x78\164\137\61" => "\160\x65\x72\x20\171\144", "\164\145\x78\x74\137\62" => "\160\145\162\x20\x79\x64"), array("\151\x64\137\x70\160\x5f\160\x72\x6f\160\x65\162\x74\171" => 21, "\164\145\x78\x74\137\x31" => "\143\x6d", "\x74\x65\x78\164\137\62" => "\x69\156\x63\x68"), array("\151\144\137\160\160\137\160\x72\x6f\x70\x65\x72\164\171" => 22, "\164\145\170\164\x5f\61" => "\160\x65\x72\40\143\x6d", "\164\145\170\x74\x5f\62" => "\x70\x65\x72\40\x69\x6e\x63\x68"), array("\151\x64\137\x70\160\x5f\x70\162\x6f\160\x65\x72\x74\171" => 23, "\x74\x65\170\x74\x5f\x31" => "\143\155\x3c\x73\165\160\76\62\74\x2f\x73\x75\x70\76", "\x74\x65\170\164\x5f\62" => "\x69\x6e\x63\x68\x3c\x73\x75\160\x3e\x32\74\x2f\163\165\x70\76"), array("\151\x64\x5f\160\160\137\160\162\157\x70\145\x72\164\x79" => 24, "\x74\145\x78\x74\137\x31" => "\x70\145\162\40\x63\x6d\74\x73\x75\x70\76\62\x3c\x2f\x73\x75\160\x3e", "\x74\x65\170\164\x5f\62" => "\x70\145\x72\x20\151\x6e\143\150\74\163\x75\x70\x3e\62\x3c\57\x73\x75\x70\76"), array("\151\x64\x5f\x70\160\x5f\160\162\x6f\x70\145\x72\x74\x79" => 25, "\x74\x65\170\164\137\x31" => "\x6d\x6d", "\164\145\170\164\137\62" => "\x69\156\143\x68"), array("\x69\x64\137\160\160\x5f\x70\x72\157\x70\x65\162\164\171" => 26, "\164\x65\170\164\137\61" => "\x70\x65\x72\x20\155\x6d", "\164\145\x78\x74\x5f\x32" => "\x70\x65\x72\40\151\x6e\x63\x68"), array("\151\144\137\x70\160\137\x70\162\157\160\145\162\x74\171" => 27, "\x74\145\170\x74\x5f\x31" => "\155\x6d\x3c\163\165\x70\x3e\x32\74\x2f\x73\165\x70\x3e", "\164\145\170\164\137\62" => "\151\156\x63\150\74\163\165\160\x3e\62\x3c\x2f\163\x75\160\76"), array("\x69\x64\x5f\x70\160\137\160\162\x6f\160\x65\x72\164\171" => 28, "\164\145\170\x74\x5f\x31" => "\x70\145\162\x20\155\155\x3c\x73\x75\x70\x3e\62\x3c\57\x73\x75\x70\x3e", "\164\x65\x78\x74\137\62" => "\160\x65\162\x20\151\156\143\x68\74\x73\165\160\x3e\x32\74\57\163\x75\160\x3e"), array("\151\x64\x5f\160\160\137\160\x72\x6f\x70\145\162\x74\x79" => 29, "\x74\145\170\164\137\61" => "\160\x61\x63\x6b\x28\x73\x29", "\164\x65\170\164\137\x32" => "\x70\141\x63\153\50\163\x29")); self::dbInsertLang("\x70\x70\x5f\160\x72\x6f\160\145\x72\164\171\137\x6c\x61\x6e\x67", $Pcc5w, $HfcTD); $Wx4Kq = array(); foreach ($Pcc5w as $aP7sw) { $Wx4Kq[] = array("\x69\144\x5f\x70\x70\137\x70\162\157\160\x65\162\x74\x79" => $aP7sw["\151\144\137\160\160\137\x70\x72\157\x70\x65\x72\x74\x79"], "\x74\x79\x70\x65" => PProperties::PROPERTY_TYPE_GENERAL); UF2k1: } dG0mr: self::dbInsert("\x70\x70\137\160\162\157\160\x65\162\164\x79", $Wx4Kq); $Pcc5w = array(array("\x69\x64\137\160\x70\137\x70\x72\x6f\160\145\x72\x74\171" => 50, "\x74\x65\170\164\x5f\61" => "\x50\x72\157\x64\x75\x63\164\40\151\163\x20\x73\x6f\154\x64\40\x62\171\x20\167\145\151\x67\x68\x74\56\40\x54\x68\x65\x20\145\170\141\143\x74\40\x70\162\x69\x63\x65\40\167\x69\x6c\x6c\40\142\145\40\x63\x61\154\x63\165\x6c\141\x74\x65\144\x20\x61\x66\x74\x65\162\40\x74\150\x65\40\160\x72\157\x64\165\x63\164\40\151\x73\x20\167\x65\151\x67\150\164\145\x64\56", "\164\x65\x78\164\x5f\62" => "\120\162\x6f\x64\x75\x63\164\x20\151\163\x20\163\157\x6c\x64\40\142\171\x20\x77\145\151\147\x68\x74\x2e\x20\124\x68\145\x20\x65\x78\x61\143\x74\40\160\x72\151\143\145\x20\167\x69\x6c\154\40\142\145\x20\143\x61\154\143\x75\154\141\164\x65\x64\40\141\x66\164\x65\162\x20\164\x68\145\x20\x70\x72\x6f\x64\x75\143\164\40\151\x73\40\x77\145\x69\x67\x68\x74\145\144\56"), array("\x69\x64\x5f\x70\160\x5f\x70\x72\157\160\145\x72\164\x79" => 51, "\164\145\170\164\137\x31" => "\120\162\x6f\144\x75\x63\x74\40\151\163\x20\157\x72\x64\x65\162\145\x64\40\151\156\40\151\x74\x65\155\x73\40\142\165\x74\x20\163\157\154\144\40\142\x79\40\x77\x65\x69\147\x68\164\x2e\x20\x54\150\x65\40\145\x78\141\x63\x74\40\160\x72\x69\143\145\x20\167\x69\x6c\154\x20\x62\145\40\143\141\x6c\143\x75\x6c\141\x74\x65\x64\40\x61\146\164\145\162\40\164\x68\145\x20\160\162\x6f\144\165\x63\x74\x20\x69\x73\40\167\145\151\147\x68\164\x65\x64\56", "\164\145\x78\x74\137\x32" => "\120\162\157\x64\x75\x63\x74\x20\x69\x73\40\x6f\162\x64\145\162\x65\144\40\x69\156\40\x69\164\x65\155\163\40\x62\165\x74\40\x73\157\154\x64\x20\142\x79\40\x77\145\151\x67\150\x74\56\x20\x54\150\x65\x20\x65\x78\x61\143\x74\40\x70\162\x69\x63\145\x20\x77\151\154\154\x20\142\145\40\x63\141\154\143\x75\x6c\141\x74\x65\x64\x20\x61\146\164\x65\162\x20\x74\150\145\40\x70\162\x6f\144\165\143\164\x20\151\x73\40\167\145\x69\147\x68\164\145\x64\56"), array("\x69\144\137\160\160\137\160\x72\x6f\x70\x65\x72\164\x79" => 52, "\x74\x65\x78\x74\137\61" => "\x4f\x72\144\x65\162\x69\x6e\x67\x20\160\x61\x72\164\x20\x6f\x66\40\153\x67\40\151\x73\x20\x61\x6c\154\157\167\145\x64\x2e", "\164\145\x78\x74\137\x32" => "\117\x72\144\x65\162\151\156\147\40\x70\x61\162\164\40\157\x66\40\x6c\x62\x20\151\x73\x20\x61\154\x6c\x6f\167\145\144\x2e"), array("\151\x64\x5f\x70\160\x5f\160\162\x6f\x70\x65\x72\164\171" => 53, "\164\x65\x78\x74\137\x31" => "\117\x72\x64\145\162\151\156\147\x20\156\157\164\x20\x77\x68\x6f\x6c\x65\x20\x6e\x75\155\142\145\x72\x20\157\146\x20\155\145\164\x65\x72\163\40\x69\163\x20\141\154\154\x6f\167\145\144\56", "\164\145\x78\x74\x5f\62" => "\117\x72\x64\145\x72\151\156\147\40\156\157\164\x20\167\x68\x6f\154\x65\x20\156\x75\x6d\x62\145\162\40\x6f\146\40\146\164\40\151\163\40\x61\x6c\x6c\x6f\x77\145\144\56"), array("\x69\144\137\x70\160\x5f\160\162\157\x70\145\x72\164\x79" => 54, "\164\x65\x78\164\137\x31" => "\x3c\144\151\166\76\164\157\x20\163\x70\x65\143\151\146\171\40\160\141\162\x74\40\157\x66\x20\x61\40\171\x61\x72\144\40\165\163\x65\72\x3c\x2f\144\151\x76\76\x3c\160\162\x65\76\60\56\60\x36\62\65\40\x66\157\x72\x20\x31\x2f\61\x36\x20\x79\x61\x72\144\x73\74\x62\162\x3e\x30\x2e\61\x32\x35\40\x20\x66\157\x72\x20\40\61\x2f\70\40\x79\x61\162\144\163\x3c\142\162\x3e\x30\x2e\62\65\40\40\x20\146\x6f\162\x20\x20\x31\57\64\x20\x79\x61\x72\144\163\74\142\162\76\60\56\x35\x20\40\x20\x20\146\x6f\x72\x20\40\61\x2f\62\40\171\x61\x72\x64\163\74\x62\x72\x3e\60\x2e\x37\x35\x20\40\x20\146\x6f\162\x20\x20\x33\57\64\40\171\x61\x72\x64\x73\x3c\57\x70\x72\145\76", "\x74\x65\170\x74\137\x32" => "\74\x64\151\x76\x3e\164\x6f\x20\163\160\145\x63\x69\146\x79\x20\x70\x61\162\x74\40\x6f\x66\x20\141\40\171\141\x72\x64\40\x75\163\145\72\74\57\144\x69\x76\76\74\160\162\145\76\60\x2e\60\66\62\65\x20\x66\x6f\x72\x20\x31\x2f\x31\66\40\x79\x61\162\x64\163\74\x62\x72\x3e\60\x2e\61\62\65\x20\x20\x66\x6f\162\40\x20\61\57\70\x20\171\x61\x72\x64\x73\74\x62\x72\76\x30\x2e\x32\x35\40\x20\x20\146\157\x72\40\x20\x31\x2f\64\x20\171\x61\x72\x64\163\x3c\142\x72\76\x30\56\65\x20\40\x20\x20\x66\157\x72\x20\x20\61\57\62\40\x79\141\162\x64\163\74\142\162\76\x30\x2e\x37\65\40\40\x20\x66\157\x72\40\x20\x33\x2f\64\x20\171\x61\162\x64\x73\x3c\x2f\160\162\x65\x3e"), array("\151\x64\x5f\160\160\137\160\162\157\160\x65\162\x74\171" => 55, "\x74\x65\x78\164\x5f\x31" => "\131\x6f\165\40\143\141\156\40\157\x72\144\145\x72\x20\160\141\x72\164\x20\x6f\x66\x20\x74\x68\145\40\x6d\145\x74\145\x72\x2e", "\x74\x65\x78\164\137\x32" => ''), array("\x69\x64\x5f\x70\160\137\160\x72\157\x70\x65\162\x74\x79" => 56, "\164\145\170\x74\137\61" => "\x59\157\x75\x20\143\x61\156\x6e\157\164\40\x6f\x72\x64\x65\162\40\x6c\x65\163\x73\40\x74\x68\141\x6e\40\173\x4d\111\x4e\x7d\56", "\164\145\170\164\137\62" => "\131\157\x75\x20\143\141\x6e\156\157\164\40\x6f\162\144\145\x72\40\x6c\145\x73\163\x20\164\x68\x61\156\x20\173\x4d\111\x4e\x7d\56"), array("\151\144\x5f\x70\160\137\x70\x72\157\x70\145\162\164\171" => 57, "\x74\145\170\x74\x5f\x31" => "\131\x6f\x75\40\x63\x61\156\156\157\x74\40\157\x72\x64\145\162\40\155\x6f\162\x65\x20\164\150\x61\156\x20\x7b\115\x41\x58\175\56", "\x74\145\x78\x74\x5f\62" => "\131\x6f\165\40\143\x61\156\x6e\157\x74\x20\x6f\x72\144\x65\162\x20\x6d\157\162\145\x20\164\x68\141\x6e\40\173\115\x41\x58\x7d\x2e"), array("\151\144\x5f\x70\x70\137\x70\x72\x6f\x70\145\162\164\x79" => 58, "\x74\145\x78\164\137\x31" => "\x45\x6e\x74\x65\x72\x20\x79\x6f\165\x72\40\143\x6f\x6d\155\x65\x6e\x74\40\x28\x6f\160\164\151\157\x6e\141\154\x29", "\164\145\170\x74\137\x32" => "\105\156\x74\145\162\x20\171\157\x75\x72\40\143\157\x6d\x6d\x65\156\164\x20\x28\157\x70\x74\151\x6f\156\141\154\x29")); self::dbInsertLang("\160\160\137\160\162\x6f\160\145\162\x74\x79\137\x6c\x61\x6e\147", $Pcc5w, $HfcTD); $Wx4Kq = array(); foreach ($Pcc5w as $aP7sw) { $Wx4Kq[] = array("\x69\x64\x5f\x70\x70\x5f\160\x72\157\160\x65\x72\164\x79" => $aP7sw["\151\x64\137\x70\x70\137\160\x72\157\x70\x65\x72\x74\171"], "\x74\171\x70\145" => PProperties::PROPERTY_TYPE_BLOCK_TEXT); YI2OH: } DgPZR: self::dbInsert("\x70\160\137\160\x72\157\x70\x65\162\164\x79", $Wx4Kq); $Pcc5w = array(array("\151\x64\137\x70\160\x5f\x70\162\157\x70\145\x72\x74\x79" => 70, "\164\x65\x78\x74\137\61" => "\144\151\x6d\x65\156\163\151\x6f\x6e\163", "\x74\x65\x78\x74\x5f\x32" => "\x64\x69\x6d\x65\x6e\163\151\157\156\x73"), array("\x69\x64\137\x70\160\x5f\x70\x72\157\160\145\162\164\x79" => 71, "\x74\145\170\x74\137\61" => "\154\145\156\147\x74\x68\72", "\164\145\170\164\137\62" => "\154\x65\156\x67\164\150\72"), array("\x69\x64\x5f\x70\x70\x5f\160\162\x6f\160\145\x72\164\171" => 72, "\164\145\170\164\x5f\x31" => "\x77\x69\144\164\150\72", "\x74\x65\x78\164\137\x32" => "\167\151\144\164\150\x3a"), array("\151\x64\137\x70\160\x5f\160\162\157\x70\145\162\x74\x79" => 73, "\164\x65\x78\x74\x5f\61" => "\150\145\x69\147\150\164\72", "\164\x65\x78\x74\x5f\62" => "\x68\x65\151\x67\150\164"), array("\x69\x64\x5f\160\x70\137\x70\x72\x6f\x70\x65\162\164\x79" => 74, "\164\x65\x78\164\137\61" => "\x64\x65\x70\164\150\x3a", "\x74\145\170\164\x5f\62" => "\x64\x65\x70\x74\150\72"), array("\151\144\137\x70\160\137\x70\162\157\160\145\x72\x74\171" => 75, "\x74\x65\170\x74\137\61" => "\163\x71\x75\x61\162\x65\72", "\x74\x65\x78\164\137\62" => "\x73\x71\165\x61\162\145\72"), array("\151\144\x5f\x70\160\x5f\160\x72\x6f\x70\145\x72\x74\x79" => 76, "\164\145\x78\164\x5f\x31" => "\x70\x65\x72\x69\x6d\x65\x74\145\x72\x3a", "\164\145\x78\164\x5f\62" => "\x70\x65\162\151\155\x65\164\145\162\72"), array("\x69\144\x5f\160\x70\x5f\160\x72\x6f\160\x65\162\x74\x79" => 77, "\164\x65\x78\164\x5f\61" => "\x77\x65\151\147\x68\164\x3a", "\164\x65\x78\164\137\62" => "\167\145\151\147\x68\164\72"), array("\151\144\137\160\x70\x5f\x70\x72\157\x70\145\x72\164\x79" => 78, "\164\145\170\x74\137\61" => "\123\161\x75\x61\162\145", "\164\145\x78\164\137\62" => "\x53\x71\165\141\162\x65"), array("\151\144\x5f\x70\160\137\160\x72\157\160\145\162\x74\x79" => 79, "\164\x65\x78\x74\x5f\x31" => "\x41\x72\x65\141", "\x74\145\x78\164\137\x32" => "\x41\162\x65\x61"), array("\151\144\x5f\160\160\x5f\x70\162\157\x70\145\162\x74\x79" => 80, "\164\x65\x78\x74\x5f\61" => "\x43\x6f\155\x6d\145\156\x74", "\x74\145\170\x74\x5f\62" => "\x43\157\x6d\155\145\156\164")); self::dbInsertLang("\x70\160\x5f\x70\162\157\x70\145\x72\x74\171\137\x6c\x61\x6e\x67", $Pcc5w, $HfcTD); $Wx4Kq = array(); foreach ($Pcc5w as $aP7sw) { $Wx4Kq[] = array("\x69\144\x5f\x70\160\137\x70\162\157\160\145\x72\164\x79" => $aP7sw["\151\144\x5f\160\160\137\x70\x72\x6f\x70\x65\162\164\171"], "\x74\171\160\x65" => PProperties::PROPERTY_TYPE_EXT); PoCf2: } wNZw5: self::dbInsert("\x70\160\x5f\160\162\157\x70\145\x72\164\x79", $Wx4Kq); $Pcc5w = array(array("\151\x64\137\x70\x70\137\164\145\155\x70\154\141\x74\145" => 10, "\164\x79\x70\145" => 1, "\x6d\145\x74\150\157\x64" => 1, "\164\x69\164\154\145" => 70, "\x70\x72\157\160\x65\x72\164\x79" => 75, "\164\145\x78\x74" => 17, "\145\x78\x70\154\141\156\x61\164\151\157\x6e" => 55, "\155\x69\156\151\x6d\165\x6d\137\x71\165\141\x6e\164\x69\164\171\137\164\145\170\x74" => 56, "\x6d\141\170\151\x6d\x75\155\137\161\x75\x61\x6e\164\x69\164\x79\x5f\x74\145\x78\x74" => 57), array("\151\x64\x5f\x70\x70\x5f\164\x65\x6d\160\x6c\141\164\x65" => 11, "\x74\x79\160\x65" => 1, "\155\x65\164\150\x6f\144" => 2, "\x74\151\x74\x6c\145" => 70, "\160\162\x6f\160\145\x72\x74\171" => 76, "\x74\145\170\x74" => 15)); self::dbInsertTemplateSpecial("\160\160\137\x74\x65\155\160\x6c\141\164\x65\137\145\x78\x74", "\155\145\164\x68\157\x64", $Pcc5w); $Pcc5w = array(array("\151\x64\x5f\x70\x70\137\164\145\155\x70\x6c\x61\x74\x65" => 10, "\x69\144\137\145\170\164\137\160\x72\x6f\160" => 1, "\160\157\163\x69\164\151\157\x6e" => 1, "\x70\162\157\160\145\162\x74\x79" => 71, "\164\x65\170\x74" => 15, "\157\x72\144\145\x72\137\x74\x65\170\164" => 15, "\155\151\156\x69\x6d\x75\x6d\x5f\161\165\141\156\x74\151\164\x79" => 0.1, "\x64\145\146\x61\165\x6c\x74\x5f\x71\x75\141\x6e\x74\x69\164\x79" => 1), array("\x69\x64\x5f\160\x70\x5f\164\145\155\x70\154\x61\x74\145" => 10, "\151\144\x5f\x65\x78\x74\137\160\x72\157\x70" => 2, "\x70\x6f\x73\x69\164\x69\x6f\x6e" => 2, "\x70\162\x6f\160\x65\162\164\x79" => 72, "\x74\145\x78\164" => 15, "\157\x72\144\x65\162\x5f\x74\145\x78\164" => 15, "\x6d\x69\156\151\155\x75\155\x5f\161\x75\x61\x6e\x74\151\x74\171" => 0.1, "\144\145\146\x61\165\x6c\164\x5f\x71\x75\x61\156\x74\x69\164\171" => 0.5), array("\x69\x64\x5f\x70\160\137\164\x65\155\160\154\141\x74\145" => 11, "\x69\x64\x5f\145\x78\164\137\160\x72\157\160" => 1, "\160\157\163\151\164\x69\x6f\x6e" => 1, "\160\x72\157\160\x65\162\x74\x79" => 71, "\x74\x65\x78\164" => 15, "\157\x72\x64\145\162\137\x74\x65\170\164" => 15, "\x6d\x69\156\151\x6d\x75\155\137\161\165\x61\156\164\x69\164\171" => 0.1, "\x64\x65\x66\141\165\x6c\x74\137\x71\x75\141\156\164\x69\x74\171" => 1), array("\x69\144\x5f\160\x70\x5f\164\x65\155\160\x6c\141\164\x65" => 11, "\151\x64\137\145\x78\164\x5f\160\x72\157\x70" => 2, "\x70\x6f\x73\x69\x74\151\x6f\156" => 2, "\x70\x72\x6f\x70\145\162\164\171" => 72, "\164\145\170\x74" => 15, "\157\162\144\x65\162\137\x74\x65\x78\164" => 15, "\x6d\x69\x6e\x69\155\x75\x6d\x5f\161\165\141\x6e\x74\151\164\171" => 0.1, "\x64\x65\146\141\165\x6c\x74\x5f\161\165\141\156\x74\x69\164\171" => 0.5)); self::dbInsertTemplateSpecial("\160\x70\x5f\x74\145\x6d\x70\154\141\164\x65\x5f\x65\170\x74\x5f\160\x72\x6f\160", "\160\157\163\x69\164\151\157\x6e", $Pcc5w); } protected function dbData() { $cblyO = array(); $cblyO[] = array("\146\165\x6e\x63" => array($this, "\x63\x68\145\143\x6b\103\x61\162\164\x50\x72\x6f\144\165\143\x74\x50\x72\x69\155\x61\x72\x79\x4b\x65\171")); $cblyO[] = array("\146\165\x6e\x63" => array($this, "\146\x75\156\x63\164\x69\157\156\x54\162\x75\x65"), "\163\161\154" => "\101\x4c\124\x45\122\x20\124\101\x42\x4c\x45\40" . _DB_PREFIX_ . "\x73\160\145\x63\x69\146\x69\143\x5f\x70\x72\151\143\x65\x20\103\110\101\x4e\x47\105\40\x66\162\157\155\x5f\x71\165\x61\156\x74\x69\x74\x79\40\146\162\x6f\x6d\x5f\x71\165\141\x6e\164\151\164\x79\x20\144\x65\143\151\155\141\154\50\62\60\54\x36\x29\40\x4e\117\124\40\x4e\125\114\114\40\104\105\106\x41\125\x4c\124\x20\60\56\60\x30\x30\x30\60\60"); $cblyO[] = array("\146\165\x6e\143" => array($this, "\146\x75\x6e\143\x74\x69\x6f\156\124\x72\x75\145"), "\x73\161\154" => "\101\114\124\105\122\40\124\x41\x42\x4c\105\x20" . _DB_PREFIX_ . "\x6f\162\144\145\162\137\x64\x65\x74\141\x69\154\x20\x43\110\x41\116\x47\x45\x20\160\x72\x6f\144\165\143\164\x5f\x71\x75\x61\x6e\x74\151\x74\171\137\151\x6e\x5f\163\x74\157\x63\x6b\40\x70\162\157\144\x75\143\x74\x5f\161\x75\141\x6e\x74\x69\164\171\x5f\151\156\137\163\x74\x6f\x63\153\40\144\x65\143\x69\x6d\x61\154\50\x32\x30\54\66\51\x20\x4e\x4f\124\x20\116\125\114\114\40\104\105\x46\x41\x55\x4c\x54\x20\60\56\60\x30\x30\60\60\x30"); $cblyO[] = array("\146\165\x6e\x63" => array($this, "\x66\x75\x6e\143\x74\151\x6f\x6e\x54\162\165\x65"), "\163\161\154" => "\101\114\124\x45\x52\40\x54\x41\102\x4c\105\40" . _DB_PREFIX_ . "\157\x72\144\145\x72\x5f\144\145\x74\141\151\154\40\103\110\x41\116\x47\105\40\x70\x72\157\144\165\143\x74\137\x71\165\x61\156\164\x69\164\171\137\x72\145\164\x75\162\156\x20\x70\x72\157\x64\x75\143\164\137\x71\165\x61\x6e\x74\151\164\x79\137\x72\x65\x74\165\x72\x6e\x20\x64\145\143\151\155\x61\x6c\50\x32\x30\x2c\x36\x29\40\116\x4f\124\x20\x4e\125\x4c\x4c\40\x44\105\x46\x41\125\x4c\x54\40\x30\56\60\60\60\x30\x30\x30"); $cblyO[] = array("\146\165\x6e\x63" => array($this, "\146\x75\156\143\x74\151\157\156\x54\x72\x75\145"), "\x73\x71\154" => "\x41\x4c\x54\105\x52\40\x54\101\x42\114\x45\40" . _DB_PREFIX_ . "\x6f\x72\144\x65\162\137\144\x65\164\141\151\x6c\40\x43\x48\101\x4e\107\x45\x20\160\x72\x6f\144\165\x63\x74\x5f\161\165\141\156\x74\x69\164\x79\137\x72\x65\x66\165\x6e\x64\x65\144\x20\160\162\157\144\x75\143\x74\137\x71\x75\x61\156\x74\151\164\x79\x5f\x72\x65\x66\x75\x6e\144\x65\x64\40\144\145\x63\151\155\x61\x6c\x28\x32\60\54\66\51\x20\116\x4f\x54\40\x4e\x55\114\114\x20\104\105\106\x41\125\x4c\x54\x20\x30\x2e\60\x30\x30\60\60\60"); $cblyO[] = array("\146\x75\156\x63" => array($this, "\x66\x75\x6e\x63\164\x69\x6f\x6e\124\162\x75\x65"), "\x73\161\154" => "\101\x4c\124\x45\122\x20\124\x41\x42\x4c\105\x20" . _DB_PREFIX_ . "\x6f\162\144\x65\162\x5f\x64\145\x74\141\x69\x6c\40\x43\110\x41\116\x47\105\x20\160\162\157\144\165\x63\x74\137\x71\x75\x61\x6e\x74\x69\x74\171\x5f\x72\145\151\x6e\x6a\x65\x63\164\145\x64\40\x70\162\157\144\165\143\x74\x5f\161\165\141\x6e\x74\151\x74\171\137\x72\145\151\x6e\152\145\x63\x74\x65\144\x20\144\x65\143\x69\x6d\x61\154\50\62\x30\x2c\66\51\40\x4e\117\x54\x20\x4e\x55\114\114\x20\104\x45\106\x41\125\114\x54\40\x30\x2e\60\60\60\x30\60\60"); $cblyO[] = array("\x66\165\156\143" => array($this, "\146\165\156\143\x74\151\x6f\x6e\124\162\165\145"), "\x73\161\x6c" => "\101\114\124\x45\x52\x20\x54\x41\x42\114\x45\40" . _DB_PREFIX_ . "\x6f\x72\x64\145\x72\x5f\163\154\x69\160\137\x64\x65\x74\x61\x69\x6c\x20\103\x48\x41\x4e\107\105\x20\x70\x72\157\x64\x75\x63\164\x5f\x71\165\141\x6e\164\x69\164\x79\x20\160\162\x6f\x64\x75\143\164\x5f\161\x75\141\156\164\x69\164\x79\40\144\145\x63\x69\155\141\x6c\50\62\60\54\x36\x29\x20\116\x4f\x54\x20\116\x55\x4c\x4c\40\x44\x45\x46\101\125\x4c\124\x20\60\x2e\x30\60\60\x30\60\60"); $cblyO[] = array("\164\141\142\x6c\x65" => "\x70\x70\x5f\x74\145\x6d\160\154\141\x74\x65", "\x73\x71\x6c" => "\140\x69\144\137\x70\160\x5f\164\x65\155\160\x6c\141\164\x65\x60\x20\x69\x6e\164\50\61\60\x29\40\x75\x6e\x73\x69\x67\156\145\x64\40\x4e\x4f\124\40\x4e\125\114\114\x20\x41\125\x54\x4f\x5f\111\x4e\103\122\x45\115\x45\x4e\x54\40\x50\x52\111\115\x41\122\131\40\113\x45\x59\54\xa\40\40\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\140\x76\145\x72\163\151\x6f\156\140\40\x74\x69\156\x79\151\156\164\x20\165\x6e\163\x69\147\x6e\145\x64\40\x4e\x4f\x54\x20\x4e\x55\114\x4c\x2c\12\40\x20\x20\x20\x20\40\40\40\40\40\40\40\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\x60\x71\164\x79\x5f\160\x6f\154\151\143\x79\x60\40\164\x69\x6e\x79\x69\x6e\x74\40\x75\x6e\x73\x69\147\x6e\x65\x64\x20\x4e\117\124\40\x4e\x55\x4c\x4c\x20\104\105\x46\x41\x55\x4c\x54\40\x30\x2c\12\40\x20\x20\x20\40\40\x20\x20\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\140\161\164\171\137\155\x6f\144\x65\140\x20\x74\151\156\171\151\x6e\164\40\165\156\x73\151\x67\x6e\145\144\x20\x4e\x4f\124\40\116\x55\x4c\x4c\40\104\x45\x46\101\125\x4c\124\40\x30\54\xa\x20\40\x20\x20\x20\40\40\40\40\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x60\x6d\145\x61\x73\x75\162\x65\155\145\156\x74\137\x73\171\163\164\x65\x6d\x60\40\x74\151\x6e\171\151\156\x74\x20\x75\156\163\151\x67\x6e\x65\x64\x20\x4e\x4f\x54\x20\x4e\125\114\x4c\x20\104\105\x46\101\125\114\x54\x20\x30\x2c\12\x20\x20\x20\x20\40\40\40\40\40\40\40\40\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\140\x64\x69\163\160\x6c\141\x79\x5f\155\x6f\144\x65\140\40\x73\155\141\154\154\x69\156\x74\40\x75\156\163\151\x67\x6e\145\144\x20\116\x4f\124\40\x4e\x55\x4c\x4c\x20\x44\105\x46\x41\x55\114\124\x20\x30\54\12\40\x20\40\40\x20\x20\x20\x20\x20\40\40\40\x20\40\40\x20\40\40\x20\x20\x20\40\x20\x20\140\x70\x72\x69\x63\x65\x5f\144\x69\x73\160\x6c\x61\x79\x5f\155\x6f\144\x65\140\x20\x74\x69\156\x79\x69\156\x74\40\x75\x6e\x73\x69\x67\156\x65\x64\40\116\x4f\124\40\x4e\x55\x4c\114\x20\104\x45\106\x41\125\114\124\x20\x30\54\xa\x20\x20\40\x20\40\x20\40\40\40\x20\40\x20\40\40\40\40\x20\40\40\40\x20\40\40\40\140\x75\x6e\151\x74\137\160\x72\151\x63\x65\137\162\141\x74\151\157\140\40\144\x65\143\x69\x6d\141\154\50\x32\60\54\66\x29\40\x4e\x4f\124\40\x4e\125\x4c\x4c\x20\104\x45\106\101\x55\x4c\x54\x20\60\x2e\x30\60\60\x30\x30\60\x2c\xa\x20\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x60\155\151\x6e\x69\x6d\141\154\x5f\x70\162\151\x63\145\137\162\x61\x74\x69\157\140\40\144\145\143\151\155\141\x6c\50\62\60\54\x36\51\40\x4e\117\x54\40\116\125\114\114\40\104\x45\x46\x41\125\x4c\124\40\x30\56\x30\60\60\x30\x30\x30\x2c\xa\x20\x20\x20\40\40\40\x20\40\40\40\x20\x20\40\40\40\40\x20\x20\40\40\x20\40\40\40\x60\155\x69\x6e\x69\x6d\141\x6c\x5f\161\x75\x61\x6e\x74\x69\164\171\x60\x20\x64\x65\x63\x69\x6d\x61\x6c\50\62\x30\x2c\66\x29\x20\x4e\117\124\40\x4e\125\114\x4c\x20\104\x45\x46\101\125\114\124\x20\x30\56\x30\x30\x30\60\60\x30\54\xa\40\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\40\x20\40\x60\x6d\x61\170\x69\155\165\x6d\137\x71\165\141\x6e\164\151\164\x79\140\x20\144\x65\x63\151\155\141\x6c\50\x32\60\x2c\66\51\x20\x4e\x4f\124\40\x4e\125\114\x4c\x20\104\105\x46\x41\x55\114\x54\40\x30\x2e\60\x30\60\x30\60\x30\54\xa\x20\40\x20\x20\x20\40\40\x20\40\40\x20\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\140\x74\157\164\x61\x6c\137\155\141\170\151\155\x75\155\137\x71\x75\x61\x6e\x74\x69\x74\171\140\x20\144\145\x63\x69\155\141\x6c\x28\x32\x30\x2c\x36\51\x20\116\117\x54\40\x4e\125\114\x4c\40\x44\x45\x46\x41\125\x4c\x54\x20\x30\x2e\x30\x30\60\x30\60\60\54\xa\x20\40\40\40\x20\x20\40\x20\40\x20\x20\40\40\40\40\40\x20\40\40\x20\40\40\x20\40\x60\x64\x65\146\x61\165\x6c\164\137\161\165\141\x6e\164\x69\164\171\x60\x20\144\x65\143\151\x6d\x61\154\50\62\x30\54\66\51\40\x4e\117\124\40\116\125\114\114\40\104\x45\106\101\x55\114\x54\40\x30\x2e\x30\60\60\60\x30\x30\54\xa\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\40\140\x71\164\x79\137\163\164\145\x70\140\x20\144\145\x63\x69\155\x61\x6c\50\62\x30\54\x36\x29\40\116\117\124\x20\116\x55\114\x4c\x20\104\x45\106\101\x55\114\124\40\60\x2e\x30\60\x30\60\60\x30\x2c\12\x20\40\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\140\161\x74\171\137\x73\150\151\x66\164\140\40\144\145\x63\x69\x6d\x61\154\x28\x32\x30\54\66\x29\40\116\x4f\x54\40\116\125\114\114\40\x44\x45\x46\101\x55\x4c\x54\40\60\56\60\x30\x30\60\60\60\54\xa\40\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x60\x71\x74\x79\x5f\x64\x65\143\151\155\141\x6c\163\x60\40\x73\155\x61\x6c\x6c\151\x6e\x74\x20\x75\x6e\x73\151\147\x6e\145\x64\x20\116\117\124\x20\x4e\x55\114\x4c\40\x44\x45\x46\x41\125\114\124\40\60\x2c\12\40\40\40\40\40\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\40\40\x20\40\40\40\x20\x20\140\161\x74\171\137\x76\141\154\165\x65\163\140\x20\166\x61\162\x63\150\141\x72\x28\x32\65\66\x29\54\xa\x20\x20\40\40\x20\x20\x20\40\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x60\161\164\x79\137\162\x61\x74\x69\x6f\x60\x20\144\145\143\x69\x6d\141\154\x28\x32\x30\x2c\66\51\x20\x4e\117\x54\40\116\125\x4c\x4c\x20\x44\105\106\x41\x55\114\124\x20\60\x2e\x30\x30\x30\60\60\60\x2c\xa\40\40\x20\40\40\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\140\x65\x78\164\x60\40\x74\x69\x6e\171\x69\x6e\164\40\165\x6e\163\x69\147\156\145\x64\40\116\x4f\x54\40\116\x55\x4c\x4c\x20\x44\105\x46\x41\125\114\124\x20\x30\54\12\40\x20\x20\40\40\x20\40\40\x20\40\x20\x20\40\x20\x20\40\40\x20\40\40\40\40\40\40\140\161\164\171\x5f\x61\166\x61\x69\x6c\x61\x62\x6c\145\137\144\151\163\x70\x6c\141\171\140\40\x74\151\x6e\171\x69\x6e\164\40\x75\x6e\x73\151\147\156\x65\144\40\116\x4f\124\40\x4e\x55\114\114\40\x44\105\106\x41\x55\x4c\x54\40\60\54\xa\40\40\40\x20\x20\40\40\x20\40\40\x20\40\40\x20\40\x20\40\40\x20\40\40\40\x20\40\140\150\151\144\x64\x65\156\140\x20\x74\151\156\x79\151\x6e\x74\x20\165\x6e\x73\151\147\x6e\145\144\40\x4e\x4f\x54\x20\116\x55\114\x4c\40\x44\105\106\x41\125\x4c\124\x20\x30\54\xa\x20\40\40\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\40\x20\x20\40\40\40\x20\40\x20\x20\140\143\165\x73\164\157\155\151\172\141\164\151\x6f\x6e\140\x20\164\151\x6e\171\x69\156\164\x28\x31\51\40\165\156\163\x69\x67\x6e\x65\144\40\x4e\117\124\40\x4e\125\x4c\x4c\40\x44\x45\106\x41\x55\114\x54\x20\60\x2c\12\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\40\40\x20\40\40\40\x20\x20\40\40\x60\143\163\x73\140\x20\x76\141\162\x63\150\x61\x72\50\62\65\66\51"); $cblyO[] = array("\x74\141\x62\x6c\145" => "\160\x70\x5f\x74\145\x6d\x70\x6c\141\164\145\x5f\154\x61\x6e\147", "\x73\161\x6c" => "\140\151\x64\137\x70\160\x5f\x74\145\x6d\x70\154\141\164\145\x60\40\151\156\164\x28\61\x30\x29\40\165\156\x73\151\x67\x6e\145\x64\40\x4e\117\x54\40\116\125\x4c\x4c\54\xa\x20\40\40\x20\40\40\x20\x20\40\x20\x20\40\40\x20\40\x20\40\40\x20\x20\x20\40\x20\40\x60\151\x64\137\x6c\141\x6e\x67\x60\x20\x69\x6e\164\x28\61\x30\x29\40\x75\156\163\151\147\x6e\x65\x64\x20\116\x4f\x54\x20\116\125\114\114\54\xa\40\40\x20\x20\40\40\40\40\x20\x20\40\x20\x20\40\40\40\x20\40\40\40\x20\40\40\x20\x60\x6e\141\155\145\140\x20\x76\x61\162\x63\150\x61\x72\50\x34\x38\51\x20\116\x4f\124\x20\116\x55\x4c\114\x2c\12\40\40\40\x20\40\x20\x20\40\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\x20\40\140\x61\165\x74\x6f\137\x64\145\x73\143\x5f\61\140\x20\164\151\x6e\171\151\156\164\x20\x75\x6e\163\151\x67\156\145\x64\40\x4e\x4f\124\40\116\125\114\114\x20\x44\x45\106\x41\125\x4c\124\40\x30\x2c\xa\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\40\40\x60\x64\145\163\143\x72\x69\160\x74\x69\x6f\156\x5f\x31\x60\x20\164\145\170\x74\x2c\xa\x20\40\40\40\x20\x20\40\40\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\40\40\x20\40\140\141\165\x74\x6f\x5f\144\x65\x73\x63\x5f\62\x60\40\x74\151\x6e\171\151\156\x74\40\x75\x6e\x73\x69\x67\x6e\x65\x64\x20\116\x4f\124\x20\x4e\x55\114\x4c\40\104\105\x46\101\125\x4c\x54\x20\60\54\12\x20\x20\40\x20\40\40\40\40\40\40\x20\x20\40\x20\40\x20\40\40\40\x20\x20\40\40\x20\140\144\145\163\143\162\x69\x70\164\151\x6f\x6e\x5f\x32\x60\40\164\x65\x78\x74\x2c\12\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\x50\122\111\115\101\x52\131\40\x4b\x45\x59\x20\x28\x60\151\x64\137\160\160\137\x74\x65\x6d\x70\x6c\141\x74\145\x60\54\40\140\151\x64\137\154\x61\156\x67\x60\51"); $cblyO[] = array("\164\141\x62\154\145" => "\160\x70\137\164\145\x6d\160\154\141\x74\145\x5f\x70\x72\x6f\x70\x65\x72\164\171", "\163\x71\154" => "\x60\x69\144\x5f\x70\160\x5f\x74\145\155\160\154\141\164\x65\x60\x20\x69\156\x74\x28\61\x30\x29\x20\165\156\x73\151\x67\156\145\144\x20\116\x4f\x54\x20\116\x55\x4c\x4c\x2c\xa\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\40\40\40\40\x20\x20\40\x60\160\x70\137\156\141\155\x65\x60\40\x76\x61\x72\x63\150\141\162\50\63\x32\x29\x20\116\117\124\40\116\x55\x4c\114\x2c\12\x20\40\x20\40\40\40\40\x20\40\40\40\x20\40\40\40\40\40\40\40\x20\40\x20\x20\40\140\x69\x64\137\x70\160\137\160\162\x6f\x70\145\x72\164\171\x60\40\x69\156\164\x28\x31\x30\51\40\x75\156\163\151\147\x6e\145\x64\x20\116\x4f\124\40\116\x55\x4c\114\x2c\12\40\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\x49\116\x44\x45\130\40\x28\151\144\x5f\x70\x70\137\164\x65\x6d\160\x6c\141\x74\145\51"); $cblyO[] = array("\164\141\142\x6c\x65" => "\160\160\137\160\162\157\x70\145\x72\x74\x79", "\163\x71\154" => "\140\x69\x64\137\160\x70\137\160\162\x6f\x70\x65\162\164\171\x60\40\151\156\164\50\x31\x30\51\40\165\x6e\163\151\x67\x6e\x65\x64\x20\116\x4f\124\40\116\125\114\x4c\x20\101\x55\x54\x4f\x5f\x49\116\103\x52\105\115\105\116\x54\x20\120\122\111\x4d\101\x52\x59\40\113\x45\x59\54\xa\x20\40\40\40\40\40\40\x20\40\40\40\40\40\x20\x20\40\40\x20\40\x20\40\x20\x20\40\x60\164\x79\x70\145\140\40\151\156\164\x28\61\x30\51\40\x4e\x4f\x54\x20\116\125\114\x4c", "\157\160\164\x69\x6f\x6e\x73" => "\101\125\124\x4f\137\x49\116\x43\x52\105\x4d\105\x4e\x54\x20\x3d\40" . PProperties::USER_START_ID); $cblyO[] = array("\x74\141\x62\154\145" => "\160\160\137\x70\162\x6f\160\x65\x72\164\171\137\x6c\x61\x6e\x67", "\163\x71\154" => "\140\151\x64\137\x70\160\x5f\x70\162\157\x70\x65\x72\164\x79\140\x20\x69\x6e\x74\x28\x31\60\51\40\x75\156\163\151\x67\156\145\x64\40\116\117\124\x20\x4e\125\x4c\114\54\xa\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\40\40\40\40\x20\40\x60\x69\x64\x5f\x6c\x61\x6e\x67\140\40\x69\x6e\164\x28\x31\60\51\40\165\156\163\x69\147\x6e\145\x64\40\116\x4f\124\40\116\125\114\x4c\54\12\40\40\40\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\x60\164\x65\170\164\137\61\x60\x20\164\x65\170\x74\x20\116\x4f\x54\x20\x4e\125\x4c\114\x2c\12\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\140\164\145\170\x74\137\62\140\40\164\145\x78\164\x20\116\x4f\x54\x20\x4e\x55\x4c\114\54\12\40\40\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\x50\x52\111\115\x41\122\131\x20\x4b\105\131\40\50\140\x69\x64\137\x70\160\137\x70\162\x6f\160\x65\162\164\x79\x60\x2c\x20\140\151\144\x5f\x6c\141\156\147\140\x29"); $cblyO[] = array("\164\x61\142\154\x65" => "\x70\x70\137\164\145\155\160\154\141\x74\145\137\145\170\x74", "\163\161\154" => "\x60\x69\144\137\160\x70\137\164\x65\155\160\x6c\x61\164\145\x60\x20\x69\x6e\x74\x28\61\x30\x29\x20\x75\x6e\x73\151\x67\x6e\145\x64\40\116\x4f\x54\40\x4e\x55\114\x4c\54\xa\40\40\40\40\40\x20\x20\40\x20\40\40\40\40\x20\40\x20\x20\40\40\x20\x20\x20\40\40\x60\164\x79\160\x65\x60\x20\164\151\x6e\x79\151\156\164\40\x75\156\x73\x69\x67\x6e\x65\x64\x20\116\x4f\x54\40\x4e\x55\x4c\x4c\40\104\105\x46\x41\125\114\x54\x20\60\x2c\12\40\40\40\40\40\40\40\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\140\x70\x6f\154\151\143\171\x60\40\164\151\x6e\171\x69\x6e\164\x20\x75\156\163\x69\147\x6e\x65\144\x20\116\117\x54\40\x4e\x55\x4c\x4c\x20\x44\105\106\x41\x55\114\124\40\x30\x2c\xa\40\x20\x20\40\40\x20\x20\x20\40\x20\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\x60\155\x65\164\x68\157\x64\140\40\151\156\x74\x28\x31\x30\51\x20\165\156\163\x69\x67\x6e\145\144\40\x4e\117\x54\x20\116\x55\114\114\40\x44\x45\x46\x41\x55\114\124\40\60\x2c\xa\x20\x20\40\x20\40\x20\40\40\40\x20\x20\40\40\40\40\40\x20\40\40\x20\40\40\x20\x20\x60\164\151\164\x6c\145\140\x20\x69\156\x74\x28\x31\x30\x29\x20\165\x6e\x73\x69\x67\156\x65\x64\x20\x4e\x4f\124\x20\x4e\125\114\x4c\40\104\x45\x46\101\125\114\124\x20\x30\54\12\40\40\40\40\40\x20\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\40\x20\40\40\x20\x20\140\160\162\157\160\x65\162\x74\x79\140\40\151\156\x74\50\x31\x30\x29\40\x75\156\x73\x69\x67\156\x65\x64\40\116\117\x54\x20\x4e\x55\x4c\x4c\x20\104\105\x46\101\x55\x4c\x54\40\x30\x2c\12\x20\x20\x20\x20\x20\40\40\x20\40\40\40\40\40\40\40\40\40\x20\40\40\40\40\x20\x20\140\x74\145\170\x74\140\x20\x69\x6e\164\50\x31\60\51\40\x75\x6e\x73\151\x67\x6e\x65\144\x20\116\x4f\x54\40\x4e\125\114\x4c\40\x44\105\x46\101\x55\114\x54\40\60\x2c\xa\x20\40\40\40\40\40\40\40\x20\x20\x20\40\x20\40\40\40\40\x20\40\40\x20\40\40\x20\140\145\x78\160\x6c\141\x6e\141\x74\151\157\x6e\140\40\x69\156\x74\x28\61\x30\51\40\165\156\163\151\x67\156\x65\x64\40\116\x4f\124\x20\116\125\114\x4c\x20\x44\x45\x46\x41\x55\x4c\x54\x20\x30\54\xa\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\x20\40\x20\140\155\x69\x6e\151\x6d\165\155\137\x71\165\x61\x6e\x74\151\164\x79\140\40\x64\x65\x63\151\x6d\141\154\x28\62\60\x2c\x36\51\x20\116\x4f\x54\40\116\x55\114\114\x20\104\x45\x46\101\x55\x4c\x54\x20\60\56\60\x30\x30\x30\x30\60\x2c\xa\x20\40\40\40\40\x20\x20\x20\40\40\x20\40\x20\40\40\40\40\40\x20\x20\x20\x20\x20\x20\x60\155\141\170\151\x6d\x75\155\x5f\161\165\x61\156\x74\x69\x74\x79\140\x20\144\145\143\x69\x6d\141\154\50\62\x30\54\x36\51\40\116\117\124\40\x4e\125\x4c\114\40\104\x45\106\x41\x55\x4c\124\x20\60\56\x30\x30\60\60\x30\60\54\xa\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\x60\x6d\x69\156\151\x6d\x75\x6d\x5f\x71\165\141\156\164\151\x74\171\137\x74\x65\x78\x74\x60\x20\151\156\164\x28\61\60\51\40\165\x6e\163\x69\147\156\145\x64\x20\x4e\x4f\124\40\x4e\x55\114\114\40\x44\105\x46\x41\125\x4c\x54\x20\x30\x2c\12\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\40\x20\x20\x20\40\40\x20\40\40\x20\x60\x6d\141\x78\x69\x6d\165\x6d\137\x71\x75\141\x6e\164\151\164\x79\x5f\x74\145\170\164\x60\40\151\156\164\x28\61\x30\x29\40\165\156\x73\151\x67\x6e\145\x64\x20\116\x4f\x54\x20\116\125\x4c\x4c\x20\x44\x45\106\101\125\x4c\124\x20\60\x2c\xa\40\40\40\x20\40\x20\x20\40\40\x20\40\40\x20\40\x20\40\x20\40\x20\x20\40\40\40\x20\x60\x6d\x69\156\151\155\141\x6c\x5f\x70\x72\151\143\x65\137\x72\141\x74\x69\x6f\140\x20\x64\x65\143\x69\155\141\x6c\50\62\x30\x2c\66\x29\40\x4e\x4f\x54\x20\116\x55\114\114\x20\x44\x45\106\101\125\114\x54\40\60\56\x30\60\x30\x30\60\x30\x2c\12\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\40\x20\40\x20\x20\40\x20\40\111\116\104\x45\x58\40\x28\x69\x64\137\x70\x70\137\164\x65\155\x70\x6c\141\164\x65\51"); $cblyO[] = array("\x74\x61\142\x6c\x65" => "\160\x70\x5f\164\x65\155\x70\154\x61\x74\145\137\x65\170\164\x5f\x70\x72\157\160", "\163\x71\x6c" => "\x60\x69\x64\x5f\160\160\137\x74\145\155\x70\154\141\x74\x65\x60\x20\151\156\164\50\x31\x30\x29\40\x75\156\x73\151\147\x6e\x65\144\40\116\117\x54\40\116\125\x4c\x4c\54\12\x20\40\x20\x20\40\40\x20\40\x20\40\40\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\x60\151\x64\137\x65\x78\x74\x5f\160\162\x6f\x70\140\40\151\156\164\50\61\x30\51\40\165\156\163\151\147\x6e\145\144\x20\116\117\124\x20\116\125\114\x4c\40\x44\105\x46\x41\125\114\124\40\60\x2c\12\x20\40\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\40\40\40\x20\x20\x20\40\x60\160\x6f\163\151\x74\151\157\x6e\140\x20\x74\x69\156\171\x69\156\x74\x20\x75\x6e\163\x69\x67\156\x65\x64\x20\116\117\124\40\x4e\125\x4c\114\40\104\x45\106\101\x55\x4c\124\x20\x30\54\xa\40\40\40\x20\40\40\40\x20\40\40\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\140\x70\162\x6f\x70\x65\162\164\171\x60\x20\151\x6e\164\50\61\x30\51\x20\165\156\163\x69\x67\x6e\145\x64\x20\x4e\x4f\x54\x20\116\x55\114\x4c\x20\104\x45\x46\x41\125\x4c\124\40\60\x2c\xa\x20\x20\x20\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\x60\164\145\170\164\140\40\151\x6e\x74\50\61\60\51\40\x75\156\x73\x69\x67\156\x65\x64\40\116\x4f\x54\40\116\125\x4c\114\40\x44\105\x46\101\125\114\124\x20\60\x2c\xa\40\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\x60\157\162\x64\145\x72\137\164\x65\170\164\140\40\x69\x6e\164\x28\61\60\x29\x20\x75\x6e\x73\151\x67\156\x65\144\40\116\x4f\x54\x20\x4e\125\x4c\x4c\x20\104\x45\106\101\125\x4c\124\x20\60\x2c\xa\x20\40\x20\40\x20\40\x20\x20\40\40\40\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\40\140\155\151\156\x69\155\165\155\x5f\161\165\141\156\164\x69\x74\x79\x60\40\x64\x65\x63\151\155\141\x6c\50\62\60\x2c\66\51\x20\116\117\124\40\116\x55\114\x4c\40\x44\105\x46\101\125\x4c\124\40\60\56\x30\x30\60\60\60\60\54\xa\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\x60\155\x61\170\151\155\x75\155\137\161\165\141\x6e\x74\151\164\x79\x60\x20\x64\145\143\151\x6d\x61\154\50\62\x30\x2c\66\51\x20\x4e\x4f\124\40\116\x55\x4c\x4c\x20\104\105\106\x41\125\114\x54\40\60\x2e\x30\60\60\x30\x30\60\54\xa\x20\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\40\40\40\40\40\140\x64\x65\x66\x61\x75\x6c\164\137\x71\x75\141\156\164\151\164\171\x60\40\x64\145\143\x69\x6d\141\x6c\x28\62\60\x2c\66\x29\40\116\x4f\x54\x20\x4e\x55\114\x4c\40\104\105\x46\101\125\x4c\x54\40\60\x2e\60\x30\x30\60\x30\60\x2c\12\x20\x20\x20\40\40\40\40\40\40\40\x20\x20\40\x20\40\40\40\x20\x20\40\x20\40\40\40\x60\161\164\171\137\163\164\145\x70\140\40\144\145\143\151\155\141\x6c\50\x32\x30\x2c\x36\x29\x20\116\x4f\124\x20\116\x55\114\114\40\x44\105\x46\x41\125\114\124\40\60\x2e\x30\x30\60\60\60\x30\x2c\12\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\40\40\40\40\x20\x20\x20\40\x20\x20\x20\40\40\x60\161\x74\171\x5f\162\141\164\151\x6f\x60\x20\x64\x65\143\x69\x6d\141\154\50\62\60\54\66\51\40\116\117\124\40\x4e\x55\114\x4c\40\x44\x45\x46\101\x55\x4c\124\40\60\x2e\60\x30\x30\x30\x30\x30\54\xa\40\x20\40\40\40\40\40\40\40\40\40\40\x20\40\40\x20\40\x20\x20\40\x20\x20\40\x20\x49\x4e\x44\105\x58\40\x28\x69\144\137\x70\x70\x5f\x74\x65\x6d\x70\154\141\x74\145\51"); $cblyO[] = array("\x74\x61\142\154\x65" => "\x70\x70\x5f\x6f\162\144\x65\x72\137\x64\145\164\141\151\154", "\163\161\154" => "\140\x69\x64\x5f\x70\x70\x5f\157\x72\144\145\162\x5f\x64\x65\164\141\151\154\x60\40\x69\156\164\50\x31\x30\51\40\x75\156\x73\x69\x67\156\x65\144\x20\116\117\124\x20\116\125\x4c\x4c\x20\x41\125\x54\x4f\x5f\x49\116\103\122\x45\115\x45\116\x54\x20\x50\x52\x49\x4d\101\x52\x59\40\x4b\105\x59\54\xa\x20\40\x20\40\x20\x20\40\40\40\x20\40\40\x20\40\40\40\x20\40\x20\x20\40\40\40\x20\140\x69\x64\x5f\157\162\x64\145\x72\140\40\x69\x6e\x74\50\x31\60\x29\x20\165\156\163\151\147\156\x65\144\40\116\117\x54\40\x4e\125\114\114\54\xa\40\x20\40\40\x20\40\x20\x20\40\40\40\40\40\x20\40\40\x20\x20\40\x20\40\x20\40\x20\140\x69\x64\137\x6f\x72\x64\145\x72\137\x64\x65\x74\x61\x69\x6c\x60\40\x69\156\x74\50\x31\x30\51\x20\x75\156\x73\151\x67\156\x65\144\x20\x4e\117\124\40\x4e\125\114\x4c\x2c\xa\x20\40\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\40\140\x69\x64\x5f\x73\150\x6f\x70\x60\40\151\156\x74\x28\x31\61\x29\x20\165\x6e\x73\x69\x67\x6e\145\144\x20\116\x4f\124\40\x4e\x55\x4c\114\54\xa\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\40\x20\x20\40\40\40\x20\140\151\144\x5f\x63\141\162\x74\137\160\x72\157\144\x75\x63\164\x60\40\x69\156\x74\x28\61\x30\51\x20\x75\156\163\151\147\156\145\144\40\116\117\x54\40\116\x55\114\x4c\x2c\12\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\140\x69\144\137\x70\x72\x6f\144\165\x63\x74\x60\40\151\156\x74\x28\61\60\51\x20\165\x6e\x73\151\147\x6e\x65\x64\40\116\x4f\124\x20\x4e\125\x4c\x4c\54\12\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\140\151\x64\x5f\160\162\157\x64\x75\x63\x74\137\x61\x74\164\x72\x69\x62\165\x74\145\x60\40\x69\x6e\164\x28\x31\60\x29\x20\x75\156\163\151\x67\156\145\144\x20\x44\105\x46\x41\125\x4c\124\x20\x4e\125\x4c\114\54\xa\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\x20\40\40\40\x20\x20\40\40\40\40\40\40\x60\x71\x75\141\x6e\164\x69\164\171\x60\x20\x64\145\x63\x69\x6d\141\154\x28\62\x30\54\66\x29\x20\116\117\x54\x20\x4e\x55\x4c\114\40\x44\x45\x46\101\x55\114\124\x20\x30\x2e\x30\x30\60\x30\x30\x30\x2c\12\40\x20\40\x20\x20\40\40\40\40\40\40\40\40\40\40\x20\x20\40\x20\x20\40\40\40\x20\140\144\x61\x74\141\137\x74\x79\160\x65\140\40\166\x61\162\143\150\x61\162\x28\63\62\51\x20\116\117\124\40\116\x55\x4c\114\54\xa\40\x20\40\x20\x20\40\x20\40\x20\40\40\40\x20\x20\40\40\40\x20\40\40\x20\x20\40\40\140\144\x61\164\141\x60\x20\x74\145\170\164\54\xa\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\x20\40\40\x20\x20\x49\x4e\x44\x45\130\40\x60\x69\144\x5f\160\x72\157\144\x75\x63\x74\140\40\x28\x60\x69\x64\x5f\x70\x72\157\x64\x75\x63\164\140\x29\54\xa\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x49\116\104\105\130\x20\x60\x69\x64\137\160\162\157\144\165\143\x74\x5f\151\144\137\160\162\157\144\x75\143\x74\x5f\x61\164\x74\162\x69\142\165\x74\x65\140\x20\50\140\151\x64\x5f\x70\162\157\x64\165\143\164\140\54\x20\140\x69\144\137\x70\162\x6f\144\165\x63\x74\137\141\164\x74\x72\x69\142\x75\x74\x65\x60\51\54\12\40\x20\40\40\x20\x20\x20\x20\40\40\40\x20\40\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\x49\x4e\x44\x45\130\40\140\x69\144\137\x70\162\157\x64\x75\x63\x74\137\x61\164\x74\162\x69\142\x75\164\x65\x60\40\x28\x60\151\144\137\x70\x72\157\144\165\x63\x74\137\x61\x74\164\162\151\142\165\x74\x65\x60\x29\x2c\xa\40\x20\x20\40\40\40\x20\x20\40\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\40\40\x20\111\116\104\x45\130\40\140\151\144\137\157\x72\x64\145\162\x5f\151\144\137\x6f\x72\x64\x65\x72\137\144\x65\164\x61\x69\154\140\x20\50\x60\x69\144\137\157\x72\144\x65\x72\140\54\40\140\x69\144\137\x6f\x72\144\x65\x72\137\x64\145\164\x61\x69\154\140\x29"); $cblyO[] = array("\143\x6f\154\165\x6d\156" => "\151\144\137\160\x70\137\x74\x65\155\x70\x6c\x61\164\x65", "\164\141\142\x6c\x65" => "\x70\162\x6f\x64\x75\143\x74", "\x73\161\x6c" => "\151\x6e\x74\x28\61\60\x29\40\x75\x6e\x73\151\147\x6e\x65\x64\x20\x41\106\124\105\x52\x20\x60\x77\145\x69\147\x68\x74\x60"); $cblyO[] = array("\x63\157\154\165\155\156" => "\161\165\141\x6e\x74\x69\164\171\x5f\162\145\155\141\151\156\x64\145\x72", "\164\141\x62\x6c\145" => "\160\162\x6f\144\165\x63\164", "\x73\161\154" => "\144\x65\x63\151\155\x61\x6c\x28\62\60\x2c\x36\51\x20\x4e\x4f\x54\40\116\125\x4c\x4c\40\104\x45\x46\101\125\x4c\x54\x20\x30\x2e\60\60\60\x30\60\x30\40\101\x46\124\105\122\x20\x60\161\165\141\x6e\x74\x69\x74\171\140"); $cblyO[] = array("\143\x6f\x6c\x75\155\x6e" => "\x6d\x69\x6e\x69\x6d\x61\x6c\x5f\161\x75\x61\x6e\164\151\164\171\x5f\146\x72\x61\x63\164\x69\157\156\x61\154", "\164\141\x62\x6c\x65" => "\160\x72\x6f\144\x75\143\164", "\163\161\x6c" => "\x64\x65\143\151\155\141\154\50\62\x30\x2c\66\51\40\116\x4f\124\x20\116\125\114\114\x20\x44\105\106\101\x55\114\124\40\60\x2e\60\60\60\60\60\x30\40\101\x46\124\105\122\40\140\155\151\x6e\151\155\x61\154\137\161\x75\141\156\x74\x69\164\x79\x60"); $cblyO[] = array("\143\x6f\x6c\165\155\156" => "\155\x69\x6e\x69\155\141\154\x5f\x71\165\141\156\x74\151\x74\171\137\x66\x72\141\x63\x74\151\x6f\x6e\x61\154", "\x74\141\x62\x6c\145" => "\x70\162\157\144\165\143\164\x5f\x73\150\157\x70", "\x73\161\x6c" => "\x64\x65\143\x69\x6d\141\154\50\x32\x30\54\x36\x29\40\116\117\124\x20\x4e\x55\114\x4c\40\104\x45\106\101\125\114\124\x20\x30\56\60\x30\x30\x30\x30\60\x20\101\x46\x54\x45\x52\x20\x60\x6d\151\156\x69\x6d\141\x6c\137\x71\x75\x61\x6e\x74\151\x74\171\x60"); $cblyO[] = array("\x63\157\154\165\x6d\156" => "\161\x75\x61\156\164\x69\164\171\137\x72\x65\x6d\141\x69\156\x64\145\162", "\x74\141\142\x6c\145" => "\x70\x72\157\x64\x75\x63\x74\137\141\x74\x74\162\x69\x62\x75\x74\x65", "\163\x71\154" => "\x64\145\143\151\x6d\x61\154\50\x32\x30\x2c\66\x29\x20\x4e\x4f\x54\40\x4e\125\x4c\114\x20\x44\x45\106\101\x55\x4c\x54\40\x30\x2e\60\60\x30\x30\x30\60\40\x41\106\x54\x45\x52\x20\x60\x71\x75\x61\x6e\164\x69\164\171\x60"); $cblyO[] = array("\143\157\x6c\x75\155\x6e" => "\x6d\151\156\x69\155\141\x6c\x5f\161\x75\x61\156\x74\151\164\x79\x5f\146\162\141\x63\164\x69\x6f\x6e\x61\x6c", "\x74\x61\x62\x6c\145" => "\x70\162\157\144\x75\x63\164\x5f\x61\x74\x74\x72\151\142\x75\x74\145", "\163\x71\x6c" => "\144\x65\x63\x69\155\141\154\50\x32\60\54\66\x29\x20\116\x4f\x54\40\116\x55\x4c\114\40\104\x45\106\101\125\x4c\x54\x20\60\56\60\x30\60\60\x30\x30\40\101\x46\124\105\122\x20\x60\x6d\151\156\x69\155\141\154\137\161\x75\141\x6e\164\x69\164\x79\140"); $cblyO[] = array("\x63\x6f\154\165\x6d\156" => "\x6d\151\156\x69\155\141\154\x5f\161\x75\141\x6e\164\x69\164\x79\137\146\x72\x61\143\x74\x69\x6f\x6e\x61\154", "\164\x61\142\x6c\145" => "\x70\162\157\144\x75\x63\164\137\x61\x74\x74\x72\x69\142\x75\164\145\x5f\163\150\157\x70", "\x73\x71\154" => "\x64\145\x63\151\x6d\141\x6c\50\x32\60\54\x36\51\x20\116\x4f\x54\x20\x4e\x55\114\114\40\x44\x45\x46\x41\x55\x4c\124\40\x30\x2e\60\x30\60\x30\x30\x30\40\101\106\x54\x45\122\40\x60\x6d\x69\156\151\x6d\x61\x6c\137\x71\x75\x61\156\164\151\x74\x79\140"); $cblyO[] = array("\x63\x6f\154\x75\x6d\156" => "\151\x64\x5f\143\x61\x72\x74\137\x70\162\157\x64\165\x63\164", "\164\x61\x62\x6c\145" => "\143\141\x72\x74\x5f\x70\162\x6f\144\165\143\164", "\163\161\154" => "\x69\156\x74\x28\x31\x30\x29\x20\165\x6e\163\151\147\x6e\145\x64\x20\116\x4f\x54\40\116\125\114\114\x20\101\x55\124\117\137\x49\116\103\x52\x45\x4d\105\x4e\124\40\120\122\x49\115\101\122\x59\x20\113\x45\131\40\106\111\x52\x53\124"); $cblyO[] = array("\143\x6f\154\x75\155\x6e" => "\161\165\141\x6e\164\x69\x74\x79\137\x66\162\x61\143\x74\x69\157\x6e\x61\x6c", "\x74\141\142\154\145" => "\143\x61\x72\164\x5f\x70\162\157\144\x75\143\164", "\x73\x71\x6c" => "\x64\145\x63\x69\x6d\x61\x6c\x28\62\x30\54\66\x29\40\116\117\x54\x20\x4e\125\x4c\114\40\x44\105\106\101\125\114\x54\40\x30\56\60\x30\60\60\x30\60\x20\101\106\x54\105\x52\x20\x60\161\165\141\156\x74\151\164\x79\140"); $cblyO[] = array("\x63\157\x6c\x75\155\x6e" => "\160\160\137\144\x61\164\x61\137\x74\x79\160\145", "\x74\x61\x62\154\145" => "\143\x61\x72\x74\137\x70\162\157\x64\165\x63\x74", "\163\161\x6c" => "\x76\141\x72\x63\x68\x61\162\x28\x33\62\51\x20\x44\105\x46\101\125\x4c\124\40\116\125\114\114\40\101\106\x54\x45\122\40\140\161\x75\x61\x6e\x74\151\164\171\137\x66\x72\141\x63\x74\151\157\x6e\x61\x6c\140"); $cblyO[] = array("\143\157\x6c\x75\155\x6e" => "\160\x70\137\x64\x61\164\x61", "\164\x61\x62\154\x65" => "\143\x61\162\164\x5f\x70\162\157\144\x75\143\x74", "\x73\161\x6c" => "\164\x65\x78\164\x20\101\x46\x54\105\x52\x20\140\x70\160\137\x64\141\164\141\137\164\171\160\x65\140"); $cblyO[] = array("\143\157\154\165\x6d\156" => "\151\x64\x5f\x63\141\162\164\x5f\x70\162\157\144\165\143\x74", "\164\x61\x62\154\145" => "\x63\165\163\x74\157\155\151\172\141\164\x69\x6f\x6e", "\x73\x71\x6c" => "\x69\156\x74\50\61\60\x29\x20\x75\156\x73\151\147\x6e\x65\x64\40\x4e\117\x54\x20\x4e\125\x4c\x4c\40\x41\x46\x54\105\x52\40\140\151\144\137\143\141\x72\164\x60"); $cblyO[] = array("\x63\157\154\165\x6d\x6e" => "\161\165\x61\156\164\x69\x74\171\137\146\x72\x61\143\x74\151\x6f\x6e\141\154", "\164\x61\x62\x6c\145" => "\143\x75\x73\x74\157\x6d\151\x7a\141\164\151\157\x6e", "\x73\x71\x6c" => "\144\145\143\x69\x6d\141\x6c\50\x32\x30\x2c\x36\51\x20\x4e\x4f\124\40\x4e\x55\114\x4c\40\104\105\106\101\125\114\124\x20\60\56\x30\x30\60\60\x30\60\x20\101\x46\x54\105\122\x20\x60\161\165\141\x6e\164\151\x74\x79\x60"); $cblyO[] = array("\x63\157\154\165\155\x6e" => "\x69\x64\x5f\x63\x61\x72\x74\x5f\x70\162\157\144\x75\143\164", "\x74\141\142\x6c\x65" => "\157\x72\x64\145\x72\137\144\x65\x74\141\x69\154", "\163\x71\x6c" => "\151\156\x74\x28\61\60\x29\x20\165\x6e\163\151\147\156\145\144\40\116\x4f\x54\40\116\x55\114\114\40\101\x46\124\x45\122\x20\140\x69\144\137\157\x72\144\x65\162\140"); $cblyO[] = array("\x63\x6f\x6c\165\155\156" => "\160\162\157\144\x75\x63\x74\137\x71\x75\141\x6e\x74\x69\164\x79\137\146\x72\141\143\x74\x69\x6f\x6e\141\154", "\164\x61\142\154\x65" => "\157\162\x64\145\x72\x5f\144\x65\164\x61\151\154", "\x73\161\x6c" => "\144\x65\143\x69\155\x61\154\x28\x32\60\x2c\x36\51\x20\x4e\x4f\124\x20\116\x55\x4c\x4c\40\104\x45\x46\101\x55\114\x54\x20\x30\x2e\60\x30\60\x30\60\x30\40\101\x46\x54\x45\122\x20\x60\x70\162\x6f\x64\x75\143\164\137\x71\165\141\x6e\164\x69\164\x79\140"); $cblyO[] = array("\x63\x6f\x6c\x75\155\156" => "\x70\160\x5f\144\141\164\x61\137\164\x79\160\x65", "\164\141\x62\x6c\x65" => "\x6f\x72\x64\x65\x72\x5f\x64\145\x74\x61\x69\154", "\163\161\154" => "\166\x61\x72\x63\x68\x61\x72\x28\x33\62\x29\40\x44\x45\106\x41\x55\114\124\40\x4e\125\x4c\x4c"); $cblyO[] = array("\143\x6f\x6c\x75\155\156" => "\160\160\x5f\144\141\164\x61", "\164\141\x62\154\x65" => "\157\x72\144\145\162\137\144\x65\x74\x61\x69\x6c", "\x73\x71\154" => "\x74\x65\170\164"); $cblyO[] = array("\143\x6f\154\x75\155\156" => "\160\x68\x79\163\x69\143\x61\154\137\161\x75\x61\156\x74\151\164\x79\x5f\x72\x65\x6d\x61\151\156\144\x65\x72", "\x74\x61\x62\154\145" => "\163\x74\x6f\x63\153", "\x73\x71\x6c" => "\x64\x65\143\151\155\x61\x6c\50\62\60\54\66\x29\40\x4e\117\x54\x20\116\125\x4c\x4c\x20\104\105\106\x41\125\x4c\x54\40\x30\56\x30\60\x30\60\x30\x30\40\101\x46\124\x45\x52\x20\x60\x70\150\171\x73\x69\143\141\x6c\x5f\161\x75\x61\156\x74\x69\164\x79\x60"); $cblyO[] = array("\143\157\x6c\165\x6d\x6e" => "\x75\x73\141\x62\154\x65\137\x71\165\x61\x6e\x74\x69\164\x79\137\x72\x65\x6d\141\151\x6e\144\145\x72", "\x74\141\142\x6c\145" => "\163\164\x6f\x63\x6b", "\163\161\154" => "\x64\x65\x63\151\x6d\x61\x6c\50\x32\x30\54\66\51\x20\116\x4f\124\40\x4e\x55\114\x4c\x20\104\x45\106\101\125\114\124\x20\60\56\x30\60\x30\60\x30\x30\40\x41\106\x54\105\122\40\x60\x75\163\x61\x62\154\x65\x5f\161\165\141\x6e\x74\151\x74\x79\x60"); $cblyO[] = array("\x63\157\x6c\165\x6d\x6e" => "\x70\x68\x79\163\x69\143\x61\x6c\137\161\165\x61\156\164\151\x74\x79\x5f\x72\145\155\x61\151\x6e\x64\x65\x72", "\164\141\142\154\145" => "\163\x74\157\x63\x6b\137\x6d\x76\164", "\163\x71\x6c" => "\x64\x65\143\151\155\141\154\x28\62\x30\54\66\x29\x20\116\x4f\x54\x20\x4e\125\x4c\114\40\x44\x45\106\x41\x55\114\124\40\x30\x2e\x30\60\x30\x30\x30\x30\x20\101\106\124\105\122\40\140\x70\150\x79\x73\x69\143\x61\x6c\x5f\x71\165\x61\x6e\164\151\164\x79\140"); $cblyO[] = array("\143\157\154\165\x6d\156" => "\161\165\x61\156\164\x69\164\x79\x5f\x72\145\155\141\151\x6e\x64\145\162", "\x74\141\142\154\x65" => "\x73\x74\x6f\143\x6b\137\141\x76\141\151\x6c\x61\x62\154\x65", "\163\161\154" => "\144\x65\x63\x69\x6d\x61\x6c\50\x32\x30\x2c\x36\51\x20\x4e\117\x54\x20\116\x55\x4c\114\40\x44\x45\106\x41\x55\114\x54\x20\x30\x2e\60\x30\60\x30\60\60\40\101\x46\x54\x45\122\x20\140\161\165\x61\156\164\151\164\x79\140"); $cblyO[] = array("\143\x6f\x6c\x75\x6d\x6e" => "\160\150\x79\x73\x69\x63\141\154\137\161\165\x61\x6e\164\151\164\171\137\162\145\155\x61\x69\x6e\x64\x65\x72", "\x74\141\142\x6c\145" => "\163\164\x6f\x63\153\137\x61\166\141\x69\154\x61\142\x6c\x65", "\163\x71\154" => "\144\145\x63\x69\x6d\141\x6c\x28\62\60\54\66\x29\40\x4e\117\x54\40\x4e\x55\x4c\114\x20\104\x45\x46\101\x55\114\x54\40\60\x2e\x30\60\x30\60\60\60\x20\x41\106\124\x45\122\x20\x60\160\150\171\x73\151\143\141\154\137\161\165\141\x6e\164\151\x74\x79\140"); $cblyO[] = array("\143\157\x6c\x75\x6d\156" => "\x72\145\163\x65\162\166\145\x64\x5f\x71\165\141\x6e\164\151\x74\x79\x5f\x72\x65\x6d\141\x69\x6e\x64\145\x72", "\x74\x61\142\x6c\145" => "\x73\164\x6f\143\x6b\x5f\141\166\141\151\154\141\x62\x6c\145", "\163\161\x6c" => "\x64\145\x63\151\155\141\154\x28\x32\x30\x2c\x36\x29\40\116\117\124\40\x4e\125\x4c\114\40\104\105\x46\x41\125\x4c\124\x20\60\x2e\x30\x30\x30\60\x30\60\40\101\x46\124\x45\122\x20\x60\162\145\x73\x65\162\x76\145\x64\x5f\x71\x75\141\x6e\164\x69\164\x79\x60"); $cblyO[] = array("\143\x6f\x6c\165\x6d\x6e" => "\144\x69\x73\x70\x6c\x61\171\x5f\155\157\x64\x65", "\x74\x61\x62\x6c\x65" => "\x70\x70\137\164\x65\x6d\160\154\141\x74\x65", "\x73\161\154" => "\x73\155\x61\154\x6c\151\x6e\164\x20\x75\156\x73\x69\147\156\x65\144\x20\x4e\117\x54\x20\x4e\x55\114\114\40\104\x45\x46\x41\125\x4c\124\x20\x30\x20\101\106\x54\x45\122\x20\x60\155\x65\141\x73\x75\162\145\x6d\145\x6e\x74\x5f\x73\171\x73\x74\145\155\x60"); $cblyO[] = array("\143\157\154\165\x6d\x6e" => "\160\162\151\143\145\137\144\151\x73\160\154\x61\x79\137\x6d\157\x64\x65", "\x74\x61\x62\x6c\145" => "\160\160\x5f\x74\145\155\160\154\x61\164\x65", "\163\x71\154" => "\164\x69\156\x79\x69\x6e\164\40\165\x6e\163\151\147\156\x65\144\40\116\117\124\x20\116\x55\114\x4c\40\x44\x45\x46\101\x55\x4c\x54\x20\x30\x20\x41\106\x54\105\x52\40\x60\144\151\163\x70\154\141\171\x5f\x6d\x6f\144\x65\x60"); $cblyO[] = array("\x63\x6f\154\x75\155\156" => "\155\x61\x78\x69\155\x75\155\x5f\161\x75\141\156\164\x69\x74\x79", "\164\141\142\154\x65" => "\x70\x70\137\164\x65\155\x70\x6c\141\x74\x65", "\x73\161\154" => "\x64\x65\x63\x69\155\141\x6c\x28\62\60\54\66\51\40\x4e\117\x54\40\x4e\125\114\114\x20\x44\105\106\101\x55\114\124\40\60\56\x30\x30\x30\x30\60\x30\x20\101\106\x54\x45\x52\40\140\155\x69\x6e\151\x6d\x61\x6c\x5f\x71\x75\x61\156\x74\151\x74\x79\x60"); $cblyO[] = array("\143\157\154\165\x6d\156" => "\164\x6f\x74\x61\x6c\x5f\x6d\141\170\151\155\165\x6d\x5f\x71\x75\x61\x6e\164\x69\x74\171", "\x74\141\x62\154\145" => "\x70\x70\x5f\x74\x65\x6d\x70\154\141\x74\145", "\x73\x71\154" => "\x64\x65\143\x69\x6d\141\154\x28\x32\60\x2c\66\51\x20\116\x4f\124\x20\116\125\114\x4c\40\104\105\106\101\x55\114\x54\x20\60\56\60\60\60\x30\60\x30\40\x41\x46\x54\x45\122\40\140\155\141\x78\x69\x6d\x75\x6d\x5f\x71\x75\141\156\x74\151\164\171\140"); $cblyO[] = array("\x63\x6f\154\x75\155\x6e" => "\x71\164\x79\x5f\163\164\x65\x70", "\164\x61\142\x6c\x65" => "\160\x70\x5f\164\x65\x6d\160\x6c\x61\x74\145", "\x73\161\x6c" => "\x64\145\x63\x69\155\x61\x6c\x28\62\x30\x2c\66\51\40\116\x4f\x54\x20\x4e\125\x4c\114\x20\104\105\x46\x41\x55\114\x54\40\x30\56\x30\x30\60\60\60\60\x20\x41\x46\x54\105\x52\x20\x60\144\145\146\141\165\154\164\x5f\161\165\141\156\164\x69\164\171\140"); $cblyO[] = array("\143\157\154\x75\x6d\x6e" => "\x71\164\171\137\x73\150\151\146\164", "\x74\141\142\154\x65" => "\160\x70\x5f\x74\x65\x6d\160\154\x61\164\145", "\163\161\154" => "\144\145\143\x69\x6d\x61\x6c\50\62\60\54\66\51\x20\x4e\117\x54\40\116\125\x4c\114\x20\104\105\106\101\125\x4c\124\x20\60\x2e\x30\60\x30\x30\x30\x30\40\101\x46\124\x45\x52\40\140\x71\164\171\x5f\163\164\145\160\x60"); $cblyO[] = array("\x63\157\x6c\165\x6d\156" => "\161\x74\x79\x5f\144\145\143\x69\155\x61\154\163", "\x74\x61\x62\154\145" => "\160\160\x5f\164\x65\155\x70\x6c\141\164\145", "\163\161\154" => "\163\x6d\x61\x6c\x6c\x69\x6e\x74\40\x75\156\163\151\147\156\x65\144\x20\116\x4f\124\x20\116\125\114\x4c\x20\x44\105\x46\x41\x55\x4c\124\40\x30\x20\x41\106\x54\x45\122\x20\140\x71\164\x79\x5f\x73\x68\x69\x66\x74\140"); $cblyO[] = array("\x63\157\154\x75\155\x6e" => "\x71\x74\171\x5f\166\x61\154\165\145\x73", "\164\141\142\x6c\x65" => "\x70\x70\137\x74\x65\155\160\154\x61\164\x65", "\163\161\x6c" => "\166\141\162\x63\x68\141\162\50\x32\x35\66\x29\x20\101\106\124\x45\122\x20\140\161\164\171\x5f\x64\145\143\x69\155\141\x6c\x73\x60"); $cblyO[] = array("\x63\157\x6c\165\x6d\x6e" => "\x71\x74\x79\137\x72\x61\164\x69\157", "\x74\141\142\154\145" => "\160\x70\137\x74\145\155\x70\x6c\141\164\x65", "\163\161\x6c" => "\x64\145\x63\x69\155\141\154\x28\62\x30\54\66\x29\40\x4e\x4f\124\40\x4e\125\114\x4c\40\x44\x45\x46\101\125\x4c\x54\40\60\56\60\x30\x30\60\60\60\x20\x41\106\124\x45\x52\40\140\x71\x74\171\x5f\166\x61\x6c\x75\x65\163\140"); $cblyO[] = array("\143\x6f\154\165\x6d\x6e" => "\145\x78\x74", "\x74\x61\x62\x6c\x65" => "\160\x70\137\164\x65\155\x70\x6c\141\x74\x65", "\163\x71\x6c" => "\164\x69\156\171\x69\x6e\x74\40\165\156\x73\x69\x67\156\x65\x64\x20\116\x4f\124\x20\x4e\x55\x4c\114\x20\104\x45\106\101\125\114\124\40\x30\x20\x41\x46\124\x45\x52\x20\140\161\164\171\x5f\x72\141\164\151\157\x60"); $cblyO[] = array("\143\x6f\x6c\x75\x6d\x6e" => "\155\151\156\151\x6d\141\x6c\x5f\x70\x72\151\143\145\x5f\x72\x61\164\x69\157", "\x74\x61\x62\154\145" => "\160\160\137\164\145\155\160\x6c\141\164\x65", "\163\x71\154" => "\144\145\x63\x69\x6d\141\x6c\x28\62\60\x2c\x36\x29\x20\x4e\x4f\x54\40\x4e\125\114\x4c\40\x44\x45\106\x41\x55\114\x54\40\60\56\x30\60\x30\60\60\60\40\101\x46\x54\105\x52\40\140\165\x6e\151\x74\137\x70\162\151\x63\x65\x5f\162\141\x74\151\x6f\140"); $cblyO[] = array("\143\x6f\154\x75\155\x6e" => "\x63\165\163\x74\x6f\x6d\x69\172\x61\x74\x69\157\156", "\x74\141\142\154\145" => "\160\x70\137\164\x65\x6d\x70\154\141\164\145", "\x73\161\x6c" => "\164\151\156\x79\x69\156\164\40\165\156\x73\151\147\156\145\x64\x20\x4e\117\124\x20\116\x55\114\114\x20\104\x45\106\x41\125\114\x54\40\60\40\101\x46\124\x45\122\x20\140\x68\151\144\144\x65\156\x60"); $cblyO[] = array("\143\157\154\165\x6d\x6e" => "\x63\163\x73", "\164\x61\142\154\145" => "\x70\160\x5f\164\145\x6d\x70\x6c\141\164\145", "\x73\x71\x6c" => "\166\141\162\x63\x68\x61\x72\50\66\64\51\x20\x41\106\x54\105\x52\x20\x60\150\151\144\x64\x65\x6e\140"); $cblyO[] = array("\x63\x6f\154\165\155\x6e" => "\x71\164\x79\x5f\x61\166\x61\151\154\x61\x62\154\145\137\144\151\163\160\154\141\171", "\164\x61\x62\154\145" => "\160\x70\x5f\164\x65\155\160\x6c\141\164\x65", "\x73\161\154" => "\164\151\156\171\x69\x6e\164\x20\x75\x6e\x73\151\x67\x6e\x65\144\x20\116\117\x54\x20\x4e\x55\114\x4c\40\104\x45\106\x41\x55\114\x54\40\60\x20\101\x46\124\x45\122\40\140\x68\151\x64\x64\x65\156\140"); $cblyO[] = array("\x63\x6f\154\x75\155\x6e" => "\160\x6f\154\151\x63\171", "\164\141\142\154\145" => "\x70\x70\x5f\x74\x65\155\x70\154\x61\164\x65\137\145\170\x74", "\163\161\x6c" => "\x74\x69\156\x79\x69\156\164\x20\x75\156\163\x69\x67\156\145\x64\40\x4e\117\x54\40\x4e\x55\x4c\x4c\40\x44\x45\106\x41\x55\x4c\x54\x20\x30\40\x41\106\x54\x45\x52\40\140\164\171\160\145\x60"); $cblyO[] = array("\143\157\154\165\x6d\156" => "\x6d\151\x6e\x69\155\165\x6d\137\x71\165\141\156\x74\x69\x74\x79", "\164\x61\x62\154\x65" => "\x70\160\137\164\145\x6d\160\154\141\x74\145\137\x65\170\x74", "\163\161\154" => "\144\x65\x63\x69\155\x61\x6c\50\62\60\54\66\51\40\116\x4f\124\40\116\x55\114\114\x20\104\x45\x46\x41\x55\x4c\x54\40\x30\x2e\60\x30\x30\60\60\60\x20\101\x46\124\x45\122\x20\x60\x65\x78\160\154\141\x6e\141\164\151\x6f\x6e\140"); $cblyO[] = array("\x63\157\154\165\x6d\x6e" => "\x6d\x61\x78\151\155\165\155\x5f\x71\x75\141\x6e\164\x69\164\171", "\164\141\142\x6c\x65" => "\x70\160\137\x74\145\x6d\160\x6c\x61\164\145\137\x65\170\x74", "\x73\x71\154" => "\144\145\x63\x69\155\x61\x6c\x28\62\60\x2c\x36\51\40\116\117\x54\40\116\x55\x4c\x4c\x20\x44\x45\106\101\125\x4c\x54\40\60\x2e\60\60\x30\60\x30\x30\x20\101\x46\124\105\x52\40\x60\x6d\151\156\x69\x6d\x75\x6d\x5f\x71\165\x61\x6e\164\151\x74\x79\140"); $cblyO[] = array("\143\157\x6c\x75\155\x6e" => "\x6d\151\156\x69\155\x75\155\x5f\161\165\141\x6e\x74\151\164\171\x5f\x74\x65\x78\x74", "\164\141\x62\154\x65" => "\x70\160\x5f\x74\145\155\x70\154\141\164\145\137\145\x78\x74", "\163\x71\154" => "\x69\156\164\50\61\x30\51\x20\165\156\x73\x69\147\156\145\144\x20\x4e\117\124\40\116\x55\x4c\114\x20\101\x46\x54\105\122\40\140\x6d\x61\x78\x69\x6d\165\155\137\161\x75\141\156\x74\151\x74\171\x60"); $cblyO[] = array("\143\157\154\165\155\156" => "\x6d\x61\x78\151\155\165\155\137\x71\165\x61\x6e\164\151\164\x79\x5f\x74\x65\170\x74", "\x74\x61\142\154\145" => "\160\160\137\164\145\x6d\160\x6c\141\x74\x65\x5f\145\x78\164", "\x73\161\x6c" => "\151\x6e\x74\50\x31\x30\x29\40\165\x6e\x73\151\147\156\x65\144\x20\116\x4f\124\x20\116\125\114\x4c\x20\101\106\x54\x45\x52\40\x60\155\x69\156\151\x6d\x75\x6d\137\x71\x75\141\156\x74\151\x74\171\137\164\x65\x78\x74\140"); $cblyO[] = array("\143\x6f\154\x75\155\156" => "\155\151\x6e\x69\x6d\x61\154\x5f\x70\x72\x69\x63\x65\137\162\141\164\151\x6f", "\164\141\142\154\145" => "\160\160\137\164\x65\x6d\x70\x6c\x61\164\x65\x5f\145\170\x74", "\163\161\154" => "\x64\x65\143\x69\x6d\x61\x6c\x28\x32\60\x2c\66\x29\40\116\117\124\40\116\x55\x4c\x4c\x20\104\x45\x46\x41\125\114\124\40\60\x2e\x30\x30\x30\x30\60\x30\40\101\106\124\105\x52\x20\140\155\141\170\x69\x6d\x75\x6d\x5f\161\x75\x61\156\164\x69\x74\x79\x5f\x74\x65\x78\x74\x60"); $cblyO[] = array("\x63\157\x6c\165\155\156" => "\x69\144\x5f\x65\170\x74\137\x70\162\157\x70", "\164\x61\x62\154\x65" => "\160\160\x5f\164\x65\155\160\154\141\x74\x65\137\x65\170\164\x5f\160\x72\157\x70", "\163\161\x6c" => "\151\156\x74\50\61\x30\51\40\165\156\163\151\x67\156\145\144\x20\116\117\x54\x20\116\x55\x4c\114\x20\x44\105\x46\x41\x55\114\124\x20\60\40\x41\106\124\105\122\40\x60\x69\x64\137\x70\x70\137\164\x65\155\x70\x6c\141\164\145\x60"); $cblyO[] = array("\143\x6f\154\x75\x6d\x6e" => "\x71\x74\x79\137\x72\x61\164\151\x6f", "\x74\141\x62\154\x65" => "\x70\160\137\164\145\x6d\x70\154\x61\164\x65\137\x65\170\164\x5f\160\162\157\x70", "\163\161\x6c" => "\x64\145\x63\151\155\141\154\x28\x32\60\54\x36\x29\x20\116\x4f\x54\40\x4e\125\x4c\114\40\x44\x45\x46\x41\125\114\x54\40\60\56\60\x30\x30\x30\x30\x30\x20\101\106\124\x45\122\x20\x60\161\164\171\x5f\163\x74\145\160\x60"); $cblyO[] = array("\x66\x75\x6e\143" => array($this, "\x61\155\x65\x6e\144")); return $cblyO; } public function amend() { $vF7Dc = Db::getInstance(); $vF7Dc->execute("\101\114\x54\105\x52\40\x54\101\x42\x4c\x45\40\x60" . _DB_PREFIX_ . "\160\160\137\164\x65\x6d\x70\x6c\x61\164\x65\140\x20\x43\x48\x41\x4e\107\x45\x20\x60\x64\x69\163\160\x6c\x61\x79\x5f\x6d\157\144\145\140\40\140\x64\x69\163\160\x6c\x61\x79\137\x6d\x6f\x64\x65\x60\x20\163\x6d\x61\154\154\151\x6e\x74\x20\165\156\163\151\147\x6e\x65\x64\40\x4e\x4f\124\40\116\x55\x4c\114\40\104\105\x46\x41\125\114\x54\x20\60"); $vF7Dc->execute("\x55\x50\x44\x41\x54\x45\x20\x60" . _DB_PREFIX_ . "\x70\x70\x5f\x74\145\155\160\x6c\x61\x74\145\x5f\x65\x78\x74\x5f\x70\x72\157\160\140\x20\123\x45\x54\x20\140\151\x64\137\x65\x78\164\x5f\160\x72\157\x70\x60\x20\x3d\40\x60\x70\x6f\163\x69\164\151\157\x6e\140\40\x57\x48\105\122\105\40\140\x69\x64\137\145\x78\164\137\x70\162\x6f\160\x60\x20\75\x20\60"); return false; } private static function dbInsert($bbza1, $Pcc5w) { $vF7Dc = PSM::getDB(); foreach ($Pcc5w as $aP7sw) { $vF7Dc->insert($bbza1, $aP7sw, false, true, Db::INSERT_IGNORE); RNkT3: } G4Uur: } private static function dbInsertLang($bbza1, $Pcc5w, $HfcTD) { $vF7Dc = PSM::getDB(); foreach ($Pcc5w as $aP7sw) { foreach ($HfcTD as $itcc5) { $aP7sw["\x69\144\x5f\x6c\141\x6e\x67"] = $itcc5["\x69\x64\x5f\x6c\141\156\147"]; $vF7Dc->insert($bbza1, $aP7sw, false, true, Db::INSERT_IGNORE); UUYHd: } DdpHX: GzUef: } E47TH: } private static function dbInsertTemplateSpecial($bbza1, $pVP5j, $Pcc5w) { $vF7Dc = PSM::getDB(); foreach ($Pcc5w as $aP7sw) { $C29Ug = $vF7Dc->getRow("\x53\105\x4c\x45\103\124\x20\140\151\x64\x5f\160\160\x5f\x74\x65\x6d\160\x6c\x61\164\x65\140\x20\x46\x52\x4f\x4d\40\x60" . _DB_PREFIX_ . $bbza1 . "\x60\x20\x57\110\105\x52\105\x20\x60\x69\x64\x5f\160\160\x5f\x74\x65\x6d\x70\154\x61\x74\x65\x60\x20\75\x20" . (int) $aP7sw["\151\x64\x5f\160\x70\137\x74\x65\x6d\160\x6c\141\x74\x65"] . "\40\101\x4e\104\40\x60" . $pVP5j . "\140\x3d\42" . pSQL($aP7sw[$pVP5j]) . "\42"); if (!($C29Ug === false)) { goto alKn1; } $vF7Dc->insert($bbza1, $aP7sw); alKn1: LTcvv: } Izzmh: } private function updateDB() { return $this->setupDB(); } public function checkDbIntegrity() { $FMOv_ = parent::checkDbIntegrity(); if (!(count($FMOv_) > 0)) { goto mPuyH; } foreach ($FMOv_ as $cblyO) { switch ($cblyO["\153\145\x79"]) { case "\x74\x61\142\x6c\145\x5f\x6e\x6f\164\137\x66\x6f\165\x6e\144": $this->module->integration_test_result[$this->l("\x44\141\164\141\x62\x61\x73\x65")][] = sprintf($this->l("\x4d\151\163\163\x69\156\x67\40\164\141\x62\154\x65\x20\42\x25\x73\42"), _DB_PREFIX_ . $cblyO["\164\141\142\x6c\145"]); goto Tyal9; case "\143\x6f\x6c\x75\x6d\x6e\137\x6e\157\164\137\x66\x6f\165\x6e\x64": $this->module->integration_test_result[$this->l("\x44\141\x74\141\142\x61\x73\x65")][] = sprintf($this->l("\x4d\151\x73\x73\151\x6e\147\x20\143\157\x6c\165\155\156\40\42\x25\163\42\x20\x69\156\x20\x74\141\x62\154\x65\40\x22\45\163\x22"), $cblyO["\x63\157\x6c\165\155\x6e"], _DB_PREFIX_ . $cblyO["\x74\x61\x62\154\x65"]); goto Tyal9; case "\x63\157\x6c\165\155\x6e\137\x64\145\146\x69\156\151\x74\151\157\x6e": $this->module->integration_test_result[$this->l("\x44\x61\164\x61\142\x61\163\x65")][] = sprintf($this->l("\x43\x6f\x6c\165\x6d\156\x20\x22\x25\x73\x22\40\x69\156\x20\164\x61\142\x6c\x65\x20\x22\45\163\x22\x20\x6e\x6f\x74\40\160\x72\x6f\x70\145\162\x6c\x79\x20\144\x65\x66\x69\x6e\145\144\x20\133\x25\163\x5d"), $cblyO["\143\157\x6c\x75\x6d\156"], _DB_PREFIX_ . $cblyO["\164\141\x62\154\145"], $cblyO["\x73\161\154"]); goto Tyal9; default: goto Tyal9; } Qi1Om: Tyal9: rn23K: } E6_2e: return false; mPuyH: return true; } public function functionTrue() { return true; } public function checkCartProductPrimaryKey() { $vF7Dc = Db::getInstance(); $FMOv_ = $vF7Dc->getRow("\123\x45\114\105\x43\x54\40\143\x6f\154\x75\x6d\156\137\x6e\x61\x6d\x65\x20\106\x52\117\x4d\x20\151\156\146\157\162\155\x61\164\x69\157\x6e\137\x73\x63\x68\x65\x6d\x61\56\143\157\154\x75\155\156\163\xa\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\127\110\105\122\x45\40\x74\x61\142\154\x65\137\x73\x63\x68\x65\x6d\x61\40\x3d\x20\x27" . _DB_NAME_ . "\x27\12\40\x20\40\x20\x20\x20\x20\x20\x20\40\40\40\x41\x4e\104\40\164\141\x62\154\145\137\x6e\x61\155\145\40\x3d\40\47" . _DB_PREFIX_ . "\x63\141\162\164\137\160\x72\x6f\x64\x75\x63\x74\47\40\x41\x4e\104\40\x63\x6f\154\x75\155\x6e\x5f\153\x65\x79\40\75\40\47\120\122\111\x27"); if (!(is_array($FMOv_) && $FMOv_["\x63\157\154\165\x6d\156\137\156\141\155\x65"] != "\x69\x64\137\143\141\x72\164\137\160\x72\157\144\165\143\164")) { goto VrmY0; } $vF7Dc->execute("\101\114\124\105\x52\40\124\x41\x42\114\105\x20\140" . _DB_PREFIX_ . "\143\141\x72\164\137\160\162\x6f\144\165\x63\164\140\40\x44\x52\x4f\120\x20\x50\122\x49\115\x41\122\131\x20\x4b\x45\131"); VrmY0: return false; } protected static function directoryListing($FY5Hc, $IBIbo = false, &$duEuQ = null) { if (is_array($duEuQ)) { goto ckuUC; } $duEuQ = array(); ckuUC: if (is_dir($FY5Hc)) { goto CqS4U; } if (!(isset($v9sSJ) && ($IBIbo === false || !self::inString($v9sSJ, $IBIbo)))) { goto yMpBM; } $duEuQ[] = $v9sSJ; yMpBM: goto gMigB; CqS4U: $AxtYz = self::excludeFiles(); $WWOgD = dir($FY5Hc); FVTma: if (!(false !== ($HFxE1 = $WWOgD->read()))) { goto tZxBR; } if (!in_array($HFxE1, $AxtYz)) { goto pzFNo; } goto FVTma; pzFNo: $v9sSJ = $FY5Hc . "\x2f" . $HFxE1; if (!is_dir($v9sSJ)) { goto CGcsg; } self::directoryListing($v9sSJ, $IBIbo, $duEuQ); goto FVTma; CGcsg: if (!($IBIbo === false || !self::inString($v9sSJ, $IBIbo))) { goto ZtTBY; } $duEuQ[] = $v9sSJ; ZtTBY: goto FVTma; tZxBR: $WWOgD->close(); gMigB: return $duEuQ; } protected static function inString($O3XfF, $XsJMX) { if (!is_array($XsJMX)) { goto EnUqZ; } foreach ($XsJMX as $RZ6kh) { if (!(Tools::strpos($O3XfF, $XsJMX) !== false)) { goto Y0cIc; } return true; Y0cIc: vOfPe: } gvMAc: return false; EnUqZ: return Tools::strpos($O3XfF, $XsJMX) !== false; } protected static function copyDirectory($FY5Hc, $b3XH1) { if (is_dir($FY5Hc)) { goto oedQ5; } Tools::copy($FY5Hc, $b3XH1); goto SkaTB; oedQ5: mkdir($b3XH1, 0755, true); $WWOgD = dir($FY5Hc); Q651U: if (!(false !== ($HFxE1 = $WWOgD->read()))) { goto eGYFv; } if (!($HFxE1 == "\x2e" || $HFxE1 == "\x2e\x2e")) { goto Kh3zq; } goto Q651U; Kh3zq: $v9sSJ = $FY5Hc . "\57" . $HFxE1; if (!is_dir($v9sSJ)) { goto VyLoz; } self::copyDirectory($v9sSJ, $b3XH1 . "\57" . $HFxE1); goto Q651U; VyLoz: Tools::copy($v9sSJ, $b3XH1 . "\x2f" . $HFxE1); goto Q651U; eGYFv: $WWOgD->close(); SkaTB: } protected static function removeDirectory($Z50wN) { if (!is_dir($Z50wN)) { goto M_33F; } $t1BJu = scandir($Z50wN); if (!(count($t1BJu) > 2)) { goto JAg7X; } foreach ($t1BJu as $vLm6w) { if (!($vLm6w != "\x2e" && $vLm6w != "\56\x2e" && is_dir($Z50wN . "\57" . $vLm6w))) { goto iLNuX; } self::removeDirectory($Z50wN . "\x2f" . $vLm6w); iLNuX: loM51: } vTchQ: JAg7X: $AxtYz = self::excludeFiles(); $ii99Y = true; $t1BJu = scandir($Z50wN); foreach ($t1BJu as $vLm6w) { if (in_array($vLm6w, $AxtYz)) { goto jdAQE; } $ii99Y = false; goto uFJ3g; jdAQE: QJu2f: } uFJ3g: if (!$ii99Y) { goto EyNGZ; } $t1BJu = scandir($Z50wN); foreach ($t1BJu as $vLm6w) { if (!($vLm6w != "\x2e" && $vLm6w != "\56\x2e" && is_file($Z50wN . "\x2f" . $vLm6w))) { goto chR6T; } Tools::deleteFile($Z50wN . "\57" . $vLm6w); chR6T: b7Wml: } nkFbp: rmdir($Z50wN); EyNGZ: M_33F: } protected static function excludeFiles() { $vLm6w = dirname(__FILE__) . "\x2f\x70\x70\163\x65\x74\x75\160\x5f\145\x78\x63\x6c\x75\144\x65\x2e\x69\x6e\143"; if (!file_exists($vLm6w)) { goto z31yO; } $KoaDL = Tools::file_get_contents($vLm6w); return explode("\x7c", $KoaDL); z31yO: return array("\x2e", "\x2e\56", "\x70\x68\x70\x2e\x69\156\151", "\56\x68\x74\141\143\x63\145\163\163", "\x69\x6e\x64\145\x78\x2e\160\x68\160", "\x64\x65\x73\153\164\x6f\x70\56\x69\156\151", "\x2e\104\x53\x5f\123\x74\157\x72\145", "\x2e\147\x69\x74\151\147\156\157\x72\x65", "\56\x67\151\x74\155\157\144\x75\x6c\145\x73", "\56\163\166\156", "\x5f\137\x4d\x41\x43\117\123\130"); } public function l($mL4D7) { return $this->module->l($mL4D7, "\x70\160\163\x65\x74\165\160"); } private function getVersion($vLm6w) { if (!is_file($vLm6w)) { goto h9zYG; } $DjwFh = array(); $KoaDL = Tools::file_get_contents($vLm6w); $DjwFh[self::VERSION_INDEX] = self::getVersionBySignature($KoaDL, self::VERSION_SIGNATURE_START); $DjwFh[self::VERSION_REQUIRED_INDEX] = self::getVersionBySignature($KoaDL, self::VERSION_REQUIRED_SIGNATURE_START); return $DjwFh; h9zYG: return false; } private function getVersionBySignature($KoaDL, $BIjes) { $SjWCH = Tools::strpos($KoaDL, $BIjes); if (!($SjWCH !== false)) { goto wpnN8; } $eFnw0 = Tools::strpos($KoaDL, self::VERSION_SIGNATURE_END, $SjWCH); if (!($eFnw0 !== false)) { goto iOqQ0; } $UX0hM = Tools::strlen($BIjes); return Tools::substr($KoaDL, $SjWCH + $UX0hM, $eFnw0 - $SjWCH - $UX0hM); iOqQ0: wpnN8: return false; } private function getVersionSignature() { return self::VERSION_SIGNATURE_START . $this->module->version . self::VERSION_SIGNATURE_END; } public function smartyIntegrationString() { return "\x69\x66\50\x21\x66\x69\154\145\137\x65\x78\x69\163\x74\163\50\137\x50\123\x5f\115\x4f\x44\x55\x4c\105\137\x44\111\x52\x5f\x2e\47\x70\160\x72\x6f\160\145\x72\164\151\x65\163\x2f\x73\x6d\141\162\164\x79\57\163\155\x61\162\x74\x79\56\x63\157\x6e\146\151\147\56\x69\156\143\x27\x29\51\x7b\100\x69\x6e\x69\x5f\x73\145\164\x28\x27\144\151\x73\x70\154\141\x79\137\x65\162\x72\157\x72\x73\47\x2c\47\x6f\x6e\47\51\73\x40\145\162\162\157\x72\137\x72\x65\160\157\x72\164\151\x6e\x67\x28\105\x5f\x41\x4c\x4c\x29\73\x7d" . "\162\x65\161\165\x69\x72\145\137\x6f\x6e\x63\x65\50\137\120\x53\x5f\115\x4f\x44\125\114\105\x5f\104\111\x52\x5f\56\47\160\160\x72\157\160\145\x72\x74\x69\x65\163\x2f\x73\155\x61\162\x74\x79\x2f\163\155\x61\162\x74\171\56\143\x6f\156\146\151\x67\x2e\151\156\143\x27\51\x3b"; } private function getXmlMd5File($GY9ga, $UJiPJ, $lUmXW = false) { $GY9ga = dirname(__FILE__) . "\x2f\143\157\156\146\151\147\x2f" . $GY9ga; if (is_file($GY9ga)) { goto duJAS; } if (!($lUmXW !== false)) { goto gTO05; } $O5qIh = new Upgrader(); libxml_set_streams_context(@stream_context_create(array("\x68\x74\x74\160" => array("\x74\x69\x6d\145\x6f\x75\164" => 3)))); $WOeKN = @simplexml_load_file($O5qIh->rss_md5file_link_dir . $lUmXW . "\56\x78\155\154"); if (!($WOeKN != false)) { goto k_v8g; } $WOeKN->asXML($GY9ga); k_v8g: gTO05: goto XsDrX; duJAS: $WOeKN = @simplexml_load_file($GY9ga); XsDrX: if (!(isset($WOeKN) && $WOeKN != false)) { goto bkNXi; } $DYEe6 = $this->md5FileAsFilesArray($WOeKN->{$UJiPJ}[0]); return $DYEe6; bkNXi: return false; } private function md5FileAsFilesArray($FZ1Wb, &$qSqh7 = array(), $qWVLN = 1, &$FMOv_ = null) { if (array($FMOv_)) { goto Iaf57; } $FMOv_ = array(); Iaf57: foreach ($FZ1Wb as $jmYHi) { if (is_object($jmYHi) && $jmYHi->getName() == "\144\151\x72") { goto JMcOk; } if (is_object($jmYHi) && $jmYHi->getName() == "\155\x64\x35\146\x69\154\x65") { goto Ehuiw; } goto nv2HX; JMcOk: $qSqh7[$qWVLN] = (string) $jmYHi["\156\141\x6d\145"]; $this->md5FileAsFilesArray($jmYHi, $qSqh7, $qWVLN + 1, $FMOv_); goto nv2HX; Ehuiw: $S5BLJ = ''; $VYzjM = 1; vXeDp: if (!($VYzjM < $qWVLN)) { goto R9hhp; } $S5BLJ .= $qSqh7[$VYzjM] . "\57"; mgejz: $VYzjM++; goto vXeDp; R9hhp: $S5BLJ .= (string) $jmYHi["\156\141\155\x65"]; $FMOv_[$S5BLJ] = (string) $jmYHi; nv2HX: LLuFW: } CbyYy: return $FMOv_; } private function backupFile($vLm6w, $VpAvo = false) { if (!is_file($vLm6w)) { goto V562u; } $Z50wN = self::getBackupDirectory(); $lze7G = str_replace(_PS_ROOT_DIR_, '', $vLm6w); $W2lNn = $Z50wN . str_replace(_PS_ROOT_DIR_, '', dirname($vLm6w)); $hHY6P = $Z50wN . $lze7G; if (!$VpAvo) { goto MAaSO; } Tools::deleteFile($hHY6P); MAaSO: if (is_file($hHY6P)) { goto Geg1k; } if (is_dir($W2lNn)) { goto rNFTJ; } mkdir($W2lNn, 0755, true); rNFTJ: Tools::copy($vLm6w, $hHY6P); $gQY1X = filemtime($vLm6w); if (!($gQY1X !== false)) { goto u6OeZ; } touch($hHY6P, $gQY1X); u6OeZ: Geg1k: V562u: } private function restoreFile($vLm6w) { if (!is_file($vLm6w)) { goto rzkA5; } $Z50wN = self::getBackupDirectory(); $lze7G = str_replace(_PS_ROOT_DIR_, '', $vLm6w); $ug6Ax = $Z50wN . $lze7G; if (!is_file($ug6Ax)) { goto dq6uN; } Tools::copy($ug6Ax, $vLm6w); $gQY1X = filemtime($ug6Ax); if (!($gQY1X !== false)) { goto YcuBU; } touch($vLm6w, $gQY1X); YcuBU: Tools::deleteFile($ug6Ax); dq6uN: rzkA5: } private function cleanup() { self::removeDirectory(self::getBackupRootDirectory()); } private static function getBackupRootDirectory() { return _PS_MODULE_DIR_ . "\x70\x70\x72\157\x70\x65\162\164\151\x65\x73\55\x62\141\143\x6b\x75\160"; } private static function getBackupDirectory() { return self::getBackupRootDirectory() . "\x2f" . _PS_VERSION_; } private static function truncateString($zyZeF, $UX0hM = 120) { if (!is_array($zyZeF)) { goto oJ5B2; } $zyZeF = implode("\x20", $zyZeF); oJ5B2: return Tools::truncateString($zyZeF, $UX0hM); } }
/*
$->l('Overridden files');
$->l('File "%s" overridden by "%s"');
$->l('Modified files');
$->l('(modified by %s)');
$->l('Files integration');
$->l('Warnings');
$->l('Version mismatch detected.');
$->l('You installed %s version %s but the currently running version is %s.');
$->l('In order to properly upgrade the module, please restore the original files of the previously installed %s version %s and uninstall the module.');
$->l('Follow installation and upgrading instructions in the module documentation.');
$->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 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 2e73285c594ac7e055ada4e923bb7823
Eval Count 0
Decode Time 176 ms