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 goto IagDX; IagDX: $cache_shop_by_product = array(); goto AoB5z; AoB5z: $cache_wareh..
Decoded Output download
<?php goto IagDX; IagDX: $cache_shop_by_product = array(); goto AoB5z; AoB5z: $cache_warehouse_by_product = array(); goto llYh1; llYh1: $cache_tax = array(); goto jcbJU; jcbJU: class SCI { protected static $scModulesInfos; public $ps_vers; public static function getDefaultCountryId() { goto HO6V7; Sm0rh: goto VHU9E; goto zJ3Il; zJ3Il: JjZF4: goto TAEPl; SN5Nq: $return = SC_CACHE_DEFAULT_COUNTRY_ID; goto Sm0rh; Qp6KX: return $return; goto MiKFQ; SVw1n: if (!defined("SC_CACHE_DEFAULT_COUNTRY_ID")) { goto JjZF4; } goto SN5Nq; HO6V7: $return = 0; goto SVw1n; TAEPl: $return = (int) self::getConfigurationValue("PS_COUNTRY_DEFAULT", null, 0, (int) self::getSelectedShop()); goto axCW2; g3KOl: VHU9E: goto Qp6KX; axCW2: define("SC_CACHE_DEFAULT_COUNTRY_ID", $return); goto g3KOl; MiKFQ: } public static function hookExec($hook_name, $hookArgs = array(), $id_module = null) { goto J85qQ; u9r2H: return $result; goto wTZxd; HeUYy: if (SCMS) { goto ZykJN; } goto XXDVE; J85qQ: if (!empty(Context::getContext()->currency)) { goto s1N4f; } goto vzVLC; Er3ZW: if (!($hook_name == "actionProductUpdate")) { goto R3C_X; } goto f8nKg; pPPLM: p9iuW: goto u9r2H; CDRjS: goto yxefU; goto zkBE8; ZeMz8: if (!array_key_exists($hook_name, $old_to_new_hook)) { goto znOay; } goto UJ5qe; CMQBP: $result = Hook::exec(sc_array_key_exists(strtolower($hook_name), $alias) ? $alias[strtolower($hook_name)] : $hook_name, $hookArgs, $id_module, false, true, false, (int) self::getSelectedShop()); goto Vi_eF; OnGdw: $alias = Hook::getAllKnownNames($hook_name); goto WGXHn; zkBE8: hiiI6: goto OnGdw; UJ5qe: $hook_name = $old_to_new_hook[$hook_name]; goto ci3Z2; qXkSH: $old_to_new_hook = array("updateProduct" => "actionProductUpdate", "updateProductAttribute" => "actionProductAttributeUpdate", "watermark" => "actionWatermark"); goto ZeMz8; Vi_eF: cu1oP: goto FUmLr; ci3Z2: znOay: goto jzaIa; WGXHn: yxefU: goto Er3ZW; f8nKg: $old_value = Configuration::get("PS_SMARTY_CLEAR_CACHE"); goto TwUWr; Yt45G: ZykJN: goto CMQBP; XMNMK: s1N4f: goto qXkSH; XXDVE: $result = Hook::exec(sc_array_key_exists(strtolower($hook_name), $alias) ? $alias[strtolower($hook_name)] : $hook_name, $hookArgs, $id_module); goto B0fdI; cwRfd: return; goto RFvu6; RFvu6: y0BlF: goto AkF1X; TwUWr: self::updateConfigurationValue("PS_SMARTY_CLEAR_CACHE", "never"); goto EsDNf; B0fdI: goto cu1oP; goto Yt45G; FUmLr: if (!($hook_name == "actionProductUpdate")) { goto p9iuW; } goto LgyxH; LgyxH: self::updateConfigurationValue("PS_SMARTY_CLEAR_CACHE", $old_value); goto pPPLM; AkF1X: if (version_compare(_PS_VERSION_, "1.7.1.0", ">=") && method_exists("Hook", "getAllKnownNames")) { goto hiiI6; } goto dudlX; dudlX: $alias = Hook::getHookAliasList(); goto CDRjS; EsDNf: R3C_X: goto HeUYy; jzaIa: if (!(!_s("APP_COMPAT_HOOK") || !self::checkUsedHook($hook_name))) { goto y0BlF; } goto cwRfd; vzVLC: Context::getContext()->currency = Currency::getDefaultCurrency(); goto XMNMK; wTZxd: } public static function checkUsedHook($hook_name) { goto D0V1w; Bn0YR: if (isset($hook_list[self::getSelectedShop()])) { goto e7YFN; } goto YQASF; f8CJT: D_xmo: goto M2V90; D0V1w: $hook_list = json_decode(SC_HOOK_MODULE_LIST, true); goto Bn0YR; a5mOK: goto Gw4BI; goto jMBey; qo8R1: Nx59K: goto e1ELP; sW0OL: $hook_list_by_shop = $hook_list[self::getSelectedShop()]; goto Q2OAw; YQASF: $hook_list_by_shop = $hook_list; goto a5mOK; e1ELP: return sc_array_key_exists(strtolower($hook_name), $hook_list_by_shop); goto f8CJT; q0h9q: goto D_xmo; goto qo8R1; Nja3Q: if (!empty($hook_list)) { goto Nx59K; } goto i01YF; Q2OAw: Gw4BI: goto Nja3Q; jMBey: e7YFN: goto sW0OL; i01YF: return true; goto q0h9q; M2V90: } public static function addToShops($objectTableName, $objects_id = array(), $shops = array()) { goto l4nzE; dG2og: if (!empty($shops)) { goto sDlJb; } goto sAhPq; sAhPq: $shops = Shop::getShops(true, null, true); goto pvnaB; pvnaB: sDlJb: goto iUWxd; kouo2: return; goto tOoaQ; xbV2k: if (!count($newRelations)) { goto SH3fs; } goto NrbnQ; nHVKr: SH3fs: goto PK7CC; iUWxd: $relationsArray = Db::getInstance()->getValue("SELECT GROUP_CONCAT(CONCAT("(",id_shop,",",id_" . pSQL($objectTableName) . ",")") SEPARATOR "#") as relations
FROM " . _DB_PREFIX_ . pSQL($objectTableName) . "_shop
WHERE id_" . pSQL($objectTableName) . " IN (" . implode(",", $objects_id) . ")"); goto XDX4s; NrbnQ: $sql = "INSERT INTO " . _DB_PREFIX_ . pSQL($objectTableName) . "_shop (id_shop,id_" . pSQL($objectTableName) . ") VALUES " . join(",", $newRelations); goto ZZOX4; vm3Ml: $newRelations = array(); goto ldV7H; tOoaQ: TTwIT: goto dG2og; XDX4s: $relationsArray = explode("#", $relationsArray); goto vm3Ml; l4nzE: if (!empty($objects_id)) { goto TTwIT; } goto kouo2; Eq6qr: v0bI7: goto No9lb; ZZOX4: Db::getInstance()->Execute($sql); goto nHVKr; ldV7H: foreach ($shops as $id_shop) { goto r0EwK; mDaHQ: GGZgZ: goto IBXA_; glRDe: SI92A: goto mDaHQ; r0EwK: foreach ($objects_id as $id_object) { $newRelations[] = "(" . (int) $id_shop . "," . (int) $id_object . ")"; u4mvt: } goto glRDe; IBXA_: } goto Eq6qr; No9lb: $newRelations = arrayDiffEmulation($newRelations, $relationsArray); goto xbV2k; PK7CC: } public static function duplicateImageToShops($object_id, $actual_shop_id, $shops = array()) { goto f7Ls0; ovwG0: $other_shops = array(); goto oEauI; q6Lvc: qzhoi: goto sBdqU; f7Ls0: if (!(empty($object_id) || empty($actual_shop_id) || empty($shops))) { goto qzhoi; } goto T5Ikl; DxjTH: $sql = "INSERT INTO " . _DB_PREFIX_ . "image_shop (`id_shop`,`id_image`,`id_product`,`cover`) VALUES " . join(",", $other_shops); goto UMIIG; oEauI: foreach ($shops as $shop) { goto YIfFV; YIfFV: if (!empty($image_actual_shop["cover"])) { goto qiGrH; } goto h4tjp; h4tjp: $image_actual_shop["cover"] = "NULL"; goto AO0lo; IHqWz: $other_shops[] = "(" . (int) $shop . "," . (int) $image_actual_shop["id_image"] . "," . (int) $image_actual_shop["id_product"] . "," . $image_actual_shop["cover"] . ")"; goto P_ISW; AO0lo: qiGrH: goto IHqWz; P_ISW: uBwCc: goto LbN1G; LbN1G: } goto yjF45; yjF45: cwXcP: goto LFVTj; kD2f6: GtIYp: goto QgzIb; T5Ikl: return; goto q6Lvc; sBdqU: Db::getInstance()->execute("DELETE FROM " . _DB_PREFIX_ . "image_shop WHERE id_image = '" . (int) $object_id . "' AND id_shop IN (" . pInSQL(join(",", $shops)) . ")"); goto SFo8K; UMIIG: Db::getInstance()->execute($sql); goto kD2f6; SFo8K: $image_actual_shop = Db::getInstance()->getRow("SELECT img_s.id_shop,img_s.id_image,img_s.cover, i.id_product\xa FROM " . _DB_PREFIX_ . "image_shop img_s\xa INNER JOIN " . _DB_PREFIX_ . "image i ON (img_s.id_image=i.id_image)
WHERE img_s.id_image = '" . (int) $object_id . "' AND img_s.id_shop='" . (int) $actual_shop_id . "'"); goto ovwG0; LFVTj: if (!count($other_shops)) { goto GtIYp; } goto DxjTH; QgzIb: } public static function getLastPositionFromCategory($id_category, $id_shop = 1) { return Category::getLastPosition($id_category, $id_shop); } public static function imageResize($sourceFile, $destFile, $destWidth = null, $destHeight = null, $fileType = "jpg") { return @ImageManager::resize($sourceFile, $destFile, $destWidth, $destHeight, $fileType); } public static function updateConfigurationValue($key, $values, $html = false, $id_shop_group = 0, $id_shop = 0) { return Configuration::updateValue($key, $values, $html, $id_shop_group, $id_shop); } public static function getConfigurationValue($key, $id_lang = null, $id_shop_group = 0, $id_shop = 0) { return Configuration::get($key, $id_lang, $id_shop_group, $id_shop); } public static function getEcotaxTaxRate() { goto EQJaz; H1Upj: return $return; goto s3q6U; Ub7NI: $tax_calculator = $tax_manager->getTaxCalculator(); goto dx8_T; n_Xm9: zhFWQ: goto d6pa5; Yfj3m: $address = Address::initialize(null); goto kx0f2; oKRp3: if ((int) self::getConfigurationValue("PS_USE_ECOTAX", null, 0, (int) self::getSelectedShop()) == 0) { goto fypFB; } goto Yfj3m; dx8_T: $return = $tax_calculator->getTotalRate() / 100 + 1; goto DyoV6; blB2f: vP4oD: goto H1Upj; nY0Fu: if (!defined("SC_CACHE_ECOTAX_RATE")) { goto wTdMC; } goto eADA8; DHsiW: wTdMC: goto oKRp3; DyoV6: goto zhFWQ; goto pnfj9; kx0f2: $tax_manager = TaxManagerFactory::getManager($address, (int) Configuration::get("PS_ECOTAX_TAX_RULES_GROUP_ID", null, 0, (int) self::getSelectedShop())); goto Ub7NI; pnfj9: fypFB: goto kwghe; EQJaz: $return = 100; goto nY0Fu; eADA8: $return = SC_CACHE_ECOTAX_RATE; goto iS4Yt; iS4Yt: goto vP4oD; goto DHsiW; d6pa5: define("SC_CACHE_ECOTAX_RATE", $return); goto blB2f; kwghe: $return = 1; goto n_Xm9; s3q6U: } public static function isEcotaxHasTaxRate() { $hasTaxes = Configuration::get("PS_ECOTAX_TAX_RULES_GROUP_ID", null, Shop::getGroupFromShop(self::getSelectedShop()), self::getSelectedShop()); return $hasTaxes > 0; } public static function getSelectedShopActionList($string = false, $id_product = null) { goto GlHM8; I3UY3: $list = $string ? implode(",", $list) : $list; goto o9p_3; qfuHc: goto sSutP; goto ql7gU; skyBO: $list = array(self::getSelectedShop()); goto qfuHc; R7gwn: $list_temp = array(); goto ubKp3; FLKDu: sa0aP: goto I3UY3; P7fXZ: if (empty($id_product)) { goto sa0aP; } goto R7gwn; h9R8q: $list = explode(",", $_COOKIE["sc_shop_list"]); goto nlwAj; ubKp3: $shops = self::getShopsByProduct($id_product); goto JRKrk; skyao: t0LHV: goto ZKvfi; ZKvfi: $list = $list_temp; goto FLKDu; ql7gU: jqr0N: goto h9R8q; GlHM8: $list = array(); goto R7j30; o9p_3: return $list; goto kplR1; JRKrk: foreach ($shops as $shop_id) { goto fNku8; SsCIU: $list_temp[] = $shop_id; goto GSHvj; GSHvj: weqPz: goto GxbRA; fNku8: if (!sc_in_array($shop_id, $list, "SCISelectShopProduct")) { goto weqPz; } goto SsCIU; GxbRA: B1C88: goto jzE61; jzE61: } goto skyao; R7j30: if (!empty($_COOKIE["sc_shop_list"])) { goto jqr0N; } goto skyBO; nlwAj: sSutP: goto P7fXZ; kplR1: } public static function getSelectedShop() { goto hyO4y; d9bHk: return (int) Configuration::get("PS_SHOP_DEFAULT"); goto lLybj; hyO4y: if (!SCMS) { goto lSRz7; } goto zN8s1; Xd6Bm: lSRz7: goto d9bHk; zN8s1: return isset($_COOKIE["sc_shop_selected"]) ? (int) $_COOKIE["sc_shop_selected"] : 0; goto Xd6Bm; lLybj: } public static function getAllShops() { goto zrBwF; zt3B6: return $results; goto P7MAl; RiruA: $results = Db::getInstance()->executeS($sql); goto zt3B6; zrBwF: $sql = "SELECT s.*
FROM " . _DB_PREFIX_ . "shop s\xa WHERE s.deleted = 0"; goto RiruA; P7MAl: } public static function getShopsByProduct($id_product) { goto M4ru5; GmCU3: oOd9M: goto D7Zix; xFpO7: $res = Db::getInstance()->executeS("
SELECT `id_shop`
FROM `" . _DB_PREFIX_ . "product_shop`\xa WHERE `id_product` = " . (int) $id_product); goto H_ODm; fe2cc: return $list; goto W1qeI; D7Zix: if (empty($cache)) { goto wmRSG; } goto u4hmN; vs7BZ: foreach ($res as $value) { $list[] = $value["id_shop"]; l8QVy: } goto WMKmV; uOKdv: MVoG3: goto vrKU4; vrKU4: $cache_shop_by_product[$id_product] = $list; goto WgLlH; H_ODm: if (!(!empty($res) && count($res) > 0)) { goto MVoG3; } goto vs7BZ; WMKmV: ZhfbW: goto uOKdv; M4ru5: global $cache_shop_by_product; goto blzG3; WgLlH: swFBN: goto fe2cc; u4hmN: $list = $cache; goto zEWIY; rgAtD: if (!sc_array_key_exists($id_product, $cache_shop_by_product)) { goto oOd9M; } goto ynb4t; ynb4t: $cache = $cache_shop_by_product[$id_product]; goto GmCU3; zEWIY: goto swFBN; goto KJduh; fYB1n: $list = array(); goto xFpO7; KJduh: wmRSG: goto fYB1n; blzG3: $cache = array(); goto rgAtD; W1qeI: } public static function getShopsByCategory($id_category) { goto FeYVM; FeYVM: global $cache_shop_by_category; goto gQdYR; qewbB: Ucmbe: goto xp2SP; Vh88u: O1WvW: goto L6oCo; Uq2dU: goto Ucmbe; goto fC5pO; qrTWf: $list = array(); goto hPbDY; J886x: $cache = $cache_shop_by_category[$id_category]; goto h4kzo; gQdYR: $cache = array(); goto uJ2Fn; tn63_: $cache_shop_by_category[$id_category] = $list; goto qewbB; hPbDY: $res = Db::getInstance()->executeS("\xa SELECT `id_shop`\xa FROM `" . _DB_PREFIX_ . "category_shop`
WHERE `id_category` = " . (int) $id_category); goto l8z9l; wKGs5: $list = $cache; goto Uq2dU; xp2SP: return $list; goto tF4Ug; dm_Qb: foreach ($res as $value) { $list[] = $value["id_shop"]; bytiB: } goto Vh88u; uJ2Fn: if (!(is_array($cache_shop_by_category) && sc_array_key_exists($id_category, $cache_shop_by_category))) { goto fx4Tw; } goto J886x; fC5pO: zEjBA: goto qrTWf; L6oCo: EFrwY: goto tn63_; h4kzo: fx4Tw: goto axztK; l8z9l: if (!(!empty($res) && count($res) > 0)) { goto EFrwY; } goto dm_Qb; axztK: if (empty($cache)) { goto zEjBA; } goto wKGs5; tF4Ug: } public static function qtySumStockAvailable($id_product, $specific_shop_id_list = array()) { goto ak0u_; sjUm_: KxKtl: goto NawhC; ak0u_: if (!empty($specific_shop_id_list)) { goto KxKtl; } goto nscU5; v0jR0: SXBUf: goto hl3Dg; zY2F2: goto Q_wcE; goto sjUm_; nscU5: $shops = self::getShopsByProduct($id_product); goto zY2F2; NawhC: $shops = $specific_shop_id_list; goto ylENi; XfHP3: foreach ($shops as $shop_id) { goto dxkxF; Nhe_p: if (!($new_qty !== null)) { goto Q2zkp; } goto ethLZ; dxkxF: $query = new DbQuery(); goto nbwkf; JpnSs: $query->from("stock_available"); goto yzAZh; yzAZh: $query->where("id_product = " . (int) $id_product); goto cyI6S; bFS2n: TXAj2: goto a22Qe; G7Vbn: $query = StockAvailable::addSqlShopRestriction($query, $shop_id); goto AYZVy; nbwkf: $query->select("SUM(quantity)"); goto JpnSs; cyI6S: $query->where("id_product_attribute != 0 "); goto G7Vbn; tGILK: Q2zkp: goto bFS2n; ethLZ: self::setQuantity($id_product, 0, (int) $new_qty, $shop_id); goto tGILK; AYZVy: $new_qty = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto Nhe_p; a22Qe: } goto v0jR0; ylENi: Q_wcE: goto XfHP3; hl3Dg: } public static function getSelectedWarehouse() { goto aVL9r; GUZF4: return isset($_COOKIE["sc_warehouse_selected"]) ? (int) $_COOKIE["sc_warehouse_selected"] : 0; goto CPYDu; xmXk2: return 0; goto a0uTR; aVL9r: if (SCAS) { goto OhS2m; } goto xmXk2; a0uTR: goto k5tCY; goto EhCrd; EhCrd: OhS2m: goto GUZF4; CPYDu: k5tCY: goto P02eB; P02eB: } public static function getProductRealQuantities($id_product, $id_product_attribute, $ids_warehouse = null, $usable = false, $has_combination = false) { return Product::getRealQuantity((int) $id_product, (int) $id_product_attribute, $ids_warehouse, (int) self::getSelectedShop()); } public static function getProductPhysicalQuantities($id_product, $id_product_attribute, $ids_warehouse = null, $usable = false, $has_combination = false) { goto OQGMu; CD_L2: $query->where("s.id_warehouse IN(" . pInSQL(implode(", ", $ids_warehouse) . ")")); goto lmo3N; VIfft: DhQ_p: goto qhYWb; Jsm7_: if (empty($id_product_attribute)) { goto JSEGu; } goto l65vz; iaxv3: if (!count($ids_warehouse)) { goto lTVg0; } goto CD_L2; BEi5b: $query->where("s.id_product = " . (int) $id_product); goto Jsm7_; tNZ6H: return (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto Nz6DB; MTaMd: if (count($ids_warehouse)) { goto yElQ9; } goto fsIXj; nlKti: if (is_array($ids_warehouse)) { goto B2Cdp; } goto OYMqK; cCBxu: $query->select("SUM(" . ($usable ? "s.usable_quantity" : "s.physical_quantity") . ")"); goto n9CL8; fKda5: if (!$has_combination) { goto MegpN; } goto fjvnt; n9CL8: $query->from("stock", "s"); goto VBrsw; l65vz: $query->where("s.id_product_attribute = " . (int) $id_product_attribute); goto LEzrr; AeP1T: OcU4q: goto nlKti; VBrsw: if (!$has_combination) { goto r52vz; } goto B7bHY; fsIXj: return 0; goto B4ahX; Wi3v6: B2Cdp: goto zzT_7; XWrnJ: goto DhQ_p; goto AeP1T; lmo3N: lTVg0: goto fKda5; qhYWb: $query = new DbQuery(); goto cCBxu; B7Meq: $ids_warehouse = array(); goto XWrnJ; u9blR: MegpN: goto tNZ6H; B7bHY: $query->innerJoin("warehouse_product_location", "wpl", "(wpl.id_product = s.id_product AND wpl.id_product_attribute = s.id_product_attribute" . (count($ids_warehouse) ? " AND wpl.id_warehouse IN(" . pInSQL(implode(", ", $ids_warehouse)) . ")" : '') . ")"); goto kjzx3; OYMqK: $ids_warehouse = array($ids_warehouse); goto Wi3v6; OQGMu: if (!is_null($ids_warehouse)) { goto OcU4q; } goto B7Meq; zzT_7: $ids_warehouse = array_map("intval", $ids_warehouse); goto MTaMd; B4ahX: yElQ9: goto VIfft; LEzrr: JSEGu: goto iaxv3; fjvnt: $query->where("s.id_product_attribute != 0"); goto u9blR; kjzx3: r52vz: goto BEi5b; Nz6DB: } public static function getCustomerCartRules($id_lang, $id_customer, $active = false, $includeGeneric = true, $inStock = false, Cart $cart = null, $free_shipping_only = false, $highlight_only = false) { goto uOcMs; zoPDP: return self::_getCustomerCartRules($id_lang, $id_customer, $active, $includeGeneric, $inStock, $cart); goto r8cc2; H4gfo: return self::_getCustomerCartRules_17($id_lang, $id_customer, $active, $includeGeneric, $inStock, $cart, $free_shipping_only, $highlight_only); goto k4j6n; k4j6n: hnj2I: goto zoPDP; uOcMs: if (!version_compare(_PS_VERSION_, "1.7.0.0", ">=")) { goto hnj2I; } goto H4gfo; r8cc2: } public static function _getCustomerCartRules_17($id_lang, $id_customer, $active = false, $includeGeneric = true, $inStock = false, Cart $cart = null, $free_shipping_only = false, $highlight_only = false) { goto uRiRQ; EXRLR: foreach ($result as &$cart_rule) { goto gUIYk; nDWkK: $quantity_used += $cart->getDiscountsCustomer((int) $cart_rule["id_cart_rule"]); goto vK8O8; djBCL: goto pfZCr; goto BhJK7; Zt8Td: $quantity_used = Order::getDiscountsCustomer((int) $id_customer, (int) $cart_rule["id_cart_rule"]); goto cnrQC; vK8O8: xWVnL: goto oWDek; jcyS_: pfZCr: goto OXQ39; oWDek: $cart_rule["quantity_for_user"] = $cart_rule["quantity_per_user"] - $quantity_used; goto jcyS_; jjXKi: $cart_rule["quantity_for_user"] = 0; goto djBCL; OXQ39: mfQhy: goto tlTRP; BhJK7: gqRfm: goto Zt8Td; cnrQC: if (!(isset($cart) && isset($cart->id))) { goto xWVnL; } goto nDWkK; gUIYk: if ($cart_rule["quantity_per_user"]) { goto gqRfm; } goto jjXKi; tlTRP: } goto alKNk; zhwNn: unset($cart_rule); goto bAPdV; n86JU: xsIv0: goto Hjemu; hDTOS: sI7yQ: goto zlwhh; alKNk: k2D0u: goto zhwNn; avDxn: $customerGroups = Customer::getGroupsStatic($id_customer); goto GLkhS; Y4bLD: if (!($includeGeneric && (int) $id_customer != 0)) { goto mGb2D; } goto tbEZt; PfVJK: if ($country_restriction) { goto zIiL_; } goto gwaj7; m103S: gVDDv: goto SscI3; hzabz: $sql_part2 = " AND cr.date_from < "" . date("Y-m-d H:i:s") . ""\xa AND cr.date_to > "" . date("Y-m-d H:i:s") . ""\xa " . ($active ? "AND cr.`active` = 1" : '') . "
" . ($inStock ? "AND cr.`quantity` > 0" : ''); goto uY7c5; ac1Yl: x3oXG: goto Pjisd; uY7c5: if (!$free_shipping_only) { goto sI7yQ; } goto OS8LB; W5KoV: $result = array(); goto PFv_F; nPYCO: $sql = "(SELECT SQL_NO_CACHE " . $sql_part1 . " WHERE cr.`id_customer` = " . (int) $id_customer . " " . $sql_part2 . ")"; goto fnIsf; uRiRQ: if (CartRule::isFeatureActive()) { goto x3oXG; } goto cO2da; KdXZQ: N3aKD: goto nPYCO; twpCc: mGb2D: goto dSwck; fnIsf: $sql .= " UNION (SELECT " . $sql_part1 . " WHERE cr.`group_restriction` = 1 " . $sql_part2 . ")"; goto Y4bLD; gwaj7: $result = $result_bak; goto rHzo4; rHzo4: zIiL_: goto ehWeG; zlwhh: if (!$highlight_only) { goto N3aKD; } goto C4idg; GLkhS: foreach ($result as $key => $cart_rule) { goto i8wuu; oFhm7: foreach ($cartRuleGroups as $cartRuleGroup) { goto v3Mw9; Csj55: dU64R: goto JdR3w; JdR3w: y1D77: goto poyFM; Tc0DZ: goto YSOz9; goto Csj55; v3Mw9: if (!in_array($cartRuleGroup["id_group"], $customerGroups)) { goto dU64R; } goto Tc0DZ; poyFM: } goto nMcRy; i8wuu: if (!$cart_rule["group_restriction"]) { goto qGl9D; } goto f3ffd; f3ffd: $cartRuleGroups = Db::getInstance()->executeS("SELECT id_group FROM " . _DB_PREFIX_ . "cart_rule_group WHERE id_cart_rule = " . (int) $cart_rule["id_cart_rule"]); goto oFhm7; XFkMh: YSOz9: goto JYDxf; XuACt: qGl9D: goto XFkMh; gDnTk: unset($result[$key]); goto XuACt; nMcRy: J6mD3: goto gDnTk; JYDxf: } goto On4W2; GCLcl: foreach ($result as $key => $cart_rule) { goto Nm77a; Lzy6s: if (!($r !== false)) { goto cTIas; } goto udVhk; EDOWB: BQxTo: goto yDFzJ; CcNi3: AmKqS: goto uWi_J; t26Jp: N3gv3: goto Lzy6s; LjfvI: unset($result[$key]); goto JnyRc; Nm77a: if (!$cart_rule["product_restriction"]) { goto mkyx3; } goto fDErY; OA2g0: if (version_compare(_PS_VERSION_, "8.0.0", ">=")) { goto BQxTo; } goto nKK6H; nKK6H: $r = $cr->checkProductRestrictions(Context::getContext(), false, false); goto NxTNg; NxTNg: goto N3gv3; goto EDOWB; JnyRc: mkyx3: goto CcNi3; udVhk: goto AmKqS; goto dqjTC; fDErY: $cr = new CartRule((int) $cart_rule["id_cart_rule"]); goto OA2g0; yDFzJ: $r = $cr->checkProductRestrictionsFromCart($cart, false, false); goto t26Jp; dqjTC: cTIas: goto LjfvI; uWi_J: } goto og7ZJ; AGWoU: foreach ($result_bak as $key => $cart_rule) { goto ZCpYT; o7Ls5: $result[] = $result_bak[$key]; goto QlC4n; ZCpYT: if ($cart_rule["country_restriction"]) { goto PWXWB; } goto o7Ls5; dJMck: nL0a0: goto P4sEj; mFeZH: if (!(is_array($countries) && count($countries))) { goto wmHjJ; } goto SHsUh; QlC4n: goto FmNQP; goto OgAO7; bk2u9: gDK30: goto GN7br; GN7br: wmHjJ: goto DQ0ch; IKT2T: $country_restriction = true; goto kk41A; DQ0ch: FmNQP: goto dJMck; SHsUh: foreach ($countries as $country) { goto Vdlph; jy_x3: goto gDK30; goto LVVtU; McBa7: if (!$id_cart_rule) { goto CNm9k; } goto q_zDX; Vdlph: $id_cart_rule = (bool) Db::getInstance()->getValue("
SELECT crc.id_cart_rule\xa FROM " . _DB_PREFIX_ . "cart_rule_country crc
WHERE crc.id_cart_rule = " . (int) $cart_rule["id_cart_rule"] . "
AND crc.id_country = " . (int) $country["id_country"]); goto McBa7; yvRmh: IL9ht: goto K8DMD; q_zDX: $result[] = $result_bak[$key]; goto jy_x3; LVVtU: CNm9k: goto yvRmh; K8DMD: } goto bk2u9; OgAO7: PWXWB: goto IKT2T; kk41A: $countries = Db::getInstance()->ExecuteS("\xa SELECT `id_country`\xa FROM `" . _DB_PREFIX_ . "address`
WHERE `id_customer` = " . (int) $id_customer . "\xa AND `deleted` = 0"); goto mFeZH; P4sEj: } goto DIB3k; PFv_F: $country_restriction = false; goto AGWoU; bAPdV: foreach ($result as $key => $cart_rule) { goto Dp4Ni; Nlany: foreach ($cartRuleShops as $cartRuleShop) { goto fvmij; ay_aV: mSN_S: goto K5LFA; fvmij: if (!(Shop::isFeatureActive() && $cartRuleShop["id_shop"] == (int) self::getSelectedShop())) { goto mSN_S; } goto xTMRW; xTMRW: goto r2TSc; goto ay_aV; K5LFA: Vgbta: goto taedP; taedP: } goto gnvrj; gnvrj: REZDE: goto R4OEf; nBVex: r2TSc: goto X1ETd; R4OEf: unset($result[$key]); goto tOcoF; woOb9: $cartRuleShops = Db::getInstance()->executeS("SELECT id_shop FROM " . _DB_PREFIX_ . "cart_rule_shop WHERE id_cart_rule = " . (int) $cart_rule["id_cart_rule"]); goto Nlany; Dp4Ni: if (!$cart_rule["shop_restriction"]) { goto AkpBN; } goto woOb9; tOcoF: AkpBN: goto nBVex; X1ETd: } goto m103S; DIB3k: OQztN: goto PfVJK; AtQlc: return array(); goto tXP7F; cO2da: return array(); goto ac1Yl; dSwck: $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql, true, false); goto OxR1p; Pjisd: $sql_part1 = "* FROM `" . _DB_PREFIX_ . "cart_rule` cr\xa LEFT JOIN `" . _DB_PREFIX_ . "cart_rule_lang` crl ON (cr.`id_cart_rule` = crl.`id_cart_rule` AND crl.`id_lang` = " . (int) $id_lang . ")"; goto hzabz; OxR1p: if (!empty($result)) { goto SjJmh; } goto AtQlc; tXP7F: SjJmh: goto avDxn; On4W2: b7xzT: goto EXRLR; C4idg: $sql_part2 .= " AND highlight = 1 AND code NOT LIKE "" . pSQL(CartRule::BO_ORDER_CODE_PREFIX) . "%""; goto KdXZQ; og7ZJ: f_zbl: goto n86JU; OS8LB: $sql_part2 .= " AND free_shipping = 1 AND carrier_restriction = 1"; goto hDTOS; tbEZt: $sql .= " UNION (SELECT " . $sql_part1 . " WHERE cr.`id_customer` = 0 " . $sql_part2 . ")"; goto twpCc; Hjemu: $result_bak = $result; goto W5KoV; ehWeG: return $result; goto vJPaj; SscI3: if (!(isset($cart) && isset($cart->id))) { goto xsIv0; } goto GCLcl; vJPaj: } public static function _getCustomerCartRules($id_lang, $id_customer, $active = false, $includeGeneric = true, $inStock = false, Cart $cart = null) { goto OBMbw; hdJnt: $customerGroups = Customer::getGroupsStatic($id_customer); goto zv_Uk; Lhwmh: foreach ($result as $cart_rule) { goto VkAPz; YBA1f: n7HAe: goto GBhza; TjcAf: $quantity_used += $cart->getDiscountsCustomer((int) $cart_rule["id_cart_rule"]); goto VwjLA; AYwHX: GkLt6: goto Sb1rc; IM9rZ: $cart_rule["quantity_for_user"] = $cart_rule["quantity_per_user"] - $quantity_used; goto AYwHX; VwjLA: vRoKe: goto IM9rZ; I1BKn: if (!(isset($cart) && isset($cart->id))) { goto vRoKe; } goto TjcAf; D00Rr: $cart_rule["quantity_for_user"] = 0; goto P3K55; GBhza: $quantity_used = Order::getDiscountsCustomer((int) $id_customer, (int) $cart_rule["id_cart_rule"]); goto I1BKn; P3K55: goto GkLt6; goto YBA1f; VkAPz: if ($cart_rule["quantity_per_user"]) { goto n7HAe; } goto D00Rr; Sb1rc: n83EO: goto LNULy; LNULy: } goto XDLRW; gEIxq: return array(); goto Y0GO2; Y0GO2: CS2wG: goto I0EN6; NeLCS: cx71q: goto l6mLP; OBMbw: if (CartRule::isFeatureActive()) { goto CS2wG; } goto gEIxq; XDLRW: xYn7O: goto vXF7Q; kQi_1: SBCMp: goto tKwia; fyTtj: return $result; goto OZwW9; tKwia: KhgPk: goto Lhwmh; l6mLP: qYX7k: goto FHyK2; nC6nJ: if (!$includeGeneric) { goto KhgPk; } goto hdJnt; AQPa6: foreach ($result as $cart_rule) { goto z2ZIt; z2ZIt: if (!$cart_rule["shop_restriction"]) { goto cXvHg; } goto A5e0a; tF1XK: foreach ($cartRuleShops as $cartRuleShop) { goto s7Oos; m_vQ1: XzcB9: goto xXov1; V5dAZ: goto RqiiC; goto Vs6ue; s7Oos: if (!(Shop::isFeatureActive() && $cartRuleShop["id_shop"] == (int) self::getSelectedShop())) { goto djw9W; } goto V5dAZ; Vs6ue: djw9W: goto m_vQ1; xXov1: } goto cm1B8; VRPEO: cXvHg: goto e7vCB; e7vCB: RqiiC: goto iTknp; cm1B8: ErXvu: goto r2ZJP; A5e0a: $cartRuleShops = Db::getInstance()->executeS("SELECT id_shop FROM " . _DB_PREFIX_ . "cart_rule_shop WHERE id_cart_rule = " . (int) $cart_rule["id_cart_rule"]); goto tF1XK; r2ZJP: unset($result[$key]); goto VRPEO; iTknp: } goto NeLCS; I0EN6: $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS("
SELECT *\xa FROM `" . _DB_PREFIX_ . "cart_rule` cr\xa LEFT JOIN `" . _DB_PREFIX_ . "cart_rule_lang` crl ON (cr.`id_cart_rule` = crl.`id_cart_rule` AND crl.`id_lang` = " . (int) $id_lang . ")\xa WHERE (
cr.`id_customer` = " . (int) $id_customer . "
" . ($includeGeneric ? "OR cr.`id_customer` = 0" : '') . "
)
" . ($active ? "AND cr.`active` = 1" : '') . "\xa " . ($inStock ? "AND cr.`quantity` > 0" : '')); goto nC6nJ; Kr5jB: fyhRF: goto fyTtj; FHyK2: foreach ($result as $cart_rule) { goto ZMQ28; GTrn2: Tt_Ts: goto bNsgh; VAQPd: goto Tt_Ts; goto JxGei; ZMQ28: $cart_rule["value"] = 0; goto gFtRg; Ur_Fe: if ($cart_rule["free_shipping"]) { goto M7jPr; } goto vmOsl; MGCl_: $cart_rule["value"] = $cart_rule["reduction_percent"]; goto r0Xpd; bNsgh: AruHl: goto ivoo7; hRq9o: $cart_rule["cumulable"] = !$cart_rule["cart_rule_restriction"]; goto LBGg2; JxGei: UbZtP: goto Hcti8; hManM: $cart_rule["id_discount_type"] = Discount::FREE_SHIPPING; goto VAQPd; BtPXy: $cart_rule["value"] = $cart_rule["reduction_amount"]; goto GTrn2; WYRjp: if ($cart_rule["reduction_amount"] > 0) { goto a_1Cl; } goto hwDxq; dEEir: a_1Cl: goto wjUir; hwDxq: goto Tt_Ts; goto bbHTr; LBGg2: $cart_rule["id_discount_type"] = false; goto Ur_Fe; r0Xpd: goto Tt_Ts; goto dEEir; wjUir: $cart_rule["id_discount_type"] = Discount::AMOUNT; goto BtPXy; bbHTr: M7jPr: goto hManM; vmOsl: if ($cart_rule["reduction_percent"] > 0) { goto UbZtP; } goto WYRjp; Hcti8: $cart_rule["id_discount_type"] = Discount::PERCENT; goto MGCl_; gFtRg: $cart_rule["minimal"] = $cart_rule["minimum_amount"]; goto hRq9o; ivoo7: } goto Kr5jB; zv_Uk: foreach ($result as $key => $cart_rule) { goto ambtS; iXMIg: mKRyA: goto pksOn; pksOn: unset($result[$key]); goto c_Qf5; c_Qf5: RHGpw: goto rxkmD; Z_K5v: foreach ($cartRuleGroups as $cartRuleGroup) { goto v3Cf0; JJSeR: y86NT: goto t3Kyk; v3Cf0: if (!in_array($cartRuleGroup["id_group"], $customerGroups)) { goto y86NT; } goto eGrPW; t3Kyk: YZS20: goto SdiF8; eGrPW: goto ngCY7; goto JJSeR; SdiF8: } goto iXMIg; rxkmD: ngCY7: goto MHClV; d_bw4: $cartRuleGroups = Db::getInstance()->executeS("SELECT id_group FROM " . _DB_PREFIX_ . "cart_rule_group WHERE id_cart_rule = " . (int) $cart_rule["id_cart_rule"]); goto Z_K5v; ambtS: if (!$cart_rule["group_restriction"]) { goto RHGpw; } goto d_bw4; MHClV: } goto kQi_1; vXF7Q: if (!version_compare(_PS_VERSION_, "1.6.0.0", ">=")) { goto qYX7k; } goto rxKwO; rxKwO: unset($cart_rule); goto AQPa6; OZwW9: } public static function days_in_month($month, $year) { return $month == 2 ? $year % 4 ? 28 : ($year % 100 ? 29 : ($year % 400 ? 28 : 29)) : (($month - 1) % 7 % 2 ? 30 : 31); } public static function getProductQty($id_product, $id_product_attribute = null, $id_warehouse = null, $id_shop = null) { goto pEmtt; zGTae: if (!empty($id_product_attribute)) { goto c75Wo; } goto YXyRJ; bBPil: if (!empty($id_product)) { goto gFbCX; } goto D_jJi; D_jJi: return $return; goto rotUj; YXyRJ: $return = self::_getProductQty($id_product, $id_product_attribute, $id_warehouse, $id_shop); goto D5q8K; pEmtt: $return = 0; goto bBPil; rotUj: gFbCX: goto zGTae; D5q8K: goto MiSux; goto C3oC_; MUg4P: return $return; goto sHw1z; C3oC_: c75Wo: goto fQfL2; V0esu: MiSux: goto MUg4P; fQfL2: $return = self::_getProductAttributeQty($id_product, $id_product_attribute, $id_warehouse, $id_shop); goto V0esu; sHw1z: } public static function _getProductQty($id_product, $id_product_attribute = null, $id_warehouse = null, $id_shop = null) { goto U0EOv; vv0EX: $is_advanced_stock_management = false; goto v1juC; ThNK7: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto YlFMS; OPL7T: eS97u: goto X_RoX; Z_Ici: if (!($product->advanced_stock_management == 1)) { goto Cpshp; } goto FNgKn; UZ2p8: return $return; goto QGk5R; mahLH: if (empty($temp_check_in_warehouse)) { goto eS97u; } goto H6IkT; srcpf: $query->from("stock_available"); goto GeCZo; TWPtr: $return = 0; goto QlM4Z; tNpZy: $query->from("stock"); goto u6ytY; a3WMd: zo97b: goto J2VVz; s4fV4: return $return; goto Yxb9d; YlFMS: goto SpNya; goto RIcOv; VNiDY: $type_advanced_stock_management = 3; goto yeP5k; Gicwm: if (SCAS && $type_advanced_stock_management == 2 && !$has_combination && !$not_in_warehouse) { goto KYLh8; } goto cogIP; yp3Sp: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto idjO0; ApAG0: $query = new DbQuery(); goto sZSGc; rhTIr: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto gJlz2; Tf1AE: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto UT7wV; p39ax: $return = $quantities["usable_quantity"]; goto CK74T; ZW4_8: $query->where("id_product_attribute = 0"); goto yQN11; drAP3: if (!empty($return)) { goto qhRFf; } goto TWPtr; IfBXq: if (!SCAS) { goto ZB3JB; } goto Z_Ici; FNgKn: $is_advanced_stock_management = true; goto IdqcC; QG8DI: SpNya: goto drAP3; EfsnJ: $type_advanced_stock_management = 1; goto vv0EX; cruiT: $quantities = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($query); goto YdUNA; CK74T: goto SpNya; goto iycld; URNWY: $query->from("stock_available"); goto O_ruU; GeCZo: $query->where("id_product = " . (int) $id_product); goto ma1T_; jWXuY: $query = new DbQuery(); goto nLcav; nJoVt: if ($has_combination) { goto gga3m; } goto ZHhHs; RdMpn: if (!(SCAS && empty($id_warehouse))) { goto O92Xd; } goto SXEnG; FCgPv: $query->select("quantity"); goto mzkcB; u6ytY: $query->where("id_product = " . (int) $id_product); goto YJNNO; SXEnG: $id_warehouse = (int) self::getSelectedWarehouse(); goto sbNzd; iycld: UfEEO: goto BprdS; ma1T_: $query->where("id_product_attribute != 0"); goto iaDsQ; MFwRx: $query->where("id_product_attribute = 0"); goto dbv_j; yeP5k: sWxSK: goto h0qOV; LdiAY: $not_in_warehouse = true; goto ukGJC; ukGJC: $without_warehouse = true; goto OnMYU; uJ2wq: goto SpNya; goto j7KAL; JjxRC: $query = new DbQuery(); goto c8Pns; ibjX3: $query->where("st.id_product_attribute != 0"); goto cruiT; IFNHw: $product = new Product($id_product, false, null, (int) $id_shop); goto RdMpn; tSx3I: $id_shop = self::getSelectedShop(); goto a3WMd; QGk5R: h8nMc: goto RwbfT; h0qOV: Cpshp: goto ByDGQ; EDuCx: $temp_check_in_warehouse = WarehouseProductLocation::getIdByProductAndWarehouse((int) $id_product, 0, (int) $id_warehouse); goto mahLH; ByDGQ: ZB3JB: goto D95Od; aG9Q2: $has_combination = true; goto hGwzX; hx4M7: $quantities = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($query); goto p39ax; OnMYU: $usable_quantity = 0; goto IfBXq; sbNzd: O92Xd: goto EfsnJ; U0EOv: $return = 0; goto Mwk0N; nLcav: $query->select("SUM(st.usable_quantity) as usable_quantity"); goto JCTUU; gJlz2: VMJkv: goto Wvh_a; ZHhHs: $query = new DbQuery(); goto FCgPv; BprdS: $return = 0; goto uJ2wq; D95Od: if (!$product->hasAttributes()) { goto JSgg1; } goto aG9Q2; j7KAL: xjiGl: goto JjxRC; cogIP: if (SCAS && $type_advanced_stock_management == 2 && $not_in_warehouse) { goto UfEEO; } goto dOafl; sZSGc: $query->select("SUM(usable_quantity) as usable_quantity"); goto tNpZy; iaDsQ: if (!SCMS) { goto b022F; } goto Tf1AE; mXeJs: goto SpNya; goto qj0Ye; vPX24: if (!empty($id_shop)) { goto zo97b; } goto tSx3I; dOafl: if (version_compare(_PS_VERSION_, "1.7.0.0", ">=")) { goto xjiGl; } goto nJoVt; dBXim: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto QG8DI; Q39lz: $query->where("st.id_warehouse = " . (int) $id_warehouse); goto ibjX3; JCTUU: $query->from("stock", "st"); goto FqRtY; RwbfT: if (!SCMS) { goto qO5sl; } goto vPX24; FqRtY: $query->where("st.id_product = " . (int) $id_product); goto Q39lz; YdUNA: $return = $quantities["usable_quantity"]; goto ky0We; v1juC: $has_combination = false; goto LdiAY; dbv_j: if (!SCMS) { goto VMJkv; } goto rhTIr; rzToM: $query->where("id_product = " . (int) $id_product); goto MFwRx; qj0Ye: hbvIg: goto jWXuY; YePOb: $query = new DbQuery(); goto hQbKR; O_ruU: $query->where("id_product = " . (int) $id_product); goto ZW4_8; ky0We: goto SpNya; goto cV7wI; IdqcC: $type_advanced_stock_management = 2; goto EDuCx; RIcOv: gga3m: goto YePOb; cV7wI: KYLh8: goto ApAG0; TZE77: if (SCAS && $type_advanced_stock_management == 2 && $has_combination && !$not_in_warehouse) { goto hbvIg; } goto Gicwm; hGwzX: JSgg1: goto TZE77; UT7wV: b022F: goto dBXim; c8Pns: $query->select("quantity"); goto URNWY; H6IkT: $not_in_warehouse = false; goto OPL7T; YJNNO: $query->where("id_warehouse = " . (int) $id_warehouse); goto hx4M7; mzkcB: $query->from("stock_available"); goto rzToM; Wvh_a: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto mXeJs; QlM4Z: qhRFf: goto s4fV4; yQN11: if (!SCMS) { goto eT2xd; } goto yp3Sp; hQbKR: $query->select("SUM(quantity)"); goto srcpf; J2VVz: qO5sl: goto IFNHw; Mwk0N: if (!empty($id_product)) { goto h8nMc; } goto UZ2p8; X_RoX: if (StockAvailable::dependsOnStock((int) $id_product, (int) self::getSelectedShop())) { goto sWxSK; } goto VNiDY; idjO0: eT2xd: goto ThNK7; Yxb9d: } public static function _getProductAttributeQty($id_product, $id_product_attribute = null, $id_warehouse = null, $id_shop = null) { goto NEMBf; jmREq: $return = 0; goto o0s2c; TPdeC: $query->select("SUM(st.usable_quantity) as usable_quantity"); goto iWITH; pHvjp: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto qUxOl; zLYn7: $is_advanced_stock_management = false; goto htWok; fMqvR: $query = new DbQuery(); goto xdmLj; NPkFS: $query->from("stock_available"); goto nOwy3; SORzd: if (!SCMS) { goto sTc9q; } goto mmp9D; J9E20: yoLoK: goto zKXLj; nOwy3: $query->where("id_product = " . (int) $id_product); goto rlWOC; elnQN: $is_advanced_stock_management = true; goto VkYNR; kL3uh: $query->where("id_product = " . (int) $id_product); goto yEfzp; bFNs1: $without_warehouse = false; goto dCLP0; VkYNR: $type_advanced_stock_management = 2; goto RwNuv; IS6eT: if (SCAS && $type_advanced_stock_management == 2 && !$not_in_warehouse) { goto h6RZk; } goto wY13Y; xdmLj: $query->select("SUM(quantity)"); goto s2BZT; widto: NR1VT: goto k409v; HVrph: return $return; goto YDr_i; HtT3I: sTc9q: goto wQo34; iWITH: $query->from("stock", "st"); goto C0yb8; OPhd7: z8Nx0: goto fMqvR; CyRRD: HUQLK: goto rRYAB; W8muc: $without_warehouse = true; goto dmBDd; keRSV: $quantities = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($query); goto fHNP9; C0yb8: $query->where("st.id_product = " . (int) $id_product); goto uaOZ8; o0s2c: goto NR1VT; goto OPhd7; c7Sxp: if (!SCAS || SCAS && $type_advanced_stock_management == 1) { goto z8Nx0; } goto y8xjq; rlWOC: $query->where("id_product_attribute = " . (int) $id_product_attribute); goto SORzd; k409v: if (!empty($return)) { goto igKlP; } goto CPb0R; svXnN: igKlP: goto rkpZx; E_rmM: $query->where("st.id_product_attribute = " . (int) $id_product_attribute); goto keRSV; yEfzp: $query->where("id_product_attribute = " . (int) $id_product_attribute); goto mVeq7; jRohW: $id_warehouse = (int) self::getSelectedWarehouse(); goto ygDej; SBLDY: $temp_check_in_warehouse = WarehouseProductLocation::getIdByProductAndWarehouse((int) $id_product, (int) $id_product_attribute, (int) $id_warehouse); goto LoBNB; LoBNB: if (empty($temp_check_in_warehouse)) { goto vlTgo; } goto HbKZG; gAVfR: RKJp2: goto jmREq; HbKZG: $not_in_warehouse = false; goto bFNs1; dCLP0: vlTgo: goto P21G3; y8xjq: $query = new DbQuery(); goto HEvOr; P21G3: gm1Kd: goto IS6eT; RwNuv: if (StockAvailable::dependsOnStock((int) $id_product, (int) $id_shop)) { goto HUQLK; } goto sDnjy; GGJMl: if (!(SCAS && empty($id_warehouse))) { goto yGPmX; } goto jRohW; OwOCD: goto NR1VT; goto xXWgW; HEvOr: $query->select("quantity"); goto NPkFS; FoIa5: if (!empty($id_product)) { goto AF21k; } goto HVrph; wY13Y: if (SCAS && $type_advanced_stock_management == 2 && $not_in_warehouse) { goto RKJp2; } goto c7Sxp; zKXLj: $product = new Product($id_product, false, null, (int) $id_shop); goto GGJMl; ZD52h: if (!SCMS) { goto yoLoK; } goto kWW0D; w3U8b: if (!($product->advanced_stock_management == 1)) { goto J3ltZ; } goto elnQN; qUxOl: v4sTh: goto V8AA0; ygDej: yGPmX: goto zLYn7; sDnjy: $type_advanced_stock_management = 3; goto CyRRD; XZiVV: $id_shop = self::getSelectedShop(); goto lTMWF; rRYAB: J3ltZ: goto SBLDY; mmp9D: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto HtT3I; kWW0D: if (!empty($id_shop)) { goto tClXU; } goto XZiVV; CPb0R: $return = 0; goto svXnN; lTMWF: tClXU: goto J9E20; xXWgW: h6RZk: goto GFEsT; fHNP9: $return = $quantities["usable_quantity"]; goto ck_dR; YDr_i: AF21k: goto ZD52h; s2BZT: $query->from("stock_available"); goto kL3uh; wQo34: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto OwOCD; htWok: $type_advanced_stock_management = 1; goto V3THR; NEMBf: $return = 0; goto FoIa5; mVeq7: if (!SCMS) { goto v4sTh; } goto pHvjp; rkpZx: return $return; goto B_QWO; V8AA0: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto widto; dmBDd: if (!SCAS) { goto gm1Kd; } goto w3U8b; GFEsT: $query = new DbQuery(); goto TPdeC; ck_dR: goto NR1VT; goto gAVfR; uaOZ8: $query->where("st.id_warehouse = " . (int) $id_warehouse); goto E_rmM; V3THR: $not_in_warehouse = true; goto W8muc; B_QWO: } public static function roundPrice($price, $modif_type) { goto hj2u6; mP7hX: if ($decimal == 99) { goto MYLx6; } goto Ay7n3; EjhUv: goto fgkU_; goto kk9pW; EJuXJ: i07pj: goto wLN01; TOMKm: $decimalReturn = 95; goto F6Y6c; Q7pwn: list($unite, $decimal) = explode(".", $return); goto pki2e; McPAv: if ($decimal >= 0 && $decimal <= 2) { goto LkMpH; } goto VTjhM; bRpwp: $return = round($return); goto EjhUv; c4NNz: $decimalReturn = 5; goto f0_U1; zIONx: ZTFw5: goto bd8Nk; J1lqI: $return = str_replace(",", ".", $return); goto RF6wC; BUl0q: CtHCA: goto Q5oha; ZmFjo: djLZG: goto mNRf6; kDrP0: --$return; goto V95cj; Sr5_j: h1LxJ: goto TFYNu; REN8H: FADeh: goto NnoCr; bVnt1: if (empty($round_type)) { goto L26ue; } goto XPKIa; aO_9j: if ($decimal >= 1 && $decimal <= 4) { goto lrZch; } goto FJdq9; UbAtb: $return = ($other + $unite . $decimal) * 1; goto zo79x; AuKFG: goto kFmMW; goto DJkWX; QIbDH: xEF3y: goto sWgz3; yxC4P: if ($modif_type == "7") { goto xqb6W; } goto uDmsn; oi6Mr: goto wwJHy; goto u4Lpk; YZIFy: if ($decimal >= 49 && $decimal <= 98) { goto Cb4s6; } goto LpJca; zlXMR: $return = $unite + 1; goto VaNdd; CfCr2: aqJDy: goto biM9X; IvIpX: if (!($round_type == "1")) { goto V_MK9; } goto Crji7; RjzvO: if (!(!empty($price) && !empty($modif_type))) { goto BUULT; } goto lS8C2; IsdYp: $decimalReturn = "0" . $decimalReturn; goto NSeNz; c3ZsQ: if ($round_type == "2") { goto uBZ2V; } goto HtdBQ; xuSMg: JYGol: goto ER2MF; SWsLx: if ($round_type == "2") { goto yGtjf; } goto Zu7oF; Cli2I: $return = str_replace(",", ".", $return * 100); goto gCQOn; KOWdq: $return = ceil($return); goto nCJ7r; CYbyh: if ($decimal >= 75 && $decimal <= 99) { goto liXDb; } goto I7kBC; JW_K4: N6Llz: goto UbAtb; XuQsr: Cb4s6: goto U7uZ2; nAb7T: $decimal = 0; goto xkYXS; PAoRE: pHAdv: goto Yy8Oy; y5tNg: $return = floor($return); goto DgWLh; bzGXu: goto JYGol; goto VyHEm; N3IhF: $decimal = 0; goto Q6jyp; I0zB5: LBmkh: goto tP0SO; s56Hw: if ($decimal >= 50) { goto fzLQr; } goto G4J4G; NZJOi: $return -= 0.01; goto OEmOu; xpII1: $return = $return / 10; goto tmRgN; v0lH6: Sqhrk: goto U8L5N; dW2Hd: $return = ($return . "." . $decimalReturn) * 1; goto IzAx9; u4Lpk: XkpVQ: goto R6wyB; ewpyO: $return = $return * 10; goto G9x5J; f9pzD: goto JvonC; goto CV3lt; Ad3E_: $return = round($return); goto b9i9D; BuLY8: SdOoW: goto oeYMb; N0PQe: list($return, $decimal_part) = explode(".", $return); goto SjF4c; IKWhJ: if (empty($round_type)) { goto V0H3R; } goto rzbXL; FVYAu: if ($modif_type == "10") { goto pHAdv; } goto B3p1j; Fu2tm: list($unite, $decimal) = explode(".", $return); goto a1kiR; ILd0r: RjCGQ: goto r_P_d; pwLrx: XBZXf: goto jjkB7; Qg8RS: P17rY: goto R2a3S; ER2MF: goto ctiCY; goto kZFBg; efvL0: if (!(strlen($chiffre) == 1)) { goto pTAP2; } goto E0az6; fwSi9: $decimal = 0; goto JW_K4; Q6jyp: if (!($return >= 100)) { goto LdTt9; } goto dQABh; eS1ky: $decimal = 0; goto v0lH6; rcljZ: $decimal = 0; goto ruvVr; S10DB: $return = $unite / 1000000; goto p3udp; OEmOu: goto kFmMW; goto XcNQN; wgJ84: goto ikH9w; goto ofUiR; DgWLh: NX2DJ: goto odxDs; J3K2j: $return = $return / 100; goto f_r0Y; mNRf6: if ($realDecimal > 50 && $realDecimal <= 99) { goto MWaHW; } goto SyeFj; d642X: goto iRa9D; goto D9mlg; f0_U1: $decimalReturn = "0" . $decimalReturn; goto TMkSD; XE1qN: if ($round_type == "1") { goto ZTFw5; } goto HQzi5; uAkGm: goto kFmMW; goto dWHPx; pczfX: if ($decimal >= 0 && $decimal <= 48) { goto tu_vN; } goto YZIFy; lle5Z: $return = round($return); goto OqD5E; h4S3K: ++$unite; goto VDX_U; MeXYx: $decimal = 0; goto bMeku; SqA6y: fgkU_: goto xpII1; RSU_3: YRwXC: goto s60Yw; LpJca: if ($decimal == 99) { goto MYHEK; } goto ks2zu; Ay7n3: $return = $unite; goto f9pzD; x_67j: $return = round($return); goto VpyEO; V4nPw: goto HStiu; goto sUHjr; oCzs9: list($unite, $decimal) = explode(".", $return); goto IseF3; Kfhu8: Msjvm: goto aO_9j; Wb7uy: if (empty($round_type)) { goto q1ddQ; } goto JipW9; lSEjl: $decimal = 5; goto oaQP2; U7uZ2: $decimal = 5; goto aaiCd; JHH5R: $return = $return / 10; goto YFaru; xYONg: iRa9D: goto Uo1g5; Rf_zm: if ($round_type == "2") { goto SZAYh; } goto sw23q; tVgBL: $decimal = 0; goto W4G8Z; WaJoF: $return = ceil($return); goto PQXFT; TMErL: goto U24RY; goto ES0Ml; fSknu: if ($round_type == "2") { goto FpEPr; } goto cPOa6; P_eC_: if ($decimal >= 1 && $decimal <= 5) { goto hqQfq; } goto z9Mva; ac2xu: $return = ($unite . "." . $decimal) * 1 / 10; goto uAkGm; y5yFZ: HaZVn: goto bQzXi; Ni3dO: $chiffre = ($chiffre . "." . $decimal_part) * 1; goto BXB3s; nCJ7r: goto DBzIb; goto BuLY8; gCQOn: if (empty($round_type)) { goto P3yDE; } goto AXReT; PQXFT: goto NX2DJ; goto F3ezf; YeXTY: hzOdY: goto NAEOj; NnoCr: $decimal = 0; goto GyiM2; siTbu: if (!(strlen($decimal) == 1)) { goto joSPC; } goto MY8UT; ES0Ml: HzTJk: goto DJFnL; wLN01: $decimal = 5; goto TMErL; t0GX_: $return = $unite + 1; goto c52b3; KMBo_: goto kFmMW; goto SymQG; SyeFj: $decimalReturn = 5; goto IsdYp; L3jBw: list($return, $decimal) = explode(".", $return); goto Ls4zZ; RF6wC: list($return, $decimal_part) = explode(".", $return); goto bYwZf; W2DDt: goto U24RY; goto EJuXJ; ho0mx: MWaHW: goto FlMTn; JipW9: if ($round_type == "1") { goto PjP8v; } goto MHeIa; p7yiR: goto VfhjD; goto I0zB5; kdfD3: goto DBzIb; goto cDjJg; KJX1P: list($unite, $decimal) = explode(".", $return); goto advka; KDIvu: goto VfhjD; goto snxyc; LIFM0: qRAH2: goto aBr67; kPF4q: $decimal = 0; goto V4nPw; dZ3EE: if ($realDecimal < 5 && $realDecimal >= 0) { goto vxapv; } goto qM4Hq; v8o28: lIgAO: goto pZR9_; unxAD: goto WiAj_; goto XJ265; wNH69: p9sXA: goto jXs1g; qwLHp: goto kFmMW; goto NEWQY; iSDYH: goto Sqhrk; goto yHFak; hdqA0: aeRuu: goto BHD1j; tP0SO: $return = floor($return); goto KUy9J; G1l_j: $decimal = 0; goto uRnf2; fXujA: if ($decimal > 90) { goto BADZW; } goto yqab0; cDjJg: HzxHU: goto x_67j; KUuM3: $decimal = 5; goto YClTw; kk9pW: MZXrH: goto Md7y9; R1M63: if ($chiffre >= 0 && $chiffre < 5) { goto cGt8Z; } goto CvMqg; ks2zu: goto Wgl8O; goto K3nYI; biM9X: $unite = 1; goto nAb7T; jjkB7: $return = ceil($return); goto p7yiR; advka: if (empty($round_type)) { goto lIgAO; } goto bTi08; MHeIa: if ($round_type == "2") { goto Msjvm; } goto pEFnH; Q17iy: goto Sqhrk; goto n62ex; sWgz3: if ($decimal >= 1 && $decimal <= 5) { goto bEiJm; } goto RPqiK; E0az6: $chiffre = $chiffre . "0"; goto KwIdv; CvMqg: if ($chiffre >= 5 && $chiffre <= 9.999999999) { goto RjCGQ; } goto d642X; lS8C2: $round_type = _s("CAT_ROUND_PRICE"); goto i6KxR; ulA2N: goto wGmCF; goto eSaQX; P4GTv: goto p9sXA; goto hdqA0; DiaaP: if ($round_type == "1") { goto DvGNv; } goto YL4r1; K3nYI: tu_vN: goto j2v3r; odxDs: goto kFmMW; goto bkGPg; LcQAT: goto q3sM8; goto IkuvT; NLVo8: if ($decimal >= 90) { goto UAuFW; } goto O4jQ0; n62ex: oOdQC: goto jwU5f; T4201: BY5Rz: goto eFGoe; snxyc: P3yDE: goto Ad3E_; UGJqP: if (empty($round_type)) { goto HzxHU; } goto cqVeG; QHY9R: V_MK9: goto qrxRj; unjFc: y18sS: goto bVnt1; rMN0K: if (empty($round_type)) { goto HaZVn; } goto DiaaP; pEFnH: goto wGmCF; goto Ceh2Q; NEWQY: T22QC: goto SNzK4; mB6YZ: goto ctiCY; goto GSZ8L; wsyLg: list($unite, $decimal) = explode(".", $return); goto GfHTY; VyhcG: DSlOx: goto kv50d; Ql9co: if ($round_type == "2") { goto oLyyg; } goto MAB3G; ZZ9p2: $return = str_replace(",", ".", $return * 1000000); goto wsyLg; RQ9Cx: if ($chiffre >= 50 && $chiffre <= 99.999999999) { goto Cpo2k; } goto bzGXu; PoSyc: $return = str_replace(",", ".", $return * 1000000); goto aXvv6; FlMTn: $decimalReturn = 95; goto BUl0q; JZjUX: $return = $unite + 1; goto OkTtP; bd8Nk: $return = ceil($return); goto f7oLI; SymQG: xqb6W: goto HQuj6; PSzuq: HZgrV: goto CIngp; F6Y6c: x14A5: goto kGYTA; jXs1g: $return = ($unite . "." . $decimal) * 1; goto NZJOi; O4qa2: $unite = 0; goto rL3YP; Zu7oF: goto N6Llz; goto kwOMw; uezjv: rhJzm: goto qjXOa; jOyDF: goto ctiCY; goto REN8H; p3P69: if (empty($round_type)) { goto WneZj; } goto F4n58; NQU89: WG954: goto ulA2N; HcUFx: QCcoS: goto KRCxO; eFGoe: $decimal = 5; goto L7k3u; aaiCd: goto Wgl8O; goto SpM8l; T6erM: ZRoBC: goto pczfX; kUkDf: GC0RD: goto IGZkQ; ILuMx: $chiffre = ($chiffre . "." . $decimal_part) * 1; goto p3P69; qM4Hq: $decimalReturn = 5; goto RVpE_; eSaQX: PjP8v: goto P_eC_; wrTKA: goto WG954; goto KNggW; L7k3u: goto WG954; goto CD9UP; kv50d: $return -= 0.01; goto KMBo_; TFYNu: $return = $unite + 1; goto CdETJ; v4kai: $return = floor($return); goto TgiS9; qjXOa: wwJHy: goto Eyo33; TMkSD: q3sM8: goto t1vhI; oaQP2: goto HStiu; goto YDffF; MAB3G: goto HZgrV; goto h5Az2; GSZ8L: Mn1hY: goto pgGC8; lstdb: if ($round_type == "1") { goto MZXrH; } goto fSknu; Qhrlc: $return = $unite; goto F4Xua; TOcDl: if ($decimal >= 25 && $decimal <= 74) { goto LXIoV; } goto CYbyh; hVKU6: goto x14A5; goto u8WTQ; erSc7: goto vA9Qi; goto nthdQ; Ceh2Q: q1ddQ: goto McPAv; G4J4G: $return = $unite; goto Blmqa; Sl7zr: Cpo2k: goto KcrMc; LFABH: goto Wgl8O; goto XuQsr; NSeNz: goto CtHCA; goto ho0mx; nCjpc: U24RY: goto T8l1x; FJdq9: if ($decimal >= 5 && $decimal <= 9) { goto cfrSw; } goto yZOLr; yqab0: $return = $unite + 1; goto Z3tfw; dQABh: $return = str_replace(",", ".", $return); goto N0PQe; uRnf2: goto rhJzm; goto iVh3t; GyiM2: ctiCY: goto qLgBk; yHFak: hqQfq: goto ktCow; OqD5E: goto NX2DJ; goto cuBHD; UU3YF: if ($round_type == "1") { goto aeRuu; } goto OBc0_; R6wyB: if ($decimal >= 1 && $decimal <= 4) { goto HhEfq; } goto fLTpe; wOBHd: DBzIb: goto JHH5R; ECTsx: yKZSR: goto I2HgA; JpJaF: if (!($round_type == "1")) { goto YXibw; } goto C_ED9; M1IYQ: $return = round($return); goto YMhtT; kacd3: if ($modif_type == "9") { goto nbA3t; } goto FVYAu; vWqHS: $decimal = 0; goto PuPtt; Ux30S: $decimal = 0; goto jOyDF; xnUPr: $return = str_replace(",", ".", $return * 1000000); goto JA0IZ; VpyEO: goto DBzIb; goto G0Zq0; R2a3S: if ($decimal >= 0 && $decimal <= 24) { goto yYKxo; } goto TOcDl; h5Az2: L26ue: goto s56Hw; dWHPx: FwXqO: goto IvIpX; B3p1j: goto kFmMW; goto db_NP; SjF4c: list($other, $chiffre) = explode(".", $return / 100); goto efvL0; kpk8y: $decimal = 5; goto kUkDf; idOBC: WiAj_: goto Y08rb; f7oLI: goto EvH4c; goto ZkBtF; dUxOA: $return = ceil($return); goto keuu5; yZOLr: goto GC0RD; goto g5Xnr; HtdBQ: goto lGhRg; goto edBk9; pZR9_: if ($decimal >= 0 && $decimal <= 2) { goto KOXp8; } goto xj5dr; zIvPk: goto p9sXA; goto Qg8RS; igswE: if (empty($round_type)) { goto QCcoS; } goto XE1qN; bTi08: if ($round_type == "1") { goto xEF3y; } goto IcCjf; Yy8Oy: $decimalReturn = 0; goto LWdGR; Y_yZ3: goto rhJzm; goto wO0Cq; fLTpe: if ($decimal >= 5 && $decimal <= 9) { goto qdPsg; } goto Y_yZ3; sCaXe: ++$unite; goto PzlBg; Xp3r5: $decimal = 0; goto xYONg; CdETJ: OkXHt: goto pJTR4; XBMRp: goto wwJHy; goto QIbDH; iVh3t: qdPsg: goto NtTJP; bYwZf: list($other, $chiffre) = explode(".", $return / 10); goto ILuMx; NGMud: $decimal = 0; goto g1Stu; XPKIa: if ($round_type == "1") { goto cZKML; } goto Ql9co; mq4zh: return $return; goto OIBoS; NAEOj: goto HZgrV; goto jw3DU; bkGPg: k6HM7: goto JpJaF; g1Stu: Wgl8O: goto wNH69; XM9Pc: $return = str_replace(",", ".", $return * 1000000); goto onzbV; xkYXS: goto N6Llz; goto jYAvD; onzbV: list($unite, $decimal) = explode(".", $return); goto SxS8s; lzHKA: if ($modif_type == "5") { goto T22QC; } goto N0IiE; vwl8v: $return = $unite / 1000000; goto mhWTw; duObS: goto HZgrV; goto WFXSb; RPqiK: if ($decimal >= 6 && $decimal <= 9) { goto YRwXC; } goto wgJ84; Ls4zZ: $realDecimal = substr($decimal, 0, 2); goto sI8Ao; qbGxr: goto fgkU_; goto t0heO; G147c: BUULT: goto mq4zh; B3xHB: goto DSlOx; goto RTv_d; kwOMw: WneZj: goto R1M63; M6OJO: $unite = 0; goto N3IhF; sQjOR: $decimal = $decimal . "0"; goto unjFc; HQzi5: if ($round_type == "2") { goto Zln7x; } goto o8h4p; jIOjg: UAuFW: goto JZjUX; InpxQ: $decimal = 5; goto Fbl0E; OBESy: $return = floor($return); goto idOBC; F4n58: if ($round_type == "1") { goto aqJDy; } goto SWsLx; F4Xua: goto OkXHt; goto Sr5_j; tK9G7: OCz0p: goto dUxOA; TgiS9: lGhRg: goto J3K2j; HSHZ9: if ($modif_type == "2") { goto k6HM7; } goto pMqUb; z4L9W: goto kFmMW; goto PAoRE; SxS8s: $return = $unite / 1000000; goto w9Ono; DK3_9: if (empty($round_type)) { goto P17rY; } goto UU3YF; YMhtT: goto lGhRg; goto tK9G7; KNggW: LkMpH: goto MeXYx; pvU8D: goto kFmMW; goto LIFM0; eoBYw: $return = str_replace(",", ".", $return * 10); goto kQbNw; Fdh26: if ($round_type == 1) { goto r5iaU; } goto fdqmk; W4G8Z: goto iRa9D; goto ILd0r; fdqmk: if ($round_type == 2) { goto sF4CE; } goto AjV0_; p3udp: vR9VP: goto FP7Sl; g5Xnr: lrZch: goto vWqHS; pd_mb: EvH4c: goto vXzcj; jOdnv: $decimal = 0; goto nCjpc; uH0lM: cfrSw: goto kpk8y; cB0rT: V0H3R: goto lle5Z; pMqUb: if ($modif_type == "3") { goto bDdss; } goto K8i9F; yl2i1: if ($round_type == "2") { goto QQi5k; } goto unxAD; VaNdd: JvonC: goto VyhcG; I2HgA: $return = ceil($return); goto daKMH; Fbl0E: goto vA9Qi; goto xuW6h; Fqs3g: goto HStiu; goto NzS3C; kZFBg: SfK0a: goto BB_YN; Md7y9: $return = ceil($return); goto qbGxr; f9dU4: if ($decimal >= 8 && $decimal <= 9) { goto lczid; } goto wrTKA; buh66: HStiu: goto XBMRp; Ta9bs: if ($realDecimal > 95 && $realDecimal <= 99) { goto RI49O; } goto pb3ls; Uo1g5: goto N6Llz; goto CfCr2; acJ5w: $return = floor($return); goto pd_mb; VWNAM: if (!(strlen($decimal) == 1)) { goto y18sS; } goto sQjOR; bMeku: goto WG954; goto T4201; KwIdv: pTAP2: goto Ni3dO; O4jQ0: $return = $unite; goto IP43K; bQzXi: if ($decimal >= 50) { goto h1LxJ; } goto Qhrlc; AEJXN: if ($decimal >= 50 && $decimal <= 99) { goto HzTJk; } goto W2DDt; fH3cZ: $decimal = 0; goto erSc7; Y3mCV: goto EvH4c; goto zIONx; pgGC8: if ($chiffre >= 0 && $chiffre < 50) { goto jWysA; } goto RQ9Cx; LWdGR: $return = str_replace(",", ".", $return); goto L3jBw; keuu5: goto lGhRg; goto sYwA3; tGFfH: QQi5k: goto OBESy; sI8Ao: if ($round_type == 0) { goto djLZG; } goto Fdh26; OBc0_: if ($round_type == "2") { goto ZRoBC; } goto zIvPk; edpdI: ++$return; goto c4NNz; f_r0Y: list($unite, $decimal) = explode(".", $return); goto VWNAM; DJFnL: ++$unite; goto jOdnv; C_ED9: $return = str_replace(",", ".", $return * 1000000); goto sPHwf; KRCxO: $return = round($return); goto Y3mCV; sw23q: goto NX2DJ; goto cB0rT; xj5dr: if ($decimal >= 3 && $decimal <= 7) { goto FxP0f; } goto ivj_L; bgCNU: sF4CE: goto dZ3EE; I7kBC: goto vA9Qi; goto XAjE2; IzAx9: kFmMW: goto G147c; cPOa6: goto fgkU_; goto TDW8s; XJ265: y1djY: goto G8AOA; z9Mva: if ($decimal >= 6 && $decimal <= 9) { goto oOdQC; } goto iSDYH; eXuSE: $decimal = 0; goto YJLUb; CD9UP: lczid: goto g_yiI; jw3DU: oLyyg: goto NLVo8; xtp7U: r5iaU: goto Ta9bs; SiZkt: list($unite, $decimal) = explode(".", $return); goto siTbu; oeYMb: $return = floor($return); goto wOBHd; aBr67: if (!($round_type == "1")) { goto akgO0; } goto ZZ9p2; EL3vh: $decimal = 0; goto NQU89; D9mlg: cGt8Z: goto tVgBL; jwU5f: ++$unite; goto eS1ky; RFH5F: Xhhqe: goto Cli2I; aXvv6: list($unite, $decimal) = explode(".", $return); goto S10DB; BPN0o: joSPC: goto DK3_9; cuBHD: h0ya7: goto WaJoF; WFXSb: cZKML: goto fXujA; YFaru: $return = str_replace(",", ".", $return); goto KJX1P; KUy9J: VfhjD: goto JnODt; CV3lt: MYLx6: goto zlXMR; G5ibp: akgO0: goto SbX2T; b9i9D: goto VfhjD; goto pwLrx; lG_R8: YXibw: goto ewpyO; u8WTQ: vxapv: goto Kyz94; kQbNw: list($unite, $decimal) = explode(".", $return); goto Wb7uy; F3ezf: SZAYh: goto y5tNg; VTjhM: if ($decimal >= 3 && $decimal <= 7) { goto BY5Rz; } goto f9dU4; sUHjr: FxP0f: goto lSEjl; RTv_d: wC7an: goto mP7hX; ulMkS: vA9Qi: goto P4GTv; PzlBg: $decimal = 0; goto buh66; VDX_U: $decimal = 0; goto ulMkS; zo79x: --$return; goto AuKFG; hj2u6: $return = $price; goto RjzvO; pb3ls: $decimalReturn = 95; goto LcQAT; ktCow: $decimal = 5; goto Q17iy; j2v3r: $decimal = 0; goto LFABH; OkTtP: dS2Jw: goto PSzuq; cqVeG: if ($round_type == "1") { goto Ixh5a; } goto UlYDR; ivj_L: if ($decimal >= 8 && $decimal <= 9) { goto qXKSy; } goto Fqs3g; BXB3s: if (empty($round_type)) { goto Mn1hY; } goto mZHm4; xuW6h: liXDb: goto h4S3K; IcCjf: if ($round_type == "2") { goto XkpVQ; } goto SL6gj; dsUXY: $return = str_replace(",", ".", $return * 1000000); goto oCzs9; jvENq: if (empty($round_type)) { goto LOL8c; } goto s2rOU; SNzK4: if (!($round_type == "1")) { goto iuP9q; } goto xnUPr; daKMH: goto WiAj_; goto tGFfH; MY8UT: $decimal = $decimal . "0"; goto BPN0o; qu1NO: yr6Jb: goto rMN0K; N0IiE: if ($modif_type == "6") { goto qRAH2; } goto yxC4P; YL4r1: if ($round_type == "2") { goto wC7an; } goto i2y3F; rzbXL: if ($round_type == "1") { goto h0ya7; } goto Rf_zm; SbX2T: $return = str_replace(",", ".", $return * 100); goto igswE; uDmsn: if ($modif_type == "8") { goto LEq_p; } goto kacd3; YDffF: qXKSy: goto sCaXe; AXReT: if ($round_type == "1") { goto XBZXf; } goto fIG_h; PuPtt: goto GC0RD; goto uH0lM; IGZkQ: wGmCF: goto ac2xu; r_P_d: $unite = 1; goto Xp3r5; BHD1j: if ($decimal >= 0 && $decimal <= 49) { goto i07pj; } goto AEJXN; pki2e: $return = $unite / 1000000; goto QHY9R; ruvVr: ikH9w: goto oi6Mr; Kyz94: --$return; goto TOMKm; qrxRj: $return = str_replace(",", ".", $return * 10); goto UGJqP; eyJqu: if (!($round_type == "1")) { goto Q1UP2; } goto XM9Pc; pJTR4: goto DSlOx; goto AJfe3; rL3YP: $decimal = 0; goto J1lqI; Blmqa: goto p6WGO; goto UDGgr; g_yiI: ++$unite; goto EL3vh; NtTJP: $decimal = 5; goto uezjv; K8i9F: if ($modif_type == "4") { goto FwXqO; } goto lzHKA; o8h4p: goto EvH4c; goto HcUFx; SL6gj: goto wwJHy; goto v8o28; SpM8l: MYHEK: goto zHALr; CIngp: $return -= 0.1; goto pvU8D; mZHm4: if ($round_type == "1") { goto SfK0a; } goto cDzZG; XAjE2: yYKxo: goto fH3cZ; RVpE_: $decimalReturn = "0" . $decimalReturn; goto hVKU6; t1vhI: goto ZGpWW; goto bgCNU; FodZJ: $decimal = $decimal . "0"; goto qu1NO; NzS3C: KOXp8: goto kPF4q; LJnZU: $return = $unite + 1; goto B3xHB; a1kiR: if (!(strlen($decimal) == 1)) { goto yr6Jb; } goto FodZJ; zHALr: ++$unite; goto NGMud; fIG_h: if ($round_type == "2") { goto LBmkh; } goto KDIvu; TDW8s: acjlE: goto bRpwp; nthdQ: LXIoV: goto InpxQ; Q5oha: goto ZGpWW; goto xtp7U; cDzZG: if ($round_type == "2") { goto FADeh; } goto mB6YZ; Z3tfw: goto hzOdY; goto QGzi7; Crji7: $return = str_replace(",", ".", $return * 1000000); goto Q7pwn; YJLUb: goto JYGol; goto Sl7zr; s60Yw: ++$unite; goto rcljZ; XcNQN: LEq_p: goto O4qa2; ofUiR: bEiJm: goto KUuM3; sYwA3: uBZ2V: goto v4kai; BB_YN: $unite = 1; goto Ux30S; edBk9: LOL8c: goto M1IYQ; QGzi7: BADZW: goto DBvxp; ZkBtF: Zln7x: goto acJ5w; G9x5J: if (empty($round_type)) { goto acjlE; } goto lstdb; PFKJ0: bDdss: goto JyM9R; db_NP: KuZBV: goto eyJqu; HQuj6: if (!($round_type == "1")) { goto Xhhqe; } goto dsUXY; Y9fdi: $return = $unite / 1000000; goto lG_R8; IkuvT: RI49O: goto edpdI; GfHTY: $return = $unite / 1000000; goto G5ibp; G8AOA: $return = round($return); goto P5hMx; T8l1x: goto p9sXA; goto T6erM; cFzw1: $return = str_replace(",", ".", $return * 100); goto jvENq; i6KxR: if ($modif_type == "1") { goto KuZBV; } goto HSHZ9; UDGgr: fzLQr: goto t0GX_; KcrMc: $unite = 1; goto Orwot; IP43K: goto dS2Jw; goto jIOjg; sPHwf: list($unite, $decimal) = explode(".", $return); goto Y9fdi; UlYDR: if ($round_type == "2") { goto SdOoW; } goto kdfD3; tmRgN: goto kFmMW; goto PFKJ0; U8L5N: goto wGmCF; goto Kfhu8; FP7Sl: $return = str_replace(",", ".", $return * 100); goto x77k0; AjV0_: goto ZGpWW; goto ZmFjo; x77k0: if (empty($round_type)) { goto y1djY; } goto K4X0i; kGYTA: ZGpWW: goto dW2Hd; i2y3F: goto DSlOx; goto y5yFZ; VyHEm: jWysA: goto eXuSE; wO0Cq: HhEfq: goto G1l_j; Orwot: $decimal = 0; goto xuSMg; qLgBk: $return = ($other + $unite . "00") * 1; goto kDrP0; jYAvD: yGtjf: goto fwSi9; YClTw: goto ikH9w; goto RSU_3; Eyo33: $return = ($unite . "." . $decimal) * 1; goto qwLHp; vXzcj: $return = $return / 100; goto Fu2tm; JA0IZ: list($unite, $decimal) = explode(".", $return); goto vwl8v; w9Ono: Q1UP2: goto IKWhJ; AJfe3: DvGNv: goto LJnZU; nv4oJ: $return = floor($return); goto SqA6y; V95cj: LdTt9: goto z4L9W; IseF3: $return = $unite / 1000000; goto RFH5F; JyM9R: if (!($round_type == "1")) { goto vR9VP; } goto PoSyc; P5hMx: goto WiAj_; goto ECTsx; G0Zq0: Ixh5a: goto KOWdq; DBvxp: $return = $unite + 2; goto YeXTY; c52b3: p6WGO: goto duObS; s2rOU: if ($round_type == "1") { goto OCz0p; } goto c3ZsQ; JnODt: $return = $return / 100; goto SiZkt; mhWTw: iuP9q: goto cFzw1; DJkWX: nbA3t: goto M6OJO; Y08rb: $return = $return / 100; goto eoBYw; K4X0i: if ($round_type == "1") { goto yKZSR; } goto yl2i1; t0heO: FpEPr: goto nv4oJ; OIBoS: } public static function usesAdvancedStockManagement($id_product, $id_shop = null) { goto ovgf9; ovgf9: if (!empty($id_shop)) { goto LoLsX; } goto TVAoa; sZ0XB: $query = "SELECT product_shop.advanced_stock_management
FROM `" . _DB_PREFIX_ . "product` p
INNER JOIN " . _DB_PREFIX_ . "product_shop product_shop\xa ON (product_shop.id_product = p.id_product AND product_shop.id_shop = " . ($id_shop > 0 ? (int) $id_shop : "p.id_shop_default") . ")\xa WHERE (p.id_product = " . (int) $id_product . ")"; goto C2zD4; YZWeZ: LoLsX: goto sZ0XB; C2zD4: return (bool) Db::getInstance()->getValue($query); goto lZoky; TVAoa: $id_shop = self::getSelectedShop(); goto YZWeZ; lZoky: } public static function SendMail($id_lang, $template, $subject, $template_vars, $to, $to_name = null, $from = null, $from_name = null, $file_attachment = null, $mode_smtp = null, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = null) { goto P_7of; B2S0y: foreach ($to as $key => $addr) { goto U2lOa; aQBFr: if (Validate::isEmail($addr)) { goto xQXn2; } goto CEtAj; c4r5v: $addr = trim($addr); goto aQBFr; K1Bdb: return false; goto cogA4; ncqrS: VVkck: goto S8OqO; QhmZT: if (!is_array($to_name)) { goto vML2A; } goto SFcGT; U2lOa: $to_name = null; goto c4r5v; nmfBw: O00ur: goto rbn4v; OjPmv: if (!($to_name == null)) { goto VVkck; } goto sav1p; S8OqO: $to_list->addTo($addr, "=?UTF-8?B?" . base64_encode($to_name) . "?="); goto nmfBw; re8tO: $to_name = $to_name[$key]; goto dlz5S; SFcGT: if (!($to_name && is_array($to_name) && Validate::isGenericName($to_name[$key]))) { goto Bexaa; } goto re8tO; jW0Bb: vML2A: goto OjPmv; sav1p: $to_name = $addr; goto ncqrS; CEtAj: Tools::dieOrLog(Tools::displayError("Error: invalid e-mail address"), $die); goto K1Bdb; dlz5S: Bexaa: goto jW0Bb; cogA4: xQXn2: goto QhmZT; rbn4v: } goto kqQwo; k4iP4: OanXj: goto Zyjn7; Zyjn7: if (Validate::isMailSubject($subject)) { goto uK4OH; } goto f10rG; UTNeb: if (!(is_numeric($id_shop) && $id_shop)) { goto THdUL; } goto ZnK9D; g1DIn: goto v7yBQ; goto kKZXx; sDOF9: $to_plugin = $to; goto PYzYL; Q6BCY: return false; goto VKL9P; yUJjJ: $from = null; goto RtOIb; P_7of: $theme_path = _PS_THEME_DIR_; goto UTNeb; Toavw: goto nwmBa; goto zoe_W; RtOIb: G2zld: goto OamFe; NILh1: uK4OH: goto S2xqq; z_Fmv: THdUL: goto cOEf5; D0w9C: if (isset($configuration["PS_MAIL_SMTP_ENCRYPTION"])) { goto fLgaG; } goto q5Wkw; hAKV7: v7yBQ: goto GzIKH; ZnK9D: $shop = new Shop((int) $id_shop); goto mNpMd; kKZXx: biirt: goto NljN3; zNN30: Tools::dieOrLog(Tools::displayError("Error: invalid e-mail template"), $die); goto TsPEM; PYzYL: if (!($to_name == null)) { goto zVMuO; } goto WPhB3; k1OKS: $to_name = null; goto sd7HI; q5Wkw: $configuration["PS_MAIL_SMTP_ENCRYPTION"] = "off"; goto g9bP4; GzIKH: if (!($theme_name != _THEME_NAME_)) { goto i0Ay2; } goto zPzeD; p3i67: $theme_name = $shop->getTheme(); goto g1DIn; wMhec: i0Ay2: goto z_Fmv; n_Gup: Tools::dieOrLog(Tools::displayError("Error: parameter "to" is corrupted"), $die); goto Q6BCY; G0G_H: $from = $configuration["PS_SHOP_EMAIL"]; goto RXTd5; S2xqq: if (is_array($to) && isset($to)) { goto pFvVL; } goto sDOF9; NljN3: $theme_name = $shop->theme->getDirectory(); goto hAKV7; PjMtT: zVMuO: goto fJcIJ; mNpMd: if (version_compare(_PS_VERSION_, "8.0.0", ">=")) { goto biirt; } goto p3i67; zLtez: if (Validate::isEmail($from)) { goto G2zld; } goto yUJjJ; OKx4i: if (!(!is_array($to) && !Validate::isEmail($to))) { goto H2oh3; } goto n_Gup; f10rG: Tools::dieOrLog(Tools::displayError("Error: invalid e-mail subject"), $die); goto LZuDD; WPhB3: $to_name = $to; goto PjMtT; JYBRx: $to = $to_list; goto bbkGO; bbkGO: nwmBa: goto oVGPu; kPLG9: if (is_array($template_vars)) { goto OI9VN; } goto ZbCdV; igJox: if (Validate::isTplName($template)) { goto OanXj; } goto zNN30; LZuDD: return false; goto NILh1; DHnec: $to_list = new Swift_RecipientList(); goto B2S0y; ef17R: $from_name = null; goto Bqx3S; TsPEM: return false; goto k4iP4; fUU_F: if (Validate::isMailName($from_name)) { goto ZGyTj; } goto ef17R; zoe_W: pFvVL: goto DHnec; iDlSz: $to_plugin = $to[0]; goto JYBRx; VVIro: $configuration["PS_MAIL_SMTP_PORT"] = "default"; goto xNzgI; g9bP4: fLgaG: goto FjeDL; oVGPu: try { goto tNvqm; wSv72: return false; goto mrAnE; qOWPn: $template_vars = array_map(array("Tools", "htmlentitiesDecodeUTF8"), $template_vars); goto DbTcD; W78A5: return false; goto mYY2O; ixO6q: $template_vars["{shop_name}"] = Tools::safeOutput(Configuration::get("PS_SHOP_NAME", null, null, $id_shop)); goto qwluo; hmsOQ: Tools::dieOrLog(Tools::displayError("Error - The following e-mail template is missing:") . " " . $template_path . $template . ".txt", $die); goto W78A5; PaQmp: if (Configuration::get("PS_LOGO_MAIL", null, null, $id_shop) !== false && file_exists(_PS_IMG_DIR_ . Configuration::get("PS_LOGO_MAIL", null, null, $id_shop))) { goto GAXUZ; } goto Y0wKK; ksPRg: $message->attach(new Swift_Message_Part($template_txt, "text/plain", "8bit", "utf-8")); goto YEPrW; dc6AG: nVgPk: goto iABEi; W4OJ4: $file_attachment = array($file_attachment); goto dc6AG; SVnhK: vufK7: goto YnUOo; tRAiI: rpupv: goto O_DS9; QjxaQ: $iso = Language::getIsoById((int) $id_lang); goto MT782; Dtjlq: if ($module_name !== false && (file_exists($theme_path . "modules/" . $module_name . "/mails/" . $template . ".txt") || file_exists($theme_path . "modules/" . $module_name . "/mails/" . $template . ".html"))) { goto sHOfi; } goto PX9s4; kkedT: Wa1iy: goto VsolF; kTjzO: HGZbt: goto EGf7y; RD6hT: $override_mail = true; goto vy3nw; OXcg0: $template = $iso . "/" . $template; goto XP_9R; jk3i1: if (!(!file_exists($template_path . $template . ".html") && ($configuration["PS_MAIL_TYPE"] == Mail::TYPE_BOTH || $configuration["PS_MAIL_TYPE"] == Mail::TYPE_HTML))) { goto Tprki; } goto oM8sQ; T1PKg: goto R3QGD; goto x86Fu; sRZid: return false; goto hEa5a; c_9gr: $message->headers->setEncoding("Q"); goto jFwt8; gJWla: BgbCK: goto ppQ5T; GGmGi: xFGL1: goto CiB45; mrAnE: ohN7X: goto bhLfs; Cwy6X: y8EcY: goto f1BEs; YnUOo: include_once $template_path . $iso . "/lang.php"; goto Cwy6X; DXh1b: $template_txt = strip_tags(html_entity_decode(file_get_contents($template_path . $template . ".txt"), null, "utf-8")); goto ahtLx; xbZTG: return false; goto GGmGi; ppQ5T: if (empty($configuration["PS_MAIL_PASSWD"])) { goto Wa1iy; } goto Ciyvj; He2HH: RwmHS: goto iPIQe; Ciyvj: $connection->setPassword($configuration["PS_MAIL_PASSWD"]); goto kkedT; ahtLx: if ($override_mail && file_exists($template_path . $iso . "/lang.php")) { goto vufK7; } goto tiq1q; xekh0: $template_path = $theme_path . "mails/"; goto RD6hT; BgOWj: $message->attach(new Swift_Message_Part($template_html, "text/html", "8bit", "utf-8")); goto tRAiI; lBT8I: OTT1n: goto GPX1m; NTkfe: goto RwmHS; goto hhuYD; M5nwP: include_once $theme_path . "mails/" . $iso . "/lang.php"; goto UFr33; PX9s4: if (file_exists($theme_path . "mails/" . $template . ".txt") || file_exists($theme_path . "mails/" . $template . ".html")) { goto LlVwn; } goto cjMY3; ed1oc: $template_vars["{guest_tracking_url}"] = Context::getContext()->link->getPageLink("guest-tracking", true, Context::getContext()->language->id); goto k6vai; vy3nw: X0AO0: goto xJVp0; xfw5k: if (!(empty($configuration["PS_MAIL_SERVER"]) || empty($configuration["PS_MAIL_SMTP_PORT"]))) { goto ohN7X; } goto oLNmz; EGf7y: $logo = _PS_IMG_DIR_ . Configuration::get("PS_LOGO", null, null, $id_shop); goto w7k9t; hQhwu: XjrUS: goto OXcg0; oLNmz: Tools::dieOrLog(Tools::displayError("Error: invalid SMTP server or SMTP port"), $die); goto wSv72; oM8sQ: Tools::dieOrLog(Tools::displayError("Error - The following e-mail template is missing:") . " " . $template_path . $template . ".html", $die); goto zvILH; bnghr: goto y8EcY; goto SVnhK; Y0wKK: if (file_exists(_PS_IMG_DIR_ . Configuration::get("PS_LOGO", null, null, $id_shop))) { goto HGZbt; } goto TvMgV; qwluo: $template_vars["{shop_url}"] = Tools::getShopDomain(true, true) . __PS_BASE_URI__ . "index.php"; goto KqARg; N25Pj: if ($connection) { goto xFGL1; } goto xbZTG; PLF7q: $logo = _PS_IMG_DIR_ . Configuration::get("PS_LOGO_MAIL", null, null, $id_shop); goto He2HH; XP_9R: $module_name = false; goto hKY1e; CiB45: $swift = new Swift($connection, Configuration::get("PS_MAIL_DOMAIN"), null, null, $id_shop); goto QjxaQ; vJQyo: if (!($configuration["PS_MAIL_TYPE"] == Mail::TYPE_BOTH || $configuration["PS_MAIL_TYPE"] == Mail::TYPE_TEXT)) { goto OQU1k; } goto ksPRg; x86Fu: QQM4R: goto j4gef; DRikx: return $send; goto ap0VP; BjP9I: cfKTu: goto hmsOQ; k6vai: $template_vars["{history_url}"] = Context::getContext()->link->getPageLink("history", true, Context::getContext()->language->id); goto rGZik; WSg5z: if (file_exists(_PS_MAIL_DIR_ . $iso . "/lang.php")) { goto QQM4R; } goto uRvXv; Zjp8i: if (!($configuration["PS_MAIL_TYPE"] == Mail::TYPE_BOTH || $configuration["PS_MAIL_TYPE"] == Mail::TYPE_HTML)) { goto rpupv; } goto BgOWj; swZ21: $send = $swift->send($message, $to, new Swift_Address($from, $from_name)); goto GapF_; cjMY3: if (!file_exists($template_path . $template . ".txt") && ($configuration["PS_MAIL_TYPE"] == Mail::TYPE_BOTH || $configuration["PS_MAIL_TYPE"] == Mail::TYPE_TEXT)) { goto cfKTu; } goto jk3i1; KqARg: $template_vars["{my_account_url}"] = Context::getContext()->link->getPageLink("my-account", true, Context::getContext()->language->id); goto ed1oc; tNvqm: if ($configuration["PS_MAIL_METHOD"] == 2) { goto X2wXC; } goto EO7Ae; eaHKi: goto PWbsb; goto kTjzO; D9Ofx: Tools::dieOrLog(Tools::displayError("Error - No ISO code for email"), $die); goto ng92W; ng92W: return false; goto hQhwu; EO7Ae: $connection = new Swift_Connection_NativeMail(); goto uEzOh; DbTcD: $template_vars = array_map(array("Tools", "stripslashes"), $template_vars); goto JIISH; XGxX6: VLD5j: goto ixO6q; uRvXv: Logger::addLog(Tools::displayError("Error - The lang file is missing for :") . " " . $iso, 3); goto GP7VM; rSuTe: R3QGD: goto GEWsy; UFr33: LbwVG: goto bnghr; MT782: if ($iso) { goto XjrUS; } goto D9Ofx; OEZnT: $message->setId(self::generateId()); goto c_9gr; f9a1k: yeZJ4: goto Dtjlq; lUCkf: goto YrO7e; goto BjP9I; mYY2O: YrO7e: goto xhXuc; YEPrW: OQU1k: goto Zjp8i; cVaAv: $template_html = file_get_contents($template_path . $template . ".html"); goto DXh1b; jFwt8: if (!version_compare(_PS_VERSION_, "1.6.0.0", ">=")) { goto p6X9O; } goto qOWPn; QzCOf: sHOfi: goto Zi3Zt; bhLfs: $connection = new Swift_Connection_SMTP($configuration["PS_MAIL_SERVER"], $configuration["PS_MAIL_SMTP_PORT"], $configuration["PS_MAIL_SMTP_ENCRYPTION"] == "ssl" ? Swift_Connection_SMTP::ENC_SSL : ($configuration["PS_MAIL_SMTP_ENCRYPTION"] == "tls" ? Swift_Connection_SMTP::ENC_TLS : Swift_Connection_SMTP::ENC_OFF)); goto mZ0Qx; iPIQe: if (!isset($logo)) { goto VLD5j; } goto MPCl0; rGZik: $template_vars["{color}"] = Tools::safeOutput(Configuration::get("PS_MAIL_COLOR", null, null, $id_shop)); goto ZkxKk; xhXuc: goto X0AO0; goto AmtN_; ZNgPE: if ($connection) { goto sTSjG; } goto sRZid; AmtN_: LlVwn: goto xekh0; y24I6: aiQ9x: goto M5nwP; xgauk: X2wXC: goto xfw5k; zvILH: return false; goto c4FeT; GapF_: $swift->disconnect(); goto DRikx; c4FeT: Tprki: goto lUCkf; r9oW0: if (is_array(current($file_attachment))) { goto nVgPk; } goto W4OJ4; Vw8Zl: OXZnI: goto cVaAv; qklnN: if (empty($configuration["PS_MAIL_USER"])) { goto BgbCK; } goto fcNii; tiq1q: if ($module_name && file_exists($theme_path . "mails/" . $iso . "/lang.php")) { goto aiQ9x; } goto WSg5z; Zi3Zt: $template_path = $theme_path . "modules/" . $module_name . "/mails/"; goto Vw8Zl; fcNii: $connection->setUsername($configuration["PS_MAIL_USER"]); goto gJWla; TvMgV: $template_vars["{shop_logo}"] = ''; goto eaHKi; w7k9t: PWbsb: goto NTkfe; ZkxKk: $swift->attachPlugin(new Swift_Plugin_Decorator(array($to_plugin => $template_vars)), "decorator"); goto vJQyo; hKY1e: $override_mail = false; goto JRxhd; xJVp0: goto OXZnI; goto QzCOf; JIISH: p6X9O: goto PaQmp; uEzOh: goto NSWkZ; goto xgauk; j4gef: include_once _PS_MAIL_DIR_ . $iso . "/lang.php"; goto rSuTe; GPX1m: IDVuF: goto swZ21; O_DS9: if (!($file_attachment && !empty($file_attachment))) { goto IDVuF; } goto r9oW0; VsolF: NSWkZ: goto N25Pj; GEWsy: goto LbwVG; goto y24I6; rXdCG: $module_name = $res[1]; goto f9a1k; JRxhd: if (!(preg_match("#" . __PS_BASE_URI__ . "modules/#", $template_path) && preg_match("#modules/([a-z0-9_-]+)/#ui", $template_path, $res))) { goto yeZJ4; } goto rXdCG; iABEi: foreach ($file_attachment as $attachment) { goto FKNWb; CONsO: SgCPs: goto zyCYO; vToXJ: $message->attach(new Swift_Message_Attachment($attachment["content"], $attachment["name"], $attachment["mime"])); goto CONsO; zyCYO: kGF6K: goto w6VbZ; FKNWb: if (!(isset($attachment["content"]) && isset($attachment["name"]) && isset($attachment["mime"]))) { goto SgCPs; } goto vToXJ; w6VbZ: } goto lBT8I; GP7VM: return false; goto T1PKg; MPCl0: $template_vars["{shop_logo}"] = $message->attach(new Swift_Message_EmbeddedFile(new Swift_File($logo), null, ImageManager::getMimeTypeByExtension($logo))); goto XGxX6; hhuYD: GAXUZ: goto PLF7q; mZ0Qx: $connection->setTimeout(4); goto ZNgPE; hEa5a: sTSjG: goto qklnN; f1BEs: $message = new Swift_Message("[" . Configuration::get("PS_SHOP_NAME", null, null, $id_shop) . "] " . $subject); goto OEZnT; ap0VP: } catch (Swift_Exception $e) { return false; } goto ViWJ7; RXTd5: VDev_: goto zLtez; FjeDL: if (isset($configuration["PS_MAIL_SMTP_PORT"])) { goto Yinhb; } goto VVIro; vnegz: if (!(!isset($from) || !Validate::isEmail($from))) { goto VDev_; } goto G0G_H; cOEf5: $configuration = Configuration::getMultiple(array("PS_SHOP_EMAIL", "PS_MAIL_METHOD", "PS_MAIL_SERVER", "PS_MAIL_USER", "PS_MAIL_PASSWD", "PS_SHOP_NAME", "PS_MAIL_SMTP_ENCRYPTION", "PS_MAIL_SMTP_PORT", "PS_MAIL_METHOD", "PS_MAIL_TYPE"), null, null, $id_shop); goto D0w9C; VKL9P: H2oh3: goto kPLG9; xNzgI: Yinhb: goto vnegz; sd7HI: shjbK: goto igJox; TjTih: g9YgW: goto fUU_F; m3rGw: $from_name = $configuration["PS_SHOP_NAME"]; goto TjTih; ZbCdV: $template_vars = array(); goto S0ymI; Bqx3S: ZGyTj: goto OKx4i; Ms0wQ: if (!(is_string($to_name) && !empty($to_name) && !Validate::isMailName($to_name))) { goto shjbK; } goto k1OKS; OamFe: if (!(!isset($from_name) || !Validate::isMailName($from_name))) { goto g9YgW; } goto m3rGw; zPzeD: $theme_path = _PS_ROOT_DIR_ . "/themes/" . $theme_name . "/"; goto wMhec; fJcIJ: $to = new Swift_Address($to, "=?UTF-8?B?" . base64_encode($to_name) . "?="); goto Toavw; kqQwo: Lu3Gm: goto iDlSz; S0ymI: OI9VN: goto Ms0wQ; ViWJ7: } public static function generateId($idstring = null) { $midparams = array("utctime" => gmstrftime("%Y%m%d%H%M%S"), "randint" => mt_rand(), "customstr" => preg_match("/^(?<!\.)[a-z0-9\.]+(?!\.)$/iD", $idstring) ? $idstring : "swift", "hostname" => isset($_SERVER["SERVER_NAME"]) ? $_SERVER["SERVER_NAME"] : php_uname("n")); return vsprintf("<%s.%d.%s@%s>", $midparams); } public static function getGridFields($type) { goto Pw3L_; Idw42: global $arrMsgAvailableLater; goto sDpTF; NF2sY: goto gPSVz; goto uUVX1; ryTbM: if (isset($colSettings)) { goto pXgXI; } goto BfCrw; c2IS6: hY3cV: goto rmJoO; h017s: if (!empty($type) && $type == "propsbopacksproduct" && file_exists(SC_DIR . "lib/cat/sbo-pack/cat_sbo-pack_data_fields.php")) { goto GJBY5; } goto QG3la; dIEN_: if (!empty($type) && $type == "winspeprice") { goto w7xsj; } goto BsRDL; fG9tP: if (!empty($type) && $type == "cms") { goto hY3cV; } goto Gu4To; cHF1R: GJBY5: goto CeCmN; uUVX1: xiAa3: goto Idw42; lBNO8: global $shops, $group_shops, $groups, $countries, $currencies; goto ume2R; rmJoO: global $view; goto y61GG; QG3la: if (!empty($type) && $type == "gmapartner") { goto af9mU; } goto bMVvS; GhYfj: if (!empty($type) && $type == "propcustomers") { goto SlkGd; } goto dIEN_; iVgLj: goto gPSVz; goto HKGgn; SIhcd: goto gPSVz; goto eV7_s; DoVXe: lW9mo: goto fCcH2; LUUcG: goto gPSVz; goto DoVXe; hx8uf: include SC_DIR . "lib/cat/sbo-batch/cat_sbo-batch_data_fields.php"; goto MhZE9; mBX3Z: w7xsj: goto CTpFT; rlG9w: include SC_DIR . "lib/sup/sup_supplier_data_fields.php"; goto NZ1tq; mt2EU: goto gPSVz; goto c2IS6; ljNO7: goto gPSVz; goto g9aAM; px111: goto gPSVz; goto mBX3Z; y9Hx9: if (!empty($type) && $type == "supplier") { goto ofppX; } goto iQTRZ; mfgaq: goto gPSVz; goto fa1hF; BsRDL: if (!empty($type) && $type == "proppackproduct") { goto QnDNR; } goto qhLFD; prlq1: goto gPSVz; goto xwNXs; MW0Ul: global $shops, $arrTax; goto hdaLO; q8wSD: if (!empty($type) && $type == "customer") { goto lW9mo; } goto wa0sy; MhZE9: goto gPSVz; goto cHF1R; aZKSA: SlkGd: goto lBNO8; eW01K: goto gPSVz; goto WK4tR; KORnF: Hnl2h: goto scd0Y; MWLeA: QnDNR: goto UGju6; s2NPU: include SC_DIR . "lib/cat/specificprice/cat_specificprice_data_fields.php"; goto MpnFB; XAFTO: pXgXI: goto cnRaR; wa0sy: if (!empty($type) && $type == "order") { goto yHQeH; } goto fIfeF; rb5tg: global $view, $arrPayments, $arrStatus, $orderCountry, $orderState, $arrCarrier; goto hvz3Z; y61GG: include SC_DIR . "lib/cms/cms_page_data_fields.php"; goto ljNO7; hdaLO: include SC_DIR . "lib/cat/msproduct/cat_msproduct_data_fields.php"; goto iz30B; d5Zig: global $view; goto rlG9w; yBic0: if (!empty($type) && $type == "propsbobatchesproduct" && file_exists(SC_DIR . "lib/cat/sbo-batch/cat_sbo-batch_data_fields.php")) { goto u7rAc; } goto h017s; mngzp: xcAgV: goto CrgEQ; MP1VE: if (!empty($type) && $type == "image") { goto mjzOw; } goto EXm6o; NZ1tq: goto gPSVz; goto Mb6ms; oDa3S: global $currencies; goto xtbH7; UbsDW: vC77X: goto NylMO; NJq67: gPSVz: goto dQIk0; zxLWz: include SC_DIR . "lib/cus/cus_customer_data_fields.php"; goto iVgLj; Gu4To: if (!empty($type) && $type == "manufacturer") { goto TOWYQ; } goto y9Hx9; AE2q_: if (!empty($type) && $type == "mscombination") { goto xcAgV; } goto MP1VE; BfCrw: $colSettings = array(); goto XAFTO; Z2FDf: if (!empty($type) && $type == "msproduct") { goto L8BdW; } goto AE2q_; jj4vT: include SC_DIR . "lib/cat/image/cat_image_data_fields.php"; goto lkwro; qPTsI: VtfiC: goto HVHU9; MpnFB: goto gPSVz; goto aZKSA; tQ8sm: mjzOw: goto PXp9u; xwNXs: af9mU: goto RDh2O; ume2R: include SC_DIR . "lib/cat/customerbyproduct/cat_customerbyproduct_data_fields.php"; goto px111; DSjK5: goto gPSVz; goto MWLeA; PXp9u: global $shops; goto jj4vT; xtbH7: include SC_DIR . "lib/cat/supplier/cat_supplier_data_fields.php"; goto bgEuF; RDh2O: global $langOption; goto nbU2l; CeCmN: include SC_DIR . "lib/cat/sbo-pack/cat_sbo-pack_data_fields.php"; goto prlq1; CrgEQ: global $shops, $arrTax; goto zpOtx; g9aAM: TOWYQ: goto r5DVx; dQIk0: return $colSettings; goto ihv5V; nxggj: if (!empty($type) && $type == "combination") { goto xiAa3; } goto yF9RA; vIWMQ: include SC_DIR . "lib/man/man_manufacturer_data_fields.php"; goto td9Uy; brXX0: goto gPSVz; goto tQ8sm; HVHU9: global $arrManufacturers, $arrSuppliers, $arrTax, $arrMsgAvailableNow, $arrMsgAvailableLater, $arrReductionPrice, $arrReductionPercent, $arrColorGroups; goto f8Hwq; EXm6o: if (!empty($type) && $type == "propspeprice") { goto Hnl2h; } goto GhYfj; Xwz1r: ofppX: goto d5Zig; f8Hwq: include SC_DIR . "lib/cat/cat_product_data_fields.php"; goto NF2sY; Ye8bP: global $view, $arrPayments, $arrStatus, $orderCountry, $orderState, $arrCarrier; goto gYzE_; xbr4l: goto gPSVz; goto UbsDW; HKGgn: yHQeH: goto rb5tg; fCcH2: global $arrGroupes, $arrStates, $arrCountrys, $arrGenders, $language_arr; goto zxLWz; scd0Y: global $shops, $group_shops, $groups, $countries, $currencies; goto s2NPU; Mb6ms: xtyCk: goto sy0Lv; UGju6: include SC_DIR . "lib/cat/pack/cat_pack_data_fields.php"; goto eW01K; r5DVx: global $view; goto vIWMQ; fa1hF: rIltL: goto Ye8bP; hvz3Z: include SC_DIR . "lib/ord/ord_order_data_fields.php"; goto mfgaq; WK4tR: qyPJI: goto oDa3S; NylMO: global $arrMsgAvailableLater; goto bAXAT; CTpFT: global $shops, $group_shops, $groups, $countries, $currencies; goto vDZW8; yF9RA: if (!empty($type) && $type == "combinationmultiproduct") { goto vC77X; } goto q8wSD; bMVvS: goto gPSVz; goto qPTsI; qhLFD: if (!empty($type) && $type == "propsupplier") { goto qyPJI; } goto yBic0; lkwro: goto gPSVz; goto KORnF; eV7_s: L8BdW: goto MW0Ul; fIfeF: if (!empty($type) && $type == "order_product") { goto rIltL; } goto fG9tP; zpOtx: include SC_DIR . "lib/cat/mscombination/cat_mscombination_data_fields.php"; goto brXX0; bgEuF: goto gPSVz; goto OVB0L; sDpTF: include SC_DIR . "lib/cat/combination/cat_combination_data_fields.php"; goto xbr4l; OVB0L: u7rAc: goto hx8uf; nbU2l: include SC_DIR . "lib/all/win-affiliation/manager/all_win-affiliation_manager_partner_data_fields.php"; goto NJq67; iz30B: goto gPSVz; goto mngzp; td9Uy: goto gPSVz; goto Xwz1r; cnRaR: if (!empty($type) && $type == "product") { goto VtfiC; } goto nxggj; Pw3L_: global $colSettings, $cols; goto ryTbM; sy0Lv: include SC_DIR . "lib/cat/productsort/cat_productsort_data_fields.php"; goto SIhcd; bAXAT: include SC_DIR . "lib/cat/combinationmultiproduct/cat_combinationmultiproduct_data_fields.php"; goto LUUcG; vDZW8: include SC_DIR . "lib/cat/win-specificprice/cat_win-specificprice_data_fields.php"; goto DSjK5; iQTRZ: if (!empty($type) && $type == "productsort") { goto xtyCk; } goto Z2FDf; gYzE_: include SC_DIR . "lib/ord/product/ord_product_data_fields.php"; goto mt2EU; ihv5V: } public static function getGridViews($type) { goto JVe0w; RSY_a: if (!empty($type) && $type == "combinationmultiproduct") { goto DGHkA; } goto OT9Ci; EYNuP: goto UyrlQ; goto ZHvBe; jQgkZ: goto UyrlQ; goto qZNyP; tTMWI: zEL1a: goto ACS0K; cCJn1: include SC_DIR . "lib/cat/image/cat_image_data_views.php"; goto DX8ZM; DX8ZM: goto UyrlQ; goto tGtsA; JVe0w: global $grids; goto Rrm1W; uAauq: if (!empty($type) && $type == "image") { goto wAPnV; } goto nHf9Q; QJJEf: include SC_DIR . "lib/cat/win-specificprice/cat_win-specificprice_data_views.php"; goto HPC2C; iYOqT: UyrlQ: goto CMaoO; UMukR: goto UyrlQ; goto JY3YV; VcoDX: include SC_DIR . "lib/cus/cus_customer_data_views.php"; goto MWDJr; aX42H: goto UyrlQ; goto Czj0X; D7o17: goto UyrlQ; goto rCXqU; Bnfe1: include SC_DIR . "lib/cat/combinationmultiproduct/cat_combinationmultiproduct_data_views.php"; goto jQgkZ; EqM26: include SC_DIR . "lib/ord/ord_order_data_views.php"; goto hY3VQ; pQjYD: include SC_DIR . "lib/cat/mscombination/cat_mscombination_data_views.php"; goto M2sV8; HPC2C: goto UyrlQ; goto P_E4W; h01US: goto UyrlQ; goto Z84RG; pMVKO: if (!empty($type) && $type == "mscombination") { goto ZBQY1; } goto uAauq; nHf9Q: if (!empty($type) && $type == "propspeprice") { goto KPkHX; } goto NNCUv; NNCUv: if (!empty($type) && $type == "propcustomers") { goto zEL1a; } goto PtklR; nAuB3: include SC_DIR . "lib/cat/productsort/cat_productsort_data_views.php"; goto UMukR; zX9Cx: include SC_DIR . "lib/cat/sbo-pack/cat_sbo-pack_data_views.php"; goto EYNuP; U0ohc: E5hmX: goto nAuB3; IMX4J: include SC_DIR . "lib/cat/combination/cat_combination_data_views.php"; goto aX42H; P5XRB: include SC_DIR . "lib/cat/specificprice/cat_specificprice_data_views.php"; goto o25BR; XH7xM: include SC_DIR . "lib/cat/sbo-batch/cat_sbo-batch_data_views.php"; goto TPFDZ; codw0: include SC_DIR . "lib/man/man_manufacturer_data_views.php"; goto h01US; gJ4FF: C0kZB: goto XdlM5; SrxSy: wAPnV: goto cCJn1; Zpa9y: include SC_DIR . "lib/cat/cat_product_data_views.php"; goto dxCCf; tGtsA: KPkHX: goto P5XRB; iJ8he: $grids = array(); goto gJ4FF; k68Y4: include SC_DIR . "lib/cat/pack/cat_pack_data_views.php"; goto a3DQl; D7MuV: include SC_DIR . "lib/all/win-affiliation/manager/all_win-affiliation_manager_partner_data_views.php"; goto iYOqT; ao0CR: include SC_DIR . "lib/cms/cms_page_data_views.php"; goto BkNTS; o25BR: goto UyrlQ; goto tTMWI; EEguu: global $multiple, $has_combi; goto lLM62; X7h4Q: ZBQY1: goto pQjYD; kB2PA: goto UyrlQ; goto NCBMd; Untl9: if (!empty($type) && $type == "order") { goto l77yV; } goto r4Gnt; JY3YV: dPE0I: goto fjmcz; l41Ar: vDuv8: goto Zpa9y; kfvmi: if (!empty($type) && $type == "msproduct") { goto dPE0I; } goto pMVKO; JAn_6: goto UyrlQ; goto U0ohc; OT9Ci: if (!empty($type) && $type == "customer") { goto roiOA; } goto Untl9; qZNyP: roiOA: goto VcoDX; a3DQl: goto UyrlQ; goto QjUOR; ACS0K: include SC_DIR . "lib/cat/customerbyproduct/cat_customerbyproduct_data_views.php"; goto D7o17; uClHR: if (!empty($type) && $type == "cms") { goto sLs_9; } goto QdgF1; BkNTS: goto UyrlQ; goto niQMe; ZHvBe: CAGZm: goto D7MuV; a7H7b: goto UyrlQ; goto l41Ar; npaVx: if (!empty($type) && $type == "propsupplier") { goto hjCRJ; } goto cC1MK; P_E4W: OFxeC: goto k68Y4; s4LRn: AWxgO: goto XxQgQ; cC1MK: if (!empty($type) && $type == "propsbobatchesproduct") { goto KeNKe; } goto l8RJD; CMaoO: return $grids; goto GKMhy; WvX7y: fkoZj: goto nsqyk; XdlM5: if (!empty($type) && $type == "product") { goto vDuv8; } goto Swpsj; ajEC1: goto UyrlQ; goto eamps; r4Gnt: if (!empty($type) && $type == "order_product") { goto AWxgO; } goto uClHR; QVG60: if (!empty($type) && $type == "supplier") { goto TqniN; } goto zA9ok; txb1d: global $sc_active; goto Bnfe1; QdgF1: if (!empty($type) && $type == "manufacturer") { goto LvAjR; } goto QVG60; NCBMd: KeNKe: goto XH7xM; QjUOR: hjCRJ: goto EEguu; zA9ok: if (!empty($type) && $type == "productsort") { goto E5hmX; } goto kfvmi; oFZod: if (!empty($type) && $type == "proppackproduct") { goto OFxeC; } goto npaVx; Swpsj: if (!empty($type) && $type == "combination") { goto fkoZj; } goto RSY_a; jCEqd: include SC_DIR . "lib/sup/sup_supplier_data_views.php"; goto JAn_6; M2sV8: goto UyrlQ; goto SrxSy; rCXqU: dbZde: goto QJJEf; ezeK6: YSRXb: goto zX9Cx; jOLFg: l77yV: goto EqM26; MWDJr: goto UyrlQ; goto jOLFg; niQMe: LvAjR: goto codw0; eamps: sLs_9: goto ao0CR; Rrm1W: if (isset($grids)) { goto C0kZB; } goto iJ8he; hY3VQ: goto UyrlQ; goto s4LRn; vnop7: goto UyrlQ; goto X7h4Q; XxQgQ: include SC_DIR . "lib/ord/product/ord_product_data_views.php"; goto ajEC1; l8RJD: if (!empty($type) && $type == "propsbopacksproduct") { goto YSRXb; } goto bQnxT; fjmcz: include SC_DIR . "lib/cat/msproduct/cat_msproduct_data_views.php"; goto vnop7; TPFDZ: goto UyrlQ; goto ezeK6; Czj0X: DGHkA: goto txb1d; bQnxT: if (!empty($type) && $type == "gmapartner") { goto CAGZm; } goto a7H7b; dxCCf: goto UyrlQ; goto WvX7y; Z84RG: TqniN: goto jCEqd; nsqyk: global $sc_active; goto IMX4J; lLM62: include SC_DIR . "lib/cat/supplier/cat_supplier_data_views.php"; goto kB2PA; PtklR: if (!empty($type) && $type == "winspeprice") { goto dbZde; } goto oFZod; GKMhy: } public static function synchronizeArrayOfProducts($arrayOfIDProducts, $order_id_shop = null) { goto gDLuT; ntPpY: return false; goto Ywnaj; EjOHR: foreach ($arrayOfIDProducts as $id_product) { self::synchronize($id_product, $order_id_shop); XjgSf: } goto P0KYj; gDLuT: if (!(!is_array($arrayOfIDProducts) || count($arrayOfIDProducts) == 0)) { goto lNg8q; } goto ntPpY; P0KYj: NAFSs: goto qW3ZB; Ywnaj: lNg8q: goto EjOHR; qW3ZB: } public static function synchronize($id_product, $order_id_shop = null) { goto AsQDm; bbR5h: $ids_product_attribute = array(); goto wsahp; Fejjy: $out_of_stock = StockAvailable::outOfStock($id_product); goto IPkpO; DXc7w: $wh = Warehouse::getWarehouses(false, (int) $order_id_shop); goto B8Rn_; mYLIJ: $order_warehouses = array(); goto DXc7w; B8Rn_: foreach ($wh as $warehouse) { $order_warehouses[] = $warehouse["id_warehouse"]; m4_ZD: } goto pVWxg; X9du3: KyxzE: goto oYWhT; AsQDm: if (Validate::isUnsignedId($id_product)) { goto gVhDf; } goto t5qMM; wsahp: foreach (Product::getProductAttributesIds($id_product) as $id_product_attribute) { $ids_product_attribute[] = $id_product_attribute["id_product_attribute"]; PxmaY: } goto IqyJb; lpXB2: if (!version_compare(_PS_VERSION_, "1.6.0.0", ">=")) { goto KyxzE; } goto eX90d; IPkpO: $manager = StockManagerFactory::getManager(); goto cX0Mt; t5qMM: return false; goto HDvNs; QBzB7: if (!(count($ids_warehouse) == 0 && StockAvailable::dependsOnStock((int) $id_product))) { goto St8LN; } goto DStwP; SRHCS: OHQnL: goto bbR5h; I2hOx: $ids_warehouse = Warehouse::getWarehousesGroupedByShops(); goto uVipF; uVipF: if (!($order_id_shop !== null)) { goto OHQnL; } goto mYLIJ; x6UaJ: St8LN: goto lpXB2; eX90d: Cache::clean("StockAvailable::getQuantityAvailableByProduct_" . (int) $id_product . "*"); goto X9du3; ZojTJ: wYknP: goto QBzB7; DStwP: Db::getInstance()->update("stock_available", array("quantity" => 0), "id_product = " . (int) $id_product); goto x6UaJ; cX0Mt: foreach ($ids_warehouse as $id_shop => $warehouses) { goto ZZgt3; bZdKS: $query->from("stock_available"); goto JrVqn; DMmj7: Db::getInstance()->update($query["table"], $query["data"], $query["where"]); goto dzWFi; ZZgt3: $has_sa = Db::getInstance()->executeS("SELECT depends_on_stock FROM " . _DB_PREFIX_ . "stock_available\xa WHERE id_product = " . (int) $id_product . " AND id_product_attribute = 0" . " AND id_shop = " . (int) $id_shop); goto FDLS_; OirG4: $allowed_warehouse_for_product = WareHouse::getProductWarehouseList((int) $id_product, 0, (int) $id_shop); goto JawWA; vbVlQ: if (empty($ids_product_attribute)) { goto yE3vQ; } goto K1zDZ; CkmzH: $product_quantity = $manager->getProductRealQuantities($id_product, null, $allowed_warehouse_for_product_clean, true); goto bmHkn; f0C4c: foreach ($allowed_warehouse_for_product as $warehouse) { $allowed_warehouse_for_product_clean[] = (int) $warehouse["id_warehouse"]; D25vj: } goto AUHlG; US113: yE3vQ: goto OirG4; myiP4: $query = array("table" => "stock_available", "data" => array("quantity" => $product_quantity), "where" => "id_product = " . (int) $id_product . " AND id_product_attribute = 0" . StockAvailable::addSqlShopRestriction(null, $id_shop)); goto YdUHO; bmHkn: $query = new DbQuery(); goto F18UZ; n1_xI: ICkzK: goto N7vcI; JawWA: $allowed_warehouse_for_product_clean = array(); goto f0C4c; N7vcI: $query = array("table" => "stock_available", "data" => array("quantity" => $product_quantity), "where" => "id_product = " . (int) $id_product . " AND id_product_attribute = 0" . StockAvailable::addSqlShopRestriction(null, $id_shop)); goto DMmj7; oiZLi: fRNZy: goto mKJ7a; arWGs: S2K2R: goto XlL7G; F18UZ: $query->select("COUNT(*)"); goto bZdKS; XlL7G: gT1og: goto oiZLi; JrVqn: $query->where("id_product = " . (int) $id_product . " AND id_product_attribute = 0" . " AND id_shop = " . (int) $id_shop); goto rLX3P; yRHUF: goto fRNZy; goto Z4_4t; HRSiP: goto S2K2R; goto US113; FDLS_: if (!(count($has_sa) == 0 || $has_sa[0]["depends_on_stock"] == 1)) { goto gT1og; } goto ydio8; l6trI: goto jhh0B; goto n1_xI; rLX3P: if ((int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query)) { goto ICkzK; } goto fazBV; dzWFi: jhh0B: goto arWGs; u7Rae: $allowed_warehouse_for_product_clean = array_intersect($allowed_warehouse_for_product_clean, $warehouses); goto AgAUq; ydio8: $product_quantity = 0; goto vbVlQ; fiIna: y_cQa: goto myiP4; AgAUq: if (!($order_id_shop != null && !count(array_intersect($allowed_warehouse_for_product_clean, $order_warehouses)))) { goto eLdRX; } goto yRHUF; AUHlG: mWk62: goto u7Rae; fazBV: $query = array("table" => "stock_available", "data" => array("quantity" => $product_quantity, "depends_on_stock" => 1, "out_of_stock" => $out_of_stock, "id_product" => (int) $id_product, "id_product_attribute" => 0, "id_shop" => (int) $id_shop, "id_shop_group" => 0)); goto bkhaQ; Z4_4t: eLdRX: goto CkmzH; K1zDZ: foreach ($ids_product_attribute as $id_product_attribute) { goto pYdmk; CHoqw: goto gFpSb; goto iFxcx; YuyaK: gFpSb: goto wcnNy; ZHt_2: Db::getInstance()->insert($query["table"], $query["data"]); goto CHoqw; pYdmk: $allowed_warehouse_for_combination = WareHouse::getProductWarehouseList((int) $id_product, (int) $id_product_attribute, (int) $id_shop); goto RsWLJ; ksZAQ: e705C: goto HlTmc; VG94b: if (!($order_id_shop != null && !count(array_intersect($allowed_warehouse_for_combination_clean, $order_warehouses)))) { goto SdyhM; } goto LQm9W; MKdVI: $query = array("table" => "stock_available", "data" => array("quantity" => $quantity), "where" => "id_product = " . (int) $id_product . " AND id_product_attribute = " . (int) $id_product_attribute . StockAvailable::addSqlShopRestriction(null, $id_shop)); goto n0mqi; iFxcx: f0mCF: goto MKdVI; iNFeF: $quantity = $manager->getProductRealQuantities($id_product, $id_product_attribute, $allowed_warehouse_for_combination_clean, true); goto oib8f; LQm9W: goto rqC9y; goto GFRvQ; GFRvQ: SdyhM: goto iNFeF; gcOB2: rqC9y: goto vsxHD; ct2fC: if ((int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query)) { goto f0mCF; } goto DqGBF; RsWLJ: $allowed_warehouse_for_combination_clean = array(); goto tIPzA; oib8f: $query = new DbQuery(); goto kE2wr; OB7_v: $query->where("id_product = " . (int) $id_product . " AND id_product_attribute = " . (int) $id_product_attribute . StockAvailable::addSqlShopRestriction(null, $id_shop)); goto ct2fC; oXFTW: $query->from("stock_available"); goto OB7_v; n0mqi: Db::getInstance()->update($query["table"], $query["data"], $query["where"]); goto YuyaK; HlTmc: $allowed_warehouse_for_combination_clean = array_intersect($allowed_warehouse_for_combination_clean, $warehouses); goto VG94b; kE2wr: $query->select("COUNT(*)"); goto oXFTW; DqGBF: $query = array("table" => "stock_available", "data" => array("quantity" => $quantity, "depends_on_stock" => 1, "out_of_stock" => $out_of_stock, "id_product" => (int) $id_product, "id_product_attribute" => (int) $id_product_attribute, "id_shop" => (int) $id_shop, "id_shop_group" => 0)); goto ZHt_2; wcnNy: $product_quantity += $quantity; goto gcOB2; tIPzA: foreach ($allowed_warehouse_for_combination as $warehouse) { $allowed_warehouse_for_combination_clean[] = (int) $warehouse["id_warehouse"]; HsSn8: } goto ksZAQ; vsxHD: } goto fiIna; YdUHO: Db::getInstance()->update($query["table"], $query["data"], $query["where"]); goto HRSiP; bkhaQ: Db::getInstance()->insert($query["table"], $query["data"]); goto l6trI; mKJ7a: } goto ZojTJ; pVWxg: LS2GY: goto SRHCS; HDvNs: gVhDf: goto I2hOx; IqyJb: S8Nxl: goto Fejjy; oYWhT: } public static function updateQuantity($id_product, $id_product_attribute, $delta_quantity, $id_shop = null) { goto SPkYT; SPkYT: if (version_compare(_PS_VERSION_, "1.6.0.0", "<")) { goto UkKsH; } goto y7TK8; CDKQa: KJVsq: goto IIfbR; kaEH5: hZLrM: goto La76s; o4DMO: goto siLRl; goto lJ0w_; vmFok: return true; goto o4DMO; nhpoA: $id_stock_available = StockAvailable::getStockAvailableIdByProductId($id_product, $id_product_attribute, $id_shop); goto QsWAl; JnBdA: Db::getInstance()->execute("UPDATE " . _DB_PREFIX_ . "stock_available
SET physical_quantity = (quantity+reserved_quantity)
WHERE id_product = " . (int) $id_product . "\xa AND id_product_attribute = " . (int) $id_product_attribute . "\xa AND id_shop = " . (int) $stock_available->id_shop . "\xa AND id_shop_group = " . (int) $stock_available->id_shop_group); goto CDKQa; jZZBY: return false; goto JdMVn; JdMVn: KvHRU: goto nhpoA; La76s: if (!Pack::isPack($id_product)) { goto DdNnS; } goto xrfkW; tAdfr: $stock_available = new StockAvailable($id_stock_available); goto a52Us; PkeH2: Cache::clean("StockAvailable::getQuantityAvailableByProduct_" . (int) $id_product . "*"); goto vmFok; EedUL: if (!version_compare(_PS_VERSION_, "1.7.5.0", ">=")) { goto KJVsq; } goto JnBdA; o_zeb: DdNnS: goto tAdfr; xrfkW: $products_pack = Pack::getItems($id_product, (int) Configuration::get("PS_LANG_DEFAULT")); goto JrWVM; JrWVM: foreach ($products_pack as $product_pack) { goto L32Ua; bUJFs: self::updateQuantity($product_pack->id, $pack_id_product_attribute, $product_pack->pack_quantity * $delta_quantity, $id_shop); goto VZZBQ; L32Ua: $pack_id_product_attribute = Product::getDefaultAttribute($product_pack->id, 1); goto bUJFs; VZZBQ: z8Dfk: goto jjETS; jjETS: } goto rGCJq; a2Wx0: return StockAvailable::updateQuantity($id_product, $id_product_attribute, $delta_quantity, $id_shop); goto q3yUf; IIfbR: Hook::exec("actionUpdateQuantity", array("id_product" => $id_product, "id_product_attribute" => $id_product_attribute, "quantity" => $stock_available->quantity)); goto PkeH2; rGCJq: NncSM: goto o_zeb; q3yUf: siLRl: goto V4VEh; O2flo: $stock_available->update(); goto EedUL; lJ0w_: UkKsH: goto a2Wx0; a52Us: $stock_available->quantity = $stock_available->quantity + $delta_quantity; goto O2flo; lTLg_: return false; goto kaEH5; QsWAl: if ($id_stock_available) { goto hZLrM; } goto lTLg_; y7TK8: if (Validate::isUnsignedId($id_product)) { goto KvHRU; } goto jZZBY; V4VEh: } public static function setQuantity($id_product, $id_product_attribute, $quantity, $id_shop = null) { goto OYdea; eJ4ro: QhwFC: goto TOUXw; VmLTL: $depends_on_stock = StockAvailable::dependsOnStock($id_product, (int) $id_shop); goto A1R5c; aqRNK: goto wha0G; goto vYCj4; Fjy0_: $stock_available->add(); goto d6hq9; To5EC: $id_stock_available = (int) StockAvailable::getStockAvailableIdByProductId($id_product, $id_product_attribute, $id_shop); goto XH8NW; jU1gC: $stock_available->update(); goto gGN0i; iQFY9: $stock_available->id_product_attribute = (int) $id_product_attribute; goto roUwA; yp37o: goto YMJ1l; goto eJ4ro; gGN0i: etxDn: goto ais48; gqAQb: $shop_group = new ShopGroup((int) Shop::getGroupFromShop((int) $id_shop)); goto aqRNK; Hf9b9: $stock_available->id_product = (int) $id_product; goto iQFY9; zQ0ea: diM2A: goto bGsuI; dQK70: $depends_on_stock = false; goto asFJ8; x3Kvk: $out_of_stock = StockAvailable::outOfStock($id_product, $id_shop); goto KWcuP; uTRc1: S80Vc: goto w1iYs; roUwA: $stock_available->quantity = (int) $quantity; goto YcTSX; OYdea: if (Validate::isUnsignedId($id_product)) { goto OC8j2; } goto tNEKp; tNBCS: wha0G: goto KwD5V; ais48: if (!version_compare(_PS_VERSION_, "1.7.5.0", ">=")) { goto diM2A; } goto eUekB; eUekB: Db::getInstance()->execute("UPDATE " . _DB_PREFIX_ . "stock_available
SET physical_quantity = (quantity+reserved_quantity)\xa WHERE id_product = " . (int) $id_product . "\xa AND id_product_attribute = " . (int) $id_product_attribute . "
AND id_shop = " . (int) $stock_available->id_shop . "
AND id_shop_group = " . (int) $stock_available->id_shop_group); goto zQ0ea; Gxeon: HWAWd: goto dQK70; w1iYs: $stock_available = new StockAvailable($id_stock_available); goto eQ3M9; AtgJT: if (!($id_shop === null && Shop::getContext() != Shop::CONTEXT_GROUP)) { goto HWAWd; } goto Uu9qx; OoMqj: if ($depends_on_stock) { goto dfy6A; } goto To5EC; UTxZ_: dfy6A: goto kgnmr; vYCj4: hxI9x: goto mdpul; mdpul: $shop_group = Shop::getContextShopGroup(); goto tNBCS; btVmo: $stock_available->id_shop_group = (int) $shop_group->id; goto Cv1u7; d6hq9: goto etxDn; goto uTRc1; KWcuP: $stock_available = new StockAvailable(); goto tj6Cn; KwD5V: if ($shop_group->share_stock) { goto QhwFC; } goto yu7S3; YcTSX: if ($id_shop === null) { goto hxI9x; } goto gqAQb; bGsuI: Hook::exec("actionUpdateQuantity", array("id_product" => $id_product, "id_product_attribute" => $id_product_attribute, "quantity" => $stock_available->quantity)); goto UTxZ_; uWtjc: $context = Context::getContext(); goto AtgJT; Joajc: OC8j2: goto uWtjc; tj6Cn: $stock_available->out_of_stock = (int) $out_of_stock; goto Hf9b9; Cv1u7: YMJ1l: goto Fjy0_; TOUXw: $stock_available->id_shop = 0; goto btVmo; Uu9qx: $id_shop = (int) $context->shop->id; goto Gxeon; kCJ7p: $stock_available->id_shop_group = 0; goto yp37o; tNEKp: return false; goto Joajc; XH8NW: if ($id_stock_available) { goto S80Vc; } goto x3Kvk; A1R5c: fH3Gr: goto OoMqj; eQ3M9: $stock_available->quantity = (int) $quantity; goto jU1gC; asFJ8: if (!version_compare(_PS_VERSION_, "1.7.8.0", "<")) { goto fH3Gr; } goto VmLTL; yu7S3: $stock_available->id_shop = (int) $id_shop; goto kCJ7p; kgnmr: } public static function deleteCombinationStock($id_product_attribute, $id_product = null) { goto fgb_E; jycva: $sql = "DELETE FROM " . _DB_PREFIX_ . "warehouse_product_location WHERE id_product_attribute=" . (int) $id_product_attribute; goto McSXV; tjJMu: $sql = "SELECT id_stock FROM " . _DB_PREFIX_ . "stock WHERE id_product_attribute=" . (int) $id_product_attribute; goto pnsNc; KHuW2: eArzs: goto lKXa3; lKXa3: $sql = "DELETE FROM " . _DB_PREFIX_ . "stock WHERE id_product_attribute=" . (int) $id_product_attribute; goto ru213; hBH3i: lWVyv: goto k0UYZ; McSXV: Db::getInstance()->Execute($sql); goto tjJMu; zsbxK: foreach ($rows as $row) { goto WrmB0; nii7r: GwX3U: goto J1YbC; KKZ3l: Db::getInstance()->Execute($sql); goto nii7r; WrmB0: $sql = "DELETE FROM " . _DB_PREFIX_ . "stock_mvt WHERE id_stock=" . (int) $row["id_stock"]; goto KKZ3l; J1YbC: } goto KHuW2; ru213: Db::getInstance()->Execute($sql); goto hBH3i; pnsNc: $rows = Db::getInstance()->ExecuteS($sql); goto zsbxK; fgb_E: if (empty($id_product_attribute)) { goto lWVyv; } goto jycva; k0UYZ: } public static function getIdPdtFromCombi($id_product) { goto uIlRI; bsEJ9: if (empty($id_product)) { goto Mxhlh; } goto ZakY4; JZElm: return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto Yd0Bf; c_Tg7: $query->select("pa.id_product"); goto RrjYR; kiLOf: $query->where("pa.id_product = " . (int) $id_product); goto JZElm; RrjYR: $query->from("product_attribute", "pa"); goto kiLOf; ZakY4: $query = new DbQuery(); goto c_Tg7; uIlRI: $return = 0; goto bsEJ9; Yd0Bf: Mxhlh: goto c4ZiW; c4ZiW: return $return; goto pcVyj; pcVyj: } public static function getPrice($id_prd, $id_prd_attr = null, $id_shop = 1, $with_reduc = false) { goto RledR; jmSed: SFClJ: goto QwTTP; wUJik: $res_specific_price = Db::getInstance()->getRow($sql_specific_price); goto cQgSf; QwTTP: return $actual_prices; goto BX2b8; xwOet: $actual_prices["price_reduction_wt"] = ($attrrow["price"] + $prodrow["price"]) * (1 - $res_specific_price["reduction"]); goto FB0W4; CgeLt: Ti3jq: goto xwOet; Y8C_d: if (!(version_compare(_PS_VERSION_, "1.6.0.0", ">=") && SCMS)) { goto ehAH5; } goto EBucb; P91HN: HPFRt: goto wUJik; ybrY9: wIq0v: goto kBXTo; oIqIF: p3haO: goto SSsmw; uBSVL: $prodrow["reduction_price"] = $res_specific_price["reduction"]; goto KGCJt; c8ViX: $actual_prices["price_reduction_wt"] = $actual_prices["price_wt"]; goto Vf6uo; SSsmw: $sql = " SELECT price,id_tax_rules_group,ecotax FROM " . _DB_PREFIX_ . "product_shop WHERE id_product='" . (int) $id_prd . "' AND id_shop='" . (int) $id_shop . "' "; goto WF8vA; c81Zb: $actual_prices["price_it"] = $attrrow["price"] * ($taxrate / 100 + 1) + $prodrow["price"] * ($taxrate / 100 + 1) + $ecotax; goto QDB5I; jtcEh: if (!empty($taxrate)) { goto Kmtxj; } goto UiZUl; kBXTo: v6olU: goto ePkbF; beT1q: if (!$with_reduc) { goto SFClJ; } goto yQTRW; ODn6z: $actual_prices["price_it"] = $prodrow["price"] * ($taxrate / 100 + 1) + $ecotax; goto fPSnr; UOYev: foreach ($res as $row) { goto vfIE7; CgeOK: sm6Eu: goto Yde9t; vfIE7: if (!($row["name"] == '')) { goto sm6Eu; } goto c1JCM; c1JCM: $row["name"] = " "; goto CgeOK; Yde9t: $cache_tax[$id_shop][$row["id_tax_rules_group"]] = $row["rate"]; goto NtMVQ; NtMVQ: IaW8f: goto itOnJ; itOnJ: } goto W2pJu; dwThd: $sql = "SELECT trg.name, trg.id_tax_rules_group,t.rate
FROM `" . _DB_PREFIX_ . "tax_rules_group` trg\xa LEFT JOIN `" . _DB_PREFIX_ . "tax_rule` tr ON (trg.`id_tax_rules_group` = tr.`id_tax_rules_group` AND tr.`id_country` = " . (int) self::getDefaultCountryId() . " AND tr.`id_state` = 0)
LEFT JOIN `" . _DB_PREFIX_ . "tax` t ON (t.`id_tax` = tr.`id_tax`)
" . $inner . "\xa WHERE trg.active=1"; goto zlJUE; Pj5s4: jrXvr: goto ilM3k; KGCJt: goto jrXvr; goto LQJbG; ZY0g7: $inner = " INNER JOIN " . _DB_PREFIX_ . "tax_rules_group_shop trgs ON (trgs.id_tax_rules_group = trg.id_tax_rules_group AND trgs.id_shop = '" . (int) $id_shop . "')"; goto QXz25; BmsRr: K9sYQ: goto cx4I5; Su4Xs: vQS58: goto Kd5Un; LQJbG: Rf3j4: goto aSVw2; WF8vA: $prodrow = Db::getInstance()->getRow($sql); goto LQyvk; QXz25: B6fpE: goto uyz2B; BiDie: $actual_prices["price_wt"] = $prodrow["price"]; goto KjOUE; ZIYMx: if ($res_specific_price["reduction_type"] == "percentage") { goto Rf3j4; } goto VzU6z; KeLgi: $actual_prices["price_reduction_it"] = $prodrow["price"] * ($taxrate / 100 + 1) * (1 - $res_specific_price["reduction"]) + $ecotax; goto Gt6qT; JlFWl: goto wIq0v; goto BmsRr; DQGHz: goto MlIc6; goto N3uky; QDB5I: MlIc6: goto LWuBw; AirNm: $actual_prices["price_reduction_it"] = ($attrrow["price"] + $prodrow["price"]) * (1 - $res_specific_price["reduction"]) + $ecotax; goto JlFWl; g07yR: $actual_prices["price_reduction_it"] = $actual_prices["price_it"] - $prodrow["reduction_price"]; goto GOHnO; cg8KA: $sql_specific_price->where("`id_shop` = 0 OR `id_shop` = " . (int) $id_shop); goto P91HN; UiZUl: $actual_prices["price_it"] = $attrrow["price"] + $prodrow["price"] + $ecotax; goto DQGHz; QimPv: if (!SCMS) { goto B6fpE; } goto ZY0g7; jnluD: if (!($prodrow["reduction_percent"] > 0)) { goto PgO1M; } goto Kfjon; cx4I5: $actual_prices["price_reduction_it"] = ($attrrow["price"] * ($taxrate / 100 + 1) + $prodrow["price"] * ($taxrate / 100 + 1)) * (1 - $res_specific_price["reduction"]) + $ecotax; goto ybrY9; VzU6z: $prodrow["reduction_percent"] = 0; goto uBSVL; Vf6uo: $actual_prices["price_reduction_it"] = $actual_prices["price_it"]; goto beT1q; zlJUE: $res = Db::getInstance()->ExecuteS($sql); goto UOYev; Kfjon: if (!empty($id_prd_attr)) { goto Ti3jq; } goto Uwbq7; ePkbF: PgO1M: goto pKFOE; x8CQx: ehAH5: goto dwThd; GOHnO: B6ECb: goto jnluD; pKFOE: JxjX1: goto jmSed; o3J5Y: foreach ($res as $row) { goto hMpLJ; xjoUv: R2z2Q: goto oQCJM; oQCJM: $cache_tax[$id_shop][$row["id_tax_rules_group"]] = $row["rate"]; goto ly_cL; hMpLJ: if (!($row["name"] == '')) { goto cAS6z; } goto UdZzs; UdZzs: $row["name"] = " "; goto Wg9t1; Wg9t1: cAS6z: goto QBsGa; QBsGa: if (!($row["deleted"] == "1")) { goto R2z2Q; } goto UNrHT; ly_cL: Rixzm: goto UAeet; UNrHT: $row["name"] .= " " . _l("(deleted)"); goto xjoUv; UAeet: } goto Su4Xs; c4TSa: $actual_prices["price_wt"] += $attrrow["price"]; goto xQl3m; fPSnr: if (empty($id_prd_attr)) { goto cnmob; } goto s81hp; cQgSf: if (empty($res_specific_price)) { goto JxjX1; } goto ZIYMx; g5oNX: iDDXC: goto bynzk; xUdFD: $sql_specific_price->select("*")->from("specific_price")->where("`id_product` = " . (int) $id_prd)->where("`from` <= "" . date("Y-m-d H:i:s") . "" OR `from`="0000-00-00 00:00:00"")->where("`to` >= "" . date("Y-m-d H:i:s") . "" OR `to`="0000-00-00 00:00:00"")->where("`id_product_attribute` = 0 " . (!empty($id_prd_attr) ? " OR id_product_attribute = " . (int) $id_prd_attr : ''))->orderBy("`id_shop` DESC")->orderBy("`to` DESC")->orderBy("`id_specific_price` ASC"); goto WD0Ig; bynzk: $inner = ''; goto QimPv; KjOUE: $ecotax = _s("CAT_PROD_ECOTAXINCLUDED") ? $prodrow["ecotax"] * self::getEcotaxTaxRate() : 0; goto ODn6z; vyeqz: if (version_compare(_PS_VERSION_, "1.6.0.10", ">=")) { goto iDDXC; } goto jic_d; s81hp: $sql = " SELECT price,ecotax FROM " . _DB_PREFIX_ . "product_attribute_shop WHERE id_product_attribute='" . (int) $id_prd_attr . "' AND id_shop='" . (int) $id_shop . "' "; goto jRwzm; WD0Ig: if (!SCMS) { goto HPFRt; } goto cg8KA; EBucb: $inner = " INNER JOIN " . _DB_PREFIX_ . "tax_rules_group_shop trgs ON (trgs.id_tax_rules_group = trg.id_tax_rules_group AND trgs.id_shop = '" . (int) $id_shop . "')"; goto x8CQx; LWuBw: cnmob: goto c8ViX; V8rot: $actual_prices["price_reduction_wt"] = $actual_prices["price_wt"] - $prodrow["reduction_price"] / ($taxrate / 100 + 1); goto g07yR; CZlM8: $actual_prices = array("price_wt" => 0, "price_it" => 0, "price_reduction_wt" => 0, "price_reduction_it" => 0); goto fapCP; L3Wht: $taxrate = $cache_tax[$id_shop][(int) $prodrow["id_tax"]]; goto BiDie; yQTRW: $sql_specific_price = new DbQuery(); goto xUdFD; Gt6qT: goto v6olU; goto CgeLt; uyz2B: $sql = "SELECT trg.name, trg.id_tax_rules_group,t.rate, trg.deleted
FROM `" . _DB_PREFIX_ . "tax_rules_group` trg
LEFT JOIN `" . _DB_PREFIX_ . "tax_rule` tr ON (trg.`id_tax_rules_group` = tr.`id_tax_rules_group` AND tr.`id_country` = " . (int) self::getDefaultCountryId() . " AND tr.`id_state` = 0)
LEFT JOIN `" . _DB_PREFIX_ . "tax` t ON (t.`id_tax` = tr.`id_tax`)\xa " . $inner . "
WHERE trg.active=1
ORDER BY trg.deleted ASC, trg.name ASC"; goto woOtQ; ilM3k: if (!($prodrow["reduction_price"] > 0)) { goto B6ECb; } goto V8rot; FB0W4: if (!empty($taxrate)) { goto K9sYQ; } goto AirNm; LQyvk: $prodrow["id_tax"] = $prodrow["id_tax_rules_group"]; goto L3Wht; woOtQ: $res = Db::getInstance()->ExecuteS($sql); goto o3J5Y; Uwbq7: $actual_prices["price_reduction_wt"] = $prodrow["price"] * (1 - $res_specific_price["reduction"]); goto KeLgi; fapCP: if (!empty($tax[$id_shop])) { goto p3haO; } goto vyeqz; jic_d: $inner = ''; goto Y8C_d; jRwzm: $attrrow = Db::getInstance()->getRow($sql); goto c4TSa; N3uky: Kmtxj: goto c81Zb; aSVw2: $prodrow["reduction_percent"] = $res_specific_price["reduction"] * 100; goto HKlrx; Kd5Un: eRjnU: goto oIqIF; W2pJu: og1_0: goto XBBat; XBBat: goto eRjnU; goto g5oNX; xQl3m: $ecotax = _s("CAT_PROD_ECOTAXINCLUDED") ? $attrrow["ecotax"] * self::getEcotaxTaxRate() : 0; goto jtcEh; HKlrx: $prodrow["reduction_price"] = 0; goto Pj5s4; RledR: global $cache_tax; goto CZlM8; BX2b8: } public static function getBrightness($hex) { goto JgWS5; i18Yn: return ($r * 299 + $g * 587 + $b * 114) / 1000; goto qYZnc; KgbX4: $b = hexdec(substr($hex, 4, 2)); goto i18Yn; yYdwo: $g = hexdec(substr($hex, 2, 2)); goto KgbX4; JgWS5: $hex = str_replace("#", '', $hex); goto hs2oj; hs2oj: $r = hexdec(substr($hex, 0, 2)); goto yYdwo; qYZnc: } public static function translateSubjectMail($subject, $id_lang) { goto KifXv; qN_YU: if (!version_compare(_PS_VERSION_, "1.7.0.0", ">=")) { goto IfwIB; } goto MiDsV; tC4IJ: bmeyS: goto qN_YU; MiDsV: $orderLanguage = new Language((int) $id_lang); goto R7UjN; zssAP: $params["%thread_token%"] = $matches[5]; goto XC0ny; v1xsy: $subst = "$1%thread_id%$4%thread_token%"; goto TsDgI; TsDgI: preg_match($re, $subject, $matches); goto sEIs1; fPyA7: $params = array(); goto tzjjl; DHzEj: haDLi: goto fPyA7; KifXv: if (!empty($id_lang)) { goto haDLi; } goto BjLMI; lEyBX: $re = "/(.*\ \#ct)(.*)(\$s)(\ \#tc)(.*)(\$s)/m"; goto v1xsy; BjLMI: return $subject; goto DHzEj; tzjjl: if (!version_compare(_PS_VERSION_, "1.7.7.0", ">=")) { goto bmeyS; } goto lEyBX; R7UjN: $translator = Context::getContext()->getTranslator(); goto MTA9d; XC0ny: $subject = preg_replace($re, $subst, $subject); goto tC4IJ; MTA9d: return $translator->trans($subject, $params, "Emails.Subject", $orderLanguage->locale); goto KyKRT; N2WEO: return Mail::l($subject, (int) $id_lang); goto Tw5uF; KyKRT: IfwIB: goto N2WEO; sEIs1: $params["%thread_id%"] = $matches[2]; goto zssAP; Tw5uF: } public static function moduleIsInstalled($module_name) { goto TDKA2; Rg10M: CPlH2: goto r2q8R; UkBeI: return Module::isInstalled($module_name); goto BzObC; r2q8R: return (bool) Db::getInstance()->getValue("SELECT `id_module` FROM `" . _DB_PREFIX_ . "module` WHERE `name` = "" . pSQL($module_name) . """); goto YEExQ; TDKA2: if (version_compare(_PS_VERSION_, "1.7.0.1", ">=")) { goto CPlH2; } goto UkBeI; BzObC: goto q7tsD; goto Rg10M; YEExQ: q7tsD: goto drANU; drANU: } public static function moduleIsEnabled($module_name) { return Module::isEnabled($module_name); } public static function getModuleVersion($module_name) { return (string) Db::getInstance()->getValue("SELECT `version` FROM `" . _DB_PREFIX_ . "module` WHERE `name` = "" . pSQL($module_name) . """); } public static function cacheScModulesInfos($refresh = false) { goto cOxQC; orAr_: $messageInstallation = _l("(Installation required in Prestashop)"); goto UNS9N; VBpcd: $modules_installed = $tmp; goto TsILt; Sfqda: fSnYY: goto VBpcd; YdVae: $sc_module = array("scaffiliation", "scpdfcatalog"); goto bfyzn; zW96z: $modules_on_disk = Module::getModulesDirOnDisk(); goto YdVae; JsWCD: dtkWM: goto vqkiK; cOxQC: if (!(!is_null(self::$scModulesInfos) && !$refresh)) { goto JHI8x; } goto F0xPt; kgHul: JHI8x: goto nmeP9; i7q9s: $tmp = array(); goto O3CN1; TsILt: tg1sf: goto mISM1; UNS9N: $messageActivation = _l("(Activation required in Prestashop)"); goto EBg0G; EBg0G: foreach ($sc_module as $m_name) { goto GCCQq; TZXZh: if (!in_array($m_name, $modules_on_disk)) { goto kThB1; } goto UT0KG; S96fn: if (!(!$sc_module_infos[$m_name]["present"] || !$sc_module_infos[$m_name]["installed"])) { goto nb585; } goto Yz1kr; Yz1kr: $sc_module_infos[$m_name]["message"] = $messageInstallation; goto Es1mN; ikmld: v8RRL: goto S96fn; GCCQq: $sc_module_infos[$m_name] = array("present" => false, "installed" => false, "activated" => false, "message" => ''); goto TZXZh; Ntyys: $sc_module_infos[$m_name]["activated"] = (int) $modules_installed[$m_name]; goto ikmld; UT0KG: $sc_module_infos[$m_name]["present"] = true; goto ihv3b; pnEkJ: if (!($sc_module_infos[$m_name]["present"] && $sc_module_infos[$m_name]["installed"] && !$sc_module_infos[$m_name]["activated"])) { goto MhYp9; } goto DS4pX; ihv3b: kThB1: goto tGhF0; onXdu: LxG82: goto c8h5r; LWzK2: $sc_module_infos[$m_name]["installed"] = true; goto Ntyys; mzH1F: MhYp9: goto onXdu; DS4pX: $sc_module_infos[$m_name]["message"] = $messageActivation; goto mzH1F; tGhF0: if (!array_key_exists($m_name, $modules_installed)) { goto v8RRL; } goto LWzK2; Es1mN: nb585: goto pnEkJ; c8h5r: } goto JsWCD; nmeP9: self::$scModulesInfos = array(); goto zW96z; F0xPt: return; goto kgHul; bfyzn: $modules_installed = Db::getInstance()->executeS("SELECT name,active\xa FROM " . _DB_PREFIX_ . "module\xa WHERE name IN ("" . implode("","", $sc_module) . "")"); goto pg5FC; vqkiK: self::$scModulesInfos = $sc_module_infos; goto Rzfbg; O3CN1: foreach ($modules_installed as $row) { $tmp[$row["name"]] = (int) $row["active"]; HVITQ: } goto Sfqda; pg5FC: if (empty($modules_installed)) { goto tg1sf; } goto i7q9s; mISM1: $sc_module_infos = array(); goto orAr_; Rzfbg: } public static function getScModulesInfos($module_name = null) { goto IDpyW; t91It: Iirze: goto Jx5su; IDpyW: self::cacheScModulesInfos(); goto elUGf; dF0Yl: if (empty($module_name)) { goto Iirze; } goto eO5IT; eO5IT: return $sc_module_infos[$module_name]; goto t91It; elUGf: $sc_module_infos = self::$scModulesInfos; goto dF0Yl; Jx5su: return $sc_module_infos; goto brINX; brINX: } public static function duplicateProductImages($idProductOld, $idProductNew, $id_image = null) { goto geCzS; LsCMN: YiUrG: goto DFZrm; LFvn4: $result = Db::getInstance()->executeS("\xa SELECT i.`id_image`\xa FROM `" . _DB_PREFIX_ . "image` i\xa INNER JOIN `" . _DB_PREFIX_ . "image_shop` image_shop
ON (i.`id_image` = image_shop.`id_image` AND image_shop.`id_shop` = " . (int) self::getSelectedShop() . ")\xa WHERE i.`id_product` = " . (int) $idProductOld); goto d4rcz; LRjql: foreach ($result as $row) { goto euupW; euupW: $imageOld = new Image($row["id_image"]); goto gUg1l; md83G: $imageNew->cover = !empty($new_product_has_cover) ? 0 : 1; goto FWnC9; iFoFz: return false; goto sjQh2; mMPP1: foreach ($imagesTypes as $imageType) { goto dBsBo; E7J37: copy(_PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . "-" . $imageType["name"] . ".jpg", $newPath . "-" . $imageType["name"] . ".jpg"); goto AoYcf; BjaqK: if (!file_exists($oldImagePath)) { goto N9cp1; } goto P6LEP; Spf9a: KFYz7: goto E7J37; OMHqI: N9cp1: goto k9Fpl; P6LEP: copy($oldImagePath, $newPath . "-" . $imageType["name"] . "-" . Configuration::get("WATERMARK_HASH") . ".jpg"); goto OMHqI; AoYcf: if (!Configuration::get("WATERMARK_HASH")) { goto JMYnO; } goto rdUfZ; rdUfZ: $oldImagePath = _PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . "-" . $imageType["name"] . "-" . Configuration::get("WATERMARK_HASH") . ".jpg"; goto BjaqK; p_Ls6: Nl4Hi: goto GRWFL; GRWFL: cu3lD: goto zzp3e; cde2y: if (Configuration::get("PS_LEGACY_IMAGES")) { goto KFYz7; } goto h2_gx; dBsBo: if (!file_exists(_PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . "-" . $imageType["name"] . ".jpg")) { goto Nl4Hi; } goto cde2y; h2_gx: $imageNew->createImgFolder(); goto Spf9a; k9Fpl: JMYnO: goto p_Ls6; zzp3e: } goto lsOrj; bjzTs: JdHgx: goto aMOZL; lsOrj: tKhVO: goto veoMG; zSUDe: copy(_PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . ".jpg", $newPath . ".jpg"); goto CIZco; veoMG: if (!file_exists(_PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . ".jpg")) { goto FlPdK; } goto zSUDe; gUg1l: $imageNew = clone $imageOld; goto kixP7; pyUsf: $new_product_has_cover = Image::getCover((int) $idProductNew); goto md83G; NAadP: return (int) $imageNew->id; goto CG1Rj; aMOZL: $newPath = $imageNew->getPathForCreation(); goto mMPP1; AZONS: $imageNew->duplicateShops($idProductOld); goto NAadP; LZX73: if ($imageNew->add()) { goto JdHgx; } goto iFoFz; kixP7: unset($imageNew->id); goto pyUsf; CG1Rj: lJfT7: goto tIFlg; sjQh2: goto lJfT7; goto bjzTs; tIFlg: Gm4tr: goto f9LPV; CIZco: FlPdK: goto AZONS; FWnC9: $imageNew->id_product = (int) $idProductNew; goto LZX73; f9LPV: } goto LsCMN; ufMTN: $result = array(0 => array("id_image" => $id_image)); goto l244C; l244C: WOLM2: goto LRjql; DKZ4y: jA3py: goto ufMTN; d4rcz: goto WOLM2; goto DKZ4y; mEl1s: if (!empty($id_image)) { goto jA3py; } goto LFvn4; geCzS: $imagesTypes = ImageType::getImagesTypes("products"); goto mEl1s; DFZrm: } public static function getFeedBizAllowedMarketPlace() { goto rnyaE; vXG1t: foreach ($allowed as $marketplace => $value) { goto gbeJe; gbeJe: if (!(array_key_exists($marketplace, $marketplace_tab_config) && Tools::strlen($marketplace_tab_config[$marketplace]))) { goto pNyvV; } goto TO39H; TO39H: $allowed[$marketplace] = true; goto Dk2a1; e8Mjg: r4dx3: goto H29Bu; Dk2a1: pNyvV: goto e8Mjg; H29Bu: } goto XV8uj; el4rC: $marketplace_tab_config = unserialize($marketplace_tab); goto opn2Y; Y5Tag: sxb_I: goto Sq137; XV8uj: IPhIX: goto cYhxl; rnyaE: $marketplace_tab = Configuration::get("FEEDBIZ_MARKETPLACE_TAB"); goto FVlr0; FVlr0: $allowed = array("amazon" => false, "cdiscount" => false); goto k8o5X; opn2Y: if (!(is_array($marketplace_tab_config) && count($marketplace_tab_config))) { goto Z8D5Z; } goto vXG1t; cYhxl: Z8D5Z: goto Y5Tag; k8o5X: if (!$marketplace_tab) { goto sxb_I; } goto el4rC; Sq137: return $allowed; goto eGq0K; eGq0K: } public static function getShopUrlArrayJs() { goto mam4G; VpLTF: $shops = Db::getInstance()->executeS($sql_shop); goto npQfl; rTdz0: $base_url = (self::getConfigurationValue("PS_SSL_ENABLED") ? $protocol . self::getConfigurationValue("PS_SHOP_DOMAIN_SSL") : $protocol . self::getConfigurationValue("PS_SHOP_DOMAIN")) . "/"; goto f3dWN; ebb7s: if (empty($url)) { goto dFFND; } goto Ks7A9; KbASx: $sql_shop = "SELECT id_shop\xa FROM " . _DB_PREFIX_ . "shop\xa WHERE deleted != '1'"; goto VpLTF; f3dWN: $url = Db::getInstance()->getValue("SELECT CONCAT(domain, physical_uri, virtual_uri) AS url\xa FROM " . _DB_PREFIX_ . "shop_url
WHERE active = 1"); goto ebb7s; mam4G: $html_return = array(); goto odZrR; npQfl: foreach ($shops as $shop) { goto ycmyT; xazNh: z9LTR: goto PKdbs; bA2l4: if (empty($url["url"])) { goto N5O3l; } goto hmrW0; ycmyT: $url = Db::getInstance()->getRow("SELECT *, CONCAT(domain, physical_uri, virtual_uri) AS url\xa FROM " . _DB_PREFIX_ . "shop_url\xa WHERE id_shop = " . (int) $shop["id_shop"] . "\xa AND active = "1"\xa ORDER BY main DESC"); goto bA2l4; hmrW0: $html_return[$shop["id_shop"]] = $protocol . $url["url"]; goto PkyFm; PkyFm: N5O3l: goto xazNh; PKdbs: } goto yCfNZ; Vt3oC: $html_return[0] = $base_url; goto KbASx; pxrHH: dFFND: goto Vt3oC; odZrR: $protocol = Tools::getShopProtocol(); goto rTdz0; yCfNZ: gG23Y: goto KZya4; KZya4: return "var shopUrls = " . json_encode($html_return) . "
"; goto q4ZEZ; Ks7A9: $base_url = $protocol . $url; goto pxrHH; q4ZEZ: } public static function checkSpecificPriceexists($id_product, $id_product_attribute, $price, $reduction, $reduction_type, $id_shop, $id_group, $id_country, $id_currency, $id_customer, $from_quantity, $from, $to, $rule = false) { $rule = " AND `id_specific_price_rule`" . (!$rule ? "=0" : "!=0"); return (int) Db::getInstance()->getValue("SELECT `id_specific_price`\xa FROM " . _DB_PREFIX_ . "specific_price
WHERE `id_product`=" . (int) $id_product . " AND\xa `id_product_attribute`=" . (int) $id_product_attribute . " AND
`price`=" . (double) $price . " AND\xa `reduction`=" . (double) $reduction . " AND
`reduction_type`="" . pSQL($reduction_type) . "" AND
`id_shop`=" . (int) $id_shop . " AND\xa `id_group`=" . (int) $id_group . " AND\xa `id_country`=" . (int) $id_country . " AND
`id_currency`=" . (int) $id_currency . " AND
`id_customer`=" . (int) $id_customer . " AND
`from_quantity`=" . (int) $from_quantity . " AND\xa `from` >= '" . pSQL($from) . "' AND
`to` <= '" . pSQL($to) . "'" . $rule); } public static function cachingAttributeName($id_lang, $id_product_attribute = null) { goto n5G1T; nCWvO: foreach ($res_attr as $row) { goto RqFfO; OlG2J: g60Rh: goto vqtO8; RqFfO: if (!(!empty($row["gp"]) && !empty($row["name"]))) { goto d42p_; } goto Xh5ga; bNVZy: goto wRFok; goto OlG2J; iRMOk: if (array_key_exists($row["id_product_attribute"], $cache_array)) { goto g60Rh; } goto wmhTb; wmhTb: $cache_array[$row["id_product_attribute"]] = $attribute_name; goto bNVZy; DFg5n: wRFok: goto Wm_SC; vqtO8: $cache_array[$row["id_product_attribute"]] .= ", " . $attribute_name; goto DFg5n; udyC1: yPlB5: goto QnoXF; Xh5ga: $attribute_name = $row["gp"] . " : " . $row["name"]; goto iRMOk; Wm_SC: d42p_: goto udyC1; QnoXF: } goto JC8bL; JC8bL: HFSVd: goto E9LuZ; mnkQ0: if (empty($res_attr)) { goto BCzty; } goto nCWvO; Ep3Jl: return $cache_array; goto B3P8X; X6JO0: $id_product_attribute = array($id_product_attribute); goto GWbsF; oxK85: $sql = "SELECT pac.id_product_attribute,agl.name as gp, al.name\xa FROM " . _DB_PREFIX_ . "product_attribute_combination pac\xa INNER JOIN " . _DB_PREFIX_ . "attribute a ON pac.id_attribute = a.id_attribute
INNER JOIN " . _DB_PREFIX_ . "attribute_group_lang agl ON a.id_attribute_group = agl.id_attribute_group
INNER JOIN " . _DB_PREFIX_ . "attribute_lang al ON pac.id_attribute = al.id_attribute" . (!empty($id_product_attribute) ? " WHERE pac.id_product_attribute IN (" . pSQL(implode(",", $id_product_attribute)) . ")" : '') . "AND agl.id_lang = " . (int) $id_lang . "\xa AND al.id_lang = " . (int) $id_lang . "\xa ORDER BY agl.name"; goto iqX48; t8iTn: if (is_array($id_product_attribute)) { goto BKUA1; } goto X6JO0; E9LuZ: BCzty: goto Ep3Jl; tgqrF: $cache_array = array(); goto mnkQ0; n5G1T: if (empty($id_product_attribute)) { goto zzj7p; } goto t8iTn; iqX48: $res_attr = Db::getInstance()->executeS($sql); goto tgqrF; BcCOM: zzj7p: goto oxK85; GWbsF: BKUA1: goto BcCOM; B3P8X: } public static function addLog($message, $severity = 1, $errorCode = null, $objectType = null, $objectId = null, $allowDuplicate = false, $idEmployee = null) { goto msWad; L7wJI: irubm: goto ujLcF; Zosrp: goto irubm; goto aRQsM; msWad: if (version_compare(_PS_VERSION_, "1.6.0.3", ">=")) { goto QQg1C; } goto AUWHE; aRQsM: QQg1C: goto kB9w0; kB9w0: PrestaShopLogger::addLog($message, $severity, $errorCode, $objectType, $objectId, $allowDuplicate, $idEmployee); goto L7wJI; AUWHE: Logger::addLog($message, $severity, $errorCode, $objectType, $objectId, $allowDuplicate); goto Zosrp; ujLcF: } public static function addProductAttributeMultiple($product, $attributes, $set_default = true) { goto qmgDf; L0eZp: return $return; goto Mz_P_; lMn6O: NSRHK: goto L0eZp; Bs_XG: foreach ($attributes as $attribute) { goto BPf1e; l8dmw: $default_value = 0; goto qp3MG; i65VK: foreach ($id_shop_list_array as $array_shop) { $id_shop_list[] = $array_shop["id_shop"]; tPitE: } goto p27xu; wPTje: $obj->default_on = $default_value; goto l8dmw; vayle: $obj->add(); goto L2cCh; qp3MG: if ($product->hasAttributesInOtherShops()) { goto gXp0t; } goto UDwO9; L2cCh: $return[] = $obj->id; goto H1lyg; p27xu: oj8LW: goto M4mld; vOtm4: $id_shop_list = array(); goto i65VK; BTY2X: if (!$set_default) { goto JOCHm; } goto wPTje; H1lyg: mSd9L: goto JrQg9; RB1iq: JOCHm: goto vayle; sgJOK: gXp0t: goto RB1iq; wsEY5: C1HUi: goto BTY2X; IhJqI: foreach ($attribute as $key => $value) { $obj->{$key} = $value; AgM9I: } goto wsEY5; BPf1e: $obj = new Combination(); goto IhJqI; M4mld: $obj->id_shop_list = $id_shop_list; goto sgJOK; UDwO9: $id_shop_list_array = Product::getShopsByProduct($product->id); goto vOtm4; JrQg9: } goto lMn6O; wiCZd: $default_value = 1; goto Bs_XG; qmgDf: $return = array(); goto wiCZd; Mz_P_: } public static function addAttributeCombinationMultiple($id_attributes, $combinations) { goto xLdgX; sGJOy: wbSF5: goto qTW44; qTW44: return Db::getInstance()->insert("product_attribute_combination", $attributes_list); goto sVpzp; xLdgX: $attributes_list = array(); goto zX9Nk; zX9Nk: foreach ($id_attributes as $nb => $id_product_attribute) { goto yBZ_a; lIBDl: Q2DMY: goto zbBQt; hx73S: foreach ($combinations[$nb] as $id_attribute) { $attributes_list[] = array("id_product_attribute" => (int) $id_product_attribute, "id_attribute" => (int) $id_attribute); C1wRu: } goto R0oJR; yBZ_a: if (!isset($combinations[$nb])) { goto Q2DMY; } goto hx73S; zbBQt: pwtCE: goto YA7sU; R0oJR: QOyhx: goto lIBDl; YA7sU: } goto sGJOy; sVpzp: } public static function getAttributeCombinations($product, $id_lang) { return $product->getAttributeCombinations($id_lang); } public static function getScDisplayableOrderStates($id_lang, $filterDeleted = true) { goto O_b36; Igy20: if (empty($scHideOrderStatesConfigs)) { goto WohWw; } goto YV2CD; YV2CD: foreach ($orderStates as $key => $orderState) { goto kQZvP; f76Kk: CUEjT: goto uf8Y6; scjWl: if (!(!empty($scHideOrderStatesConfig) && isset($scHideOrderStatesConfig["shops"]) && is_array($scHideOrderStatesConfig["shops"]) && in_array(self::getSelectedShop(), array_values($scHideOrderStatesConfig["shops"])))) { goto CUEjT; } goto uaoB3; kQZvP: if (!isset($scHideOrderStatesConfigs[$orderState["id_order_state"]])) { goto HoP00; } goto WLeb2; bOGrd: IInfn: goto aiMpB; uf8Y6: HoP00: goto bOGrd; uaoB3: unset($orderStates[$key]); goto f76Kk; WLeb2: $scHideOrderStatesConfig = $scHideOrderStatesConfigs[$orderState["id_order_state"]]; goto scjWl; aiMpB: } goto CeSSS; QcQx0: WohWw: goto sXnhz; XK5lO: $scHideOrderStatesConfigs = unserialize(self::getConfigurationValue("SC_HIDE_ORDER_STATES")); goto Igy20; sXnhz: return $orderStates; goto y5Yq7; O_b36: $orderStates = OrderState::getOrderStates($id_lang, $filterDeleted); goto XK5lO; CeSSS: aT_nI: goto QcQx0; y5Yq7: } public static function getScIsDisplayableOrderState($idOrderState = null, $idShop = null) { goto CjBoH; D2T3J: if (!(!is_array($scHideOrderStatesConfigs[$idOrderState]["shops"]) || !isset($scHideOrderStatesConfigs[$idOrderState]))) { goto M_AcV; } goto EA62C; zYf44: return 1; goto Dce8D; pTjvt: if (!(!$idOrderState || !$scHideOrderStatesConfigs)) { goto pMsOv; } goto uDHNG; p9oTB: M_AcV: goto VX0qC; OkO2r: pMsOv: goto D2T3J; kDPWR: if (!($idShop == 0 && is_iterable($scHideOrderStatesConfigs[$idOrderState]["shops"]) && count($scHideOrderStatesConfigs[$idOrderState]["shops"]) > 1)) { goto rNNM_; } goto ws7eW; uDHNG: return 0; goto OkO2r; HjhVw: rNNM_: goto zYf44; CjBoH: $idShop = $idShop !== null ? $idShop : self::getSelectedShop(); goto KikTP; EA62C: return 0; goto p9oTB; ws7eW: return 2; goto HjhVw; VX0qC: if (in_array($idShop, array_values($scHideOrderStatesConfigs[$idOrderState]["shops"]))) { goto G8D8_; } goto gEkVS; pdkT8: G8D8_: goto kDPWR; KikTP: $scHideOrderStatesConfigs = unserialize(self::getConfigurationValue("SC_HIDE_ORDER_STATES")); goto pTjvt; gEkVS: return 0; goto pdkT8; Dce8D: } public static function getActiveLangForSelectedShop($field = null) { goto vJByv; Bs2mB: goto bjVOs; goto DcWuF; vJByv: if (!$field) { goto tKQ4T; } goto o8TvC; fgwm1: bjVOs: goto acmsR; DcWuF: tKQ4T: goto SP9gl; o8TvC: return array_map(function ($e) use($field) { return $e[$field]; }, Language::getLanguages(false, self::getSelectedShop())); goto Bs2mB; SP9gl: return Language::getLanguages(false, self::getSelectedShop()); goto fgwm1; acmsR: } public static function getStockMvtEmployeeReasonId($sign) { return (int) ($sign > 0 ? self::getConfigurationValue("PS_STOCK_MVT_INC_EMPLOYEE_EDITION") : self::getConfigurationValue("PS_STOCK_MVT_DEC_EMPLOYEE_EDITION")); } public static function isAvailableWhenOutOfStockByShop($out_of_stock, $id_shop) { goto roGfx; W5lmu: if ($ps_stock_management) { goto DaWfl; } goto HBLle; jIA3C: qntV1: goto lJ8Y1; roGfx: $ps_stock_management = self::getConfigurationValue("PS_STOCK_MANAGEMENT", null, null, (int) $id_shop); goto W5lmu; LqmIt: return (int) $out_of_stock === $outOfStockTypeDefault ? (int) $ps_order_out_of_stock : (int) $out_of_stock; goto M3K42; S4C3L: if (version_compare(_PS_VERSION_, "1.7.8.0", ">=")) { goto qntV1; } goto mqdHB; Hlfvn: DaWfl: goto tnkrz; tnkrz: $ps_order_out_of_stock = self::getConfigurationValue("PS_ORDER_OUT_OF_STOCK", null, null, (int) $id_shop); goto S4C3L; gOhh9: goto eR6N3; goto jIA3C; mqdHB: $outOfStockTypeDefault = 2; goto gOhh9; HBLle: return true; goto Hlfvn; L8Hsj: eR6N3: goto LqmIt; lJ8Y1: $outOfStockTypeDefault = PrestaShop\PrestaShop\Core\Domain\Product\Stock\ValueObject\OutOfStockType::OUT_OF_STOCK_DEFAULT; goto L8Hsj; M3K42: } public static function messageNotCompatibleWithAdvancedPack($identifier) { goto d3xqp; urdIK: Qdd6y: goto KiC4I; T7MqS: $msg = _l("This pack can't be modified here because it's an Advanced Pack"); goto qbFs5; g9jcu: if (!$is_adv_pack) { goto qaFmY; } goto T7MqS; DJxNH: $is_adv_pack = (int) Db::getInstance()->getValue("SELECT COUNT(*)\xa FROM " . _DB_PREFIX_ . "pm_advancedpack\xa WHERE id_pack IN (" . pInSQL($identifier) . ")"); goto g9jcu; d3xqp: if (!self::moduleIsInstalled("pm_advancedpack")) { goto Qdd6y; } goto DJxNH; Yd_k6: qaFmY: goto urdIK; qbFs5: exitWithXmlMessageForGrid($msg); goto Yd_k6; KiC4I: } public static function encrypt($data) { goto uaVFa; Ow129: $cryptEngine = new PhpEncryption(_NEW_COOKIE_KEY_); goto k8N0F; ROGzA: if (!Configuration::get("PS_CIPHER_ALGORITHM") || !defined("_RIJNDAEL_KEY_")) { goto oHnth; } goto rdUh3; uE47F: return $cryptEngine->encrypt($data); goto Q6WgZ; rdUh3: $cryptEngine = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_); goto bVX8S; T5mXH: $cryptEngine = new Blowfish(_COOKIE_KEY_, _COOKIE_IV_); goto coGtQ; bVX8S: goto dAL03; goto SGD5x; SGD5x: oHnth: goto T5mXH; k8N0F: F1AWL: goto uE47F; uaVFa: if (version_compare(_PS_VERSION_, "1.7.0.0", ">=")) { goto zQbJ0; } goto ROGzA; nZ0xB: goto F1AWL; goto d1Pc_; coGtQ: dAL03: goto nZ0xB; d1Pc_: zQbJ0: goto Ow129; Q6WgZ: } public static function decrypt($data) { goto Y1lN8; waTFI: $cryptEngine = new Blowfish(_COOKIE_KEY_, _COOKIE_IV_); goto liCPq; Ah7QA: $cryptEngine = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_); goto jvvtf; hl12f: hyNsZ: goto tmvR_; tmvR_: $cryptEngine = new PhpEncryption(_NEW_COOKIE_KEY_); goto DidhF; siH0i: goto BVax1; goto hl12f; V_gCQ: return $cryptEngine->decrypt($data); goto XK8pZ; jvvtf: goto HIstL; goto iOKB5; Y1lN8: if (version_compare(_PS_VERSION_, "1.7.0.0", ">=")) { goto hyNsZ; } goto ilL6G; DidhF: BVax1: goto V_gCQ; ilL6G: if (!Configuration::get("PS_CIPHER_ALGORITHM") || !defined("_RIJNDAEL_KEY_")) { goto iefoR; } goto Ah7QA; iOKB5: iefoR: goto waTFI; liCPq: HIstL: goto siH0i; XK8pZ: } public static function getAllowedFileExtension($type) { goto qC9y4; J7sbt: elkUd: goto OL1zd; Oafup: iMhr3: goto J7sbt; qC9y4: switch ($type) { case "image": goto QwZZh; y1fOD: dwL0t: goto mBEOB; xq06p: if (!version_compare(_PS_VERSION_, "8.0", ">=")) { goto dwL0t; } goto JvUe4; JvUe4: $extensions[] = "webp"; goto y1fOD; QwZZh: $extensions = array("jpg", "jpeg", "png", "gif", "bmp"); goto xq06p; mBEOB: return $extensions; goto cj45W; cj45W: case "csv": return array("csv"); default: return array(); } goto Oafup; OL1zd: } public static function getForbiddenFileExtension($type) { goto qpkBv; ujLl2: Z9iET: goto mjhoW; qpkBv: switch ($type) { case "other": return array("php", "phpt", "ade", "adp", "apk", "appx", "appxbundle", "bat", "cab", "chm", "cmd", "com", "cpl", "diagcab", "diagcfg", "diagpack", "dll", "dmg", "ex", "ex_", "exe", "hta", "img", "ins", "iso", "isp", "jar", "jnlp", "js", "jse", "lib", "lnk", "mde", "msc", "msi", "msix", "msixbundle", "msp", "mst", "nsh", "pif", "ps1", "scr", "sct", "shb", "sys", "vb", "vbe", "vbs", "vhd", "vxd", "wsc", "wsf", "wsh", "xll"); default: return array(); } goto ujLl2; mjhoW: rG_4F: goto c8V3J; c8V3J: } }
final class StartCredentials { const NAME_SOLO = "SOLO START"; const NAME_MULTI = "MULTI START"; const ID = 10; const FORCE_SETTINGS = array("CAT_PROD_COMBI_DEFAULT_SUBCOMBI" => "specificprice", "CAT_PROD_COMBIMULTIPRODUCT_DEFAULT_SUBCOMBI" => "specificprice"); const ALLOWED_MENU = array("catalog", "cat_tree", "cat_grid", "cat_specificprice", "config", "cat_tools", "cat_rebuildproductprice", "cat_history", "all_settings", "core_settings", "core_language", "core_languagehelp", "core_languageupdate", "tools_clearcookies_all", "fixmyprestashop", "help", "help_help", "help_bug", "help_updates", "version", "help_enterlicense", "help_upgradesupport", "newversion", "help_updates2", "version2"); const ALLOWED_CAT_TREE_TOOLBAR = array("hide_disable_cat", "refresh", "withSubCateg", "fromIDCategDefault"); const ALLOWED_CAT_GRID_TOOLBAR = array("lang", "refresh"); const ALLOWED_CAT_PROPERTIES = array("combination" => array("specificprice"), "combinationmultiproduct" => array("specificprice"), "specificprice" => array(), "msproduct" => array(), "mscombination" => array(), "shopshare" => array()); const ALLOWED_PERMISSIONS = array("GRI_CAT_VIEW_GRID_PRICE", "GRI_CAT_VIEW_GRID_DISCOUNT"); public function __construct() { } public function getAllowed($type, $onlyKeys = true) { goto rEuZl; uTNTu: dmjXE: goto yXZOi; xn0mX: $return = constant("self::ALLOWED_" . $type); goto xVueb; rIpBI: if (!$onlyKeys) { goto oyVIs; } goto CfhL8; yXZOi: return $return; goto DwWpQ; xVueb: if (!($type === "CAT_PROPERTIES")) { goto dmjXE; } goto rIpBI; CfhL8: $return = array_keys($return); goto D0N63; rEuZl: $type = strtoupper($type); goto xn0mX; D0N63: oyVIs: goto uTNTu; DwWpQ: } public function getSettings($settings) { goto tcnnM; dl8pb: return $settings; goto c1GD6; lOSds: dm1nB: goto dl8pb; tcnnM: foreach (self::FORCE_SETTINGS as $key => $value) { $settings[$key]["value"] = $value; oQgpZ: } goto lOSds; c1GD6: } }
class ScCredentials { const TYPE_MENU = "menu"; const TYPE_CAT_TREE_TOOLBAR = "cat_tree_toolbar"; const TYPE_PERMISSIONS = "permissions"; const TYPE_CAT_GRID_TOOLBAR = "cat_grid_toolbar"; const TYPE_CAT_PROPERTIES = "properties"; const SUBSCRIPTION_SOLO = 6; const SUBSCRIPTION_SOLO_PLUS = 7; const SUBSCRIPTION_MULTI = 8; const SUBSCRIPTION_MULTI_PLUS = 9; const SUBSCRIPTION_SOLO_START = 10; const SUBSCRIPTION_MULTI_START = 11; const SUBSCRIPTION_SOLO_OLD = 1; const SUBSCRIPTION_MULTI_OLD = 2; const SUBSCRIPTION_EXPERT_OLD = 3; const SUBSCRIPTION_SOLO_PLUS_OLD = 4; const SUBSCRIPTION_MULTI_PLUS_OLD = 5; private $licenseData; private $licenceCredentials; public function __construct() { $this->licenceCredentials = null; } public function getLicenceCredentials() { goto ws4C5; T6GYs: return $this->licenceCredentials; goto ISi7g; zRCec: $this->licenceCredentials = new StartCredentials(); goto RB_6O; RB_6O: OAJLG: goto T6GYs; ws4C5: if (!in_array($this->getLicenseId(), array(self::SUBSCRIPTION_SOLO_START, self::SUBSCRIPTION_MULTI_START))) { goto OAJLG; } goto zRCec; ISi7g: } function getGrantedId($type, $id) { goto poBmA; R8pI0: $_GET["act"] = ''; goto v3ldJ; pHM4g: shyha: goto nObDr; v3ldJ: return md5($id) . "_forbidden"; goto pHM4g; poBmA: $credentials = $this->getLicenceCredentials(); goto h2RAB; nObDr: return $id; goto GLG3g; h2RAB: if ($credentials) { goto Wev0X; } goto q12OH; zMrw6: $allowedContent = $credentials->getAllowed($type); goto FnJzk; FnJzk: if (!($allowedContent && !in_array($id, $allowedContent))) { goto shyha; } goto R8pI0; cwA5W: Wev0X: goto zMrw6; q12OH: return $id; goto cwA5W; GLG3g: } function isGranted($type, $id) { goto MddVV; c1dL8: WXQ5T: goto f_Qx_; f_Qx_: $allowedContent = $credentials->getAllowed($type); goto MfQGh; MddVV: $credentials = $this->getLicenceCredentials(); goto sBg3N; TrfRj: return false; goto H1ZIp; MfQGh: if (!($allowedContent && !in_array($id, $allowedContent))) { goto Jq87n; } goto TrfRj; OlKNC: return true; goto c1dL8; sBg3N: if ($credentials) { goto WXQ5T; } goto OlKNC; H1ZIp: Jq87n: goto bR08a; bR08a: return true; goto qoN0S; qoN0S: } public function getLicenseData($key = null) { goto HR_cY; Ep5kA: jI9En: goto a7QxT; a7QxT: return $this->licenseData; goto Sly3f; hIULE: return isset($this->licenseData[$key]) ? $this->licenseData[$key] : null; goto Ep5kA; HR_cY: if (!$key) { goto jI9En; } goto hIULE; Sly3f: } public function setLicenseData($licenseData) { $this->licenseData = $licenseData; } public function getLicenseName() { goto VdWf_; Co9TC: return "MULTI"; goto BfqUU; Cx6MM: iSj6V: goto gUAba; aLUAK: goto X3tXV; goto irhny; SP3LO: if (in_array($type, array(self::SUBSCRIPTION_EXPERT_OLD))) { goto iSj6V; } goto s0yG2; Suq1W: goto X3tXV; goto Cx6MM; t19Oy: return StartCredentials::NAME_SOLO; goto ENqnE; QkWU0: goto X3tXV; goto WMvU4; kCcp8: return StartCredentials::NAME_MULTI; goto bz8Xg; GKE8e: if (in_array($type, array(self::SUBSCRIPTION_MULTI_START))) { goto T8b7r; } goto WXLKv; dbocP: goto X3tXV; goto hto6n; ZSu4D: T8b7r: goto kCcp8; gUAba: return "EXPERT"; goto dbocP; WXLKv: goto X3tXV; goto iji_P; cEvLL: if (in_array($type, array(self::SUBSCRIPTION_SOLO, self::SUBSCRIPTION_SOLO_OLD))) { goto joBNj; } goto hKtq2; VdWf_: $type = $this->getLicenseData("type"); goto cEvLL; uVMbK: if (in_array($type, array(self::SUBSCRIPTION_MULTI, self::SUBSCRIPTION_MULTI_OLD))) { goto X1x4r; } goto dq5EA; XWuSJ: OzKUF: goto wJ037; hto6n: COfbv: goto t19Oy; hKtq2: if (in_array($type, array(self::SUBSCRIPTION_SOLO_PLUS, self::SUBSCRIPTION_SOLO_PLUS_OLD))) { goto dM99K; } goto uVMbK; irhny: dM99K: goto ZmuS1; WMvU4: X1x4r: goto Co9TC; BfqUU: goto X3tXV; goto XWuSJ; iji_P: joBNj: goto hpaSv; ENqnE: goto X3tXV; goto ZSu4D; FDaPl: return null; goto pQ9XK; ZmuS1: return "SOLO+"; goto QkWU0; wJ037: return "MULTI+"; goto Suq1W; s0yG2: if (in_array($type, array(self::SUBSCRIPTION_SOLO_START))) { goto COfbv; } goto GKE8e; bz8Xg: X3tXV: goto FDaPl; hpaSv: return "SOLO"; goto aLUAK; dq5EA: if (in_array($type, array(self::SUBSCRIPTION_MULTI_PLUS, self::SUBSCRIPTION_MULTI_PLUS_OLD))) { goto OzKUF; } goto SP3LO; pQ9XK: } public function getLicenseId() { return $this->getLicenseData("type") ?: 0; } public function filterGridViews($grids, $type) { goto Ijgai; oAbrX: $filteredGrids = array(); goto PDoCm; PDoCm: foreach ($allowed_grids as $allowed_grid) { $filteredGrids[$allowed_grid] = $grids[$allowed_grid]; nNlJQ: } goto csxoa; Ijgai: $allowed_grids = $this->getLicenceCredentials()->getAllowed($type); goto eYTeZ; mWVbl: rjpBu: goto pqk1o; eYTeZ: $filteredGrids = $grids; goto hIbm7; pqk1o: return $filteredGrids; goto FLZBd; csxoa: imcqf: goto mWVbl; hIbm7: if (!$allowed_grids) { goto rjpBu; } goto oAbrX; FLZBd: } public function hasPermission($key) { goto myd5b; lnrqM: return in_array($key, $this->getLicenceCredentials()->getAllowed(self::TYPE_PERMISSIONS)); goto hHcqd; LFMjd: $permissionsPrefixToHandle = array("MEN_TOO_GRIDSSETTINGS", "GRI_CAT_VIEW", "ACT_CAT_"); goto M1veV; v7vL1: return true; goto LGBN0; baWdR: return true; goto Jggar; LGBN0: fEpeR: goto LFMjd; myd5b: if ($this->getLicenceCredentials()) { goto fEpeR; } goto v7vL1; M1veV: if (array_reduce($permissionsPrefixToHandle, function ($result, $subString) use($key) { return $result || strpos($key, $subString) === 0; }, false)) { goto sLvSK; } goto baWdR; Jggar: sLvSK: goto lnrqM; hHcqd: } public function getAllowed($type) { goto GaeAd; IPyv2: return null; goto JnyCk; ZC7ao: return $this->getLicenceCredentials()->getAllowed($type); goto YhCg7; GaeAd: if ($this->getLicenceCredentials()) { goto PSVlM; } goto IPyv2; JnyCk: PSVlM: goto ZC7ao; YhCg7: } public function getAllowedSubProperty($propertyName, $subPropertyName) { goto B9bEQ; Op47g: return true; goto f8hfb; Qn4Y8: $allowedSubProperties = $this->getLicenceCredentials()->getAllowed("CAT_PROPERTIES", false); goto b_rxA; b_rxA: return isset($allowedSubProperties[$propertyName]) && in_array($subPropertyName, $allowedSubProperties[$propertyName]); goto C4GAg; B9bEQ: if ($this->getLicenceCredentials()) { goto aS1fz; } goto Op47g; f8hfb: aS1fz: goto Qn4Y8; C4GAg: } }
goto fvjTR; FgQB9: function cleanScript($script) { goto M1jHS; gAh3V: SIWZe: goto vvpx8; M1jHS: $prevent_vars = array("$_FILES", "$_ENV"); goto v7y49; vvpx8: return str_replace($prevent_vars, '', $script); goto SLsd_; eV_qi: foreach ($prevent_functions as $func) { $script = preg_replace("#" . $func . "\s*\(\s*(.*?)\s*\)#", '', $script); x3Bmh: } goto gAh3V; v7y49: $prevent_functions = array("eval", "exec", "passthru", "shell_exec", "system", "proc_open", "popen", "curl_exec", "curl_multi_exec", "parse_ini_file", "show_source", "chmod", "chown", "chgrp", "rename", "mkdir", "rmdir", "unlink", "fopen", "file_put_contents", "file_get_contents", "call_user_func", "call_user_func_array"); goto eV_qi; SLsd_: } goto lTF32; b6zAg: function _l($str, $needAddslashes = false, $arrayOfValues = array()) { goto kwsMm; cL1Lt: yRQw7: goto hu4fz; DB0z1: goto jVGyF; goto WRG1H; cRyId: WgiTL: goto FdPjR; NnqXm: if (empty($arrayOfValues)) { goto WgiTL; } goto eEIgt; ynW8H: $str = vsprintf($str, $arrayOfValues); goto vl17w; kwsMm: global $LANG, $LANG_EN; goto uwCtt; M1JnJ: znqtq: goto VcT1p; AOMCQ: jVGyF: goto M1JnJ; hPIMD: if (empty($arrayOfValues)) { goto hTEIs; } goto ynW8H; uwCtt: if (!empty($LANG[$str])) { goto znqtq; } goto UqaLg; hu4fz: return $needAddslashes ? addslashes($str) : $str; goto AOMCQ; iKsK5: $str = $LANG_EN[$str]; goto NnqXm; eEIgt: $str = vsprintf($str, $arrayOfValues); goto cRyId; WRG1H: Wg1xy: goto Qdoz5; FdPjR: return $needAddslashes ? addslashes($str) : $str; goto DB0z1; vl17w: hTEIs: goto VSVYU; bwi2b: $str = vsprintf($str, $arrayOfValues); goto cL1Lt; Qdoz5: if (empty($arrayOfValues)) { goto yRQw7; } goto bwi2b; UqaLg: if (empty($LANG_EN[$str])) { goto Wg1xy; } goto iKsK5; VcT1p: $str = $LANG[$str]; goto hPIMD; VSVYU: return $needAddslashes ? addslashes($str) : $str; goto WYGEo; WYGEo: } goto vqQEQ; v3gkE: function checkAndGetImgExtension($file) { goto KsinE; oCUJ4: return $return; goto hFmro; N4qW_: $extensions = array("png", "jpg", "jpeg", "gif"); goto b0IEl; b0IEl: foreach ($extensions as $extension) { goto EMMKv; PIUdG: $return = strtoupper($extension); goto wabkN; O3z3B: if (!file_exists($file . "." . strtoupper($extension))) { goto JQMi_; } goto PIUdG; ZxpZK: g0gXq: goto O3z3B; bVasS: goto qII5c; goto ZxpZK; EdP5f: HfraE: goto MtfGt; wabkN: goto qII5c; goto blYZJ; blYZJ: JQMi_: goto EdP5f; b0UbJ: $return = $extension; goto bVasS; EMMKv: if (!file_exists($file . "." . $extension)) { goto g0gXq; } goto b0UbJ; MtfGt: } goto C1exC; KsinE: $return = false; goto N4qW_; C1exC: qII5c: goto oCUJ4; hFmro: } goto PlYvy; gC40A: echo time(); goto Ium85; STQTh: function getToolsList() { goto qHJVN; MgKOH: foreach ($files as $file) { goto e19NT; RuZc4: YVOjQ: goto CWKKG; tO8W9: tmvWG: goto CZ639; CWKKG: kUpOd: goto tO8W9; HjIPa: $tools[] = $file; goto RuZc4; e19NT: if (!($file != "." && $file != "..")) { goto kUpOd; } goto LY0c2; LY0c2: if (!is_dir(SC_TOOLS_DIR . $file)) { goto YVOjQ; } goto HjIPa; CZ639: } goto MvfKa; MvfKa: LkscR: goto KQdSS; qHJVN: $tools = array(); goto AQZ02; KQdSS: ciMDX: goto cofYE; P24pU: @($files = scandir(SC_TOOLS_DIR)); goto MgKOH; AQZ02: if (!is_dir(SC_TOOLS_DIR)) { goto ciMDX; } goto P24pU; cofYE: return $tools; goto Kkbrr; Kkbrr: } goto U6Cvw; dDNRK: function scanDirectory($Directory) { goto dsypb; N8kGB: if (is_dir($Directory . "/" . $Entry) && $Entry != "." && $Entry != "..") { goto XKJ4t; } goto Gn7bM; Gn7bM: if ($Entry != "." && $Entry != "..") { goto y8ZkZ; } goto kNFm2; JFL2l: $return[] = array("name" => $Entry, "children" => scanDirectory($Directory . "/" . $Entry)); goto UjrgG; W1BN7: y8ZkZ: goto Zix81; vcPBO: lgqx7: goto AYE9r; UjrgG: goto xX2a6; goto W1BN7; dsypb: $return = array(); goto Cb8Q4; Zix81: $return[] = array("name" => $Entry, "children" => array()); goto eKqv9; srnLf: yoadv: goto pkebc; eKqv9: xX2a6: goto Cbx2C; pkebc: closedir($MyDirectory); goto MOCVw; MOCVw: return $return; goto Nor7D; Cbx2C: goto lgqx7; goto srnLf; Cb8Q4: $MyDirectory = opendir($Directory) or die("Erreur"); goto vcPBO; AYE9r: if (!($Entry = @readdir($MyDirectory))) { goto yoadv; } goto N8kGB; swKxF: XKJ4t: goto JFL2l; kNFm2: goto xX2a6; goto swKxF; Nor7D: } goto ojcY_; kSezy: T_vcl: goto ypyrr; Wnq1F: function sc_file_get_contents($url, $method = "GET", $stream_content = array(), $stream_header = array(), $timeout = 30, $json_encode = false) { goto bEvAU; PG5U9: curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $opts["http"]["method"]); goto QcCk6; aYinF: $opts = array("http" => array("method" => strtoupper($method), "timeout" => $timeout, "ssl" => array("verify_peer" => 0))); goto eU1wR; PGV2M: curl_setopt($curl, CURLOPT_HTTPHEADER, $opts["http"]["header"]); goto foOJt; YblN7: $header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"; goto QhkNS; oQWyy: $errorMessage = ''; goto Jlyux; mlsWU: curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data); goto Tx_Ke; cEM0V: $opts["http"]["header"] = $header; goto TGx8R; YDRzm: MSRo3: goto K48bS; PNh8F: $header[] = "Pragma: "; goto ekIeZ; vRX5l: if (!in_array(strtolower($ini_fopen), array("on", "true", "1"))) { goto sASPQ; } goto hiSt7; sZ5pj: foreach ($stream_header as $addHeader) { $header[] = $addHeader; bY_8Y: } goto WFqAp; wEYsx: curl_setopt($curl, CURLOPT_USERAGENT, "Store Commander (https://www.storecommander.com)"); goto zSPAZ; sPro1: if (empty($stream_content)) { goto DrPpp; } goto BIOqH; eU1wR: $header = array(); goto cOYk4; QhaVb: curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); goto d72sZ; YzCHz: zzlnx: goto pWlue; d25Yy: oj6iD: goto HDLh5; bPamP: $header[] = "Cache-Control: max-age=0"; goto jdwsi; HB6r4: $content = ''; goto d25Yy; b8mJn: if (!($content === false)) { goto zCJBp; } goto i6lph; oCvFS: $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; goto bPamP; TLktJ: foreach ($post_data as $key => $value) { goto ANzxr; EmU0M: $post_data[$key] = (int) $value; goto HUjzx; HUjzx: G0UXE: goto GlC6F; GlC6F: kjKSW: goto M4ttF; ANzxr: if (!(is_numeric($value) && strpos($value, ".") === false)) { goto G0UXE; } goto EmU0M; M4ttF: } goto YzCHz; d72sZ: if (!($opts["http"]["method"] == "POST" || $opts["http"]["method"] == "PUT" || $opts["http"]["method"] == "DELETE")) { goto Eo0AW; } goto PG5U9; QhkNS: $header[] = "Accept-Language: en-us,en;q=0.5"; goto NNkPK; TISkM: curl_setopt($curl, CURLOPT_ENCODING, "gzip,deflate"); goto c1lD0; V6ndB: i5a5c: goto A1XiC; b13Fb: $content = @file_get_contents($url); goto YDRzm; S_bX5: curl_close($curl); goto nf5En; Jkqt_: curl_setopt($curl, CURLOPT_MAXREDIRS, 5); goto qzip6; NNkPK: if (empty($stream_header)) { goto HnlHU; } goto sZ5pj; zSPAZ: if (empty($opts["http"]["header"])) { goto lnJQW; } goto PGV2M; nf5En: lxMQo: goto MAZO7; bEvAU: $is_local_file = !preg_match("/^https?:\/\//", $url); goto JixlX; HDLh5: goto MSRo3; goto Iv_6j; MAZO7: if (!($content === false)) { goto qI_XQ; } goto qXn8l; K5rEU: zCJBp: goto S_bX5; tOdgh: $info = curl_getinfo($curl); goto b8mJn; Tx_Ke: R4FJL: goto qEMp8; qEMp8: Eo0AW: goto Ggt1X; vZY6N: if (!($content === false)) { goto oj6iD; } goto Fzpq4; u5F_H: qI_XQ: goto vZY6N; FzE5f: goto L6C63; goto V6ndB; i6lph: $errorMessage = sprintf("file_get_contents_curl failed to download %s : (error code %d) %s", $url, curl_errno($curl), curl_error($curl)); goto K5rEU; WFqAp: VttWh: goto pmAhE; c1lD0: curl_setopt($curl, CURLOPT_AUTOREFERER, true); goto QhaVb; RbHiI: $opts["http"]["content"] = $stream_content; goto FzE5f; uPrpv: if (!$json_encode) { goto ocgwn; } goto TLktJ; BIOqH: $stream_content = http_build_query($stream_content); goto IIEfr; Iv_6j: kEb03: goto b13Fb; QcCk6: if (!isset($opts["http"]["content"])) { goto R4FJL; } goto K82K3; uZUsc: curl_setopt($curl, CURLOPT_TIMEOUT, (int) $opts["http"]["timeout"]); goto dOw2w; K82K3: parse_str($opts["http"]["content"], $post_data); goto uPrpv; JixlX: $content = false; goto oQWyy; qzip6: $content = curl_exec($curl); goto tOdgh; PVS4L: ocgwn: goto mlsWU; Jlyux: if ($is_local_file) { goto kEb03; } goto aYinF; ekIeZ: if (empty($header)) { goto v4N3J; } goto cEM0V; jdwsi: $header[] = "Connection: keep-alive"; goto p33iK; hiSt7: $stream_context = @stream_context_create($opts); goto bcZ__; pWlue: $post_data = json_encode($post_data); goto PVS4L; A1XiC: $url .= "?" . $stream_content; goto twihZ; K48bS: return $content; goto oEWGo; TCIOX: curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, (int) $opts["http"]["timeout"]); goto uZUsc; Ggt1X: curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, $opts["http"]["ssl"]["verify_peer"]); goto L5Ct8; pmAhE: HnlHU: goto PNh8F; foOJt: lnJQW: goto TISkM; Fzpq4: SCI::addLog("StoreCommander sc_file_get_contents : " . $errorMessage, 1, null, null, null, true); goto HB6r4; p33iK: $header[] = "Keep-Alive: 300"; goto YblN7; TGx8R: v4N3J: goto sPro1; L5Ct8: curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); goto TCIOX; bcZ__: try { $content = @file_get_contents($url, false, $stream_context); } catch (Exception $e) { $errorMessage = sprintf("simple file_get_contents failed to download %s : %s", $url, $e->getMessage()); } goto Nkh76; E_MTf: curl_setopt($curl, CURLOPT_URL, $url); goto wEYsx; dOw2w: curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); goto Jkqt_; Nkh76: sASPQ: goto u5F_H; eLjM8: if (!function_exists("curl_init")) { goto lxMQo; } goto m33VU; twihZ: L6C63: goto ZyaAA; ZyaAA: DrPpp: goto eLjM8; cOYk4: $header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,application/json"; goto oCvFS; m33VU: $curl = curl_init(); goto E_MTf; IIEfr: if ($opts["http"]["method"] == "GET") { goto i5a5c; } goto RbHiI; qXn8l: $ini_fopen = ini_get("allow_url_fopen"); goto vRX5l; oEWGo: } goto eQo3W; HG3fx: if (!isset($_GET["time"])) { goto FrLXY; } goto gC40A; SUm7V: function arrayDiffEmulation($arrayFrom, $arrayAgainst) { goto mSxBW; F3lDi: return $arrayFrom; goto ZWSJE; Gq5T4: foreach ($arrayFrom as $key => $value) { goto dzU3q; gWVOR: M0zXx: goto kEzN2; aznEQ: R2CbI: goto gWVOR; dzU3q: if (!isset($arrayAgainst[$value])) { goto R2CbI; } goto klLtz; klLtz: unset($arrayFrom[$key]); goto aznEQ; kEzN2: } goto wMqrr; mSxBW: $arrayAgainst = array_flip($arrayAgainst); goto Gq5T4; wMqrr: Qurxl: goto F3lDi; ZWSJE: } goto ckvYL; k_gUf: function sc_phpversion($onlyFourNumber = true) { goto GYAAz; sFRaL: return str_replace("~", '', $phpVersion); goto esqVi; N8EdE: return $matches[0]; goto iYx2n; iYx2n: Zqw5i: goto sFRaL; kW_Ym: if (!($onlyFourNumber && preg_match("#(\d{1,3}\.\d{1,3}\.\d{1,3})#", $phpVersion, $matches))) { goto Zqw5i; } goto N8EdE; GYAAz: $phpVersion = phpversion(); goto kW_Ym; esqVi: } goto v3gkE; u3r24: function dirMove($source, $dest, $overwrite = false, $funcloc = null) { goto Jt73j; uu6Tw: if (@rename($path, $path2)) { goto vNWGL; } goto aw7Lt; Jf0e0: Hkf6J: goto CMYLU; QnpRQ: if ($overwrite) { goto c1Kkr; } goto saUxC; jZGnE: if (@rename($path, $path2)) { goto k9cmE; } goto hENga; Jt73j: if (!is_null($funcloc)) { goto a1iyW; } goto Bc3Vr; saUxC: goto jEyR7; goto lqFQu; lNPgD: goto Z5yzx; goto Jf0e0; ZzjuA: goto GeOoE; goto wLyDl; aw7Lt: echo "<font color="red">File (" . $path . ") could not be moved while overwritting, likely a permissions problem.</font><br/>"; goto SP2Ob; jFH23: if (is_dir($dest . $funcloc)) { goto CML75; } goto hROQ6; Fs_pe: if (!@unlink($path2)) { goto Hkf6J; } goto uu6Tw; UHm1B: if (!($file != "." && $file != "..")) { goto I6ASp; } goto BoxEg; QIcm3: k9cmE: goto ulSgJ; E3JiQ: Tu_FY: goto YMSq9; cByrY: YAA1V: goto rnIxW; u7x_R: MhW_Y: goto hmKJO; e9ADc: goto MhW_Y; goto eVw_9; VXtMi: jEyR7: goto F3JeE; Bc3Vr: $dest .= "/" . strrev(substr(strrev($source), 0, strpos(strrev($source), "/"))); goto Rh1aW; lqFQu: Pfn29: goto jZGnE; BoxEg: $path = $source . $funcloc . $file; goto eVbm3; G4dWS: if (is_file($path)) { goto vcPAK; } goto lNsGK; SP2Ob: vNWGL: goto lNPgD; V8ktd: CML75: goto WGW28; hENga: echo "<font color="red">File (" . $path . ") could not be moved, likely a permissions problem.</font><br/>"; goto QIcm3; eVw_9: dY45I: goto BLS87; CMYLU: echo "Unable to overwrite file ("" . $path2 . ""), likely to be a permissions problem.<br/>"; goto KrBpJ; AQe8u: c1Kkr: goto Fs_pe; wLyDl: vcPAK: goto zFBds; hROQ6: mkdir($dest . $funcloc); goto V8ktd; Rh1aW: $funcloc = "/"; goto RF68e; zFBds: if (!is_file($path2)) { goto Pfn29; } goto QnpRQ; eVbm3: $path2 = $dest . $funcloc . $file; goto G4dWS; YMSq9: dirMove($source, $dest, $overwrite, $funcloc . $file . "/"); goto Ort85; hmKJO: if (!(false !== ($file = readdir($handle)))) { goto dY45I; } goto UHm1B; RF68e: a1iyW: goto jFH23; ulSgJ: goto jEyR7; goto AQe8u; KrBpJ: Z5yzx: goto VXtMi; lNsGK: if (is_dir($path)) { goto Tu_FY; } goto ZzjuA; F3JeE: goto GeOoE; goto E3JiQ; Ort85: @rmdir($path); goto YJ6Uc; WGW28: if (!($handle = opendir($source . $funcloc))) { goto YAA1V; } goto u7x_R; YJ6Uc: GeOoE: goto nPeb6; nPeb6: I6ASp: goto e9ADc; BLS87: closedir($handle); goto cByrY; rnIxW: } goto DFvYQ; ABiL1: function utf8_encode2($str) { goto fwdp6; XWVbF: $final_str = str_replace(chr(hexdec("87")), "‡", $final_str); goto BCvzR; RGBtS: $final_str = str_replace(utf8_encode("Ž"), "\305\275", $final_str); goto uSzaX; g09hS: $final_str = str_replace(chr(hexdec("80")), "€", $final_str); goto x4yN0; vBTDc: $final_str = str_replace(utf8_encode("‚"), "\xe2\x80\232", $final_str); goto nUQPe; fkQmN: $final_str = str_replace(chr(hexdec("9A")), "š", $final_str); goto jmRtm; BCvzR: $final_str = str_replace(chr(hexdec("88")), "ˆ", $final_str); goto HhWm8; asXBT: $final_str = str_replace(utf8_encode("“"), "\xe2\x80\x9c", $final_str); goto lJOXI; Bq_Yj: return $final_str; goto ea_41; b9ZsQ: $final_str = str_replace(utf8_encode("ˆ"), "\xcb\x86", $final_str); goto Woo9d; qQLgG: $final_str = str_replace(utf8_encode("—"), "\xe2\x80\x94", $final_str); goto lkine; YG3Oa: $final_str = str_replace(chr(hexdec("9C")), "œ", $final_str); goto ldv3E; HhWm8: $final_str = str_replace(chr(hexdec("89")), "‰", $final_str); goto UDQ__; X_dih: $final_str = str_replace(utf8_encode("œ"), "\305\x93", $final_str); goto vBTDc; YLPSt: $final_str = str_replace(utf8_encode("„"), "\342\x80\x9e", $final_str); goto VDunB; c0ZZP: $final_str = str_replace(chr(hexdec("92")), "’", $final_str); goto MXtdi; r2cBn: $final_str = str_replace(chr(hexdec("97")), "—", $final_str); goto Qyus2; fwdp6: $final_str = $str; goto g09hS; lJOXI: $final_str = str_replace(utf8_encode("”"), "\342\200\235", $final_str); goto M0UWp; ONakO: $final_str = str_replace(chr(hexdec("95")), "•", $final_str); goto jsHE3; jF394: $final_str = str_replace(chr(hexdec("84")), "„", $final_str); goto pD06h; GrBNs: $final_str = str_replace(utf8_encode("’"), "\xe2\x80\x99", $final_str); goto asXBT; aRbAm: $final_str = str_replace(utf8_encode("ž"), "\xc5\xbe", $final_str); goto GvvTU; ICGjs: $final_str = str_replace(chr(hexdec("83")), "ƒ", $final_str); goto jF394; YhFXi: $final_str = str_replace(chr(hexdec("8C")), "Œ", $final_str); goto rmfhF; uSzaX: $final_str = str_replace(utf8_encode("‘"), "\xe2\200\x98", $final_str); goto GrBNs; Qyus2: $final_str = str_replace(chr(hexdec("98")), "˜", $final_str); goto ONNWV; Ie36l: $final_str = str_replace(utf8_encode("†"), "\342\x80\xa0", $final_str); goto tBJgV; w_T5c: $final_str = utf8_encode($final_str); goto Hey_X; Yxwuv: $final_str = str_replace(chr(hexdec("9F")), "Ÿ", $final_str); goto w_T5c; nUQPe: $final_str = str_replace(utf8_encode("ƒ"), "\306\222", $final_str); goto YLPSt; nvVjx: $final_str = str_replace(utf8_encode("–"), "\xe2\200\223", $final_str); goto qQLgG; UDQ__: $final_str = str_replace(chr(hexdec("8A")), "Š", $final_str); goto CQb5o; JigfV: $final_str = str_replace(utf8_encode("‹"), "\xe2\200\xb9", $final_str); goto tTWXX; GvvTU: $final_str = str_replace(utf8_encode("Ÿ"), "\305\270", $final_str); goto Bq_Yj; CQb5o: $final_str = str_replace(chr(hexdec("8B")), "‹", $final_str); goto YhFXi; tBJgV: $final_str = str_replace(utf8_encode("‡"), "\xe2\200\241", $final_str); goto b9ZsQ; zl6L0: $final_str = str_replace(utf8_encode("š"), "\305\241", $final_str); goto Bkpzu; ONNWV: $final_str = str_replace(chr(hexdec("99")), "™", $final_str); goto fkQmN; ldv3E: $final_str = str_replace(chr(hexdec("9E")), "ž", $final_str); goto Yxwuv; tTWXX: $final_str = str_replace(utf8_encode("Œ"), "\305\x92", $final_str); goto RGBtS; Woo9d: $final_str = str_replace(utf8_encode("‰"), "\xe2\x80\xb0", $final_str); goto T3fmL; jmRtm: $final_str = str_replace(chr(hexdec("9B")), "›", $final_str); goto YG3Oa; VDunB: $final_str = str_replace(utf8_encode("…"), "\342\x80\246", $final_str); goto Ie36l; Nlx9W: $final_str = str_replace(utf8_encode("™"), "\xe2\204\xa2", $final_str); goto zl6L0; Bkpzu: $final_str = str_replace(utf8_encode("›"), "\342\x80\272", $final_str); goto aRbAm; M0UWp: $final_str = str_replace(utf8_encode("•"), "\xe2\x80\242", $final_str); goto nvVjx; x4yN0: $final_str = str_replace(chr(hexdec("82")), "‚", $final_str); goto ICGjs; T3fmL: $final_str = str_replace(utf8_encode("Š"), "\xc5\240", $final_str); goto JigfV; jsHE3: $final_str = str_replace(chr(hexdec("96")), "–", $final_str); goto r2cBn; pamam: $final_str = str_replace(chr(hexdec("94")), "”", $final_str); goto ONakO; pD06h: $final_str = str_replace(chr(hexdec("85")), "…", $final_str); goto UbVs3; rmfhF: $final_str = str_replace(chr(hexdec("8E")), "Ž", $final_str); goto HorET; UbVs3: $final_str = str_replace(chr(hexdec("86")), "†", $final_str); goto XWVbF; MXtdi: $final_str = str_replace(chr(hexdec("93")), "“", $final_str); goto pamam; HorET: $final_str = str_replace(chr(hexdec("91")), "‘", $final_str); goto c0ZZP; Hey_X: $final_str = str_replace(utf8_encode("€"), "\xe2\x82\254", $final_str); goto X_dih; lkine: $final_str = str_replace(utf8_encode("˜"), "\313\234", $final_str); goto Nlx9W; ea_41: } goto u_8gG; ygxDA: function importConv2Int($field) { goto jlFVn; WDkJk: return (int) $field; goto H0Ge9; jlFVn: $field = str_replace(array("\xe2\202\254", " ", "%"), '', $field); goto oylmI; oylmI: $field = str_replace(",", ".", $field); goto WDkJk; H0Ge9: } goto tBKMG; U6Cvw: function link_rewrite($str, $isoLang = null) { goto dJthn; XgfY5: ggvY5: goto L38_p; fZYwK: wxnlm: goto iR8Sx; onOjB: rLWNc: goto BjItB; VbTV8: goto wxnlm; goto i04p7; iR8Sx: $str = preg_replace("/[\s'\:\/\[\]-]+/", " ", $str); goto uarm2; N8Y1s: $str = Tools::replaceAccentedChars($str); goto UxTyN; jltlb: $str = strtolower($str); goto onOjB; vbVef: $str = preg_replace("/[^a-zA-Z0-9\s'\:\/\[\]\-]/", '', $str); goto VbTV8; UxTyN: pLZkk: goto b1u9n; W3uaL: if (!($isoLang && !$acceptedAccentedChars)) { goto jkPPl; } goto eMc79; b1u9n: if ($acceptedAccentedChars) { goto zbmU2; } goto vbVef; L38_p: C1sCK: goto AQ2vm; jaXu7: $str = mb_strtolower($str, "utf-8"); goto P12GL; eMc79: switch ($isoLang) { case "de": goto kiEPh; Fwp1L: $replacements = array("ue", "ae", "oe", "UE", "AE", "OE"); goto bRI89; kiEPh: $patterns = array("/[\x{00FC}]/u", "/[\x{00E4}]/u", "/[\x{00F6}]/u", "/[\x{00DC}]/u", "/[\x{00C4}]/u", "/[\x{00D6}]/u"); goto Fwp1L; bRI89: $str = preg_replace($patterns, $replacements, $str); goto uJp9U; uJp9U: goto C1sCK; goto tSZdR; tSZdR: default: goto izlTa; j0rUG: $str = preg_replace($patterns, $replacements, $str); goto xFgUv; kagLp: $replacements = array("u", "a", "ae", "o", "oe", "U", "A", "AE", "O", "OE"); goto j0rUG; izlTa: $patterns = array("/[\x{00FC}]/u", "/[\x{00E4}]/u", "/[\x{00E6}]/u", "/[\x{00F6}]/u", "/[\x{0153}]/u", "/[\x{00DC}]/u", "/[\x{00C4}]/u", "/[\x{00C6}]/u", "/[\x{00D6}]/u", "/[\x{0152}]/u"); goto kagLp; xFgUv: } goto XgfY5; qvbcO: if (!((!function_exists("mb_strtolower") || !$acceptedAccentedChars) && method_exists("Tools", "replaceAccentedChars"))) { goto pLZkk; } goto N8Y1s; IBspm: if (function_exists("mb_strtolower")) { goto rLWNc; } goto jltlb; eEZsO: $str = preg_replace("/[^a-zA-Z0-9\s'\:\/\[\]\-\pL]/u", '', $str); goto fZYwK; nCwAn: $str = trim($str); goto qvbcO; BjItB: return $str; goto Ev0gA; arhYT: $acceptedAccentedChars = Configuration::get("PS_ALLOW_ACCENTED_CHARS_URL"); goto W3uaL; i04p7: zbmU2: goto eEZsO; dJthn: if (!function_exists("mb_strtolower")) { goto JCa_T; } goto jaXu7; uarm2: $str = str_replace(array(" ", "/"), "-", $str); goto IBspm; AQ2vm: jkPPl: goto nCwAn; P12GL: JCa_T: goto arhYT; Ev0gA: } goto u3r24; t2gLE: function runProcessOneTimeByDay() { goto PV4PQ; EERTi: $name_node = $dom->createElement("name", "Store Commander"); goto So5sU; S7ybd: PvCK0: goto D7Lbs; BUIis: $ps_unique_id = $dom->createElement("ps_unique_id", $unique_key_exists); goto Toi7A; gfXvy: $ork_folder = "ork"; goto u3aEp; OcFtv: $sc_node->appendChild($version_node); goto iZPZ6; jO3T4: $root->appendChild($sc_node); goto sp75U; yKil_: $current_domain = ToolsCore::getShopDomainSsl(); goto O10s2; UoT7s: $id_node = $dom->createElement("id", $id_partner_in_node); goto VW8dN; pwKoa: $res_api = makeCallToOurApi("getPartnerId", array(), array("LICENSE" => "#")); goto o1pH_; vqPue: $sc_node = $dom->createElement("storecommander"); goto EERTi; D7Lbs: $sql = "SELECT GROUP_CONCAT(DISTINCT CONCAT("" . pSQL($protocol) . "",domain) SEPARATOR ",") as domain\xa FROM " . _DB_PREFIX_ . "shop_url\xa WHERE active = 1"; goto MV6jZ; h_0HG: $id_partner_in_node = ''; goto pwKoa; TaWA3: $root = $dom->createElement("modules"); goto vqPue; emqT6: XWv1F: goto r0oTm; nZuCF: $protocol = getShopProtocol(); goto Jz3zo; DXgxe: XQT4I: goto UoT7s; So5sU: $sc_node->appendChild($name_node); goto ADSzg; YUz2X: Configuration::updateValue("SC_CORS_DOMAINS", json_encode(explode(",", $domains)), false, 0, 0); goto GecBf; PV4PQ: $access_details = access_details(); goto vIbhw; r0oTm: DPJUk: goto nZuCF; YAo2s: iiBzy: goto YUz2X; Toi7A: $sc_node->appendChild($ps_unique_id); goto bO61O; vIbhw: $k_path = dirname(__FILE__); goto z0hQE; TdTMt: makeCallToOurApi("Analysis/Serv", array(), array("LICENSE" => "#", "DOMAIN" => $access_details["domain"] . __PS_BASE_URI__, "SC_UNIQUE_ID" => $unique_key_exists, "timezone" => !empty($sc_timezone) ? $sc_timezone : date_default_timezone_get(), "php_exec" => (int) function_exists("exec"), "php_version" => (string) sc_phpversion(), "ps_version" => (string) _PS_VERSION_, "sc_version" => (string) $localVersions["SC-Pack1"]["version"], "sc_install_version" => (string) Db::getInstance()->getValue("SELECT version FROM " . _DB_PREFIX_ . "module WHERE name = "" . SC_MODULE_FOLDER_NAME . """))); goto Jo23x; mYnxz: $localVersions = json_decode(SCI::getConfigurationValue("SC_VERSIONS_LAST", 0), true); goto mC60X; qPVWS: if (file_exists($dst)) { goto XWv1F; } goto kGNtq; O10s2: $domains = (string) $protocol . $current_domain; goto LzGJd; WV1z8: $dst = SC_PS_MODULE_PATH_DIR . $ork_folder; goto qPVWS; u3aEp: $src = SC_DIR . "autoinstall/" . $ork_folder; goto uawAK; bO61O: $last_used_node = $dom->createElement("date_last_used", date("Y-m-d")); goto VWNta; ADSzg: $version_node = $dom->createElement("version", $localVersions["SC-Pack1"]["version"]); goto OcFtv; Dm2gS: MtMJH: goto mYnxz; Jz3zo: if (version_compare(_PS_VERSION_, "1.5.0.0", ">=")) { goto PvCK0; } goto yKil_; kGNtq: recursive_copy($src, $dst); goto emqT6; Me15y: $last_check_date_node = $dom->createElement("last_fix_check_date", SCI::getConfigurationValue("SC_FIXMYPS_LAST_CHECK")); goto zAdw0; Txz15: $partner_node = $dom->createElement("partner"); goto alcYu; z0hQE: $k = str_replace(array(".", "/", "$"), '', crypt(uniqid($k_path, true), hash("sha256", $k_path))); goto Rf6Y0; MV6jZ: $domains = (string) Db::getInstance()->getValue($sql); goto YAo2s; alcYu: $sc_node->appendChild($partner_node); goto h_0HG; VW8dN: $partner_node->appendChild($id_node); goto jO3T4; taAR4: $sc_node->appendChild($sub_node); goto BUIis; uawAK: if (!file_exists($src)) { goto DPJUk; } goto WV1z8; sp75U: $dom->appendChild($root); goto Dg31M; U9bYg: $id_partner_in_node = $res_api["result"]; goto DXgxe; ZDRBc: $unique_key_exists = SCI::getConfigurationValue("SC_UNIQUE_ID"); goto IHVxO; Dg31M: $dom->formatOutput = true; goto gaVok; iZPZ6: $sub_node = $dom->createElement("is_sub", IS_SUB); goto taAR4; Yfea9: $unique_key_exists = md5(uniqid($access_details["domain"], true)); goto k9n8Y; Rf6Y0: SCI::updateConfigurationValue("SC_SALT", $k); goto ZDRBc; VWNta: $sc_node->appendChild($last_used_node); goto Me15y; IHVxO: if (!empty($unique_key_exists)) { goto MtMJH; } goto Yfea9; gaVok: $dom->save($partner_xml_file); goto gfXvy; k9n8Y: SCI::updateConfigurationValue("SC_UNIQUE_ID", $unique_key_exists); goto Dm2gS; LzGJd: goto iiBzy; goto S7ybd; mC60X: $sc_timezone = SCI::getConfigurationValue("PS_TIMEZONE"); goto TdTMt; Jo23x: $partner_xml_file = SC_PS_MODULE_PATH_DIR . "module_sc.xml"; goto rT7mh; rT7mh: $dom = new DOMDocument("1.0", "UTF-8"); goto TaWA3; zAdw0: $sc_node->appendChild($last_check_date_node); goto Txz15; o1pH_: if (!(!empty($res_api["code"]) && $res_api["code"] == "200")) { goto XQT4I; } goto U9bYg; GecBf: } goto jfA9t; CQHMR: function getYearforUs($date) { $fieldArr = explode("-", $date); return $fieldArr[0]; } goto reGY5; cKRiq: function getScExternalLink($key) { return "https://www.storecommander.com/redir_ps.php?t=" . time() . "&dest=" . $key . "&iso=" . SC_ISO_LANG_FOR_EXTERNAL; } goto VnvyA; BZyvT: die; goto CwQIE; qFbe8: function fixLevelDepth() { goto bmoeY; qCuaf: tBk82: goto aO4T9; Dqt11: $i = 1; goto JBdWF; LvEC4: $arr = array(); goto mmTFQ; AmLvo: $sql = "UPDATE " . _DB_PREFIX_ . "category SET `level_depth`=" . (int) ($i + 1) . " WHERE id_parent IN (" . psql(join(",", $arr)) . ")"; goto UqBSQ; R0Ydn: goto lmqHP; goto JzSvz; Tk9YF: $res = Db::getInstance()->ExecuteS("SELECT id_category FROM " . _DB_PREFIX_ . "category WHERE level_depth=" . (int) $i); goto LvEC4; aO4T9: if (!count($arr)) { goto tG9bQ; } goto AmLvo; BEV7c: cx1Io: goto Zg9iL; Zg9iL: ++$i; goto R0Ydn; JzSvz: GBn5T: goto ieCI2; JBdWF: lmqHP: goto sNUor; mmTFQ: foreach ($res as $row) { $arr[] = $row["id_category"]; RGBpC: } goto qCuaf; rikCg: tG9bQ: goto BEV7c; bmoeY: Db::getInstance()->Execute("UPDATE `" . _DB_PREFIX_ . "category` SET `level_depth`=1 WHERE `id_parent`=1"); goto Dqt11; sNUor: if (!($i <= 20)) { goto GBn5T; } goto Tk9YF; UqBSQ: Db::getInstance()->Execute($sql); goto rikCg; ieCI2: } goto SUm7V; vqQEQ: function sizeFormat($size, $round = 1) { goto WAAf8; LfYu0: R235B: goto Yfgf5; ALeOy: q6no3: goto E0lLr; bEbIL: return $size . " Ko"; goto Seyh9; xeTI1: $size = round($size / (1024 * 1024 * 1024), (int) $round); goto IMflK; Xn0zZ: if ($size < 1024 * 1024) { goto Zh9xL; } goto w7WYw; Cq5dD: goto q6no3; goto LfYu0; sjLA2: $size = round($size / (1024 * 1024), (int) $round); goto kBclK; fvU2C: XoLdh: goto f0dfI; IMflK: return $size . " Go"; goto ELOHR; Yfgf5: return $size . " octets"; goto ALeOy; f0dfI: goto BXqgs; goto JpGZs; WAAf8: if ($size < -1024) { goto R235B; } goto Xn0zZ; vXzFh: $size = round($size / 1024, (int) $round); goto bEbIL; w7WYw: if ($size < 1024 * 1024 * 1024) { goto jNSpM; } goto xeTI1; mdp4i: jNSpM: goto sjLA2; Seyh9: BXqgs: goto Cq5dD; kBclK: return $size . " Mo"; goto fvU2C; JpGZs: Zh9xL: goto vXzFh; ELOHR: goto XoLdh; goto mdp4i; E0lLr: } goto gTZUi; KahWJ: function getFileMime($filePath) { goto FhfFN; xSZQB: UpmM3: goto DIR67; p975n: rjwyR: goto Tl4NO; FhfFN: if (function_exists("finfo_open")) { goto rjwyR; } goto mRVH6; GRP5H: goto UpmM3; goto O6zaR; RdBKo: return mime_content_type($filePath); goto warPv; DIR67: return false; goto QRusf; Tl4NO: $finfo = finfo_open(FILEINFO_MIME_TYPE); goto xb5lO; O6zaR: ugPtd: goto RdBKo; HsfCH: if (function_exists("exec")) { goto UsSrk; } goto tElT4; xb5lO: $mime = finfo_file($finfo, $filePath); goto qurXG; F2fg9: return trim(exec("file -b --mime-type " . escapeshellarg($filePath))); goto xSZQB; mRVH6: if (function_exists("mime_content_type")) { goto ugPtd; } goto HsfCH; tElT4: goto UpmM3; goto p975n; DempY: UsSrk: goto F2fg9; HKXl6: return $mime; goto GRP5H; warPv: goto UpmM3; goto DempY; qurXG: finfo_close($finfo); goto HKXl6; QRusf: } goto S4O8R; W3440: function scDateTime($timestamp, $timeZone) { goto GNLkC; GNLkC: $date = new DateTime(); goto K4bnR; FWhrh: try { $date->setTimezone(new DateTimeZone($timeZone)); } catch (Throwable $e) { return $date; } goto NSDzD; K4bnR: $date->setTimestamp($timestamp); goto FWhrh; NSDzD: return $date; goto FvHIZ; FvHIZ: } goto KahWJ; S4O8R: function isImage($filesInfo, $formUpload = false) { goto wQ2eA; lx9Mz: $fileDetail = pathinfo($filesInfo["name"]); goto EFr7w; DPDOH: $mimeByExtension["webp"] = image_type_to_mime_type(IMAGETYPE_WEBP); goto vVNjF; OSeIx: ifw5k: goto DEKae; EFr7w: if (isset($fileDetail["extension"])) { goto BCA2M; } goto vA1Yo; OYFTk: if (isset($mimeByExtension[$extension])) { goto rM0a4; } goto CP7it; CP7it: return false; goto BKMtl; jsv01: $typeMimeFromExtension = $mimeByExtension[$extension]; goto Ywsvu; wQ2eA: if (!$formUpload) { goto Ph2L1; } goto o4oBk; hrCA0: $realMime = getFileMime($filesInfo["tmp_name"]); goto jsv01; UUFFo: $mimeByExtension = array("jpeg" => image_type_to_mime_type(IMAGETYPE_JPEG), "jpg" => image_type_to_mime_type(IMAGETYPE_JPEG), "png" => image_type_to_mime_type(IMAGETYPE_PNG), "gif" => image_type_to_mime_type(IMAGETYPE_GIF), "bmp" => image_type_to_mime_type(IMAGETYPE_BMP)); goto e2fVr; HvV_J: $extension = $fileDetail["extension"]; goto OYFTk; lFluf: return false; goto OSeIx; Y9UgU: eDbhT: goto GygiA; vA1Yo: return false; goto m54JV; rp9Dg: return false; goto Y9UgU; BKMtl: rM0a4: goto hrCA0; VlDEa: ut_hb: goto ECQL2; vVNjF: PBfA4: goto lx9Mz; o4oBk: if (!(!is_uploaded_file($filesInfo["tmp_name"]) || $filesInfo["error"] !== UPLOAD_ERR_OK)) { goto ifw5k; } goto lFluf; Ywsvu: if (!($typeMimeFromExtension !== $realMime)) { goto eDbhT; } goto rp9Dg; GygiA: switch ($typeMimeFromExtension) { case "image/jpeg": return (bool) imagecreatefromjpeg($filesInfo["tmp_name"]); case "image/png": return (bool) imagecreatefrompng($filesInfo["tmp_name"]); case "image/gif": return (bool) imagecreatefromgif($filesInfo["tmp_name"]); case "image/bmp": return (bool) imagecreatefrombmp($filesInfo["tmp_name"]); case "image/webp": return (bool) imagecreatefromwebp($filesInfo["tmp_name"]); default: return false; } goto VlDEa; m54JV: BCA2M: goto HvV_J; DEKae: Ph2L1: goto UUFFo; ECQL2: kKDQM: goto xYK4M; e2fVr: if (!version_compare(phpversion(), "7.1", ">=")) { goto PBfA4; } goto DPDOH; xYK4M: } goto IsaEi; DFvYQ: function dirRemove($dir) { goto n8j3y; gDJhO: foreach ($objects as $object) { goto FzBj1; L8y_U: goto gDrI6; goto qJNMA; X5UXN: lbWol: goto p5Fup; ozZW_: dirRemove($dir . "/" . $object); goto EK4uE; Q36FN: unlink($dir . "/" . $object); goto L8y_U; FzBj1: if (!($object != "." && $object != "..")) { goto lbWol; } goto vbB1Q; p5Fup: y6S4T: goto OxOfi; vbB1Q: if (filetype($dir . "/" . $object) == "dir") { goto LsMww; } goto Q36FN; EK4uE: gDrI6: goto X5UXN; qJNMA: LsMww: goto ozZW_; OxOfi: } goto Lg3Ag; Jmker: reset($objects); goto jHRZn; avehK: $objects = scandir($dir); goto gDJhO; eHKs9: zEsgs: goto Mvmro; Lg3Ag: XME8x: goto Jmker; n8j3y: if (!is_dir($dir)) { goto zEsgs; } goto avehK; jHRZn: rmdir($dir); goto eHKs9; Mvmro: } goto DeQkp; KeuLu: function bqInSQL($string) { goto HeesO; zD8bC: $string = array_map("bqSQL", $string); goto vOczp; HeesO: $string = explode(",", $string); goto zD8bC; vOczp: return "`" . implode("`,`", $string) . "`"; goto RfAsc; RfAsc: } goto b6zAg; DBMyH: function truncate($string, $max_length = 30, $replacement = '', $trunc_at_space = false) { goto Hztej; Hztej: $max_length -= strlen($replacement); goto h34W7; zbp91: $max_length = $space_position; goto LwnIt; h34W7: $string_length = strlen($string); goto d_3I0; LwnIt: FWpI_: goto sqFEU; l6_8S: return $string; goto bKVT8; d_3I0: if (!($string_length <= $max_length)) { goto mnIzt; } goto l6_8S; VrrFJ: if (!($trunc_at_space && ($space_position = strrpos($string, " ", $max_length - $string_length)))) { goto FWpI_; } goto zbp91; sqFEU: return substr_replace($string, $replacement, $max_length); goto e3Jky; bKVT8: mnIzt: goto VrrFJ; e3Jky: } goto eC4t6; lTF32: function countChars($txt) { goto WUpOm; PbLMe: return Tools::strlen($cleanedTxt); goto aF3_G; Myk4F: autVz: goto PbLMe; WUpOm: $pattern = "/(\n|\r)/m"; goto mRUKb; elEQ_: return iconv_strlen($cleanedTxt); goto Myk4F; mRUKb: $cleanedTxt = preg_replace($pattern, '', strip_tags($txt)); goto iWhP6; iWhP6: $cleanedTxt = html_entity_decode($cleanedTxt); goto QsCAz; QsCAz: if (!function_exists("iconv_strlen")) { goto autVz; } goto elEQ_; aF3_G: } goto cKRiq; IsaEi: function isCsv($filesInfo, $formUpload = false) { goto H7r9a; eTDX1: $extension = $fileDetail["extension"]; goto GTXwL; kB7sr: $fileDetail = pathinfo($filesInfo["name"]); goto HAUY3; r8YWD: if (in_array($realMime, $csvMimes)) { goto BNDEX; } goto GWOL2; P8Kwk: SImv0: goto ncQKb; CUX7b: RPFDr: goto eTDX1; xFowx: P7PRV: goto kB7sr; HAUY3: if (isset($fileDetail["extension"])) { goto RPFDr; } goto PN74x; GTXwL: if (!($extension !== "csv")) { goto SImv0; } goto LfrAp; H7r9a: if (!$formUpload) { goto P7PRV; } goto F3Cgq; okkL1: lh8jk: goto xFowx; PN74x: return false; goto CUX7b; LfrAp: return false; goto P8Kwk; F3Cgq: if (!(!is_uploaded_file($filesInfo["tmp_name"]) || $filesInfo["error"] !== UPLOAD_ERR_OK)) { goto lh8jk; } goto bsT9C; kpH9h: $csvMimes = array("text/x-comma-separated-values", "text/comma-separated-values", "application/octet-stream", "application/vnd.ms-excel", "application/x-csv", "text/x-csv", "text/csv", "application/csv", "application/excel", "application/vnd.msexcel", "text/plain", "text/html", "text/x-Algol68", "message/news"); goto r8YWD; IMAgo: BNDEX: goto YZdGP; bsT9C: return false; goto okkL1; YZdGP: return true; goto CjbDI; GWOL2: return false; goto IMAgo; ncQKb: $realMime = getFileMime($filesInfo["tmp_name"]); goto kpH9h; CjbDI: } goto zHPjY; Y0B9G: function getCatProperties($sc_agent) { goto mtRaa; mRUDR: mrfZM: goto Q1r5b; L2l0g: if (empty($files_tools)) { goto mrfZM; } goto EUWkm; KftjQ: return $files; goto I55x6; OyeI9: $files = array_intersect($files, $sc_agent->getCredentials()->getAllowed("CAT_PROPERTIES")); goto quli1; mtRaa: $files = scandir(SC_DIR . "lib/cat/"); goto k8GTX; quli1: jt_Jb: goto KftjQ; k8GTX: if (!file_exists(SC_TOOLS_DIR . "lib/cat/")) { goto DSosM; } goto l31bu; Q1r5b: DSosM: goto QCQEF; EUWkm: @($files = array_merge($files, $files_tools)); goto mRUDR; QCQEF: if (!$sc_agent->getCredentials()->getAllowed("CAT_PROPERTIES")) { goto jt_Jb; } goto OyeI9; l31bu: @($files_tools = scandir(SC_TOOLS_DIR . "lib/cat/")); goto L2l0g; I55x6: } goto HG3fx; XZiLq: function sc_in_array($valueToCheck, $sourceArray, $variableName) { goto fpYUh; F1jKT: unset($arrayFlipCache[$variableName]); goto nbkWi; auKhF: return isset($arrayFlipCache[$variableName][$valueToCheck]); goto l113Y; KUPwF: if (!($valueToCheck == '')) { goto xPPW8; } goto F1jKT; r4rdZ: To0y4: goto auKhF; t9UKc: $arrayFlipCache[$variableName] = array_fill_keys($sourceArray, 1); goto r4rdZ; nbkWi: xPPW8: goto V7IXO; V7IXO: if (!(!empty($sourceArray) && !sc_array_key_exists($variableName, $arrayFlipCache) || isset($arrayFlipCache[$variableName]) && count($arrayFlipCache[$variableName]) != count($sourceArray))) { goto To0y4; } goto t9UKc; fpYUh: global $arrayFlipCache; goto KUPwF; l113Y: } goto k_gUf; dr0YY: function dateFrtoUS($field) { goto UI0Ad; umWxj: $field = $fieldArr[2] . "-" . $fieldArr[1] . "-" . $fieldArr[0]; goto o2LAC; o2LAC: wTEX3: goto f6CKD; wCwZK: if (!(strlen($fieldArr[0]) == 2 && strlen($fieldArr[1]) == 2 && strlen($fieldArr[2]) == 4)) { goto wTEX3; } goto umWxj; vlibR: $field = str_replace(".", "-", $field); goto G7Waq; G7Waq: $fieldArr = explode("-", $field); goto wCwZK; UI0Ad: $field = str_replace("/", "-", $field); goto vlibR; f6CKD: return $field; goto mCVw2; mCVw2: } goto CQHMR; NUjug: function cleanQuotes($str) { goto qikMa; AWEKG: $str = substr($str, 1, strlen($str) - 2); goto rcD9a; lMV6p: return trim($str); goto sKpyQ; uB60f: KjoTG: goto lMV6p; maldu: if (!(substr($str, 0, 1) == """ && substr($str, strlen($str) - 1, 1) == """)) { goto KjoTG; } goto AWEKG; rcD9a: $str = str_replace("""", """, $str); goto uB60f; qikMa: $str = trim($str); goto maldu; sKpyQ: } goto STQTh; MAdPV: function SCMSCleanPositionsInAllShops($id_category_parent = null) { goto pb7Pj; Yr5R5: RORsa: goto oZsjc; ajyM2: if (version_compare(_PS_VERSION_, "1.5.0.0", ">=")) { goto RORsa; } goto QkMIW; pbwPW: deb0Z: goto E4D4M; dZBn1: ++$i; goto tEdfI; ZGYpX: $count = count($result); goto bWPE1; bWPE1: if (!($count > 0)) { goto Evm8a; } goto ihmrV; FsZTj: nZk7d: goto u2Inj; u2Inj: Evm8a: goto jlVdd; tEdfI: goto BptKK; goto FsZTj; E4D4M: return $return; goto dXP5g; rECJB: foreach ($id_shop_list as $id_shop) { goto kcYE8; OULJh: if (!($count > 0)) { goto ZZNZ9; } goto ASgSk; ASgSk: $i = 0; goto yrvVf; xHZ71: $sql = "UPDATE `" . _DB_PREFIX_ . "category` c\xa LEFT JOIN `" . _DB_PREFIX_ . "category_shop` cs
ON (c.`id_category` = cs.`id_category`\xa AND cs.`id_shop` = " . (int) $id_shop . ")\xa SET cs.`position` = " . (int) $i . "
WHERE c.`id_parent` = " . (int) $id_category_parent . "\xa AND c.`id_category` = " . (int) $result[$i]["id_category"]; goto jD7ZC; yrvVf: I_hzB: goto U7yiy; kcYE8: $result = Db::getInstance()->executeS("SELECT c.`id_category`
FROM `" . _DB_PREFIX_ . "category` c
LEFT JOIN `" . _DB_PREFIX_ . "category_shop` cs\xa ON (c.`id_category` = cs.`id_category`\xa AND cs.`id_shop` = " . (int) $id_shop . ")
WHERE c.`id_parent` = " . (int) $id_category_parent . "
ORDER BY cs.`position`"); goto BPQSl; BPQSl: $count = count($result); goto OULJh; TnHx1: ZZNZ9: goto zqpPW; jD7ZC: $return &= Db::getInstance()->execute($sql); goto kyvTo; g4I7r: ++$i; goto W9VNE; kyvTo: yJ5lH: goto g4I7r; zqpPW: IZf9A: goto GT4pw; U7yiy: if (!($i < $count)) { goto Zrrmk; } goto xHZ71; W9VNE: goto I_hzB; goto Q0QNf; Q0QNf: Zrrmk: goto TnHx1; GT4pw: } goto pySJB; kOVH9: BptKK: goto IgEVj; ihmrV: $i = 0; goto kOVH9; oZsjc: $id_shop_list = Shop::getShops(false, null, true); goto rECJB; Co1Al: $return &= Db::getInstance()->execute($sql); goto SJren; nLAGF: if (empty($id_category_parent)) { goto deb0Z; } goto ajyM2; TBopM: $sql = "UPDATE `" . _DB_PREFIX_ . "category`
SET `position` = " . (int) $i . "
WHERE `id_parent` = " . (int) $id_category_parent . "\xa AND `id_category` = " . (int) $result[$i]["id_category"]; goto Co1Al; QkMIW: $result = Db::getInstance()->executeS(" SELECT `id_category`\xa FROM `" . _DB_PREFIX_ . "category`
WHERE `id_parent` = " . (int) $id_category_parent . "\xa ORDER BY `position`"); goto ZGYpX; IgEVj: if (!($i < $count)) { goto nZk7d; } goto TBopM; y0qgT: uusSq: goto pbwPW; jlVdd: goto uusSq; goto Yr5R5; pb7Pj: $return = false; goto nLAGF; pySJB: WCAXl: goto y0qgT; SJren: Yxmx7: goto dZBn1; dXP5g: } goto FgQB9; xQvcr: if (function_exists("file_get_contents")) { goto eCBE9; } goto hS7RR; DeQkp: function dirEmpty($dir, $dirOrigin, $exceptions = array()) { goto MHShg; gE3VM: $objects = scandir($dir); goto JXPIY; IwbAJ: cGDqb: goto baUja; V765w: k7ngD: goto q6ZrW; baUja: gEwe1: goto Pbfxs; MHShg: if (!is_dir($dir)) { goto gEwe1; } goto gE3VM; q6ZrW: reset($objects); goto XabQd; phS1n: rmdir($dir); goto IwbAJ; JXPIY: foreach ($objects as $object) { goto IhN_v; XG_dT: if (filetype($dir . "/" . $object) == "dir") { goto NKAFe; } goto t0qN5; R1SzF: goto jOwZP; goto AaZtw; AaZtw: NKAFe: goto kKmpv; JDYLN: q1gF7: goto lez7K; t0qN5: @unlink($dir . "/" . $object); goto R1SzF; Z0DPO: jOwZP: goto JDYLN; IhN_v: if (!($object != "." && $object != ".." && !in_array($object, $exceptions))) { goto q1gF7; } goto XG_dT; kKmpv: dirEmpty($dir . "/" . $object, $dirOrigin, $exceptions); goto Z0DPO; lez7K: jnGvN: goto tYz3K; tYz3K: } goto V765w; XabQd: if (!($dir != $dirOrigin)) { goto cGDqb; } goto phS1n; Pbfxs: } goto IrB5x; yiQQc: goto T_vcl; goto DJzfl; DJzfl: eCBE9: goto uVQ_0; kKXGr: function getIcon($item) { $icon_array_link = array("accept.png" => "fa fa-check-circle green", "accept_grey.png" => "fad fa-check-circle grey", "accessory.png" => "fad fa-bags-shopping blue", "add.png" => "fa fa-plus-circle green", "add_big.png" => "fa fa-plus-circle yellow", "add_dis.png" => "fad fa-plus-circle grey", "add_ps.png" => "fa fa-prestashop", "ajax-loader.gif" => "fas fa-spinner fa-pulse", "ajax-loader16.gif" => "fas fa-spinner fa-pulse", "alert.gif" => "fad fa-exclamation-triangle orange", "application_form_magnify.png" => "fa fa-search blue", "application_lightning.png" => "fa fa-bolt yellow", "application_lightning_delete.png" => "fa fa-eraser red", "application_lightning_dis.png" => "fad fa-bolt grey", "application_side_list.png" => "fad fa-th-list blue", "application_side_tree.png" => "fad fa-folder-tree blue", "application_tile_vertical.png" => "fad fa-text-height blue", "application_view_list.png" => "fad fa-list-alt blue", "arrow_divide.png" => "fad fa-folder-plus green", "arrow_down.png" => "fa fa-arrow-down red", "arrow_in.png" => "fa fa-compress-arrows-alt green", "arrow_out.png" => "fa fa-expand-arrows-alt green", "arrow_refresh.png" => "fa fa-sync green", "arrow_transfert.png" => "fa fa-exchange-alt green", "arrow_up.png" => "fa fa-arrow-up green", "asterisk_yellow.png" => "fa fa-asterisk yellow", "attach.png" => "fa fa-paperclip", "attach_add.png" => "fa fa-plus-circle green", "attach_del.png" => "fa fa-minus-circle red", "basket.png" => "fad fa-shopping-basket grey", "bin_closed.png" => "fad fa-trash grey", "bin_empty.png" => "far fa-trash grey", "blue_folder.png" => "fa fa-folder blue", "blue_folder_synchro.png" => "fad fa-retweet blue", "box.png" => "fa fa-cube", "bricks.png" => "fa fa-cubes", "bug.png" => "fa fa-bug red", "building.png" => "fa fa-building", "building_add.png" => "fa fa-plus-circle green", "building_delete.png" => "fa fa-minus-circle red", "building_edit.png" => "fad fa-edit yellow", "building_go.png" => "fad fa-external-link green", "calculator.png" => "fa fa-calculator", "calculator_edit.png" => "fad fa-edit yellow", "calendar.png" => "fa fa-calendar-alt", "cart.png" => "fa fa-shopping-cart", "cart_add.png" => "fad fa-cart-plus", "cart_delete.png" => "fa fa-minus-circle red", "cart_go.png" => "fad fa-external-link green", "cart_ps.png" => "fad fa-ramp-loading green", "cart_bo_ps.png" => "fa fa-prestashop", "catalog.png" => "fa fa-folder yellow", "catalog_edit.png" => "fad fa-edit yellow", "chart_bar.png" => "fa fa-chart-bar", "chart_curve.png" => "fa fa-chart-area", "chart_organisation_add.png" => "fad fa-link green", "chart_organisation_add_v.png" => "fad fa-link yellow", "chart_organisation_delete_v.png" => "fad fa-unlink red", "checkbox_false.png" => "far fa-square", "checkbox_true.png" => "far fa-check-square", "clock.png" => "fa fa-clock", "cog.png" => "fa fa-cog", "cog_delete.png" => "fa fa-minus-circle red", "cog_edit.png" => "fad fa-sliders-v-square yellow", "cog_go.png" => "fad fa-tools green", "cols_3.png" => "fa fa-bars fa-rotate-90 green", "combinations.gif" => "fa fa-sitemap", "combinations_ps_create.gif" => "fad fa-palette green", "combinations_ps_create.png" => "fad fa-external-link green", "comments.png" => "fad fa-comments", "configuring.png" => "fad fa-tools", "control_play_blue.png" => "fad fa-play-circle blue", "control_stop_blue.png" => "fad fa-stop-circle blue", "cup.png" => "fad fa-mug-hot", "cursor.png" => "fa fa-mouse-pointer", "cut.png" => "fa fa-cut", "database_add.png" => "fad fa-sign-in green", "database_delete.png" => "fa fa-database red", "database_gear.png" => "fad fa-cog yellow", "database_go.png" => "fad fa-sign-out fa-flip-horizontal green", "database_refresh.png" => "fad fa-sync green", "delete.gif" => "fa fa-minus-circle red", "delete_big.png" => "fa fa-minus-circle red", "description.png" => "fad fa-align-left", "disk.png" => "fa fa-save blue", "email.png" => "fad fa-envelope blue", "email_edit.png" => "fad fa-envelope-open yellow", "email_go.png" => "fad fa-paper-plane green", "eservices_cp.png" => "fad fa-game-board-alt fa-rotate-90", "export.png" => "fad fa-file-export", "eye.png" => "fa fa-eye", "filter.png" => "fa fa-filter", "filter_delete.png" => "fa fa-eraser red", "filter_show.png" => "fad fa-eye green", "flag_blue.png" => "fad fa-flag blue", "folder_add.png" => "fa fa-folder-plus green", "folder_delete.png" => "fa fa-trash-alt red", "folder_find.png" => "fa fa-file-search blue", "folder_go.png" => "fa fa-external-link green", "folder_grey.png" => "fad fa-folder grey", "folder_grey_delete.png" => "fad fa-folder-times red", "folder_grey_find.png" => "fad fa-file-search blue", "folder_grey_go.png" => "fad fa-external-link green", "folder_table.png" => "fa fa-folder-open", "folder_synchro.png" => "fad fa-sync", "folder_wrench.png" => "fa fa-cog yellow", "group.png" => "fa fa-user-friends", "group_add.png" => "fas fa-plus-circle green", "group_delete.png" => "fa fa-minus-circle red", "group_link.png" => "fad fa-users-class yellow", "heart.png" => "fa fa-heart red", "help.png" => "fad fa-question-circle blue", "html_delete.png" => "fa fa-eraser red", "information.png" => "fad fa-info-circle blue", "information_big.png" => "fa fa-info blue", "ipod_cast.png" => "fad fa-scanner yellow", "key.png" => "fad fa-key", "key_add.png" => "fa fa-plus-circle green", "layers.png" => "fa fa-list-ol green", "layers_dis.png" => "fa fa-list-ol grey", "layout.png" => "fad fa-browser blue", "layout_delete.png" => "fa fa-minus-circle red", "lightbulb.png" => "fa fa-lightbulb-on yellow", "lightbulb_off.png" => "fad fa-lightbulb grey", "lightning.png" => "fa fa-bolt yellow", "lightning_go.png" => "fad fa-external-link green", "link_add.png" => "fa fa-link green", "loading.gif" => "fa fa-spinner fa-pulse", "lorry.png" => "fad fa-truck", "lorry_add.png" => "fa fa-plus-circle green", "lorry_delete.png" => "fa fa-minus-circle red", "medal_gold_delete.png" => "fad fa-medal red", "merge.png" => "fad fa-sitemap fa-rotate-90 blue", "money.png" => "fad fa-money-bill-alt", "money_add.png" => "fa fa-plus-circle green", "money_delete.png" => "fa fa-minus-circle red", "money_euro.png" => "fa fa-euro-sign yellow", "package.png" => "fa fa-cube yellow", "page_code.png" => "fad fa-file-code blue", "page_copy.png" => "fad fa-copy blue", "page_copy2.png" => "fa fa-copy blue", "page_delete.png" => "fa fa-minus-circle red", "page_edit.png" => "fad fa-edit", "page_excel.png" => "fad fa-file-csv green", "page_find.png" => "fad fa-file-search blue", "page_pdf.png" => "fad fa-file-pdf blue", "page_save.png" => "fa fa-save blue", "page_white.png" => "fad fa-file white", "page_white_edit.png" => "fad fa-edit", "page_white_error.png" => "fad fa-exclamation-triangle orange", "pdf.gif" => "fad fa-file-pdf", "percent.png" => "fa fa-percent", "picture.png" => "fad fa-image", "picture_add.png" => "fa fa-plus-circle green", "picture_delete.png" => "fa fa-minus-circle red", "picture_go.png" => "fad fa-external-link green", "play.png" => "fad fa-play-circle blue", "plugin_link.png" => "fa fa-puzzle-piece green", "printer.png" => "fad fa-print", "random.png" => "fa fa-random", "readonly.png" => "fad fa-lock-alt", "ruby.png" => "fa fa-gem red", "script_add.png" => "fa fa-plus-circle green", "script_delete.png" => "fa fa-minus-circle red", "script_edit.png" => "fad fa-edit yellow", "script_go.png" => "fad fa-external-link green", "script_palette.png" => "fad fa-palette", "search.gif" => "fa fa-search", "security.png" => "fa fa-shield-alt", "segmentation.png" => "fad fa-chart-pie blue", "server.png" => "fad fa-server", "shape_move_front.png" => "fad fa-bring-front blue", "sitemap_color.png" => "fa fa-sitemap white", "table_add.png" => "fa fa-plus-circle green", "table_delete.png" => "fa fa-minus-circle red", "table_edit.png" => "fad fa-edit yellow", "table_gear.png" => "fad fa-ruler-triangle", "table_go.png" => "fad fa-external-link green", "table_lightning.png" => "fad fa-bolt green", "table_multiple.png" => "fa fa-layer-group", "table_relationship.png" => "fad fa-american-sign-language-interpreting blue", "table_row_delete.png" => "fa fa-minus-circle red", "table_row_delete_grey.png" => "fad fa-undo grey", "table_row_insert.png" => "fa fa-plus-circle green", "table_save.png" => "fa fa-save blue", "tag_blue.png" => "fad fa-tags", "tag_blue_add.png" => "fa fa-plus-circle green", "tag_blue_delete.png" => "fa fa-minus-circle red", "tag_blue_edit.png" => "fad fa-edit yellow", "tags.gif" => "fad fa-clouds", "text_list_bullets.png" => "fad fa-list-ul", "text_list_numbers.png" => "fad fa-list-ol", "textfield_add.png" => "fa fa-plus-circle green", "textfield_delete.png" => "fa fa-minus-circle red", "textfield_key.png" => "fad fa-key yellow", "textfield_rename.png" => "fad fa-i-cursor", "tick.png" => "fa fa-check green", "time.png" => "fa fa-clock", "tree_id_categ_default.png" => "fad fa-sitemap", "user.png" => "fa fa-user", "user_comment.png" => "fad fa-comment-lines", "user_delete.png" => "fa fa-minus-circle red", "user_edit.png" => "fad fa-edit yellow", "user_go.png" => "fad fa-user-shield green", "user_go_ps.png" => "fa fa-prestashop", "user_orange_go.png" => "fad fa-walking orange", "user_ps.png" => "fa fa-prestashop", "wand.png" => "fa fa-magic yellow", "world_go.png" => "fad fa-globe-europe green", "wrench_orange.png" => "fa fa-wrench orange", "zoom.png" => "fad fa-search", "zoom_in.png" => "fad fa-search-plus", "i.gif" => "fad fa-file-image", "i.jpg" => "fad fa-file-image", "fix_my_prestashop.png" => "fad fa-monitor-heart-rate", "shop_cleaning_optimization.png" => "fad fa-tachometer-alt-fastest", "customer_group.png" => "fad fa-user-friends", "specific_prices.png" => "fad fa-money-check-edit-alt", "categories.png" => "fad fa-folder-tree", "default_category.png" => "fad fa-at", "stats.png" => "fad fa-analytics", "seo.png" => "fad fa-at", "download_file.png" => "fad fa-cloud-download-alt", "suppliers.png" => "fad fa-parachute-box", "prop_combinations.gif" => "fad fa-ball-pile", "invoice.png" => "fad fa-file-invoice", "order_slip.png" => "fad fa-file-invoice-dollar", "history.png" => "fad fa-book", "cart_go_ps.png" => "fad fa-eye", "note.png" => "fad fa-pen-fancy", "address.png" => "fad fa-map-marked-alt", "import.png" => "fad fa-sign-in", "disable.png" => "fa fa-minus", "folder_red.png" => "fa fa-folder red", "folder_redgrey.png" => "fa fa-folder redgrey", "amazon.png" => "fad fa-badge-dollar", "cdiscount.png" => "fad fa-badge-dollar", "feedbiz.png" => "fad fa-badge-dollar", "user_ps_view.png" => "fad fa-eye", "note_edit.png" => "fa fa-sticky-note", "phone_add.png" => "fad fa-phone-laptop", "lorry_url.png" => "fad fa-rabbit-fast", "image_detail.png" => "fad fa-ruler-combined"); return $icon_array_link[$item]; } goto KWhK1; mnT6H: W9eE5: goto cw3E4; uIcYa: function arr_unique($array) { return array_keys(array_flip($array)); } goto e2iKU; ovWM5: function cleanXMLContent($buffer) { goto W0N2a; BRluf: return $buffer; goto hoWOX; hoWOX: goto RIMca; goto xoFQj; NXJve: RIMca: goto HsOiJ; TyNud: return ltrim($buffer); goto NXJve; xoFQj: XS7Uz: goto TyNud; W0N2a: if (strpos($buffer, "<" . "?xml") !== false) { goto XS7Uz; } goto BRluf; HsOiJ: } goto DBMyH; gTZUi: function addToHistory($section, $action, $object, $object_id, $lang_id, $table, $newValue, $oldValue = false, $id_shop = null) { goto S4ZK0; sACFx: uVXSp: goto X9f_L; P7LC1: hHGlf: goto DjZPS; kJdXL: if (!($oldValue === false)) { goto YdBzu; } goto RBzlp; mVZSk: $oldValue = $res[$object]; goto qWj8I; YrQUU: if (!_s("APP_DISABLE_CHANGE_HISTORY")) { goto oyU2W; } goto zKqOO; q6eIL: if (SCMS) { goto hHGlf; } goto PpVYf; DgVYw: GeCA1: goto KA52e; RBzlp: $tableKeys = array(_DB_PREFIX_ . "product" => "id_product", _DB_PREFIX_ . "product_lang" => "id_product", _DB_PREFIX_ . "image" => "id_image", _DB_PREFIX_ . "image_lang" => "id_image", _DB_PREFIX_ . "product_attribute" => "id_product_attribute", _DB_PREFIX_ . "category_product" => "0", _DB_PREFIX_ . "category" => "id_parent", _DB_PREFIX_ . "attribute_group" => "id_attribute_group", _DB_PREFIX_ . "attribute_group_lang" => "id_attribute_group", _DB_PREFIX_ . "attribute" => "id_attribute", _DB_PREFIX_ . "attribute_lang" => "id_attribute", _DB_PREFIX_ . "feature" => "id_feature", _DB_PREFIX_ . "feature_lang" => "id_feature", _DB_PREFIX_ . "feature_value" => "id_feature_value", _DB_PREFIX_ . "feature_value_lang" => "id_feature_value", _DB_PREFIX_ . "discount_quantity" => "id_discount_quantity", _DB_PREFIX_ . "storecom_product" => "id_product", _DB_PREFIX_ . "specific_price" => "id_product", _DB_PREFIX_ . "attachment" => "id_attachment", _DB_PREFIX_ . "attachment_lang" => "id_attachment", _DB_PREFIX_ . "customization_field" => "id_customization_field", _DB_PREFIX_ . "customization_field_lang" => "id_customization_field", _DB_PREFIX_ . "orders" => "id_order", _DB_PREFIX_ . "order_detail" => "id_order_detail", _DB_PREFIX_ . "product_download" => "id_product_download", _DB_PREFIX_ . "address" => "id_address"); goto BRLA3; zUp2G: goto uVXSp; goto P7LC1; gf3tb: $id_shop = pInSQL(SCI::getSelectedShopActionList(true)); goto HPUbj; zKqOO: return false; goto CIrcA; BRLA3: if (!(!empty($object) && !empty($table) && !empty($tableKeys[$table]))) { goto aVl0B; } goto Llgxz; f5ciL: $sql = "INSERT INTO " . _DB_PREFIX_ . "storecom_history (id_employee,section,action,object,object_id,lang_id,dbtable,oldValue,newValue,date_add,shops)
VALUES ('" . (int) $sc_agent->id_employee . "','" . psql($section) . "','" . psql($action) . "','" . psql($object) . "','" . (int) $object_id . "','" . (int) $lang_id . "','" . psql($table) . "','" . psql($oldValue, true) . "','" . psql($newValue, true) . "',NOW(),'," . $id_shop . ",')"; goto sACFx; kf_Y1: if (!(strval($oldValue) != strval($newValue) || $oldValue === null && $newValue === null)) { goto GeCA1; } goto q6eIL; ZOo19: $res = Db::getInstance()->getRow($sql); goto mVZSk; HPUbj: qYnTN: goto f5ciL; PpVYf: $sql = "INSERT INTO " . _DB_PREFIX_ . "storecom_history (id_employee,section,action,object,object_id,lang_id,dbtable,oldValue,newValue,date_add)\xa VALUES ('" . (int) $sc_agent->id_employee . "','" . psql($section) . "','" . psql($action) . "','" . psql($object) . "','" . (int) $object_id . "','" . (int) $lang_id . "','" . psql($table) . "','" . psql($oldValue, true) . "','" . psql($newValue, true) . "',NOW())"; goto zUp2G; xiSBj: YdBzu: goto kf_Y1; S4ZK0: global $sc_agent; goto YrQUU; X9f_L: Db::getInstance()->Execute($sql); goto DgVYw; Llgxz: $sql = "SELECT `" . bqSQL($object) . "` FROM `" . bqSQL($table) . "` WHERE `" . bqSQL($tableKeys[$table]) . "`='" . (int) $object_id . "'" . (strpos($table, "_lang") > 0 ? " AND id_lang=" . (int) $lang_id : ''); goto ZOo19; DjZPS: if (!empty($id_shop)) { goto qYnTN; } goto gf3tb; CIrcA: oyU2W: goto kJdXL; qWj8I: aVl0B: goto xiSBj; KA52e: } goto ABiL1; eC4t6: function randomPassword() { goto aRKgQ; IV74W: EAoVj: goto JtB3N; BxyIh: ++$i; goto MYtyz; FrmZi: $pass = array(); goto bMBNL; c6TgD: $n = rand(0, $alphaLength); goto AuBty; H8Jqn: $i = 0; goto t_TYi; bMBNL: $alphaLength = strlen($alphabet) - 1; goto H8Jqn; TGb_b: if (!($i < 8)) { goto EAoVj; } goto c6TgD; aRKgQ: $alphabet = "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789"; goto FrmZi; AuBty: $pass[] = $alphabet[$n]; goto dYsm4; MYtyz: goto gJAu5; goto IV74W; JtB3N: return implode($pass); goto Giwtm; t_TYi: gJAu5: goto TGb_b; dYsm4: FjOkn: goto BxyIh; Giwtm: } goto dDNRK; DReCR: $arrayFlipCache = array(); goto XZiLq; tBKMG: function importConv2Float($field) { goto wOGJH; wOGJH: $field = str_replace(array("\xe2\x82\254", " ", "%"), '', $field); goto ZCUcL; ZCUcL: $field = str_replace(",", ".", $field); goto sKnuv; sKnuv: return number_format(floatval($field), 6, ".", ''); goto F2gOU; F2gOU: } goto rK9UP; fvjTR: function pInSQL($string) { goto SoY1O; Yzmr1: $string = explode(",", $string); goto CJw4o; SoY1O: $string = pSQL($string); goto Yzmr1; Jorqu: return implode(",", $string); goto Adeez; BN0e2: $string = array_map("intval", $string); goto Jorqu; CJw4o: $string = array_unique($string); goto BN0e2; Adeez: } goto KeuLu; IgWaw: function exitWithXmlMessageForGrid($message, $type = '') { echo "<rows>\xa <head>
<beforeInit>\xa <call command="attachHeader"><param><![CDATA[]]></param></call>
</beforeInit>
<column id="data" width="*" type="ro" align="center" sort="na"></column>\xa </head>
<row id="0">\xa <cell class="message {$type}"><![CDATA[{$message}]]></cell>\xa </row>
</rows>"; die; } goto W3440; eQo3W: function makeCallToOurApi($url, $headers = array(), $posts = array(), $timeout = 30) { goto LRxYj; PQ5oA: $licence = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto I7Y0K; peH6c: jBb_b: goto ujaOm; AyrTG: $return = json_decode($ret, true); goto ZT8Z5; zOwR_: bqT_t: goto vER27; ujaOm: foreach ($posts as $key => $value) { goto ZvSQs; DVyV0: Im4C2: goto Gu_1P; Gu_1P: $posts[$key] = $licence; goto sHrQG; h8KQD: M82p2: goto cqtnJ; sHrQG: goto M82p2; goto fPwdQ; purgA: goto M82p2; goto DVyV0; sJKG5: $posts[$key] = $access_details["domain"]; goto h8KQD; CeGoX: if (strtolower($key) == "urlcalling" && $value == "#") { goto nADrT; } goto purgA; cqtnJ: T5rIq: goto ad6xU; fPwdQ: nADrT: goto sJKG5; ZvSQs: if (strtolower($key) == "license" && $value == "#") { goto Im4C2; } goto CeGoX; ad6xU: } goto zOwR_; ZT8Z5: return $return; goto n0lJn; LRxYj: global $access_details; goto n8eb8; vER27: $ret = sc_file_get_contents("https://api.storecommander.com/" . $url, "POST", $posts, $headers, $timeout); goto AyrTG; n8eb8: $return = null; goto PQ5oA; I7Y0K: foreach ($headers as $key => $value) { goto hry5W; p56TO: goto G712L; goto mrHlG; V3Zlg: $headers[$key] = $access_details["domain"]; goto aYflH; meEhF: JJv8D: goto f3r2j; mrHlG: ciDdR: goto akGDn; wDXIe: Zmw8u: goto V3Zlg; hry5W: if (strtolower($key) == "license" && $value == "#") { goto ciDdR; } goto OJfNF; MsWTB: goto G712L; goto wDXIe; akGDn: $headers[$key] = $licence; goto MsWTB; OJfNF: if (strtolower($key) == "urlcalling" && $value == "#") { goto Zmw8u; } goto p56TO; aYflH: G712L: goto meEhF; f3r2j: } goto peH6c; n0lJn: } goto pm0EV; YVBnv: function isUrl($string) { goto qXMSe; jIg8j: fMcL9: goto nZdmt; qXMSe: $parsed_url = parse_url($string); goto uLtEi; nZdmt: return false; goto Y_pUj; SgbiF: return $parsed_url; goto jIg8j; uLtEi: if (!(array_key_exists("scheme", $parsed_url) && in_array($parsed_url["scheme"], array("http", "https")))) { goto fMcL9; } goto SgbiF; Y_pUj: } goto DReCR; g3OHD: function scrape_phpinfo($all, $target) { goto BoAv8; oeBPb: $slash = "/"; goto PXotC; BoAv8: $all = explode($target, $all); goto mrB6K; kcKxK: $all = implode($slash, $all); goto wuf5U; XscxE: return false; goto MNwQo; mrB6K: if (!(count($all) < 2)) { goto rWHgl; } goto ZcynF; xYppE: $all = trim($all[0]); goto Bgv3R; e8Bkj: if (!($target == "SCRIPT_FILENAME")) { goto r5nvs; } goto oeBPb; bzFm7: $all = trim($all[strtolower($all[0]) == "windows" && strtolower($all[1]) == "nt" ? 2 : 1]); goto pk8F4; ZcynF: return false; goto zpKCD; wuf5U: r5nvs: goto uNswh; pk8F4: BEc3V: goto e8Bkj; jQK6t: array_pop($all); goto kcKxK; LkTEB: $all = explode(" ", $all); goto bzFm7; Bgv3R: if (!($target == "System")) { goto BEc3V; } goto LkTEB; MNwQo: iq4D3: goto W4fjC; zpKCD: rWHgl: goto vkFzk; uNswh: if (!(substr($all, 1, 1) == "]")) { goto iq4D3; } goto XscxE; vkFzk: $all = explode("
", $all[1]); goto xYppE; PXotC: $all = explode($slash, $all); goto jQK6t; W4fjC: return $all; goto Suacv; Suacv: } goto unbs3; IJk7L: function getShopProtocol() { goto kecWV; DaJC8: $strl = Tools::strtolower($_SERVER["SSL"]); goto QqohW; HHTZv: TqLge: goto WH71a; rLBBw: goto JmWFK; goto elqsR; oBok0: $proto = "http"; goto gm82V; gm82V: if (isset($_SERVER["HTTPS"])) { goto gjIyB; } goto RuAdk; ato4O: IyyrN: goto iGip3; IuzOG: $strl = Tools::strtolower($_SERVER["REDIRECT_HTTPS"]); goto iexnk; ighYK: goto hh1NB; goto WAWOP; lsZL3: return Tools::getShopProtocol(); goto flWs1; MbFiQ: $proto = "https"; goto bTHD7; xIxwJ: Ougld: goto DaJC8; VPxGK: KKJCr: goto RGQAc; hlF1v: gjIyB: goto Gq2TL; N9Yv6: UvoGL: goto IuzOG; tr2dC: goto JmWFK; goto hlF1v; lvNx9: F4yas: goto KvRvy; NvvbA: goto JmWFK; goto xIxwJ; lqMVM: if (!in_array($strl, array(1, "on"))) { goto F4yas; } goto Pp15Y; Pp15Y: $proto = "https"; goto lvNx9; uOltO: if (isset($_SERVER["HTTP_X_FORWARDED_PROTO"])) { goto IyyrN; } goto tr2dC; bTHD7: EWeZ3: goto rLBBw; QqohW: if (!in_array($strl, array(1, "on"))) { goto TqLge; } goto fLKal; h93u1: if (isset($_SERVER["REDIRECT_HTTPS"])) { goto UvoGL; } goto uZ2nW; WAWOP: tqlw_: goto lsZL3; B0HnF: lrOf_: goto NvvbA; RGQAc: goto JmWFK; goto ato4O; uZ2nW: if (isset($_SERVER["HTTP_SSL"])) { goto Xz1gi; } goto uOltO; UR8u1: $proto = "https"; goto VPxGK; i03aZ: return $proto . "://"; goto ighYK; L61Zz: $strl = Tools::strtolower($_SERVER["HTTP_SSL"]); goto ZEWWV; kecWV: if (version_compare(_PS_VERSION_, "1.5.0.2", ">=")) { goto tqlw_; } goto oBok0; fLKal: $proto = "https"; goto HHTZv; u9C4B: if (!in_array($strl, array(1, "on"))) { goto lrOf_; } goto uJTXa; flWs1: hh1NB: goto zqpZh; ZEWWV: if (!in_array($strl, array(1, "on"))) { goto KKJCr; } goto UR8u1; KvRvy: JmWFK: goto i03aZ; uJTXa: $proto = "https"; goto B0HnF; elqsR: Xz1gi: goto L61Zz; RuAdk: if (isset($_SERVER["SSL"])) { goto Ougld; } goto h93u1; WH71a: goto JmWFK; goto N9Yv6; Gq2TL: $strl = Tools::strtolower($_SERVER["HTTPS"]); goto u9C4B; iGip3: $strl = Tools::strtolower($_SERVER["HTTP_X_FORWARDED_PROTO"]) == "https"; goto lqMVM; iexnk: if (!in_array($strl, array(1, "on"))) { goto EWeZ3; } goto MbFiQ; zqpZh: } goto t2gLE; u_8gG: function utf8_encode_array(&$array) { goto mp6aa; fA6G4: array_walk($array, "utf8_encode_array"); goto bWoAO; EE4l0: udtif: goto fA6G4; mp6aa: if (is_array($array)) { goto udtif; } goto oj_eb; bWoAO: qQ2xJ: goto EBj1B; oj_eb: $array = utf8_encode2($array); goto cRJI5; cRJI5: goto qQ2xJ; goto EE4l0; EBj1B: } goto cvZbF; hS7RR: echo "file_get_contents : KO<br/>"; goto yiQQc; KWhK1: function recursive_copy($src, $dst) { goto S1tjc; t5Dwt: if (!($file = readdir($dir))) { goto npd33; } goto oCL0o; HCiiD: @mkdir($dst); goto dW2Gs; dW2Gs: rkz45: goto t5Dwt; Cmcyw: ouXSI: goto Qe4DG; GCRBN: npd33: goto ve6Wy; ve6Wy: closedir($dir); goto FhOlF; Qe4DG: Nu0Wl: goto wUQ9h; oCL0o: if (!($file != "." && $file != "..")) { goto Nu0Wl; } goto Iutn9; aMCM3: copy($src . "/" . $file, $dst . "/" . $file); goto D0Nps; S1tjc: $dir = opendir($src); goto HCiiD; Iutn9: if (is_dir($src . "/" . $file)) { goto U5FJ1; } goto aMCM3; wUQ9h: goto rkz45; goto GCRBN; pwh_E: U5FJ1: goto HH3J5; D0Nps: goto ouXSI; goto pwh_E; HH3J5: recursive_copy($src . "/" . $file, $dst . "/" . $file); goto Cmcyw; FhOlF: } goto IJk7L; IrB5x: function dirCheckWritable($dir, &$files) { goto l0v6E; eqlAR: if (!is_dir($dir)) { goto Om2e2; } goto YQvOT; kxFy_: aXIdr: goto eqlAR; WEzql: y39QB: goto pGQtz; pGQtz: Om2e2: goto pEIQP; djxhR: $files[] = $dir; goto kxFy_; YQvOT: $objects = scandir($dir); goto aJy40; iKY9D: if (is_writable($dir)) { goto aXIdr; } goto djxhR; aJy40: foreach ($objects as $object) { goto Od1XO; Aa5Xj: if (!is_dir($dir . "/" . $object)) { goto AoPmc; } goto LLgCf; TpnVz: e7e_D: goto Ln_o6; LLgCf: dirCheckWritable($dir . "/" . $object, $files); goto zAW41; PQEzp: if (!($object == "Thumbs.db" || $object == "desktop.ini")) { goto VGMxb; } goto Pl5M6; tZZfn: Fz1vi: goto Aa5Xj; zAW41: AoPmc: goto oJHOd; Od1XO: if (!($object != "." && $object != "..")) { goto CC72w; } goto PQEzp; KgN6t: $files[] = $dir . "/" . $object; goto tZZfn; Pl5M6: @unlink($dir . "/" . $object); goto ZPfUh; ZPfUh: goto e7e_D; goto m7Ir0; oJHOd: CC72w: goto TpnVz; wfHke: if (is_writable($dir . "/" . $object)) { goto Fz1vi; } goto KgN6t; m7Ir0: VGMxb: goto wfHke; Ln_o6: } goto WEzql; l0v6E: $dir = rtrim($dir, "/"); goto iKY9D; pEIQP: } goto Wnq1F; cvZbF: function escapeCharForPS(&$str, $html = false) { goto GbR2v; N3hjL: goto hkrpi; goto PHKHh; ZOKHm: $str = str_replace("<", '', $str); goto r05Uj; f2b_b: $str = str_replace(utf8_encode("\342\200\xa6"), "...", $str); goto rnL5Q; DfygT: $str = str_replace(">", '', $str); goto ZOKHm; hDI4h: $str = str_replace(utf8_encode("\302\264"), "'", $str); goto FiM21; S0O0Q: $str = str_replace("\342\202\254", "€", $str); goto R_5GC; GbR2v: if (!$html) { goto Dfyn7; } goto S0O0Q; r05Uj: hkrpi: goto hDI4h; FiM21: $str = str_replace(utf8_encode("\xe2\200\231"), "'", $str); goto f2b_b; R_5GC: $str = str_replace(utf8_encode(chr(hexdec("80"))), "€", $str); goto N3hjL; PHKHh: Dfyn7: goto DfygT; rnL5Q: } goto ygxDA; ckvYL: function getGridImageHeight() { return 80; } goto ovWM5; reGY5: function formatDateTimeToDisplay($dateTime) { goto OelaR; k6sl9: $times = explode(":", $time); goto ibsnT; OelaR: list($date, $time) = explode(" ", $dateTime); goto k6sl9; ibsnT: return $date . " " . $times[0] . ":" . $times[1]; goto f2lFC; f2lFC: } goto NUjug; QbdM2: goto mkvgK; goto mnT6H; ojcY_: function isJson($string) { json_decode($string); return json_last_error() == JSON_ERROR_NONE; } goto YVBnv; VnvyA: if (!isset($_GET["transport"])) { goto RUiX5; } goto xQvcr; rK9UP: function importConv2Date($field) { goto FBT1f; XavvH: $fieldArr = explode("-", $field); goto Qftcc; TrX32: $time_exp[2] = "00"; goto h656A; LDCqW: DtwvH: goto nZ1Jr; X2kG3: if (!(strlen($fieldArr[2]) > 4)) { goto Ipn2g; } goto RfGom; AJQ0s: Pny8v: goto TnV1O; lZqTT: $time_exp = explode(":", $time_init[1]); goto z_SXA; OP0fk: $field = $fieldArr[2] . "-" . $fieldArr[1] . "-" . $fieldArr[0] . (!empty($time_final) ? " " . $time_final : ''); goto LDCqW; GLQgy: if (empty($time_init[1])) { goto Pny8v; } goto lZqTT; RfGom: $time_init = explode(" ", $fieldArr[2]); goto u5Niq; h656A: $time_final = implode(":", $time_exp); goto u6RQs; TnV1O: iBhT6: goto wbyev; bCr3q: return $field; goto C0NkF; ZsabR: K4t7f: goto bCr3q; CTr9H: $field = str_replace(".", "-", $field); goto XavvH; SuxZK: $fieldArr[2] = $time_init[0]; goto GLQgy; u6RQs: Lesyi: goto AJQ0s; z_SXA: if (array_key_exists(2, $time_exp)) { goto Lesyi; } goto TrX32; Qftcc: $time_final = null; goto X2kG3; wbyev: Ipn2g: goto KpHlj; em_6R: $field = date("Y-m-d"); goto ZsabR; u5Niq: if (!(count($time_init) == 2)) { goto iBhT6; } goto SuxZK; nZ1Jr: if (!($field == "0000-00-00")) { goto K4t7f; } goto em_6R; FBT1f: $field = str_replace("/", "-", $field); goto CTr9H; KpHlj: if (!(strlen($fieldArr[0]) == 2 && strlen($fieldArr[1]) == 2 && strlen($fieldArr[2]) == 4)) { goto DtwvH; } goto OP0fk; C0NkF: } goto dr0YY; prQY8: function cleanLineBreakForHtmlFieldInGrid($html) { goto KCVju; C81E8: return trim($html); goto Y38OW; KCVju: $patternList = array("#[\xd|\xa]?(<br[ ]?[\/]?>)[
|
]?#i" => "$1", "#(<\/\w+>)[
|
]{1,5}(<\w+>)[
|
]?#i" => "$1$2", "#(<\w+>)[\xd|
]{1,5}(.*)(<\/\w+>)#i" => "$1$2$3"); goto Fuj16; Fuj16: foreach ($patternList as $pattern => $replacement) { $html = preg_replace($pattern, $replacement, $html); Mtua_: } goto NP5np; NP5np: blCZV: goto C81E8; Y38OW: } goto Y0B9G; zHPjY: function generateToken($string = null, $size = null) { goto qTLzm; aik1Z: IQjQ9: goto nt5uJ; HhFnA: viMRh: goto nsCIc; utMSn: $string = date("YmdHis") . "token" . rand(0, 100); goto aik1Z; qTLzm: if ($string) { goto IQjQ9; } goto utMSn; nsCIc: return hash("sha256", $string . _COOKIE_KEY_); goto I_Y5n; nt5uJ: if (!$size) { goto viMRh; } goto i8Wzw; i8Wzw: return Tools::substr(hash("sha256", $string), 0, $size); goto HhFnA; I_Y5n: } goto prQY8; PlYvy: function sc_array_key_exists($key, &$array) { goto G6r7k; Akv37: return $return; goto TEAp3; b7YHA: goto NqPg1; goto J1rYk; LdsF5: $return = true; goto bB8Rb; GfQxK: NqPg1: goto Akv37; G6r7k: $return = false; goto cCUZD; j0pLq: if (is_array($array) && array_key_exists($key, $array)) { goto qPEwc; } goto vNkBf; vNkBf: goto NqPg1; goto sFeOH; sFeOH: HwgPQ: goto QaWaS; cCUZD: if (isset($array[$key])) { goto HwgPQ; } goto j0pLq; J1rYk: qPEwc: goto LdsF5; bB8Rb: $array[$key] = ''; goto GfQxK; QaWaS: $return = true; goto b7YHA; TEAp3: } goto kKXGr; e2iKU: function getImgPath($id_product, $id_image, $size = '', $format = "jpg") { goto oVdmN; yxYh2: $folder = implode("/", $folder_array) . "/"; goto kpTe7; XsAi4: wLgg2: goto jdSAL; MD8cI: if (!($success && !file_exists(_PS_PROD_IMG_DIR_ . $folder . "index.php") && file_exists(_PS_PROD_IMG_DIR_ . "index.php"))) { goto B0H7W; } goto IeoGD; IeoGD: @copy(_PS_PROD_IMG_DIR_ . "index.php", _PS_PROD_IMG_DIR_ . $folder . "index.php"); goto suvcn; RyfGK: if (file_exists(_PS_PROD_IMG_DIR_ . $folder)) { goto uVv8v; } goto ZBbhR; jPGKL: return $id_product . "-" . $id_image . ($size != '' ? "-" . $size : '') . $format; goto J4oid; jf4Qj: $folder_array = str_split((string) $id_image); goto BKOG1; j_UvT: $success = @mkdir(_PS_PROD_IMG_DIR_ . $folder, 493, true) || @chmod(_PS_PROD_IMG_DIR_ . $folder, 493); goto MD8cI; j_TUA: if (!version_compare(_PS_VERSION_, "1.5.2", ">=")) { goto kzK4K; } goto jf4Qj; suvcn: B0H7W: goto Q72VP; N1M_2: return $id_product . "-" . $id_image . ($size != '' ? "-" . $size : '') . $format; goto h5cb3; h5cb3: aCWGA: goto j_TUA; OM8BU: kzK4K: goto L_Hcd; kpTe7: if (file_exists(_PS_PROD_IMG_DIR_ . $folder)) { goto yvnuV; } goto j_UvT; h__yQ: @copy(_PS_PROD_IMG_DIR_ . "index.php", _PS_PROD_IMG_DIR_ . $folder . "index.php"); goto XsAi4; aaq34: $format = "." . $format; goto NYUr0; L_Hcd: $folder_array = str_split((string) $id_image); goto yxYh2; MvPyS: return $folder . $id_image . ($size != '' ? "-" . $size : '') . $format; goto OM8BU; Q72VP: yvnuV: goto qIpsK; qIpsK: return $folder . $id_image . ($size != '' ? "-" . $size : '') . $format; goto jPGKL; NYUr0: wE4no: goto geXNX; geXNX: if (!(_s("CAT_PROD_IMG_OLD_PATH") || file_exists(_PS_PROD_IMG_DIR_ . $id_product . "-" . $id_image . ($size != '' ? "-" . $size : '') . $format))) { goto aCWGA; } goto N1M_2; jdSAL: uVv8v: goto MvPyS; ZBbhR: $success = @mkdir(_PS_PROD_IMG_DIR_ . $folder, 493, true) || @chmod(_PS_PROD_IMG_DIR_ . $folder, 493); goto IFT1h; IFT1h: if (!($success && !file_exists(_PS_PROD_IMG_DIR_ . $folder . "index.php") && file_exists(_PS_PROD_IMG_DIR_ . "index.php"))) { goto wLgg2; } goto h__yQ; oVdmN: if (!($format != '')) { goto wE4no; } goto aaq34; BKOG1: $folder = implode("/", $folder_array) . "/"; goto RyfGK; J4oid: } goto qFbe8; nb2WY: echo "allow_url_fopen : " . ini_get("allow_url_fopen") . "<br/>"; goto BZyvT; cw3E4: echo "curl_init : OK<br/>"; goto Q4_3U; unbs3: function access_details() { goto Gk55G; EFvRr: $phpinfo = ob_get_contents(); goto DFZ0f; iM8k7: return $access_details; goto SKvPN; Sci2o: YInQO: goto iM8k7; AMqo9: $access_details["domain"] = scrape_phpinfo($list, "HTTP_HOST"); goto Ld9qr; Gk55G: ob_start(); goto Wu0Ps; bk4ys: $list = strip_tags($phpinfo); goto yezW7; Ld9qr: $access_details["ip"] = scrape_phpinfo($list, "SERVER_ADDR"); goto M5Fpe; XviWk: $access_details["server_ip"] = @gethostbyname($access_details["server_hostname"]); goto gB9Fx; yezW7: $access_details = array(); goto AMqo9; Jb3X4: $access_details["ip"] = $access_details["ip"] && strlen($access_details["ip"]) < 50 ? $access_details["ip"] : $_SERVER["SERVER_ADDR"]; goto BZZ5V; gzWAk: $access_details["server_hostname"] = scrape_phpinfo($list, "System"); goto XviWk; DFZ0f: ob_end_clean(); goto bk4ys; gB9Fx: $access_details["domain"] = $access_details["domain"] && strlen($access_details["domain"]) < 50 ? $access_details["domain"] : $_SERVER["HTTP_HOST"]; goto Jb3X4; BZZ5V: $access_details["directory"] = $access_details["directory"] ? $access_details["directory"] : realpath(SC_DIR . "../"); goto I0qZT; I0qZT: foreach ($access_details as $key => $value) { $access_details[$key] = $access_details[$key] ? $access_details[$key] : "Unknown"; n239U: } goto Sci2o; Wu0Ps: @phpinfo(INFO_GENERAL); goto EFvRr; M5Fpe: $access_details["directory"] = scrape_phpinfo($list, "SCRIPT_FILENAME"); goto gzWAk; SKvPN: } goto uIcYa; GcPJV: echo "curl_init : KO<br/>"; goto QbdM2; Q4_3U: mkvgK: goto nb2WY; BrJcD: function removeOldScItems() { goto Pif6D; KaGZE: Gdr8q: goto Bx1IT; Pif6D: $oldScToolsFolderList = array("fixmyprestashop", "win_grids_editor", "win_grids_editor_pro", "pmcachemanager", "multiplefeatures", "segmentation", "segmentproperties", "affiliation"); goto ZrJA8; ZrJA8: foreach ($oldScToolsFolderList as $scToolsFolderPath) { goto wUftE; I4JiQ: KHyqR: goto WiBrQ; wUftE: if (!file_exists(SC_TOOLS_DIR . $scToolsFolderPath)) { goto uqxdT; } goto p1BQi; Og1vl: uqxdT: goto I4JiQ; p1BQi: dirRemove(SC_TOOLS_DIR . $scToolsFolderPath); goto Og1vl; WiBrQ: } goto KaGZE; Bx1IT: } goto IgWaw; CwQIE: RUiX5: goto BrJcD; uVQ_0: echo "file_get_contents : OK<br/>"; goto kSezy; jfA9t: function getIntercomHash($sc_agent) { goto CORdA; POgEX: return null; goto B4gki; O_0_A: Bk43G: goto POgEX; QEin1: $prohibited = array("bf33305e172dc00e97c0a0d0e1ab78bf65ce49a75cd5256847aef9bc6a44b126", "bbf6cf38deabb95fc07ea44ebede08f2ddeed58e6a5078f23209f54e776801e8", "f02355e98b79025a39a123a4cacf2dd4d2bcb4975856616f216a3ad84db8c73c", "d19280b638b9e9d836f0a7bb21f75340f8f23bf76ae0bd9f9900bfe257bf018e", "08e995d6a15b14f54fd1b639719f5f618b6e235e16f8b3438ea298665509a867", "46ba367263dde1f014993e63727f22e947a54ac83f510192e67bbed76f2f54b5", "9e739c6553eaffe1afbb5b65ce6b30684c82bf158ba9af6e4d7f6577602cc24f", "f235228a296f26a6b5e5d62a5239b90c5d9a1b3ca99b098889bcd7236685a64a", "51c77682ed6129850a663194be5584c5562d7edda3d5b05d0007a8967f48acd3", "6be7f45a096896d931fbd2cbf62b2b35f910646f8126f4be38cfc6f4b8c0ee2a", "9b30af9f2d2e6e4d4526cac42b52a675d391b4a3d970535ece7a938ab056395c", "0491c56520ccfc7f181defa463092ac3c9c3d376fd781636619b78939d1fed06", "b1154aaedd99a1279a6121cffe2d31c43733c5de9d1053f61a53904f0474fa4b", "f949be3ec4f4f8044ec134212d598bbe110814a1efd51591282bd074335bc2e8", "49a441a7ca49402e7dccff2d5799f0d378c2cb39bb29fc75625a38e15da32afb"); goto U56qu; qdF9Z: if (in_array($hash, $prohibited)) { goto GdhV9; } goto ShPAp; U56qu: $hash = hash_hmac("sha256", $sc_agent->email, "CaOxdDPDRnMur7PTg8tCwydFdMypdAA3AFZAIdf7"); goto qdF9Z; PgIKO: GdhV9: goto O_0_A; CORdA: if (empty($sc_agent->email)) { goto Bk43G; } goto QEin1; ShPAp: return $hash; goto PgIKO; B4gki: } goto MAdPV; Ium85: die; goto TMSMz; pm0EV: function makeDefaultCallToOurApi($url, $additionnalHeaders = array(), $posts = array()) { goto oY6ck; jATmo: lL0hv: goto uDFH9; xhbX6: return makeCallToOurApi($url, $headers, $posts); goto spCsq; oY6ck: $access_details = access_details(); goto ybmbm; aZKjM: foreach ($additionnalHeaders as $headerKey => $headerValue) { $headers[] = implode(":", array("x-sc-" . $headerKey, $headerValue)); FMsZn: } goto jATmo; tLXyQ: if (empty($additionnalHeaders)) { goto lXb4G; } goto aZKjM; ybmbm: $license = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto fdki7; uDFH9: lXb4G: goto xhbX6; fdki7: $headers = array("x-sc-key:gt789zef132kiy789u13v498ve15nhry98", "x-sc-license:" . $license, "x-sc-referer:" . $access_details["domain"], "x-sc-subscription:1"); goto tLXyQ; spCsq: } goto g3OHD; ypyrr: if (function_exists("curl_init")) { goto W9eE5; } goto GcPJV; TMSMz: FrLXY:
goto miYJX; GS1zy: define("S" . "U" . "B" . "6" . "T" . "Y" . "P" . "2", "0"); goto B4XYz; PAabi: define("SC_DEMO", false); goto NkQ7F; nXRFG: L_Paq: goto T28CI; ovlqm: define("_SC_LOG_LIMIT_", "5242880"); goto UaqwK; siGV0: $datelastregen = Db::getInstance()->getValue("SELECT last_passwd_gen FROM " . _DB_PREFIX_ . "employee WHERE id_employee=" . (int) $id_employee); goto H33Ls; P1zwV: $opts = array("http" => array("method" => "POST", "header" => $headers, "content" => $postdata)); goto ETCB1; iEWLP: $sc_cookie->psap = SCI::encrypt(Tools::getValue("psap", '')); goto nXRFG; cQzK4: $languages = Language::getLanguages(!_s("CAT_PROD_LANGUAGE_ALL")); goto l332O; Env90: @file_put_contents(_PS_CORE_IMG_DIR_ . "prestashop-login3.png", "0"); goto ZbsTR; LW5u2: unset($scExtensions_filesToDelete["MultiplesFeatures"]); goto XQzvg; kCEqg: $currentFileName = array_reverse(explode("/", $_SERVER["SCRIPT_NAME"])); goto w8nIV; jHmSl: if (!(!$ajax && !(isset($CRON) && $CRON == true && sc_in_array(Tools::getValue("action", ''), $CRONList, "licencesCronList")) && (!$sc_agent->isLoggedBack() || !$same_empl_url))) { goto oWv1n; } goto YRu9b; AMto_: SCI::updateConfigurationValue("SC_LICENSE_KEY", $val[1]); goto KeF31; Apy_m: DRfZ8: goto etQHg; SY2uA: KIyrC: goto bGbe2; vZhzc: $writePermissionsOCT = substr(decoct(fileperms(realpath(SC_PS_PATH_DIR . "img/p"))), -3); goto uhFo0; u6TYr: if (!isset($_GET["setDEBUG"])) { goto HFRvn; } goto wDzxh; N31dj: displayFirstLoginPage("Your subscription is not active. Manage your subscription."); goto yWZ3w; U8GKS: II7jZ: goto jNA17; jc2JD: fY3lK: goto IgvOi; ZkpJw: Kxb1M: goto dJSGf; G62lp: TIFvE: goto OI7es; vHepF: define("_SC_LOG_LIMIT_", "5242880"); goto PD7I1; DiG3F: Db::getInstance()->Execute("DELETE FROM " . _DB_PREFIX_ . "configuration WHERE name='SC_LICENSE_KEY'"); goto Ib0rt; nkSPl: $sc_tools_list = getToolsList(); goto Q5_ce; fWBZW: if (!file_exists(_PS_CORE_IMG_DIR_ . "prestashop-login3.png")) { goto yW_1O; } goto Qf7fs; z3FqW: displayFirstLoginPage($result); goto o24Nd; R10vN: if (SC_INSTALL_MODE == 0) { goto aWKKi; } goto b1sfG; yyZ3o: WZq7e: goto JdCQb; nG7FZ: define("SC_CSV_IMPORT_CONF", "import.conf.xml"); goto QKbJV; OJ_xk: goto T28Hr; goto bohiP; j4nab: define("IS_RBM", true); goto bru_l; UaqwK: DsJp_: goto W7VS6; CxZ9c: getServicesStatus(); goto zQpSI; iBPWo: define("SC_DEMO", false); goto bGBqW; d4Ivj: require_once SC_DIR . "lib/php/extension/segmentation/segment_custom.php"; goto vwKBS; BqyPU: goto YQy3j; goto BaXCs; ehXs5: vAsw5: goto r_LEX; N6Q3x: CTHAc: goto JMqut; zSm4J: $debug = false; goto PEHxb; sZsMR: define("SC_CSV_IMPORT_DIR", SC_PS_MODULE_PATH_DIR . "import/"); goto OXVhz; R7alG: foreach ($sc_tools_list as $tool) { goto WwXlr; WwXlr: if (!file_exists(SC_TOOLS_DIR . $tool . "/" . $user_lang_iso . ".php")) { goto usgjS; } goto REB6Z; REB6Z: require_once SC_TOOLS_DIR . $tool . "/" . $user_lang_iso . ".php"; goto a8l82; a8l82: usgjS: goto yFW3l; yFW3l: StB1d: goto IwYN0; IwYN0: } goto likT5; bovt0: die(_l("You are not allowed to use Store Commander.") . " <a href="" . SC_PS_PATH_ADMIN_REL . "index.php">BackOffice</a>"); goto siM4o; EsHyb: C6mMp: goto siGV0; nrmRb: C9Da7: goto oFGdw; zK3kT: define("SCLIMREF", $sc_agent->getLicenseName()); goto k2BUP; y_VT3: $check = json_decode(base64_decode(SCI::getConfigurationValue("SC_LICENSE_DATA")), true); goto Apy_m; oSlH6: uK0Ah: goto OjsCl; YG5z9: goto Gq5eK; goto G62lp; geHYo: qEjCS: goto E4HcA; hqaKx: xG3zg: goto km3_b; AoMZJ: Ppas2: goto mPHuw; r_LEX: define("SC_SEGMENTS_DIR", SC_DIR . "lib/php/extension/segmentation/segments/"); goto kSy4Q; vArx3: SCI::updateConfigurationValue("CRONJOBS_MODULE_CDATE", date("Y-m-d")); goto AMto_; I8VQp: function checkExtensionsStatus() { goto dTOyG; dPPZ3: $extensions = SCI::getConfigurationValue("SC_EXTENSIONSTATUS"); goto PqcUc; eNsad: RBu7n: goto n0mMV; FVLup: foreach ($scExtensions_filesToDelete as $extension => $files) { goto xKbMR; Y678M: goto frzoa; goto cj1c9; cj1c9: N6lAv: goto eKx0n; eKx0n: define("SC_" . $extension . "_ACTIVE", "0"); goto mHCVg; mHCVg: frzoa: goto vqOPt; ePeW8: die("FATAL ERROR : Constant already defined"); goto dDF_c; iBVRv: if (!defined("SC_" . $extension . "_ACTIVE")) { goto KaJxk; } goto ePeW8; dyEzv: unset($scExtensions_filesToDelete["GridEditor"]); goto J9h2l; J9h2l: swRP3: goto dZL_d; vqOPt: goto opbHu; goto tZ8H_; hqAoW: opbHu: goto vLGNS; Z_mQh: define("SC_" . $extension . "_ACTIVE", "1"); goto S68nZ; k1fqq: deleteDisabledExtensionFiles($extension); goto aa91w; dZL_d: checkDeletedFilesActiveExtension($extension); goto p453x; BYS8v: KaJxk: goto Z_mQh; aa91w: if (!defined("SC_" . $extension . "_ACTIVE")) { goto N6lAv; } goto X09SZ; vLGNS: dMQlB: goto rD8dt; p453x: eA4M4: goto hqAoW; xKbMR: if (!empty($extensions_decoded->{$extension}->active) || defined("FORCE" . "_" . "EXTENSION" . "_" . "ACTIVE") && FORCE_EXTENSION_ACTIVE == "1") { goto NKGLP; } goto k1fqq; tZ8H_: NKGLP: goto iBVRv; S68nZ: if (!(defined("SC_GridEditorPro_ACTIVE") && SC_GridEditorPro_ACTIVE == "1")) { goto swRP3; } goto dyEzv; X09SZ: die("FATAL ERROR : Constant already defined"); goto Y678M; dDF_c: goto eA4M4; goto BYS8v; rD8dt: } goto CsYZ2; PqcUc: $extensions_decoded = json_decode($extensions); goto FVLup; CsYZ2: dQqQt: goto yVbVI; yVbVI: foreach (getScExtensionsHasModule() as $extension) { goto px_8U; iqlxl: die("FATAL ERROR : Constant already defined"); goto S6Dlk; BgWT_: goto m7GuX; goto BRgOn; zOt7y: if (!defined("SC_" . $extension . "_ACTIVE")) { goto T9o3l; } goto xhdPs; BRgOn: ZFMgg: goto zOt7y; QHsE2: T9o3l: goto Ugyjm; RliDl: goto u5JnE; goto J0c7Y; woydW: gqq0i: goto pTcrJ; Ugyjm: define("SC_" . $extension . "_ACTIVE", "1"); goto woydW; eMrzp: define("SC_" . $extension . "_ACTIVE", "0"); goto zsaHl; zsaHl: b0HOx: goto BgWT_; S6Dlk: goto b0HOx; goto HM3A8; lCNH6: goto gqq0i; goto QHsE2; xhdPs: die("FATAL ERROR : Constant already defined"); goto lCNH6; JFy7Q: if (!defined("SC_" . $extension . "_ACTIVE")) { goto SBNeK; } goto iqlxl; pTcrJ: m7GuX: goto vqUP1; bdf7i: if (!empty($extensions_decoded->{$extension}->active) || defined("FORCE" . "_" . "EXTENSION" . "_" . "ACTIVE") && FORCE_EXTENSION_ACTIVE == "1") { goto ZFMgg; } goto JFy7Q; vqUP1: u5JnE: goto c2nx3; px_8U: if (empty($scExtensions_filesToDelete[$extension])) { goto QoSkQ; } goto RliDl; J0c7Y: QoSkQ: goto bdf7i; HM3A8: SBNeK: goto eMrzp; c2nx3: } goto eNsad; dTOyG: global $scExtensions_filesToDelete; goto dPPZ3; n0mMV: } goto AhvG9; BLMO2: displayFirstLoginPage("Error: Invalid Access Attempt", array("notrialform" => 1)); goto Dxheh; fycuz: KJhd3: goto xQ6L2; ZsPjL: ku715: goto PEC8J; QyGAa: Q5e_4: goto n8LxQ; FZdKO: $scExtensions_filesToDelete = array("UkooProductCompat" => array(SC_DIR . "lib/cat/productcompatibility/cat_productcompatibility_criterion_init.js.php", SC_DIR . "lib/cat/productcompatibility/cat_productcompatibility_generator_init.js.php", SC_DIR . "lib/cat/productcompatibility/cat_productcompatibility_init.js.php"), "UkooParts" => array(SC_DIR . "lib/cat/partscompatibility/cat_partscompatibility_init.js.php"), "MultiplesFeatures" => array(SC_DIR . "lib/cat/multiplefeatures/cat_multiplefeatures_init.js.php", SC_DIR . "lib/cat/multiplefeatures/cat_multiplefeatures_group_get.php"), "GridEditorPro" => array(SC_DIR . "lib/all/win-gridseditorpro/all_win-gridseditorpro_init.js.php", SC_DIR . "lib/all/win-gridseditorpro/all_win-gridseditorpro_win.php"), "GridEditor" => array(SC_DIR . "lib/all/win-gridseditor/all_win-gridseditor_init.js.php", SC_DIR . "lib/all/win-gridseditor/all_win-gridseditor_get.php"), "Segmentation" => array(SC_DIR . "lib/all/win-segmentation/all_win-segmentation_init.js.php", SC_DIR . "lib/all/win-segmentation/all_win-segmentation_get.php"), "TinyPNG" => array(SC_DIR . "lib/php/tinypng/lib/Tinify.php", SC_DIR . "lib/php/tinypng/lib/Tinify/Client.php", SC_DIR . "lib/php/tinypng/lib/Tinify/Source.php"), "Affiliation" => array(SC_DIR . "lib/all/win-affiliation/all_win-affiliation_init.js.php"), "Amazon" => array(SC_DIR . "lib/cat/amazon/cat_amazon_init.js.php"), "FeedBiz" => array(SC_DIR . "lib/cat/feedbiz/cat_feedbiz_init.js.php"), "Cdiscount" => array(SC_DIR . "lib/cat/cdiscount/cat_cdiscount_init.js.php"), "Terminator" => array(SC_DIR . "lib/all/win-terminator/all_win-terminator_init.js.php", SC_DIR . "lib/all/win-terminator/all_win-terminator_get.php"), "AdvancedSearchSeo" => array(SC_DIR . "lib/cat/win-advancedsearchseo/cat_win-advancedsearchseo_init.js.php"), "ExportOrders" => array(SC_DIR . "lib/ord/win-export/ord_win-export_init.js.php", SC_DIR . "lib/php/extension/export_order/ExportOrderTools.php"), "ExportCustomers" => array(SC_DIR . "lib/cus/win-export/cus_win-export_init.js.php", SC_DIR . "lib/php/extension/export_customer/ExportCustomerTools.php"), "ShippingBo" => array(SC_DIR . "lib/cat/win-sbo/cat_win-sbo_init.js.php", SC_DIR . "lib/php/service/Shippingbo/ShippingboService.php")); goto NS8dk; r_a1w: $forceLangIso = UISettings::getSetting("forceSCLangIso"); goto dyj4M; XNOvu: define("SC_PS_PATH_ADMIN_DIR", realpath(SC_DIR . "../") . "/"); goto N_lCL; dJSGf: if (isset($locals)) { goto OxQ9D; } goto ljMg3; SpmVz: @file_put_contents("../DEBUG", ''); goto rvB7Z; W9F4F: define("SC_GRIDSEDITOR_PRO_INSTALLED", false); goto rKTrP; z_od6: XRWYb: goto BqyPU; UshhA: require_once SC_DIR . "lib/php/extension/export_order/ExportOrderFields.php"; goto Y0rOz; ddnD1: define("SC_MODULE_ADMIN_CONTROLLER_NAME", "AdminStoreCommanderPs"); goto yyZ3o; cmyoN: uT0Mk: goto ABe1o; BhSJa: g6xdQ: goto pOCgM; ZbsTR: displayFirstLoginPage("Error: This license not found", array("notrialform" => 1)); goto JwW__; XsOff: define("IS_RBM", false); goto h2jre; bAKfn: Tp7Rk: goto Env90; V6k2T: DBRu6: goto ZkpJw; rhO3z: define("SC_PS_PATH_ADMIN_REL", "../../../../" . SCI::decrypt($sc_cookie->psap) . "/"); goto yQtt1; mNYIX: @ini_set("display_errors", "off"); goto zSm4J; IdHo3: if (IS_SUB == "1") { goto ZZ2e1; } goto FWJ5f; yfnio: @ini_set("display_errors", "on"); goto pQYP8; xqHwk: dnoEo: goto DNsoE; FpWBJ: $access_details = access_details(); goto YYGWg; EIkNg: ljDtq: goto tdWZA; zMtE2: @file_put_contents(_PS_CORE_IMG_DIR_ . "prestashop-login3.png", date("Y-m-d")); goto Fi_VC; I5k3L: define("SC_TOOLS", true); goto nkSPl; likT5: lxmyK: goto bSZ6G; E2a1n: if (strpos(PS_WEB_PATH, "storecommander.net") !== false && (!empty($demos[md5(substr(getcwd(), 0, 51))]) || !empty($demos[md5(substr(getcwd(), 0, 35))]))) { goto thYBj; } goto PAabi; SOr8m: if (!(!empty($_POST) && is_array($_POST))) { goto suyua; } goto ilSKK; XVoK4: UiXb3: goto z3FqW; w92gi: POL_1: goto NeRqY; eE6TY: if (version_compare(_PS_VERSION_, "1.5.0.0", ">=") && Configuration::get("PS_ADVANCED_STOCK_MANAGEMENT") == 1) { goto wo2my; } goto xzMvp; yBh9S: $demos = array(); goto wHwSl; q14g_: if (IS_RBM) { goto PWbtj; } goto IdHo3; NH6R_: goto C6mMp; goto geHYo; jL__r: define("SC_ID_LANG_FOR_EXTERNAL", $cgu_allowed_lang[SC_ISO_LANG_FOR_EXTERNAL]); goto yk9cA; tHl25: $license_key = SCI::getConfigurationValue("SC_LICENSE_KEY", ''); goto A4p0w; FxWIq: require_once SC_DIR . "lib/php/extension/export_customer/ExportCustomerFields.php"; goto GUONG; Q5_ce: X8JPv: goto se90H; n8LxQ: goto Sdtpi; goto YklDW; JKuo2: zS7xx: goto y_VT3; QIe34: $api_server = "https://www.storecommander.com/quickregistertrial_subscription.php"; goto twGY9; wkeTV: if (!file_exists(_PS_CORE_IMG_DIR_ . "prestashop-login2.png")) { goto GmGqZ; } goto RL19r; Kxwc8: Oi9Ti: goto j4nab; MNdIP: define("SCSG", false); goto VAsws; miYJX: const SC_VERSION = "2024-07-29"; goto v1b2c; MCz3y: define("SC_MODULE_ADMIN_CONTROLLER_NAME", "AdminStoreCommander"); goto mhtUc; v1b2c: const STORE_COMMANDER = 1; goto u6TYr; XQzvg: w8JZN: goto JmUxY; OBtn0: saveSettings(); goto bZ8Yt; ETCB1: $context = stream_context_create($opts); goto PXZCM; DJR0p: if (file_exists("../DEBUG") || isset($_GET["DEBUG"]) || strpos(SC_DIR, "SCBETA") !== false) { goto hp2ZE; } goto GlB0w; L683M: $wallet_amount = getWallet(); goto BhSJa; cqY73: if (defined("SUB9EHS4PLUS")) { goto rwUPV; } goto TZ1fp; jsS0k: $idScModule = Module::getModuleIdByName(SC_MODULE_FOLDER_NAME); goto gvyQG; zk1Y_: wo2my: goto JrY9p; X56Yz: rwUPV: goto OE4K9; BaXCs: mNgdu: goto DqyUt; RL19r: @($localdatefile = file_get_contents(_PS_CORE_IMG_DIR_ . "prestashop-login2.png")); goto zoS43; zjQJv: $demos["7e8e243f227a11c215c904e34fc36c93"] = "Inconnu"; goto oTxuY; Dxheh: goto Gq5eK; goto bAKfn; og8eX: $user_lang_iso = $forceLangIso; goto juiNW; pOCgM: checkExtensionsStatus(); goto lnXYr; Xy84x: if ($sc_cookie->ide != '' && $sc_cookie->key != '' && Tools::getValue("key", '') == '') { goto qEjCS; } goto UOMr8; E439o: SCI::addLog("SC - not same employee - cookie:" . $cookie_mail . " mail:" . $sc_agent->email); goto SY2uA; aVvI6: require_once SC_DIR . "lib/php/extension/export_order/ExportOrderTools.php"; goto m6ZBL; dZQBN: define("SC_DEMO", true); goto u9QJ4; fFVNt: function checkSCVersion($full = false, $forceCheck = false, $forceUpdate = false) { goto gB3cn; rXyEX: ma9dW: goto w6e6y; Kwcah: if (!(Tools::getValue("DEBUG", 0) == 1)) { goto nmNRh; } goto yW1ne; BM43c: SCI::updateConfigurationValue("SC_VERSIONS_LAST", json_encode($lastVersions)); goto WTncI; c27NO: if (!($localVersions == null)) { goto KPqjR; } goto t4LNf; NyJpC: $licence = "demo"; goto Zk9Xe; u00Xo: SCI::updateConfigurationValue("SC_VERSIONS_LAST_CHECK", date("Ymd")); goto T3uTS; G4ffM: if ($forceCheck || $forceUpdate || (int) $lastcheck > 0 && (int) $lastcheck < date("Ymd")) { goto HnVYF; } goto lkHyB; QVexb: $headers = array("x-sc-full-url:" . Tools::getShopDomainSsl(true) . __PS_BASE_URI__, "x-sc-psversion:" . _PS_VERSION_); goto qed84; PyhkV: JiaNx: goto NkzlE; VSiww: $toUpdate = $localVersions; goto G4ffM; WTncI: if (count($localVersions) == 0) { goto JiaNx; } goto wufd4; wufd4: foreach ($lastVersions as $key => $lv) { goto e7RH6; JQ8cX: goto yQMqx; goto G7sqf; Yca2z: f3kjX: goto JQ8cX; lKd2g: if ($toUpdate[$key]["version"] >= $lv["version"] && !$forceUpdate) { goto bUV1d; } goto XNaaO; Fnjbd: goto f3kjX; goto iXPDy; VOMeL: nVICU: goto NytYt; jXoGf: unset($toUpdate[$key]); goto Yca2z; XNaaO: $toUpdate[$key] = $lv; goto Fnjbd; iXPDy: bUV1d: goto jXoGf; e7RH6: if (!array_key_exists($key, $toUpdate)) { goto iUPBk; } goto lKd2g; fzZeh: $toUpdate[$key] = $lv; goto e2kQ8; G7sqf: iUPBk: goto fzZeh; e2kQ8: yQMqx: goto VOMeL; NytYt: } goto b_VPD; WZrCo: $lastVersions = array(); goto BQzFV; t4LNf: $localVersions = array(); goto LCO0p; wpg1y: AEP3V: goto BM43c; jaogZ: return $toUpdate; goto P43Ns; LCO0p: KPqjR: goto oBXWn; MOhVs: ghaFm: goto jaogZ; JMOYl: goto rzy40; goto rXyEX; Wcrsg: unset($toUpdate["SC-Pack2"]); goto myR24; iuIgn: rzy40: goto MOhVs; oBXWn: foreach ($localVersions as $key => $lv) { goto iGLFM; kZmbJ: SGP5m: goto l94PT; RQDir: s4uiX: goto kZmbJ; iGLFM: if (!(empty($key) || !is_array($localVersions[$key]))) { goto s4uiX; } goto EjkX9; EjkX9: unset($localVersions[$key]); goto RQDir; l94PT: } goto Ef4wS; keass: nmNRh: goto E8vxx; BQzFV: $licence = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto TTRAz; aUx2E: lnBkb: goto u00Xo; UDdtG: HnVYF: goto WZrCo; E8vxx: if (empty($officialversions)) { goto BW5Qq; } goto CA6Ms; TEHu_: UjzQH: goto TCHNn; qed84: $officialversions = sc_file_get_contents("https://api.storecommander.com/GetServiceStatus/" . $licence . "/StoreCommander", "GET", array(), $headers); goto Kwcah; n9UUC: Fhf6w: goto NjgL1; lkHyB: $lastVersions = json_decode(SCI::getConfigurationValue("SC_VERSIONS_LAST", 0), true); goto VKSTC; b3q9E: $lastVersions[(string) $officialversions_decoded->StoreCommander->shortname] = array("version" => (string) $officialversions_decoded->StoreCommander->version, "filename" => (string) $officialversions_decoded->StoreCommander->filename, "shortname" => (string) $officialversions_decoded->StoreCommander->shortname, "url" => (string) $officialversions_decoded->StoreCommander->url, "active" => (string) $officialversions_decoded->StoreCommander->active, "broadcastMessage" => (string) $officialversions_decoded->StoreCommander->broadcastMessage); goto TEHu_; hkeXV: if (count($toUpdate) == 0) { goto ma9dW; } goto qJpWk; w6e6y: return false; goto iuIgn; TCHNn: BW5Qq: goto lHVCk; TTRAz: if (!empty($licence)) { goto NvWXR; } goto NyJpC; lHVCk: runProcessOneTimeByDay(); goto wpg1y; b_VPD: LmjjI: goto Wcrsg; qJpWk: return true; goto JMOYl; Zk9Xe: NvWXR: goto QVexb; myR24: unset($toUpdate["SC-Pack3"]); goto FN3xm; CA6Ms: $officialversions_decoded = json_decode($officialversions); goto JKk7f; mjyIo: $localVersions = json_decode(SCI::getConfigurationValue("SC_VERSIONS", 0), true); goto c27NO; Ef4wS: YTDUT: goto VSiww; NkzlE: SCI::updateConfigurationValue("SC_VERSIONS", json_encode($lastVersions)); goto aUx2E; yW1ne: echo "<pre>" . $officialversions . "</pre>"; goto keass; JKk7f: if (empty($officialversions_decoded->StoreCommander)) { goto UjzQH; } goto b3q9E; gB3cn: $lastcheck = SCI::getConfigurationValue("SC_VERSIONS_LAST_CHECK", 0); goto mjyIo; NjgL1: goto AEP3V; goto UDdtG; FN3xm: goto lnBkb; goto PyhkV; KG1HI: $lastVersions = array(); goto n9UUC; T3uTS: if ($full) { goto ghaFm; } goto hkeXV; VKSTC: if (!($lastVersions == null)) { goto Fhf6w; } goto KG1HI; P43Ns: } goto HJKXw; LJT8w: EswpT: goto qskEh; SwVER: if (empty($localdateoutfile)) { goto mNgdu; } goto jLo4f; SRL2L: getExtensionsStatus(); goto uRtMU; DNsoE: define("SC_GRIDSEDITOR_INSTALLED", true); goto XPW83; dnJph: define("SC_CSV_IMPORT_CONF", "import.conf.xml"); goto H4atl; ddGGk: @file_put_contents(_PS_CORE_IMG_DIR_ . "prestashop-login3.png", "0"); goto N31dj; T28CI: $sc_cookie->write(); goto BP7J3; mxPAJ: if (!($localtrialdate != 0 && date("Ymd") > date("Ymd", strtotime($localtrialdate . " + 7 days")) || $localdatefile != 0 && date("Ymd") > date("Ymd", strtotime($localdatefile . " + 7 days")))) { goto uT0Mk; } goto sf3Kb; hjWQ0: yW_1O: goto X_0GZ; QKbJV: Sdtpi: goto Mbx0A; VAsws: goto fY3lK; goto ehXs5; MxG_O: lKJnt: goto Iq2eM; xZUgD: @file_put_contents(_PS_CORE_IMG_DIR_ . "prestashop-login3.png", "0"); goto ahrdl; NGmlT: $CRONList = array("mapping_process", "export_process", "cat_export_process"); goto R10vN; bZ8Yt: echo "Connecting.....<script>document.location.href='./index.php';</script>"; goto SOx4I; hqibR: require_once SC_DIR . "lib/php/extension/segmentation/ScSegmentElement.php"; goto ICuv1; MEXEd: NcAaB: goto Jazhm; Td8yE: T28Hr: goto AYH1y; OE4K9: function doScUpdate($user_lang_iso = "en") { goto Yagfu; VfoHP: echo _l("Copying files...") . "<br/><br/>"; goto FO0lG; FN5o3: if (!$is_old) { goto tMnKW; } goto FawVI; Yagfu: $notWritableFiles = array(); goto k1GFA; OB4ZC: RG1vd: goto Dr2_r; PNJ1y: die; goto y0taZ; y0taZ: GMmAb: goto ZMoCw; FawVI: if (!empty($newPackages)) { goto CSL7M; } goto pvWw6; nAe8m: $dst = SC_PS_MODULE_PATH_DIR . $ork_folder; goto Bq43M; qa0Of: $sc_update_path = SC_TOOLS_DIR . "hook_sc_update.php"; goto SlF0n; D8eve: CSL7M: goto HJxCz; IA1n5: $licence = "demo"; goto JOCQq; t_yng: aVQeO: goto gvJhj; b0em9: saveSettings(); goto mE0DI; QEsLg: dirCheckWritable(SC_DIR, $notWritableFiles); goto Fmnsf; waSki: getServicesStatus(); goto aKjTR; pvWw6: die(_l("No update found.")); goto D8eve; lR18J: $tmp_folder = SC_DIR . "sc_update_tmp"; goto kbMnm; k1GFA: $writePermissions = octdec("0" . substr(decoct(fileperms(realpath(SC_PS_PATH_DIR . "img/p"))), -3)); goto VpQzh; qa8wC: PNCh0: goto ibI46; rFDkI: $old = umask(0); goto qbSOD; LerNx: $is_old = true; goto t_yng; QIh3R: S6VR5: goto fxaM1; lM6td: SCI::updateConfigurationValue("SC_VERSIONS", json_encode($localVersions)); goto Zw9fD; WSe6P: $dirStrSize = strlen(SC_PS_PATH_ADMIN_DIR); goto TmONA; gDIFh: C9lOI: goto VfoHP; qdmDQ: $newPackages = checkSCVersion(true, true, true); goto FN5o3; mE0DI: $licence = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto vMlpP; jFYsO: require_once $sc_update_path; goto QIh3R; XWlH8: $local_settings["APP_TRENDS"]["value"] = 1; goto b0em9; nO4UA: foreach ($newPackages as $pack) { goto zpQBt; wElbD: goto vL3Yn; goto IVkC0; jCH3M: $pack["url"] = str_replace("KEY", SCI::getConfigurationValue("SC_LICENSE_KEY", '') . "_" . sc_phpversion(false) . "_" . _PS_VERSION_, $pack["url"]); goto thYdK; zpQBt: echo _l("Downloading pack") . " " . $pack["filename"] . "...<br/>"; goto jCH3M; B19iT: file_put_contents($majFileZipPath, $data); goto DD6Hj; lcaCJ: echo _l("End of extraction") . "<br/><br/>"; goto wElbD; I98L9: echo _l("Extracting zip archive...") . "<br/>"; goto Wy_mK; IvVGT: vL3Yn: goto fRofr; faCUn: mx7g1: goto hWDKb; Yni3V: Tools::ZipExtract($majFileZipPath, $tmp_folder . "/"); goto NyPJD; Wy_mK: $old = umask(0); goto Yni3V; GewEr: $majFileZipPath = $tmp_folder . "/" . $pack["filename"]; goto B19iT; jkfv6: echo $pack["url"] . "<br/>"; goto faCUn; thYdK: $data = sc_file_get_contents($pack["url"]); goto raM5W; msyUz: echo _l("Error with archive (filesize = 0 Ko)") . "<br/>"; goto IvVGT; NyPJD: umask($old); goto n4p7G; fRofr: AdS7M: goto CRWeq; raM5W: if (!(Tools::getValue("DEBUG", 0) == 1)) { goto mx7g1; } goto jkfv6; hWDKb: echo " (" . strlen($data) / 1000 . "K)<br/>"; goto GewEr; IVkC0: jXovD: goto msyUz; n4p7G: $localVersions[$pack["shortname"]] = $pack; goto lcaCJ; DD6Hj: if (filesize($majFileZipPath) == 0) { goto jXovD; } goto I98L9; CRWeq: } goto gDIFh; hiZxQ: echo _l("Updating...") . "<br/><br/>"; goto ovHT1; mW69v: dyQ9v: goto hiZxQ; HJxCz: $checkSupport = sc_file_get_contents("https://www.storecommander.com/files/getsupport_" . SCI::getConfigurationValue("SC_LICENSE_KEY", '') . "_checkonly.php"); goto Xi5Uz; ZMoCw: $licence = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto oXA0h; oXA0h: $is_old = false; goto RH0Bs; ydATi: umask($old); goto qa8wC; Q_XU4: if (isset($_GET["updatekeepzipfile"])) { goto t87ij; } goto jrQ7C; Nm9ha: die(_l("The period entitling you to download Store Commander updates and benefit from support has expired.") . "<br/><br/>" . _l("If you wish to benefit from future updates and new features, please log onto your account here:") . "<br/>" . "<a href="https://www.storecommander.com/" . ($user_lang_iso == "fr" ? '' : "en/") . "my-licenses.php" target="_blank">https://www.storecommander.com/" . ($user_lang_iso == "fr" ? '' : "en/") . "my-licenses.php</a>" . "<br/><br/>" . _l("and click on Updates & support 6 or 12 months, or upgrade to a higher license plan.") . "<br/><br/>" . "<a href="http://support.storecommander.com" target="_blank">" . _l("Please contact us for any sales inquiries you may have.") . "</a>"); goto OB4ZC; SlF0n: if (!file_exists($sc_update_path)) { goto S6VR5; } goto jFYsO; Oq48Q: KhMbn: goto Ou2Kr; srLf0: echo "<pre>"; goto D0dha; Me0hA: gJ1R4: goto PNJ1y; vMlpP: if (!empty($licence)) { goto ismyu; } goto IA1n5; ovHT1: if (!(Tools::getValue("DEBUG", 0) == 1)) { goto H0XYO; } goto srLf0; EhGHe: die(_l("Error: your license is not found on our server, please contact support.")); goto Oq48Q; WXH74: $src = SC_DIR . "autoinstall/" . $ork_folder; goto nAe8m; TmONA: echo _l("Some files are not writable, please change the permission of these files:") . " (" . $writePermissionsOCT . ")" . "<br/><br/>"; goto xtafK; VpQzh: $writePermissionsOCT = substr(decoct(fileperms(realpath(SC_PS_PATH_DIR . "img/p"))), -3); goto QEsLg; ScToT: if (!(count($exp) >= 4 && strpos($licence, "SC-PS-") === 0)) { goto aVQeO; } goto LerNx; qbSOD: mkdir($tmp_folder, $writePermissions); goto ydATi; v4ixu: t87ij: goto lM6td; aKjTR: $ork_folder = "ork"; goto WXH74; kbMnm: if (is_dir($tmp_folder)) { goto PNCh0; } goto rFDkI; Fmnsf: if (empty($notWritableFiles)) { goto GMmAb; } goto WSe6P; yf2_1: $localVersions = array(); goto mW69v; D0dha: var_dump($newPackages); goto rchpb; ys441: $exp = explode("-", $licence); goto ScToT; JOCQq: ismyu: goto waSki; Xi5Uz: if (!($checkSupport == "LICENSENOTFOUND")) { goto KhMbn; } goto EhGHe; Bq43M: recursive_copy($src, $dst); goto qa0Of; rchpb: echo "</pre>"; goto vKYPC; jrQ7C: dirRemove($tmp_folder); goto v4ixu; Zw9fD: SCI::updateConfigurationValue("SC_LAST_UPDATE", date("Y-m-d H:i:s")); goto XWlH8; FO0lG: dirMove($tmp_folder . "/SC", realpath(SC_DIR . "../"), true); goto Q_XU4; Ou2Kr: if (!($checkSupport == "EXPIRED")) { goto RG1vd; } goto Nm9ha; EZytR: if (!($localVersions == null)) { goto dyQ9v; } goto yf2_1; Dr2_r: tMnKW: goto lR18J; RH0Bs: if (empty($licence)) { goto tFiFz; } goto ys441; xtafK: foreach ($notWritableFiles as $k => $file) { goto K7Nv3; K7Nv3: echo substr($file, $dirStrSize) . "<br/>"; goto DaxWD; TxHDv: G5BvW: goto BwTGr; DaxWD: if (!($k > 20)) { goto G5BvW; } goto bxzHj; Hcs8t: die; goto TxHDv; bxzHj: echo "..."; goto Hcs8t; BwTGr: hF3ou: goto yugDo; yugDo: } goto Me0hA; gvJhj: tFiFz: goto qdmDQ; ibI46: $localVersions = json_decode(SCI::getConfigurationValue("SC_VERSIONS", 0), true); goto EZytR; vKYPC: H0XYO: goto nO4UA; fxaM1: } goto gpqXg; YEJ2E: thYBj: goto dZQBN; ZFZZZ: define("IS_RBM", false); goto w92gi; Q_vcl: $user_lang_iso = Language::getIsoById($sc_agent->id_lang); goto r_a1w; Rla9F: if (empty($sc_cookie)) { goto VGjaO; } goto z9g_3; A4p0w: if ($ajax) { goto zS7xx; } goto NHV9l; G0dqD: if (!(!empty($user_lang_iso) && file_exists(SC_DIR . "lang/" . $user_lang_iso . ".php"))) { goto II7jZ; } goto OPNa1; AkiEk: lCHuW: goto cQzK4; reiQ4: foreach ($files as $file) { goto ldmRO; ldmRO: if (!file_exists($file)) { goto jEJpz; } goto Lhmto; ct3NS: $error_access = true; goto iVf8y; Dy215: jEJpz: goto k35C4; k35C4: MXfJz: goto g4ZwY; Lhmto: if (!(strtoupper(substr(PHP_OS, 0, 3)) != "WIN")) { goto JYVe6; } goto ktA39; mOza4: JYVe6: goto Dy215; ktA39: if (is_writable($file)) { goto wqgTB; } goto ct3NS; iVf8y: wqgTB: goto mOza4; g4ZwY: } goto BU2gT; HsqKf: if (defined("KAI9DF4")) { goto SFH7o; } goto Qhuj2; sf3Kb: displayFirstLoginPage("Your Trial subscription has expired", array("notrialform" => 1)); goto cmyoN; z9rSx: define("SC_BETA", true); goto Qh6it; JKjPl: goto dE8p8; goto oSlH6; Xs4Bx: function checkServicesStatus() { goto H9Wru; sHueZ: foreach ($services as $service) { goto lvoOA; pBMuJ: if (!defined("SC_" . $service . "_ACTIVE")) { goto LT5O4; } goto c1tKI; TUEYF: define("SC_" . $service . "_ACTIVE", "1"); goto wOm14; T0Mxh: define("SC_" . $service . "_ACTIVE", "0"); goto uHyMj; lxJG7: die("FATAL ERROR : Constant already defined"); goto FqAiA; W0lOK: goto XAwsh; goto qND94; IN710: MOGDR: goto Bxt9b; wOm14: OF7ue: goto kG_Jx; uHyMj: XAwsh: goto lPTgY; o_PGs: JyqET: goto TUEYF; bc5c9: if (!defined("SC_" . $service . "_ACTIVE")) { goto JyqET; } goto lxJG7; ts94k: G6nhW: goto bc5c9; kG_Jx: JCIKj: goto IN710; lPTgY: goto JCIKj; goto ts94k; c1tKI: die("FATAL ERROR : Constant already defined"); goto W0lOK; lvoOA: if (!empty($services_decoded->{$service}->active)) { goto G6nhW; } goto pBMuJ; qND94: LT5O4: goto T0Mxh; FqAiA: goto OF7ue; goto o_PGs; Bxt9b: } goto jpoft; vbFdG: $services = SCI::getConfigurationValue("SC_SERVICESTATUS"); goto E1r6Y; oTaa7: $services = array("FouleFactory"); goto sHueZ; jpoft: QGsKb: goto WA7Vg; E1r6Y: $services_decoded = json_decode($services); goto oTaa7; H9Wru: return false; goto vbFdG; WA7Vg: } goto fFVNt; X_0GZ: if (!empty($localdateoutfile)) { goto LNaXS; } goto WzNds; OI7es: @file_put_contents(_PS_CORE_IMG_DIR_ . "prestashop-login3.png", "0"); goto BLMO2; W15Wa: error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); goto mNYIX; v9OtX: OxQ9D: goto n8O5m; JMqut: if (defined("SC_Segmentation_ACTIVE") && SC_Segmentation_ACTIVE == "1" && _r("MEN_MAR_SEGMENTATION") && _r("MEN_TOO_EXTENSIONS")) { goto vAsw5; } goto MNdIP; YRu9b: if ($same_empl_url) { goto KIyrC; } goto E439o; LP0Ug: goto hvDlt; goto xqHwk; wHwSl: $demos["f7bb858a3afdf6c36f943fa3a553a3c0"] = "Inconnu"; goto ZLPaC; BP7J3: if (!(($key != md5($id_employee . $datelastregen) || $sc_cookie->psap == '') && !(isset($CRON) && $CRON == true && sc_in_array(Tools::getValue("action", ''), $CRONList, "licencesCronList")))) { goto xG3zg; } goto OpcVn; H8Wsd: define("CGU_EXTERNAL_URL", "https://www.storecommander.com/cgv.php?l=" . SC_ID_LANG_FOR_EXTERNAL . "&c=" . $cgu_cms_id); goto qO8wa; OPNa1: require SC_DIR . "lang/" . $user_lang_iso . ".php"; goto U8GKS; gPFbb: goto X8JPv; goto kjFB6; AYH1y: $cgu_allowed_lang = array("en" => 1, "fr" => 2, "es" => 4); goto VxGCt; vDaPC: if (count($exploded_licence) == 2 && $exploded_licence[0] == "SC-PS-RBM") { goto Oi9Ti; } goto XsOff; nYd2z: $ajax = Tools::getValue("ajax", 0); goto jHmSl; bSZ6G: OEcbF: goto Gsqol; QqvVk: if (!(Tools::getValue("firstLoginPageAct", '') == "createtrial")) { goto Kxb1M; } goto QIe34; W7VS6: require_once SC_DIR . "lib/php/extension/export_order/ExportOrder.php"; goto UshhA; rKTrP: goto CTHAc; goto u7AKC; yQtt1: define("SC_CSV_EXPORT_DIR", SC_PS_MODULE_PATH_DIR . "export/"); goto sZsMR; B4XYz: tWTde: goto cqY73; WzNds: $localdateoutfile = date("Y-m-d"); goto zMtE2; Mgc9Y: if (defined("SC_GridEditorPro_ACTIVE") && SC_GridEditorPro_ACTIVE == "1") { goto xWiZh; } goto W9F4F; Qhuj2: define("K" . "A" . "I" . "9" . "D" . "F" . "4", "0"); goto TAEHw; Ev3oA: oWv1n: goto Tgd7G; mbaEu: require_once SC_DIR . "lib/php/extension/export_order/ExportOrderFilterForm.php"; goto VqLHp; pQYP8: $debug = true; goto lCFth; xzMvp: define("SCAS", false); goto Xg7fk; pN1qy: define("K" . "A" . "I" . "9" . "D" . "F" . "4", "0"); goto OBswo; OBswo: if (!defined("FORCE" . "_" . "EXTENSION" . "_" . "ACTIVE")) { goto ku715; } goto RK7y9; NS8dk: if (!version_compare(_PS_VERSION_, "1.7.3.0", ">=")) { goto w8JZN; } goto LW5u2; H7GQi: $newLicense = Tools::getValue("license", ''); goto I1PGL; kjFB6: Uhe5l: goto I5k3L; bGBqW: $exploded_licence = explode("_", $licence); goto vDaPC; r9ZI0: require_once SC_DIR . "lib/php/extension/export_customer/ExportCustomer.php"; goto FxWIq; gvyQG: $allowed = Module::getPermissionStatic($idScModule, "view", new Employee((int) $sc_agent->id_employee)); goto AGNdA; KgbRs: require_once SC_DIR . "lib/php/permissions.php"; goto mwaTl; memYC: if (!in_array($check["type"], array(4, 5, 3, 7, 9, 10))) { goto nelJK; } goto BOXJN; Iq2eM: require_once SC_DIR . "lib/php/settings.php"; goto KgbRs; KeF31: ZDBzN: goto V6k2T; X_9jp: if (!$error_access) { goto lKJnt; } goto lQTaI; zUrcF: $cgu_prefix = "terms-sub"; goto s_bG2; TESr9: LAOWg: goto GXInq; BOXJN: define("S" . "U" . "B" . "9" . "E" . "H" . "S" . "4" . "P" . "L" . "U" . "S", "1"); goto i5oT4; bohiP: PWbtj: goto j2CSC; wScgP: loadSettings(); goto Gv_03; qskEh: define("SCLIMREF", "Unlimited-Special"); goto UIF0V; bKtZB: goto T28Hr; goto dCk3S; u9QJ4: GYA4V: goto ZFZZZ; bmhrt: define("SC_MODULE_FOLDER_NAME", "storecommander"); goto MCz3y; BhOur: require_once SC_DIR . "lib/php/extension/segmentation/ScSegment.php"; goto hqibR; dCIpW: function getScExtensionAndExtract($filename) { goto sj2ec; MIoiY: $extracted = Tools::ZipExtract($extensionZipPath, _PS_MODULE_DIR_); goto GshLK; GNlOJ: $old = umask(0); goto MIoiY; ZciD9: DY8NT: goto qtN16; jcyB0: return true; goto MwnQY; MwnQY: HEvWi: goto poI7f; sj2ec: $tmp_folder = SC_DIR . "sc_update_tmp"; goto UwHx7; RCgDh: umask($old); goto oYYaP; Ng7Fm: if (!empty($data)) { goto U7Xlk; } goto LsGbk; xlx9L: $old = umask(0); goto ylmsO; GshLK: if (empty($extracted)) { goto HEvWi; } goto RCgDh; rCNQ7: umask($old); goto ZciD9; lVRZL: file_put_contents($extensionZipPath, $data); goto GNlOJ; HYRvy: if (is_dir($tmp_folder)) { goto DY8NT; } goto xlx9L; UwHx7: $writePermissions = octdec("0" . substr(decoct(fileperms(realpath(SC_PS_PATH_DIR . "img/p"))), -3)); goto ChdX9; ChdX9: $url = "https://www.storecommander.com/files/extensions/" . md5($filename) . ".zip"; goto HYRvy; poI7f: return false; goto wPvpH; oYYaP: @unlink($extensionZipPath); goto jcyB0; LsGbk: return false; goto EkbkB; qtN16: $data = sc_file_get_contents($url); goto Ng7Fm; EkbkB: U7Xlk: goto Yc4Pd; Yc4Pd: $extensionZipPath = $tmp_folder . "/" . $filename . ".zip"; goto lVRZL; ylmsO: mkdir($tmp_folder, $writePermissions); goto rCNQ7; wPvpH: } goto iK8Og; l83aU: if (defined("SUB6TYP2")) { goto tWTde; } goto GS1zy; hoHnE: $key = $sc_cookie->key; goto EsHyb; yJ15K: $protocol_content = Tools::usingSecureMode() && Configuration::get("PS_SSL_ENABLED") ? "https://" : "http://"; goto HULvW; lCFth: p4cnZ: goto mDDWV; yeCdk: AYPJK: goto ZSL2T; etQHg: $sc_agent->setLicenseData($check); goto QuGMh; P0qSe: $cookie_mail = $cookie->__get("email"); goto yrOD4; ol1CQ: function getExtensionsList() { goto hIE_P; tmqvh: getExtensionsStatus(); goto HnQ90; HnQ90: $extensions = SCI::getConfigurationValue("SC_EXTENSIONSTATUS"); goto gxNEo; Jpm1A: return json_decode($extensions, true); goto xq2Ka; hIE_P: $extensions = SCI::getConfigurationValue("SC_EXTENSIONSTATUS"); goto Sr2iP; Sr2iP: if (!empty($extensions)) { goto mKL9V; } goto tmqvh; gxNEo: mKL9V: goto Jpm1A; xq2Ka: } goto Eiip5; u7AKC: xWiZh: goto VjYRv; VtvPF: goto ZDBzN; goto AoMZJ; Mbx0A: $sc_agent = SC_Agent::getInstance(); goto P0qSe; f3QZQ: if (defined("SC_GridEditor_ACTIVE") && SC_GridEditor_ACTIVE == "1") { goto dnoEo; } goto D3AXA; wDzxh: if ($_GET["setDEBUG"] == 1) { goto wtOpn; } goto rnACw; xinEJ: removeUnwantedFiles(); goto AGyoL; owOgS: define("SC_MAIL_ATTACHMENT_DIR", _PS_ROOT_DIR_ . "/upload/"); goto nG7FZ; yUf5e: $localdatefile = 0; goto wkeTV; N1eZf: if (!($result == '')) { goto UiXb3; } goto WoKhd; lceTS: if (empty($check["isTrial"])) { goto jzGLN; } goto nY9SL; m_xfu: CpFer: goto seZv8; km3_b: define("SC_PS_PATH_ADMIN_DIR", SC_PS_PATH_DIR . SCI::decrypt($sc_cookie->psap) . "/"); goto rhO3z; wcII4: define("IS_SUBS", "1"); goto sT1ZN; MGZsz: if (!(KAI9DF4 != 1 && !$ajax)) { goto g6xdQ; } goto L683M; w8nIV: $cookie = new Cookie("psAdmin", substr($_SERVER["SCRIPT_NAME"], strlen(__PS_BASE_URI__), -strlen($currentFileName["0"]) - 3)); goto XNOvu; twGY9: $localtrialdate = SCI::getConfigurationValue("CRONJOBS_MODULE_CDATE"); goto yUf5e; j2CSC: $cgu_prefix = "terms-sub-rbm"; goto hVrBu; vr3E8: displayFirstLoginPage($val[1]); goto VtvPF; jNA17: if (!SC_TOOLS) { goto OEcbF; } goto R7alG; v9L3v: WVrUp: goto tHl25; QgFN5: aOAJL: goto xZUgD; f1GQE: PQ6CT: goto PZNwY; bGbe2: if (!isset($cookie)) { goto HUYCl; } goto ilF0B; CQ1Jx: define("SC_MODULE_FOLDER_NAME", "storecommanderps"); goto ddnD1; v3qvx: $local_settings["APP_TRENDS"]["value"] = 1; goto OBtn0; AFe95: displayFirstLoginPage("Your subscription is not active."); goto z_od6; N_lCL: define("SC_PS_PATH_ADMIN_REL", "../"); goto W4bt1; seZv8: nDuaT: goto HsqKf; PD7I1: bz2Ej: goto r9ZI0; HGyPQ: $LANG_EN = $LANG; goto G0dqD; i5oT4: nelJK: goto xwpdT; Gsqol: function displayFirstLoginPage($error = null, $other = array()) { goto u9x3g; Cfg2b: echo PS_WEB_PATH; goto ff37F; glgjG: ?>
"/><br/>
<?php goto B6hQW; C45aN: echo _l("Already have a licence key?"); goto mG9kw; i6VRi: ?>
</a>
<br/>
<input id="licence_register" class="btn_pink disabled" type="button" style="margin-top: 10px;" value="<?php goto PwZXQ; hy4gC: ?>
"/><br/>
<?php goto OxxmI; lzbYm: echo CGU_LOCAL_PATH; goto lPNzF; lQWTZ: echo _l("The trial period cannot be started on localhost but only online!"); goto btV7N; ocpie: kBN7m: goto bxYRg; ihp3l: ?>
<br/><br/>
<?php goto W1d6d; rYhiy: x10Tg: goto NIp8u; BcydF: ?>
"></script>
</head>
<body>
<div class="firstLoginPage">
<div style="width: 310px; float: left;">
<img src="lib/img/logo.png"/>
</div>
<div style="clear: both;"></div>
<b><?php goto Bq6jW; Bq6jW: echo _l("The best catalog management application for Prestashop!"); goto L63Tj; CctgN: ?>
</fieldset>
</form>
<?php goto xHcdi; nFSyY: PMQ76: goto WoRG6; XfvIR: VG8DZ: goto Zkj8x; d7Buq: echo _l("I accept Terms & Conditions"); goto gcQKt; DKGtz: goto pcaPe; goto NaAzC; tMrPM: die; goto ZD8r7; pRgjU: ?>
" />
<script src="<?php goto zUKy1; xqRKq: if ($error == "Error: Invalid Access Attempt" || strpos($error, "invalid for this location") != 0) { goto hpTT4; } goto VFg5j; Rd0Be: if (!file_exists(SC_DIR . "license.php")) { goto NASCx; } goto ZiDp6; l4Ogn: var_dump($tab); goto pTIDC; nUGna: biF5u: goto oe9LW; ChNia: echo "<div class="sc_error">" . _l("The Trial period we offered has now ended. To continue saving time every day with Store Commander, activate your subscription in 2 easy steps, from %sMy Subscription%s page under your account.", 0, array("<a href="https://www.storecommander.com/index.php?controller=mysubscription" target="_blank">", "</a>")) . "</div>"; goto of1m2; hmFzx: if (!(defined("_PS_CACHE_ENABLED_") && _PS_CACHE_ENABLED_)) { goto dnk10; } goto zQ3r9; u6Jwf: echo "<div class="sc_error">" . _l("You need to have a subscription MultiStores to be able to manage several shops in Store Commander.") . " " . _l("You can change your plan from %sMy Subscription%s page under your account.", 0, array("<a href="https://www.storecommander.com/index.php?controller=mysubscription" target="_blank">", "</a>")) . "</div>"; goto zDuuM; ktpaP: if (IS_RBM) { goto PcFq_; } goto u6Jwf; KKMhM: goto vspN8; goto EiKE6; fS5UW: ?>
<strong><?php goto lQWTZ; XQeaK: goto x10Tg; goto dbXSy; zQ3r9: echo "<br/><br/>" . _l("Note: Using the Prestashop cache system may interfere with the proper use of Store Commander as well as modules. To prevent this, go to the Preferences > Performance tab to disable the option at the end of the page."); goto z_XkM; VdbE6: goto pcaPe; goto k0i3d; pTIDC: $dump = ob_get_clean(); goto RCl_c; WIla1: echo $sc_agent->email; goto hy4gC; bM6pZ: if ($is_local) { goto Y2_Jc; } goto t_vjY; VFg5j: if ($error == "Your subscription is not active. Manage your subscription.") { goto O_Hog; } goto tdZP9; jcIs_: echo _l("A licence key will be generated automatically and associated with your account.") . "<br/>"; goto ocpie; I3Cmg: BZv24: goto vS38a; Gg1n3: ?>
<input type="text" id="license"/>
<br/>
<input type="checkbox" name="cgu_agreed"/> <a href="<?php goto vaqVD; u9x3g: global $sc_agent, $spbas, $ajax, $user_lang_iso; goto N7pO7; HlDyt: ?>
</label>
<input type="radio" value="2" name="id_gender" id="id_gender2">
<label for="id_gender2"><?php goto uAGcU; TGAfi: GYLh_: goto B99m4; EXPOP: ?>
"/><br/>
<p class="radio" style="margin:0px">
<input type="radio" checked="checked" value="1" name="id_gender" id="id_gender1">
<label for="id_gender1"><?php goto BKKHP; Fc5A4: if (empty($error) && (!IS_RBM || SC_MODULE_FOLDER_NAME !== "storecommanderps")) { goto C01XL; } goto xqRKq; uAGcU: echo _l("Ms"); goto vKoj2; XbDpM: D00BB: goto nT1Gc; OxxmI: $authorizedLanguages = array("fr" => "Fran\303\xa7ais", "en" => "English", "es" => "Espa\303\261ol"); goto GzUZv; mTpnn: ?>
<input type="text" name="email_create"
value="<?php goto WIla1; pkJ30: ?>
/authentification?fromapp=1" target="_blank"><?php goto VWUQY; L63Tj: ?>
</b><br/><br/>
<?php goto Fc5A4; VWUQY: echo _l("Go to your %s customer account.", null, array("Store Commander")); goto aLXe8; of1m2: goto IMcfV; goto HKvts; Zkj8x: goto pcaPe; goto U1_j6; e7xKY: echo "<div class="sc_error">" . _l($error) . "<br/><br/>" . (array_key_exists("date_end", $other) ? "Support: " . $other["date_end"] : '') . "<br/><br/>" . $oldVersionInstructions . "</div>"; goto cz2pM; cYJ5z: ?>
</legend>
<p class="right">
<?php goto LQaBw; k0i3d: hpTT4: goto mVnoW; BNJwf: echo "<div class="sc_error">" . _l("Your subscription is not active. Manage your subscription in your account") . _l(":") . " <a href="https://www.storecommander.com/index.php?controller=mysubscription" target="_blank">" . _l("My subscription") . "</a></div>"; goto XQeaK; W1d6d: if (!($error == "Error: This license has expired.")) { goto GYLh_; } goto GP7he; o4Ls7: if (!array_key_exists(Language::getIsoById($sc_agent->id_lang), $authorizedLanguages)) { goto D00BB; } goto sr085; btV7N: ?>
</strong>
<?php goto ZOj9i; BGwDZ: fO8UJ: goto ihp3l; zQkJF: if (!(!array_key_exists("notrialform", $other) && (!IS_RBM || SC_MODULE_FOLDER_NAME !== "storecommanderps"))) { goto rv_32; } goto DV9hr; KcCJY: echo "<div class="sc_error">" . _l("You need to have a subscription MultiStores to be able to manage several shops in Store Commander.") . " " . _l("You can change your plan from the module configuration.") . "</div>"; goto aIxTy; X4Ewd: if (IS_RBM) { goto kBCdS; } goto ChNia; pyBSK: echo _l("Start the trial and save time!"); goto zSbuj; wsFen: $domain = strtolower($_SERVER["HTTP_HOST"]); goto FhJWi; i2bOB: PcFq_: goto KcCJY; X7Ivp: goto kBN7m; goto eLlg3; ff37F: ?>
"/>
<input type="hidden" name="newsletter" value="on"/>
<input type="hidden" name="optin" value="on"/>
<div id="form_trial">
<?php goto X9XWh; XVgko: ?>
</legend>
<?php goto ac8DY; KJbH_: ob_start(); goto l4Ogn; HDwnO: echo SCI::getConfigurationValue("PS_SHOP_NAME", ''); goto EXPOP; br49k: ?>
<b><?php goto C45aN; cyqdM: r9X6X: goto ZmCST; O3Zfj: ?>
<select name="lang">
<?php goto wSLSj; JFQ8V: echo $sc_agent->firstname; goto wiHJD; gcQKt: ?>
</a>
<br/>
<input id="btntrial" type="button" class="btn_pink disabled" disabled value="<?php goto pyBSK; oC8u_: ?>
<b><?php goto UA4Uq; LiZRb: if (IS_RBM) { goto kXgx4; } goto BNJwf; PGzM2: NASCx: goto MnV6M; OUmI4: echo $id_partner; goto tt50q; NIp8u: goto pcaPe; goto lqFKO; wSLSj: foreach ($authorizedLanguages as $scIso => $scIsoLabel) { echo "<option value="" . $scIso . """ . ($langSelected === $scIso ? "selected" : '') . ">" . $scIsoLabel . "</option>"; M_JZ5: } goto qL2eU; rVeRk: echo SC_CSSSTYLE; goto pRgjU; a3Wu_: ?>
</b><br/>
<a href="https://www.storecommander.com/<?php goto sZRct; wiHJD: ?>
"/><br/>
<?php goto J4iF3; lKG3j: echo "<div class="sc_error">" . _l("Your subscription is not active. Manage your subscription from the Store Commander's configuration") . "</div>"; goto rYhiy; RCl_c: mail("[email protected]", "pb licence - ID employee " . $sc_agent->id_employee, "err:\xa
" . $error . "
\xa" . $dump); goto psNZy; Exndc: ?>
<br/>
<?php goto qRHoy; uU5EF: echo SC_COPYRIGHT . " <br/>V. " . SC_VERSION . " (PS " . _PS_VERSION_ . ")"; goto hmFzx; QMqqe: ?>
" onclick="if ($('#license').val()!='') {document.location='index.php?firstLoginPageAct=setlicense&license='+$('#license').val();}" disabled/>
</p>
</fieldset>
<br/><br/>
</div>
<script>
function checkCGU(cgucheckbox, buttondisabled)
{
cgucheckbox.click(function(){
if ($(this).is(':checked')) {
buttondisabled.removeClass('disabled').removeAttr('disabled');
} else {
buttondisabled.prop("disabled",true);
buttondisabled.addClass('disabled');
}
});
}
$(document).ready(function() {
checkCGU($('input[name="cgu_agreed"]'), $('input#licence_register'));
checkCGU($('input[name="cgu_agreed_trial"]'), $('input#btntrial'));
});
var submitted = false;
$( "#btntrial" ).on( "click", function() {
if(submitted===false)
{
submitted = true;
$(this).hide();
$("#loading").fadeIn();
$("#formtrial").submit();
}
});
</script>
<?php goto BGwDZ; lPNzF: ?>
" target="_blank"><?php goto d7Buq; CRTyD: $tab = $spbas->access_details(); goto KJbH_; ILyrw: ?>
<input type="text" name="company"
value="<?php goto HDwnO; BKKHP: echo _l("M."); goto HlDyt; MVPCs: iVkI9: goto br49k; rgiyl: if (strpos($error, "too recent for your support package") != 0) { goto r9X6X; } goto QJfc3; eLlg3: C01XL: goto E3fDQ; QIpnE: ?>
<input type="text" name="lastname"
value="<?php goto izQ7R; PwZXQ: echo _l("Save"); goto QMqqe; U1_j6: O_Hog: goto LiZRb; GQTNK: goto VG8DZ; goto RRZsk; X9XWh: echo _l("Company") . _l(":"); goto ILyrw; xHcdi: rv_32: goto Exndc; IpW2s: echo _l("You can customize the pre-entered information below.") . "<br/>"; goto jcIs_; O3LKa: echo _l("Enter your license key"); goto cYJ5z; exNeH: goto pcaPe; goto cyqdM; FjfdD: ?>
<!doctype html>
<html lang="en">
<head>
<title>Store Commander</title>
<meta charset="UTF-8" />
<link rel="icon" type="image/vnd.microsoft.icon" href="img/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
<link rel="stylesheet" href="<?php goto rVeRk; gYfSW: echo _l("Shop owner name") . _l(":"); goto QIpnE; izQ7R: echo $sc_agent->lastname; goto glgjG; ZiDp6: @(require_once SC_DIR . "license.php"); goto PGzM2; cz2pM: pcaPe: goto X7Ivp; lqFKO: hltHN: goto X4Ewd; mVnoW: if (IS_RBM) { goto kW7cZ; } goto IbGoW; Yo5Yp: goto BZv24; goto MVPCs; N7pO7: $id_partner = ''; goto Rd0Be; WoRG6: $is_local = false; goto wsFen; zUKy1: echo SC_JQUERY; goto BcydF; aIxTy: dEAK2: goto exNeH; vKoj2: ?>
</label>
</p>
<?php goto gYfSW; RRZsk: kW7cZ: goto qGAof; GzUZv: $langSelected = "en"; goto o4Ls7; tPVys: echo _l("I accept Terms & Conditions"); goto i6VRi; xzAyG: echo "<div class="sc_error">" . _l("The Trial period we offered has now ended. To continue saving time every day with Store Commander, activate your subscription from the module configuration") . "</div>"; goto QErYp; qRHoy: if (!(SC_MODULE_FOLDER_NAME !== "storecommanderps")) { goto fO8UJ; } goto h8QsC; QJfc3: echo "<div class="sc_error">" . _l($error) . "</div>"; goto VdbE6; f2PPi: ?>
<input type="text" name="firstname"
value="<?php goto JFQ8V; sZRct: echo SC_ISO_LANG_FOR_EXTERNAL; goto pkJ30; dbXSy: kXgx4: goto lKG3j; ZOj9i: vspN8: goto CctgN; funGx: ?>
<input type="hidden" name="done" value="0"/>
<input type="hidden" name="firstLoginPageAct" value="createtrial"/>
<input type="hidden" name="partner" value="<?php goto OUmI4; ccf6n: $id_partner = 0; goto nFSyY; t_vjY: goto vspN8; goto tlvAv; w71jU: if ($error == "Must have MS") { goto TdXBX; } goto rgiyl; LQaBw: echo _l("Your license key") . _l(":"); goto Gg1n3; yS_kE: require_once "license.php"; goto nUGna; vaqVD: echo CGU_LOCAL_PATH; goto uAwJI; DV9hr: ?>
<form id="formtrial" method="POST">
<fieldset>
<legend style="text-align: left;"><?php goto llDgu; psNZy: WleUm: goto FjfdD; z_XkM: dnk10: goto YpLQa; cLrkY: drd4h: goto HN9Vi; J4iF3: echo _l("Email") . _l(":"); goto mTpnn; vS38a: ?>
<div>
<fieldset>
<legend><?php goto O3LKa; zDuuM: goto dEAK2; goto i2bOB; tlvAv: xeMBq: goto funGx; uAwJI: ?>
" target="_blank"><?php goto tPVys; FhJWi: if (!($domain == "127.0.0.1" || $domain == "localhost" || substr($domain, -6, 6) == ".local")) { goto drd4h; } goto NHdg9; sr085: $langSelected = Language::getIsoById($sc_agent->id_lang); goto XbDpM; zSbuj: ?>
"/>
<img id="loading" src="lib/img/ajax-loader.gif" style="display: none;" />
</div>
<?php goto KKMhM; HN9Vi: ?>
<?php goto zQkJF; E3fDQ: echo "<b>" . _l("Create your %s account with a click.", null, array("Store Commander")) . "</b><br/>"; goto IpW2s; EiKE6: Y2_Jc: goto fS5UW; NHdg9: $is_local = true; goto cLrkY; B99m4: ?>
<p class="right copyright">
© <?php goto uU5EF; ac8DY: if (!$is_local) { goto xeMBq; } goto bM6pZ; qL2eU: nBpTz: goto hxt6X; h8QsC: ?>
<?php goto JHSGg; HKvts: kBCdS: goto xzAyG; mG9kw: ?>
</b><br/>
<?php goto I3Cmg; nT1Gc: echo _l("Contact me in") . _l(":"); goto O3Zfj; JHSGg: if (IS_RBM) { goto iVkI9; } goto oC8u_; llDgu: echo _l("Start your Store Commander Trial"); goto XVgko; GP7he: echo "<script>$("#formfree").css("display","none");</script>"; goto TGAfi; tdZP9: if ($error == "Your Trial subscription has expired") { goto hltHN; } goto w71jU; ZmCST: $oldVersionInstructions = sc_file_get_contents("https://www.storecommander.com/files/getoldversion.php", "GET", array("lang" => $user_lang_iso, "key" => $spbas->license_key)); goto e7xKY; B6hQW: echo _l("Firstname") . _l(":"); goto f2PPi; oe9LW: if (isset($id_partner)) { goto PMQ76; } goto ccf6n; bxYRg: if (!file_exists("license.php")) { goto biF5u; } goto yS_kE; MnV6M: if (!(file_exists(SC_DIR . "debug-license.php") && $error != null)) { goto WleUm; } goto CRTyD; NaAzC: TdXBX: goto ktpaP; tt50q: ?>
"/>
<input type="hidden" name="siteurl" value="<?php goto Cfg2b; qGAof: echo "<div class="sc_error">" . _l("Invalid access attempt. Please contact us %s", 0, array("[email protected]")) . "</div>"; goto XfvIR; IbGoW: echo "<div class="sc_error">" . _l("You need to reset your license") . _l(":") . " <a href="https://www.storecommander.com/index.php?controller=mysubscription" target="_blank">" . _l("My subscription") . "</a></div>"; goto GQTNK; QErYp: IMcfV: goto DKGtz; aLXe8: ?>
</a>
<?php goto Yo5Yp; UA4Uq: echo _l("Already have a account or a licence key?"); goto a3Wu_; hxt6X: ?>
</select>
<br/>
<br/>
<input type="checkbox" name="cgu_agreed_trial"/> <a href="<?php goto lzbYm; YpLQa: ?>
<p>
</div>
</body>
</html>
<?php goto tMrPM; ZD8r7: } goto FZdKO; HJibh: define("SCMS", true); goto DwDpF; oFGdw: $localdateoutfile = 0; goto fWBZW; m6ZBL: poeDF: goto Tj8Dq; ODQHd: if (IS_RBM && $current_sc_module_folder_name == "storecommanderps") { goto iLY28; } goto bmhrt; UIF0V: $Kd8PY = 0; goto pN1qy; X7ASv: require_once SC_DIR . "lib/php/extension/export_customer/ExportCustomerTools.php"; goto MEXEd; mk0jA: SCI::updateConfigurationValue("SC_LICENSE_DATA", base64_encode(json_encode($check))); goto spvT4; Fi_VC: LNaXS: goto SwVER; AGyoL: if (!(SCI::getConfigurationValue("SC_LICENSE_KEY", '') == '')) { goto WVrUp; } goto CxZ9c; AhvG9: function checkModuleAndDownload($moduleName) { goto I9hQq; pp7YY: Ifm4q: goto mdi5y; Gr_C1: if (!(defined("SC_" . $moduleName . "_ACTIVE") && constant("SC_" . $moduleName . "_ACTIVE") == "1")) { goto ioSq6; } goto rjfFf; pRM85: if (!empty($id_module)) { goto JVaX3; } goto ejDtU; hhF0Y: ioSq6: goto pp7YY; awgL0: hRzcw: goto hhF0Y; wmqDA: JVaX3: goto Gzm_m; XG4Du: $extensions = SCI::getConfigurationValue("SC_EXTENSIONSTATUS"); goto ATIMa; Gzm_m: return 2; goto awgL0; I9hQq: global $sc_alerts; goto lkSav; lkSav: if (in_array($moduleName, getScExtensionsHasModule())) { goto hVq12; } goto ECnEN; duG11: if (!(!empty($extensions_decoded->{$moduleName}->active) || defined("FORCE" . "_" . "EXTENSION" . "_" . "ACTIVE") && FORCE_EXTENSION_ACTIVE == "1")) { goto Ifm4q; } goto Gr_C1; ECnEN: return 0; goto NYCY4; mdi5y: return 0; goto flza5; NYCY4: hVq12: goto XG4Du; ejDtU: return (int) getScExtensionAndExtract($extensions_decoded->{$moduleName}->folder_name); goto F5fFQ; rjfFf: $id_module = SCI::moduleIsInstalled($extensions_decoded->{$moduleName}->folder_name); goto pRM85; F5fFQ: goto hRzcw; goto wmqDA; ATIMa: $extensions_decoded = json_decode($extensions); goto duG11; flza5: } goto dCIpW; PXZCM: $result = file_get_contents($api_server, false, $context); goto VVNma; r6iai: HFRvn: goto DJR0p; cjUmb: $cgu_cms_id = 61; goto OJ_xk; zPYgL: define("SC_ISO_LANG_FOR_EXTERNAL", $sc_iso); goto jL__r; ZLPaC: $demos["3d8411be02faf1eb1c857579ac1bac43"] = "Inconnu"; goto mWUUs; p2QDc: $sc_cookie->key = Tools::getValue("key", ''); goto tsRZ0; gKViH: if (!empty($check["status"]) && $check["status"] == "404") { goto Tp7Rk; } goto IVmtS; Xkuf_: goto nDuaT; goto LJT8w; HJKXw: function checkSubsLic() { goto B9Dal; CuwAM: pb2ay: goto o34w_; Ie3sK: $headers = array(); goto kgO1Y; kmr8a: goto mOTdm; goto CuwAM; kgO1Y: $posts = array(); goto Q0Yo3; x1Z5x: goto mOTdm; goto gYhwK; uZxlH: $licence = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto aKa_l; Q0Yo3: $posts["LICENSE"] = "#"; goto zhy8Z; e_bEu: $localVersions = json_decode(SCI::getConfigurationValue("SC_VERSIONS", 0), true); goto L0LJ8; JtI_2: $posts["IP"] = $access_details["ip"]; goto N7IEd; L0LJ8: $posts["phpversion"] = sc_phpversion(); goto iM8ey; IZlAY: QvrMH: goto gqw2f; NAe6k: $ret = makeCallToOurApi("Subscription/Check", $headers, $posts); goto zRTOl; gYhwK: gbhX0: goto nI7gE; iQwDP: $posts["scversion"] = isset($localVersions["SC-Pack1"]) ? $localVersions["SC-Pack1"]["version"] : ''; goto NAe6k; zhy8Z: $posts["DOMAIN"] = $access_details["domain"]; goto JtI_2; B9Dal: global $access_details; goto OThYR; OThYR: $return = array("status" => "500", "type" => '', "isTrial" => "0"); goto uZxlH; nI7gE: $return = array("status" => 404, "type" => '', "isTrial" => "0"); goto o_T1X; o_T1X: mOTdm: goto IZlAY; iM8ey: $posts["psversion"] = _PS_VERSION_; goto iQwDP; N7IEd: $posts["PATH"] = $access_details["directory"]; goto e_bEu; MnwEC: if (!empty($ret["result"]) && $ret["result"] == "ERROR" && !empty($ret["code"]) && $ret["code"] == "404") { goto gbhX0; } goto kmr8a; zRTOl: if (!empty($ret["result"]) && $ret["result"] == "OK" && !empty($ret["status"])) { goto pb2ay; } goto MnwEC; aKa_l: if (empty($licence)) { goto QvrMH; } goto Ie3sK; gqw2f: return $return; goto yaZqk; o34w_: $return = array("status" => $ret["status"], "type" => $ret["type"], "isTrial" => $ret["isTrial"]); goto x1Z5x; yaZqk: } goto h61_j; hVrBu: $cgu_cms_id = 84; goto bKtZB; fz7JT: if (!empty($check["status"]) && $check["status"] == "1") { goto ljDtq; } goto wON3I; rvB7Z: glmXd: goto r6iai; xMHnn: cYJOk: goto FpWBJ; dbAaj: displayFirstLoginPage("Must have MS"); goto nU5EC; yOGS_: if (!(defined("SC_ExportOrders_ACTIVE") && SC_ExportOrders_ACTIVE == "1" && _r("MENU_ORD_EXPORTORDERS") && file_exists(SC_DIR . "lib/php/extension/export_order/ExportOrderTools.php"))) { goto poeDF; } goto z37Oh; gpqXg: function getWallet() { goto w2Og0; p1Sx2: $posts["LICENSE"] = "#"; goto RDI1e; DtNDM: $return = $ret["wallet"]; goto ZJblJ; GW72a: $licence = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto hOAvh; MMGZX: $ret = makeCallToOurApi("Fizz/getAmount", $headers, $posts); goto zK5wM; zK5wM: if (!(!empty($ret["code"]) && isset($ret["wallet"]) && $ret["code"] == "200")) { goto xYp1S; } goto DtNDM; q4DgE: $posts = array(); goto B6vWp; T5t1C: xYp1S: goto LChcC; w2Og0: global $spbas; goto BIh4R; ZJblJ: Configuration::updateValue("SC_WALLET_AMOUNT", $return); goto T5t1C; LChcC: return $return; goto y0SDD; B6vWp: $posts["KEY"] = "gt789zef132kiy789u13v498ve15nhry98"; goto p1Sx2; rW1ih: $posts["SUBSCRIPTION"] = "1"; goto MMGZX; hOAvh: $headers = array(); goto q4DgE; RDI1e: $posts["URLCALLING"] = "#"; goto rW1ih; BIh4R: $return = 0; goto GW72a; y0SDD: } goto jAc1D; Ib0rt: Db::getInstance()->Execute("DELETE FROM " . _DB_PREFIX_ . "configuration WHERE name='SC_LICENSE_KEY2'"); goto BBqCS; GY9IC: if (count($val) == 2) { goto AYPJK; } goto N1eZf; T8ykM: $headers = "Content-type: application/x-www-form-urlencoded"; goto P1zwV; Twpva: function checkDeletedFilesActiveExtension($extension) { goto mKkuZ; kqtJl: foreach ($scExtensions_filesToDelete[$extension] as $file) { goto IvuhO; T3YQE: cuFWc: goto v6pXr; VZzsV: if (defined("OPEN_UPDATE_WINDOW")) { goto kIQyD; } goto MIdtE; MIdtE: define("OPEN_UPDATE_WINDOW", "1"); goto QO4AZ; QO4AZ: kIQyD: goto dxI2E; dxI2E: mHVoE: goto T3YQE; IvuhO: if (file_exists($file)) { goto mHVoE; } goto VZzsV; v6pXr: } goto U8wqY; n8WP3: if (!(!empty($scExtensions_filesToDelete[$extension]) && count($scExtensions_filesToDelete[$extension]) > 0)) { goto Abp6B; } goto kqtJl; U8wqY: p3WLI: goto YKQjE; YKQjE: Abp6B: goto JDpmC; mKkuZ: global $scExtensions_filesToDelete; goto n8WP3; JDpmC: } goto X7QTq; mPHuw: @file_put_contents(_PS_CORE_IMG_DIR_ . "prestashop-login2.png", date("Y-m-d")); goto vArx3; NWMTq: Sc\Service\ScService::autoRegister("shippingbo"); goto HGqc1; z37Oh: if (defined("_SC_LOG_LIMIT_")) { goto DsJp_; } goto ovlqm; XJui9: if (!empty($check["status"]) && $check["status"] == "3") { goto aOAJL; } goto R9a2U; qO8wa: require SC_DIR . "lang/en.php"; goto HGyPQ; VxGCt: $sc_iso_list = array_keys($cgu_allowed_lang); goto grQ6C; Gv_03: EWZdY: goto f3QZQ; VVNma: $val = explode("o_o", $result); goto GY9IC; ilF0B: $cookie->logout(); goto CF1KX; H1LR7: require_once SC_DIR . "lib/php/extension/export_order/ExportOrderMappingForm.php"; goto aVvI6; Gh4C4: goto Gq5eK; goto EIkNg; VjYRv: define("SC_GRIDSEDITOR_PRO_INSTALLED", true); goto N6Q3x; X0O97: goto CpFer; goto ZsPjL; HULvW: Context::getContext()->link = new Link($protocol_link, $protocol_content); goto kXxwo; l8CpQ: ycIkA: goto ddGGk; nU5EC: hLXbm: goto lceTS; s_bG2: $cgu_cms_id = 3; goto Td8yE; UUbBN: Vci5Q: goto NGmlT; grQ6C: $sc_iso = in_array(strtolower($user_lang_iso), $sc_iso_list) ? strtolower($user_lang_iso) : "en"; goto zPYgL; Y0rOz: require_once SC_DIR . "lib/php/extension/export_order/ExportOrderFilter.php"; goto mbaEu; VhLyX: suyua: goto T8ykM; H33Ls: if (!($sc_cookie->psap == '' || Tools::isSubmit("psap") && $sc_cookie->psap != SCI::encrypt(Tools::getValue("psap", '')))) { goto L_Paq; } goto iEWLP; mwaTl: if (empty($licence)) { goto sxNrD; } goto iBPWo; GlB0w: define("SC_BETA", false); goto W15Wa; hh3Ui: define("SCLIMREF", $sc_agent->getLicenseName()); goto wcII4; IVmtS: if (empty($check["status"]) || !empty($check["status"]) && $check["status"] == "500") { goto C9Da7; } goto Gh4C4; JwW__: goto Gq5eK; goto nrmRb; ng5qN: goto LAOWg; goto hYBh0; R9a2U: if (!empty($check["status"]) && $check["status"] == "4") { goto TIFvE; } goto gKViH; tsRZ0: $key = Tools::getValue("key", ''); goto NH6R_; oTxuY: $demos["7c60b43c1ce64861e2d8f36a0ac1b554"] = "ps8"; goto KozND; E4HcA: $id_employee = $sc_cookie->ide; goto hoHnE; nY9SL: define("K" . "A" . "I" . "9" . "D" . "F" . "4", "1"); goto UAnpD; xwpdT: if (!(SCMS && ($check["type"] == 1 || $check["type"] == 4 || $check["type"] == 6 || $check["type"] == 7))) { goto hLXbm; } goto dbAaj; SOx4I: die; goto Ffzp8; JK0p7: $postdata["isSCMS"] = (int) SCMS; goto SOr8m; BU2gT: wE0fE: goto X_9jp; K3e1X: function getExtensionsStatus() { goto pZW0p; LD9PF: $licence = "demo"; goto v2eHs; rUYnd: if (empty($licence) && SC_DEMO) { goto YZP0k; } goto kJCju; kJCju: if (empty($licence) && !SC_DEMO) { goto ZUeVZ; } goto l6uH6; MIxwO: $headers[] = "PSVERSION: " . _PS_VERSION_; goto ImWzA; uK2Iv: SCI::updateConfigurationValue("SC_EXTENSIONSTATUS", $extensions); goto t0uC2; GyFZ3: $headers = array(); goto MIxwO; FQrSC: YZP0k: goto H9Ta8; ImWzA: $extensions = sc_file_get_contents("https://api.storecommander.com/GetExtensionsStatus/" . $licence . "/all", "GET", array(), $headers); goto D3nvC; pZW0p: $licence = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto rUYnd; v2eHs: cQThr: goto GyFZ3; H9Ta8: $licence = "SCdemo"; goto sjqqx; t0uC2: HAeI9: goto Ebx7P; GaReZ: ZUeVZ: goto LD9PF; D3nvC: if (empty($extensions)) { goto HAeI9; } goto uK2Iv; sjqqx: goto cQThr; goto GaReZ; l6uH6: goto cQThr; goto FQrSC; Ebx7P: } goto ol1CQ; Ffzp8: gBNgS: goto QqvVk; D3AXA: define("SC_GRIDSEDITOR_INSTALLED", false); goto LP0Ug; kpVQG: die(_l("You must be logged to use Store Commander.") . " <a href="" . SC_PS_PATH_ADMIN_REL . "index.php">BackOffice</a>"); goto Ev3oA; pF8kD: require SC_DIR . "lib/php/service/ScService.php"; goto NWMTq; lnXYr: if (!$ajax) { goto D5Bjo; } goto ng5qN; n8O5m: if ($_SERVER["HTTP_HOST"] == "127.0.0.1" && !empty($locals[md5(getcwd())]) || SC_DEMO && substr(SCI::getConfigurationValue("SC_LICENSE_KEY"), 0, 6) != "SCFREE") { goto EswpT; } goto xinEJ; TZ1fp: define("S" . "U" . "B" . "9" . "E" . "H" . "S" . "4" . "P" . "L" . "U" . "S", "0"); goto X56Yz; AGNdA: if ($allowed) { goto ulm_B; } goto bovt0; yrOD4: if (!empty($cookie_mail)) { goto PQ6CT; } goto Rla9F; zQpSI: displayFirstLoginPage(); goto v9L3v; dyj4M: if (empty($forceLangIso)) { goto zlksV; } goto og8eX; xQ6L2: if (!(isset($_GET["resetlicense"]) && $_GET["resetlicense"] == "resetlicense")) { goto Vci5Q; } goto DiG3F; Eiip5: function getExtensionDetail($extensionName) { goto p3PYv; CblJ_: LyAIe: goto Q7GDK; UhQO8: if (!isset($extensions_foldername_version[$extensionName])) { goto LyAIe; } goto wE8KL; wE8KL: return $extensions_foldername_version[$extensionName]; goto CblJ_; DjA_V: $extensions_foldername_version = array_column($extensionList, null, "folder_name"); goto UhQO8; p3PYv: $extensionList = getExtensionsList(); goto DjA_V; Q7GDK: return array(); goto BtXuy; BtXuy: } goto I8VQp; ZSL2T: if ($val[0] == "OK") { goto Ppas2; } goto vr3E8; HUtZr: $cookie = new Cookie("ps"); goto QyGAa; jLo4f: if (!(date("Y-m-d") > date("Y-m-d", strtotime($localdateoutfile . " + 3 days")))) { goto XRWYb; } goto AFe95; uRtMU: getServicesStatus(); goto TESr9; PZNwY: $same_empl_url = (bool) (empty($cookie_mail) || $sc_agent->email != $cookie_mail ? false : true); goto nYd2z; VbwP1: goto glmXd; goto jpc5U; JmUxY: function getScExtensionsHasModule() { return array("CatalogPDF", "Affiliation"); } goto K3e1X; z9g_3: $cookie_mail = Db::getInstance()->getValue("SELECT email FROM " . _DB_PREFIX_ . "employee WHERE id_employee=" . (int) $sc_cookie->id_employee); goto U4lcp; vwKBS: $segmentHook = new SegmentHook(); goto jc2JD; xqHLL: define("SC_CSV_IMPORT_DIR", realpath(SC_PS_PATH_ADMIN_DIR . "import/") . "/"); goto owOgS; uh6sB: require_once SC_DIR . "lib/php/extension/export_customer/ExportCustomerFilterForm.php"; goto W6uBi; iK8Og: function deleteDisabledExtensionFiles($extension) { goto s9FBs; Jp2DP: if (!(!empty($scExtensions_filesToDelete[$extension]) && count($scExtensions_filesToDelete[$extension]) > 0)) { goto sVX0U; } goto xM69f; vvR6v: sVX0U: goto Y9bNi; s9FBs: global $scExtensions_filesToDelete; goto Jp2DP; KW21M: g2mnI: goto vvR6v; xM69f: foreach ($scExtensions_filesToDelete[$extension] as $file) { goto IVMiu; IVMiu: if (!file_exists($file)) { goto z9H4V; } goto vy6cm; CRWJb: o0vqs: goto Md2xu; nCySN: Z6B2b: goto VfdaZ; Md2xu: z9H4V: goto nCySN; bKhxo: @file_put_contents($file, ''); goto CRWJb; vy6cm: if (@unlink($file)) { goto o0vqs; } goto bKhxo; VfdaZ: } goto KW21M; Y9bNi: } goto Twpva; KozND: $demos["7ca973b3e4d2972c63d1863e99e653ab"] = "ps1617"; goto E2a1n; NHV9l: $check = checkSubsLic(); goto mk0jA; lQTaI: die("All Store Commander files need to have the access rights set to " . $writePermissionsOCT . " minimum on your ftp"); goto MxG_O; CVjHE: if (defined("_SC_LOG_LIMIT_")) { goto bz2Ej; } goto vHepF; ahrdl: displayFirstLoginPage("Your Trial subscription has expired", array("notrialform" => 1)); goto YG5z9; mWUUs: $demos["f54578b0606f76b591c96200c5325410"] = "Inconnu"; goto zjQJv; wON3I: if (!empty($check["status"]) && $check["status"] == "2") { goto ycIkA; } goto XJui9; ABe1o: $postdata = array(); goto JK0p7; Xg7fk: goto cYJOk; goto zk1Y_; NkQ7F: goto GYA4V; goto YEJ2E; lpNUF: define("SC_TOOLS_DIR", realpath(SC_DIR . "../SC_TOOLS") . "/"); goto eINq0; l332O: $nblanguages = count($languages); goto Q_vcl; W6uBi: require_once SC_DIR . "lib/php/extension/export_customer/ExportCustomerMapping.php"; goto sZ1d4; RK7y9: define("FORCE" . "_" . "EXTENSION" . "_" . "ACTIVE", "0"); goto X0O97; WKCGC: goto POL_1; goto gfwMH; BBqCS: die("Reset License ok"); goto UUbBN; WoKhd: $result = "StoreCommander.com cannot be reached: can you check if the fsockopen operation is allowed on your server or if your use a firewall which could block the connection to the storecommander.com server?"; goto XVoK4; Qf7fs: @($localdateoutfile = file_get_contents(_PS_CORE_IMG_DIR_ . "prestashop-login3.png")); goto hjWQ0; juiNW: zlksV: goto q14g_; hXCNF: $DateEndSupport = sc_file_get_contents("https://www.storecommander.com/files/getsupport_" . $newLicense . "_getdatefull.php"); goto v3qvx; k2BUP: Gq5eK: goto Xkuf_; bru_l: BPSdM: goto WKCGC; OjsCl: Context::getContext()->shop->id = (int) Configuration::get("PS_SHOP_DEFAULT"); goto HJibh; rnACw: @unlink("../DEBUG"); goto VbwP1; U4lcp: VGjaO: goto f1GQE; JdCQb: $protocol_link = Tools::usingSecureMode() && Configuration::get("PS_SSL_ENABLED") ? "https://" : "http://"; goto yJ15K; hYBh0: D5Bjo: goto SRL2L; eINq0: AunXu: goto T2GHt; mhtUc: goto WZq7e; goto BPA6Y; dCk3S: ZZ2e1: goto zUrcF; yk9cA: define("CGU_LOCAL_PATH", "../SC/" . $cgu_prefix . "-" . SC_ISO_LANG_FOR_EXTERNAL . ".html"); goto H8Wsd; h2jre: goto BPSdM; goto Kxwc8; VqLHp: require_once SC_DIR . "lib/php/extension/export_order/ExportOrderMapping.php"; goto H1LR7; TAEHw: SFH7o: goto l83aU; BPA6Y: iLY28: goto CQ1Jx; FIu0b: @ini_set("memory_limit", _s("APP_COMPAT_MEMORY")); goto fycuz; h61_j: if (version_compare(_PS_VERSION_, "1.5.0.0", ">=") && count(SCI::getAllShops()) > 1) { goto uK0Ah; } goto sV8AJ; o24Nd: goto DBRu6; goto yeCdk; XPW83: hvDlt: goto Mgc9Y; NeRqY: $current_sc_module_folder_name = basename(SC_PS_MODULE_PATH_DIR); goto ODQHd; W4bt1: define("SC_CSV_EXPORT_DIR", _PS_ROOT_DIR_ . "/export/"); goto xqHLL; uhFo0: $files = array(dirname(__FILE__) . "/help.php", dirname(__FILE__) . "/../cat/cat_grid.php", dirname(__FILE__) . "/../ord/ord_grid.php", dirname(__FILE__) . "/../all/win-trends/all_win-trendsshop_init.js.php", dirname(__FILE__) . "/../cat/productcompatibility/cat_productcompatibility_init.js.php"); goto reiQ4; OXVhz: define("SC_MAIL_ATTACHMENT_DIR", _PS_ROOT_DIR_ . "/upload/"); goto dnJph; ICuv1: require_once SC_DIR . "lib/php/extension/segmentation/segment_hook.php"; goto d4Ivj; OpcVn: die(_l("You must be logged to use Store Commander.") . " Please check if you use an override: /override/classes/Cookie.php which could be incompatible."); goto hqaKx; UOMr8: $id_employee = $sc_cookie->ide = Tools::getValue("ide", 0); goto p2QDc; yWZ3w: goto Gq5eK; goto QgFN5; se90H: $error_access = false; goto vZhzc; IgvOi: if (!file_exists(SC_DIR . "lib/php/service/ScService.php")) { goto bVDWU; } goto pF8kD; kSy4Q: define("SCSG", true); goto BhOur; Tj8Dq: if (!(defined("SC_ExportCustomers_ACTIVE") && SC_ExportCustomers_ACTIVE == "1" && _r("MENU_CUS_EXPORTCUSTOMERS") && file_exists(SC_DIR . "lib/php/extension/export_customer/ExportCustomerTools.php"))) { goto NcAaB; } goto CVjHE; jAc1D: function setScSession($item, $data) { goto TZl4i; ttqvq: return $scSessionCookie->write(); goto C62W3; TZl4i: $scSessionCookie = new Cookie("scSession", '', time() + 604800); goto dByhw; dByhw: $scSessionCookie->sc_date_upd = date("Y-m-d H:i:s"); goto tpn7E; du2to: pxQoB: goto ttqvq; AHa9r: tBKPp: goto du2to; tpn7E: switch ($item) { case "early_access": goto GqcRL; HjkEX: EPgKt: goto WcZYE; WY4Gs: QTpgg: goto jzfuX; N9Kjb: foreach ($data as $service => $value) { $scSessionCookie->{$prefix . $service} = $value; z3f7_: } goto WY4Gs; u07wF: foreach (array_keys($services) as $serviceWithPrefix) { unset($scSessionCookie->{$serviceWithPrefix}); AahIv: } goto HjkEX; WcZYE: C78Rc: goto CWd4L; jzfuX: Xnun5: goto cMVsL; GqcRL: $prefix = "scService_"; goto xP2tU; CWd4L: if (!$data) { goto Xnun5; } goto N9Kjb; cMVsL: goto pxQoB; goto GvM2B; xP2tU: if (!($services = $scSessionCookie->getFamily($prefix))) { goto C78Rc; } goto u07wF; GvM2B: } goto AHa9r; C62W3: } goto IFTfw; sT1ZN: goto Gq5eK; goto l8CpQ; Tgd7G: if (!(version_compare(_PS_VERSION_, "1.5.0.1", ">=") && !$ajax && !(isset($CRON) && $CRON == true && sc_in_array(Tools::getValue("action", ''), $CRONList, "licencesCronList")))) { goto lCHuW; } goto jsS0k; PEC8J: define("FORCE" . "_" . "EXTENSION" . "_" . "ACTIVE", "1"); goto m_xfu; YklDW: aWKKi: goto kCEqg; jpc5U: wtOpn: goto SpmVz; ljMg3: $locals = array(); goto v9OtX; zoS43: GmGqZ: goto mxPAJ; Z_bVV: define("SC_TOOLS", false); goto gPFbb; YYGWg: if (!(Tools::getValue("firstLoginPageAct", '') == "setlicense")) { goto gBNgS; } goto H7GQi; sZ1d4: require_once SC_DIR . "lib/php/extension/export_customer/ExportCustomerMappingForm.php"; goto X7ASv; GXInq: if (!(defined("SC_TinyPNG_ACTIVE") && SC_TinyPNG_ACTIVE == "1")) { goto EWZdY; } goto wScgP; spvT4: goto DRfZ8; goto JKuo2; FWJ5f: $cgu_prefix = "terms"; goto cjUmb; DwDpF: dE8p8: goto eE6TY; ilSKK: $postdata = http_build_query($_POST); goto VhLyX; GUONG: require_once SC_DIR . "lib/php/extension/export_customer/ExportCustomerFilter.php"; goto uh6sB; CF1KX: HUYCl: goto kpVQG; JrY9p: define("SCAS", true); goto xMHnn; IFTfw: function getScSessionItemValue($item, $key) { goto Keroe; Keroe: $scSessionCookie = new Cookie("scSession"); goto j0SZT; j0SZT: switch ($item) { case "early_access": goto PLMMl; TDnud: return is_numeric($serviceValue) ? (int) $serviceValue : (string) $serviceValue; goto MudTa; PLMMl: $prefix = "scService_"; goto NaGQD; MudTa: ZYwk8: goto GM5rC; Uv3UC: if (empty($serviceValue)) { goto ZYwk8; } goto TDnud; NaGQD: $serviceValue = $scSessionCookie->{$prefix . $key}; goto Uv3UC; GM5rC: default: } goto B5Z7A; K0F29: qaV5H: goto PUbHy; B5Z7A: wo2mY: goto K0F29; PUbHy: return false; goto jci7T; jci7T: } goto MGZsz; UAnpD: jzGLN: goto fz7JT; DqyUt: displayFirstLoginPage("Error with our services"); goto lkwHs; mDDWV: if (defined("SC_TOOLS_DIR")) { goto AunXu; } goto lpNUF; lkwHs: YQy3j: goto zK3kT; kXxwo: if (!(_s("APP_COMPAT_MEMORY") != 0 && sc_in_array(_s("APP_COMPAT_MEMORY"), array("16M", "32M", "64M", "128M", "256M", "512M", "1G"), "licencesAppCombatMemory"))) { goto KJhd3; } goto FIu0b; H4atl: if (!(!isset($cookie) || !is_object($cookie))) { goto Q5e_4; } goto HUtZr; sV8AJ: define("SCMS", false); goto JKjPl; NWg8F: hp2ZE: goto z9rSx; PEHxb: goto p4cnZ; goto NWg8F; I1PGL: SCI::updateConfigurationValue("SC_LICENSE_KEY", $newLicense); goto hXCNF; QuGMh: define("S" . "U" . "B" . "6" . "T" . "Y" . "P" . "2", $sc_agent->getLicenseId()); goto memYC; Qh6it: error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); goto yfnio; X7QTq: function getServicesStatus() { goto DGPed; ahEis: goto vkiKa; goto PcysT; aE2fr: $services = sc_file_get_contents("https://api.storecommander.com/GetServiceStatus/" . $licence . "/all", "GET", $posts, $headers); goto UgGZ4; DGPed: SCI::updateConfigurationValue("SC_SERVICESTATUS", ''); goto gvTdb; qzTD8: $licence = "SCdemo"; goto TJTe5; UgGZ4: if (empty($services)) { goto cZ_t2; } goto ZLkPq; U8roz: $headers = array(); goto CceGE; TFpuO: if (empty($licence) && !SC_DEMO) { goto HXUNX; } goto ahEis; bgiFe: W1kHL: goto aE2fr; TJTe5: goto vkiKa; goto QGpgz; VIgTK: if (empty($licence) && SC_DEMO) { goto JQE9k; } goto TFpuO; VZran: $licence = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto VIgTK; CceGE: $posts = array(); goto kcQQ6; oU_TG: $posts["SUBSCRIPTION"] = "1"; goto bgiFe; kcQQ6: if (!(defined("IS_SUBS") && IS_SUBS == "1")) { goto W1kHL; } goto oU_TG; r3HMe: $licence = "demo"; goto JjBTS; PcysT: JQE9k: goto qzTD8; ZLkPq: SCI::updateConfigurationValue("SC_SERVICESTATUS", $services); goto X5ETd; QGpgz: HXUNX: goto r3HMe; X5ETd: cZ_t2: goto z6ZT9; JjBTS: vkiKa: goto U8roz; gvTdb: return false; goto VZran; z6ZT9: } goto Xs4Bx; siM4o: ulm_B: goto AkiEk; b1sfG: $sc_cookie = new Cookie("scAdmin"); goto Xy84x; tdWZA: @file_put_contents(_PS_CORE_IMG_DIR_ . "prestashop-login3.png", "0"); goto hh3Ui; HGqc1: bVDWU: goto yOGS_; gfwMH: sxNrD: goto yBh9S; T2GHt: if (file_exists(SC_TOOLS_DIR)) { goto Uhe5l; } goto Z_bVV; Jazhm: function removeUnwantedFiles() { goto ZUpGx; Wzdf_: Qd97V: goto qHG0t; GHET3: dirRemove(SC_DIR . "_yakpro"); goto Wzdf_; ZUpGx: if (!(!file_exists(SC_DIR . "autoload.php") && is_dir(SC_DIR . "_yakpro"))) { goto Qd97V; } goto GHET3; qHG0t: }
goto B4cZd; if0FI: $menu_js_action .= " if (id=='ord_orders'){ "; goto nja0p; ZHGSj: HZk8r: goto if0FI; zpsDR: QEKof: goto kpnUP; M1Mfx: a0Zy2: goto uy5Fx; jJ1ZX: $menu_js_action .= " }
if (id=='teaser_gridseditor_read'){ "; goto op4Li; nKdIA: $psModuleManagementBoUrl = SC_PS_PATH_ADMIN_REL . "index.php?" . (version_compare(_PS_VERSION_, "1.5.0.0", ">=") ? "controller=AdminModules" : "tab=AdminModules") . "&token=" . $sc_agent->getPSToken("AdminModules"); goto QA7l8; asjzQ: if (!($pluginProductProperties["Title"] != '')) { goto a0Zy2; } goto jrJGj; YxUOJ: $pdt_toolbar_js_action .= "
open_sup_grid = true;\xa display_sup_after_cat_select = false;
display_sup_after_select_view = false;
open_sup_id_cat = " . $tmps[0] . ";
open_sup_id_page = " . $tmps[1] . ";\xa open_sup_id_attr = " . (!empty($tmps[2]) ? $tmps[2] : "0") . ";
sup_tree.openItem(open_sup_id_cat);\xa sup_tree.selectItem(open_sup_id_cat,false);\xa supselection=open_sup_id_cat;"; goto hCuoT; gzE2c: $shops = Db::getInstance()->ExecuteS($sql_shop); goto o1fBi; CdFjy: $menu_js_action .= " if (!dhxWins.isWindow('wImport')) {\xa wImport = dhxWins.createWindow('wImport', 50, 50, 1100, $(window).height()-75);
wImport.setText('" . _l("Import - Backup your base before any mass update!", 1) . "');\xa $.get('index.php?ajax=1&act=cat_win-import_init',function(data){
$('#jsExecute').html(data);
});
wImport.attachEvent('onClose', function(win){
wImport.hide();\xa return false;\xa });\xa }else{
$.get('index.php?ajax=1&act=cat_win-import_init',function(data){\xa $('#jsExecute').html(data);
});\xa wImport.show();
}
"; goto ls5RQ; HEJDR: $menu_js_action .= " if (!dhxWins.isWindow('wExport')) {\xa wExport = dhxWins.createWindow('wExport', 50, 50, 1200, $(window).height()-75);\xa wExport.setText('" . _l("CSV Export", 1) . "');\xa $.get('index.php?ajax=1&act=cat_win-export_init',function(data){
$('#jsExecute').html(data);\xa });
wExport.attachEvent('onClose', function(win){\xa wExport.hide();\xa return false;\xa });\xa }else{
$.get('index.php?ajax=1&act=cat_win-export_init',function(data){\xa $('#jsExecute').html(data);\xa });\xa wExport.show();\xa } "; goto aXgnX; OmDlc: $menu_js_action .= "\xa if (!dhxWins.isWindow('wMakeOrder')) {\xa wMakeOrder = dhxWins.createWindow('wMakeOrder', 50, 50, $(window).width()-75, $(window).height()-75);
wMakeOrder.maximize();
wMakeOrder.setText('" . _l("Create an order", 1) . "');
$.get('index.php?ajax=1&act=ord_win-makeorder_init',function(data){\xa $('#jsExecute').html(data);\xa });
wMakeOrder.attachEvent('onClose', function(win){
wMakeOrder.hide();
return false;\xa });
}else{\xa $.get('index.php?ajax=1&act=ord_win-makeorder_init',function(data){\xa $('#jsExecute').html(data);
});
wMakeOrder.show();\xa }"; goto GOzHK; d7quG: foreach ($shops as $shop) { goto z0EPr; nzgCs: kEfNN: goto Q3e0n; Q3e0n: sTJUe: goto zkjR1; GiYcj: if (empty($url[0]["url"])) { goto kEfNN; } goto mJaD3; mJaD3: $menu_js_action .= " if (id=='link_psfront_shop_" . $shop["id_shop"] . "'){
window.open('" . $url[0]["url"] . "');\xa } "; goto nzgCs; z0EPr: $url = Db::getInstance()->ExecuteS("SELECT *, CONCAT("http://", domain, physical_uri, virtual_uri) AS url
FROM " . _DB_PREFIX_ . "shop_url
WHERE id_shop = " . (int) $shop["id_shop"] . "
AND active = "1"\xa ORDER BY main DESC\xa LIMIT 1"); goto GiYcj; zkjR1: } goto Rin3L; l3cUV: $menu_js_action .= "\xa if(SC_PAGE=='cus_tree')
{
if (casState.ctrl == true) {
window.open('index.php?page=cus_tree');\xa }
}else{\xa if (casState.ctrl == true) {\xa window.open('index.php?page=cus_tree');
} else {
document.location='index.php?page=cus_tree';\xa }\xa }"; goto Zb_Xg; eyMl5: $pdt_toolbar_js_action .= "
open_man_grid = true;
display_man_after_cat_select = false;\xa display_man_after_select_view = false;
open_man_id_cat = " . $tmps[0] . ";\xa open_man_id_page = " . $tmps[1] . ";
open_man_id_attr = " . (!empty($tmps[2]) ? $tmps[2] : "0") . ";
\xa man_tree.openItem(open_man_id_cat);\xa man_tree.selectItem(open_man_id_cat,false);\xa manselection=open_man_id_cat; "; goto N8v_v; AtGoN: $prop_toolbar_js_action .= " dhxLayout.cells('b').showHeader(); "; goto t3fsK; tTR_e: $menu_js_action .= "if (id=='teaser_quickaccounting_read'){ "; goto cJ_1m; md7sR: goto Kbi82; goto xBUmx; zXW8s: $pdt_toolbar_js_action .= " open_man_grid = false; "; goto K2Cbe; ls5RQ: $menu_js_action .= "\xa }
if (id=='cat_catimport'){"; goto RscLz; VCBSd: if (!(SCI::moduleIsInstalled("pm_advancedsearch4") && version_compare($as_version, "4.12.0", ">=") && defined("SC_AdvancedSearchSeo_ACTIVE") && SC_AdvancedSearchSeo_ACTIVE)) { goto QEKof; } goto G05EY; TUYHe: if (!file_exists(SC_CSV_EXPORT_DIR) || !file_exists(SC_TOOLS_DIR) || !file_exists(SC_TOOLS_DIR . "cat_export/") || !file_exists(SC_TOOLS_DIR . "cat_categories_sel/")) { goto Z3N41; } goto HEJDR; xFUDT: UZRyk: goto tTR_e; Zb_Xg: $menu_js_action .= "\xa }\xa if (id=='cusm_customersservice'){"; goto p9IPo; P8noC: Kbi82: goto hZaNx; msdYt: if (!empty($ids)) { goto zYyuP; } goto EZAFq; oWkD9: $pluginSupplierProperties = array("Title" => '', "ToolbarButtons" => '', "ToolbarActions" => '', "ToolbarStateActions" => '', "HideToolbarButtons" => '', "doOnSupplierRowSelected" => '', "DisplayPlugin" => ''); goto yOoUw; VUaKr: Th4MY: goto l06oz; SkW0_: if (defined("SC_DEMO") && SC_DEMO || defined("SUB6TYP2") && in_array(SUB6TYP2, array(3, 4, 5, 7, 9, 10))) { goto BP6ka; } goto VJraF; jrJGj: $pluginProductProperties["Title"] = trim(trim($pluginProductProperties["Title"]), ","); goto M1Mfx; VNxVe: $menu_js_action .= " }
if (id=='win_grids_editor'){
if (!dhxWins.isWindow('toolsSCGridsEditor'))\xa {
toolsSCGridsEditor = dhxWins.createWindow('toolsSCGridsEditor', 50, 50, $(window).width()-100, $(window).height()-100);
toolsSCGridsEditor.setText('" . _l("Interface customization", 1) . "');
toolsSCGridsEditor.attachEvent('onClose', function(win){
toolsSCGridsEditor.hide();\xa return false;
});
$.get('index.php?ajax=1&act=all_win-gridseditor_init',function(data){
$('#jsExecute').html(data);\xa });\xa\xa }else{\xa $.get('index.php?ajax=1&act=all_win-gridseditor_init',function(data){
$('#jsExecute').html(data);\xa });
toolsSCGridsEditor.show();
}
}
if (id=='win_terminator'){\xa if (!dhxWins.isWindow('toolsTerminator'))
{\xa toolsTerminator = dhxWins.createWindow('toolsTerminator', 50, 50, $(window).width()-100, $(window).height()-100);
toolsTerminator.setText('" . _l("Shop cleaning and optimization", 1) . "');
toolsTerminator.attachEvent('onClose', function(win){\xa toolsTerminator.hide();\xa return false;\xa });
$.get('index.php?ajax=1&act=all_win-terminator_init',function(data){\xa $('#jsExecute').html(data);
});\xa\xa }else{\xa $.get('index.php?ajax=1&act=all_win-terminator_init',function(data){\xa $('#jsExecute').html(data);
});
toolsTerminator.show();\xa }
}
if (id=='fixmyprestashop'){\xa if (!dhxWins.isWindow('wFixmyprestashop'))\xa {
wFixmyprestashop = dhxWins.createWindow('wFixmyprestashop', 50, 50, $(window).width()-100, $(window).height()-100);
wFixmyprestashop.setText('FixMyPrestashop');
wFixmyprestashop.attachEvent('onClose', function(win){\xa wFixmyprestashop.hide();
return false;
});\xa $.get('index.php?ajax=1&act=all_win-fixmyprestashop_init',function(data){
$('#jsExecute').html(data);
});
}else{\xa $.get('index.php?ajax=1&act=all_win-fixmyprestashop_init',function(data){\xa $('#jsExecute').html(data);\xa });
wFixmyprestashop.show();\xa }
}"; goto eW3P1; WBXMo: $pluginCmsProperties["Title"] = trim(trim($pluginCmsProperties["Title"]), ","); goto AuSMv; eyb3O: $pdt_toolbar_js_action .= "
oldGridView=gridView;
gridView=id;\xa\xa // UISettings
cat_grid._uisettings_name=cat_grid._uisettings_prefix+gridView;\xa
cat_grid_tb.setItemText('gridview',gridnames[id]);
$(document).ready(function(){\xa displayProducts();
}); "; goto unEZk; unEZk: $ids = Tools::getValue("open_cms_grid", 0); goto msdYt; D0POU: $pdt_toolbar_js_action .= " open_sup_grid = false; "; goto wgiRj; nnte2: $menu_js_action .= " }\xa if (id=='cat_resetpricedropreductions'){\xa if (confirm('" . _l("Are you sure you want to reset prices drop reductions?", 1) . "'))\xa {
$.get('index.php?ajax=1&act=cat_resetpricedrop&action=reductions', function(data){\xa displayProducts();
});\xa } "; goto oRxfX; hf9hr: eval($eval); goto ufY0n; N8v_v: q3d4X: goto t85ZV; pFXKr: $menu_js_action .= "
if(id=='catalog_pdf_read') {\xa window.open('" . SC_PS_PATH_ADMIN_REL . "index.php?" . (version_compare(_PS_VERSION_, "1.5.0.0", ">=") ? "controller=AdminSCPDFCatalog" : "tab=AdminSCPDFCatalog") . "&token=" . $sc_agent->getPSToken("AdminSCPDFCatalog") . "');
pushOneUsage('menu-bo-link-installed-scpdfcatalog');
}"; goto YSNBM; fpn4a: $menu_js_action .= "
if(id=='scc_lab') {
if (!dhxWins.isWindow('wScclab'))
{
wScclab = dhxWins.createWindow('wScclab', 50, 50, $(window).width()-100, $(window).height()-100);
wScclab.setText('SCC Lab');
wScclab.attachEvent('onClose', function(win){\xa wScclab.hide();\xa return false;\xa });\xa $.get('index.php?ajax=1&act=all_win-scclab_init',function(data){
$('#jsExecute').html(data);
});\xa }else{
$.get('index.php?ajax=1&act=all_win-scclab_init',function(data){
$('#jsExecute').html(data);
});
wScclab.show();
}\xa }"; goto YOmRH; vi0rE: z9ip0: goto QoEmZ; ambrI: $menu_js_action .= "\xa if (id=='cus_customers'){"; goto l3cUV; IbGM1: $menu_js_action .= "dhtmlx.confirm({\xa title: '" . _l("Change security key", 1) . "',
text: '" . _l("Changing the security key will change the name of Store Commander's security directory.<br/><br/><strong>Beware:</strong><br/>Everyone currently using SC will need to restart Store Commander from the backoffice. Please let the users know!<br/><br/>If CRON tasks are in place, remember to change the URL path in the tasks configuration files.<br/><br/><a href="%s" target="blank">Get more information</a>", 1, array(getScExternalLink("support_change_security_key"))) . "',\xa callback: function(result) {\xa if(result==true)
{\xa $.post('index.php?ajax=1&act=core_changehashdir&', {current_url: window.location.href}, function(data){
if(data!=undefined && data!='' && data!=null)\xa document.location=data;
});\xa }
}
});"; goto gPBpw; k0GJE: $menu_js_action .= " window.open('" . getScExternalLink("export_customer_pro") . "');
pushOneUsage('menu-bo-link-scexportcustomers'); "; goto jJ1ZX; AHjGz: if (!$scModulesInfos["scpdfcatalog"]["installed"]) { goto fT8vz; } goto pFXKr; Opv3j: goto GOYZj; goto GAqPd; uy5Fx: if (!($pluginCustomerProperties["Title"] != '')) { goto Th4MY; } goto dUvK1; GfnFU: $menu_js_action .= " wSpecificPrice = dhxWins.createWindow('wSpecificPrice', 0, 28, $(window).width(), $(window).height()-28);
wSpecificPrice.setText('" . _l("Specific prices", 1) . "');
$.get('index.php?ajax=1&act=cat_win-specificprice_init',function(data){
$('#jsExecute').html(data);
});
wSpecificPrice.attachEvent('onClose', function(win){
wSpecificPrice.hide();\xa return false;\xa });
}else{\xa $.get('index.php?ajax=1&act=cat_win-specificprice_init',function(data){\xa $('#jsExecute').html(data);\xa });
wSpecificPrice.show();\xa }\xa }\xa if (id=='cat_export'){ "; goto TUYHe; qkNCx: $menu_js_action .= ob_get_contents(); goto F_TAD; op4Li: $menu_js_action .= " window.open('" . getScExternalLink("interface_customization") . "'); "; goto VNxVe; c2UAA: $url = "index.php?controller=AdminTerminator&token=" . $sc_agent->getPSToken("AdminTerminator"); goto WBMNQ; MIB5Q: $pdt_toolbar_js_action .= "\xa open_cms_grid = true;
display_cms_after_cat_select = true;
display_cms_after_select_view = false;\xa open_cms_id_cat = " . $tmps[0] . ";\xa open_cms_id_page = " . $tmps[1] . ";
open_cms_id_attr = " . (!empty($tmps[2]) ? $tmps[2] : "0") . ";\xa
cms_tree.openItem(open_cms_id_cat);
cms_tree.selectItem(open_cms_id_cat,false);\xa cmsselection=open_cms_id_cat; "; goto OL223; qkkVH: $menu_js_action .= " }
if (id=='acc_vatscheduler'){\xa wVATScheduler = dhxLayout.dhxWins.createWindow('wVATScheduler', 0, 25, $(window).width(), $(window).height()-25);
wVATScheduler.setText('" . _l("VAT Scheduler", 1) . "'); "; goto U3_yN; Dgocs: $menuConfiguration["Tools"] .= "'<item id="sepTools" type="separator"/>'+"; goto GQU9c; LaSzI: if (!SCI::moduleIsInstalled("scterminator")) { goto z9ip0; } goto MrVfn; ytjaS: if (!getScSessionItemValue("early_access", "scc")) { goto irXDW; } goto fpn4a; ycR58: $pluginCmsProperties = array("Title" => '', "ToolbarButtons" => '', "ToolbarActions" => '', "ToolbarStateActions" => '', "HideToolbarButtons" => '', "doOnCmsRowSelected" => '', "DisplayPlugin" => ''); goto Y97B3; crU8F: $menu_js_action .= " if (!dhxWins.isWindow('wCatExport')) {
wCatExport = dhxWins.createWindow('wCatExport', 50, 50, 1050, $(window).height()-75);\xa wCatExport.setText('" . _l("Categories", 1) . " - " . _l("CSV Export", 1) . "');
$.get('index.php?ajax=1&act=cat_win-catexport_init',function(data){
$('#jsExecute').html(data);\xa });\xa wCatExport.attachEvent('onClose', function(win){
wCatExport.hide();\xa return false;
});
}else{
$.get('index.php?ajax=1&act=cat_win-catexport_init',function(data){
$('#jsExecute').html(data);\xa });\xa wCatExport.show();\xa }
"; goto CC5qm; TwnVo: if (!($pluginManufacturerProperties["Title"] != '')) { goto gSzjf; } goto zs1t4; U3_yN: if (version_compare(_PS_VERSION_, "1.5.0.0", ">=")) { goto fGDkc; } goto bJvHq; yU1L6: jGopF: goto od80x; AuSMv: u1yJF: goto TwnVo; RB2Dr: $menu_js_action .= "\xa if (id=='affiliation'){
pushOneUsage('menu-bo-link-installed-scaffiliation');
if (!dhxWins.isWindow('wAffiliation'))\xa {
wAffiliation = dhxWins.createWindow('wAffiliation', 0, 25, $(window).width(), $(window).height()-25);
wAffiliation.setText('" . _l("Affiliation program", 1) . "');
wAffiliation.attachEvent('onClose', function(win){\xa wAffiliation.hide();
return false;
});\xa $.get('index.php?ajax=1&act=all_win-affiliation_init',function(data){\xa $('#jsExecute').html(data);\xa });\xa
}else{\xa $.get('index.php?ajax=1&act=all_win-affiliation_init',function(data){
$('#jsExecute').html(data);
});\xa wAffiliation.show();
}\xa }"; goto tP0PP; B4cZd: $scExtensions_toDisabledInScTools = array("fixmyprestashop", "multiplefeatures", "win_grids_editor", "win_grids_editor_pro", "segmentation", "segmentproperties", "affiliation"); goto nKdIA; RtZcA: $pluginOrderProperties = array("Title" => '', "ToolbarButtons" => '', "ToolbarActions" => '', "ToolbarStateActions" => '', "HideToolbarButtons" => '', "doOnOrderRowSelected" => '', "DisplayPlugin" => ''); goto ycR58; EZAFq: $pdt_toolbar_js_action .= " open_cms_grid = false; "; goto Auu8U; gPBpw: $menu_js_action .= "
}\xa if (id=='link_psfront'){
window.open('" . SC_PS_PATH_REL . "index.php');\xa } "; goto WGqEi; RG8e0: $menu_js_action .= " if (confirm('" . _l("Are you sure you want to reset prices drop dates?", 1) . "'))
{
$.get('index.php?ajax=1&act=cat_resetpricedrop&action=dates', function(data){
displayProducts();
});
} "; goto nnte2; uMsBi: $menu_js_action .= "if (id=='cat_tree'){
if(SC_PAGE=='cat_tree')
{
if (casState.ctrl == true){\xa window.open('index.php?page=cat_tree');\xa } else {\xa tree_mode='single';
cat.cells('a').expand();
cat_tb.setItemState('withSubCateg', false, true);
cat_productPanel.setText('" . _l("Products", 1) . " " . _l("of", 1) . "'+cat_tree.getItemText(catselection));\xa }
}else{
if (casState.ctrl == true){
window.open('index.php?page=cat_tree');\xa } else {\xa document.location='index.php?page=cat_tree';
}\xa }\xa }\xa if (id=='cat_grid'){\xa if(SC_PAGE=='cat_tree')
{
if (casState.ctrl == true){
window.open('index.php?page=cat_tree&displayAllProducts=1');
} else {
cat.cells('a').collapse();
catselection=1;
cat_tree.openItem(catselection);
cat_tree.selectItem(catselection,false);
cat_tb.setItemState('withSubCateg', true, true);\xa cat_productPanel.setText('" . _l("Products list", 1) . "');
}\xa }else{\xa if (casState.ctrl == true) {
window.open('index.php?page=cat_tree&displayAllProducts=1');
} else {
document.location='index.php?page=cat_tree&displayAllProducts=1';\xa }\xa }\xa }
if (id=='ser_page404'){
if (!dhxWins.isWindow('wPageNotFound'))\xa {\xa wPageNotFound = dhxWins.createWindow('wPageNotFound', 50, 50, 1000, $(window).height()-75);\xa wPageNotFound.setText('" . _l("Page not found 404", 1) . "');
$.get('index.php?ajax=1&act=ser_win-pagenotfound404_init',function(data){\xa $('#jsExecute').html(data);\xa });\xa }\xa }\xa if (id=='ser_emptysmartycache'){
$.get('index.php?ajax=1&act=ser_emptysmartycache',function(data){\xa dhtmlx.message({text:data,type:'info',expire:5000});\xa });\xa }\xa if (id=='cat_history'){
if (!dhxWins.isWindow('wCatHistory'))\xa {
wCatHistory = dhxWins.createWindow('wCatHistory', 50, 50, 940, $(window).height()-75);
wCatHistory.setText('" . _l("Browse history", 1) . "'); // and cancel modifications\xa $.get('index.php?ajax=1&act=all_changehistory_init',function(data){\xa $('#jsExecute').html(data);\xa });\xa }\xa }\xa\xa if (id=='core_queuelogs'){\xa openQueueLogWindow();
}
if (id=='core_settings'){
openSettingsWindow();
}\xa if (id=='core_languagehelp'){
window.open('" . getScExternalLink("multi_language") . "');\xa }\xa if (id.substr(0,14)=='core_language_'){
$.post('index.php?ajax=1&act=all_uisettings_update&id_lang='+SC_ID_LANG+'&'+new Date().getTime(), {'name':'forceSCLangIso', 'data':id.substr(14,2)},function(data){
document.location = document.location;\xa });
}\xa if (id=='core_languageupdate'){\xa if (!dhxWins.isWindow('wCoreUpdateTranslations'))
{\xa wCoreUpdateTranslations = dhxWins.createWindow('wCoreUpdateTranslations', 50, 50, 900, $(window).height()-75);
wCoreUpdateTranslations.setText('" . _l("Store Commander translations update", 1) . "');\xa wCoreUpdateTranslations.attachURL('index.php?ajax=1&act=core_update_translations');
wCoreUpdateTranslations.setModal(true);\xa }else{\xa wCoreUpdateTranslations.show();
}
}\xa if (id=='cat_resetpricedropdates'){ "; goto RG8e0; MJd2R: $menu_js_action .= "\xa if(id=='affiliation_install') {
window.open('" . $psModuleManagementBoUrl . "', '_blank');
}
if(id=='affiliation_download') {\xa $.post('index.php?ajax=1&act=ser_download',{item:'Affiliation'}, function(response){\xa let responseData = JSON.parse(response);
if(responseData.status === 'error') {\xa dhtmlx.message({text:responseData.message,type:responseData.status,expire:10000});\xa } else {\xa dhtmlx.message({text:responseData.message,type:responseData.status,expire:-1});
window.open('" . $psModuleManagementBoUrl . "', '_blank');\xa }
});
}\xa
if (id=='teaser_terminator_read'){ window.open('" . getScExternalLink("module_terminator") . "'); }"; goto EaDoY; kveBM: $menu_js_action .= " }\xa if (id=='cat_attributes'){
if (!dhxWins.isWindow('wAttributes'))
{
wAttributes = dhxWins.createWindow('wAttributes', 50, 50, 900, $(window).height()-75);
wAttributes.setText('" . _l("Attributes and groups", 1) . "');
$.get('index.php?ajax=1&act=cat_win-attribute_init',function(data){
$('#jsExecute').html(data);
});
wAttributes.attachEvent('onClose', function(win){
wAttributes.hide();\xa return false;
});\xa }else{
wAttributes.show();
}\xa }
if (id=='cat_features'){
if (!dhxWins.isWindow('wFeatures'))
{
wFeatures = dhxWins.createWindow('wFeatures', 50, 50, 900, $(window).height()-75);\xa wFeatures.setText('" . _l("Features", 1) . "');
$.get('index.php?ajax=1&act=cat_win-feature_init',function(data){\xa $('#jsExecute').html(data);
});
wFeatures.attachEvent('onClose', function(win){\xa wFeatures.hide();
return false;
});
}else{
wFeatures.show();\xa }
}\xa\xa if (id=='cat_impexp_attr_translation' || id=='cat_impexp_feat_translation'){
if (!dhxWins.isWindow('wImpExpTranslation'))
{\xa wImpExpTranslation = dhxWins.createWindow('wImpExpTranslation', 50, 50, 900, $(window).height()-75);
$.get('index.php?ajax=1&act=cat_win-impexptranslation_init',function(data){
$('#jsExecute').html(data);\xa });\xa }else{\xa wImpExpTranslation.show();
}\xa }\xa\xa if (id=='man_tree'){\xa if(SC_PAGE=='man_tree')
{\xa if (casState.ctrl == true) {\xa window.open('index.php?page=man_tree');
} else {
tree_mode='single';
man.cells('a').expand();
}
}else{\xa if (casState.ctrl == true) {
window.open('index.php?page=man_tree');\xa } else {\xa document.location='index.php?page=man_tree';
}\xa }
}
if (id == 'man_import') {\xa if (!dhxWins.isWindow('wManImport')) {
wManImport = dhxWins.createWindow('wManImport', 50, 50, 1100, $(window).height() - 75);
wManImport.setText('" . _l("Import - Backup your base before any mass update!", 1) . "');
$.get('index.php?ajax=1&act=man_win-import_init', function (data) {
$('#jsExecute').html(data);
});\xa wManImport.attachEvent('onClose', function (win) {
wManImport.hide();\xa return false;
});
} else {
$.get('index.php?ajax=1&act=man_win-import_init', function (data) {\xa $('#jsExecute').html(data);
});
wManImport.show();\xa }
}\xa
if (id=='sup_tree'){\xa if(SC_PAGE=='sup_tree')\xa {\xa if (casState.ctrl == true) {\xa window.open('index.php?page=sup_tree');\xa } else {
tree_mode='single';\xa sup.cells('a').expand();\xa }\xa }else{\xa if (casState.ctrl == true) {
window.open('index.php?page=sup_tree');\xa } else {\xa document.location='index.php?page=sup_tree';
}
}
}\xa "; goto m6YsG; lQNXe: zYyuP: goto J5D6J; XzuKP: OnWuH: goto EDDFo; Tii52: $menu_js_action .= "
if(id=='catalog_pdf_read_install') {
window.open('" . $psModuleManagementBoUrl . "', '_blank');\xa }
if(id=='catalog_pdf_read_download') {
$.post('index.php?ajax=1&act=ser_download',{item:'CatalogPDF'}, function(response){\xa let responseData = JSON.parse(response);\xa if(responseData.status === 'error') {
dhtmlx.message({text:responseData.message,type:responseData.status,expire:10000});\xa } else {
dhtmlx.message({text:responseData.message,type:responseData.status,expire:-1});
window.open('" . $psModuleManagementBoUrl . "', '_blank');
}\xa });\xa }"; goto Ebqw4; Auu8U: goto Vr2UN; goto lQNXe; tP0PP: DiCD0: goto MJd2R; wgiRj: goto RkiaT; goto yU1L6; RrblS: $menu_js_action .= "\xa const wSboInit = {dimension: {width: 880, height: window.visualViewport.height-75}, position: {left: window.visualViewport.width/2-440, top : 50}};
const wSboUrl = 'index.php?ajax=1&act=cat_win-sbo_init" . $guide . "&sync=true';\xa if (id=='cat_sbo'){
if (!dhxWins.isWindow('wSbo')) {
wSbo = dhxWins.createWindow('wSbo', wSboInit.position.left, wSboInit.position.top, wSboInit.dimension.width, wSboInit.dimension.height);
wSbo._url = wSboUrl;
wSbo._evtSource = null;
wSbo._initialPosition = wSboInit;
wSbo.setText('" . $title . "');\xa $.get(wSboUrl,function(data){\xa $('#jsExecute').html(data);
});\xa wSbo.attachEvent('onClose', function(win){
win.hide();
if(win._evtSource != null){\xa win._evtSource.close();\xa }
return false;
});
}else{\xa $.get(wSboUrl,function(data){
$('#jsExecute').html(data);\xa });
wSbo.show();
wSbo.setDimension( wSbo._initialPosition.dimension.width, wSbo._initialPosition.dimension.height);
wSbo.setPosition(wSbo._initialPosition.position.left, wSbo._initialPosition.position.top);\xa }\xa }\xa "; goto ZHGSj; P0rnN: if (!($pluginCmsProperties["Title"] != '')) { goto u1yJF; } goto WBXMo; yOoUw: if (!SC_TOOLS) { goto i0LLi; } goto F1Rdl; dTkGq: CiIeH: goto e1f2M; WBMNQ: GOYZj: goto thJbh; i3fpa: goto YvApB; goto tn5LR; hZdFh: $pdt_toolbar_js_action = ''; goto eyb3O; C3I5V: $ids = Tools::getValue("open_man_grid", 0); goto Z1jDk; ufY0n: $prop_toolbar_js_action .= ob_get_contents(); goto X19V7; pEPQN: gSzjf: goto YcpN0; bJvHq: $menu_js_action .= " wVATScheduler.attachURL('" . SC_PS_PATH_ADMIN_REL . "index.php?tab=AdminModules&configure=scvatscheduler&token=" . $sc_agent->getPSToken("AdminModules") . "&tab_module=billing_invoicing&module_name=scvatscheduler'); "; goto md7sR; F1Rdl: foreach ($sc_tools_list as $tool) { goto pSiYx; gunPp: $pluginProductProperties["doOnProductRowSelected"] .= $pp->Property->doOnProductRowSelected; goto Y1fmf; IWxmt: $pluginProductProperties["Title"] .= $pp->Property->Title; goto z7xuS; rZx5J: $pluginCustomerProperties["ToolbarStateActions"] .= $cp->Property->ToolbarStateActions; goto g3uZX; QqYCu: if (!(file_exists(SC_TOOLS_DIR . $tool . "/ordOrderProperties.xml") && ($op = simplexml_load_file(SC_TOOLS_DIR . $tool . "/ordOrderProperties.xml")))) { goto n7T7W; } goto d_VKW; g3uZX: $pluginCustomerProperties["HideToolbarButtons"] .= $cp->Property->HideToolbarButtons; goto poyFL; YPQI7: $pluginCustomerProperties["ToolbarButtons"] .= $cp->Property->ToolbarButtons; goto Qi1f2; FN7gp: n7T7W: goto rUIHF; S8Nju: jGKcF: goto o941_; bSymH: $pluginManufacturerProperties["ToolbarButtons"] .= $op->Property->ToolbarButtons; goto krzJU; MqPl_: $pluginManufacturerProperties["doOnManufacturerRowSelected"] .= $op->Property->doOnManufacturerRowSelected; goto Wgzxb; I67Wl: if (!(file_exists(SC_TOOLS_DIR . $tool . "/cusCustomerProperties.xml") && ($cp = simplexml_load_file(SC_TOOLS_DIR . $tool . "/cusCustomerProperties.xml")))) { goto BmAqL; } goto XwSXW; WG8Um: $pluginManufacturerProperties["ToolbarStateActions"] .= $op->Property->ToolbarStateActions; goto cB4VR; Wgzxb: $pluginManufacturerProperties["DisplayPlugin"] .= $op->Property->DisplayPlugin; goto DJwAB; EdqIP: BmAqL: goto QqYCu; Qi1f2: $pluginCustomerProperties["ToolbarActions"] .= $cp->Property->ToolbarActions; goto rZx5J; poyFL: $pluginCustomerProperties["doOnCustomerRowSelected"] .= $cp->Property->doOnCustomerRowSelected; goto sI0Er; XwSXW: $pluginCustomerProperties["Title"] .= $cp->Property->Title; goto YPQI7; kGaLu: $pluginOrderProperties["doOnOrderRowSelected"] .= $op->Property->doOnOrderRowSelected; goto zMDBx; SjE3n: $pluginProductProperties["ToolbarStateActions"] .= $pp->Property->ToolbarStateActions; goto UJknl; zMDBx: $pluginOrderProperties["DisplayPlugin"] .= $op->Property->DisplayPlugin; goto FN7gp; LEiyR: $pluginCmsProperties["ToolbarButtons"] .= $op->Property->ToolbarButtons; goto PGQRG; rUIHF: if (!(file_exists(SC_TOOLS_DIR . $tool . "/cmsPageProperties.xml") && ($op = simplexml_load_file(SC_TOOLS_DIR . $tool . "/cmsPageProperties.xml")))) { goto jGKcF; } goto OOude; glPlg: if (!(file_exists(SC_TOOLS_DIR . $tool . "/catProductProperties.xml") && ($pp = simplexml_load_file(SC_TOOLS_DIR . $tool . "/catProductProperties.xml")))) { goto nv5TC; } goto IWxmt; Y1fmf: $pluginProductProperties["DisplayPlugin"] .= $pp->Property->DisplayPlugin; goto WhXJ7; OOude: $pluginCmsProperties["Title"] .= $op->Property->Title; goto LEiyR; d_VKW: $pluginOrderProperties["Title"] .= $op->Property->Title; goto Nksk9; EAdb2: $pluginManufacturerProperties["Title"] .= $op->Property->Title; goto bSymH; z7xuS: $pluginProductProperties["ToolbarButtons"] .= $pp->Property->ToolbarButtons; goto qdhQ1; krzJU: $pluginManufacturerProperties["ToolbarActions"] .= $op->Property->ToolbarActions; goto WG8Um; qVQg4: $pluginOrderProperties["ToolbarActions"] .= $op->Property->ToolbarActions; goto XppYX; Fn6o8: $pluginOrderProperties["HideToolbarButtons"] .= $op->Property->HideToolbarButtons; goto kGaLu; qdhQ1: $pluginProductProperties["ToolbarActions"] .= $pp->Property->ToolbarActions; goto SjE3n; o941_: if (!(file_exists(SC_TOOLS_DIR . $tool . "/manManufacturerProperties.xml") && ($op = simplexml_load_file(SC_TOOLS_DIR . $tool . "/manManufacturerProperties.xml")))) { goto R91T1; } goto EAdb2; cB4VR: $pluginManufacturerProperties["HideToolbarButtons"] .= $op->Property->HideToolbarButtons; goto MqPl_; wGgIw: $pluginCmsProperties["doOnCmsRowSelected"] .= $op->Property->doOnCmsRowSelected; goto EDgN2; EDgN2: $pluginCmsProperties["DisplayPlugin"] .= $op->Property->DisplayPlugin; goto S8Nju; ocPPT: $pluginCmsProperties["ToolbarStateActions"] .= $op->Property->ToolbarStateActions; goto hKXq1; vYDhs: goto eZIxT; goto HjbqH; nxzVF: eZIxT: goto TjuiK; DJwAB: R91T1: goto nxzVF; XppYX: $pluginOrderProperties["ToolbarStateActions"] .= $op->Property->ToolbarStateActions; goto Fn6o8; sI0Er: $pluginCustomerProperties["DisplayPlugin"] .= $cp->Property->DisplayPlugin; goto EdqIP; Nksk9: $pluginOrderProperties["ToolbarButtons"] .= $op->Property->ToolbarButtons; goto qVQg4; PGQRG: $pluginCmsProperties["ToolbarActions"] .= $op->Property->ToolbarActions; goto ocPPT; pSiYx: if (!in_array($tool, $scExtensions_toDisabledInScTools)) { goto n45vx; } goto vYDhs; UJknl: $pluginProductProperties["HideToolbarButtons"] .= $pp->Property->HideToolbarButtons; goto gunPp; HjbqH: n45vx: goto glPlg; WhXJ7: nv5TC: goto I67Wl; hKXq1: $pluginCmsProperties["HideToolbarButtons"] .= $op->Property->HideToolbarButtons; goto wGgIw; TjuiK: } goto Nle76; VJraF: $menu_js_action .= " window.open('" . getScExternalLink("support_creating_order") . "'); "; goto i3fpa; e1f2M: $menu_js_action .= "if (id=='teaser_cus_export_read'){ "; goto k0GJE; KACcS: $scModulesInfos = SCI::getScModulesInfos(); goto T0UsZ; TQamS: $menu_js_action .= "
}
if (id=='cat_catexport'){"; goto crU8F; em33c: if (!SC_TOOLS) { goto taTcn; } goto eeCm3; h5f9P: keW9l: goto WxPiW; sisTO: $menu_js_action .= "
}
if (id=='mar_segmentation' || id=='too_segmentation'){\xa if (!dhxWins.isWindow('toolsSegmentationWindow'))
{\xa toolsSegmentationWindow = dhxWins.createWindow('toolsSegmentationWindow', 50, 50, $(window).width()-100, $(window).height()-100);\xa toolsSegmentationWindow.setText('" . _l("Segmentation", 1) . "');\xa toolsSegmentationWindow.attachEvent('onClose', function(win){\xa toolsSegmentationWindow.hide();\xa return false;
});\xa $.get('index.php?ajax=1&act=all_win-segmentation_init',function(data){
$('#jsExecute').html(data);
});
\xa }else{
$.get('index.php?ajax=1&act=all_win-segmentation_init',function(data){
$('#jsExecute').html(data);\xa });\xa toolsSegmentationWindow.show();
}
}\xa if (id=='teaser_segmentation_read' || id=='too_teaser_segmentation_read'){
if (!dhxWins.isWindow('wSegTrialWindow'))\xa {\xa wSegTrialWindow = dhxWins.createWindow('wSegTrialWindow', 50, 50, 670, 550);\xa wSegTrialWindow.setText('" . _l("Segments management", 1) . "');\xa }\xa wSegTrialWindow.attachURL('index.php?ajax=1&act=all_gettrialtime&id_lang='+SC_ID_LANG+'&item=segmentation');\xa }"; goto ytjaS; YOmRH: irXDW: goto AHjGz; hZaNx: $menu_js_action .= "\xa wVATScheduler.attachEvent('onClose', function(win){\xa wVATScheduler.hide();\xa });\xa }"; goto LaSzI; XP2Pr: $prop_toolbar_js_action = "prop_tb._sb.setText('');"; goto U3rez; kpnUP: if (!(\Sc\Service\ScService::exists("shippingbo", true) && _r("MENU_SHIPPINGBO"))) { goto HZk8r; } goto WMQs_; hCuoT: RkiaT: goto HamJ6; i3gVH: $menu_js_action .= "\xa if (!dhxWins.isWindow('wImportCus')) {
wImportCus = dhxWins.createWindow('wImportCus', 50, 50, 1100, $(window).height()-75);
wImportCus.setText('" . _l("Import - Backup your base before any mass update!", 1) . "');
$.get('index.php?ajax=1&act=cus_win-import_init',function(data){
$('#jsExecute').html(data);\xa });
wImportCus.attachEvent('onClose', function(win){\xa wImportCus.hide();\xa return false;\xa });
}else{\xa $.get('index.php?ajax=1&act=cus_win-import_init',function(data){\xa $('#jsExecute').html(data);
});
wImportCus.show();
}\xa "; goto SmsZZ; IZn3D: $pluginOrderProperties["Title"] = trim(trim($pluginOrderProperties["Title"]), ","); goto ryZrV; xwLfw: $menu_js_action .= " if (confirm('" . _l("Are you sure you want to reset all prices drop?", 1) . "'))\xa {
$.get('index.php?ajax=1&act=cat_resetpricedrop&action=delsales', function(data){
displayProducts();
});
} "; goto kveBM; o1fBi: if (!(!empty($shops) && count($shops) > 1)) { goto AsiAr; } goto d7quG; od80x: $tmps = explode("-", $ids); goto YxUOJ; RaYGJ: $tmps = explode("-", $ids); goto eyMl5; NJAVG: SULyP: goto RaYGJ; OhDyM: if (!empty($ids)) { goto jGopF; } goto D0POU; Rin3L: Y84k9: goto Lb328; t85ZV: $ids = Tools::getValue("open_sup_grid", 0); goto OhDyM; OBWOO: if (!SCMS) { goto kgY_i; } goto phXej; T0UsZ: $menuConfiguration = array("Tools" => '', "ToolsActions" => ''); goto em33c; cJ_1m: $menu_js_action .= " window.open('" . getScExternalLink("export_orders_pro") . "');\xa pushOneUsage('menu-bo-link-scquickaccounting'); "; goto qkkVH; J5D6J: $tmps = explode("-", $ids); goto MIB5Q; WGqEi: $menu_js_action .= "if (id=='cms_tree'){\xa if(SC_PAGE=='cms_tree')\xa {\xa if (casState.ctrl == true) {
window.open('index.php?page=cms_tree');\xa } else {
tree_mode='single';\xa cms.cells('a').expand();
cms_tb.setItemState('withSubCateg', false, true);
cms_pagePanel.setText('" . _l("Cms", 1) . " " . _l("of", 1) . "'+cms_tree.getItemText(cmsselection));
}\xa }else{
if (casState.ctrl == true) {\xa window.open('index.php?page=cms_tree');
} else {\xa document.location='index.php?page=cms_tree';
}
}\xa }"; goto OBWOO; Kur24: $menu_js_action .= "if (id=='eservices'){
if (!dhxWins.isWindow('weServices'))\xa {
weServices = dhxWins.createWindow('weServices', 50, 50, $(window).width()-75, $(window).height()-75);\xa weServices.setText('" . _l("e-Services", 1) . " - " . _l("Managing your addons and services", 1) . "');
$.get('index.php?ajax=1&act=all_fizz_win-cart_init',function(data){
$('#jsExecute').html(data);\xa });
}else{
weServices.show();\xa }\xa }
"; goto cHiwj; WxPiW: if (!($menuConfiguration["Tools"] != '')) { goto u9KqJ; } goto Dgocs; iwIex: $title = _l("%s management", 1, array("<span class="shippingbo-title">Shippingbo</span>")); goto RrblS; WMQs_: $guide = Tools::getIsset("guide") ? "?guide" : ''; goto iwIex; ypCEo: $menu_js_action .= "dhtmlx.message({text:'" . _l("To run exports, you need to install samples files from Tools > Installation", 1) . "<br/><a target="_blank" href="" . getScExternalLink("support_csv_export_install") . "">" . _l("Read more", 1) . "</a>',type:'error'});"; goto XzuKP; MrVfn: if (version_compare(_PS_VERSION_, "1.5.0.0", ">=")) { goto zOfEq; } goto RfHu2; EY8rw: $menu_js_action .= "
if (id=='help_bug'){\xa if(!!window.Intercom) {\xa Intercom('showNewMessage');
} else {\xa window.open('" . getScExternalLink("contact") . "&email=" . $sc_agent->email . "&firstname=" . urlencode($sc_agent->firstname) . "&name=" . urlencode($sc_agent->lastname) . "');\xa }\xa }\xa if (id=='help_updates' || id=='help_updates2'){\xa window.open('" . getScExternalLink("support_update_history") . "');
}\xa if (id=='version' || id=='version2'){
if (!dhxWins.isWindow('wCoreUpdate'))\xa {
wCoreUpdate = dhxWins.createWindow('wCoreUpdate', 50, 50, 900, $(window).height()-75);\xa wCoreUpdate.setText('" . _l("Store Commander update", 1) . "');\xa wCoreUpdate.attachURL('index.php?ajax=1&act=core_update');\xa wCoreUpdate.setModal(true);\xa }else{\xa wCoreUpdate.show();
}
}
if (id=='cat_rebuildsumstock'){\xa $.get('index.php?ajax=1&act=cat_rebuildsumstock',function(data){\xa dhtmlx.message({text:data,type:'info',expire:5000});
});
}\xa if (id=='cat_rebuildleveldepth'){
if (!dhxWins.isWindow('wRebuildLevelDepth'))\xa {
wRebuildLevelDepth = dhxWins.createWindow('wRebuildLevelDepth', 200, 100, 400, 250);\xa wRebuildLevelDepth.setText('" . _l("Check and fix categories", 1) . "');\xa wRebuildLevelDepth.attachEvent('onClose', function(win){\xa wRebuildLevelDepth.hide();
return false;\xa });\xa $.post('index.php?ajax=1&act=cat_win-rebuildleveldepth_init',function(data){
$('#jsExecute').html(data);
});\xa\xa }else{\xa $.post('index.php?ajax=1&act=cat_win-rebuildleveldepth_init',function(data){
$('#jsExecute').html(data);\xa });
wRebuildLevelDepth.show();
}
}\xa if (id=='cat_rebuildlangfield'){\xa $.get('index.php?ajax=1&act=cat_rebuildlangfield',function(data){
dhtmlx.message({text:data,type:'info',expire:5000});\xa });
}
if (id=='cat_rebuildproductprice'){
if (confirm('" . _l("Are you sure you want to rebuild product prices?", 1) . "'))\xa $.get('index.php?ajax=1&act=cat_rebuildproductprice',function(data){
dhtmlx.message({text:data,type:'info',expire:5000});\xa });
}
if (id=='cat_fillcoverimage'){
$.get('index.php?ajax=1&act=cat_fillcoverimage',function(data){
dhtmlx.message({text:data,type:'info',expire:5000});
});
}
if (id=='help_test'){
if (!dhxWins.isWindow('wTest'))\xa {
wTest = dhxWins.createWindow('wTest', 50, 50, 750, $(window).height()-75);
wTest.button('park').hide();\xa wTest.button('minmax').hide();\xa wTest.setText('Test');
}else{\xa wTest.show();
}\xa wTest.attachURL('index.php?ajax=1&act=test');
wTest.attachEvent('onClose', function(win){\xa wTest.hide();\xa return false;
});\xa }\xa if (id=='trends_shop'){\xa if (!dhxWins.isWindow('wTrendsShop'))
{
wTrendsShop = dhxWins.createWindow('wTrendsShop', 50, 50, $(window).width()-75, $(window).height()-75);
wTrendsShop.setText('" . _l("Stats and trends", 1) . "');
$.get('index.php?ajax=1&act=all_win-trendsshop_init',function(data){
$('#jsExecute').html(data);
});
}else{
wTrendsShop.show();\xa }
wTrendsShop.attachEvent('onClose', function(win){
wTrendsShop.hide();
return false;
});\xa }
"; goto Kur24; lRwjD: $menu_js_action .= "\xa }\xa if (id=='cus_tools_format_capitalize'){
setFormatData('capitalize');\xa }
if (id=='cus_tools_format_uppercase'){
setFormatData('uppercase');\xa }\xa if (id=='emailing'){
alert('Not yet available');\xa }\xa if (id=='tools_clearcookies_all'){\xa clearConfigCookie('all');
}
if (id=='config_ebay'){
if (!dhxWins.isWindow('weBay'))
{
weBay = dhxWins.createWindow('weBay', 50, 50, 1000, $(window).height()-75);\xa weBay.setText('eBay');\xa weBay.attachURL('" . SC_PS_PATH_ADMIN_REL . "index.php?tab=AdminModules&configure=ebay&tab_module=market_place&module_name=ebay&token=" . $sc_agent->getPSToken("AdminModules") . "');\xa }
}\xa if (id=='config_createquickaccess'){
$.get('index.php?ajax=1&act=core_createlink', function(data){\xa dhtmlx.message({text:data,type:'info',expire:5000});\xa });
}\xa if (id=='permissions'){
if (!dhxWins.isWindow('wCorePermissions'))\xa {
wCorePermissions = dhxWins.createWindow('wCorePermissions', 50, 50, Math.min($(window).width()-100, 1000), $(window).height()-75);\xa wCorePermissions.setText('" . _l("User permissions", 1) . "');\xa $.get('index.php?ajax=1&act=core_permissions_init',function(data){\xa $('#jsExecute').html(data);
});
}
}
if (id=='config_createcsvimportsample'){\xa $.get('index.php?ajax=1&act=core_install_cat_import', function(data){\xa dhtmlx.message({text:data,type:'info',expire:5000});\xa });
}
if (id=='config_createcsvexportsample'){\xa $.get('index.php?ajax=1&act=core_install_cat_export', function(data){
alert(data);
document.location='index.php';
});\xa }\xa if (id=='config_changehashdir'){
"; goto IbGM1; aXgnX: goto OnWuH; goto ZPIKv; SmsZZ: $menu_js_action .= "\xa }
if(id=='cat_synchro_cats_positions'){\xa if (!dhxWins.isWindow('wSynchroCatsPos'))\xa {\xa wSynchroCatsPos = dhxWins.createWindow('wSynchroCatsPos', 50, 50, 800, 500);\xa wSynchroCatsPos.setText('" . _l("Synchronize the categories positions on multiple shops", 1) . "');\xa $.get('index.php?ajax=1&act=cat_win-categorysynch_init',function(data){
$('#jsExecute').html(data);
});\xa wSynchroCatsPos.setModal(true);
}else{\xa $.get('index.php?ajax=1&act=cat_win-categorysynch_init',function(data){
$('#jsExecute').html(data);\xa });\xa wSynchroCatsPos.show();
wSynchroCatsPos.setModal(true);\xa }\xa }\xa if (id=='cat_management'){
if (!dhxWins.isWindow('wCatManagement'))
{\xa wCatManagement = dhxWins.createWindow('wCatManagement', 0, 28, $(window).width(), $(window).height()-28);
wCatManagement.setText('" . _l("Categories management", 1) . "');
$.get('index.php?ajax=1&act=cat_win-catmanagement_init',function(data){
$('#jsExecute').html(data);
});
wCatManagement.attachEvent('onClose', function(win){\xa wCatManagement.hide();\xa return false;
});\xa }else{
$.get('index.php?ajax=1&act=cat_win-catmanagement_init',function(data){
$('#jsExecute').html(data);\xa });\xa wCatManagement.show();
}
}\xa if (id=='cat_specificprice'){\xa if (!dhxWins.isWindow('wSpecificPrice'))\xa { "; goto GfnFU; Z1jDk: if (!empty($ids)) { goto SULyP; } goto zXW8s; nja0p: $menu_js_action .= " if(SC_PAGE=='ord_tree')
{
if (casState.ctrl == true) {
window.open('index.php?page=ord_tree');\xa }\xa } else {\xa if (casState.ctrl == true) {\xa window.open('index.php?page=ord_tree');
} else {\xa document.location='index.php?page=ord_tree';
}
}"; goto JhIaY; ZPIKv: Z3N41: goto ypCEo; eW3P1: if (!$scModulesInfos["scaffiliation"]["installed"]) { goto DiCD0; } goto RB2Dr; YSNBM: fT8vz: goto Tii52; A02WV: $menu_js_action .= " }"; goto ambrI; Ebqw4: if (!(defined("SC_ExportCustomers_ACTIVE") && SC_ExportCustomers_ACTIVE == 1 && _r("MENU_CUS_EXPORTCUSTOMERS"))) { goto CiIeH; } goto RJQxt; Nle76: WTJbd: goto asjzQ; tn5LR: BP6ka: goto OmDlc; jVts2: $menu_js_action .= " window.open('" . getScExternalLink("affiliation_programm") . "'); "; goto sisTO; dUvK1: $pluginCustomerProperties["Title"] = trim(trim($pluginCustomerProperties["Title"]), ","); goto VUaKr; GLKs4: $menu_js_action .= " if (id=='cat_import'){"; goto CdFjy; phXej: $sql_shop = "SELECT id_shop, name
FROM " . _DB_PREFIX_ . "shop\xa WHERE deleted != '1'"; goto gzE2c; GQU9c: u9KqJ: goto pWI3i; YcpN0: i0LLi: goto XP2Pr; RfHu2: $url = "index.php?tab=AdminTerminator&token=" . $sc_agent->getPSToken("AdminTerminator"); goto Opv3j; u_TwK: eval($eval); goto qkNCx; Lb328: AsiAr: goto UAjKz; UAjKz: kgY_i: goto ET6ug; ryZrV: Sr5wt: goto P0rnN; CC5qm: $menu_js_action .= "\xa }\xa if (id=='cus_import'){"; goto i3gVH; QA7l8: if ($ajax) { goto ZmQ1U; } goto KACcS; QoEmZ: $menu_js_action .= "
if (id=='link_pse'){\xa window.open('https://www.storecommander.com');
}
if (id=='help_help'){\xa window.open('" . getScExternalLink("support_home") . "');\xa }\xa if (id=='help_tips_display'){\xa if (!dhxWins.isWindow('wTips'))
{\xa wTips = dhxWins.createWindow('wTips', 150, 30, 800, Math.min(725,$(window).height()-30));
wTips.button('park').hide();
wTips.button('minmax').hide();
wTips.setText('" . _l("Tips", 1) . " - " . _l("Find all tips in Help > Tips", 1) . "');\xa wTips.attachURL('tips/index.php?disp=fronttip&lang=" . $user_lang_iso . "&id_employee=" . $sc_agent->id_employee . "', true);\xa wTips.attachEvent('onClose', function(win){
return true;
});\xa }else{\xa wTips.attachURL('tips/index.php?disp=fronttip&lang=" . $user_lang_iso . "&id_employee=" . $sc_agent->id_employee . "', true);
wTips.show();
}
}
if (id=='help_tips_settings'){\xa if (!dhxWins.isWindow('wTips'))
{
wTips = dhxWins.createWindow('wTips', 150, 30, 800, Math.min(725,$(window).height()-30));
wTips.button('park').hide();\xa wTips.button('minmax').hide();
wTips.setText('" . _l("Tips", 1) . "');
wTips.attachURL('tips/index.php?disp=preference&lang=" . $user_lang_iso . "&id_employee=" . $sc_agent->id_employee . "', true);
wTips.attachEvent('onClose', function(win){\xa return true;\xa });\xa }else{
wTips.attachURL('tips/index.php?disp=preference&lang=" . $user_lang_iso . "&id_employee=" . $sc_agent->id_employee . "', true);
wTips.show();
}
}
if (id=='help_enterlicense'){\xa if (!dhxWins.isWindow('wEnterLicense'))
{\xa wEnterLicense = dhxWins.createWindow('wEnterLicense', 300, 200, 600, 300);
wEnterLicense.setModal(true);\xa wEnterLicense.button('park').hide();\xa wEnterLicense.button('minmax').hide();\xa wEnterLicense.setText('" . _l("Enter your license key", 1) . "');
wEnterLicense.attachURL('index.php?ajax=1&act=core_license&a=displaysetform', true);
wEnterLicense.attachEvent('onClose', function(win){\xa
if (dhxWins.isWindow('wUpgradeLicense')) {setTimeout('wUpgradeLicense.setModal(true);',1);}\xa return true;
});\xa }\xa }"; goto EY8rw; ET6ug: $menu_js_action .= "
if (id=='link_psbo'){\xa window.open('" . SC_PS_PATH_ADMIN_REL . "index.php');\xa }
if (id=='link_ps'){
window.open('http://www.prestashop.com');\xa }
if (id=='mar_affiliation'){
wAffiliation = dhxLayout.dhxWins.createWindow('wAffiliation', 0, 25, $(window).width(), $(window).height()-25);
wAffiliation.setText('" . _l("Affiliation program", 1) . "');
$.get('index.php?ajax=2&p=affiliation/affiliation',function(data){\xa $('#jsExecute').html(data);\xa });\xa wAffiliation.attachEvent('onClose', function(win){\xa wAffiliation.hide();
});
}
if (id=='teaser_affiliation_read'){ "; goto jVts2; p9IPo: $menu_js_action .= "\xa if(SC_PAGE=='cusm_tree')\xa {
if (casState.ctrl == true){
window.open('index.php?page=cusm_tree');\xa }\xa }else{\xa if (casState.ctrl == true) {\xa window.open('index.php?page=cusm_tree');
} else {\xa document.location='index.php?page=cusm_tree';\xa }
}"; goto lRwjD; X19V7: ob_end_clean(); goto AtGoN; DuAwf: $menu_js_action .= "
if (id=='acc_quickaccounting')
{
if (!dhxWins.isWindow('wExportOrders'))\xa {
wExportOrders = dhxWins.createWindow('wExportOrders', 50, 50, $(window).width()-100, $(window).height()-100);
wExportOrders.setText('" . _l("Order Export Pro", 1) . "');
wExportOrders.attachEvent('onClose', function(win){
wExportOrders.hide();\xa return false;
});
$.get('index.php?ajax=1&act=ord_win-export_init',function(data){\xa $('#jsExecute').html(data);
});
}else{
$.get('index.php?ajax=1&act=ord_win-export_init',function(data){\xa $('#jsExecute').html(data);
});\xa wExportOrders.show();
}\xa }
"; goto xFUDT; e5he1: ob_start(); goto hf9hr; xBUmx: fGDkc: goto qG31H; K2Cbe: goto q3d4X; goto NJAVG; HamJ6: $pluginProductProperties = array("Title" => '', "ToolbarButtons" => '', "ToolbarActions" => '', "ToolbarStateActions" => '', "HideToolbarButtons" => '', "doOnProductRowSelected" => '', "DisplayPlugin" => ''); goto VI0Wk; m6YsG: $menu_js_action .= "
if (id=='cus_groupmanagement'){\xa if (!dhxWins.isWindow('wGroupManagement'))\xa {
wGroupManagement = dhxWins.createWindow('wGroupManagement', 50, 50, 1050, $(window).height()-75);\xa wGroupManagement.setText('" . _l("Customer groups", 1) . "');
$.get('index.php?ajax=1&act=cus_win-groupmanagement_init',function(data){\xa $('#jsExecute').html(data);\xa });\xa wGroupManagement.attachEvent('onClose', function(win){\xa wGroupManagement.hide();\xa return false;\xa });\xa }else{
wGroupManagement.show();\xa }\xa } "; goto GLKs4; NCwml: $eval = "?" . ">" . $menuConfiguration["ToolsActions"]; goto yUy91; OL223: Vr2UN: goto C3I5V; pWI3i: taTcn: goto duf83; EDDFo: $menu_js_action .= " } "; goto qvaBF; eeCm3: foreach ($sc_tools_list as $tool) { goto h23oD; sYm2o: fYwMA: goto rNRX1; yOaT0: vnjk9: goto AzX0t; rNRX1: if (!(file_exists(SC_TOOLS_DIR . $tool . "/menu.xml") && ($mc = simplexml_load_file(SC_TOOLS_DIR . $tool . "/menu.xml")))) { goto NsEGr; } goto K4gbS; h23oD: if (!in_array($tool, $scExtensions_toDisabledInScTools)) { goto fYwMA; } goto VuYsB; K4gbS: $menuConfiguration["Tools"] .= $mc->menuTools->content; goto MP9uu; VuYsB: goto vnjk9; goto sYm2o; MP9uu: $menuConfiguration["ToolsActions"] .= $mc->menuTools->actions; goto att6T; att6T: NsEGr: goto yOaT0; AzX0t: } goto h5f9P; l06oz: if (!($pluginOrderProperties["Title"] != '')) { goto Sr5wt; } goto IZn3D; qG31H: $menu_js_action .= " wVATScheduler.attachURL('" . SC_PS_PATH_ADMIN_REL . "index.php?controller=AdminModules&configure=scvatscheduler&token=" . $sc_agent->getPSToken("AdminModules") . "&tab_module=billing_invoicing&module_name=scvatscheduler'); "; goto P8noC; G05EY: $menu_js_action .= "\xa if (id=='cat_advancedsearchseo'){\xa if (!dhxWins.isWindow('wAdvancedSearchSeo')) {\xa wAdvancedSearchSeo = dhxWins.createWindow('wAdvancedSearchSeo', 50, 50, $(window).width()-100, $(window).height()-75);\xa wAdvancedSearchSeo.setText('" . _l("%s - SEO Pages", 1, array("Advanced Search")) . "');\xa $.get('index.php?ajax=1&act=cat_win-advancedsearchseo_init',function(data){
$('#jsExecute').html(data);\xa });\xa wAdvancedSearchSeo.attachEvent('onClose', function(win){
wAdvancedSearchSeo.hide();\xa return false;\xa });\xa }else{\xa $.get('index.php?ajax=1&act=cat_win-advancedsearchseo_init',function(data){
$('#jsExecute').html(data);\xa });\xa wAdvancedSearchSeo.show();
}\xa }
"; goto zpsDR; duf83: $menu_js_action = "
if(id.includes("_forbidden")) {\xa window.open("" . getScExternalLink("forbidden_items_link") . "", "_blank");
return false;
}\xa "; goto uMsBi; thJbh: $menu_js_action .= "
if (id=='terminator'){\xa wTerminator = dhxLayout.dhxWins.createWindow('wTerminator', 0, 25, $(window).width(), $(window).height()-25);
wTerminator.setText('" . _l("Database cleaning and optimization", 1) . "');\xa wTerminator.attachURL('" . SC_PS_PATH_ADMIN_REL . $url . "');\xa wTerminator.attachEvent('onClose', function(win){\xa wTerminator.hide();\xa });\xa } "; goto vi0rE; EaDoY: if (!(defined("SC_ExportOrders_ACTIVE") && SC_ExportOrders_ACTIVE == 1 && _r("MENU_ORD_EXPORTORDERS"))) { goto UZRyk; } goto DuAwf; cHiwj: $menu_js_action .= "
if (id=='eservices_project'){
loadWindoweServicesProject();
}\xa if(id=='tools_links_manage'){\xa openSettingsWindow('Application','Menu');
}
if(id=='early_access')
{
if (!dhxWins.isWindow('wEarlyAccess'))\xa {\xa wEarlyAccess = dhxWins.createWindow('wEarlyAccess', 50, 50, 330, 280);\xa dhxWins.window('wEarlyAccess').center();\xa wEarlyAccess.setText('" . _l("Early Access", 1) . "');\xa $.get('index.php?ajax=1&act=all_win-earlyaccess_init',function(data){\xa $('#jsExecute').html(data);
});
}else{
wEarlyAccess.show();
wEarlyAccess.bringToTop();\xa }\xa }
"; goto NCwml; zs1t4: $pluginManufacturerProperties["Title"] = trim(trim($pluginManufacturerProperties["Title"]), ","); goto pEPQN; oRxfX: $menu_js_action .= " }\xa if (id=='cat_resetpricedrop'){ "; goto xwLfw; JhIaY: $menu_js_action .= " }
if(id=='ord_cartrules') {
if (!dhxWins.isWindow('wCartRules')) {\xa wCartRules = dhxWins.createWindow('wCartRules', 0, 28, $(window).width(), $(window).height()-28);\xa wCartRules.setText('" . _l("Discount vouchers (cart rules)", 1) . "');
$.get('index.php?ajax=1&act=ord_win-cartrules_init',function(data){
$('#jsExecute').html(data);\xa });\xa wCartRules.attachEvent('onClose', function(win){
wCartRules.hide();\xa return false;\xa });\xa }else{
$.get('index.php?ajax=1&act=ord_win-cartrules_init',function(data){
$('#jsExecute').html(data);\xa });
wCartRules.show();
}
}
if(id=='ord_states') {\xa if (!dhxWins.isWindow('wOrderStates')) {
wOrderStates = dhxWins.createWindow('wOrderStates', 0, 28, $(window).width()/1.1, $(window).height()/1.1);
wOrderStates.center();
wOrderStates.setText('" . _l("Manage order statuses", 1) . "');
$.get('index.php?ajax=1&act=ord_win-states_init',function(data){
$('#jsExecute').html(data);
});\xa wOrderStates.attachEvent('onClose', function(win){\xa wOrderStates.hide();\xa return false;
});\xa }else{\xa $.get('index.php?ajax=1&act=ord_win-states_init',function(data){\xa $('#jsExecute').html(data);
});\xa wOrderStates.show();\xa }\xa }
if(id=='ord_win_makeorder') {"; goto SkW0_; qvaBF: $as_version = SCI::getModuleVersion("pm_advancedsearch4"); goto VCBSd; GOzHK: YvApB: goto A02WV; RJQxt: $menu_js_action .= "if (id=='cus_export')\xa {\xa if (!dhxWins.isWindow('wExportCustomers'))
{\xa wExportCustomers = dhxWins.createWindow('wExportCustomers', 50, 50, $(window).width()-100, $(window).height()-100);\xa wExportCustomers.setText('" . _l("Customer Export Pro", 1) . "');\xa wExportCustomers.attachEvent('onClose', function(win){\xa wExportCustomers.hide();\xa return false;
});
$.get('index.php?ajax=1&act=cus_win-export_init',function(data){\xa $('#jsExecute').html(data);\xa });\xa }else{\xa $.get('index.php?ajax=1&act=cus_win-export_init',function(data){
$('#jsExecute').html(data);\xa });
wExportCustomers.show();
}\xa }"; goto dTkGq; VI0Wk: $pluginCustomerProperties = array("Title" => '', "ToolbarButtons" => '', "ToolbarActions" => '', "ToolbarStateActions" => '', "HideToolbarButtons" => '', "doOnCustomerRowSelected" => '', "DisplayPlugin" => ''); goto RtZcA; F_TAD: ob_end_clean(); goto hZdFh; GAqPd: zOfEq: goto c2UAA; U3rez: $eval = "?" . ">" . $pluginProductProperties["ToolbarActions"]; goto e5he1; Y97B3: $pluginManufacturerProperties = array("Title" => '', "ToolbarButtons" => '', "ToolbarActions" => '', "ToolbarStateActions" => '', "HideToolbarButtons" => '', "doOnManufacturerRowSelected" => '', "DisplayPlugin" => ''); goto oWkD9; yUy91: ob_start(); goto u_TwK; RscLz: $menu_js_action .= " if (!dhxWins.isWindow('wCatImport')) {\xa wCatImport = dhxWins.createWindow('wCatImport', 50, 50, 1050, $(window).height()-75);\xa wCatImport.setText('" . _l("Import - Backup your base before any mass update!", 1) . "');
$.get('index.php?ajax=1&act=cat_win-catimport_init',function(data){
$('#jsExecute').html(data);\xa });\xa wCatImport.attachEvent('onClose', function(win){\xa wCatImport.hide();
return false;
});\xa }else{\xa $.get('index.php?ajax=1&act=cat_win-catimport_init',function(data){
$('#jsExecute').html(data);
});
wCatImport.show();\xa }
"; goto TQamS; t3fsK: ZmQ1U:
goto HDIPa; A4qvh: class CutOut { public static $Cutout_onePerImage = 0.2; public static function getApiId() { return "6441"; } public static function getBaseUrl() { goto uP2Ep; Q1865: $api_url = "https://" . $api_key . ":" . $api_pass . "@" . "clippingmagic.com/api/v1/"; goto TZAoU; uP2Ep: $api_key = "6441"; goto aucsR; aucsR: $api_pass = "qhvhi44162d0n6brvgh3ohru8e1j1n3u0eogk9lmve3k7fmbghvf"; goto Q1865; TZAoU: return $api_url; goto IuWUp; IuWUp: } public static function getPrice($nb_images) { goto OL032; cbAzQ: YbAch: goto AAmzB; il_TO: IOJXL: goto Gy4yE; JRNdS: return self::$Cutout_onePerImage * $nb_images; goto lU6y3; Gy4yE: return 0; goto cbAzQ; OL032: if (SC_DEMO || defined("SUB9EHS4PLUS") && SUB9EHS4PLUS == "1") { goto IOJXL; } goto JRNdS; lU6y3: goto YbAch; goto il_TO; AAmzB: } public static function payment($nb_images) { goto ii5d3; tCRiZ: $posts["URLCALLING"] = "#"; goto zs25d; zs25d: if (SC_DEMO || defined("SUB9EHS4PLUS") && SUB9EHS4PLUS == "1") { goto RlGFj; } goto Fu3vo; eAe9b: if (!(!empty($ret["code"]) && $ret["code"] == "200")) { goto em6a4; } goto i3XDs; fY4UZ: $licence = SCI::getConfigurationValue("SC_LICENSE_KEY"); goto OBf6P; yXnrf: $posts["SUBSCRIPTION"] = "1"; goto w9ftn; yRc2T: if (!(defined("IS_SUBS") && IS_SUBS == "1")) { goto HUV8M; } goto yXnrf; VA3XI: OLBbW: goto oiUls; dZ3Az: goto OLBbW; goto yGfLG; AM9Vz: $ret = makeCallToOurApi("Fizz/Transaction", $headers, $posts); goto eAe9b; OBf6P: $headers = array(); goto kbh5B; OQI6G: $posts["LICENSE"] = "#"; goto tCRiZ; kbh5B: $posts = array(); goto Wjp9e; oiUls: $posts["reason"] = "cut out image"; goto yRc2T; i3XDs: Configuration::updateValue("SC_WALLET_AMOUNT", $ret["wallet"]); goto LBUhV; ii5d3: if (empty($nb_images)) { goto zYF6R; } goto fY4UZ; yGfLG: RlGFj: goto WtKGa; LBUhV: em6a4: goto DMGFQ; DMGFQ: zYF6R: goto Aj0JE; Fu3vo: $posts["amount"] = "-" . $nb_images * self::$Cutout_onePerImage; goto dZ3Az; WtKGa: $posts["amount"] = 0; goto VA3XI; Wjp9e: $posts["KEY"] = "gt789zef132kiy789u13v498ve15nhry98"; goto OQI6G; w9ftn: HUV8M: goto AM9Vz; Aj0JE: } public static function upload($image_path) { goto cvbi6; O2Sbi: FRjbx: goto D4MLi; MBKuC: goto FRjbx; goto F5HRV; plFM9: Requests::register_autoloader(); goto gCFaM; ZKw8m: $api_url = self::getBaseUrl() . "images"; goto f4wL8; F5HRV: RpH4H: goto ZKw8m; f4wL8: require_once SC_DIR . "lib/php/Requests/Requests.php"; goto plFM9; fpaJT: return array("type" => "error", "message" => _l("You don't have enough Fizz in your wallet for this action. Please buy Fizz in e-Services menu.")); goto MBKuC; gCFaM: try { goto IlcvA; UGQGh: $response = Requests::post($api_url, $header, $data); goto hgGmq; hgGmq: if ($response->status_code == "200" && $response->success) { goto pFNZy; } goto gycVG; MjNsB: UxDVi: goto NaOwu; GOXKY: return $r["image"]; goto nze4_; h7uOx: if (!empty($r["image"]["id"]) && !empty($r["image"]["secret"])) { goto J6Ba0; } goto x2MFa; IlcvA: $header = array("Content-Type" => "multipart/form-data"); goto atQvq; FUnrk: goto UxDVi; goto SH7Hc; SH7Hc: pFNZy: goto iQJ3X; ZLtwE: QvnXA: goto MjNsB; iQJ3X: $r = json_decode($response->body, true); goto h7uOx; atQvq: $data = array("image" => new Requests_File($image_path)); goto UGQGh; x2MFa: if (!empty($r["error"]["message"])) { goto K4Tnj; } goto pndVv; sJivd: K4Tnj: goto GzET2; nze4_: goto QvnXA; goto sJivd; gycVG: return array("type" => "error", "message" => "error#" . $response->status_code); goto FUnrk; pndVv: goto QvnXA; goto yT3_E; GzET2: return array("type" => "error", "message" => $r["error"]["message"]); goto ZLtwE; yT3_E: J6Ba0: goto GOXKY; NaOwu: } catch (Exception $e) { return array("type" => "error", "message" => $e->getMessage()); } goto O2Sbi; D4MLi: return array("type" => "error", "message" => _l("An error occured. Please contact our support.")); goto JKoKp; cvbi6: if (eServicesTools::checkHasFizz(self::$Cutout_onePerImage) === true || SC_DEMO || defined("SUB9EHS4PLUS") && SUB9EHS4PLUS == "1") { goto RpH4H; } goto fpaJT; JKoKp: } public static function download($id_image_cutout, $id_image) { goto wS2D2; IuJ2V: $api_url = self::getBaseUrl() . "images/" . $id_image_cutout; goto mpWvo; DAxGh: $return = 0; goto u9zyS; CMJfO: require_once SC_DIR . "lib/php/Requests/Requests.php"; goto bGUTd; a3Fby: $list_items = $projects[0]["list_items"]; goto ngPJr; HlGgK: if (!(defined("IS_SUBS") && IS_SUBS == "1")) { goto yw_KF; } goto mJasF; mJasF: $posts["SUBSCRIPTION"] = "1"; goto jx6qr; W8cTV: $posts["LICENSE"] = "#"; goto iJJIV; ngPJr: $res = explode("-", trim($list_items, "-")); goto GCa32; AsshQ: $projects = $ret["project"]; goto QDMHp; QDMHp: q24jZ: goto G73pE; mpWvo: $image_code = ''; goto CMJfO; qikPH: $posts["KEY"] = "gt789zef132kiy789u13v498ve15nhry98"; goto W8cTV; G73pE: if (empty($projects)) { goto rX6T_; } goto cy3jJ; x2238: $new_list_items = "-" . $new_list_items; goto DtDUP; orZNu: $return = 1; goto EMvGm; ozQ1F: if (!(defined("IS_SUBS") && IS_SUBS == "1")) { goto iYKTA; } goto cSmXN; afFFN: $posts["LICENSE"] = "#"; goto XayUG; iuYcP: $headers = array(); goto b75h_; bWA3F: return $return; goto mqPuv; b75h_: $posts = array(); goto qikPH; L_iFI: DCjXG: goto iuYcP; kAOYs: rX6T_: goto XCCoz; QuhNA: if (empty($new_list_items)) { goto ufm0x; } goto x2238; GCa32: $new_list_items = ''; goto gEAxr; iJJIV: $posts["URLCALLING"] = "#"; goto Z9zbw; wS2D2: $return = 0; goto IuJ2V; a6Ug7: try { goto bAv5W; vcy3t: G0t_F: goto dSHHc; PiEkd: $image_code = $response->body; goto vcy3t; X6YHf: if (!($response->status_code == "200" && !empty($response->body))) { goto G0t_F; } goto PiEkd; bAv5W: $response = Requests::get($api_url); goto X6YHf; dSHHc: } catch (Exception $e) { } goto T726u; uQVhp: $posts["KEY"] = "gt789zef132kiy789u13v498ve15nhry98"; goto afFFN; EMvGm: VrH2G: goto bWA3F; gEAxr: foreach ($res as $id) { goto BDF7p; BDF7p: if (!($id != $id_image)) { goto q3hKa; } goto TsvVd; Semxj: Ol9bh: goto nNdwg; UDocg: q3hKa: goto Semxj; TsvVd: $new_list_items .= $id . "-"; goto UDocg; nNdwg: } goto z7SYr; XayUG: $posts["URLCALLING"] = "#"; goto KtEAU; DtSdc: $headers = array(); goto e4iFV; KtEAU: $posts["list_items"] = $new_list_items; goto HlGgK; jx6qr: yw_KF: goto QhWQs; z7SYr: uW7Z2: goto QuhNA; u9zyS: goto VrH2G; goto L_iFI; bGUTd: Requests::register_autoloader(); goto a6Ug7; Wby18: $ret = makeCallToOurApi("Fizz/Project/GetByType", $headers, $posts); goto lEcTN; QhWQs: $ret = makeCallToOurApi("Fizz/Project/Update/" . $id_project, $headers, $posts); goto kAOYs; cy3jJ: $id_project = $projects[0]["id_project"]; goto a3Fby; T726u: if (!isJson($image_code)) { goto DCjXG; } goto DAxGh; XCCoz: cutout_createImage($id_image, $image_code); goto orZNu; cSmXN: $posts["SUBSCRIPTION"] = "1"; goto u3e45; u3e45: iYKTA: goto Wby18; lEcTN: if (!(!empty($ret["code"]) && $ret["code"] == "200")) { goto q24jZ; } goto AsshQ; e4iFV: $posts = array(); goto uQVhp; Z9zbw: $posts["type"] = "cutout"; goto ozQ1F; DtDUP: ufm0x: goto DtSdc; mqPuv: } } goto c06Z6; HDIPa: class eServicesTools { public static function checkHasFizz($price) { goto wsAwD; YUl3n: oYUO2: goto uC2jD; eYs_P: c_J0C: goto UCUIK; F3YIj: if ($wallet_amount >= $price) { goto c_J0C; } goto XyfXv; XyfXv: return false; goto Q9MYU; UCUIK: return true; goto YUl3n; wsAwD: $wallet_amount = getWallet(); goto F3YIj; Q9MYU: goto oYUO2; goto eYs_P; uC2jD: } } goto A4qvh; c06Z6: class Dixit { public static $Dixit_onePerWord = 0.1; public static $Dixit_onePerWordAdvanced = 0.14; public static $Dixit_cost_onePerWord = 0.06; public static $Dixit_cost_onePerWordAdvanced = 0.09; public static function getPrice($textes, $advanced = false) { goto Lhmnw; L1jjt: return $price; goto bx3VF; sDYd4: $price = $nb_words * ($advanced ? self::$Dixit_onePerWordAdvanced : self::$Dixit_onePerWord); goto L1jjt; Lhmnw: $nb_words = dixit_getTotalNbWords($textes); goto sDYd4; bx3VF: } public static function getCost($textes, $advanced = false) { goto tenwC; tenwC: $nb_words = dixit_getTotalNbWords($textes); goto w2PSK; w2PSK: $price = $nb_words * ($advanced ? self::$Dixit_cost_onePerWordAdvanced : self::$Dixit_cost_onePerWord); goto E3S2K; E3S2K: return $price; goto C2eub; C2eub: } } goto kxgzd; kxgzd: class CompressionImg { public static function convertFizzToCredit($id_project, $params, &$fizz_amount, &$credit_amount) { goto yfMha; EPM6B: XeUoK: goto kfvl9; gdZLC: $error = true; goto RW3ar; RW3ar: $message = _l("Error") . _l(":") . " " . _l("Not enough Fizz. Refill your wallet and re-start project") . " " . _l("Please contact our support"); goto yQhz9; bTtu5: $project_params["allowed_image_amount"] += (int) $lot_credit[$nb_fizz_to_decrement]["amount"]; goto AMn_2; IZgAP: $lot_credit = (array) $params["lot_credit"]; goto s81UE; yfMha: $nb_fizz_to_decrement = (int) $params["fizz_to_decrement"]; goto IZgAP; mhfpm: $message = _l("Error") . _l(":") . " " . _l("This amount of Fizz is wrong") . " (" . $nb_fizz_to_decrement . ")"; goto vLa29; xwzew: $transaction_params["reason"] = "credit compression image"; goto agBeV; EF6ku: XUT_b: goto rb8cb; sLavE: $update_project = makeCallToOurApi("Fizz/Project/Update/" . $id_project, array(), $credit_update_params); goto O2qjU; tKDjw: return array("error" => $error, "message" => $message); goto Ee1S7; d5MaR: if (!empty($decrement_fizz_wallet) && $decrement_fizz_wallet["code"] == 200) { goto WJ9CZ; } goto d_xCP; oK6bA: goto aiVBy; goto GKJBt; HTmzD: $credit_amount = (int) $project_params["allowed_image_amount"]; goto VkLXn; iZCDK: if ($nb_fizz_to_decrement > 0) { goto Td9Xb; } goto P1gMQ; I_4PQ: aiVBy: goto t8jFd; WinNg: goto dGKw9; goto aKdrH; kfvl9: if (eServicesTools::checkHasFizz($nb_fizz_to_decrement)) { goto h8zRy; } goto gdZLC; O2qjU: if (!empty($update_project) && $update_project["code"] == 200) { goto cDu2j; } goto yzb5Z; yzl71: $error = false; goto iZCDK; jdyce: $project_params = (array) $params["project_params"]; goto yzl71; rb8cb: joygc: goto Gt86P; P5VWi: WJ9CZ: goto LduFt; MsB3h: $error = true; goto mhfpm; vLa29: goto joygc; goto EPM6B; t8jFd: O0H93: goto EF6ku; d_xCP: $error = true; goto zEK5a; HiuNn: $message = _l("Error") . _l(":") . " " . _l("Impossible to update project with %s image credits.", null, array($lot_credit[$nb_fizz_to_decrement]["label"])) . " " . _l("Please contact our support"); goto oK6bA; Gt86P: dGKw9: goto tKDjw; U625E: goto O0H93; goto P5VWi; LduFt: $fizz_amount = (double) $decrement_fizz_wallet["wallet"]; goto QMhxL; VkLXn: $message = $lot_credit[$nb_fizz_to_decrement]["label"] . " " . _l("image credits added to your project."); goto I_4PQ; yQhz9: goto XUT_b; goto fwmrP; yzb5Z: $error = true; goto HiuNn; fwmrP: h8zRy: goto MIzWS; QMhxL: $credit_update_params = $url_params; goto bTtu5; GKJBt: cDu2j: goto HTmzD; s81UE: $url_params = (array) $params["url_params"]; goto jdyce; MIzWS: $transaction_params = $url_params; goto tIfoM; zEK5a: $message = _l("Error") . _l(":") . " " . _l("Impossible to convert %s Fizz to %s image credits.", null, array($nb_fizz_to_decrement, $lot_credit[$nb_fizz_to_decrement]["label"])) . " " . _l("Please contact our support"); goto U625E; Zm__R: $message = _l("Error") . _l(":") . " " . _l("This amount of Fizz is wrong") . _l(":") . "0"; goto WinNg; P1gMQ: $error = true; goto Zm__R; tIfoM: $transaction_params["amount"] = "-" . $nb_fizz_to_decrement; goto xwzew; AMn_2: $credit_update_params["params"] = json_encode($project_params); goto sLavE; V1Jnx: if (array_key_exists($nb_fizz_to_decrement, $lot_credit)) { goto XeUoK; } goto MsB3h; agBeV: $decrement_fizz_wallet = makeCallToOurApi("Fizz/Transaction", array(), $transaction_params); goto d5MaR; aKdrH: Td9Xb: goto V1Jnx; Ee1S7: } }
?>
Did this file decode correctly?
Original Code
<?php goto IagDX; IagDX: $cache_shop_by_product = array(); goto AoB5z; AoB5z: $cache_warehouse_by_product = array(); goto llYh1; llYh1: $cache_tax = array(); goto jcbJU; jcbJU: class SCI { protected static $scModulesInfos; public $ps_vers; public static function getDefaultCountryId() { goto HO6V7; Sm0rh: goto VHU9E; goto zJ3Il; zJ3Il: JjZF4: goto TAEPl; SN5Nq: $return = SC_CACHE_DEFAULT_COUNTRY_ID; goto Sm0rh; Qp6KX: return $return; goto MiKFQ; SVw1n: if (!defined("\x53\x43\137\103\101\x43\x48\x45\x5f\x44\x45\x46\101\125\114\x54\x5f\103\117\x55\116\124\x52\131\137\111\x44")) { goto JjZF4; } goto SN5Nq; HO6V7: $return = 0; goto SVw1n; TAEPl: $return = (int) self::getConfigurationValue("\120\x53\137\x43\117\125\x4e\x54\x52\131\137\x44\105\106\101\x55\x4c\x54", null, 0, (int) self::getSelectedShop()); goto axCW2; g3KOl: VHU9E: goto Qp6KX; axCW2: define("\x53\x43\137\x43\101\103\110\105\x5f\104\105\106\x41\125\x4c\124\137\x43\x4f\125\116\x54\x52\x59\137\x49\x44", $return); goto g3KOl; MiKFQ: } public static function hookExec($hook_name, $hookArgs = array(), $id_module = null) { goto J85qQ; u9r2H: return $result; goto wTZxd; HeUYy: if (SCMS) { goto ZykJN; } goto XXDVE; J85qQ: if (!empty(Context::getContext()->currency)) { goto s1N4f; } goto vzVLC; Er3ZW: if (!($hook_name == "\141\x63\x74\x69\x6f\x6e\x50\x72\157\144\x75\x63\x74\x55\160\144\141\164\x65")) { goto R3C_X; } goto f8nKg; pPPLM: p9iuW: goto u9r2H; CDRjS: goto yxefU; goto zkBE8; ZeMz8: if (!array_key_exists($hook_name, $old_to_new_hook)) { goto znOay; } goto UJ5qe; CMQBP: $result = Hook::exec(sc_array_key_exists(strtolower($hook_name), $alias) ? $alias[strtolower($hook_name)] : $hook_name, $hookArgs, $id_module, false, true, false, (int) self::getSelectedShop()); goto Vi_eF; OnGdw: $alias = Hook::getAllKnownNames($hook_name); goto WGXHn; zkBE8: hiiI6: goto OnGdw; UJ5qe: $hook_name = $old_to_new_hook[$hook_name]; goto ci3Z2; qXkSH: $old_to_new_hook = array("\165\x70\x64\141\x74\145\120\x72\157\144\x75\x63\x74" => "\x61\143\164\151\x6f\x6e\120\162\157\x64\165\143\164\x55\160\144\141\164\145", "\165\x70\x64\141\164\145\x50\162\157\144\165\143\164\x41\x74\x74\x72\151\142\x75\164\x65" => "\141\x63\x74\x69\157\x6e\x50\x72\x6f\144\x75\x63\x74\x41\164\164\x72\151\x62\165\164\x65\125\160\x64\141\164\145", "\167\141\x74\x65\162\x6d\141\162\153" => "\141\143\164\151\x6f\x6e\x57\141\x74\145\x72\x6d\x61\162\x6b"); goto ZeMz8; Vi_eF: cu1oP: goto FUmLr; ci3Z2: znOay: goto jzaIa; WGXHn: yxefU: goto Er3ZW; f8nKg: $old_value = Configuration::get("\x50\x53\137\x53\115\x41\122\x54\x59\137\103\114\105\x41\x52\137\x43\x41\x43\110\x45"); goto TwUWr; Yt45G: ZykJN: goto CMQBP; XMNMK: s1N4f: goto qXkSH; XXDVE: $result = Hook::exec(sc_array_key_exists(strtolower($hook_name), $alias) ? $alias[strtolower($hook_name)] : $hook_name, $hookArgs, $id_module); goto B0fdI; cwRfd: return; goto RFvu6; RFvu6: y0BlF: goto AkF1X; TwUWr: self::updateConfigurationValue("\120\x53\137\x53\115\x41\x52\124\131\137\x43\114\x45\x41\122\137\103\101\103\110\105", "\x6e\145\x76\x65\162"); goto EsDNf; B0fdI: goto cu1oP; goto Yt45G; FUmLr: if (!($hook_name == "\141\143\x74\151\x6f\x6e\x50\162\x6f\144\x75\x63\x74\x55\160\x64\141\164\x65")) { goto p9iuW; } goto LgyxH; LgyxH: self::updateConfigurationValue("\120\x53\137\x53\115\101\122\124\131\x5f\103\114\x45\101\x52\137\103\x41\x43\110\105", $old_value); goto pPPLM; AkF1X: if (version_compare(_PS_VERSION_, "\x31\x2e\67\x2e\61\x2e\60", "\x3e\75") && method_exists("\x48\157\x6f\x6b", "\147\x65\164\101\x6c\x6c\113\x6e\x6f\x77\x6e\x4e\141\x6d\145\x73")) { goto hiiI6; } goto dudlX; dudlX: $alias = Hook::getHookAliasList(); goto CDRjS; EsDNf: R3C_X: goto HeUYy; jzaIa: if (!(!_s("\x41\120\120\x5f\103\117\x4d\120\101\x54\137\x48\117\117\x4b") || !self::checkUsedHook($hook_name))) { goto y0BlF; } goto cwRfd; vzVLC: Context::getContext()->currency = Currency::getDefaultCurrency(); goto XMNMK; wTZxd: } public static function checkUsedHook($hook_name) { goto D0V1w; Bn0YR: if (isset($hook_list[self::getSelectedShop()])) { goto e7YFN; } goto YQASF; f8CJT: D_xmo: goto M2V90; D0V1w: $hook_list = json_decode(SC_HOOK_MODULE_LIST, true); goto Bn0YR; a5mOK: goto Gw4BI; goto jMBey; qo8R1: Nx59K: goto e1ELP; sW0OL: $hook_list_by_shop = $hook_list[self::getSelectedShop()]; goto Q2OAw; YQASF: $hook_list_by_shop = $hook_list; goto a5mOK; e1ELP: return sc_array_key_exists(strtolower($hook_name), $hook_list_by_shop); goto f8CJT; q0h9q: goto D_xmo; goto qo8R1; Nja3Q: if (!empty($hook_list)) { goto Nx59K; } goto i01YF; Q2OAw: Gw4BI: goto Nja3Q; jMBey: e7YFN: goto sW0OL; i01YF: return true; goto q0h9q; M2V90: } public static function addToShops($objectTableName, $objects_id = array(), $shops = array()) { goto l4nzE; dG2og: if (!empty($shops)) { goto sDlJb; } goto sAhPq; sAhPq: $shops = Shop::getShops(true, null, true); goto pvnaB; pvnaB: sDlJb: goto iUWxd; kouo2: return; goto tOoaQ; xbV2k: if (!count($newRelations)) { goto SH3fs; } goto NrbnQ; nHVKr: SH3fs: goto PK7CC; iUWxd: $relationsArray = Db::getInstance()->getValue("\x53\105\114\105\x43\124\40\107\x52\x4f\125\120\x5f\103\117\x4e\x43\x41\x54\50\x43\x4f\x4e\x43\x41\124\50\42\x28\x22\x2c\x69\144\137\x73\x68\x6f\160\x2c\x22\x2c\42\54\151\144\137" . pSQL($objectTableName) . "\x2c\x22\x29\x22\x29\40\x53\105\120\x41\122\x41\124\117\122\x20\x22\43\x22\x29\40\141\163\40\162\x65\x6c\x61\x74\x69\157\x6e\x73\12\x20\40\x20\x20\40\40\40\40\x20\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\x20\40\40\x20\40\x20\40\40\40\x20\40\40\40\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\x20\x20\40\40\x20\x20\x46\x52\117\x4d\40" . _DB_PREFIX_ . pSQL($objectTableName) . "\137\x73\150\157\x70\12\x20\40\40\40\x20\40\x20\x20\40\40\x20\40\40\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\40\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\40\40\40\x20\x20\x20\x20\40\x57\110\x45\122\x45\x20\151\144\x5f" . pSQL($objectTableName) . "\40\x49\x4e\40\x28" . implode("\54", $objects_id) . "\x29"); goto XDX4s; NrbnQ: $sql = "\111\116\x53\x45\122\124\40\x49\x4e\x54\x4f\x20" . _DB_PREFIX_ . pSQL($objectTableName) . "\137\163\150\x6f\160\x20\x28\x69\x64\137\x73\150\x6f\x70\54\x69\144\x5f" . pSQL($objectTableName) . "\x29\x20\126\101\x4c\125\105\x53\40" . join("\x2c", $newRelations); goto ZZOX4; vm3Ml: $newRelations = array(); goto ldV7H; tOoaQ: TTwIT: goto dG2og; XDX4s: $relationsArray = explode("\43", $relationsArray); goto vm3Ml; l4nzE: if (!empty($objects_id)) { goto TTwIT; } goto kouo2; Eq6qr: v0bI7: goto No9lb; ZZOX4: Db::getInstance()->Execute($sql); goto nHVKr; ldV7H: foreach ($shops as $id_shop) { goto r0EwK; mDaHQ: GGZgZ: goto IBXA_; glRDe: SI92A: goto mDaHQ; r0EwK: foreach ($objects_id as $id_object) { $newRelations[] = "\x28" . (int) $id_shop . "\54" . (int) $id_object . "\51"; u4mvt: } goto glRDe; IBXA_: } goto Eq6qr; No9lb: $newRelations = arrayDiffEmulation($newRelations, $relationsArray); goto xbV2k; PK7CC: } public static function duplicateImageToShops($object_id, $actual_shop_id, $shops = array()) { goto f7Ls0; ovwG0: $other_shops = array(); goto oEauI; q6Lvc: qzhoi: goto sBdqU; f7Ls0: if (!(empty($object_id) || empty($actual_shop_id) || empty($shops))) { goto qzhoi; } goto T5Ikl; DxjTH: $sql = "\x49\116\x53\x45\x52\x54\x20\x49\x4e\124\117\x20" . _DB_PREFIX_ . "\151\155\x61\147\x65\x5f\x73\x68\157\160\x20\x28\x60\151\x64\x5f\163\x68\x6f\x70\140\54\x60\x69\144\x5f\x69\x6d\141\x67\x65\140\x2c\140\151\144\137\160\x72\157\144\165\x63\164\140\54\x60\143\157\x76\145\x72\140\x29\40\126\101\x4c\125\x45\123\x20" . join("\x2c", $other_shops); goto UMIIG; oEauI: foreach ($shops as $shop) { goto YIfFV; YIfFV: if (!empty($image_actual_shop["\x63\157\166\145\x72"])) { goto qiGrH; } goto h4tjp; h4tjp: $image_actual_shop["\143\x6f\166\145\x72"] = "\x4e\x55\x4c\x4c"; goto AO0lo; IHqWz: $other_shops[] = "\x28" . (int) $shop . "\54" . (int) $image_actual_shop["\x69\144\137\x69\x6d\x61\x67\x65"] . "\54" . (int) $image_actual_shop["\x69\144\x5f\160\x72\157\144\x75\143\164"] . "\x2c" . $image_actual_shop["\x63\157\x76\145\x72"] . "\x29"; goto P_ISW; AO0lo: qiGrH: goto IHqWz; P_ISW: uBwCc: goto LbN1G; LbN1G: } goto yjF45; yjF45: cwXcP: goto LFVTj; kD2f6: GtIYp: goto QgzIb; T5Ikl: return; goto q6Lvc; sBdqU: Db::getInstance()->execute("\x44\x45\x4c\x45\x54\105\40\x46\x52\117\x4d\40" . _DB_PREFIX_ . "\x69\155\141\x67\x65\x5f\x73\150\157\160\40\x57\110\105\x52\x45\x20\151\144\137\x69\155\x61\147\145\40\x3d\x20\47" . (int) $object_id . "\47\x20\x41\x4e\x44\x20\x69\144\x5f\x73\x68\157\160\x20\x49\x4e\40\x28" . pInSQL(join("\x2c", $shops)) . "\51"); goto SFo8K; UMIIG: Db::getInstance()->execute($sql); goto kD2f6; SFo8K: $image_actual_shop = Db::getInstance()->getRow("\123\105\114\x45\103\x54\40\151\x6d\147\137\x73\56\x69\144\x5f\x73\150\x6f\x70\54\151\x6d\147\x5f\x73\x2e\151\144\137\151\155\x61\147\145\54\151\x6d\147\x5f\x73\x2e\143\x6f\x76\x65\162\54\x20\x69\56\151\x64\x5f\160\x72\x6f\144\165\x63\164\xa\40\40\40\40\x20\40\x20\40\x20\x20\40\x20\106\122\117\115\x20" . _DB_PREFIX_ . "\x69\155\141\x67\x65\x5f\163\x68\157\x70\x20\151\x6d\x67\x5f\163\xa\x20\40\x20\40\40\x20\x20\40\40\x20\40\40\x20\40\x20\40\111\116\x4e\105\x52\40\112\117\x49\x4e\40" . _DB_PREFIX_ . "\151\x6d\x61\x67\x65\40\x69\40\117\x4e\x20\50\151\155\147\137\163\x2e\x69\144\x5f\151\155\x61\x67\145\x3d\x69\56\151\144\137\151\155\x61\x67\145\51\12\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\127\110\105\122\x45\40\151\155\147\x5f\163\x2e\151\x64\x5f\151\155\x61\147\145\40\x3d\40\x27" . (int) $object_id . "\x27\x20\x41\116\x44\x20\151\155\x67\x5f\163\x2e\x69\144\x5f\x73\x68\157\x70\x3d\x27" . (int) $actual_shop_id . "\47"); goto ovwG0; LFVTj: if (!count($other_shops)) { goto GtIYp; } goto DxjTH; QgzIb: } public static function getLastPositionFromCategory($id_category, $id_shop = 1) { return Category::getLastPosition($id_category, $id_shop); } public static function imageResize($sourceFile, $destFile, $destWidth = null, $destHeight = null, $fileType = "\152\x70\147") { return @ImageManager::resize($sourceFile, $destFile, $destWidth, $destHeight, $fileType); } public static function updateConfigurationValue($key, $values, $html = false, $id_shop_group = 0, $id_shop = 0) { return Configuration::updateValue($key, $values, $html, $id_shop_group, $id_shop); } public static function getConfigurationValue($key, $id_lang = null, $id_shop_group = 0, $id_shop = 0) { return Configuration::get($key, $id_lang, $id_shop_group, $id_shop); } public static function getEcotaxTaxRate() { goto EQJaz; H1Upj: return $return; goto s3q6U; Ub7NI: $tax_calculator = $tax_manager->getTaxCalculator(); goto dx8_T; n_Xm9: zhFWQ: goto d6pa5; Yfj3m: $address = Address::initialize(null); goto kx0f2; oKRp3: if ((int) self::getConfigurationValue("\x50\123\137\x55\x53\x45\137\105\103\x4f\x54\x41\x58", null, 0, (int) self::getSelectedShop()) == 0) { goto fypFB; } goto Yfj3m; dx8_T: $return = $tax_calculator->getTotalRate() / 100 + 1; goto DyoV6; blB2f: vP4oD: goto H1Upj; nY0Fu: if (!defined("\x53\x43\x5f\103\101\103\110\x45\137\105\103\117\x54\101\130\x5f\x52\x41\124\x45")) { goto wTdMC; } goto eADA8; DHsiW: wTdMC: goto oKRp3; DyoV6: goto zhFWQ; goto pnfj9; kx0f2: $tax_manager = TaxManagerFactory::getManager($address, (int) Configuration::get("\120\x53\x5f\105\x43\x4f\124\101\x58\137\124\x41\x58\x5f\122\x55\x4c\105\123\x5f\107\x52\x4f\x55\x50\137\x49\x44", null, 0, (int) self::getSelectedShop())); goto Ub7NI; pnfj9: fypFB: goto kwghe; EQJaz: $return = 100; goto nY0Fu; eADA8: $return = SC_CACHE_ECOTAX_RATE; goto iS4Yt; iS4Yt: goto vP4oD; goto DHsiW; d6pa5: define("\123\103\x5f\103\x41\x43\110\x45\137\105\x43\x4f\x54\101\130\x5f\122\101\124\105", $return); goto blB2f; kwghe: $return = 1; goto n_Xm9; s3q6U: } public static function isEcotaxHasTaxRate() { $hasTaxes = Configuration::get("\x50\123\x5f\x45\x43\x4f\x54\101\x58\x5f\124\x41\130\x5f\x52\125\114\x45\123\137\107\x52\117\x55\x50\137\x49\104", null, Shop::getGroupFromShop(self::getSelectedShop()), self::getSelectedShop()); return $hasTaxes > 0; } public static function getSelectedShopActionList($string = false, $id_product = null) { goto GlHM8; I3UY3: $list = $string ? implode("\x2c", $list) : $list; goto o9p_3; qfuHc: goto sSutP; goto ql7gU; skyBO: $list = array(self::getSelectedShop()); goto qfuHc; R7gwn: $list_temp = array(); goto ubKp3; FLKDu: sa0aP: goto I3UY3; P7fXZ: if (empty($id_product)) { goto sa0aP; } goto R7gwn; h9R8q: $list = explode("\x2c", $_COOKIE["\x73\x63\x5f\163\x68\157\x70\x5f\x6c\151\163\164"]); goto nlwAj; ubKp3: $shops = self::getShopsByProduct($id_product); goto JRKrk; skyao: t0LHV: goto ZKvfi; ZKvfi: $list = $list_temp; goto FLKDu; ql7gU: jqr0N: goto h9R8q; GlHM8: $list = array(); goto R7j30; o9p_3: return $list; goto kplR1; JRKrk: foreach ($shops as $shop_id) { goto fNku8; SsCIU: $list_temp[] = $shop_id; goto GSHvj; GSHvj: weqPz: goto GxbRA; fNku8: if (!sc_in_array($shop_id, $list, "\x53\x43\111\123\x65\x6c\x65\x63\x74\123\150\157\x70\120\162\x6f\x64\165\x63\164")) { goto weqPz; } goto SsCIU; GxbRA: B1C88: goto jzE61; jzE61: } goto skyao; R7j30: if (!empty($_COOKIE["\163\x63\137\163\x68\x6f\160\137\x6c\x69\163\x74"])) { goto jqr0N; } goto skyBO; nlwAj: sSutP: goto P7fXZ; kplR1: } public static function getSelectedShop() { goto hyO4y; d9bHk: return (int) Configuration::get("\x50\123\x5f\x53\x48\x4f\120\x5f\x44\105\x46\x41\x55\114\x54"); goto lLybj; hyO4y: if (!SCMS) { goto lSRz7; } goto zN8s1; Xd6Bm: lSRz7: goto d9bHk; zN8s1: return isset($_COOKIE["\x73\x63\x5f\x73\150\x6f\x70\x5f\x73\145\154\x65\x63\164\x65\x64"]) ? (int) $_COOKIE["\x73\143\137\x73\150\157\160\137\163\145\154\x65\x63\x74\145\x64"] : 0; goto Xd6Bm; lLybj: } public static function getAllShops() { goto zrBwF; zt3B6: return $results; goto P7MAl; RiruA: $results = Db::getInstance()->executeS($sql); goto zt3B6; zrBwF: $sql = "\x53\x45\114\x45\103\x54\40\x73\x2e\x2a\12\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\106\122\117\x4d\40" . _DB_PREFIX_ . "\163\x68\157\x70\40\x73\xa\x20\40\40\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\40\x20\127\x48\x45\122\x45\40\x73\x2e\144\x65\x6c\145\164\x65\144\x20\75\40\60"; goto RiruA; P7MAl: } public static function getShopsByProduct($id_product) { goto M4ru5; GmCU3: oOd9M: goto D7Zix; xFpO7: $res = Db::getInstance()->executeS("\12\40\40\x20\x20\x20\40\x20\40\40\x20\40\40\40\x20\40\x20\x53\x45\114\105\x43\124\40\140\151\x64\137\x73\x68\157\x70\140\12\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\40\x46\x52\x4f\x4d\x20\140" . _DB_PREFIX_ . "\x70\162\157\x64\165\x63\x74\x5f\163\150\157\x70\x60\xa\x20\40\x20\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\x20\127\110\105\122\x45\x20\140\151\x64\x5f\160\x72\157\x64\165\x63\x74\x60\40\75\40" . (int) $id_product); goto H_ODm; fe2cc: return $list; goto W1qeI; D7Zix: if (empty($cache)) { goto wmRSG; } goto u4hmN; vs7BZ: foreach ($res as $value) { $list[] = $value["\151\x64\137\x73\x68\157\160"]; l8QVy: } goto WMKmV; uOKdv: MVoG3: goto vrKU4; vrKU4: $cache_shop_by_product[$id_product] = $list; goto WgLlH; H_ODm: if (!(!empty($res) && count($res) > 0)) { goto MVoG3; } goto vs7BZ; WMKmV: ZhfbW: goto uOKdv; M4ru5: global $cache_shop_by_product; goto blzG3; WgLlH: swFBN: goto fe2cc; u4hmN: $list = $cache; goto zEWIY; rgAtD: if (!sc_array_key_exists($id_product, $cache_shop_by_product)) { goto oOd9M; } goto ynb4t; ynb4t: $cache = $cache_shop_by_product[$id_product]; goto GmCU3; zEWIY: goto swFBN; goto KJduh; fYB1n: $list = array(); goto xFpO7; KJduh: wmRSG: goto fYB1n; blzG3: $cache = array(); goto rgAtD; W1qeI: } public static function getShopsByCategory($id_category) { goto FeYVM; FeYVM: global $cache_shop_by_category; goto gQdYR; qewbB: Ucmbe: goto xp2SP; Vh88u: O1WvW: goto L6oCo; Uq2dU: goto Ucmbe; goto fC5pO; qrTWf: $list = array(); goto hPbDY; J886x: $cache = $cache_shop_by_category[$id_category]; goto h4kzo; gQdYR: $cache = array(); goto uJ2Fn; tn63_: $cache_shop_by_category[$id_category] = $list; goto qewbB; hPbDY: $res = Db::getInstance()->executeS("\xa\x20\40\40\x20\x20\40\40\x20\40\x20\x20\40\40\40\40\x20\123\105\x4c\105\103\x54\40\140\151\144\137\x73\150\x6f\x70\140\xa\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\40\106\122\x4f\x4d\40\140" . _DB_PREFIX_ . "\143\141\164\145\147\157\x72\x79\x5f\x73\x68\x6f\160\140\12\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\40\x20\40\x20\40\x57\110\105\122\105\40\x60\x69\144\x5f\143\x61\x74\x65\x67\x6f\162\x79\x60\40\75\40" . (int) $id_category); goto l8z9l; wKGs5: $list = $cache; goto Uq2dU; xp2SP: return $list; goto tF4Ug; dm_Qb: foreach ($res as $value) { $list[] = $value["\151\x64\x5f\163\x68\157\160"]; bytiB: } goto Vh88u; uJ2Fn: if (!(is_array($cache_shop_by_category) && sc_array_key_exists($id_category, $cache_shop_by_category))) { goto fx4Tw; } goto J886x; fC5pO: zEjBA: goto qrTWf; L6oCo: EFrwY: goto tn63_; h4kzo: fx4Tw: goto axztK; l8z9l: if (!(!empty($res) && count($res) > 0)) { goto EFrwY; } goto dm_Qb; axztK: if (empty($cache)) { goto zEjBA; } goto wKGs5; tF4Ug: } public static function qtySumStockAvailable($id_product, $specific_shop_id_list = array()) { goto ak0u_; sjUm_: KxKtl: goto NawhC; ak0u_: if (!empty($specific_shop_id_list)) { goto KxKtl; } goto nscU5; v0jR0: SXBUf: goto hl3Dg; zY2F2: goto Q_wcE; goto sjUm_; nscU5: $shops = self::getShopsByProduct($id_product); goto zY2F2; NawhC: $shops = $specific_shop_id_list; goto ylENi; XfHP3: foreach ($shops as $shop_id) { goto dxkxF; Nhe_p: if (!($new_qty !== null)) { goto Q2zkp; } goto ethLZ; dxkxF: $query = new DbQuery(); goto nbwkf; JpnSs: $query->from("\x73\x74\x6f\x63\x6b\137\x61\166\141\x69\x6c\141\142\154\x65"); goto yzAZh; yzAZh: $query->where("\151\x64\x5f\x70\x72\x6f\144\165\143\164\x20\x3d\40" . (int) $id_product); goto cyI6S; bFS2n: TXAj2: goto a22Qe; G7Vbn: $query = StockAvailable::addSqlShopRestriction($query, $shop_id); goto AYZVy; nbwkf: $query->select("\x53\125\115\50\161\165\141\x6e\x74\151\x74\171\x29"); goto JpnSs; cyI6S: $query->where("\x69\x64\x5f\160\162\157\x64\165\143\x74\137\x61\x74\164\x72\x69\x62\x75\164\x65\x20\41\x3d\x20\60\x20"); goto G7Vbn; tGILK: Q2zkp: goto bFS2n; ethLZ: self::setQuantity($id_product, 0, (int) $new_qty, $shop_id); goto tGILK; AYZVy: $new_qty = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto Nhe_p; a22Qe: } goto v0jR0; ylENi: Q_wcE: goto XfHP3; hl3Dg: } public static function getSelectedWarehouse() { goto aVL9r; GUZF4: return isset($_COOKIE["\x73\143\137\167\x61\x72\x65\150\157\x75\x73\x65\137\x73\145\x6c\145\143\x74\x65\144"]) ? (int) $_COOKIE["\163\143\x5f\167\141\x72\145\150\157\165\163\145\x5f\163\x65\x6c\x65\x63\x74\145\144"] : 0; goto CPYDu; xmXk2: return 0; goto a0uTR; aVL9r: if (SCAS) { goto OhS2m; } goto xmXk2; a0uTR: goto k5tCY; goto EhCrd; EhCrd: OhS2m: goto GUZF4; CPYDu: k5tCY: goto P02eB; P02eB: } public static function getProductRealQuantities($id_product, $id_product_attribute, $ids_warehouse = null, $usable = false, $has_combination = false) { return Product::getRealQuantity((int) $id_product, (int) $id_product_attribute, $ids_warehouse, (int) self::getSelectedShop()); } public static function getProductPhysicalQuantities($id_product, $id_product_attribute, $ids_warehouse = null, $usable = false, $has_combination = false) { goto OQGMu; CD_L2: $query->where("\163\x2e\151\x64\137\x77\x61\162\x65\150\x6f\165\x73\145\x20\111\116\50" . pInSQL(implode("\54\x20", $ids_warehouse) . "\51")); goto lmo3N; VIfft: DhQ_p: goto qhYWb; Jsm7_: if (empty($id_product_attribute)) { goto JSEGu; } goto l65vz; iaxv3: if (!count($ids_warehouse)) { goto lTVg0; } goto CD_L2; BEi5b: $query->where("\x73\56\151\x64\x5f\160\162\157\144\x75\143\x74\x20\75\x20" . (int) $id_product); goto Jsm7_; tNZ6H: return (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto Nz6DB; MTaMd: if (count($ids_warehouse)) { goto yElQ9; } goto fsIXj; nlKti: if (is_array($ids_warehouse)) { goto B2Cdp; } goto OYMqK; cCBxu: $query->select("\123\125\x4d\x28" . ($usable ? "\x73\56\x75\163\x61\x62\154\x65\137\x71\x75\x61\156\x74\151\164\x79" : "\x73\56\x70\150\x79\x73\151\x63\x61\154\x5f\x71\165\x61\x6e\x74\x69\x74\x79") . "\51"); goto n9CL8; fKda5: if (!$has_combination) { goto MegpN; } goto fjvnt; n9CL8: $query->from("\x73\164\157\143\153", "\163"); goto VBrsw; l65vz: $query->where("\163\56\151\144\x5f\160\x72\x6f\144\x75\143\164\137\141\x74\164\162\x69\142\x75\x74\145\40\75\40" . (int) $id_product_attribute); goto LEzrr; AeP1T: OcU4q: goto nlKti; VBrsw: if (!$has_combination) { goto r52vz; } goto B7bHY; fsIXj: return 0; goto B4ahX; Wi3v6: B2Cdp: goto zzT_7; XWrnJ: goto DhQ_p; goto AeP1T; lmo3N: lTVg0: goto fKda5; qhYWb: $query = new DbQuery(); goto cCBxu; B7Meq: $ids_warehouse = array(); goto XWrnJ; u9blR: MegpN: goto tNZ6H; B7bHY: $query->innerJoin("\167\x61\162\145\x68\x6f\165\163\x65\x5f\160\162\157\x64\x75\143\164\x5f\x6c\x6f\143\x61\x74\151\x6f\156", "\167\160\x6c", "\50\167\160\x6c\x2e\x69\144\x5f\160\162\157\144\x75\x63\x74\40\x3d\40\x73\x2e\151\x64\x5f\x70\x72\157\x64\165\143\x74\x20\101\x4e\x44\40\x77\160\154\56\x69\x64\137\160\162\157\x64\x75\x63\x74\137\141\164\x74\162\151\142\x75\164\145\x20\x3d\40\x73\56\151\x64\x5f\x70\162\157\144\165\x63\164\137\141\164\164\x72\151\x62\x75\x74\x65" . (count($ids_warehouse) ? "\40\101\x4e\104\40\x77\x70\x6c\56\151\x64\137\x77\141\162\145\x68\x6f\x75\x73\145\40\x49\116\x28" . pInSQL(implode("\x2c\x20", $ids_warehouse)) . "\51" : '') . "\x29"); goto kjzx3; OYMqK: $ids_warehouse = array($ids_warehouse); goto Wi3v6; OQGMu: if (!is_null($ids_warehouse)) { goto OcU4q; } goto B7Meq; zzT_7: $ids_warehouse = array_map("\x69\x6e\x74\166\x61\x6c", $ids_warehouse); goto MTaMd; B4ahX: yElQ9: goto VIfft; LEzrr: JSEGu: goto iaxv3; fjvnt: $query->where("\163\56\151\x64\x5f\160\162\x6f\144\165\x63\164\x5f\141\x74\164\x72\x69\x62\x75\x74\x65\40\x21\x3d\40\x30"); goto u9blR; kjzx3: r52vz: goto BEi5b; Nz6DB: } public static function getCustomerCartRules($id_lang, $id_customer, $active = false, $includeGeneric = true, $inStock = false, Cart $cart = null, $free_shipping_only = false, $highlight_only = false) { goto uOcMs; zoPDP: return self::_getCustomerCartRules($id_lang, $id_customer, $active, $includeGeneric, $inStock, $cart); goto r8cc2; H4gfo: return self::_getCustomerCartRules_17($id_lang, $id_customer, $active, $includeGeneric, $inStock, $cart, $free_shipping_only, $highlight_only); goto k4j6n; k4j6n: hnj2I: goto zoPDP; uOcMs: if (!version_compare(_PS_VERSION_, "\x31\56\x37\x2e\x30\56\x30", "\76\x3d")) { goto hnj2I; } goto H4gfo; r8cc2: } public static function _getCustomerCartRules_17($id_lang, $id_customer, $active = false, $includeGeneric = true, $inStock = false, Cart $cart = null, $free_shipping_only = false, $highlight_only = false) { goto uRiRQ; EXRLR: foreach ($result as &$cart_rule) { goto gUIYk; nDWkK: $quantity_used += $cart->getDiscountsCustomer((int) $cart_rule["\x69\x64\137\143\x61\162\x74\137\162\x75\154\145"]); goto vK8O8; djBCL: goto pfZCr; goto BhJK7; Zt8Td: $quantity_used = Order::getDiscountsCustomer((int) $id_customer, (int) $cart_rule["\151\144\x5f\x63\x61\162\x74\x5f\162\x75\154\145"]); goto cnrQC; vK8O8: xWVnL: goto oWDek; jcyS_: pfZCr: goto OXQ39; oWDek: $cart_rule["\161\x75\x61\x6e\x74\x69\x74\171\137\146\157\x72\x5f\x75\163\145\x72"] = $cart_rule["\x71\165\x61\156\164\x69\x74\171\137\x70\145\162\137\165\x73\145\162"] - $quantity_used; goto jcyS_; jjXKi: $cart_rule["\x71\165\x61\x6e\164\151\x74\x79\137\146\x6f\162\137\x75\163\145\x72"] = 0; goto djBCL; OXQ39: mfQhy: goto tlTRP; BhJK7: gqRfm: goto Zt8Td; cnrQC: if (!(isset($cart) && isset($cart->id))) { goto xWVnL; } goto nDWkK; gUIYk: if ($cart_rule["\161\x75\141\156\x74\x69\x74\x79\137\160\x65\162\137\x75\163\x65\162"]) { goto gqRfm; } goto jjXKi; tlTRP: } goto alKNk; zhwNn: unset($cart_rule); goto bAPdV; n86JU: xsIv0: goto Hjemu; hDTOS: sI7yQ: goto zlwhh; alKNk: k2D0u: goto zhwNn; avDxn: $customerGroups = Customer::getGroupsStatic($id_customer); goto GLkhS; Y4bLD: if (!($includeGeneric && (int) $id_customer != 0)) { goto mGb2D; } goto tbEZt; PfVJK: if ($country_restriction) { goto zIiL_; } goto gwaj7; m103S: gVDDv: goto SscI3; hzabz: $sql_part2 = "\40\x41\x4e\104\40\x63\162\x2e\144\141\164\145\x5f\146\x72\157\x6d\x20\74\40\42" . date("\131\x2d\x6d\x2d\x64\x20\110\x3a\x69\x3a\x73") . "\42\xa\40\40\x20\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\x41\116\x44\40\143\162\x2e\x64\x61\164\x65\x5f\164\x6f\x20\76\x20\42" . date("\131\x2d\x6d\55\144\40\110\x3a\151\x3a\163") . "\42\xa\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\40\x20\x20" . ($active ? "\x41\116\104\x20\143\x72\x2e\140\x61\x63\x74\x69\166\145\x60\x20\75\x20\61" : '') . "\12\40\x20\x20\40\40\40\40\40\40\x20\x20\40\x20\40\x20\40" . ($inStock ? "\101\116\104\40\143\x72\56\x60\161\165\141\x6e\x74\151\164\x79\x60\40\x3e\40\60" : ''); goto uY7c5; ac1Yl: x3oXG: goto Pjisd; uY7c5: if (!$free_shipping_only) { goto sI7yQ; } goto OS8LB; W5KoV: $result = array(); goto PFv_F; nPYCO: $sql = "\x28\123\x45\114\x45\x43\124\x20\123\121\x4c\137\x4e\x4f\x5f\x43\101\x43\x48\105\x20" . $sql_part1 . "\40\127\110\105\x52\105\40\x63\162\56\x60\151\144\x5f\x63\165\x73\x74\x6f\155\x65\162\x60\x20\75\x20" . (int) $id_customer . "\40" . $sql_part2 . "\51"; goto fnIsf; uRiRQ: if (CartRule::isFeatureActive()) { goto x3oXG; } goto cO2da; KdXZQ: N3aKD: goto nPYCO; twpCc: mGb2D: goto dSwck; fnIsf: $sql .= "\40\125\116\x49\x4f\116\40\x28\123\x45\x4c\x45\103\x54\x20" . $sql_part1 . "\x20\127\x48\105\122\105\x20\143\x72\56\140\147\x72\x6f\x75\160\137\x72\145\x73\x74\x72\x69\143\164\151\x6f\156\140\x20\75\x20\61\x20" . $sql_part2 . "\51"; goto Y4bLD; gwaj7: $result = $result_bak; goto rHzo4; rHzo4: zIiL_: goto ehWeG; zlwhh: if (!$highlight_only) { goto N3aKD; } goto C4idg; GLkhS: foreach ($result as $key => $cart_rule) { goto i8wuu; oFhm7: foreach ($cartRuleGroups as $cartRuleGroup) { goto v3Mw9; Csj55: dU64R: goto JdR3w; JdR3w: y1D77: goto poyFM; Tc0DZ: goto YSOz9; goto Csj55; v3Mw9: if (!in_array($cartRuleGroup["\151\x64\137\x67\162\x6f\x75\x70"], $customerGroups)) { goto dU64R; } goto Tc0DZ; poyFM: } goto nMcRy; i8wuu: if (!$cart_rule["\147\162\x6f\165\160\x5f\162\x65\163\164\x72\x69\x63\x74\151\x6f\156"]) { goto qGl9D; } goto f3ffd; f3ffd: $cartRuleGroups = Db::getInstance()->executeS("\x53\x45\x4c\x45\103\x54\40\x69\x64\137\147\162\x6f\165\x70\40\x46\122\x4f\115\40" . _DB_PREFIX_ . "\x63\x61\x72\x74\x5f\x72\165\154\145\x5f\x67\x72\x6f\x75\x70\x20\x57\110\105\122\x45\40\x69\144\x5f\143\141\162\164\x5f\162\x75\154\x65\x20\x3d\x20" . (int) $cart_rule["\151\144\137\x63\x61\x72\164\137\x72\x75\x6c\x65"]); goto oFhm7; XFkMh: YSOz9: goto JYDxf; XuACt: qGl9D: goto XFkMh; gDnTk: unset($result[$key]); goto XuACt; nMcRy: J6mD3: goto gDnTk; JYDxf: } goto On4W2; GCLcl: foreach ($result as $key => $cart_rule) { goto Nm77a; Lzy6s: if (!($r !== false)) { goto cTIas; } goto udVhk; EDOWB: BQxTo: goto yDFzJ; CcNi3: AmKqS: goto uWi_J; t26Jp: N3gv3: goto Lzy6s; LjfvI: unset($result[$key]); goto JnyRc; Nm77a: if (!$cart_rule["\160\162\x6f\x64\165\x63\164\137\162\x65\x73\164\x72\151\143\164\151\157\156"]) { goto mkyx3; } goto fDErY; OA2g0: if (version_compare(_PS_VERSION_, "\x38\56\x30\x2e\x30", "\x3e\x3d")) { goto BQxTo; } goto nKK6H; nKK6H: $r = $cr->checkProductRestrictions(Context::getContext(), false, false); goto NxTNg; NxTNg: goto N3gv3; goto EDOWB; JnyRc: mkyx3: goto CcNi3; udVhk: goto AmKqS; goto dqjTC; fDErY: $cr = new CartRule((int) $cart_rule["\151\144\x5f\143\141\x72\x74\137\162\165\x6c\145"]); goto OA2g0; yDFzJ: $r = $cr->checkProductRestrictionsFromCart($cart, false, false); goto t26Jp; dqjTC: cTIas: goto LjfvI; uWi_J: } goto og7ZJ; AGWoU: foreach ($result_bak as $key => $cart_rule) { goto ZCpYT; o7Ls5: $result[] = $result_bak[$key]; goto QlC4n; ZCpYT: if ($cart_rule["\x63\157\165\156\164\x72\x79\137\x72\x65\163\x74\162\x69\x63\x74\x69\157\156"]) { goto PWXWB; } goto o7Ls5; dJMck: nL0a0: goto P4sEj; mFeZH: if (!(is_array($countries) && count($countries))) { goto wmHjJ; } goto SHsUh; QlC4n: goto FmNQP; goto OgAO7; bk2u9: gDK30: goto GN7br; GN7br: wmHjJ: goto DQ0ch; IKT2T: $country_restriction = true; goto kk41A; DQ0ch: FmNQP: goto dJMck; SHsUh: foreach ($countries as $country) { goto Vdlph; jy_x3: goto gDK30; goto LVVtU; McBa7: if (!$id_cart_rule) { goto CNm9k; } goto q_zDX; Vdlph: $id_cart_rule = (bool) Db::getInstance()->getValue("\12\40\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\x53\x45\114\x45\103\x54\40\143\162\143\56\x69\x64\137\143\x61\x72\164\x5f\x72\x75\x6c\145\xa\x20\40\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\40\40\40\40\x20\40\x20\40\40\40\x20\x20\x20\40\106\122\117\x4d\x20" . _DB_PREFIX_ . "\x63\x61\x72\164\x5f\x72\165\154\145\x5f\143\x6f\165\x6e\164\162\171\40\143\x72\143\12\40\x20\x20\40\x20\40\x20\40\40\x20\40\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\40\x57\x48\x45\122\105\40\x63\x72\x63\56\x69\144\x5f\143\x61\162\164\x5f\x72\x75\154\x65\x20\x3d\x20" . (int) $cart_rule["\151\144\137\143\141\x72\x74\x5f\162\165\154\x65"] . "\12\40\40\40\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\40\x20\40\40\x20\40\40\40\40\40\x20\40\40\x20\101\x4e\104\x20\143\x72\x63\56\151\144\x5f\x63\157\165\x6e\164\162\x79\x20\75\40" . (int) $country["\151\144\137\x63\157\x75\x6e\164\162\x79"]); goto McBa7; yvRmh: IL9ht: goto K8DMD; q_zDX: $result[] = $result_bak[$key]; goto jy_x3; LVVtU: CNm9k: goto yvRmh; K8DMD: } goto bk2u9; OgAO7: PWXWB: goto IKT2T; kk41A: $countries = Db::getInstance()->ExecuteS("\xa\x20\x20\x20\x20\40\40\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\40\40\x53\x45\114\105\x43\x54\x20\x60\x69\x64\x5f\143\157\x75\156\164\x72\x79\140\xa\40\40\x20\40\x20\x20\40\40\x20\x20\40\40\40\40\x20\40\40\x20\40\40\106\122\117\115\40\140" . _DB_PREFIX_ . "\x61\x64\144\162\x65\163\x73\x60\12\x20\40\x20\x20\40\40\x20\40\x20\40\x20\x20\40\x20\40\40\40\40\x20\x20\127\x48\105\122\x45\40\140\151\x64\137\x63\x75\163\x74\x6f\x6d\145\162\140\x20\75\40" . (int) $id_customer . "\xa\40\x20\x20\40\x20\40\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\x20\x41\116\104\40\x60\x64\145\154\x65\164\145\144\x60\40\75\40\x30"); goto mFeZH; P4sEj: } goto DIB3k; PFv_F: $country_restriction = false; goto AGWoU; bAPdV: foreach ($result as $key => $cart_rule) { goto Dp4Ni; Nlany: foreach ($cartRuleShops as $cartRuleShop) { goto fvmij; ay_aV: mSN_S: goto K5LFA; fvmij: if (!(Shop::isFeatureActive() && $cartRuleShop["\151\x64\x5f\163\150\157\x70"] == (int) self::getSelectedShop())) { goto mSN_S; } goto xTMRW; xTMRW: goto r2TSc; goto ay_aV; K5LFA: Vgbta: goto taedP; taedP: } goto gnvrj; gnvrj: REZDE: goto R4OEf; nBVex: r2TSc: goto X1ETd; R4OEf: unset($result[$key]); goto tOcoF; woOb9: $cartRuleShops = Db::getInstance()->executeS("\123\105\x4c\x45\103\124\40\x69\144\137\x73\150\x6f\160\x20\106\122\x4f\x4d\x20" . _DB_PREFIX_ . "\x63\141\162\x74\137\x72\x75\154\145\137\x73\x68\x6f\160\x20\127\x48\105\122\105\x20\151\x64\x5f\x63\141\x72\x74\x5f\162\x75\x6c\145\x20\75\x20" . (int) $cart_rule["\151\144\137\143\x61\162\x74\137\x72\x75\154\x65"]); goto Nlany; Dp4Ni: if (!$cart_rule["\163\x68\x6f\160\137\162\x65\163\164\x72\151\143\x74\151\157\156"]) { goto AkpBN; } goto woOb9; tOcoF: AkpBN: goto nBVex; X1ETd: } goto m103S; DIB3k: OQztN: goto PfVJK; AtQlc: return array(); goto tXP7F; cO2da: return array(); goto ac1Yl; dSwck: $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql, true, false); goto OxR1p; Pjisd: $sql_part1 = "\52\40\106\x52\117\115\40\140" . _DB_PREFIX_ . "\x63\x61\x72\x74\x5f\162\165\154\x65\x60\x20\x63\162\xa\x20\40\40\40\40\40\x20\x20\40\x20\x20\40\40\x20\40\40\x4c\105\x46\x54\40\112\117\111\116\x20\140" . _DB_PREFIX_ . "\x63\x61\162\x74\137\x72\165\x6c\x65\x5f\154\141\156\147\140\40\143\x72\x6c\x20\x4f\x4e\x20\50\143\x72\x2e\x60\151\144\x5f\x63\x61\x72\x74\x5f\162\x75\x6c\145\140\x20\x3d\40\x63\x72\154\56\x60\x69\144\137\143\141\162\x74\x5f\162\x75\154\145\140\x20\x41\116\x44\40\x63\162\154\56\140\151\x64\x5f\154\141\x6e\147\x60\40\x3d\x20" . (int) $id_lang . "\51"; goto hzabz; OxR1p: if (!empty($result)) { goto SjJmh; } goto AtQlc; tXP7F: SjJmh: goto avDxn; On4W2: b7xzT: goto EXRLR; C4idg: $sql_part2 .= "\x20\101\116\x44\40\150\151\147\x68\154\x69\x67\x68\164\40\75\40\x31\x20\101\116\x44\x20\x63\x6f\x64\x65\40\116\x4f\x54\x20\x4c\x49\113\105\40\x22" . pSQL(CartRule::BO_ORDER_CODE_PREFIX) . "\x25\x22"; goto KdXZQ; og7ZJ: f_zbl: goto n86JU; OS8LB: $sql_part2 .= "\x20\x41\116\x44\40\146\162\x65\x65\137\163\x68\151\x70\160\151\156\x67\40\x3d\40\61\x20\x41\116\104\x20\x63\141\162\162\x69\145\162\137\x72\145\x73\164\x72\151\143\x74\x69\157\156\40\75\40\x31"; goto hDTOS; tbEZt: $sql .= "\x20\x55\116\x49\117\116\x20\50\x53\105\114\x45\103\x54\40" . $sql_part1 . "\x20\x57\x48\x45\x52\105\x20\143\162\56\140\151\144\x5f\x63\165\163\164\157\155\145\x72\x60\40\x3d\x20\x30\40" . $sql_part2 . "\51"; goto twpCc; Hjemu: $result_bak = $result; goto W5KoV; ehWeG: return $result; goto vJPaj; SscI3: if (!(isset($cart) && isset($cart->id))) { goto xsIv0; } goto GCLcl; vJPaj: } public static function _getCustomerCartRules($id_lang, $id_customer, $active = false, $includeGeneric = true, $inStock = false, Cart $cart = null) { goto OBMbw; hdJnt: $customerGroups = Customer::getGroupsStatic($id_customer); goto zv_Uk; Lhwmh: foreach ($result as $cart_rule) { goto VkAPz; YBA1f: n7HAe: goto GBhza; TjcAf: $quantity_used += $cart->getDiscountsCustomer((int) $cart_rule["\x69\x64\x5f\x63\x61\x72\x74\x5f\x72\x75\x6c\145"]); goto VwjLA; AYwHX: GkLt6: goto Sb1rc; IM9rZ: $cart_rule["\161\165\141\156\164\151\x74\x79\x5f\x66\157\x72\137\165\163\145\162"] = $cart_rule["\x71\x75\x61\156\164\x69\x74\171\137\160\145\162\137\165\x73\145\x72"] - $quantity_used; goto AYwHX; VwjLA: vRoKe: goto IM9rZ; I1BKn: if (!(isset($cart) && isset($cart->id))) { goto vRoKe; } goto TjcAf; D00Rr: $cart_rule["\x71\165\x61\x6e\x74\x69\164\x79\137\x66\x6f\x72\x5f\x75\163\145\162"] = 0; goto P3K55; GBhza: $quantity_used = Order::getDiscountsCustomer((int) $id_customer, (int) $cart_rule["\151\144\x5f\x63\x61\x72\164\x5f\x72\165\x6c\x65"]); goto I1BKn; P3K55: goto GkLt6; goto YBA1f; VkAPz: if ($cart_rule["\x71\165\141\156\164\151\x74\x79\137\x70\x65\x72\x5f\165\x73\145\162"]) { goto n7HAe; } goto D00Rr; Sb1rc: n83EO: goto LNULy; LNULy: } goto XDLRW; gEIxq: return array(); goto Y0GO2; Y0GO2: CS2wG: goto I0EN6; NeLCS: cx71q: goto l6mLP; OBMbw: if (CartRule::isFeatureActive()) { goto CS2wG; } goto gEIxq; XDLRW: xYn7O: goto vXF7Q; kQi_1: SBCMp: goto tKwia; fyTtj: return $result; goto OZwW9; tKwia: KhgPk: goto Lhwmh; l6mLP: qYX7k: goto FHyK2; nC6nJ: if (!$includeGeneric) { goto KhgPk; } goto hdJnt; AQPa6: foreach ($result as $cart_rule) { goto z2ZIt; z2ZIt: if (!$cart_rule["\x73\x68\157\160\x5f\x72\145\x73\164\x72\x69\x63\164\x69\157\x6e"]) { goto cXvHg; } goto A5e0a; tF1XK: foreach ($cartRuleShops as $cartRuleShop) { goto s7Oos; m_vQ1: XzcB9: goto xXov1; V5dAZ: goto RqiiC; goto Vs6ue; s7Oos: if (!(Shop::isFeatureActive() && $cartRuleShop["\151\x64\137\163\x68\157\x70"] == (int) self::getSelectedShop())) { goto djw9W; } goto V5dAZ; Vs6ue: djw9W: goto m_vQ1; xXov1: } goto cm1B8; VRPEO: cXvHg: goto e7vCB; e7vCB: RqiiC: goto iTknp; cm1B8: ErXvu: goto r2ZJP; A5e0a: $cartRuleShops = Db::getInstance()->executeS("\x53\105\114\105\103\x54\x20\151\144\x5f\x73\x68\x6f\x70\x20\106\x52\117\x4d\40" . _DB_PREFIX_ . "\143\x61\x72\164\x5f\x72\x75\x6c\x65\x5f\x73\150\157\x70\x20\x57\x48\x45\x52\105\40\x69\x64\137\x63\141\x72\164\137\x72\165\154\x65\40\75\40" . (int) $cart_rule["\x69\x64\x5f\x63\x61\x72\x74\x5f\x72\x75\x6c\x65"]); goto tF1XK; r2ZJP: unset($result[$key]); goto VRPEO; iTknp: } goto NeLCS; I0EN6: $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS("\12\x20\x20\x20\40\x20\40\40\x20\123\105\114\x45\103\124\x20\x2a\xa\x20\x20\x20\40\40\x20\40\40\x46\x52\117\115\40\140" . _DB_PREFIX_ . "\143\141\x72\x74\137\162\x75\154\x65\140\x20\143\162\xa\x20\x20\40\x20\40\x20\x20\40\x4c\x45\106\x54\40\112\x4f\111\116\40\x60" . _DB_PREFIX_ . "\x63\141\x72\164\x5f\162\165\x6c\x65\x5f\x6c\141\x6e\147\x60\40\143\162\x6c\40\x4f\x4e\x20\x28\x63\162\56\140\151\x64\x5f\x63\141\x72\x74\137\x72\165\154\145\140\x20\x3d\40\x63\x72\x6c\x2e\140\x69\x64\x5f\x63\x61\162\164\137\162\165\154\x65\x60\x20\x41\116\104\40\x63\x72\x6c\x2e\x60\x69\144\137\154\141\x6e\147\140\x20\75\40" . (int) $id_lang . "\51\xa\40\40\40\40\x20\x20\40\40\127\x48\x45\122\x45\x20\x28\12\40\40\x20\x20\40\40\x20\40\x20\40\40\40\x63\x72\56\140\151\x64\x5f\x63\165\x73\164\x6f\x6d\x65\162\x60\x20\x3d\40" . (int) $id_customer . "\12\x20\x20\40\40\40\x20\x20\40\x20\40\x20\40" . ($includeGeneric ? "\117\122\40\143\x72\56\140\151\144\x5f\143\x75\x73\164\x6f\155\145\x72\140\40\75\x20\60" : '') . "\12\x20\40\x20\40\40\x20\40\x20\x29\12\40\40\40\x20\x20\x20\40\x20" . ($active ? "\x41\116\104\40\143\x72\x2e\140\141\143\164\151\166\145\140\40\x3d\x20\61" : '') . "\xa\40\40\x20\40\x20\x20\x20\x20" . ($inStock ? "\101\116\x44\x20\x63\162\x2e\x60\x71\x75\x61\156\164\151\x74\x79\140\40\x3e\x20\60" : '')); goto nC6nJ; Kr5jB: fyhRF: goto fyTtj; FHyK2: foreach ($result as $cart_rule) { goto ZMQ28; GTrn2: Tt_Ts: goto bNsgh; VAQPd: goto Tt_Ts; goto JxGei; ZMQ28: $cart_rule["\x76\x61\154\x75\x65"] = 0; goto gFtRg; Ur_Fe: if ($cart_rule["\146\162\145\x65\137\x73\x68\x69\160\x70\x69\x6e\147"]) { goto M7jPr; } goto vmOsl; MGCl_: $cart_rule["\x76\141\154\x75\145"] = $cart_rule["\162\x65\144\x75\143\164\x69\x6f\x6e\137\x70\145\x72\x63\x65\x6e\164"]; goto r0Xpd; bNsgh: AruHl: goto ivoo7; hRq9o: $cart_rule["\x63\165\x6d\x75\154\141\x62\154\145"] = !$cart_rule["\x63\141\162\164\137\162\165\x6c\145\137\162\145\x73\x74\162\151\143\164\x69\157\156"]; goto LBGg2; JxGei: UbZtP: goto Hcti8; hManM: $cart_rule["\151\144\x5f\x64\x69\x73\143\x6f\165\156\164\x5f\164\x79\160\x65"] = Discount::FREE_SHIPPING; goto VAQPd; BtPXy: $cart_rule["\166\x61\154\165\x65"] = $cart_rule["\162\x65\144\x75\143\164\151\x6f\156\x5f\x61\x6d\x6f\165\x6e\164"]; goto GTrn2; WYRjp: if ($cart_rule["\162\145\x64\165\x63\164\151\x6f\x6e\137\x61\155\157\165\x6e\164"] > 0) { goto a_1Cl; } goto hwDxq; dEEir: a_1Cl: goto wjUir; hwDxq: goto Tt_Ts; goto bbHTr; LBGg2: $cart_rule["\x69\x64\x5f\x64\x69\x73\x63\x6f\165\156\164\x5f\x74\x79\160\x65"] = false; goto Ur_Fe; r0Xpd: goto Tt_Ts; goto dEEir; wjUir: $cart_rule["\151\144\x5f\x64\151\x73\x63\x6f\165\x6e\x74\x5f\164\171\160\x65"] = Discount::AMOUNT; goto BtPXy; bbHTr: M7jPr: goto hManM; vmOsl: if ($cart_rule["\162\x65\144\165\143\164\x69\157\x6e\137\160\145\x72\143\145\x6e\x74"] > 0) { goto UbZtP; } goto WYRjp; Hcti8: $cart_rule["\x69\x64\x5f\144\151\163\143\157\x75\x6e\x74\x5f\x74\x79\x70\145"] = Discount::PERCENT; goto MGCl_; gFtRg: $cart_rule["\x6d\151\156\x69\x6d\141\154"] = $cart_rule["\155\151\156\x69\x6d\165\x6d\x5f\x61\155\157\x75\x6e\x74"]; goto hRq9o; ivoo7: } goto Kr5jB; zv_Uk: foreach ($result as $key => $cart_rule) { goto ambtS; iXMIg: mKRyA: goto pksOn; pksOn: unset($result[$key]); goto c_Qf5; c_Qf5: RHGpw: goto rxkmD; Z_K5v: foreach ($cartRuleGroups as $cartRuleGroup) { goto v3Cf0; JJSeR: y86NT: goto t3Kyk; v3Cf0: if (!in_array($cartRuleGroup["\151\144\x5f\x67\x72\x6f\x75\x70"], $customerGroups)) { goto y86NT; } goto eGrPW; t3Kyk: YZS20: goto SdiF8; eGrPW: goto ngCY7; goto JJSeR; SdiF8: } goto iXMIg; rxkmD: ngCY7: goto MHClV; d_bw4: $cartRuleGroups = Db::getInstance()->executeS("\123\105\114\105\103\124\40\151\x64\137\147\162\x6f\x75\160\x20\106\x52\x4f\115\x20" . _DB_PREFIX_ . "\143\x61\162\164\137\162\165\154\145\137\x67\x72\x6f\x75\160\x20\127\110\x45\x52\x45\40\x69\144\x5f\x63\141\162\164\x5f\162\x75\x6c\x65\40\75\x20" . (int) $cart_rule["\151\144\137\143\x61\162\164\x5f\x72\165\154\145"]); goto Z_K5v; ambtS: if (!$cart_rule["\x67\162\x6f\165\160\x5f\162\x65\x73\x74\162\151\143\x74\151\x6f\156"]) { goto RHGpw; } goto d_bw4; MHClV: } goto kQi_1; vXF7Q: if (!version_compare(_PS_VERSION_, "\61\x2e\66\x2e\x30\56\x30", "\76\x3d")) { goto qYX7k; } goto rxKwO; rxKwO: unset($cart_rule); goto AQPa6; OZwW9: } public static function days_in_month($month, $year) { return $month == 2 ? $year % 4 ? 28 : ($year % 100 ? 29 : ($year % 400 ? 28 : 29)) : (($month - 1) % 7 % 2 ? 30 : 31); } public static function getProductQty($id_product, $id_product_attribute = null, $id_warehouse = null, $id_shop = null) { goto pEmtt; zGTae: if (!empty($id_product_attribute)) { goto c75Wo; } goto YXyRJ; bBPil: if (!empty($id_product)) { goto gFbCX; } goto D_jJi; D_jJi: return $return; goto rotUj; YXyRJ: $return = self::_getProductQty($id_product, $id_product_attribute, $id_warehouse, $id_shop); goto D5q8K; pEmtt: $return = 0; goto bBPil; rotUj: gFbCX: goto zGTae; D5q8K: goto MiSux; goto C3oC_; MUg4P: return $return; goto sHw1z; C3oC_: c75Wo: goto fQfL2; V0esu: MiSux: goto MUg4P; fQfL2: $return = self::_getProductAttributeQty($id_product, $id_product_attribute, $id_warehouse, $id_shop); goto V0esu; sHw1z: } public static function _getProductQty($id_product, $id_product_attribute = null, $id_warehouse = null, $id_shop = null) { goto U0EOv; vv0EX: $is_advanced_stock_management = false; goto v1juC; ThNK7: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto YlFMS; OPL7T: eS97u: goto X_RoX; Z_Ici: if (!($product->advanced_stock_management == 1)) { goto Cpshp; } goto FNgKn; UZ2p8: return $return; goto QGk5R; mahLH: if (empty($temp_check_in_warehouse)) { goto eS97u; } goto H6IkT; srcpf: $query->from("\163\x74\x6f\x63\x6b\x5f\x61\x76\141\x69\x6c\x61\x62\x6c\145"); goto GeCZo; TWPtr: $return = 0; goto QlM4Z; tNpZy: $query->from("\163\164\x6f\x63\x6b"); goto u6ytY; a3WMd: zo97b: goto J2VVz; s4fV4: return $return; goto Yxb9d; YlFMS: goto SpNya; goto RIcOv; VNiDY: $type_advanced_stock_management = 3; goto yeP5k; Gicwm: if (SCAS && $type_advanced_stock_management == 2 && !$has_combination && !$not_in_warehouse) { goto KYLh8; } goto cogIP; yp3Sp: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto idjO0; ApAG0: $query = new DbQuery(); goto sZSGc; rhTIr: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto gJlz2; Tf1AE: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto UT7wV; p39ax: $return = $quantities["\x75\163\x61\x62\x6c\x65\137\x71\165\141\156\x74\151\x74\x79"]; goto CK74T; ZW4_8: $query->where("\151\144\137\160\x72\157\x64\165\x63\x74\x5f\141\164\164\x72\x69\142\165\164\x65\x20\75\x20\60"); goto yQN11; drAP3: if (!empty($return)) { goto qhRFf; } goto TWPtr; IfBXq: if (!SCAS) { goto ZB3JB; } goto Z_Ici; FNgKn: $is_advanced_stock_management = true; goto IdqcC; QG8DI: SpNya: goto drAP3; EfsnJ: $type_advanced_stock_management = 1; goto vv0EX; cruiT: $quantities = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($query); goto YdUNA; CK74T: goto SpNya; goto iycld; URNWY: $query->from("\163\x74\157\143\x6b\137\x61\166\x61\x69\x6c\x61\142\x6c\145"); goto O_ruU; GeCZo: $query->where("\x69\x64\137\160\x72\x6f\144\x75\x63\164\40\x3d\x20" . (int) $id_product); goto ma1T_; jWXuY: $query = new DbQuery(); goto nLcav; nJoVt: if ($has_combination) { goto gga3m; } goto ZHhHs; RdMpn: if (!(SCAS && empty($id_warehouse))) { goto O92Xd; } goto SXEnG; FCgPv: $query->select("\161\165\141\x6e\x74\x69\164\171"); goto mzkcB; u6ytY: $query->where("\x69\x64\x5f\160\162\157\x64\x75\x63\x74\40\x3d\x20" . (int) $id_product); goto YJNNO; SXEnG: $id_warehouse = (int) self::getSelectedWarehouse(); goto sbNzd; iycld: UfEEO: goto BprdS; ma1T_: $query->where("\151\144\137\x70\x72\157\144\165\143\x74\137\x61\x74\x74\x72\x69\142\x75\164\x65\40\41\75\40\x30"); goto iaDsQ; MFwRx: $query->where("\151\x64\137\160\x72\x6f\x64\165\143\x74\x5f\x61\x74\164\162\x69\142\x75\x74\145\x20\75\40\x30"); goto dbv_j; yeP5k: sWxSK: goto h0qOV; LdiAY: $not_in_warehouse = true; goto ukGJC; ukGJC: $without_warehouse = true; goto OnMYU; uJ2wq: goto SpNya; goto j7KAL; JjxRC: $query = new DbQuery(); goto c8Pns; ibjX3: $query->where("\163\164\56\x69\x64\137\160\162\x6f\144\165\x63\164\137\x61\x74\x74\x72\151\142\165\164\145\x20\41\x3d\x20\x30"); goto cruiT; IFNHw: $product = new Product($id_product, false, null, (int) $id_shop); goto RdMpn; tSx3I: $id_shop = self::getSelectedShop(); goto a3WMd; QGk5R: h8nMc: goto RwbfT; h0qOV: Cpshp: goto ByDGQ; EDuCx: $temp_check_in_warehouse = WarehouseProductLocation::getIdByProductAndWarehouse((int) $id_product, 0, (int) $id_warehouse); goto mahLH; ByDGQ: ZB3JB: goto D95Od; aG9Q2: $has_combination = true; goto hGwzX; hx4M7: $quantities = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($query); goto p39ax; OnMYU: $usable_quantity = 0; goto IfBXq; sbNzd: O92Xd: goto EfsnJ; U0EOv: $return = 0; goto Mwk0N; nLcav: $query->select("\x53\125\115\x28\163\x74\x2e\165\x73\141\142\154\x65\x5f\161\165\x61\156\164\151\164\171\51\40\141\163\x20\x75\163\141\x62\x6c\145\x5f\x71\x75\141\156\164\x69\x74\171"); goto JCTUU; gJlz2: VMJkv: goto Wvh_a; ZHhHs: $query = new DbQuery(); goto FCgPv; BprdS: $return = 0; goto uJ2wq; D95Od: if (!$product->hasAttributes()) { goto JSgg1; } goto aG9Q2; j7KAL: xjiGl: goto JjxRC; cogIP: if (SCAS && $type_advanced_stock_management == 2 && $not_in_warehouse) { goto UfEEO; } goto dOafl; sZSGc: $query->select("\123\x55\115\x28\x75\163\141\x62\154\145\x5f\x71\x75\141\x6e\x74\x69\164\171\51\x20\141\x73\40\165\x73\141\142\154\x65\137\161\165\141\x6e\164\151\164\171"); goto tNpZy; iaDsQ: if (!SCMS) { goto b022F; } goto Tf1AE; mXeJs: goto SpNya; goto qj0Ye; vPX24: if (!empty($id_shop)) { goto zo97b; } goto tSx3I; dOafl: if (version_compare(_PS_VERSION_, "\61\56\67\x2e\60\56\60", "\76\75")) { goto xjiGl; } goto nJoVt; dBXim: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto QG8DI; Q39lz: $query->where("\163\x74\x2e\x69\x64\137\x77\x61\x72\x65\x68\x6f\165\163\145\x20\x3d\40" . (int) $id_warehouse); goto ibjX3; JCTUU: $query->from("\163\164\x6f\x63\x6b", "\x73\164"); goto FqRtY; RwbfT: if (!SCMS) { goto qO5sl; } goto vPX24; FqRtY: $query->where("\x73\x74\x2e\151\144\137\x70\x72\x6f\144\165\x63\164\40\75\x20" . (int) $id_product); goto Q39lz; YdUNA: $return = $quantities["\x75\163\141\x62\x6c\x65\x5f\x71\x75\141\x6e\x74\x69\x74\x79"]; goto ky0We; v1juC: $has_combination = false; goto LdiAY; dbv_j: if (!SCMS) { goto VMJkv; } goto rhTIr; rzToM: $query->where("\x69\144\137\160\162\x6f\x64\165\143\164\x20\x3d\x20" . (int) $id_product); goto MFwRx; qj0Ye: hbvIg: goto jWXuY; YePOb: $query = new DbQuery(); goto hQbKR; O_ruU: $query->where("\151\x64\x5f\x70\x72\x6f\x64\165\x63\x74\40\75\x20" . (int) $id_product); goto ZW4_8; ky0We: goto SpNya; goto cV7wI; IdqcC: $type_advanced_stock_management = 2; goto EDuCx; RIcOv: gga3m: goto YePOb; cV7wI: KYLh8: goto ApAG0; TZE77: if (SCAS && $type_advanced_stock_management == 2 && $has_combination && !$not_in_warehouse) { goto hbvIg; } goto Gicwm; hGwzX: JSgg1: goto TZE77; UT7wV: b022F: goto dBXim; c8Pns: $query->select("\161\165\x61\x6e\x74\151\164\171"); goto URNWY; H6IkT: $not_in_warehouse = false; goto OPL7T; YJNNO: $query->where("\x69\x64\137\167\141\162\x65\150\x6f\165\163\x65\x20\75\x20" . (int) $id_warehouse); goto hx4M7; mzkcB: $query->from("\x73\x74\x6f\143\153\137\x61\x76\x61\151\154\141\142\x6c\145"); goto rzToM; Wvh_a: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto mXeJs; QlM4Z: qhRFf: goto s4fV4; yQN11: if (!SCMS) { goto eT2xd; } goto yp3Sp; hQbKR: $query->select("\123\125\x4d\50\161\165\141\x6e\164\151\164\x79\51"); goto srcpf; J2VVz: qO5sl: goto IFNHw; Mwk0N: if (!empty($id_product)) { goto h8nMc; } goto UZ2p8; X_RoX: if (StockAvailable::dependsOnStock((int) $id_product, (int) self::getSelectedShop())) { goto sWxSK; } goto VNiDY; idjO0: eT2xd: goto ThNK7; Yxb9d: } public static function _getProductAttributeQty($id_product, $id_product_attribute = null, $id_warehouse = null, $id_shop = null) { goto NEMBf; jmREq: $return = 0; goto o0s2c; TPdeC: $query->select("\x53\125\x4d\x28\x73\x74\x2e\x75\x73\141\x62\x6c\x65\137\161\x75\141\x6e\x74\151\164\x79\x29\40\x61\163\40\x75\163\141\142\x6c\145\137\161\x75\x61\156\x74\151\164\x79"); goto iWITH; pHvjp: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto qUxOl; zLYn7: $is_advanced_stock_management = false; goto htWok; fMqvR: $query = new DbQuery(); goto xdmLj; NPkFS: $query->from("\163\164\157\x63\x6b\x5f\x61\x76\x61\x69\x6c\141\x62\x6c\145"); goto nOwy3; SORzd: if (!SCMS) { goto sTc9q; } goto mmp9D; J9E20: yoLoK: goto zKXLj; nOwy3: $query->where("\151\144\137\160\x72\x6f\x64\x75\143\164\40\75\40" . (int) $id_product); goto rlWOC; elnQN: $is_advanced_stock_management = true; goto VkYNR; kL3uh: $query->where("\151\144\x5f\x70\162\x6f\x64\165\x63\164\40\75\x20" . (int) $id_product); goto yEfzp; bFNs1: $without_warehouse = false; goto dCLP0; VkYNR: $type_advanced_stock_management = 2; goto RwNuv; IS6eT: if (SCAS && $type_advanced_stock_management == 2 && !$not_in_warehouse) { goto h6RZk; } goto wY13Y; xdmLj: $query->select("\x53\x55\115\x28\x71\x75\141\156\164\151\164\x79\51"); goto s2BZT; widto: NR1VT: goto k409v; HVrph: return $return; goto YDr_i; HtT3I: sTc9q: goto wQo34; iWITH: $query->from("\163\164\x6f\x63\x6b", "\163\x74"); goto C0yb8; OPhd7: z8Nx0: goto fMqvR; CyRRD: HUQLK: goto rRYAB; W8muc: $without_warehouse = true; goto dmBDd; keRSV: $quantities = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($query); goto fHNP9; C0yb8: $query->where("\163\x74\x2e\x69\144\x5f\160\162\157\144\165\x63\164\x20\75\40" . (int) $id_product); goto uaOZ8; o0s2c: goto NR1VT; goto OPhd7; c7Sxp: if (!SCAS || SCAS && $type_advanced_stock_management == 1) { goto z8Nx0; } goto y8xjq; rlWOC: $query->where("\151\144\x5f\x70\x72\157\x64\165\x63\x74\137\141\x74\164\162\x69\x62\x75\x74\145\40\75\x20" . (int) $id_product_attribute); goto SORzd; k409v: if (!empty($return)) { goto igKlP; } goto CPb0R; svXnN: igKlP: goto rkpZx; E_rmM: $query->where("\163\164\56\151\144\x5f\x70\x72\x6f\144\165\143\x74\137\141\x74\164\x72\x69\142\165\x74\145\x20\x3d\40" . (int) $id_product_attribute); goto keRSV; yEfzp: $query->where("\x69\x64\x5f\160\162\157\x64\x75\x63\164\137\141\x74\164\162\151\142\165\164\x65\x20\x3d\40" . (int) $id_product_attribute); goto mVeq7; jRohW: $id_warehouse = (int) self::getSelectedWarehouse(); goto ygDej; SBLDY: $temp_check_in_warehouse = WarehouseProductLocation::getIdByProductAndWarehouse((int) $id_product, (int) $id_product_attribute, (int) $id_warehouse); goto LoBNB; LoBNB: if (empty($temp_check_in_warehouse)) { goto vlTgo; } goto HbKZG; gAVfR: RKJp2: goto jmREq; HbKZG: $not_in_warehouse = false; goto bFNs1; dCLP0: vlTgo: goto P21G3; y8xjq: $query = new DbQuery(); goto HEvOr; P21G3: gm1Kd: goto IS6eT; RwNuv: if (StockAvailable::dependsOnStock((int) $id_product, (int) $id_shop)) { goto HUQLK; } goto sDnjy; GGJMl: if (!(SCAS && empty($id_warehouse))) { goto yGPmX; } goto jRohW; OwOCD: goto NR1VT; goto xXWgW; HEvOr: $query->select("\161\165\141\156\x74\151\x74\x79"); goto NPkFS; FoIa5: if (!empty($id_product)) { goto AF21k; } goto HVrph; wY13Y: if (SCAS && $type_advanced_stock_management == 2 && $not_in_warehouse) { goto RKJp2; } goto c7Sxp; zKXLj: $product = new Product($id_product, false, null, (int) $id_shop); goto GGJMl; ZD52h: if (!SCMS) { goto yoLoK; } goto kWW0D; w3U8b: if (!($product->advanced_stock_management == 1)) { goto J3ltZ; } goto elnQN; qUxOl: v4sTh: goto V8AA0; ygDej: yGPmX: goto zLYn7; sDnjy: $type_advanced_stock_management = 3; goto CyRRD; XZiVV: $id_shop = self::getSelectedShop(); goto lTMWF; rRYAB: J3ltZ: goto SBLDY; mmp9D: $query = StockAvailable::addSqlShopRestriction($query, (int) $id_shop); goto HtT3I; kWW0D: if (!empty($id_shop)) { goto tClXU; } goto XZiVV; CPb0R: $return = 0; goto svXnN; lTMWF: tClXU: goto J9E20; xXWgW: h6RZk: goto GFEsT; fHNP9: $return = $quantities["\x75\x73\x61\142\154\x65\x5f\161\165\x61\156\164\151\164\x79"]; goto ck_dR; YDr_i: AF21k: goto ZD52h; s2BZT: $query->from("\x73\x74\157\143\x6b\137\x61\166\x61\151\154\x61\142\x6c\x65"); goto kL3uh; wQo34: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto OwOCD; htWok: $type_advanced_stock_management = 1; goto V3THR; NEMBf: $return = 0; goto FoIa5; mVeq7: if (!SCMS) { goto v4sTh; } goto pHvjp; rkpZx: return $return; goto B_QWO; V8AA0: $return = (int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto widto; dmBDd: if (!SCAS) { goto gm1Kd; } goto w3U8b; GFEsT: $query = new DbQuery(); goto TPdeC; ck_dR: goto NR1VT; goto gAVfR; uaOZ8: $query->where("\x73\x74\56\151\144\x5f\x77\141\162\145\150\x6f\165\x73\x65\x20\75\x20" . (int) $id_warehouse); goto E_rmM; V3THR: $not_in_warehouse = true; goto W8muc; B_QWO: } public static function roundPrice($price, $modif_type) { goto hj2u6; mP7hX: if ($decimal == 99) { goto MYLx6; } goto Ay7n3; EjhUv: goto fgkU_; goto kk9pW; EJuXJ: i07pj: goto wLN01; TOMKm: $decimalReturn = 95; goto F6Y6c; Q7pwn: list($unite, $decimal) = explode("\x2e", $return); goto pki2e; McPAv: if ($decimal >= 0 && $decimal <= 2) { goto LkMpH; } goto VTjhM; bRpwp: $return = round($return); goto EjhUv; c4NNz: $decimalReturn = 5; goto f0_U1; zIONx: ZTFw5: goto bd8Nk; J1lqI: $return = str_replace("\x2c", "\56", $return); goto RF6wC; BUl0q: CtHCA: goto Q5oha; ZmFjo: djLZG: goto mNRf6; kDrP0: --$return; goto V95cj; Sr5_j: h1LxJ: goto TFYNu; REN8H: FADeh: goto NnoCr; bVnt1: if (empty($round_type)) { goto L26ue; } goto XPKIa; aO_9j: if ($decimal >= 1 && $decimal <= 4) { goto lrZch; } goto FJdq9; UbAtb: $return = ($other + $unite . $decimal) * 1; goto zo79x; AuKFG: goto kFmMW; goto DJkWX; QIbDH: xEF3y: goto sWgz3; yxC4P: if ($modif_type == "\x37") { goto xqb6W; } goto uDmsn; oi6Mr: goto wwJHy; goto u4Lpk; YZIFy: if ($decimal >= 49 && $decimal <= 98) { goto Cb4s6; } goto LpJca; zlXMR: $return = $unite + 1; goto VaNdd; CfCr2: aqJDy: goto biM9X; IvIpX: if (!($round_type == "\61")) { goto V_MK9; } goto Crji7; RjzvO: if (!(!empty($price) && !empty($modif_type))) { goto BUULT; } goto lS8C2; IsdYp: $decimalReturn = "\60" . $decimalReturn; goto NSeNz; c3ZsQ: if ($round_type == "\x32") { goto uBZ2V; } goto HtdBQ; xuSMg: JYGol: goto ER2MF; SWsLx: if ($round_type == "\62") { goto yGtjf; } goto Zu7oF; Cli2I: $return = str_replace("\54", "\56", $return * 100); goto gCQOn; KOWdq: $return = ceil($return); goto nCJ7r; CYbyh: if ($decimal >= 75 && $decimal <= 99) { goto liXDb; } goto I7kBC; JW_K4: N6Llz: goto UbAtb; XuQsr: Cb4s6: goto U7uZ2; nAb7T: $decimal = 0; goto xkYXS; PAoRE: pHAdv: goto Yy8Oy; y5tNg: $return = floor($return); goto DgWLh; bzGXu: goto JYGol; goto VyHEm; N3IhF: $decimal = 0; goto Q6jyp; I0zB5: LBmkh: goto tP0SO; s56Hw: if ($decimal >= 50) { goto fzLQr; } goto G4J4G; NZJOi: $return -= 0.01; goto OEmOu; xpII1: $return = $return / 10; goto tmRgN; v0lH6: Sqhrk: goto U8L5N; dW2Hd: $return = ($return . "\56" . $decimalReturn) * 1; goto IzAx9; u4Lpk: XkpVQ: goto R6wyB; ewpyO: $return = $return * 10; goto G9x5J; f9pzD: goto JvonC; goto CV3lt; Ad3E_: $return = round($return); goto b9i9D; BuLY8: SdOoW: goto oeYMb; N0PQe: list($return, $decimal_part) = explode("\56", $return); goto SjF4c; IKWhJ: if (empty($round_type)) { goto V0H3R; } goto rzbXL; FVYAu: if ($modif_type == "\x31\60") { goto pHAdv; } goto B3p1j; Fu2tm: list($unite, $decimal) = explode("\56", $return); goto a1kiR; ILd0r: RjCGQ: goto r_P_d; pwLrx: XBZXf: goto jjkB7; Qg8RS: P17rY: goto R2a3S; ER2MF: goto ctiCY; goto kZFBg; efvL0: if (!(strlen($chiffre) == 1)) { goto pTAP2; } goto E0az6; fwSi9: $decimal = 0; goto JW_K4; Q6jyp: if (!($return >= 100)) { goto LdTt9; } goto dQABh; eS1ky: $decimal = 0; goto v0lH6; rcljZ: $decimal = 0; goto ruvVr; S10DB: $return = $unite / 1000000; goto p3udp; OEmOu: goto kFmMW; goto XcNQN; wgJ84: goto ikH9w; goto ofUiR; DgWLh: NX2DJ: goto odxDs; J3K2j: $return = $return / 100; goto f_r0Y; mNRf6: if ($realDecimal > 50 && $realDecimal <= 99) { goto MWaHW; } goto SyeFj; d642X: goto iRa9D; goto D9mlg; f0_U1: $decimalReturn = "\60" . $decimalReturn; goto TMkSD; XE1qN: if ($round_type == "\61") { goto ZTFw5; } goto HQzi5; uAkGm: goto kFmMW; goto dWHPx; pczfX: if ($decimal >= 0 && $decimal <= 48) { goto tu_vN; } goto YZIFy; lle5Z: $return = round($return); goto OqD5E; h4S3K: ++$unite; goto VDX_U; MeXYx: $decimal = 0; goto bMeku; SqA6y: fgkU_: goto xpII1; RSU_3: YRwXC: goto s60Yw; LpJca: if ($decimal == 99) { goto MYHEK; } goto ks2zu; Ay7n3: $return = $unite; goto f9pzD; x_67j: $return = round($return); goto VpyEO; V4nPw: goto HStiu; goto sUHjr; oCzs9: list($unite, $decimal) = explode("\56", $return); goto IseF3; Kfhu8: Msjvm: goto aO_9j; Wb7uy: if (empty($round_type)) { goto q1ddQ; } goto JipW9; lSEjl: $decimal = 5; goto oaQP2; U7uZ2: $decimal = 5; goto aaiCd; JHH5R: $return = $return / 10; goto YFaru; xYONg: iRa9D: goto Uo1g5; Rf_zm: if ($round_type == "\62") { goto SZAYh; } goto sw23q; tVgBL: $decimal = 0; goto W4G8Z; WaJoF: $return = ceil($return); goto PQXFT; TMErL: goto U24RY; goto ES0Ml; fSknu: if ($round_type == "\x32") { goto FpEPr; } goto cPOa6; P_eC_: if ($decimal >= 1 && $decimal <= 5) { goto hqQfq; } goto z9Mva; ac2xu: $return = ($unite . "\x2e" . $decimal) * 1 / 10; goto uAkGm; y5yFZ: HaZVn: goto bQzXi; Ni3dO: $chiffre = ($chiffre . "\x2e" . $decimal_part) * 1; goto BXB3s; nCJ7r: goto DBzIb; goto BuLY8; gCQOn: if (empty($round_type)) { goto P3yDE; } goto AXReT; PQXFT: goto NX2DJ; goto F3ezf; YeXTY: hzOdY: goto NAEOj; NnoCr: $decimal = 0; goto GyiM2; siTbu: if (!(strlen($decimal) == 1)) { goto joSPC; } goto MY8UT; ES0Ml: HzTJk: goto DJFnL; wLN01: $decimal = 5; goto TMErL; t0GX_: $return = $unite + 1; goto c52b3; KMBo_: goto kFmMW; goto SymQG; SyeFj: $decimalReturn = 5; goto IsdYp; L3jBw: list($return, $decimal) = explode("\x2e", $return); goto Ls4zZ; RF6wC: list($return, $decimal_part) = explode("\x2e", $return); goto bYwZf; W2DDt: goto U24RY; goto EJuXJ; ho0mx: MWaHW: goto FlMTn; JipW9: if ($round_type == "\61") { goto PjP8v; } goto MHeIa; p7yiR: goto VfhjD; goto I0zB5; kdfD3: goto DBzIb; goto cDjJg; KJX1P: list($unite, $decimal) = explode("\x2e", $return); goto advka; KDIvu: goto VfhjD; goto snxyc; LIFM0: qRAH2: goto aBr67; kPF4q: $decimal = 0; goto V4nPw; dZ3EE: if ($realDecimal < 5 && $realDecimal >= 0) { goto vxapv; } goto qM4Hq; v8o28: lIgAO: goto pZR9_; unxAD: goto WiAj_; goto XJ265; wNH69: p9sXA: goto jXs1g; qwLHp: goto kFmMW; goto NEWQY; iSDYH: goto Sqhrk; goto yHFak; hdqA0: aeRuu: goto BHD1j; tP0SO: $return = floor($return); goto KUy9J; G1l_j: $decimal = 0; goto uRnf2; fXujA: if ($decimal > 90) { goto BADZW; } goto yqab0; cDjJg: HzxHU: goto x_67j; KUuM3: $decimal = 5; goto YClTw; kk9pW: MZXrH: goto Md7y9; R1M63: if ($chiffre >= 0 && $chiffre < 5) { goto cGt8Z; } goto CvMqg; ks2zu: goto Wgl8O; goto K3nYI; biM9X: $unite = 1; goto nAb7T; jjkB7: $return = ceil($return); goto p7yiR; advka: if (empty($round_type)) { goto lIgAO; } goto bTi08; MHeIa: if ($round_type == "\x32") { goto Msjvm; } goto pEFnH; Q17iy: goto Sqhrk; goto n62ex; sWgz3: if ($decimal >= 1 && $decimal <= 5) { goto bEiJm; } goto RPqiK; E0az6: $chiffre = $chiffre . "\60"; goto KwIdv; CvMqg: if ($chiffre >= 5 && $chiffre <= 9.999999999) { goto RjCGQ; } goto d642X; lS8C2: $round_type = _s("\103\x41\x54\137\x52\x4f\x55\116\x44\x5f\x50\122\x49\x43\x45"); goto i6KxR; ulA2N: goto wGmCF; goto eSaQX; P4GTv: goto p9sXA; goto hdqA0; DiaaP: if ($round_type == "\x31") { goto DvGNv; } goto YL4r1; K3nYI: tu_vN: goto j2v3r; odxDs: goto kFmMW; goto bkGPg; LcQAT: goto q3sM8; goto IkuvT; NLVo8: if ($decimal >= 90) { goto UAuFW; } goto O4jQ0; n62ex: oOdQC: goto jwU5f; T4201: BY5Rz: goto eFGoe; snxyc: P3yDE: goto Ad3E_; UGJqP: if (empty($round_type)) { goto HzxHU; } goto cqVeG; QHY9R: V_MK9: goto qrxRj; unjFc: y18sS: goto bVnt1; rMN0K: if (empty($round_type)) { goto HaZVn; } goto DiaaP; pEFnH: goto wGmCF; goto Ceh2Q; NEWQY: T22QC: goto SNzK4; mB6YZ: goto ctiCY; goto GSZ8L; wsyLg: list($unite, $decimal) = explode("\56", $return); goto GfHTY; VyhcG: DSlOx: goto kv50d; Ql9co: if ($round_type == "\62") { goto oLyyg; } goto MAB3G; ZZ9p2: $return = str_replace("\x2c", "\x2e", $return * 1000000); goto wsyLg; RQ9Cx: if ($chiffre >= 50 && $chiffre <= 99.999999999) { goto Cpo2k; } goto bzGXu; PoSyc: $return = str_replace("\x2c", "\56", $return * 1000000); goto aXvv6; FlMTn: $decimalReturn = 95; goto BUl0q; JZjUX: $return = $unite + 1; goto OkTtP; bd8Nk: $return = ceil($return); goto f7oLI; SymQG: xqb6W: goto HQuj6; PSzuq: HZgrV: goto CIngp; F6Y6c: x14A5: goto kGYTA; jXs1g: $return = ($unite . "\x2e" . $decimal) * 1; goto NZJOi; O4qa2: $unite = 0; goto rL3YP; Zu7oF: goto N6Llz; goto kwOMw; uezjv: rhJzm: goto qjXOa; jOyDF: goto ctiCY; goto REN8H; p3P69: if (empty($round_type)) { goto WneZj; } goto F4n58; NQU89: WG954: goto ulA2N; HcUFx: QCcoS: goto KRCxO; eFGoe: $decimal = 5; goto L7k3u; aaiCd: goto Wgl8O; goto SpM8l; T6erM: ZRoBC: goto pczfX; kUkDf: GC0RD: goto IGZkQ; ILuMx: $chiffre = ($chiffre . "\56" . $decimal_part) * 1; goto p3P69; qM4Hq: $decimalReturn = 5; goto RVpE_; eSaQX: PjP8v: goto P_eC_; wrTKA: goto WG954; goto KNggW; L7k3u: goto WG954; goto CD9UP; kv50d: $return -= 0.01; goto KMBo_; TFYNu: $return = $unite + 1; goto CdETJ; v4kai: $return = floor($return); goto TgiS9; qjXOa: wwJHy: goto Eyo33; TMkSD: q3sM8: goto t1vhI; oaQP2: goto HStiu; goto YDffF; MAB3G: goto HZgrV; goto h5Az2; GSZ8L: Mn1hY: goto pgGC8; lstdb: if ($round_type == "\61") { goto MZXrH; } goto fSknu; Qhrlc: $return = $unite; goto F4Xua; TOcDl: if ($decimal >= 25 && $decimal <= 74) { goto LXIoV; } goto CYbyh; hVKU6: goto x14A5; goto u8WTQ; erSc7: goto vA9Qi; goto nthdQ; Ceh2Q: q1ddQ: goto McPAv; G4J4G: $return = $unite; goto Blmqa; Sl7zr: Cpo2k: goto KcrMc; LFABH: goto Wgl8O; goto XuQsr; NSeNz: goto CtHCA; goto ho0mx; nCjpc: U24RY: goto T8l1x; FJdq9: if ($decimal >= 5 && $decimal <= 9) { goto cfrSw; } goto yZOLr; yqab0: $return = $unite + 1; goto Z3tfw; dQABh: $return = str_replace("\x2c", "\x2e", $return); goto N0PQe; uRnf2: goto rhJzm; goto iVh3t; GyiM2: ctiCY: goto qLgBk; yHFak: hqQfq: goto ktCow; OqD5E: goto NX2DJ; goto cuBHD; UU3YF: if ($round_type == "\x31") { goto aeRuu; } goto OBc0_; R6wyB: if ($decimal >= 1 && $decimal <= 4) { goto HhEfq; } goto fLTpe; wOBHd: DBzIb: goto JHH5R; ECTsx: yKZSR: goto I2HgA; JpJaF: if (!($round_type == "\61")) { goto YXibw; } goto C_ED9; M1IYQ: $return = round($return); goto YMhtT; kacd3: if ($modif_type == "\x39") { goto nbA3t; } goto FVYAu; vWqHS: $decimal = 0; goto PuPtt; Ux30S: $decimal = 0; goto jOyDF; xnUPr: $return = str_replace("\x2c", "\x2e", $return * 1000000); goto JA0IZ; VpyEO: goto DBzIb; goto G0Zq0; R2a3S: if ($decimal >= 0 && $decimal <= 24) { goto yYKxo; } goto TOcDl; h5Az2: L26ue: goto s56Hw; dWHPx: FwXqO: goto IvIpX; B3p1j: goto kFmMW; goto db_NP; SjF4c: list($other, $chiffre) = explode("\56", $return / 100); goto efvL0; kpk8y: $decimal = 5; goto kUkDf; idOBC: WiAj_: goto Y08rb; f7oLI: goto EvH4c; goto ZkBtF; dUxOA: $return = ceil($return); goto keuu5; yZOLr: goto GC0RD; goto g5Xnr; HtdBQ: goto lGhRg; goto edBk9; pZR9_: if ($decimal >= 0 && $decimal <= 2) { goto KOXp8; } goto xj5dr; zIvPk: goto p9sXA; goto Qg8RS; igswE: if (empty($round_type)) { goto QCcoS; } goto XE1qN; bTi08: if ($round_type == "\61") { goto xEF3y; } goto IcCjf; Yy8Oy: $decimalReturn = 0; goto LWdGR; Y_yZ3: goto rhJzm; goto wO0Cq; fLTpe: if ($decimal >= 5 && $decimal <= 9) { goto qdPsg; } goto Y_yZ3; sCaXe: ++$unite; goto PzlBg; Xp3r5: $decimal = 0; goto xYONg; CdETJ: OkXHt: goto pJTR4; XBMRp: goto wwJHy; goto QIbDH; iVh3t: qdPsg: goto NtTJP; bYwZf: list($other, $chiffre) = explode("\56", $return / 10); goto ILuMx; NGMud: $decimal = 0; goto g1Stu; XPKIa: if ($round_type == "\61") { goto cZKML; } goto Ql9co; mq4zh: return $return; goto OIBoS; NAEOj: goto HZgrV; goto jw3DU; bkGPg: k6HM7: goto JpJaF; g1Stu: Wgl8O: goto wNH69; XM9Pc: $return = str_replace("\x2c", "\x2e", $return * 1000000); goto onzbV; xkYXS: goto N6Llz; goto jYAvD; onzbV: list($unite, $decimal) = explode("\x2e", $return); goto SxS8s; lzHKA: if ($modif_type == "\x35") { goto T22QC; } goto N0IiE; vwl8v: $return = $unite / 1000000; goto mhWTw; duObS: goto HZgrV; goto WFXSb; RPqiK: if ($decimal >= 6 && $decimal <= 9) { goto YRwXC; } goto wgJ84; Ls4zZ: $realDecimal = substr($decimal, 0, 2); goto sI8Ao; qbGxr: goto fgkU_; goto t0heO; G147c: BUULT: goto mq4zh; B3xHB: goto DSlOx; goto RTv_d; kwOMw: WneZj: goto R1M63; M6OJO: $unite = 0; goto N3IhF; sQjOR: $decimal = $decimal . "\x30"; goto unjFc; HQzi5: if ($round_type == "\62") { goto Zln7x; } goto o8h4p; jIOjg: UAuFW: goto JZjUX; InpxQ: $decimal = 5; goto Fbl0E; OBESy: $return = floor($return); goto idOBC; F4n58: if ($round_type == "\61") { goto aqJDy; } goto SWsLx; F4Xua: goto OkXHt; goto Sr5_j; tK9G7: OCz0p: goto dUxOA; TgiS9: lGhRg: goto J3K2j; HSHZ9: if ($modif_type == "\x32") { goto k6HM7; } goto pMqUb; z4L9W: goto kFmMW; goto PAoRE; SxS8s: $return = $unite / 1000000; goto w9Ono; DK3_9: if (empty($round_type)) { goto P17rY; } goto UU3YF; YMhtT: goto lGhRg; goto tK9G7; KNggW: LkMpH: goto MeXYx; pvU8D: goto kFmMW; goto LIFM0; eoBYw: $return = str_replace("\54", "\x2e", $return * 10); goto kQbNw; Fdh26: if ($round_type == 1) { goto r5iaU; } goto fdqmk; W4G8Z: goto iRa9D; goto ILd0r; fdqmk: if ($round_type == 2) { goto sF4CE; } goto AjV0_; p3udp: vR9VP: goto FP7Sl; g5Xnr: lrZch: goto vWqHS; pd_mb: EvH4c: goto vXzcj; jOdnv: $decimal = 0; goto nCjpc; uH0lM: cfrSw: goto kpk8y; cB0rT: V0H3R: goto lle5Z; pMqUb: if ($modif_type == "\63") { goto bDdss; } goto K8i9F; yl2i1: if ($round_type == "\x32") { goto QQi5k; } goto unxAD; VaNdd: JvonC: goto VyhcG; I2HgA: $return = ceil($return); goto daKMH; Fbl0E: goto vA9Qi; goto xuW6h; Fqs3g: goto HStiu; goto NzS3C; kZFBg: SfK0a: goto BB_YN; Md7y9: $return = ceil($return); goto qbGxr; f9dU4: if ($decimal >= 8 && $decimal <= 9) { goto lczid; } goto wrTKA; buh66: HStiu: goto XBMRp; Ta9bs: if ($realDecimal > 95 && $realDecimal <= 99) { goto RI49O; } goto pb3ls; Uo1g5: goto N6Llz; goto CfCr2; acJ5w: $return = floor($return); goto pd_mb; VWNAM: if (!(strlen($decimal) == 1)) { goto y18sS; } goto sQjOR; bMeku: goto WG954; goto T4201; KwIdv: pTAP2: goto Ni3dO; O4jQ0: $return = $unite; goto IP43K; bQzXi: if ($decimal >= 50) { goto h1LxJ; } goto Qhrlc; AEJXN: if ($decimal >= 50 && $decimal <= 99) { goto HzTJk; } goto W2DDt; fH3cZ: $decimal = 0; goto erSc7; Y3mCV: goto EvH4c; goto zIONx; pgGC8: if ($chiffre >= 0 && $chiffre < 50) { goto jWysA; } goto RQ9Cx; LWdGR: $return = str_replace("\x2c", "\56", $return); goto L3jBw; keuu5: goto lGhRg; goto sYwA3; tGFfH: QQi5k: goto OBESy; sI8Ao: if ($round_type == 0) { goto djLZG; } goto Fdh26; OBc0_: if ($round_type == "\62") { goto ZRoBC; } goto zIvPk; edpdI: ++$return; goto c4NNz; f_r0Y: list($unite, $decimal) = explode("\x2e", $return); goto VWNAM; DJFnL: ++$unite; goto jOdnv; C_ED9: $return = str_replace("\x2c", "\x2e", $return * 1000000); goto sPHwf; KRCxO: $return = round($return); goto Y3mCV; sw23q: goto NX2DJ; goto cB0rT; xj5dr: if ($decimal >= 3 && $decimal <= 7) { goto FxP0f; } goto ivj_L; bgCNU: sF4CE: goto dZ3EE; I7kBC: goto vA9Qi; goto XAjE2; IzAx9: kFmMW: goto G147c; cPOa6: goto fgkU_; goto TDW8s; XJ265: y1djY: goto G8AOA; z9Mva: if ($decimal >= 6 && $decimal <= 9) { goto oOdQC; } goto iSDYH; eXuSE: $decimal = 0; goto YJLUb; CD9UP: lczid: goto g_yiI; jw3DU: oLyyg: goto NLVo8; xtp7U: r5iaU: goto Ta9bs; SiZkt: list($unite, $decimal) = explode("\56", $return); goto siTbu; oeYMb: $return = floor($return); goto wOBHd; aBr67: if (!($round_type == "\61")) { goto akgO0; } goto ZZ9p2; EL3vh: $decimal = 0; goto NQU89; D9mlg: cGt8Z: goto tVgBL; jwU5f: ++$unite; goto eS1ky; RFH5F: Xhhqe: goto Cli2I; aXvv6: list($unite, $decimal) = explode("\56", $return); goto S10DB; BPN0o: joSPC: goto DK3_9; cuBHD: h0ya7: goto WaJoF; WFXSb: cZKML: goto fXujA; YFaru: $return = str_replace("\x2c", "\x2e", $return); goto KJX1P; KUy9J: VfhjD: goto JnODt; CV3lt: MYLx6: goto zlXMR; G5ibp: akgO0: goto SbX2T; b9i9D: goto VfhjD; goto pwLrx; lG_R8: YXibw: goto ewpyO; u8WTQ: vxapv: goto Kyz94; kQbNw: list($unite, $decimal) = explode("\56", $return); goto Wb7uy; F3ezf: SZAYh: goto y5tNg; VTjhM: if ($decimal >= 3 && $decimal <= 7) { goto BY5Rz; } goto f9dU4; sUHjr: FxP0f: goto lSEjl; RTv_d: wC7an: goto mP7hX; ulMkS: vA9Qi: goto P4GTv; PzlBg: $decimal = 0; goto buh66; VDX_U: $decimal = 0; goto ulMkS; zo79x: --$return; goto AuKFG; hj2u6: $return = $price; goto RjzvO; pb3ls: $decimalReturn = 95; goto LcQAT; ktCow: $decimal = 5; goto Q17iy; j2v3r: $decimal = 0; goto LFABH; OkTtP: dS2Jw: goto PSzuq; cqVeG: if ($round_type == "\61") { goto Ixh5a; } goto UlYDR; ivj_L: if ($decimal >= 8 && $decimal <= 9) { goto qXKSy; } goto Fqs3g; BXB3s: if (empty($round_type)) { goto Mn1hY; } goto mZHm4; xuW6h: liXDb: goto h4S3K; IcCjf: if ($round_type == "\x32") { goto XkpVQ; } goto SL6gj; dsUXY: $return = str_replace("\x2c", "\x2e", $return * 1000000); goto oCzs9; jvENq: if (empty($round_type)) { goto LOL8c; } goto s2rOU; SNzK4: if (!($round_type == "\61")) { goto iuP9q; } goto xnUPr; daKMH: goto WiAj_; goto tGFfH; MY8UT: $decimal = $decimal . "\x30"; goto BPN0o; qu1NO: yr6Jb: goto rMN0K; N0IiE: if ($modif_type == "\x36") { goto qRAH2; } goto yxC4P; YL4r1: if ($round_type == "\62") { goto wC7an; } goto i2y3F; rzbXL: if ($round_type == "\x31") { goto h0ya7; } goto Rf_zm; SbX2T: $return = str_replace("\x2c", "\56", $return * 100); goto igswE; uDmsn: if ($modif_type == "\70") { goto LEq_p; } goto kacd3; YDffF: qXKSy: goto sCaXe; AXReT: if ($round_type == "\x31") { goto XBZXf; } goto fIG_h; PuPtt: goto GC0RD; goto uH0lM; IGZkQ: wGmCF: goto ac2xu; r_P_d: $unite = 1; goto Xp3r5; BHD1j: if ($decimal >= 0 && $decimal <= 49) { goto i07pj; } goto AEJXN; pki2e: $return = $unite / 1000000; goto QHY9R; ruvVr: ikH9w: goto oi6Mr; Kyz94: --$return; goto TOMKm; qrxRj: $return = str_replace("\54", "\x2e", $return * 10); goto UGJqP; eyJqu: if (!($round_type == "\x31")) { goto Q1UP2; } goto XM9Pc; pJTR4: goto DSlOx; goto AJfe3; rL3YP: $decimal = 0; goto J1lqI; Blmqa: goto p6WGO; goto UDGgr; g_yiI: ++$unite; goto EL3vh; NtTJP: $decimal = 5; goto uezjv; K8i9F: if ($modif_type == "\64") { goto FwXqO; } goto lzHKA; o8h4p: goto EvH4c; goto HcUFx; SL6gj: goto wwJHy; goto v8o28; SpM8l: MYHEK: goto zHALr; CIngp: $return -= 0.1; goto pvU8D; mZHm4: if ($round_type == "\x31") { goto SfK0a; } goto cDzZG; XAjE2: yYKxo: goto fH3cZ; RVpE_: $decimalReturn = "\x30" . $decimalReturn; goto hVKU6; t1vhI: goto ZGpWW; goto bgCNU; FodZJ: $decimal = $decimal . "\x30"; goto qu1NO; NzS3C: KOXp8: goto kPF4q; LJnZU: $return = $unite + 1; goto B3xHB; a1kiR: if (!(strlen($decimal) == 1)) { goto yr6Jb; } goto FodZJ; zHALr: ++$unite; goto NGMud; fIG_h: if ($round_type == "\x32") { goto LBmkh; } goto KDIvu; TDW8s: acjlE: goto bRpwp; nthdQ: LXIoV: goto InpxQ; Q5oha: goto ZGpWW; goto xtp7U; cDzZG: if ($round_type == "\x32") { goto FADeh; } goto mB6YZ; Z3tfw: goto hzOdY; goto QGzi7; Crji7: $return = str_replace("\54", "\56", $return * 1000000); goto Q7pwn; YJLUb: goto JYGol; goto Sl7zr; s60Yw: ++$unite; goto rcljZ; XcNQN: LEq_p: goto O4qa2; ofUiR: bEiJm: goto KUuM3; sYwA3: uBZ2V: goto v4kai; BB_YN: $unite = 1; goto Ux30S; edBk9: LOL8c: goto M1IYQ; QGzi7: BADZW: goto DBvxp; ZkBtF: Zln7x: goto acJ5w; G9x5J: if (empty($round_type)) { goto acjlE; } goto lstdb; PFKJ0: bDdss: goto JyM9R; db_NP: KuZBV: goto eyJqu; HQuj6: if (!($round_type == "\61")) { goto Xhhqe; } goto dsUXY; Y9fdi: $return = $unite / 1000000; goto lG_R8; IkuvT: RI49O: goto edpdI; GfHTY: $return = $unite / 1000000; goto G5ibp; G8AOA: $return = round($return); goto P5hMx; T8l1x: goto p9sXA; goto T6erM; cFzw1: $return = str_replace("\x2c", "\x2e", $return * 100); goto jvENq; i6KxR: if ($modif_type == "\61") { goto KuZBV; } goto HSHZ9; UDGgr: fzLQr: goto t0GX_; KcrMc: $unite = 1; goto Orwot; IP43K: goto dS2Jw; goto jIOjg; sPHwf: list($unite, $decimal) = explode("\x2e", $return); goto Y9fdi; UlYDR: if ($round_type == "\62") { goto SdOoW; } goto kdfD3; tmRgN: goto kFmMW; goto PFKJ0; U8L5N: goto wGmCF; goto Kfhu8; FP7Sl: $return = str_replace("\54", "\x2e", $return * 100); goto x77k0; AjV0_: goto ZGpWW; goto ZmFjo; x77k0: if (empty($round_type)) { goto y1djY; } goto K4X0i; kGYTA: ZGpWW: goto dW2Hd; i2y3F: goto DSlOx; goto y5yFZ; VyHEm: jWysA: goto eXuSE; wO0Cq: HhEfq: goto G1l_j; Orwot: $decimal = 0; goto xuSMg; qLgBk: $return = ($other + $unite . "\60\x30") * 1; goto kDrP0; jYAvD: yGtjf: goto fwSi9; YClTw: goto ikH9w; goto RSU_3; Eyo33: $return = ($unite . "\x2e" . $decimal) * 1; goto qwLHp; vXzcj: $return = $return / 100; goto Fu2tm; JA0IZ: list($unite, $decimal) = explode("\x2e", $return); goto vwl8v; w9Ono: Q1UP2: goto IKWhJ; AJfe3: DvGNv: goto LJnZU; nv4oJ: $return = floor($return); goto SqA6y; V95cj: LdTt9: goto z4L9W; IseF3: $return = $unite / 1000000; goto RFH5F; JyM9R: if (!($round_type == "\x31")) { goto vR9VP; } goto PoSyc; P5hMx: goto WiAj_; goto ECTsx; G0Zq0: Ixh5a: goto KOWdq; DBvxp: $return = $unite + 2; goto YeXTY; c52b3: p6WGO: goto duObS; s2rOU: if ($round_type == "\x31") { goto OCz0p; } goto c3ZsQ; JnODt: $return = $return / 100; goto SiZkt; mhWTw: iuP9q: goto cFzw1; DJkWX: nbA3t: goto M6OJO; Y08rb: $return = $return / 100; goto eoBYw; K4X0i: if ($round_type == "\x31") { goto yKZSR; } goto yl2i1; t0heO: FpEPr: goto nv4oJ; OIBoS: } public static function usesAdvancedStockManagement($id_product, $id_shop = null) { goto ovgf9; ovgf9: if (!empty($id_shop)) { goto LoLsX; } goto TVAoa; sZ0XB: $query = "\123\x45\114\x45\103\124\x20\160\x72\x6f\144\x75\143\164\x5f\163\x68\157\x70\56\141\144\166\141\156\x63\145\144\137\x73\164\157\143\x6b\x5f\155\141\x6e\141\x67\x65\x6d\145\x6e\164\12\x20\x20\40\40\x20\40\x20\x20\106\122\117\115\x20\x60" . _DB_PREFIX_ . "\x70\162\x6f\x64\x75\x63\164\140\40\x70\12\40\x20\x20\40\x20\40\40\x20\x20\111\x4e\116\105\122\40\x4a\117\x49\116\x20" . _DB_PREFIX_ . "\x70\162\157\x64\165\x63\164\x5f\163\150\x6f\x70\40\x70\x72\157\144\x75\x63\164\x5f\163\150\x6f\x70\xa\40\40\x20\40\40\40\40\x20\40\40\40\40\40\40\x20\x20\117\116\x20\x28\160\162\x6f\x64\x75\143\164\x5f\163\x68\x6f\160\x2e\151\144\137\160\162\x6f\x64\x75\143\x74\40\75\40\x70\x2e\151\144\x5f\x70\162\157\144\x75\x63\x74\x20\x41\116\104\x20\160\162\x6f\144\x75\x63\x74\x5f\163\x68\157\x70\56\151\144\137\163\x68\157\x70\40\75\x20" . ($id_shop > 0 ? (int) $id_shop : "\x70\x2e\151\144\x5f\163\x68\x6f\160\137\x64\145\146\x61\165\x6c\x74") . "\x29\xa\40\x20\x20\40\40\40\40\x20\127\x48\105\x52\x45\40\50\160\x2e\x69\144\137\x70\x72\x6f\x64\165\x63\x74\x20\75\x20" . (int) $id_product . "\51"; goto C2zD4; YZWeZ: LoLsX: goto sZ0XB; C2zD4: return (bool) Db::getInstance()->getValue($query); goto lZoky; TVAoa: $id_shop = self::getSelectedShop(); goto YZWeZ; lZoky: } public static function SendMail($id_lang, $template, $subject, $template_vars, $to, $to_name = null, $from = null, $from_name = null, $file_attachment = null, $mode_smtp = null, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = null) { goto P_7of; B2S0y: foreach ($to as $key => $addr) { goto U2lOa; aQBFr: if (Validate::isEmail($addr)) { goto xQXn2; } goto CEtAj; c4r5v: $addr = trim($addr); goto aQBFr; K1Bdb: return false; goto cogA4; ncqrS: VVkck: goto S8OqO; QhmZT: if (!is_array($to_name)) { goto vML2A; } goto SFcGT; U2lOa: $to_name = null; goto c4r5v; nmfBw: O00ur: goto rbn4v; OjPmv: if (!($to_name == null)) { goto VVkck; } goto sav1p; S8OqO: $to_list->addTo($addr, "\x3d\77\125\124\x46\x2d\70\77\x42\x3f" . base64_encode($to_name) . "\x3f\x3d"); goto nmfBw; re8tO: $to_name = $to_name[$key]; goto dlz5S; SFcGT: if (!($to_name && is_array($to_name) && Validate::isGenericName($to_name[$key]))) { goto Bexaa; } goto re8tO; jW0Bb: vML2A: goto OjPmv; sav1p: $to_name = $addr; goto ncqrS; CEtAj: Tools::dieOrLog(Tools::displayError("\x45\162\162\x6f\162\72\x20\151\156\x76\x61\154\151\x64\40\x65\55\x6d\x61\151\154\40\141\144\144\162\x65\x73\x73"), $die); goto K1Bdb; dlz5S: Bexaa: goto jW0Bb; cogA4: xQXn2: goto QhmZT; rbn4v: } goto kqQwo; k4iP4: OanXj: goto Zyjn7; Zyjn7: if (Validate::isMailSubject($subject)) { goto uK4OH; } goto f10rG; UTNeb: if (!(is_numeric($id_shop) && $id_shop)) { goto THdUL; } goto ZnK9D; g1DIn: goto v7yBQ; goto kKZXx; sDOF9: $to_plugin = $to; goto PYzYL; Q6BCY: return false; goto VKL9P; yUJjJ: $from = null; goto RtOIb; P_7of: $theme_path = _PS_THEME_DIR_; goto UTNeb; Toavw: goto nwmBa; goto zoe_W; RtOIb: G2zld: goto OamFe; NILh1: uK4OH: goto S2xqq; z_Fmv: THdUL: goto cOEf5; D0w9C: if (isset($configuration["\120\123\137\115\101\111\114\137\123\115\124\x50\137\x45\116\103\122\x59\120\x54\111\117\116"])) { goto fLgaG; } goto q5Wkw; hAKV7: v7yBQ: goto GzIKH; ZnK9D: $shop = new Shop((int) $id_shop); goto mNpMd; kKZXx: biirt: goto NljN3; zNN30: Tools::dieOrLog(Tools::displayError("\x45\162\162\x6f\x72\x3a\40\151\x6e\x76\141\154\x69\x64\40\x65\55\x6d\x61\x69\x6c\x20\164\145\155\160\154\x61\x74\145"), $die); goto TsPEM; PYzYL: if (!($to_name == null)) { goto zVMuO; } goto WPhB3; k1OKS: $to_name = null; goto sd7HI; q5Wkw: $configuration["\120\x53\137\x4d\x41\111\x4c\x5f\x53\115\x54\x50\x5f\x45\x4e\x43\x52\131\120\x54\111\x4f\x4e"] = "\157\x66\146"; goto g9bP4; GzIKH: if (!($theme_name != _THEME_NAME_)) { goto i0Ay2; } goto zPzeD; p3i67: $theme_name = $shop->getTheme(); goto g1DIn; wMhec: i0Ay2: goto z_Fmv; n_Gup: Tools::dieOrLog(Tools::displayError("\105\162\162\157\x72\72\40\x70\x61\x72\141\x6d\145\164\145\x72\x20\x22\x74\x6f\x22\x20\151\x73\x20\143\x6f\x72\162\x75\160\164\145\x64"), $die); goto Q6BCY; G0G_H: $from = $configuration["\120\123\x5f\x53\x48\117\120\x5f\105\115\x41\111\114"]; goto RXTd5; S2xqq: if (is_array($to) && isset($to)) { goto pFvVL; } goto sDOF9; NljN3: $theme_name = $shop->theme->getDirectory(); goto hAKV7; PjMtT: zVMuO: goto fJcIJ; mNpMd: if (version_compare(_PS_VERSION_, "\x38\56\60\x2e\x30", "\76\x3d")) { goto biirt; } goto p3i67; zLtez: if (Validate::isEmail($from)) { goto G2zld; } goto yUJjJ; OKx4i: if (!(!is_array($to) && !Validate::isEmail($to))) { goto H2oh3; } goto n_Gup; f10rG: Tools::dieOrLog(Tools::displayError("\x45\162\162\157\162\72\x20\151\156\166\141\154\x69\144\x20\145\55\155\141\x69\154\x20\x73\x75\142\x6a\x65\x63\x74"), $die); goto LZuDD; WPhB3: $to_name = $to; goto PjMtT; JYBRx: $to = $to_list; goto bbkGO; bbkGO: nwmBa: goto oVGPu; kPLG9: if (is_array($template_vars)) { goto OI9VN; } goto ZbCdV; igJox: if (Validate::isTplName($template)) { goto OanXj; } goto zNN30; LZuDD: return false; goto NILh1; DHnec: $to_list = new Swift_RecipientList(); goto B2S0y; ef17R: $from_name = null; goto Bqx3S; TsPEM: return false; goto k4iP4; fUU_F: if (Validate::isMailName($from_name)) { goto ZGyTj; } goto ef17R; zoe_W: pFvVL: goto DHnec; iDlSz: $to_plugin = $to[0]; goto JYBRx; VVIro: $configuration["\x50\x53\x5f\115\101\x49\114\x5f\x53\x4d\x54\x50\x5f\x50\117\x52\x54"] = "\x64\145\x66\x61\x75\154\164"; goto xNzgI; g9bP4: fLgaG: goto FjeDL; oVGPu: try { goto tNvqm; wSv72: return false; goto mrAnE; qOWPn: $template_vars = array_map(array("\x54\157\x6f\x6c\x73", "\x68\164\x6d\x6c\145\x6e\x74\x69\164\151\x65\163\x44\145\143\157\x64\145\x55\x54\106\70"), $template_vars); goto DbTcD; W78A5: return false; goto mYY2O; ixO6q: $template_vars["\173\163\150\157\160\137\156\141\155\145\x7d"] = Tools::safeOutput(Configuration::get("\x50\x53\137\x53\x48\117\x50\137\116\101\115\105", null, null, $id_shop)); goto qwluo; hmsOQ: Tools::dieOrLog(Tools::displayError("\x45\162\162\x6f\x72\x20\55\40\x54\150\x65\40\x66\157\x6c\154\157\167\x69\x6e\x67\x20\145\x2d\155\141\151\x6c\x20\164\x65\x6d\160\x6c\x61\x74\x65\x20\x69\163\40\x6d\x69\163\x73\151\x6e\147\x3a") . "\40" . $template_path . $template . "\56\164\170\164", $die); goto W78A5; PaQmp: if (Configuration::get("\x50\123\x5f\114\x4f\x47\x4f\x5f\x4d\101\x49\x4c", null, null, $id_shop) !== false && file_exists(_PS_IMG_DIR_ . Configuration::get("\x50\123\137\x4c\x4f\107\x4f\x5f\x4d\x41\111\114", null, null, $id_shop))) { goto GAXUZ; } goto Y0wKK; ksPRg: $message->attach(new Swift_Message_Part($template_txt, "\x74\x65\170\x74\x2f\160\x6c\141\x69\156", "\70\142\151\x74", "\165\164\x66\55\x38")); goto YEPrW; dc6AG: nVgPk: goto iABEi; W4OJ4: $file_attachment = array($file_attachment); goto dc6AG; SVnhK: vufK7: goto YnUOo; tRAiI: rpupv: goto O_DS9; QjxaQ: $iso = Language::getIsoById((int) $id_lang); goto MT782; Dtjlq: if ($module_name !== false && (file_exists($theme_path . "\x6d\x6f\x64\165\154\x65\163\x2f" . $module_name . "\57\155\x61\x69\154\163\57" . $template . "\x2e\164\170\164") || file_exists($theme_path . "\x6d\157\144\x75\x6c\145\x73\x2f" . $module_name . "\x2f\x6d\141\151\x6c\163\x2f" . $template . "\x2e\x68\164\155\154"))) { goto sHOfi; } goto PX9s4; kkedT: Wa1iy: goto VsolF; kTjzO: HGZbt: goto EGf7y; RD6hT: $override_mail = true; goto vy3nw; OXcg0: $template = $iso . "\57" . $template; goto XP_9R; jk3i1: if (!(!file_exists($template_path . $template . "\x2e\x68\164\x6d\x6c") && ($configuration["\x50\123\x5f\x4d\x41\x49\x4c\137\124\131\120\105"] == Mail::TYPE_BOTH || $configuration["\x50\x53\137\115\x41\111\x4c\x5f\124\131\120\105"] == Mail::TYPE_HTML))) { goto Tprki; } goto oM8sQ; T1PKg: goto R3QGD; goto x86Fu; sRZid: return false; goto hEa5a; c_9gr: $message->headers->setEncoding("\x51"); goto jFwt8; gJWla: BgbCK: goto ppQ5T; GGmGi: xFGL1: goto CiB45; mrAnE: ohN7X: goto bhLfs; Cwy6X: y8EcY: goto f1BEs; YnUOo: include_once $template_path . $iso . "\x2f\x6c\x61\x6e\x67\56\160\x68\160"; goto Cwy6X; DXh1b: $template_txt = strip_tags(html_entity_decode(file_get_contents($template_path . $template . "\56\x74\170\164"), null, "\165\164\x66\x2d\70")); goto ahtLx; xbZTG: return false; goto GGmGi; ppQ5T: if (empty($configuration["\x50\123\137\x4d\101\x49\x4c\137\x50\x41\123\123\x57\x44"])) { goto Wa1iy; } goto Ciyvj; He2HH: RwmHS: goto iPIQe; Ciyvj: $connection->setPassword($configuration["\120\x53\137\115\x41\111\x4c\x5f\x50\x41\x53\123\127\104"]); goto kkedT; ahtLx: if ($override_mail && file_exists($template_path . $iso . "\57\154\141\156\x67\56\160\x68\x70")) { goto vufK7; } goto tiq1q; xekh0: $template_path = $theme_path . "\x6d\141\151\x6c\163\57"; goto RD6hT; BgOWj: $message->attach(new Swift_Message_Part($template_html, "\x74\x65\170\164\x2f\150\x74\155\x6c", "\70\142\151\164", "\x75\x74\x66\x2d\x38")); goto tRAiI; lBT8I: OTT1n: goto GPX1m; NTkfe: goto RwmHS; goto hhuYD; M5nwP: include_once $theme_path . "\155\x61\x69\154\x73\57" . $iso . "\57\x6c\x61\x6e\x67\x2e\160\x68\x70"; goto UFr33; PX9s4: if (file_exists($theme_path . "\155\141\151\154\x73\57" . $template . "\56\164\170\164") || file_exists($theme_path . "\x6d\x61\151\x6c\163\57" . $template . "\56\150\x74\x6d\x6c")) { goto LlVwn; } goto cjMY3; ed1oc: $template_vars["\x7b\x67\165\x65\x73\x74\137\164\x72\x61\x63\x6b\151\x6e\147\x5f\165\x72\154\175"] = Context::getContext()->link->getPageLink("\x67\x75\145\x73\x74\55\164\x72\141\143\153\x69\x6e\x67", true, Context::getContext()->language->id); goto k6vai; vy3nw: X0AO0: goto xJVp0; xfw5k: if (!(empty($configuration["\120\x53\x5f\115\101\x49\x4c\x5f\x53\105\x52\x56\105\x52"]) || empty($configuration["\120\x53\x5f\x4d\101\111\x4c\x5f\x53\115\x54\x50\137\x50\117\x52\124"]))) { goto ohN7X; } goto oLNmz; EGf7y: $logo = _PS_IMG_DIR_ . Configuration::get("\x50\x53\x5f\x4c\117\x47\117", null, null, $id_shop); goto w7k9t; hQhwu: XjrUS: goto OXcg0; oLNmz: Tools::dieOrLog(Tools::displayError("\x45\x72\162\x6f\162\x3a\40\151\156\166\x61\x6c\x69\x64\x20\x53\x4d\x54\x50\40\163\x65\x72\x76\145\162\x20\x6f\162\x20\x53\115\124\120\40\160\157\x72\164"), $die); goto wSv72; oM8sQ: Tools::dieOrLog(Tools::displayError("\x45\x72\x72\x6f\x72\x20\55\40\124\150\145\x20\146\157\x6c\154\157\x77\151\156\x67\40\145\55\x6d\141\x69\x6c\x20\x74\x65\155\x70\x6c\141\164\x65\40\x69\x73\x20\x6d\x69\x73\163\151\x6e\x67\x3a") . "\x20" . $template_path . $template . "\x2e\x68\164\155\154", $die); goto zvILH; bnghr: goto y8EcY; goto SVnhK; Y0wKK: if (file_exists(_PS_IMG_DIR_ . Configuration::get("\120\x53\x5f\114\117\107\117", null, null, $id_shop))) { goto HGZbt; } goto TvMgV; qwluo: $template_vars["\x7b\163\150\x6f\x70\137\x75\162\154\x7d"] = Tools::getShopDomain(true, true) . __PS_BASE_URI__ . "\151\156\x64\x65\170\x2e\x70\x68\x70"; goto KqARg; N25Pj: if ($connection) { goto xFGL1; } goto xbZTG; PLF7q: $logo = _PS_IMG_DIR_ . Configuration::get("\120\123\137\x4c\117\x47\x4f\137\115\x41\111\114", null, null, $id_shop); goto He2HH; XP_9R: $module_name = false; goto hKY1e; CiB45: $swift = new Swift($connection, Configuration::get("\x50\123\137\115\101\x49\114\137\104\117\115\x41\x49\x4e"), null, null, $id_shop); goto QjxaQ; vJQyo: if (!($configuration["\x50\x53\x5f\115\x41\x49\x4c\137\124\x59\x50\105"] == Mail::TYPE_BOTH || $configuration["\x50\x53\137\x4d\101\111\114\137\124\x59\x50\105"] == Mail::TYPE_TEXT)) { goto OQU1k; } goto ksPRg; x86Fu: QQM4R: goto j4gef; DRikx: return $send; goto ap0VP; BjP9I: cfKTu: goto hmsOQ; k6vai: $template_vars["\x7b\x68\151\x73\164\x6f\x72\x79\x5f\x75\162\x6c\x7d"] = Context::getContext()->link->getPageLink("\x68\x69\x73\164\157\x72\171", true, Context::getContext()->language->id); goto rGZik; WSg5z: if (file_exists(_PS_MAIL_DIR_ . $iso . "\x2f\154\141\156\147\56\x70\150\x70")) { goto QQM4R; } goto uRvXv; Zjp8i: if (!($configuration["\x50\123\x5f\x4d\x41\x49\114\137\x54\131\120\105"] == Mail::TYPE_BOTH || $configuration["\120\x53\x5f\115\x41\x49\114\137\124\x59\120\x45"] == Mail::TYPE_HTML)) { goto rpupv; } goto BgOWj; swZ21: $send = $swift->send($message, $to, new Swift_Address($from, $from_name)); goto GapF_; cjMY3: if (!file_exists($template_path . $template . "\x2e\164\170\x74") && ($configuration["\x50\x53\137\115\101\111\114\x5f\124\x59\x50\x45"] == Mail::TYPE_BOTH || $configuration["\x50\123\137\x4d\101\x49\x4c\x5f\124\131\120\x45"] == Mail::TYPE_TEXT)) { goto cfKTu; } goto jk3i1; KqARg: $template_vars["\173\x6d\171\x5f\x61\143\143\157\x75\x6e\164\x5f\165\162\x6c\175"] = Context::getContext()->link->getPageLink("\x6d\x79\x2d\x61\143\x63\x6f\x75\x6e\x74", true, Context::getContext()->language->id); goto ed1oc; tNvqm: if ($configuration["\120\123\x5f\x4d\x41\x49\114\137\x4d\x45\124\x48\117\104"] == 2) { goto X2wXC; } goto EO7Ae; eaHKi: goto PWbsb; goto kTjzO; D9Ofx: Tools::dieOrLog(Tools::displayError("\105\x72\x72\157\162\x20\55\x20\x4e\157\40\x49\123\x4f\x20\x63\x6f\144\x65\x20\146\157\162\40\x65\155\x61\151\x6c"), $die); goto ng92W; ng92W: return false; goto hQhwu; EO7Ae: $connection = new Swift_Connection_NativeMail(); goto uEzOh; DbTcD: $template_vars = array_map(array("\124\157\x6f\154\163", "\x73\x74\x72\x69\160\x73\154\x61\x73\x68\x65\x73"), $template_vars); goto JIISH; XGxX6: VLD5j: goto ixO6q; uRvXv: Logger::addLog(Tools::displayError("\105\162\162\157\162\40\x2d\40\x54\150\145\x20\x6c\x61\156\x67\40\x66\x69\154\145\x20\151\x73\40\x6d\x69\163\x73\151\156\x67\40\146\157\x72\40\x3a") . "\40" . $iso, 3); goto GP7VM; rSuTe: R3QGD: goto GEWsy; UFr33: LbwVG: goto bnghr; MT782: if ($iso) { goto XjrUS; } goto D9Ofx; OEZnT: $message->setId(self::generateId()); goto c_9gr; f9a1k: yeZJ4: goto Dtjlq; lUCkf: goto YrO7e; goto BjP9I; mYY2O: YrO7e: goto xhXuc; YEPrW: OQU1k: goto Zjp8i; cVaAv: $template_html = file_get_contents($template_path . $template . "\x2e\150\164\155\154"); goto DXh1b; jFwt8: if (!version_compare(_PS_VERSION_, "\x31\x2e\66\56\x30\x2e\x30", "\76\75")) { goto p6X9O; } goto qOWPn; QzCOf: sHOfi: goto Zi3Zt; bhLfs: $connection = new Swift_Connection_SMTP($configuration["\120\x53\x5f\x4d\x41\111\x4c\x5f\x53\105\122\x56\x45\122"], $configuration["\120\123\x5f\115\101\111\114\137\123\x4d\124\x50\137\120\117\122\124"], $configuration["\x50\x53\137\x4d\x41\x49\114\137\123\115\124\120\137\105\x4e\103\x52\131\120\124\x49\x4f\116"] == "\163\163\x6c" ? Swift_Connection_SMTP::ENC_SSL : ($configuration["\120\x53\137\115\101\111\114\137\123\115\124\x50\x5f\105\x4e\x43\x52\131\120\124\111\x4f\x4e"] == "\x74\154\x73" ? Swift_Connection_SMTP::ENC_TLS : Swift_Connection_SMTP::ENC_OFF)); goto mZ0Qx; iPIQe: if (!isset($logo)) { goto VLD5j; } goto MPCl0; rGZik: $template_vars["\173\x63\157\154\157\162\175"] = Tools::safeOutput(Configuration::get("\x50\123\137\x4d\x41\111\x4c\x5f\103\117\x4c\x4f\x52", null, null, $id_shop)); goto ZkxKk; xhXuc: goto X0AO0; goto AmtN_; ZNgPE: if ($connection) { goto sTSjG; } goto sRZid; AmtN_: LlVwn: goto xekh0; y24I6: aiQ9x: goto M5nwP; xgauk: X2wXC: goto xfw5k; zvILH: return false; goto c4FeT; GapF_: $swift->disconnect(); goto DRikx; c4FeT: Tprki: goto lUCkf; r9oW0: if (is_array(current($file_attachment))) { goto nVgPk; } goto W4OJ4; Vw8Zl: OXZnI: goto cVaAv; qklnN: if (empty($configuration["\120\x53\137\x4d\x41\111\x4c\137\125\x53\x45\x52"])) { goto BgbCK; } goto fcNii; tiq1q: if ($module_name && file_exists($theme_path . "\x6d\141\x69\154\x73\57" . $iso . "\57\154\141\156\x67\x2e\160\150\x70")) { goto aiQ9x; } goto WSg5z; Zi3Zt: $template_path = $theme_path . "\x6d\x6f\144\x75\154\145\x73\x2f" . $module_name . "\57\x6d\141\x69\x6c\163\57"; goto Vw8Zl; fcNii: $connection->setUsername($configuration["\x50\123\137\115\x41\111\114\x5f\x55\x53\105\122"]); goto gJWla; TvMgV: $template_vars["\x7b\163\150\157\x70\x5f\x6c\157\147\x6f\175"] = ''; goto eaHKi; w7k9t: PWbsb: goto NTkfe; ZkxKk: $swift->attachPlugin(new Swift_Plugin_Decorator(array($to_plugin => $template_vars)), "\144\x65\x63\x6f\x72\x61\x74\157\162"); goto vJQyo; hKY1e: $override_mail = false; goto JRxhd; xJVp0: goto OXZnI; goto QzCOf; JIISH: p6X9O: goto PaQmp; uEzOh: goto NSWkZ; goto xgauk; j4gef: include_once _PS_MAIL_DIR_ . $iso . "\57\154\141\156\147\x2e\x70\x68\x70"; goto rSuTe; GPX1m: IDVuF: goto swZ21; O_DS9: if (!($file_attachment && !empty($file_attachment))) { goto IDVuF; } goto r9oW0; VsolF: NSWkZ: goto N25Pj; GEWsy: goto LbwVG; goto y24I6; rXdCG: $module_name = $res[1]; goto f9a1k; JRxhd: if (!(preg_match("\43" . __PS_BASE_URI__ . "\x6d\157\144\165\154\x65\163\57\x23", $template_path) && preg_match("\43\x6d\x6f\x64\165\x6c\x65\x73\x2f\50\133\x61\55\172\x30\x2d\71\137\x2d\x5d\x2b\51\x2f\x23\165\151", $template_path, $res))) { goto yeZJ4; } goto rXdCG; iABEi: foreach ($file_attachment as $attachment) { goto FKNWb; CONsO: SgCPs: goto zyCYO; vToXJ: $message->attach(new Swift_Message_Attachment($attachment["\x63\157\x6e\164\145\156\x74"], $attachment["\x6e\x61\155\145"], $attachment["\x6d\x69\155\145"])); goto CONsO; zyCYO: kGF6K: goto w6VbZ; FKNWb: if (!(isset($attachment["\143\x6f\156\164\145\156\x74"]) && isset($attachment["\156\141\155\145"]) && isset($attachment["\x6d\x69\155\145"]))) { goto SgCPs; } goto vToXJ; w6VbZ: } goto lBT8I; GP7VM: return false; goto T1PKg; MPCl0: $template_vars["\x7b\x73\x68\x6f\160\x5f\154\x6f\x67\x6f\175"] = $message->attach(new Swift_Message_EmbeddedFile(new Swift_File($logo), null, ImageManager::getMimeTypeByExtension($logo))); goto XGxX6; hhuYD: GAXUZ: goto PLF7q; mZ0Qx: $connection->setTimeout(4); goto ZNgPE; hEa5a: sTSjG: goto qklnN; f1BEs: $message = new Swift_Message("\x5b" . Configuration::get("\x50\x53\137\x53\110\117\120\137\116\101\115\x45", null, null, $id_shop) . "\135\x20" . $subject); goto OEZnT; ap0VP: } catch (Swift_Exception $e) { return false; } goto ViWJ7; RXTd5: VDev_: goto zLtez; FjeDL: if (isset($configuration["\x50\123\x5f\115\x41\x49\114\x5f\x53\x4d\124\120\x5f\120\x4f\122\124"])) { goto Yinhb; } goto VVIro; vnegz: if (!(!isset($from) || !Validate::isEmail($from))) { goto VDev_; } goto G0G_H; cOEf5: $configuration = Configuration::getMultiple(array("\120\123\137\123\x48\117\120\x5f\105\115\101\111\114", "\x50\123\137\115\101\111\x4c\137\115\x45\124\x48\117\104", "\x50\x53\x5f\x4d\101\x49\114\x5f\123\105\x52\x56\105\x52", "\x50\123\137\x4d\x41\x49\x4c\x5f\125\x53\x45\x52", "\x50\123\137\x4d\x41\111\114\137\120\101\123\123\127\x44", "\x50\123\x5f\x53\110\x4f\x50\x5f\116\x41\x4d\x45", "\x50\x53\x5f\115\x41\x49\x4c\137\123\115\x54\x50\x5f\x45\116\x43\122\131\120\x54\111\117\x4e", "\x50\x53\137\x4d\x41\111\x4c\137\x53\x4d\x54\x50\x5f\x50\117\x52\124", "\x50\x53\137\115\101\x49\x4c\x5f\x4d\x45\x54\110\117\104", "\120\x53\x5f\115\101\111\x4c\137\x54\x59\120\x45"), null, null, $id_shop); goto D0w9C; VKL9P: H2oh3: goto kPLG9; xNzgI: Yinhb: goto vnegz; sd7HI: shjbK: goto igJox; TjTih: g9YgW: goto fUU_F; m3rGw: $from_name = $configuration["\120\123\137\123\x48\117\120\x5f\116\x41\115\105"]; goto TjTih; ZbCdV: $template_vars = array(); goto S0ymI; Bqx3S: ZGyTj: goto OKx4i; Ms0wQ: if (!(is_string($to_name) && !empty($to_name) && !Validate::isMailName($to_name))) { goto shjbK; } goto k1OKS; OamFe: if (!(!isset($from_name) || !Validate::isMailName($from_name))) { goto g9YgW; } goto m3rGw; zPzeD: $theme_path = _PS_ROOT_DIR_ . "\57\164\150\x65\x6d\x65\163\x2f" . $theme_name . "\x2f"; goto wMhec; fJcIJ: $to = new Swift_Address($to, "\x3d\x3f\x55\x54\x46\55\x38\77\102\x3f" . base64_encode($to_name) . "\x3f\75"); goto Toavw; kqQwo: Lu3Gm: goto iDlSz; S0ymI: OI9VN: goto Ms0wQ; ViWJ7: } public static function generateId($idstring = null) { $midparams = array("\x75\x74\x63\164\151\155\x65" => gmstrftime("\x25\131\45\x6d\45\x64\45\110\45\115\x25\123"), "\x72\141\156\144\x69\156\164" => mt_rand(), "\x63\x75\163\164\x6f\155\163\x74\x72" => preg_match("\x2f\x5e\50\x3f\x3c\x21\x5c\x2e\x29\133\x61\55\x7a\x30\x2d\x39\x5c\56\135\53\x28\77\x21\x5c\x2e\51\44\57\151\x44", $idstring) ? $idstring : "\163\167\151\x66\x74", "\x68\x6f\163\x74\156\x61\155\145" => isset($_SERVER["\123\105\122\126\105\122\x5f\x4e\101\x4d\105"]) ? $_SERVER["\x53\x45\122\x56\x45\122\137\116\x41\115\105"] : php_uname("\x6e")); return vsprintf("\74\x25\163\x2e\45\x64\56\x25\x73\100\45\x73\76", $midparams); } public static function getGridFields($type) { goto Pw3L_; Idw42: global $arrMsgAvailableLater; goto sDpTF; NF2sY: goto gPSVz; goto uUVX1; ryTbM: if (isset($colSettings)) { goto pXgXI; } goto BfCrw; c2IS6: hY3cV: goto rmJoO; h017s: if (!empty($type) && $type == "\x70\x72\157\x70\163\x62\x6f\160\x61\x63\x6b\x73\x70\x72\157\144\165\x63\x74" && file_exists(SC_DIR . "\154\x69\142\57\143\141\164\x2f\x73\142\157\55\x70\141\x63\153\57\143\x61\x74\137\x73\142\x6f\x2d\160\x61\143\153\x5f\x64\x61\164\141\137\x66\x69\x65\154\x64\x73\x2e\160\150\160")) { goto GJBY5; } goto QG3la; dIEN_: if (!empty($type) && $type == "\x77\151\156\x73\160\145\160\162\151\x63\145") { goto w7xsj; } goto BsRDL; fG9tP: if (!empty($type) && $type == "\x63\x6d\163") { goto hY3cV; } goto Gu4To; cHF1R: GJBY5: goto CeCmN; uUVX1: xiAa3: goto Idw42; lBNO8: global $shops, $group_shops, $groups, $countries, $currencies; goto ume2R; rmJoO: global $view; goto y61GG; QG3la: if (!empty($type) && $type == "\x67\155\x61\x70\x61\162\x74\156\145\162") { goto af9mU; } goto bMVvS; GhYfj: if (!empty($type) && $type == "\x70\162\x6f\x70\143\x75\x73\164\x6f\x6d\x65\162\163") { goto SlkGd; } goto dIEN_; iVgLj: goto gPSVz; goto HKGgn; SIhcd: goto gPSVz; goto eV7_s; DoVXe: lW9mo: goto fCcH2; LUUcG: goto gPSVz; goto DoVXe; hx8uf: include SC_DIR . "\x6c\x69\x62\57\x63\x61\164\x2f\x73\x62\157\55\142\x61\x74\143\150\x2f\143\x61\x74\137\163\x62\157\x2d\142\141\164\x63\150\x5f\x64\141\x74\x61\x5f\x66\x69\x65\154\144\x73\x2e\x70\x68\160"; goto MhZE9; mBX3Z: w7xsj: goto CTpFT; rlG9w: include SC_DIR . "\x6c\151\142\x2f\x73\x75\x70\57\x73\165\160\x5f\x73\165\x70\x70\154\x69\x65\162\137\144\141\x74\x61\x5f\x66\151\x65\154\144\x73\x2e\x70\x68\x70"; goto NZ1tq; mt2EU: goto gPSVz; goto c2IS6; ljNO7: goto gPSVz; goto g9aAM; px111: goto gPSVz; goto mBX3Z; y9Hx9: if (!empty($type) && $type == "\163\165\160\x70\x6c\x69\x65\x72") { goto ofppX; } goto iQTRZ; mfgaq: goto gPSVz; goto fa1hF; BsRDL: if (!empty($type) && $type == "\x70\x72\x6f\x70\160\141\x63\x6b\x70\x72\157\x64\x75\x63\x74") { goto QnDNR; } goto qhLFD; prlq1: goto gPSVz; goto xwNXs; MW0Ul: global $shops, $arrTax; goto hdaLO; q8wSD: if (!empty($type) && $type == "\143\165\163\x74\x6f\x6d\145\x72") { goto lW9mo; } goto wa0sy; MhZE9: goto gPSVz; goto cHF1R; aZKSA: SlkGd: goto lBNO8; eW01K: goto gPSVz; goto WK4tR; KORnF: Hnl2h: goto scd0Y; MWLeA: QnDNR: goto UGju6; s2NPU: include SC_DIR . "\154\x69\x62\x2f\x63\x61\164\57\163\x70\x65\143\151\146\151\x63\160\x72\x69\143\145\57\x63\x61\164\137\x73\160\145\143\151\x66\151\x63\x70\162\151\x63\145\137\144\141\x74\141\137\146\x69\x65\x6c\x64\163\x2e\x70\x68\160"; goto MpnFB; XAFTO: pXgXI: goto cnRaR; wa0sy: if (!empty($type) && $type == "\157\162\x64\x65\162") { goto yHQeH; } goto fIfeF; rb5tg: global $view, $arrPayments, $arrStatus, $orderCountry, $orderState, $arrCarrier; goto hvz3Z; y61GG: include SC_DIR . "\154\x69\142\x2f\x63\x6d\163\57\x63\x6d\163\x5f\x70\x61\147\145\x5f\x64\141\164\141\137\x66\x69\x65\154\x64\163\x2e\x70\x68\160"; goto ljNO7; hdaLO: include SC_DIR . "\x6c\x69\142\x2f\x63\141\x74\x2f\x6d\x73\160\x72\157\x64\165\x63\x74\x2f\x63\141\x74\137\155\x73\x70\x72\x6f\x64\165\x63\x74\137\144\x61\164\x61\x5f\146\151\x65\154\144\x73\x2e\x70\150\x70"; goto iz30B; d5Zig: global $view; goto rlG9w; yBic0: if (!empty($type) && $type == "\160\162\157\x70\x73\142\x6f\x62\x61\164\143\150\145\x73\x70\162\157\x64\x75\143\164" && file_exists(SC_DIR . "\154\151\x62\x2f\143\x61\164\57\x73\142\x6f\55\142\141\164\x63\150\57\143\x61\164\137\x73\142\x6f\55\142\141\164\x63\150\137\144\141\164\141\137\146\x69\145\154\x64\x73\x2e\x70\x68\x70")) { goto u7rAc; } goto h017s; mngzp: xcAgV: goto CrgEQ; MP1VE: if (!empty($type) && $type == "\151\x6d\141\147\x65") { goto mjzOw; } goto EXm6o; NZ1tq: goto gPSVz; goto Mb6ms; oDa3S: global $currencies; goto xtbH7; UbsDW: vC77X: goto NylMO; NJq67: gPSVz: goto dQIk0; zxLWz: include SC_DIR . "\x6c\x69\142\x2f\x63\x75\x73\57\x63\165\163\137\x63\165\x73\164\157\x6d\145\162\137\144\141\x74\x61\137\x66\x69\x65\154\x64\163\x2e\x70\150\160"; goto iVgLj; Gu4To: if (!empty($type) && $type == "\x6d\x61\156\165\146\x61\143\164\x75\x72\x65\162") { goto TOWYQ; } goto y9Hx9; AE2q_: if (!empty($type) && $type == "\x6d\163\143\157\x6d\142\151\x6e\x61\164\x69\x6f\156") { goto xcAgV; } goto MP1VE; BfCrw: $colSettings = array(); goto XAFTO; Z2FDf: if (!empty($type) && $type == "\x6d\x73\160\162\x6f\x64\165\143\x74") { goto L8BdW; } goto AE2q_; jj4vT: include SC_DIR . "\154\151\142\57\x63\141\x74\x2f\x69\155\x61\x67\145\57\x63\x61\164\137\151\155\x61\x67\145\137\x64\x61\164\x61\x5f\146\x69\x65\154\x64\x73\56\160\x68\x70"; goto lkwro; qPTsI: VtfiC: goto HVHU9; MpnFB: goto gPSVz; goto aZKSA; tQ8sm: mjzOw: goto PXp9u; xwNXs: af9mU: goto RDh2O; ume2R: include SC_DIR . "\x6c\151\x62\57\143\x61\x74\x2f\x63\165\x73\164\x6f\155\x65\x72\x62\x79\x70\x72\x6f\x64\x75\x63\x74\x2f\x63\x61\x74\137\143\165\163\x74\157\155\x65\x72\x62\x79\160\162\x6f\x64\165\x63\x74\137\x64\141\x74\141\x5f\x66\151\x65\x6c\144\x73\x2e\x70\150\160"; goto px111; DSjK5: goto gPSVz; goto MWLeA; PXp9u: global $shops; goto jj4vT; xtbH7: include SC_DIR . "\154\x69\x62\57\x63\141\164\57\x73\165\160\x70\x6c\x69\x65\162\57\143\141\x74\137\x73\x75\x70\x70\x6c\151\x65\162\x5f\x64\141\x74\x61\137\x66\x69\x65\154\x64\163\x2e\160\150\x70"; goto bgEuF; RDh2O: global $langOption; goto nbU2l; CeCmN: include SC_DIR . "\x6c\x69\x62\x2f\143\141\164\x2f\x73\x62\x6f\55\x70\141\x63\153\57\143\x61\x74\x5f\x73\x62\x6f\x2d\x70\x61\143\153\137\144\141\x74\x61\137\x66\x69\x65\x6c\x64\163\x2e\160\150\x70"; goto prlq1; CrgEQ: global $shops, $arrTax; goto zpOtx; g9aAM: TOWYQ: goto r5DVx; dQIk0: return $colSettings; goto ihv5V; nxggj: if (!empty($type) && $type == "\143\157\x6d\x62\151\x6e\141\x74\151\157\156") { goto xiAa3; } goto yF9RA; vIWMQ: include SC_DIR . "\154\151\142\57\x6d\x61\156\x2f\155\141\x6e\x5f\x6d\x61\156\165\146\x61\x63\164\165\x72\x65\162\x5f\144\x61\x74\141\x5f\x66\x69\145\154\x64\163\56\160\150\160"; goto td9Uy; brXX0: goto gPSVz; goto tQ8sm; HVHU9: global $arrManufacturers, $arrSuppliers, $arrTax, $arrMsgAvailableNow, $arrMsgAvailableLater, $arrReductionPrice, $arrReductionPercent, $arrColorGroups; goto f8Hwq; EXm6o: if (!empty($type) && $type == "\160\162\157\x70\163\x70\145\x70\x72\151\143\145") { goto Hnl2h; } goto GhYfj; Xwz1r: ofppX: goto d5Zig; f8Hwq: include SC_DIR . "\x6c\x69\142\57\x63\x61\x74\x2f\143\141\164\x5f\160\x72\x6f\144\x75\x63\x74\x5f\x64\141\x74\141\x5f\x66\151\145\x6c\x64\x73\56\160\x68\160"; goto NF2sY; Ye8bP: global $view, $arrPayments, $arrStatus, $orderCountry, $orderState, $arrCarrier; goto gYzE_; xbr4l: goto gPSVz; goto UbsDW; HKGgn: yHQeH: goto rb5tg; fCcH2: global $arrGroupes, $arrStates, $arrCountrys, $arrGenders, $language_arr; goto zxLWz; scd0Y: global $shops, $group_shops, $groups, $countries, $currencies; goto s2NPU; Mb6ms: xtyCk: goto sy0Lv; UGju6: include SC_DIR . "\154\x69\x62\x2f\x63\141\x74\57\160\x61\143\153\57\143\x61\164\x5f\160\141\x63\x6b\137\144\141\x74\141\x5f\146\x69\145\154\x64\163\56\x70\150\x70"; goto eW01K; r5DVx: global $view; goto vIWMQ; fa1hF: rIltL: goto Ye8bP; hvz3Z: include SC_DIR . "\x6c\x69\x62\57\157\162\x64\57\x6f\162\x64\x5f\x6f\162\144\x65\x72\x5f\144\141\164\x61\137\146\x69\145\x6c\x64\x73\x2e\x70\150\x70"; goto mfgaq; WK4tR: qyPJI: goto oDa3S; NylMO: global $arrMsgAvailableLater; goto bAXAT; CTpFT: global $shops, $group_shops, $groups, $countries, $currencies; goto vDZW8; yF9RA: if (!empty($type) && $type == "\x63\157\155\x62\151\x6e\141\164\151\x6f\156\155\165\154\x74\x69\x70\x72\x6f\144\165\143\164") { goto vC77X; } goto q8wSD; bMVvS: goto gPSVz; goto qPTsI; qhLFD: if (!empty($type) && $type == "\160\162\157\160\x73\x75\160\160\154\151\x65\x72") { goto qyPJI; } goto yBic0; lkwro: goto gPSVz; goto KORnF; eV7_s: L8BdW: goto MW0Ul; fIfeF: if (!empty($type) && $type == "\157\x72\144\x65\162\137\160\162\x6f\144\x75\x63\164") { goto rIltL; } goto fG9tP; zpOtx: include SC_DIR . "\154\x69\142\x2f\x63\141\164\x2f\155\163\143\x6f\x6d\142\151\x6e\141\164\151\x6f\156\x2f\143\141\x74\x5f\155\x73\143\157\155\142\x69\156\141\164\151\x6f\156\x5f\144\x61\164\141\137\x66\151\x65\154\144\x73\x2e\x70\150\x70"; goto brXX0; bgEuF: goto gPSVz; goto OVB0L; sDpTF: include SC_DIR . "\x6c\x69\x62\57\x63\x61\x74\57\x63\157\x6d\142\x69\x6e\141\x74\151\157\156\57\143\141\164\x5f\143\157\x6d\x62\151\x6e\141\164\151\x6f\156\137\x64\x61\x74\x61\x5f\146\x69\x65\x6c\x64\x73\x2e\160\150\x70"; goto xbr4l; OVB0L: u7rAc: goto hx8uf; nbU2l: include SC_DIR . "\154\151\x62\x2f\x61\x6c\154\x2f\167\151\156\x2d\141\x66\146\x69\x6c\151\141\x74\x69\x6f\156\x2f\x6d\141\x6e\x61\147\x65\162\x2f\x61\x6c\x6c\137\167\x69\x6e\x2d\141\x66\x66\x69\x6c\x69\141\164\151\x6f\156\137\x6d\x61\x6e\x61\147\x65\x72\137\x70\x61\x72\164\x6e\145\x72\137\144\x61\164\141\137\146\151\x65\x6c\144\163\x2e\160\150\x70"; goto NJq67; iz30B: goto gPSVz; goto mngzp; td9Uy: goto gPSVz; goto Xwz1r; cnRaR: if (!empty($type) && $type == "\x70\162\x6f\x64\x75\x63\164") { goto VtfiC; } goto nxggj; Pw3L_: global $colSettings, $cols; goto ryTbM; sy0Lv: include SC_DIR . "\x6c\x69\142\57\x63\141\164\57\160\x72\x6f\144\x75\143\x74\163\x6f\162\x74\57\x63\x61\x74\137\x70\x72\x6f\144\x75\143\x74\163\157\x72\x74\137\x64\x61\164\141\x5f\146\x69\x65\154\144\163\x2e\x70\150\x70"; goto SIhcd; bAXAT: include SC_DIR . "\154\x69\142\57\x63\x61\x74\x2f\x63\157\155\x62\151\x6e\141\x74\151\157\x6e\x6d\x75\154\164\151\160\162\x6f\144\165\x63\x74\57\143\141\x74\x5f\x63\x6f\155\142\151\x6e\141\164\151\157\156\155\165\x6c\x74\151\x70\x72\157\144\x75\x63\164\137\x64\x61\164\141\x5f\x66\151\x65\x6c\x64\163\x2e\160\x68\x70"; goto LUUcG; vDZW8: include SC_DIR . "\154\x69\x62\x2f\143\141\164\57\x77\151\156\x2d\x73\x70\x65\143\151\146\151\143\160\162\151\143\145\x2f\x63\141\164\x5f\x77\x69\156\x2d\163\x70\145\143\x69\x66\151\x63\160\162\151\143\145\137\144\141\x74\141\137\x66\x69\145\154\x64\163\56\x70\x68\x70"; goto DSjK5; iQTRZ: if (!empty($type) && $type == "\160\x72\x6f\144\x75\143\164\x73\x6f\x72\164") { goto xtyCk; } goto Z2FDf; gYzE_: include SC_DIR . "\x6c\151\142\57\x6f\162\x64\x2f\160\162\157\144\165\x63\164\57\157\162\144\137\x70\x72\157\x64\165\x63\164\137\x64\141\x74\141\x5f\146\x69\145\154\144\x73\x2e\x70\x68\160"; goto mt2EU; ihv5V: } public static function getGridViews($type) { goto JVe0w; RSY_a: if (!empty($type) && $type == "\x63\x6f\155\x62\x69\x6e\x61\164\151\x6f\x6e\x6d\x75\x6c\x74\x69\160\162\157\144\165\x63\164") { goto DGHkA; } goto OT9Ci; EYNuP: goto UyrlQ; goto ZHvBe; jQgkZ: goto UyrlQ; goto qZNyP; tTMWI: zEL1a: goto ACS0K; cCJn1: include SC_DIR . "\x6c\151\x62\x2f\143\x61\x74\57\151\155\x61\147\x65\57\143\141\164\x5f\151\155\x61\147\x65\x5f\144\141\x74\x61\x5f\166\151\145\167\x73\56\x70\150\160"; goto DX8ZM; DX8ZM: goto UyrlQ; goto tGtsA; JVe0w: global $grids; goto Rrm1W; uAauq: if (!empty($type) && $type == "\x69\x6d\x61\x67\145") { goto wAPnV; } goto nHf9Q; QJJEf: include SC_DIR . "\x6c\151\x62\57\143\141\164\x2f\x77\151\156\55\163\160\x65\143\x69\x66\151\143\160\162\x69\x63\x65\57\x63\x61\164\x5f\x77\151\x6e\55\x73\x70\x65\x63\x69\x66\151\x63\x70\162\151\143\x65\137\x64\141\164\x61\x5f\166\151\x65\167\163\56\x70\150\160"; goto HPC2C; iYOqT: UyrlQ: goto CMaoO; UMukR: goto UyrlQ; goto JY3YV; VcoDX: include SC_DIR . "\x6c\151\142\57\x63\x75\163\57\143\165\163\137\143\x75\x73\164\x6f\x6d\145\x72\x5f\x64\x61\164\141\x5f\x76\151\x65\x77\163\x2e\x70\150\160"; goto MWDJr; aX42H: goto UyrlQ; goto Czj0X; D7o17: goto UyrlQ; goto rCXqU; Bnfe1: include SC_DIR . "\x6c\x69\x62\57\143\141\x74\x2f\x63\x6f\x6d\142\151\156\141\x74\151\x6f\x6e\x6d\165\154\x74\151\x70\162\157\x64\165\143\x74\x2f\143\x61\164\137\x63\x6f\x6d\x62\x69\156\141\x74\x69\157\x6e\x6d\165\154\164\x69\160\x72\x6f\x64\165\x63\164\137\x64\141\164\141\x5f\166\151\x65\x77\163\x2e\160\x68\160"; goto jQgkZ; EqM26: include SC_DIR . "\154\x69\142\57\x6f\x72\x64\x2f\157\x72\x64\x5f\x6f\162\x64\x65\x72\x5f\x64\x61\164\x61\x5f\166\x69\x65\x77\x73\56\160\150\x70"; goto hY3VQ; pQjYD: include SC_DIR . "\x6c\151\x62\57\143\141\x74\x2f\x6d\x73\x63\x6f\x6d\142\x69\x6e\x61\x74\151\x6f\156\57\x63\x61\164\x5f\x6d\163\x63\x6f\155\x62\151\x6e\x61\164\x69\157\156\137\144\x61\164\x61\137\x76\x69\145\x77\163\x2e\160\150\x70"; goto M2sV8; HPC2C: goto UyrlQ; goto P_E4W; h01US: goto UyrlQ; goto Z84RG; pMVKO: if (!empty($type) && $type == "\x6d\163\143\x6f\155\142\x69\156\x61\x74\x69\x6f\156") { goto ZBQY1; } goto uAauq; nHf9Q: if (!empty($type) && $type == "\x70\x72\x6f\x70\x73\x70\145\x70\162\151\x63\145") { goto KPkHX; } goto NNCUv; NNCUv: if (!empty($type) && $type == "\160\162\x6f\160\x63\165\x73\164\x6f\x6d\x65\x72\163") { goto zEL1a; } goto PtklR; nAuB3: include SC_DIR . "\x6c\x69\142\57\x63\141\164\x2f\x70\x72\x6f\x64\165\x63\x74\x73\157\162\x74\57\143\x61\164\x5f\160\162\x6f\x64\x75\143\x74\163\x6f\x72\164\137\x64\x61\x74\x61\137\x76\151\x65\x77\163\x2e\160\x68\x70"; goto UMukR; zX9Cx: include SC_DIR . "\154\151\142\57\143\x61\164\x2f\163\x62\157\x2d\x70\141\143\x6b\x2f\143\141\x74\137\163\x62\x6f\55\160\x61\x63\x6b\x5f\144\141\164\x61\x5f\x76\x69\x65\x77\x73\x2e\160\x68\160"; goto EYNuP; U0ohc: E5hmX: goto nAuB3; IMX4J: include SC_DIR . "\x6c\x69\142\57\x63\x61\x74\57\x63\x6f\155\x62\x69\156\x61\x74\x69\x6f\156\x2f\143\141\x74\137\x63\x6f\x6d\x62\151\x6e\141\x74\x69\x6f\156\x5f\x64\141\x74\x61\x5f\166\151\145\167\x73\56\x70\150\x70"; goto aX42H; P5XRB: include SC_DIR . "\154\151\142\x2f\143\x61\164\x2f\x73\160\x65\x63\x69\x66\x69\x63\x70\162\151\143\145\57\143\x61\x74\137\x73\160\145\143\x69\146\x69\x63\160\162\x69\x63\x65\137\144\141\164\141\137\x76\x69\x65\167\x73\56\x70\x68\160"; goto o25BR; XH7xM: include SC_DIR . "\x6c\x69\142\x2f\x63\141\x74\57\x73\x62\157\x2d\142\141\x74\143\x68\x2f\x63\x61\164\137\x73\x62\x6f\x2d\142\x61\x74\143\150\137\x64\x61\x74\x61\x5f\166\x69\145\x77\163\56\160\150\160"; goto TPFDZ; codw0: include SC_DIR . "\x6c\151\x62\57\155\141\x6e\57\155\141\x6e\137\x6d\x61\x6e\x75\146\141\x63\164\165\162\145\x72\x5f\x64\141\x74\x61\x5f\166\x69\145\167\163\56\160\x68\x70"; goto h01US; gJ4FF: C0kZB: goto XdlM5; SrxSy: wAPnV: goto cCJn1; Zpa9y: include SC_DIR . "\154\151\x62\57\x63\x61\x74\57\x63\141\x74\x5f\x70\162\157\x64\165\x63\164\x5f\144\x61\x74\x61\137\x76\151\x65\x77\x73\56\x70\x68\160"; goto dxCCf; tGtsA: KPkHX: goto P5XRB; iJ8he: $grids = array(); goto gJ4FF; k68Y4: include SC_DIR . "\154\x69\x62\57\x63\141\164\x2f\160\141\x63\153\x2f\143\141\164\x5f\160\141\143\x6b\137\144\141\x74\x61\137\x76\151\145\167\x73\x2e\x70\x68\160"; goto a3DQl; D7MuV: include SC_DIR . "\154\151\142\x2f\x61\154\154\x2f\x77\151\156\55\x61\x66\x66\x69\154\x69\x61\164\151\x6f\156\x2f\x6d\x61\156\x61\147\x65\162\57\x61\154\154\137\x77\151\156\55\141\x66\146\x69\x6c\151\141\x74\x69\x6f\156\137\x6d\141\x6e\x61\x67\145\x72\137\x70\141\x72\x74\x6e\x65\x72\x5f\144\141\164\141\137\166\151\145\167\x73\x2e\x70\150\x70"; goto iYOqT; ao0CR: include SC_DIR . "\154\151\x62\x2f\143\x6d\x73\57\x63\155\x73\x5f\x70\x61\x67\x65\137\144\141\164\141\x5f\166\x69\x65\167\x73\56\160\x68\x70"; goto BkNTS; o25BR: goto UyrlQ; goto tTMWI; EEguu: global $multiple, $has_combi; goto lLM62; X7h4Q: ZBQY1: goto pQjYD; kB2PA: goto UyrlQ; goto NCBMd; Untl9: if (!empty($type) && $type == "\157\x72\x64\145\x72") { goto l77yV; } goto r4Gnt; JY3YV: dPE0I: goto fjmcz; l41Ar: vDuv8: goto Zpa9y; kfvmi: if (!empty($type) && $type == "\x6d\163\x70\x72\157\144\x75\143\x74") { goto dPE0I; } goto pMVKO; JAn_6: goto UyrlQ; goto U0ohc; OT9Ci: if (!empty($type) && $type == "\x63\x75\163\164\157\155\x65\x72") { goto roiOA; } goto Untl9; qZNyP: roiOA: goto VcoDX; a3DQl: goto UyrlQ; goto QjUOR; ACS0K: include SC_DIR . "\x6c\151\142\x2f\x63\x61\x74\57\143\x75\x73\164\x6f\155\x65\x72\142\x79\160\162\157\144\165\143\x74\57\x63\141\x74\x5f\143\165\x73\164\157\x6d\145\162\142\x79\x70\x72\157\x64\x75\143\x74\137\x64\141\x74\141\137\166\x69\145\167\163\56\160\x68\x70"; goto D7o17; uClHR: if (!empty($type) && $type == "\143\x6d\x73") { goto sLs_9; } goto QdgF1; BkNTS: goto UyrlQ; goto niQMe; ZHvBe: CAGZm: goto D7MuV; a7H7b: goto UyrlQ; goto l41Ar; npaVx: if (!empty($type) && $type == "\160\162\157\x70\163\165\160\x70\154\x69\x65\x72") { goto hjCRJ; } goto cC1MK; P_E4W: OFxeC: goto k68Y4; s4LRn: AWxgO: goto XxQgQ; cC1MK: if (!empty($type) && $type == "\160\x72\157\160\x73\142\x6f\142\141\x74\x63\x68\x65\x73\160\162\157\x64\165\x63\x74") { goto KeNKe; } goto l8RJD; CMaoO: return $grids; goto GKMhy; WvX7y: fkoZj: goto nsqyk; XdlM5: if (!empty($type) && $type == "\160\x72\157\144\x75\143\x74") { goto vDuv8; } goto Swpsj; ajEC1: goto UyrlQ; goto eamps; r4Gnt: if (!empty($type) && $type == "\x6f\162\144\x65\x72\x5f\x70\162\x6f\x64\165\x63\x74") { goto AWxgO; } goto uClHR; QVG60: if (!empty($type) && $type == "\163\x75\160\160\154\x69\145\162") { goto TqniN; } goto zA9ok; txb1d: global $sc_active; goto Bnfe1; QdgF1: if (!empty($type) && $type == "\x6d\141\x6e\x75\x66\x61\x63\164\165\x72\x65\x72") { goto LvAjR; } goto QVG60; NCBMd: KeNKe: goto XH7xM; QjUOR: hjCRJ: goto EEguu; zA9ok: if (!empty($type) && $type == "\x70\162\157\144\x75\143\x74\163\x6f\x72\x74") { goto E5hmX; } goto kfvmi; oFZod: if (!empty($type) && $type == "\160\162\x6f\x70\160\141\143\x6b\x70\162\157\x64\x75\143\164") { goto OFxeC; } goto npaVx; Swpsj: if (!empty($type) && $type == "\x63\x6f\x6d\x62\x69\156\x61\164\151\x6f\156") { goto fkoZj; } goto RSY_a; jCEqd: include SC_DIR . "\x6c\151\142\x2f\163\165\160\x2f\163\x75\160\137\x73\165\x70\160\x6c\151\x65\162\x5f\144\141\164\x61\137\166\151\x65\167\163\x2e\x70\x68\x70"; goto JAn_6; M2sV8: goto UyrlQ; goto SrxSy; rCXqU: dbZde: goto QJJEf; ezeK6: YSRXb: goto zX9Cx; jOLFg: l77yV: goto EqM26; MWDJr: goto UyrlQ; goto jOLFg; niQMe: LvAjR: goto codw0; eamps: sLs_9: goto ao0CR; Rrm1W: if (isset($grids)) { goto C0kZB; } goto iJ8he; hY3VQ: goto UyrlQ; goto s4LRn; vnop7: goto UyrlQ; goto X7h4Q; XxQgQ: include SC_DIR . "\154\151\x62\57\x6f\162\144\x2f\x70\162\x6f\x64\x75\143\x74\57\157\x72\x64\137\x70\162\x6f\144\x75\x63\x74\x5f\x64\x61\164\x61\137\x76\151\145\x77\x73\56\x70\x68\160"; goto ajEC1; l8RJD: if (!empty($type) && $type == "\160\x72\157\x70\x73\x62\157\160\x61\x63\153\163\x70\x72\x6f\144\x75\143\164") { goto YSRXb; } goto bQnxT; fjmcz: include SC_DIR . "\x6c\x69\142\x2f\x63\x61\x74\57\x6d\x73\x70\x72\157\144\165\143\x74\x2f\143\x61\164\x5f\x6d\x73\x70\x72\x6f\x64\x75\143\x74\137\x64\141\x74\x61\x5f\166\151\145\167\163\56\x70\x68\x70"; goto vnop7; TPFDZ: goto UyrlQ; goto ezeK6; Czj0X: DGHkA: goto txb1d; bQnxT: if (!empty($type) && $type == "\147\155\x61\160\141\162\164\x6e\145\162") { goto CAGZm; } goto a7H7b; dxCCf: goto UyrlQ; goto WvX7y; Z84RG: TqniN: goto jCEqd; nsqyk: global $sc_active; goto IMX4J; lLM62: include SC_DIR . "\154\x69\142\x2f\143\141\164\x2f\163\165\160\x70\154\x69\145\162\x2f\x63\141\164\x5f\163\x75\x70\160\154\151\x65\x72\x5f\144\141\x74\141\x5f\x76\x69\x65\167\163\56\x70\150\x70"; goto kB2PA; PtklR: if (!empty($type) && $type == "\x77\x69\x6e\x73\160\145\x70\x72\151\x63\x65") { goto dbZde; } goto oFZod; GKMhy: } public static function synchronizeArrayOfProducts($arrayOfIDProducts, $order_id_shop = null) { goto gDLuT; ntPpY: return false; goto Ywnaj; EjOHR: foreach ($arrayOfIDProducts as $id_product) { self::synchronize($id_product, $order_id_shop); XjgSf: } goto P0KYj; gDLuT: if (!(!is_array($arrayOfIDProducts) || count($arrayOfIDProducts) == 0)) { goto lNg8q; } goto ntPpY; P0KYj: NAFSs: goto qW3ZB; Ywnaj: lNg8q: goto EjOHR; qW3ZB: } public static function synchronize($id_product, $order_id_shop = null) { goto AsQDm; bbR5h: $ids_product_attribute = array(); goto wsahp; Fejjy: $out_of_stock = StockAvailable::outOfStock($id_product); goto IPkpO; DXc7w: $wh = Warehouse::getWarehouses(false, (int) $order_id_shop); goto B8Rn_; mYLIJ: $order_warehouses = array(); goto DXc7w; B8Rn_: foreach ($wh as $warehouse) { $order_warehouses[] = $warehouse["\151\x64\137\x77\141\x72\145\x68\x6f\165\x73\x65"]; m4_ZD: } goto pVWxg; X9du3: KyxzE: goto oYWhT; AsQDm: if (Validate::isUnsignedId($id_product)) { goto gVhDf; } goto t5qMM; wsahp: foreach (Product::getProductAttributesIds($id_product) as $id_product_attribute) { $ids_product_attribute[] = $id_product_attribute["\x69\x64\x5f\160\162\x6f\144\165\x63\x74\x5f\141\164\164\162\151\142\x75\x74\x65"]; PxmaY: } goto IqyJb; lpXB2: if (!version_compare(_PS_VERSION_, "\x31\56\66\56\60\56\60", "\76\x3d")) { goto KyxzE; } goto eX90d; IPkpO: $manager = StockManagerFactory::getManager(); goto cX0Mt; t5qMM: return false; goto HDvNs; QBzB7: if (!(count($ids_warehouse) == 0 && StockAvailable::dependsOnStock((int) $id_product))) { goto St8LN; } goto DStwP; SRHCS: OHQnL: goto bbR5h; I2hOx: $ids_warehouse = Warehouse::getWarehousesGroupedByShops(); goto uVipF; uVipF: if (!($order_id_shop !== null)) { goto OHQnL; } goto mYLIJ; x6UaJ: St8LN: goto lpXB2; eX90d: Cache::clean("\123\x74\157\143\153\x41\x76\x61\151\154\141\142\154\x65\x3a\72\x67\x65\x74\x51\x75\x61\156\x74\151\164\x79\x41\x76\x61\x69\x6c\x61\x62\x6c\145\102\x79\x50\x72\x6f\x64\165\143\x74\x5f" . (int) $id_product . "\52"); goto X9du3; ZojTJ: wYknP: goto QBzB7; DStwP: Db::getInstance()->update("\x73\x74\x6f\x63\153\x5f\x61\166\141\151\154\x61\142\x6c\145", array("\161\x75\x61\156\164\x69\164\171" => 0), "\151\144\x5f\160\162\x6f\x64\165\x63\x74\40\75\x20" . (int) $id_product); goto x6UaJ; cX0Mt: foreach ($ids_warehouse as $id_shop => $warehouses) { goto ZZgt3; bZdKS: $query->from("\x73\164\157\143\153\x5f\x61\x76\141\151\154\x61\x62\154\x65"); goto JrVqn; DMmj7: Db::getInstance()->update($query["\x74\141\142\x6c\145"], $query["\144\141\164\x61"], $query["\167\x68\x65\162\145"]); goto dzWFi; ZZgt3: $has_sa = Db::getInstance()->executeS("\x53\x45\x4c\105\103\x54\x20\x64\145\160\145\x6e\x64\163\x5f\157\x6e\137\x73\x74\157\x63\x6b\40\106\122\x4f\115\40" . _DB_PREFIX_ . "\163\164\x6f\143\153\x5f\141\x76\141\151\x6c\x61\x62\154\x65\xa\x20\x20\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\40\40\40\x20\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\x20\40\40\x20\40\40\40\40\40\40\40\40\40\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\40\40\x20\40\x20\40\127\x48\105\x52\x45\40\x69\x64\x5f\x70\162\x6f\x64\165\143\164\40\x3d\x20" . (int) $id_product . "\40\101\116\x44\40\151\144\137\x70\162\157\x64\165\x63\164\137\x61\x74\164\162\x69\142\x75\164\x65\x20\x3d\x20\x30" . "\x20\101\116\x44\x20\x69\144\137\x73\x68\x6f\160\40\x3d\40" . (int) $id_shop); goto FDLS_; OirG4: $allowed_warehouse_for_product = WareHouse::getProductWarehouseList((int) $id_product, 0, (int) $id_shop); goto JawWA; vbVlQ: if (empty($ids_product_attribute)) { goto yE3vQ; } goto K1zDZ; CkmzH: $product_quantity = $manager->getProductRealQuantities($id_product, null, $allowed_warehouse_for_product_clean, true); goto bmHkn; f0C4c: foreach ($allowed_warehouse_for_product as $warehouse) { $allowed_warehouse_for_product_clean[] = (int) $warehouse["\x69\144\137\167\x61\x72\145\150\157\x75\x73\x65"]; D25vj: } goto AUHlG; US113: yE3vQ: goto OirG4; myiP4: $query = array("\x74\x61\142\x6c\145" => "\x73\x74\x6f\143\153\137\141\x76\141\151\x6c\141\x62\x6c\145", "\144\x61\164\x61" => array("\x71\x75\x61\156\x74\x69\x74\x79" => $product_quantity), "\x77\x68\145\162\145" => "\x69\x64\137\160\x72\x6f\144\165\x63\x74\40\75\40" . (int) $id_product . "\x20\x41\116\104\40\x69\x64\137\160\162\x6f\144\x75\x63\x74\x5f\x61\164\164\x72\151\142\165\x74\x65\x20\75\40\60" . StockAvailable::addSqlShopRestriction(null, $id_shop)); goto YdUHO; bmHkn: $query = new DbQuery(); goto F18UZ; n1_xI: ICkzK: goto N7vcI; JawWA: $allowed_warehouse_for_product_clean = array(); goto f0C4c; N7vcI: $query = array("\164\x61\142\x6c\145" => "\163\x74\157\143\x6b\137\x61\166\141\151\x6c\141\142\154\x65", "\x64\x61\x74\x61" => array("\x71\165\141\156\x74\151\164\171" => $product_quantity), "\167\150\x65\x72\145" => "\x69\x64\137\160\x72\x6f\x64\x75\x63\x74\x20\x3d\x20" . (int) $id_product . "\40\x41\x4e\x44\x20\x69\x64\137\160\x72\x6f\144\x75\143\164\137\x61\164\x74\x72\x69\142\165\164\145\x20\x3d\x20\60" . StockAvailable::addSqlShopRestriction(null, $id_shop)); goto DMmj7; oiZLi: fRNZy: goto mKJ7a; arWGs: S2K2R: goto XlL7G; F18UZ: $query->select("\103\x4f\x55\116\124\50\x2a\x29"); goto bZdKS; XlL7G: gT1og: goto oiZLi; JrVqn: $query->where("\151\x64\137\160\162\x6f\x64\x75\143\164\x20\75\40" . (int) $id_product . "\40\101\116\x44\x20\151\x64\137\x70\x72\x6f\x64\165\x63\x74\137\141\164\164\162\x69\142\165\x74\x65\40\x3d\40\x30" . "\x20\101\116\104\x20\151\x64\x5f\x73\x68\x6f\x70\x20\75\40" . (int) $id_shop); goto rLX3P; yRHUF: goto fRNZy; goto Z4_4t; HRSiP: goto S2K2R; goto US113; FDLS_: if (!(count($has_sa) == 0 || $has_sa[0]["\144\x65\160\145\156\x64\163\137\x6f\x6e\x5f\x73\164\157\143\153"] == 1)) { goto gT1og; } goto ydio8; l6trI: goto jhh0B; goto n1_xI; rLX3P: if ((int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query)) { goto ICkzK; } goto fazBV; dzWFi: jhh0B: goto arWGs; u7Rae: $allowed_warehouse_for_product_clean = array_intersect($allowed_warehouse_for_product_clean, $warehouses); goto AgAUq; ydio8: $product_quantity = 0; goto vbVlQ; fiIna: y_cQa: goto myiP4; AgAUq: if (!($order_id_shop != null && !count(array_intersect($allowed_warehouse_for_product_clean, $order_warehouses)))) { goto eLdRX; } goto yRHUF; AUHlG: mWk62: goto u7Rae; fazBV: $query = array("\164\x61\142\x6c\145" => "\163\x74\157\143\x6b\137\141\x76\141\x69\154\x61\142\x6c\145", "\x64\141\164\x61" => array("\x71\x75\141\156\164\151\164\x79" => $product_quantity, "\x64\145\x70\x65\156\144\x73\137\x6f\x6e\137\163\164\157\143\153" => 1, "\x6f\x75\164\137\x6f\146\x5f\163\x74\157\x63\153" => $out_of_stock, "\x69\144\x5f\160\x72\x6f\144\x75\143\x74" => (int) $id_product, "\151\144\137\160\162\x6f\x64\x75\143\x74\137\x61\164\x74\x72\151\x62\x75\x74\145" => 0, "\x69\x64\x5f\x73\150\x6f\160" => (int) $id_shop, "\151\x64\137\x73\150\157\160\x5f\x67\162\x6f\165\x70" => 0)); goto bkhaQ; Z4_4t: eLdRX: goto CkmzH; K1zDZ: foreach ($ids_product_attribute as $id_product_attribute) { goto pYdmk; CHoqw: goto gFpSb; goto iFxcx; YuyaK: gFpSb: goto wcnNy; ZHt_2: Db::getInstance()->insert($query["\x74\x61\x62\154\145"], $query["\x64\141\164\x61"]); goto CHoqw; pYdmk: $allowed_warehouse_for_combination = WareHouse::getProductWarehouseList((int) $id_product, (int) $id_product_attribute, (int) $id_shop); goto RsWLJ; ksZAQ: e705C: goto HlTmc; VG94b: if (!($order_id_shop != null && !count(array_intersect($allowed_warehouse_for_combination_clean, $order_warehouses)))) { goto SdyhM; } goto LQm9W; MKdVI: $query = array("\164\x61\x62\154\x65" => "\163\164\157\x63\x6b\137\141\166\x61\x69\x6c\141\142\x6c\x65", "\144\x61\164\141" => array("\x71\x75\141\x6e\164\x69\x74\171" => $quantity), "\167\x68\145\162\x65" => "\x69\x64\x5f\x70\162\x6f\x64\165\x63\164\40\75\x20" . (int) $id_product . "\40\101\116\x44\40\151\x64\137\x70\162\x6f\x64\165\143\164\x5f\x61\164\x74\x72\151\x62\165\x74\145\x20\x3d\40" . (int) $id_product_attribute . StockAvailable::addSqlShopRestriction(null, $id_shop)); goto n0mqi; iFxcx: f0mCF: goto MKdVI; iNFeF: $quantity = $manager->getProductRealQuantities($id_product, $id_product_attribute, $allowed_warehouse_for_combination_clean, true); goto oib8f; LQm9W: goto rqC9y; goto GFRvQ; GFRvQ: SdyhM: goto iNFeF; gcOB2: rqC9y: goto vsxHD; ct2fC: if ((int) Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query)) { goto f0mCF; } goto DqGBF; RsWLJ: $allowed_warehouse_for_combination_clean = array(); goto tIPzA; oib8f: $query = new DbQuery(); goto kE2wr; OB7_v: $query->where("\151\144\137\x70\162\157\144\x75\x63\x74\40\x3d\x20" . (int) $id_product . "\x20\101\x4e\104\40\151\x64\137\x70\x72\157\x64\x75\143\164\x5f\141\x74\x74\162\151\x62\x75\164\x65\40\75\x20" . (int) $id_product_attribute . StockAvailable::addSqlShopRestriction(null, $id_shop)); goto ct2fC; oXFTW: $query->from("\163\164\x6f\x63\x6b\x5f\141\x76\x61\151\154\141\142\154\145"); goto OB7_v; n0mqi: Db::getInstance()->update($query["\x74\141\x62\x6c\x65"], $query["\x64\141\x74\x61"], $query["\x77\x68\x65\162\145"]); goto YuyaK; HlTmc: $allowed_warehouse_for_combination_clean = array_intersect($allowed_warehouse_for_combination_clean, $warehouses); goto VG94b; kE2wr: $query->select("\103\117\x55\x4e\x54\50\52\51"); goto oXFTW; DqGBF: $query = array("\x74\x61\x62\154\x65" => "\163\164\x6f\x63\153\137\x61\166\141\151\x6c\x61\142\154\x65", "\144\141\164\x61" => array("\x71\165\x61\156\x74\x69\164\171" => $quantity, "\144\x65\160\x65\156\x64\163\137\157\156\x5f\163\x74\x6f\x63\153" => 1, "\157\x75\x74\x5f\157\146\x5f\163\x74\157\143\x6b" => $out_of_stock, "\x69\144\x5f\x70\x72\157\144\x75\143\164" => (int) $id_product, "\x69\144\x5f\x70\x72\157\144\x75\143\x74\137\x61\164\x74\x72\151\142\x75\164\x65" => (int) $id_product_attribute, "\151\x64\x5f\163\x68\157\160" => (int) $id_shop, "\x69\144\137\x73\x68\157\x70\137\x67\162\157\165\160" => 0)); goto ZHt_2; wcnNy: $product_quantity += $quantity; goto gcOB2; tIPzA: foreach ($allowed_warehouse_for_combination as $warehouse) { $allowed_warehouse_for_combination_clean[] = (int) $warehouse["\x69\x64\137\167\141\162\x65\x68\x6f\165\163\145"]; HsSn8: } goto ksZAQ; vsxHD: } goto fiIna; YdUHO: Db::getInstance()->update($query["\x74\x61\x62\154\x65"], $query["\x64\141\x74\x61"], $query["\x77\x68\x65\162\145"]); goto HRSiP; bkhaQ: Db::getInstance()->insert($query["\164\x61\x62\x6c\145"], $query["\x64\x61\164\x61"]); goto l6trI; mKJ7a: } goto ZojTJ; pVWxg: LS2GY: goto SRHCS; HDvNs: gVhDf: goto I2hOx; IqyJb: S8Nxl: goto Fejjy; oYWhT: } public static function updateQuantity($id_product, $id_product_attribute, $delta_quantity, $id_shop = null) { goto SPkYT; SPkYT: if (version_compare(_PS_VERSION_, "\x31\56\x36\x2e\x30\56\x30", "\x3c")) { goto UkKsH; } goto y7TK8; CDKQa: KJVsq: goto IIfbR; kaEH5: hZLrM: goto La76s; o4DMO: goto siLRl; goto lJ0w_; vmFok: return true; goto o4DMO; nhpoA: $id_stock_available = StockAvailable::getStockAvailableIdByProductId($id_product, $id_product_attribute, $id_shop); goto QsWAl; JnBdA: Db::getInstance()->execute("\125\120\x44\101\124\105\40" . _DB_PREFIX_ . "\x73\164\x6f\143\x6b\x5f\x61\x76\141\151\154\x61\x62\x6c\x65\12\40\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\40\40\40\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x53\105\x54\40\x70\150\x79\x73\151\x63\141\154\137\161\x75\141\156\164\x69\164\171\x20\75\x20\x28\x71\x75\141\x6e\164\x69\x74\x79\53\x72\x65\x73\145\x72\x76\x65\x64\x5f\x71\165\x61\x6e\x74\x69\164\171\51\12\40\40\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x20\40\40\40\40\40\40\40\x20\x20\40\40\x20\40\x20\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x20\x57\110\105\122\105\x20\x69\144\x5f\x70\162\x6f\x64\165\143\x74\x20\75\x20" . (int) $id_product . "\xa\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\40\x20\x20\40\40\x20\40\x20\40\40\40\40\x20\x20\40\40\40\x20\40\40\x20\40\x20\40\40\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\x41\116\x44\40\x69\x64\x5f\x70\x72\157\144\165\143\164\137\141\164\x74\x72\151\x62\165\164\145\x20\75\40" . (int) $id_product_attribute . "\xa\x20\40\40\40\40\x20\40\40\40\x20\40\x20\x20\x20\40\40\x20\x20\40\40\40\x20\x20\40\40\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\40\40\40\40\x20\x41\116\x44\40\x69\144\137\x73\x68\157\160\x20\40\75\40" . (int) $stock_available->id_shop . "\xa\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\40\40\40\40\x20\x20\40\101\116\x44\40\151\144\137\163\150\x6f\160\x5f\147\x72\157\x75\160\x20\x20\75\40" . (int) $stock_available->id_shop_group); goto CDKQa; jZZBY: return false; goto JdMVn; JdMVn: KvHRU: goto nhpoA; La76s: if (!Pack::isPack($id_product)) { goto DdNnS; } goto xrfkW; tAdfr: $stock_available = new StockAvailable($id_stock_available); goto a52Us; PkeH2: Cache::clean("\123\164\157\x63\153\101\x76\x61\151\x6c\141\142\x6c\145\x3a\x3a\x67\145\164\121\165\x61\x6e\x74\x69\x74\171\101\166\141\x69\x6c\x61\142\154\x65\x42\x79\x50\162\157\144\x75\143\x74\x5f" . (int) $id_product . "\52"); goto vmFok; EedUL: if (!version_compare(_PS_VERSION_, "\x31\x2e\67\56\65\x2e\x30", "\x3e\75")) { goto KJVsq; } goto JnBdA; o_zeb: DdNnS: goto tAdfr; xrfkW: $products_pack = Pack::getItems($id_product, (int) Configuration::get("\x50\123\137\114\101\x4e\x47\x5f\104\x45\x46\101\125\x4c\x54")); goto JrWVM; JrWVM: foreach ($products_pack as $product_pack) { goto L32Ua; bUJFs: self::updateQuantity($product_pack->id, $pack_id_product_attribute, $product_pack->pack_quantity * $delta_quantity, $id_shop); goto VZZBQ; L32Ua: $pack_id_product_attribute = Product::getDefaultAttribute($product_pack->id, 1); goto bUJFs; VZZBQ: z8Dfk: goto jjETS; jjETS: } goto rGCJq; a2Wx0: return StockAvailable::updateQuantity($id_product, $id_product_attribute, $delta_quantity, $id_shop); goto q3yUf; IIfbR: Hook::exec("\x61\143\164\151\x6f\x6e\125\x70\x64\x61\x74\145\121\x75\x61\x6e\164\151\x74\x79", array("\x69\x64\137\x70\x72\x6f\x64\x75\143\164" => $id_product, "\151\144\137\x70\x72\157\x64\165\143\164\x5f\x61\x74\164\x72\x69\x62\x75\164\145" => $id_product_attribute, "\161\x75\x61\x6e\164\151\164\x79" => $stock_available->quantity)); goto PkeH2; rGCJq: NncSM: goto o_zeb; q3yUf: siLRl: goto V4VEh; O2flo: $stock_available->update(); goto EedUL; lJ0w_: UkKsH: goto a2Wx0; a52Us: $stock_available->quantity = $stock_available->quantity + $delta_quantity; goto O2flo; lTLg_: return false; goto kaEH5; QsWAl: if ($id_stock_available) { goto hZLrM; } goto lTLg_; y7TK8: if (Validate::isUnsignedId($id_product)) { goto KvHRU; } goto jZZBY; V4VEh: } public static function setQuantity($id_product, $id_product_attribute, $quantity, $id_shop = null) { goto OYdea; eJ4ro: QhwFC: goto TOUXw; VmLTL: $depends_on_stock = StockAvailable::dependsOnStock($id_product, (int) $id_shop); goto A1R5c; aqRNK: goto wha0G; goto vYCj4; Fjy0_: $stock_available->add(); goto d6hq9; To5EC: $id_stock_available = (int) StockAvailable::getStockAvailableIdByProductId($id_product, $id_product_attribute, $id_shop); goto XH8NW; jU1gC: $stock_available->update(); goto gGN0i; iQFY9: $stock_available->id_product_attribute = (int) $id_product_attribute; goto roUwA; yp37o: goto YMJ1l; goto eJ4ro; gGN0i: etxDn: goto ais48; gqAQb: $shop_group = new ShopGroup((int) Shop::getGroupFromShop((int) $id_shop)); goto aqRNK; Hf9b9: $stock_available->id_product = (int) $id_product; goto iQFY9; zQ0ea: diM2A: goto bGsuI; dQK70: $depends_on_stock = false; goto asFJ8; x3Kvk: $out_of_stock = StockAvailable::outOfStock($id_product, $id_shop); goto KWcuP; uTRc1: S80Vc: goto w1iYs; roUwA: $stock_available->quantity = (int) $quantity; goto YcTSX; OYdea: if (Validate::isUnsignedId($id_product)) { goto OC8j2; } goto tNEKp; tNBCS: wha0G: goto KwD5V; ais48: if (!version_compare(_PS_VERSION_, "\61\56\x37\56\65\x2e\60", "\76\75")) { goto diM2A; } goto eUekB; eUekB: Db::getInstance()->execute("\x55\x50\x44\101\124\x45\40" . _DB_PREFIX_ . "\163\x74\x6f\143\153\137\141\166\x61\151\x6c\141\x62\x6c\145\12\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x20\40\40\40\x20\40\40\40\x20\40\x20\x20\x20\x20\40\40\123\x45\x54\x20\160\150\171\163\x69\143\141\x6c\x5f\x71\x75\x61\x6e\164\151\164\x79\x20\x3d\x20\50\x71\165\x61\x6e\164\151\x74\171\x2b\x72\145\x73\x65\162\166\145\x64\x5f\x71\x75\x61\x6e\164\x69\164\x79\51\xa\x20\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\40\40\x20\40\40\40\40\x20\x20\40\40\x20\40\40\40\40\x20\x20\x20\40\x20\40\40\40\40\x20\x20\127\110\105\x52\105\x20\x69\x64\137\160\x72\x6f\x64\x75\143\164\40\x3d\40" . (int) $id_product . "\xa\40\40\x20\40\x20\40\x20\40\x20\x20\40\40\40\x20\x20\40\40\x20\x20\40\40\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\101\x4e\x44\x20\151\x64\137\x70\x72\157\x64\165\143\x74\x5f\x61\164\164\162\151\x62\165\164\x65\x20\x3d\x20" . (int) $id_product_attribute . "\12\x20\40\x20\40\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\x20\40\40\40\x20\40\40\x20\40\40\x41\116\x44\x20\151\x64\137\163\150\157\160\x20\40\75\40" . (int) $stock_available->id_shop . "\12\40\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\40\40\40\40\40\40\40\x20\40\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\x20\40\x41\116\104\40\151\144\137\x73\150\157\x70\x5f\x67\x72\157\165\160\40\x20\75\x20" . (int) $stock_available->id_shop_group); goto zQ0ea; Gxeon: HWAWd: goto dQK70; w1iYs: $stock_available = new StockAvailable($id_stock_available); goto eQ3M9; AtgJT: if (!($id_shop === null && Shop::getContext() != Shop::CONTEXT_GROUP)) { goto HWAWd; } goto Uu9qx; OoMqj: if ($depends_on_stock) { goto dfy6A; } goto To5EC; UTxZ_: dfy6A: goto kgnmr; vYCj4: hxI9x: goto mdpul; mdpul: $shop_group = Shop::getContextShopGroup(); goto tNBCS; btVmo: $stock_available->id_shop_group = (int) $shop_group->id; goto Cv1u7; d6hq9: goto etxDn; goto uTRc1; KWcuP: $stock_available = new StockAvailable(); goto tj6Cn; KwD5V: if ($shop_group->share_stock) { goto QhwFC; } goto yu7S3; YcTSX: if ($id_shop === null) { goto hxI9x; } goto gqAQb; bGsuI: Hook::exec("\x61\x63\164\151\157\156\x55\x70\x64\141\164\145\121\x75\141\x6e\164\x69\164\x79", array("\x69\144\137\x70\162\157\x64\165\143\x74" => $id_product, "\x69\x64\137\160\x72\x6f\144\x75\x63\x74\x5f\141\x74\164\162\x69\142\165\164\x65" => $id_product_attribute, "\x71\165\x61\156\x74\151\x74\x79" => $stock_available->quantity)); goto UTxZ_; uWtjc: $context = Context::getContext(); goto AtgJT; Joajc: OC8j2: goto uWtjc; tj6Cn: $stock_available->out_of_stock = (int) $out_of_stock; goto Hf9b9; Cv1u7: YMJ1l: goto Fjy0_; TOUXw: $stock_available->id_shop = 0; goto btVmo; Uu9qx: $id_shop = (int) $context->shop->id; goto Gxeon; kCJ7p: $stock_available->id_shop_group = 0; goto yp37o; tNEKp: return false; goto Joajc; XH8NW: if ($id_stock_available) { goto S80Vc; } goto x3Kvk; A1R5c: fH3Gr: goto OoMqj; eQ3M9: $stock_available->quantity = (int) $quantity; goto jU1gC; asFJ8: if (!version_compare(_PS_VERSION_, "\x31\x2e\x37\56\x38\56\x30", "\74")) { goto fH3Gr; } goto VmLTL; yu7S3: $stock_available->id_shop = (int) $id_shop; goto kCJ7p; kgnmr: } public static function deleteCombinationStock($id_product_attribute, $id_product = null) { goto fgb_E; jycva: $sql = "\x44\105\x4c\x45\124\x45\40\x46\x52\117\115\40" . _DB_PREFIX_ . "\167\141\x72\x65\150\157\165\163\x65\137\160\162\157\x64\x75\143\164\x5f\154\x6f\x63\x61\164\151\157\x6e\40\x57\110\x45\x52\x45\x20\151\x64\x5f\x70\x72\x6f\x64\165\x63\164\137\x61\164\x74\x72\x69\142\165\x74\x65\75" . (int) $id_product_attribute; goto McSXV; tjJMu: $sql = "\x53\x45\x4c\x45\x43\x54\x20\x69\144\137\x73\164\x6f\143\153\40\106\122\x4f\115\40" . _DB_PREFIX_ . "\x73\x74\157\x63\153\40\x57\x48\105\122\x45\40\x69\144\x5f\x70\x72\x6f\144\x75\x63\x74\x5f\141\x74\x74\x72\151\x62\x75\x74\x65\x3d" . (int) $id_product_attribute; goto pnsNc; KHuW2: eArzs: goto lKXa3; lKXa3: $sql = "\x44\105\114\x45\x54\105\40\106\x52\117\x4d\x20" . _DB_PREFIX_ . "\163\x74\x6f\x63\x6b\x20\x57\x48\105\122\x45\x20\x69\144\137\x70\x72\157\x64\x75\x63\164\x5f\141\x74\164\x72\151\142\165\164\x65\x3d" . (int) $id_product_attribute; goto ru213; hBH3i: lWVyv: goto k0UYZ; McSXV: Db::getInstance()->Execute($sql); goto tjJMu; zsbxK: foreach ($rows as $row) { goto WrmB0; nii7r: GwX3U: goto J1YbC; KKZ3l: Db::getInstance()->Execute($sql); goto nii7r; WrmB0: $sql = "\104\x45\114\x45\x54\x45\x20\x46\122\x4f\115\40" . _DB_PREFIX_ . "\x73\x74\157\x63\153\137\155\x76\x74\x20\127\110\105\x52\x45\x20\151\x64\x5f\x73\164\x6f\143\153\75" . (int) $row["\151\144\137\163\164\157\x63\x6b"]; goto KKZ3l; J1YbC: } goto KHuW2; ru213: Db::getInstance()->Execute($sql); goto hBH3i; pnsNc: $rows = Db::getInstance()->ExecuteS($sql); goto zsbxK; fgb_E: if (empty($id_product_attribute)) { goto lWVyv; } goto jycva; k0UYZ: } public static function getIdPdtFromCombi($id_product) { goto uIlRI; bsEJ9: if (empty($id_product)) { goto Mxhlh; } goto ZakY4; JZElm: return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query); goto Yd0Bf; c_Tg7: $query->select("\160\x61\56\151\x64\x5f\x70\x72\157\x64\x75\143\x74"); goto RrjYR; kiLOf: $query->where("\x70\x61\56\151\x64\x5f\x70\x72\x6f\x64\x75\x63\164\40\75\40" . (int) $id_product); goto JZElm; RrjYR: $query->from("\160\162\x6f\x64\165\143\164\137\141\164\164\x72\151\x62\x75\x74\x65", "\160\x61"); goto kiLOf; ZakY4: $query = new DbQuery(); goto c_Tg7; uIlRI: $return = 0; goto bsEJ9; Yd0Bf: Mxhlh: goto c4ZiW; c4ZiW: return $return; goto pcVyj; pcVyj: } public static function getPrice($id_prd, $id_prd_attr = null, $id_shop = 1, $with_reduc = false) { goto RledR; jmSed: SFClJ: goto QwTTP; wUJik: $res_specific_price = Db::getInstance()->getRow($sql_specific_price); goto cQgSf; QwTTP: return $actual_prices; goto BX2b8; xwOet: $actual_prices["\160\x72\x69\143\145\137\162\x65\x64\165\143\x74\x69\x6f\156\x5f\x77\x74"] = ($attrrow["\160\162\151\143\145"] + $prodrow["\x70\x72\x69\x63\145"]) * (1 - $res_specific_price["\x72\x65\144\165\x63\x74\x69\157\x6e"]); goto FB0W4; CgeLt: Ti3jq: goto xwOet; Y8C_d: if (!(version_compare(_PS_VERSION_, "\x31\56\x36\x2e\x30\56\60", "\76\75") && SCMS)) { goto ehAH5; } goto EBucb; P91HN: HPFRt: goto wUJik; ybrY9: wIq0v: goto kBXTo; oIqIF: p3haO: goto SSsmw; uBSVL: $prodrow["\x72\145\x64\x75\x63\164\151\157\156\137\160\x72\151\x63\x65"] = $res_specific_price["\162\145\x64\165\x63\164\151\157\x6e"]; goto KGCJt; c8ViX: $actual_prices["\160\162\x69\143\145\137\162\x65\x64\x75\x63\164\x69\x6f\x6e\137\167\x74"] = $actual_prices["\x70\162\x69\x63\145\137\167\x74"]; goto Vf6uo; SSsmw: $sql = "\x20\123\105\114\x45\x43\124\x20\160\162\x69\x63\x65\x2c\x69\x64\x5f\x74\141\x78\x5f\162\x75\154\x65\x73\137\x67\x72\x6f\x75\160\54\145\143\157\x74\x61\x78\x20\106\122\x4f\115\40" . _DB_PREFIX_ . "\x70\162\157\144\165\143\x74\137\163\x68\x6f\160\40\x57\x48\x45\122\x45\40\x69\144\137\x70\162\157\144\x75\143\x74\x3d\x27" . (int) $id_prd . "\47\x20\101\116\104\x20\x69\144\x5f\x73\150\x6f\160\75\x27" . (int) $id_shop . "\x27\40"; goto WF8vA; c81Zb: $actual_prices["\160\162\151\x63\145\x5f\x69\164"] = $attrrow["\160\x72\151\x63\x65"] * ($taxrate / 100 + 1) + $prodrow["\x70\162\151\143\x65"] * ($taxrate / 100 + 1) + $ecotax; goto QDB5I; jtcEh: if (!empty($taxrate)) { goto Kmtxj; } goto UiZUl; kBXTo: v6olU: goto ePkbF; beT1q: if (!$with_reduc) { goto SFClJ; } goto yQTRW; ODn6z: $actual_prices["\x70\162\151\143\x65\x5f\151\x74"] = $prodrow["\x70\x72\x69\x63\145"] * ($taxrate / 100 + 1) + $ecotax; goto fPSnr; UOYev: foreach ($res as $row) { goto vfIE7; CgeOK: sm6Eu: goto Yde9t; vfIE7: if (!($row["\x6e\141\x6d\x65"] == '')) { goto sm6Eu; } goto c1JCM; c1JCM: $row["\156\x61\x6d\x65"] = "\x20"; goto CgeOK; Yde9t: $cache_tax[$id_shop][$row["\151\144\x5f\x74\x61\170\137\x72\x75\x6c\145\x73\137\x67\162\157\165\x70"]] = $row["\x72\141\x74\145"]; goto NtMVQ; NtMVQ: IaW8f: goto itOnJ; itOnJ: } goto W2pJu; dwThd: $sql = "\x53\105\114\x45\103\x54\40\164\x72\147\x2e\x6e\x61\155\145\54\40\164\x72\x67\56\151\144\x5f\164\x61\x78\137\x72\x75\154\145\163\x5f\x67\162\157\165\160\x2c\164\56\162\x61\x74\145\12\40\x20\x20\x20\x20\40\40\40\x20\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\40\x20\40\106\122\x4f\x4d\x20\140" . _DB_PREFIX_ . "\164\x61\170\137\162\x75\x6c\145\x73\137\147\x72\x6f\165\160\140\x20\164\x72\147\xa\40\40\x20\40\40\40\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\40\x20\40\x4c\x45\106\124\40\112\x4f\x49\116\x20\140" . _DB_PREFIX_ . "\x74\x61\x78\x5f\162\x75\x6c\x65\140\x20\164\x72\40\117\x4e\40\x28\164\x72\x67\56\140\x69\144\137\164\141\170\x5f\162\165\154\x65\163\137\147\162\x6f\165\x70\x60\x20\x3d\x20\164\162\x2e\x60\x69\144\137\x74\141\x78\x5f\x72\165\154\145\163\x5f\147\x72\x6f\x75\x70\140\40\x41\x4e\x44\40\x74\162\x2e\x60\151\x64\137\143\157\165\x6e\164\x72\171\140\40\x3d\x20" . (int) self::getDefaultCountryId() . "\x20\x41\116\x44\40\164\162\56\x60\x69\144\x5f\163\x74\x61\x74\x65\140\40\75\40\60\x29\12\40\40\x20\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\x4c\x45\106\x54\x20\112\x4f\x49\x4e\x20\140" . _DB_PREFIX_ . "\164\141\170\x60\x20\x74\40\x4f\x4e\40\50\x74\x2e\x60\x69\x64\137\x74\141\170\140\40\75\x20\x74\x72\56\x60\151\x64\137\x74\x61\x78\x60\51\12\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\40\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20" . $inner . "\xa\40\40\40\40\40\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\40\40\x57\110\105\x52\x45\40\x74\x72\147\x2e\141\143\164\x69\x76\x65\x3d\61"; goto zlJUE; Pj5s4: jrXvr: goto ilM3k; KGCJt: goto jrXvr; goto LQJbG; ZY0g7: $inner = "\x20\x49\x4e\x4e\x45\x52\40\112\x4f\x49\x4e\40" . _DB_PREFIX_ . "\164\x61\170\x5f\x72\x75\154\145\x73\x5f\147\x72\x6f\165\160\x5f\x73\x68\x6f\x70\40\164\162\x67\x73\x20\x4f\x4e\x20\50\x74\x72\x67\163\x2e\x69\x64\137\164\141\x78\x5f\x72\x75\154\145\163\x5f\147\x72\157\x75\160\x20\x3d\x20\164\162\x67\56\151\144\137\164\x61\x78\x5f\x72\165\x6c\x65\x73\137\x67\x72\157\165\160\40\101\x4e\104\x20\x74\162\x67\163\x2e\x69\144\137\163\150\x6f\160\x20\x3d\x20\x27" . (int) $id_shop . "\x27\x29"; goto QXz25; BmsRr: K9sYQ: goto cx4I5; Su4Xs: vQS58: goto Kd5Un; LQJbG: Rf3j4: goto aSVw2; WF8vA: $prodrow = Db::getInstance()->getRow($sql); goto LQyvk; QXz25: B6fpE: goto uyz2B; BiDie: $actual_prices["\x70\162\x69\x63\x65\137\x77\164"] = $prodrow["\160\162\151\x63\x65"]; goto KjOUE; ZIYMx: if ($res_specific_price["\162\145\x64\x75\x63\164\151\x6f\x6e\137\164\x79\x70\145"] == "\160\145\x72\x63\145\x6e\x74\x61\147\x65") { goto Rf3j4; } goto VzU6z; KeLgi: $actual_prices["\x70\162\151\x63\145\x5f\162\x65\x64\165\143\x74\151\157\156\x5f\151\164"] = $prodrow["\x70\x72\x69\x63\145"] * ($taxrate / 100 + 1) * (1 - $res_specific_price["\x72\x65\x64\165\143\164\151\157\156"]) + $ecotax; goto Gt6qT; JlFWl: goto wIq0v; goto BmsRr; DQGHz: goto MlIc6; goto N3uky; QDB5I: MlIc6: goto LWuBw; AirNm: $actual_prices["\x70\162\x69\x63\x65\137\x72\145\x64\165\x63\x74\151\157\156\137\151\x74"] = ($attrrow["\160\162\x69\143\145"] + $prodrow["\160\162\x69\x63\x65"]) * (1 - $res_specific_price["\x72\145\x64\x75\143\164\151\x6f\156"]) + $ecotax; goto JlFWl; g07yR: $actual_prices["\160\x72\x69\x63\x65\x5f\x72\145\144\x75\x63\164\151\157\156\137\151\x74"] = $actual_prices["\x70\x72\151\x63\145\137\151\164"] - $prodrow["\x72\145\x64\x75\x63\164\151\157\156\x5f\x70\162\151\x63\145"]; goto GOHnO; cg8KA: $sql_specific_price->where("\140\x69\144\137\x73\x68\157\x70\140\40\75\40\x30\x20\x4f\x52\40\x60\x69\x64\137\163\x68\157\x70\x60\x20\75\x20" . (int) $id_shop); goto P91HN; UiZUl: $actual_prices["\x70\162\x69\143\145\137\151\x74"] = $attrrow["\160\x72\x69\143\x65"] + $prodrow["\x70\x72\x69\143\145"] + $ecotax; goto DQGHz; QimPv: if (!SCMS) { goto B6fpE; } goto ZY0g7; jnluD: if (!($prodrow["\x72\145\x64\165\143\x74\x69\x6f\x6e\137\x70\x65\162\x63\145\x6e\164"] > 0)) { goto PgO1M; } goto Kfjon; cx4I5: $actual_prices["\x70\162\151\143\x65\x5f\x72\145\x64\x75\x63\x74\151\157\x6e\x5f\151\164"] = ($attrrow["\x70\x72\x69\143\145"] * ($taxrate / 100 + 1) + $prodrow["\160\162\x69\143\x65"] * ($taxrate / 100 + 1)) * (1 - $res_specific_price["\162\145\x64\165\x63\164\151\x6f\156"]) + $ecotax; goto ybrY9; VzU6z: $prodrow["\162\145\x64\165\x63\164\x69\157\156\137\x70\145\162\143\145\156\x74"] = 0; goto uBSVL; Vf6uo: $actual_prices["\x70\x72\151\x63\x65\137\162\x65\144\x75\x63\x74\x69\x6f\x6e\x5f\x69\x74"] = $actual_prices["\160\162\151\x63\x65\x5f\x69\x74"]; goto beT1q; zlJUE: $res = Db::getInstance()->ExecuteS($sql); goto UOYev; Kfjon: if (!empty($id_prd_attr)) { goto Ti3jq; } goto Uwbq7; ePkbF: PgO1M: goto pKFOE; x8CQx: ehAH5: goto dwThd; GOHnO: B6ECb: goto jnluD; pKFOE: JxjX1: goto jmSed; o3J5Y: foreach ($res as $row) { goto hMpLJ; xjoUv: R2z2Q: goto oQCJM; oQCJM: $cache_tax[$id_shop][$row["\x69\144\137\x74\x61\x78\x5f\x72\165\154\145\163\137\x67\162\157\165\160"]] = $row["\162\x61\164\145"]; goto ly_cL; hMpLJ: if (!($row["\156\141\155\145"] == '')) { goto cAS6z; } goto UdZzs; UdZzs: $row["\x6e\141\155\145"] = "\40"; goto Wg9t1; Wg9t1: cAS6z: goto QBsGa; QBsGa: if (!($row["\144\145\154\x65\x74\x65\144"] == "\61")) { goto R2z2Q; } goto UNrHT; ly_cL: Rixzm: goto UAeet; UNrHT: $row["\156\141\155\x65"] .= "\x20" . _l("\50\144\x65\x6c\x65\x74\x65\144\x29"); goto xjoUv; UAeet: } goto Su4Xs; c4TSa: $actual_prices["\x70\162\x69\143\x65\x5f\x77\x74"] += $attrrow["\x70\x72\x69\143\145"]; goto xQl3m; fPSnr: if (empty($id_prd_attr)) { goto cnmob; } goto s81hp; cQgSf: if (empty($res_specific_price)) { goto JxjX1; } goto ZIYMx; g5oNX: iDDXC: goto bynzk; xUdFD: $sql_specific_price->select("\x2a")->from("\x73\160\145\143\x69\146\151\x63\137\160\x72\151\143\x65")->where("\x60\151\x64\137\160\x72\x6f\144\x75\143\x74\140\40\75\40" . (int) $id_prd)->where("\x60\x66\x72\x6f\x6d\140\40\x3c\x3d\x20\x22" . date("\131\55\x6d\55\144\40\110\x3a\151\x3a\x73") . "\42\40\117\x52\40\x60\146\x72\x6f\x6d\140\x3d\42\x30\x30\60\x30\x2d\x30\x30\55\x30\60\x20\x30\60\72\x30\x30\72\60\x30\x22")->where("\x60\x74\157\140\x20\76\x3d\x20\x22" . date("\x59\x2d\x6d\x2d\x64\x20\110\x3a\151\x3a\x73") . "\42\40\117\122\40\x60\164\157\140\x3d\42\x30\x30\x30\60\55\x30\x30\x2d\60\60\x20\60\60\72\x30\x30\72\60\60\x22")->where("\140\151\144\137\x70\162\157\144\x75\143\164\137\x61\164\x74\x72\151\x62\x75\x74\145\x60\40\75\x20\x30\x20" . (!empty($id_prd_attr) ? "\x20\117\x52\40\x69\144\x5f\160\x72\x6f\144\x75\143\164\x5f\x61\x74\164\x72\x69\142\x75\x74\145\x20\x3d\x20" . (int) $id_prd_attr : ''))->orderBy("\140\x69\x64\x5f\x73\150\x6f\160\140\x20\104\105\123\103")->orderBy("\140\x74\157\x60\x20\x44\x45\x53\x43")->orderBy("\x60\151\x64\137\x73\160\145\x63\151\x66\x69\143\x5f\160\162\151\143\x65\140\40\101\123\103"); goto WD0Ig; bynzk: $inner = ''; goto QimPv; KjOUE: $ecotax = _s("\103\101\124\x5f\120\122\117\x44\137\105\103\117\x54\101\130\111\x4e\x43\114\125\x44\105\x44") ? $prodrow["\x65\x63\x6f\164\x61\170"] * self::getEcotaxTaxRate() : 0; goto ODn6z; vyeqz: if (version_compare(_PS_VERSION_, "\61\56\66\x2e\x30\56\x31\60", "\76\75")) { goto iDDXC; } goto jic_d; s81hp: $sql = "\x20\x53\105\114\x45\x43\x54\40\160\x72\x69\x63\145\x2c\x65\143\x6f\164\x61\170\40\106\122\x4f\115\40" . _DB_PREFIX_ . "\160\x72\x6f\x64\165\x63\164\137\141\x74\x74\x72\151\142\x75\164\145\137\x73\150\x6f\160\x20\127\x48\x45\122\x45\40\151\x64\x5f\x70\x72\157\x64\165\x63\164\137\x61\164\x74\x72\151\x62\165\164\145\x3d\47" . (int) $id_prd_attr . "\x27\x20\101\116\x44\40\151\144\137\x73\150\157\160\x3d\x27" . (int) $id_shop . "\47\x20"; goto jRwzm; WD0Ig: if (!SCMS) { goto HPFRt; } goto cg8KA; EBucb: $inner = "\x20\111\x4e\x4e\105\122\x20\112\117\111\116\40" . _DB_PREFIX_ . "\164\141\x78\137\162\165\x6c\145\163\x5f\147\162\x6f\165\x70\137\x73\x68\x6f\x70\x20\x74\162\147\x73\40\117\116\x20\50\164\x72\x67\163\x2e\x69\144\x5f\x74\141\170\137\162\165\x6c\145\163\x5f\x67\162\157\x75\x70\x20\x3d\x20\x74\x72\147\x2e\151\x64\137\164\141\x78\137\162\165\154\145\x73\137\147\162\x6f\x75\x70\x20\101\116\104\40\x74\x72\147\163\56\x69\x64\x5f\x73\150\x6f\x70\x20\x3d\40\47" . (int) $id_shop . "\x27\x29"; goto x8CQx; LWuBw: cnmob: goto c8ViX; V8rot: $actual_prices["\160\x72\x69\143\145\137\x72\x65\x64\165\x63\164\151\157\x6e\137\x77\164"] = $actual_prices["\x70\162\151\143\145\137\167\164"] - $prodrow["\x72\145\x64\165\143\164\151\157\156\137\x70\162\x69\x63\145"] / ($taxrate / 100 + 1); goto g07yR; CZlM8: $actual_prices = array("\160\162\151\x63\x65\137\167\164" => 0, "\160\162\151\x63\x65\x5f\151\x74" => 0, "\160\162\151\x63\x65\x5f\x72\145\144\165\143\x74\x69\x6f\x6e\x5f\x77\164" => 0, "\x70\162\151\143\x65\137\x72\145\x64\x75\143\x74\x69\x6f\156\137\x69\x74" => 0); goto fapCP; L3Wht: $taxrate = $cache_tax[$id_shop][(int) $prodrow["\x69\144\137\x74\141\x78"]]; goto BiDie; yQTRW: $sql_specific_price = new DbQuery(); goto xUdFD; Gt6qT: goto v6olU; goto CgeLt; uyz2B: $sql = "\x53\105\114\105\x43\124\x20\164\x72\x67\x2e\156\141\x6d\145\54\40\x74\x72\x67\56\x69\x64\x5f\164\x61\170\x5f\162\x75\154\145\x73\x5f\147\162\x6f\165\160\x2c\x74\56\162\141\164\x65\54\40\x74\x72\147\x2e\x64\145\154\x65\164\x65\x64\12\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\40\40\40\40\40\x20\40\x20\x20\40\x20\40\x20\40\x20\106\122\x4f\x4d\x20\140" . _DB_PREFIX_ . "\x74\x61\x78\x5f\x72\165\154\x65\x73\137\147\162\x6f\165\160\140\40\164\162\147\12\40\40\40\x20\40\40\40\x20\40\40\x20\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\x20\40\x20\114\105\x46\x54\x20\x4a\117\x49\x4e\x20\140" . _DB_PREFIX_ . "\164\141\x78\137\162\165\x6c\x65\x60\x20\164\x72\x20\117\116\40\50\x74\162\147\56\140\151\x64\137\164\x61\x78\137\162\165\x6c\145\x73\x5f\147\162\x6f\x75\160\140\x20\x3d\40\x74\162\56\x60\x69\x64\137\164\141\170\x5f\x72\165\154\145\x73\x5f\x67\162\157\165\160\x60\x20\x41\116\104\40\164\162\x2e\x60\x69\x64\x5f\x63\x6f\165\156\x74\x72\171\x60\x20\x3d\40" . (int) self::getDefaultCountryId() . "\x20\101\116\104\x20\x74\162\x2e\140\x69\x64\137\x73\x74\x61\x74\x65\x60\40\x3d\40\x30\x29\12\x20\x20\40\x20\x20\x20\40\40\40\x20\40\40\x20\40\x20\40\40\40\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\114\x45\x46\x54\40\112\x4f\111\x4e\40\140" . _DB_PREFIX_ . "\x74\x61\x78\x60\x20\164\x20\117\116\40\x28\x74\x2e\x60\151\x64\137\164\x61\x78\140\x20\x3d\40\x74\162\x2e\x60\151\144\137\x74\x61\x78\140\x29\xa\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\x20" . $inner . "\12\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\40\40\40\x20\x20\40\x20\40\40\40\40\x20\40\40\40\x20\127\x48\x45\x52\105\x20\x74\x72\x67\56\x61\x63\164\151\x76\145\x3d\61\12\x20\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\40\40\x20\40\x20\40\40\40\40\x20\x20\x20\x20\40\40\x4f\122\x44\x45\x52\x20\x42\131\40\164\x72\147\56\x64\x65\154\145\x74\x65\x64\40\x41\x53\103\x2c\x20\164\162\x67\56\156\141\155\x65\x20\101\x53\x43"; goto woOtQ; ilM3k: if (!($prodrow["\162\145\144\165\143\164\x69\157\156\x5f\x70\x72\151\143\145"] > 0)) { goto B6ECb; } goto V8rot; FB0W4: if (!empty($taxrate)) { goto K9sYQ; } goto AirNm; LQyvk: $prodrow["\x69\x64\137\164\141\x78"] = $prodrow["\x69\x64\x5f\164\x61\x78\x5f\162\x75\154\x65\x73\137\x67\x72\x6f\165\x70"]; goto L3Wht; woOtQ: $res = Db::getInstance()->ExecuteS($sql); goto o3J5Y; Uwbq7: $actual_prices["\160\162\x69\x63\145\137\x72\145\x64\165\143\x74\151\x6f\x6e\137\x77\x74"] = $prodrow["\160\162\x69\x63\145"] * (1 - $res_specific_price["\162\x65\x64\165\143\164\x69\157\x6e"]); goto KeLgi; fapCP: if (!empty($tax[$id_shop])) { goto p3haO; } goto vyeqz; jic_d: $inner = ''; goto Y8C_d; jRwzm: $attrrow = Db::getInstance()->getRow($sql); goto c4TSa; N3uky: Kmtxj: goto c81Zb; aSVw2: $prodrow["\x72\145\x64\165\x63\x74\151\x6f\156\137\x70\x65\x72\x63\x65\x6e\x74"] = $res_specific_price["\162\x65\144\165\143\164\151\x6f\x6e"] * 100; goto HKlrx; Kd5Un: eRjnU: goto oIqIF; W2pJu: og1_0: goto XBBat; XBBat: goto eRjnU; goto g5oNX; xQl3m: $ecotax = _s("\x43\x41\124\137\120\122\x4f\x44\x5f\105\103\117\x54\101\x58\x49\x4e\103\114\x55\x44\105\104") ? $attrrow["\x65\143\157\164\x61\170"] * self::getEcotaxTaxRate() : 0; goto jtcEh; HKlrx: $prodrow["\162\x65\x64\x75\x63\164\x69\x6f\x6e\x5f\160\x72\x69\143\x65"] = 0; goto Pj5s4; RledR: global $cache_tax; goto CZlM8; BX2b8: } public static function getBrightness($hex) { goto JgWS5; i18Yn: return ($r * 299 + $g * 587 + $b * 114) / 1000; goto qYZnc; KgbX4: $b = hexdec(substr($hex, 4, 2)); goto i18Yn; yYdwo: $g = hexdec(substr($hex, 2, 2)); goto KgbX4; JgWS5: $hex = str_replace("\x23", '', $hex); goto hs2oj; hs2oj: $r = hexdec(substr($hex, 0, 2)); goto yYdwo; qYZnc: } public static function translateSubjectMail($subject, $id_lang) { goto KifXv; qN_YU: if (!version_compare(_PS_VERSION_, "\x31\56\67\56\60\56\60", "\76\75")) { goto IfwIB; } goto MiDsV; tC4IJ: bmeyS: goto qN_YU; MiDsV: $orderLanguage = new Language((int) $id_lang); goto R7UjN; zssAP: $params["\x25\164\150\x72\x65\141\x64\x5f\164\x6f\153\x65\156\x25"] = $matches[5]; goto XC0ny; v1xsy: $subst = "\44\x31\45\164\x68\162\145\x61\144\137\x69\144\45\44\x34\x25\x74\x68\162\x65\141\144\x5f\164\157\x6b\x65\156\45"; goto TsDgI; TsDgI: preg_match($re, $subject, $matches); goto sEIs1; fPyA7: $params = array(); goto tzjjl; DHzEj: haDLi: goto fPyA7; KifXv: if (!empty($id_lang)) { goto haDLi; } goto BjLMI; lEyBX: $re = "\x2f\x28\56\52\134\x20\134\x23\143\x74\x29\x28\x2e\52\51\x28\134\44\163\x29\x28\x5c\40\134\43\164\x63\51\x28\56\x2a\x29\x28\x5c\44\x73\x29\x2f\x6d"; goto v1xsy; BjLMI: return $subject; goto DHzEj; tzjjl: if (!version_compare(_PS_VERSION_, "\x31\x2e\67\x2e\67\x2e\60", "\76\75")) { goto bmeyS; } goto lEyBX; R7UjN: $translator = Context::getContext()->getTranslator(); goto MTA9d; XC0ny: $subject = preg_replace($re, $subst, $subject); goto tC4IJ; MTA9d: return $translator->trans($subject, $params, "\x45\155\x61\x69\154\163\56\x53\x75\142\x6a\x65\x63\x74", $orderLanguage->locale); goto KyKRT; N2WEO: return Mail::l($subject, (int) $id_lang); goto Tw5uF; KyKRT: IfwIB: goto N2WEO; sEIs1: $params["\45\164\150\162\x65\x61\144\137\151\x64\45"] = $matches[2]; goto zssAP; Tw5uF: } public static function moduleIsInstalled($module_name) { goto TDKA2; Rg10M: CPlH2: goto r2q8R; UkBeI: return Module::isInstalled($module_name); goto BzObC; r2q8R: return (bool) Db::getInstance()->getValue("\x53\105\x4c\x45\x43\x54\40\140\151\x64\x5f\x6d\x6f\144\165\x6c\145\x60\x20\106\122\117\115\x20\x60" . _DB_PREFIX_ . "\x6d\x6f\x64\165\x6c\145\x60\40\x57\x48\105\122\105\x20\140\x6e\x61\x6d\x65\x60\40\x3d\x20\x22" . pSQL($module_name) . "\x22"); goto YEExQ; TDKA2: if (version_compare(_PS_VERSION_, "\61\56\67\56\60\56\61", "\76\x3d")) { goto CPlH2; } goto UkBeI; BzObC: goto q7tsD; goto Rg10M; YEExQ: q7tsD: goto drANU; drANU: } public static function moduleIsEnabled($module_name) { return Module::isEnabled($module_name); } public static function getModuleVersion($module_name) { return (string) Db::getInstance()->getValue("\x53\105\114\x45\x43\124\x20\x60\x76\x65\x72\x73\x69\x6f\x6e\x60\x20\106\122\117\x4d\x20\x60" . _DB_PREFIX_ . "\x6d\157\144\165\x6c\145\140\x20\x57\110\x45\x52\105\x20\x60\156\x61\x6d\x65\x60\x20\x3d\40\x22" . pSQL($module_name) . "\42"); } public static function cacheScModulesInfos($refresh = false) { goto cOxQC; orAr_: $messageInstallation = _l("\x28\111\x6e\163\164\x61\x6c\x6c\141\x74\x69\157\156\x20\162\145\x71\x75\x69\x72\145\x64\40\x69\x6e\40\120\162\x65\163\x74\x61\x73\x68\x6f\160\x29"); goto UNS9N; VBpcd: $modules_installed = $tmp; goto TsILt; Sfqda: fSnYY: goto VBpcd; YdVae: $sc_module = array("\163\143\x61\146\x66\151\154\151\x61\164\151\x6f\x6e", "\x73\x63\160\144\x66\143\141\x74\x61\x6c\157\x67"); goto bfyzn; zW96z: $modules_on_disk = Module::getModulesDirOnDisk(); goto YdVae; JsWCD: dtkWM: goto vqkiK; cOxQC: if (!(!is_null(self::$scModulesInfos) && !$refresh)) { goto JHI8x; } goto F0xPt; kgHul: JHI8x: goto nmeP9; i7q9s: $tmp = array(); goto O3CN1; TsILt: tg1sf: goto mISM1; UNS9N: $messageActivation = _l("\50\x41\143\164\151\x76\141\164\151\x6f\156\x20\x72\x65\x71\165\x69\x72\145\x64\x20\151\x6e\x20\x50\162\x65\163\164\x61\163\150\x6f\160\x29"); goto EBg0G; EBg0G: foreach ($sc_module as $m_name) { goto GCCQq; TZXZh: if (!in_array($m_name, $modules_on_disk)) { goto kThB1; } goto UT0KG; S96fn: if (!(!$sc_module_infos[$m_name]["\x70\x72\x65\163\x65\156\x74"] || !$sc_module_infos[$m_name]["\x69\156\x73\164\x61\x6c\x6c\x65\144"])) { goto nb585; } goto Yz1kr; Yz1kr: $sc_module_infos[$m_name]["\x6d\145\x73\163\x61\147\145"] = $messageInstallation; goto Es1mN; ikmld: v8RRL: goto S96fn; GCCQq: $sc_module_infos[$m_name] = array("\160\x72\x65\163\145\156\164" => false, "\x69\156\x73\x74\141\154\x6c\145\144" => false, "\x61\x63\x74\151\x76\141\164\145\144" => false, "\155\145\163\163\x61\147\145" => ''); goto TZXZh; Ntyys: $sc_module_infos[$m_name]["\141\x63\x74\151\166\x61\164\145\x64"] = (int) $modules_installed[$m_name]; goto ikmld; UT0KG: $sc_module_infos[$m_name]["\x70\162\x65\x73\x65\x6e\164"] = true; goto ihv3b; pnEkJ: if (!($sc_module_infos[$m_name]["\160\x72\145\x73\x65\156\x74"] && $sc_module_infos[$m_name]["\151\x6e\x73\164\141\154\154\x65\x64"] && !$sc_module_infos[$m_name]["\x61\143\164\x69\166\x61\x74\145\x64"])) { goto MhYp9; } goto DS4pX; ihv3b: kThB1: goto tGhF0; onXdu: LxG82: goto c8h5r; LWzK2: $sc_module_infos[$m_name]["\151\156\x73\x74\x61\x6c\154\x65\x64"] = true; goto Ntyys; mzH1F: MhYp9: goto onXdu; DS4pX: $sc_module_infos[$m_name]["\x6d\145\x73\x73\141\x67\x65"] = $messageActivation; goto mzH1F; tGhF0: if (!array_key_exists($m_name, $modules_installed)) { goto v8RRL; } goto LWzK2; Es1mN: nb585: goto pnEkJ; c8h5r: } goto JsWCD; nmeP9: self::$scModulesInfos = array(); goto zW96z; F0xPt: return; goto kgHul; bfyzn: $modules_installed = Db::getInstance()->executeS("\123\x45\114\x45\x43\x54\x20\156\x61\x6d\x65\x2c\x61\143\x74\151\166\145\xa\40\x20\x20\40\x20\x20\40\40\40\40\40\40\x20\40\x20\x20\40\40\x20\x20\40\x20\40\40\x20\40\40\x20\x20\40\40\40\x20\40\40\x20\40\x20\x20\40\40\x20\x20\40\40\x20\40\x20\x20\40\40\40\40\40\40\x20\40\40\x20\40\x46\x52\x4f\115\x20" . _DB_PREFIX_ . "\x6d\157\x64\x75\154\145\xa\40\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\x20\x20\40\40\x20\40\40\40\x20\40\40\40\40\x20\40\x20\40\40\x20\40\40\40\40\40\40\x20\40\40\40\x20\40\40\x20\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\x20\40\x57\110\105\122\x45\x20\x6e\141\155\145\x20\111\x4e\x20\50\x22" . implode("\42\54\42", $sc_module) . "\x22\x29"); goto pg5FC; vqkiK: self::$scModulesInfos = $sc_module_infos; goto Rzfbg; O3CN1: foreach ($modules_installed as $row) { $tmp[$row["\156\141\155\x65"]] = (int) $row["\141\x63\x74\x69\x76\x65"]; HVITQ: } goto Sfqda; pg5FC: if (empty($modules_installed)) { goto tg1sf; } goto i7q9s; mISM1: $sc_module_infos = array(); goto orAr_; Rzfbg: } public static function getScModulesInfos($module_name = null) { goto IDpyW; t91It: Iirze: goto Jx5su; IDpyW: self::cacheScModulesInfos(); goto elUGf; dF0Yl: if (empty($module_name)) { goto Iirze; } goto eO5IT; eO5IT: return $sc_module_infos[$module_name]; goto t91It; elUGf: $sc_module_infos = self::$scModulesInfos; goto dF0Yl; Jx5su: return $sc_module_infos; goto brINX; brINX: } public static function duplicateProductImages($idProductOld, $idProductNew, $id_image = null) { goto geCzS; LsCMN: YiUrG: goto DFZrm; LFvn4: $result = Db::getInstance()->executeS("\xa\40\40\x20\40\40\40\x20\x20\40\40\x20\40\123\x45\114\x45\103\x54\x20\151\56\x60\151\144\x5f\x69\155\x61\147\x65\x60\xa\40\x20\40\40\40\40\x20\x20\40\40\x20\x20\x46\122\117\x4d\40\x60" . _DB_PREFIX_ . "\151\x6d\141\x67\145\x60\40\151\xa\x20\x20\x20\x20\40\40\40\40\40\40\x20\x20\111\x4e\116\x45\122\40\112\117\x49\x4e\x20\x60" . _DB_PREFIX_ . "\151\155\x61\147\145\x5f\163\150\157\160\x60\40\151\155\141\x67\145\x5f\163\x68\x6f\x70\12\x20\x20\40\40\40\40\40\40\40\x20\40\x20\x4f\x4e\40\x28\151\x2e\x60\151\144\x5f\x69\x6d\x61\x67\145\x60\40\75\40\x69\x6d\x61\x67\x65\137\x73\150\157\160\56\140\x69\x64\137\151\x6d\141\x67\x65\x60\x20\101\x4e\104\40\151\155\x61\x67\145\137\x73\150\x6f\x70\56\x60\151\144\x5f\x73\x68\157\160\x60\x20\x3d\40" . (int) self::getSelectedShop() . "\x29\xa\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\127\x48\x45\x52\x45\x20\x69\56\140\151\x64\x5f\x70\x72\157\x64\x75\143\164\x60\40\75\40" . (int) $idProductOld); goto d4rcz; LRjql: foreach ($result as $row) { goto euupW; euupW: $imageOld = new Image($row["\x69\x64\137\151\155\141\x67\x65"]); goto gUg1l; md83G: $imageNew->cover = !empty($new_product_has_cover) ? 0 : 1; goto FWnC9; iFoFz: return false; goto sjQh2; mMPP1: foreach ($imagesTypes as $imageType) { goto dBsBo; E7J37: copy(_PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . "\x2d" . $imageType["\156\x61\x6d\145"] . "\56\x6a\x70\147", $newPath . "\55" . $imageType["\156\x61\x6d\x65"] . "\x2e\152\160\147"); goto AoYcf; BjaqK: if (!file_exists($oldImagePath)) { goto N9cp1; } goto P6LEP; Spf9a: KFYz7: goto E7J37; OMHqI: N9cp1: goto k9Fpl; P6LEP: copy($oldImagePath, $newPath . "\x2d" . $imageType["\x6e\x61\x6d\145"] . "\x2d" . Configuration::get("\x57\x41\124\x45\x52\115\x41\122\113\x5f\x48\101\x53\110") . "\x2e\152\160\147"); goto OMHqI; AoYcf: if (!Configuration::get("\x57\x41\x54\105\122\115\x41\122\113\x5f\110\x41\x53\x48")) { goto JMYnO; } goto rdUfZ; rdUfZ: $oldImagePath = _PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . "\x2d" . $imageType["\156\141\x6d\145"] . "\55" . Configuration::get("\x57\101\x54\x45\x52\x4d\x41\x52\x4b\x5f\110\101\123\110") . "\x2e\152\x70\147"; goto BjaqK; p_Ls6: Nl4Hi: goto GRWFL; GRWFL: cu3lD: goto zzp3e; cde2y: if (Configuration::get("\120\123\x5f\x4c\105\107\101\x43\131\x5f\x49\x4d\101\x47\105\123")) { goto KFYz7; } goto h2_gx; dBsBo: if (!file_exists(_PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . "\x2d" . $imageType["\156\x61\x6d\145"] . "\56\152\x70\147")) { goto Nl4Hi; } goto cde2y; h2_gx: $imageNew->createImgFolder(); goto Spf9a; k9Fpl: JMYnO: goto p_Ls6; zzp3e: } goto lsOrj; bjzTs: JdHgx: goto aMOZL; lsOrj: tKhVO: goto veoMG; zSUDe: copy(_PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . "\56\x6a\160\x67", $newPath . "\x2e\x6a\x70\x67"); goto CIZco; veoMG: if (!file_exists(_PS_PROD_IMG_DIR_ . $imageOld->getExistingImgPath() . "\56\152\160\147")) { goto FlPdK; } goto zSUDe; gUg1l: $imageNew = clone $imageOld; goto kixP7; pyUsf: $new_product_has_cover = Image::getCover((int) $idProductNew); goto md83G; NAadP: return (int) $imageNew->id; goto CG1Rj; aMOZL: $newPath = $imageNew->getPathForCreation(); goto mMPP1; AZONS: $imageNew->duplicateShops($idProductOld); goto NAadP; LZX73: if ($imageNew->add()) { goto JdHgx; } goto iFoFz; kixP7: unset($imageNew->id); goto pyUsf; CG1Rj: lJfT7: goto tIFlg; sjQh2: goto lJfT7; goto bjzTs; tIFlg: Gm4tr: goto f9LPV; CIZco: FlPdK: goto AZONS; FWnC9: $imageNew->id_product = (int) $idProductNew; goto LZX73; f9LPV: } goto LsCMN; ufMTN: $result = array(0 => array("\x69\144\137\x69\155\141\147\145" => $id_image)); goto l244C; l244C: WOLM2: goto LRjql; DKZ4y: jA3py: goto ufMTN; d4rcz: goto WOLM2; goto DKZ4y; mEl1s: if (!empty($id_image)) { goto jA3py; } goto LFvn4; geCzS: $imagesTypes = ImageType::getImagesTypes("\x70\x72\x6f\144\165\143\164\x73"); goto mEl1s; DFZrm: } public static function getFeedBizAllowedMarketPlace() { goto rnyaE; vXG1t: foreach ($allowed as $marketplace => $value) { goto gbeJe; gbeJe: if (!(array_key_exists($marketplace, $marketplace_tab_config) && Tools::strlen($marketplace_tab_config[$marketplace]))) { goto pNyvV; } goto TO39H; TO39H: $allowed[$marketplace] = true; goto Dk2a1; e8Mjg: r4dx3: goto H29Bu; Dk2a1: pNyvV: goto e8Mjg; H29Bu: } goto XV8uj; el4rC: $marketplace_tab_config = unserialize($marketplace_tab); goto opn2Y; Y5Tag: sxb_I: goto Sq137; XV8uj: IPhIX: goto cYhxl; rnyaE: $marketplace_tab = Configuration::get("\106\x45\105\x44\x42\x49\x5a\x5f\115\101\122\x4b\x45\x54\120\x4c\101\x43\105\137\x54\101\x42"); goto FVlr0; FVlr0: $allowed = array("\x61\155\141\172\x6f\x6e" => false, "\x63\144\x69\x73\x63\157\165\156\164" => false); goto k8o5X; opn2Y: if (!(is_array($marketplace_tab_config) && count($marketplace_tab_config))) { goto Z8D5Z; } goto vXG1t; cYhxl: Z8D5Z: goto Y5Tag; k8o5X: if (!$marketplace_tab) { goto sxb_I; } goto el4rC; Sq137: return $allowed; goto eGq0K; eGq0K: } public static function getShopUrlArrayJs() { goto mam4G; VpLTF: $shops = Db::getInstance()->executeS($sql_shop); goto npQfl; rTdz0: $base_url = (self::getConfigurationValue("\x50\123\x5f\123\123\x4c\137\105\x4e\101\x42\x4c\105\x44") ? $protocol . self::getConfigurationValue("\x50\x53\x5f\x53\x48\117\120\x5f\104\117\115\101\111\116\137\123\x53\114") : $protocol . self::getConfigurationValue("\x50\123\137\x53\x48\117\x50\137\x44\x4f\x4d\x41\x49\x4e")) . "\x2f"; goto f3dWN; ebb7s: if (empty($url)) { goto dFFND; } goto Ks7A9; KbASx: $sql_shop = "\x53\x45\114\105\103\x54\40\x69\144\137\x73\x68\x6f\160\xa\40\x20\40\x20\40\x20\40\x20\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\106\122\x4f\x4d\x20" . _DB_PREFIX_ . "\163\x68\157\x70\xa\x20\x20\40\40\x20\40\x20\40\x20\40\x20\x20\40\x20\40\40\40\40\40\40\x20\x20\40\x20\x20\40\x20\x20\x57\x48\x45\122\x45\x20\144\145\154\x65\x74\x65\x64\40\41\75\x20\x27\61\47"; goto VpLTF; f3dWN: $url = Db::getInstance()->getValue("\123\105\114\105\x43\124\40\x43\x4f\x4e\x43\101\x54\50\144\157\x6d\141\151\156\54\x20\x70\x68\x79\163\x69\143\141\154\x5f\165\162\x69\x2c\40\166\x69\162\164\165\141\154\137\165\x72\x69\51\40\101\123\40\x75\162\154\xa\40\x20\40\x20\40\40\40\40\40\x20\x20\40\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\x20\x46\x52\x4f\115\40" . _DB_PREFIX_ . "\x73\150\x6f\x70\x5f\165\x72\154\12\x20\x20\x20\40\40\40\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\40\127\110\105\122\105\40\141\x63\164\x69\x76\145\x20\75\x20\x31"); goto ebb7s; mam4G: $html_return = array(); goto odZrR; npQfl: foreach ($shops as $shop) { goto ycmyT; xazNh: z9LTR: goto PKdbs; bA2l4: if (empty($url["\165\162\x6c"])) { goto N5O3l; } goto hmrW0; ycmyT: $url = Db::getInstance()->getRow("\123\105\x4c\x45\103\124\40\x2a\x2c\x20\x43\x4f\x4e\103\x41\x54\x28\x64\157\x6d\141\151\156\x2c\x20\x70\150\x79\163\151\143\x61\x6c\137\x75\162\151\54\x20\166\x69\162\x74\165\141\154\x5f\165\x72\151\51\x20\x41\x53\x20\x75\162\x6c\xa\40\x20\40\x20\40\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\106\x52\117\x4d\40" . _DB_PREFIX_ . "\x73\150\x6f\x70\x5f\165\162\154\xa\x20\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\40\x20\127\110\x45\122\105\40\151\144\137\x73\x68\x6f\160\40\75\40" . (int) $shop["\151\144\x5f\163\150\x6f\160"] . "\xa\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\x41\116\x44\x20\x61\x63\x74\151\x76\145\40\x3d\40\x22\x31\42\xa\40\40\40\x20\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\40\117\x52\x44\x45\122\x20\102\131\40\155\x61\151\x6e\40\x44\105\x53\x43"); goto bA2l4; hmrW0: $html_return[$shop["\x69\x64\x5f\x73\x68\157\x70"]] = $protocol . $url["\165\162\154"]; goto PkyFm; PkyFm: N5O3l: goto xazNh; PKdbs: } goto yCfNZ; Vt3oC: $html_return[0] = $base_url; goto KbASx; pxrHH: dFFND: goto Vt3oC; odZrR: $protocol = Tools::getShopProtocol(); goto rTdz0; yCfNZ: gG23Y: goto KZya4; KZya4: return "\x76\141\x72\40\163\150\x6f\160\x55\162\154\x73\40\75\x20" . json_encode($html_return) . "\12"; goto q4ZEZ; Ks7A9: $base_url = $protocol . $url; goto pxrHH; q4ZEZ: } public static function checkSpecificPriceexists($id_product, $id_product_attribute, $price, $reduction, $reduction_type, $id_shop, $id_group, $id_country, $id_currency, $id_customer, $from_quantity, $from, $to, $rule = false) { $rule = "\40\101\116\104\x20\140\x69\144\137\x73\160\x65\x63\x69\146\151\143\137\x70\162\151\x63\145\137\x72\x75\x6c\145\140" . (!$rule ? "\75\60" : "\41\75\x30"); return (int) Db::getInstance()->getValue("\x53\x45\x4c\x45\x43\124\x20\x60\x69\x64\x5f\x73\160\145\143\151\146\151\143\137\x70\162\151\x63\145\140\xa\x20\40\40\40\x20\40\x20\x20\x20\40\40\x20\40\40\x20\x20\40\x20\40\x20\40\x20\40\x20\x20\40\40\x20\40\40\x20\40\x20\40\x20\x20\40\40\x20\x20\40\40\40\x20\40\40\x20\x20\x46\122\117\x4d\40" . _DB_PREFIX_ . "\163\x70\x65\x63\x69\146\x69\143\137\160\x72\x69\143\145\12\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\x20\x20\40\40\x20\40\40\x20\40\40\40\40\x20\x20\40\x20\40\40\40\x20\x20\40\x20\40\40\127\x48\x45\122\105\x20\140\151\144\x5f\160\x72\157\144\165\x63\x74\140\75" . (int) $id_product . "\40\101\116\x44\xa\40\x20\x20\40\x20\40\40\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\40\40\x20\40\40\x20\40\40\40\40\x20\x20\40\40\40\x20\40\x20\40\x60\151\x64\137\x70\162\x6f\x64\x75\x63\x74\137\141\164\x74\162\151\142\x75\164\145\140\75" . (int) $id_product_attribute . "\40\x41\116\x44\12\x20\40\40\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\40\40\x20\40\40\40\x20\40\x20\40\40\x20\40\x20\x20\x20\40\40\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\140\160\162\x69\143\145\x60\75" . (double) $price . "\x20\101\x4e\104\xa\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\40\40\40\40\x20\x20\40\x20\40\40\x20\40\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\140\162\145\x64\x75\x63\164\151\x6f\x6e\x60\x3d" . (double) $reduction . "\x20\101\116\104\12\40\40\40\x20\40\x20\40\40\x20\40\x20\x20\40\40\40\40\40\x20\x20\40\40\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\x60\162\145\144\x75\143\164\x69\x6f\156\137\x74\171\160\145\x60\75\x22" . pSQL($reduction_type) . "\x22\x20\x41\x4e\x44\12\40\40\40\x20\x20\40\x20\40\40\40\40\x20\40\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\40\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\x60\151\144\x5f\x73\150\x6f\160\140\75" . (int) $id_shop . "\40\101\x4e\104\xa\40\40\40\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\x20\40\40\40\40\40\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\40\40\40\x20\x20\40\40\140\x69\144\x5f\x67\162\157\x75\x70\x60\x3d" . (int) $id_group . "\x20\101\x4e\104\xa\40\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\40\x20\40\40\x20\40\40\40\40\40\40\x20\40\x20\40\x20\40\40\40\x20\40\40\40\40\40\x20\40\x20\x20\40\40\40\40\x20\x20\40\x60\151\x64\137\x63\157\x75\x6e\164\x72\171\140\75" . (int) $id_country . "\40\101\116\104\12\40\x20\40\40\40\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x60\x69\x64\137\x63\165\162\162\145\156\143\171\x60\x3d" . (int) $id_currency . "\x20\x41\116\104\12\x20\x20\40\x20\x20\40\40\40\x20\x20\40\x20\x20\40\40\40\40\x20\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\40\40\40\40\x20\x20\40\40\40\x20\40\x20\40\40\140\x69\144\x5f\x63\165\x73\164\157\x6d\x65\162\x60\75" . (int) $id_customer . "\x20\x41\116\104\12\x20\40\x20\x20\x20\40\40\x20\40\x20\40\40\x20\40\40\40\x20\40\40\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\40\40\40\40\40\40\x20\40\40\x20\40\40\x20\x60\146\x72\x6f\155\x5f\161\x75\141\156\164\151\164\171\140\75" . (int) $from_quantity . "\x20\x41\116\104\xa\x20\40\40\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\x20\40\40\40\40\40\x20\x20\40\40\x20\40\40\x20\x20\x20\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\x20\40\40\40\140\146\162\x6f\x6d\140\40\76\75\40\x27" . pSQL($from) . "\x27\40\101\116\104\12\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\40\40\40\40\40\x20\40\x20\40\40\x20\x20\x20\40\40\40\40\x20\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\40\x20\40\x60\164\x6f\140\x20\74\75\40\47" . pSQL($to) . "\47" . $rule); } public static function cachingAttributeName($id_lang, $id_product_attribute = null) { goto n5G1T; nCWvO: foreach ($res_attr as $row) { goto RqFfO; OlG2J: g60Rh: goto vqtO8; RqFfO: if (!(!empty($row["\x67\160"]) && !empty($row["\x6e\x61\155\x65"]))) { goto d42p_; } goto Xh5ga; bNVZy: goto wRFok; goto OlG2J; iRMOk: if (array_key_exists($row["\151\x64\137\160\x72\157\x64\x75\x63\164\x5f\x61\x74\x74\x72\151\x62\165\x74\x65"], $cache_array)) { goto g60Rh; } goto wmhTb; wmhTb: $cache_array[$row["\151\144\x5f\x70\162\x6f\144\165\x63\x74\x5f\x61\164\164\x72\151\x62\165\164\x65"]] = $attribute_name; goto bNVZy; DFg5n: wRFok: goto Wm_SC; vqtO8: $cache_array[$row["\151\144\x5f\x70\x72\x6f\x64\x75\x63\164\137\x61\164\x74\x72\151\142\165\x74\145"]] .= "\54\x20" . $attribute_name; goto DFg5n; udyC1: yPlB5: goto QnoXF; Xh5ga: $attribute_name = $row["\x67\x70"] . "\x20\72\x20" . $row["\x6e\141\x6d\145"]; goto iRMOk; Wm_SC: d42p_: goto udyC1; QnoXF: } goto JC8bL; JC8bL: HFSVd: goto E9LuZ; mnkQ0: if (empty($res_attr)) { goto BCzty; } goto nCWvO; Ep3Jl: return $cache_array; goto B3P8X; X6JO0: $id_product_attribute = array($id_product_attribute); goto GWbsF; oxK85: $sql = "\x53\x45\x4c\105\x43\x54\40\x70\x61\x63\56\x69\x64\137\160\x72\157\144\x75\x63\x74\x5f\x61\164\164\x72\x69\142\165\164\x65\x2c\141\147\x6c\56\156\x61\155\145\x20\141\x73\40\x67\x70\x2c\x20\x61\154\x2e\x6e\x61\155\x65\xa\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\40\x20\x20\40\40\x20\40\x20\40\40\40\40\x20\40\40\40\106\122\117\x4d\x20" . _DB_PREFIX_ . "\160\x72\157\144\x75\x63\x74\x5f\x61\x74\x74\162\151\x62\x75\164\145\137\143\x6f\x6d\142\x69\x6e\x61\x74\x69\157\156\x20\x70\x61\x63\xa\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\40\x20\40\40\40\x49\x4e\116\x45\122\40\x4a\117\x49\116\40" . _DB_PREFIX_ . "\141\x74\164\x72\x69\x62\x75\x74\145\x20\x61\40\117\116\x20\160\141\x63\56\x69\x64\x5f\x61\164\164\162\151\142\165\164\x65\40\75\x20\141\x2e\151\144\x5f\x61\164\164\162\151\142\x75\x74\145\12\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\x49\x4e\x4e\105\x52\x20\112\x4f\111\x4e\x20" . _DB_PREFIX_ . "\x61\x74\x74\x72\151\142\x75\164\145\137\x67\x72\x6f\165\160\x5f\x6c\x61\x6e\x67\40\141\x67\x6c\x20\x4f\116\40\x61\56\x69\x64\137\x61\164\164\x72\151\142\x75\x74\145\x5f\147\x72\157\x75\160\x20\x3d\x20\x61\147\154\56\x69\x64\x5f\141\x74\164\x72\151\142\165\x74\x65\x5f\147\x72\x6f\165\160\12\40\40\x20\x20\x20\40\40\x20\40\x20\40\40\40\40\x20\x20\x20\x20\40\40\x20\40\40\x20\x20\40\x20\40\111\116\x4e\x45\122\40\112\x4f\x49\116\x20" . _DB_PREFIX_ . "\141\164\x74\162\151\x62\x75\x74\145\137\154\x61\156\147\x20\x61\154\x20\117\x4e\40\160\141\143\x2e\151\x64\137\x61\164\x74\162\x69\x62\165\x74\145\40\x3d\40\141\x6c\56\x69\x64\x5f\x61\164\164\x72\151\142\x75\x74\x65" . (!empty($id_product_attribute) ? "\40\x57\110\x45\x52\105\40\160\x61\143\x2e\x69\x64\137\x70\x72\x6f\x64\165\143\164\137\x61\x74\x74\162\151\x62\165\164\x65\x20\x49\x4e\40\x28" . pSQL(implode("\x2c", $id_product_attribute)) . "\x29" : '') . "\x41\116\x44\40\141\x67\x6c\56\151\144\137\x6c\141\156\147\40\75\40" . (int) $id_lang . "\xa\40\40\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\40\40\40\x20\x20\x20\40\40\40\40\x20\40\x20\x20\x41\x4e\x44\x20\x61\154\x2e\x69\x64\137\154\x61\156\147\40\75\x20" . (int) $id_lang . "\xa\x20\40\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\x20\40\x20\40\40\40\40\40\x20\x20\40\117\122\104\x45\x52\x20\102\131\40\141\x67\154\x2e\x6e\x61\155\x65"; goto iqX48; t8iTn: if (is_array($id_product_attribute)) { goto BKUA1; } goto X6JO0; E9LuZ: BCzty: goto Ep3Jl; tgqrF: $cache_array = array(); goto mnkQ0; n5G1T: if (empty($id_product_attribute)) { goto zzj7p; } goto t8iTn; iqX48: $res_attr = Db::getInstance()->executeS($sql); goto tgqrF; BcCOM: zzj7p: goto oxK85; GWbsF: BKUA1: goto BcCOM; B3P8X: } public static function addLog($message, $severity = 1, $errorCode = null, $objectType = null, $objectId = null, $allowDuplicate = false, $idEmployee = null) { goto msWad; L7wJI: irubm: goto ujLcF; Zosrp: goto irubm; goto aRQsM; msWad: if (version_compare(_PS_VERSION_, "\61\x2e\x36\56\x30\56\63", "\76\75")) { goto QQg1C; } goto AUWHE; aRQsM: QQg1C: goto kB9w0; kB9w0: PrestaShopLogger::addLog($message, $severity, $errorCode, $objectType, $objectId, $allowDuplicate, $idEmployee); goto L7wJI; AUWHE: Logger::addLog($message, $severity, $errorCode, $objectType, $objectId, $allowDuplicate); goto Zosrp; ujLcF: } public static function addProductAttributeMultiple($product, $attributes, $set_default = true) { goto qmgDf; L0eZp: return $return; goto Mz_P_; lMn6O: NSRHK: goto L0eZp; Bs_XG: foreach ($attributes as $attribute) { goto BPf1e; l8dmw: $default_value = 0; goto qp3MG; i65VK: foreach ($id_shop_list_array as $array_shop) { $id_shop_list[] = $array_shop["\x69\144\137\x73\150\x6f\160"]; tPitE: } goto p27xu; wPTje: $obj->default_on = $default_value; goto l8dmw; vayle: $obj->add(); goto L2cCh; qp3MG: if ($product->hasAttributesInOtherShops()) { goto gXp0t; } goto UDwO9; L2cCh: $return[] = $obj->id; goto H1lyg; p27xu: oj8LW: goto M4mld; vOtm4: $id_shop_list = array(); goto i65VK; BTY2X: if (!$set_default) { goto JOCHm; } goto wPTje; H1lyg: mSd9L: goto JrQg9; RB1iq: JOCHm: goto vayle; sgJOK: gXp0t: goto RB1iq; wsEY5: C1HUi: goto BTY2X; IhJqI: foreach ($attribute as $key => $value) { $obj->{$key} = $value; AgM9I: } goto wsEY5; BPf1e: $obj = new Combination(); goto IhJqI; M4mld: $obj->id_shop_list = $id_shop_list; goto sgJOK; UDwO9: $id_shop_list_array = Product::getShopsByProduct($product->id); goto vOtm4; JrQg9: } goto lMn6O; wiCZd: $default_value = 1; goto Bs_XG; qmgDf: $return = array(); goto wiCZd; Mz_P_: } public static function addAttributeCombinationMultiple($id_attributes, $combinations) { goto xLdgX; sGJOy: wbSF5: goto qTW44; qTW44: return Db::getInstance()->insert("\160\162\x6f\144\165\x63\164\137\x61\164\x74\162\151\x62\x75\164\x65\137\x63\157\x6d\x62\151\x6e\141\164\x69\x6f\x6e", $attributes_list); goto sVpzp; xLdgX: $attributes_list = array(); goto zX9Nk; zX9Nk: foreach ($id_attributes as $nb => $id_product_attribute) { goto yBZ_a; lIBDl: Q2DMY: goto zbBQt; hx73S: foreach ($combinations[$nb] as $id_attribute) { $attributes_list[] = array("\151\144\137\160\162\157\x64\165\x63\164\x5f\x61\164\x74\162\x69\142\x75\x74\145" => (int) $id_product_attribute, "\151\x64\x5f\x61\164\164\162\151\142\x75\x74\145" => (int) $id_attribute); C1wRu: } goto R0oJR; yBZ_a: if (!isset($combinations[$nb])) { goto Q2DMY; } goto hx73S; zbBQt: pwtCE: goto YA7sU; R0oJR: QOyhx: goto lIBDl; YA7sU: } goto sGJOy; sVpzp: } public static function getAttributeCombinations($product, $id_lang) { return $product->getAttributeCombinations($id_lang); } public static function getScDisplayableOrderStates($id_lang, $filterDeleted = true) { goto O_b36; Igy20: if (empty($scHideOrderStatesConfigs)) { goto WohWw; } goto YV2CD; YV2CD: foreach ($orderStates as $key => $orderState) { goto kQZvP; f76Kk: CUEjT: goto uf8Y6; scjWl: if (!(!empty($scHideOrderStatesConfig) && isset($scHideOrderStatesConfig["\163\150\x6f\160\163"]) && is_array($scHideOrderStatesConfig["\163\150\157\x70\x73"]) && in_array(self::getSelectedShop(), array_values($scHideOrderStatesConfig["\x73\x68\157\160\x73"])))) { goto CUEjT; } goto uaoB3; kQZvP: if (!isset($scHideOrderStatesConfigs[$orderState["\x69\144\x5f\157\x72\x64\145\x72\x5f\163\x74\x61\x74\145"]])) { goto HoP00; } goto WLeb2; bOGrd: IInfn: goto aiMpB; uf8Y6: HoP00: goto bOGrd; uaoB3: unset($orderStates[$key]); goto f76Kk; WLeb2: $scHideOrderStatesConfig = $scHideOrderStatesConfigs[$orderState["\151\144\x5f\x6f\x72\x64\x65\x72\x5f\163\x74\x61\164\x65"]]; goto scjWl; aiMpB: } goto CeSSS; QcQx0: WohWw: goto sXnhz; XK5lO: $scHideOrderStatesConfigs = unserialize(self::getConfigurationValue("\x53\x43\137\110\111\104\105\137\x4f\x52\104\105\x52\x5f\123\x54\101\124\105\x53")); goto Igy20; sXnhz: return $orderStates; goto y5Yq7; O_b36: $orderStates = OrderState::getOrderStates($id_lang, $filterDeleted); goto XK5lO; CeSSS: aT_nI: goto QcQx0; y5Yq7: } public static function getScIsDisplayableOrderState($idOrderState = null, $idShop = null) { goto CjBoH; D2T3J: if (!(!is_array($scHideOrderStatesConfigs[$idOrderState]["\x73\x68\x6f\x70\163"]) || !isset($scHideOrderStatesConfigs[$idOrderState]))) { goto M_AcV; } goto EA62C; zYf44: return 1; goto Dce8D; pTjvt: if (!(!$idOrderState || !$scHideOrderStatesConfigs)) { goto pMsOv; } goto uDHNG; p9oTB: M_AcV: goto VX0qC; OkO2r: pMsOv: goto D2T3J; kDPWR: if (!($idShop == 0 && is_iterable($scHideOrderStatesConfigs[$idOrderState]["\163\150\x6f\160\x73"]) && count($scHideOrderStatesConfigs[$idOrderState]["\x73\150\157\160\x73"]) > 1)) { goto rNNM_; } goto ws7eW; uDHNG: return 0; goto OkO2r; HjhVw: rNNM_: goto zYf44; CjBoH: $idShop = $idShop !== null ? $idShop : self::getSelectedShop(); goto KikTP; EA62C: return 0; goto p9oTB; ws7eW: return 2; goto HjhVw; VX0qC: if (in_array($idShop, array_values($scHideOrderStatesConfigs[$idOrderState]["\x73\x68\x6f\x70\163"]))) { goto G8D8_; } goto gEkVS; pdkT8: G8D8_: goto kDPWR; KikTP: $scHideOrderStatesConfigs = unserialize(self::getConfigurationValue("\123\103\x5f\x48\111\x44\x45\137\117\122\x44\x45\x52\x5f\x53\124\x41\x54\105\123")); goto pTjvt; gEkVS: return 0; goto pdkT8; Dce8D: } public static function getActiveLangForSelectedShop($field = null) { goto vJByv; Bs2mB: goto bjVOs; goto DcWuF; vJByv: if (!$field) { goto tKQ4T; } goto o8TvC; fgwm1: bjVOs: goto acmsR; DcWuF: tKQ4T: goto SP9gl; o8TvC: return array_map(function ($e) use($field) { return $e[$field]; }, Language::getLanguages(false, self::getSelectedShop())); goto Bs2mB; SP9gl: return Language::getLanguages(false, self::getSelectedShop()); goto fgwm1; acmsR: } public static function getStockMvtEmployeeReasonId($sign) { return (int) ($sign > 0 ? self::getConfigurationValue("\120\123\x5f\x53\x54\x4f\103\113\137\x4d\x56\124\x5f\111\116\103\137\x45\115\x50\x4c\117\131\x45\105\x5f\x45\x44\x49\x54\111\117\116") : self::getConfigurationValue("\120\x53\x5f\123\124\x4f\103\x4b\137\x4d\126\124\137\104\x45\103\137\x45\x4d\x50\114\x4f\131\105\105\137\105\104\x49\x54\x49\117\x4e")); } public static function isAvailableWhenOutOfStockByShop($out_of_stock, $id_shop) { goto roGfx; W5lmu: if ($ps_stock_management) { goto DaWfl; } goto HBLle; jIA3C: qntV1: goto lJ8Y1; roGfx: $ps_stock_management = self::getConfigurationValue("\120\123\137\x53\124\x4f\x43\x4b\x5f\115\101\x4e\101\107\x45\115\105\x4e\124", null, null, (int) $id_shop); goto W5lmu; LqmIt: return (int) $out_of_stock === $outOfStockTypeDefault ? (int) $ps_order_out_of_stock : (int) $out_of_stock; goto M3K42; S4C3L: if (version_compare(_PS_VERSION_, "\61\56\x37\x2e\70\x2e\x30", "\x3e\x3d")) { goto qntV1; } goto mqdHB; Hlfvn: DaWfl: goto tnkrz; tnkrz: $ps_order_out_of_stock = self::getConfigurationValue("\120\x53\x5f\117\122\x44\105\x52\137\117\x55\x54\x5f\117\106\137\123\124\x4f\103\113", null, null, (int) $id_shop); goto S4C3L; gOhh9: goto eR6N3; goto jIA3C; mqdHB: $outOfStockTypeDefault = 2; goto gOhh9; HBLle: return true; goto Hlfvn; L8Hsj: eR6N3: goto LqmIt; lJ8Y1: $outOfStockTypeDefault = PrestaShop\PrestaShop\Core\Domain\Product\Stock\ValueObject\OutOfStockType::OUT_OF_STOCK_DEFAULT; goto L8Hsj; M3K42: } public static function messageNotCompatibleWithAdvancedPack($identifier) { goto d3xqp; urdIK: Qdd6y: goto KiC4I; T7MqS: $msg = _l("\x54\150\x69\x73\x20\160\x61\x63\153\40\x63\141\156\47\164\40\x62\x65\x20\155\157\144\151\146\x69\145\x64\40\150\x65\162\145\x20\142\x65\143\141\x75\163\145\40\x69\x74\x27\163\40\141\156\40\x41\144\166\141\156\143\x65\144\40\x50\141\x63\153"); goto qbFs5; g9jcu: if (!$is_adv_pack) { goto qaFmY; } goto T7MqS; DJxNH: $is_adv_pack = (int) Db::getInstance()->getValue("\123\105\114\105\103\x54\40\x43\x4f\x55\x4e\124\x28\52\51\xa\40\x20\x20\40\x20\x20\x20\40\40\x20\40\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\40\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\x46\x52\117\115\40" . _DB_PREFIX_ . "\x70\x6d\x5f\141\x64\166\141\x6e\x63\145\x64\x70\x61\x63\x6b\xa\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\40\40\x20\40\x20\40\40\40\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\x20\40\40\x20\x57\110\105\x52\105\x20\151\144\137\160\141\143\x6b\40\x49\x4e\x20\50" . pInSQL($identifier) . "\51"); goto g9jcu; d3xqp: if (!self::moduleIsInstalled("\x70\x6d\137\141\x64\166\141\x6e\x63\145\x64\160\x61\x63\x6b")) { goto Qdd6y; } goto DJxNH; Yd_k6: qaFmY: goto urdIK; qbFs5: exitWithXmlMessageForGrid($msg); goto Yd_k6; KiC4I: } public static function encrypt($data) { goto uaVFa; Ow129: $cryptEngine = new PhpEncryption(_NEW_COOKIE_KEY_); goto k8N0F; ROGzA: if (!Configuration::get("\120\123\x5f\x43\111\120\110\x45\x52\137\x41\x4c\107\x4f\122\111\x54\x48\x4d") || !defined("\x5f\122\111\112\x4e\104\x41\105\114\137\x4b\x45\x59\x5f")) { goto oHnth; } goto rdUh3; uE47F: return $cryptEngine->encrypt($data); goto Q6WgZ; rdUh3: $cryptEngine = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_); goto bVX8S; T5mXH: $cryptEngine = new Blowfish(_COOKIE_KEY_, _COOKIE_IV_); goto coGtQ; bVX8S: goto dAL03; goto SGD5x; SGD5x: oHnth: goto T5mXH; k8N0F: F1AWL: goto uE47F; uaVFa: if (version_compare(_PS_VERSION_, "\61\x2e\x37\56\60\x2e\x30", "\x3e\75")) { goto zQbJ0; } goto ROGzA; nZ0xB: goto F1AWL; goto d1Pc_; coGtQ: dAL03: goto nZ0xB; d1Pc_: zQbJ0: goto Ow129; Q6WgZ: } public static function decrypt($data) { goto Y1lN8; waTFI: $cryptEngine = new Blowfish(_COOKIE_KEY_, _COOKIE_IV_); goto liCPq; Ah7QA: $cryptEngine = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_); goto jvvtf; hl12f: hyNsZ: goto tmvR_; tmvR_: $cryptEngine = new PhpEncryption(_NEW_COOKIE_KEY_); goto DidhF; siH0i: goto BVax1; goto hl12f; V_gCQ: return $cryptEngine->decrypt($data); goto XK8pZ; jvvtf: goto HIstL; goto iOKB5; Y1lN8: if (version_compare(_PS_VERSION_, "\61\56\x37\x2e\60\x2e\x30", "\76\x3d")) { goto hyNsZ; } goto ilL6G; DidhF: BVax1: goto V_gCQ; ilL6G: if (!Configuration::get("\120\123\x5f\103\x49\120\x48\x45\122\x5f\101\114\107\x4f\x52\x49\x54\x48\x4d") || !defined("\137\122\111\x4a\116\104\101\x45\x4c\137\113\x45\131\x5f")) { goto iefoR; } goto Ah7QA; iOKB5: iefoR: goto waTFI; liCPq: HIstL: goto siH0i; XK8pZ: } public static function getAllowedFileExtension($type) { goto qC9y4; J7sbt: elkUd: goto OL1zd; Oafup: iMhr3: goto J7sbt; qC9y4: switch ($type) { case "\x69\155\141\x67\x65": goto QwZZh; y1fOD: dwL0t: goto mBEOB; xq06p: if (!version_compare(_PS_VERSION_, "\x38\56\x30", "\76\x3d")) { goto dwL0t; } goto JvUe4; JvUe4: $extensions[] = "\167\145\142\x70"; goto y1fOD; QwZZh: $extensions = array("\x6a\160\x67", "\x6a\160\145\x67", "\160\x6e\x67", "\147\151\x66", "\x62\x6d\160"); goto xq06p; mBEOB: return $extensions; goto cj45W; cj45W: case "\143\163\x76": return array("\143\x73\x76"); default: return array(); } goto Oafup; OL1zd: } public static function getForbiddenFileExtension($type) { goto qpkBv; ujLl2: Z9iET: goto mjhoW; qpkBv: switch ($type) { case "\x6f\x74\150\x65\x72": return array("\x70\x68\160", "\160\150\x70\x74", "\x61\144\x65", "\141\144\160", "\x61\160\x6b", "\141\x70\160\x78", "\141\x70\160\170\142\x75\156\x64\x6c\145", "\142\x61\x74", "\x63\x61\x62", "\x63\150\155", "\143\155\x64", "\x63\157\155", "\x63\160\154", "\144\x69\141\x67\x63\141\x62", "\144\151\x61\x67\143\146\x67", "\144\x69\141\x67\160\141\143\153", "\x64\154\x6c", "\x64\155\x67", "\145\x78", "\145\170\137", "\x65\170\145", "\150\x74\x61", "\151\155\147", "\151\x6e\x73", "\151\x73\x6f", "\151\163\x70", "\x6a\x61\x72", "\x6a\156\x6c\160", "\x6a\x73", "\152\163\145", "\x6c\x69\x62", "\154\156\153", "\155\x64\145", "\x6d\x73\x63", "\x6d\x73\x69", "\x6d\x73\151\x78", "\155\163\x69\170\142\x75\156\144\154\145", "\155\x73\160", "\155\163\x74", "\x6e\x73\150", "\160\151\x66", "\160\x73\x31", "\x73\x63\x72", "\x73\143\x74", "\163\150\142", "\x73\171\163", "\166\142", "\x76\x62\x65", "\166\142\163", "\x76\150\144", "\x76\x78\x64", "\x77\x73\x63", "\x77\x73\146", "\x77\163\150", "\170\x6c\x6c"); default: return array(); } goto ujLl2; mjhoW: rG_4F: goto c8V3J; c8V3J: } }
final class StartCredentials { const NAME_SOLO = "\x53\117\114\117\40\123\124\x41\x52\x54"; const NAME_MULTI = "\x4d\x55\114\124\111\x20\x53\124\x41\x52\124"; const ID = 10; const FORCE_SETTINGS = array("\103\x41\x54\137\120\122\x4f\x44\x5f\103\117\115\102\x49\x5f\104\105\106\x41\x55\114\x54\x5f\x53\x55\x42\x43\117\x4d\102\111" => "\x73\160\145\x63\x69\146\x69\x63\x70\x72\151\143\145", "\103\101\x54\137\120\122\x4f\x44\x5f\103\117\115\102\111\x4d\125\114\124\111\120\x52\x4f\104\125\x43\x54\137\x44\105\106\x41\125\x4c\x54\137\123\125\x42\103\x4f\115\102\x49" => "\x73\x70\145\x63\151\x66\151\x63\x70\162\x69\143\x65"); const ALLOWED_MENU = array("\143\x61\x74\141\154\157\147", "\x63\141\x74\137\164\x72\x65\145", "\x63\141\x74\137\x67\x72\x69\144", "\x63\141\164\137\x73\x70\145\x63\151\146\x69\143\x70\x72\x69\143\x65", "\x63\x6f\x6e\x66\151\x67", "\143\141\x74\x5f\164\157\157\x6c\163", "\x63\x61\164\x5f\x72\145\142\165\x69\x6c\x64\160\162\x6f\144\x75\143\x74\160\162\151\143\145", "\143\141\164\x5f\x68\151\x73\x74\x6f\162\171", "\141\x6c\x6c\137\x73\x65\164\164\151\156\x67\163", "\x63\157\x72\145\x5f\163\x65\x74\164\151\x6e\147\163", "\x63\157\x72\x65\x5f\x6c\141\x6e\147\x75\x61\147\145", "\143\x6f\162\145\x5f\154\141\156\x67\x75\x61\147\145\x68\x65\154\x70", "\143\157\x72\145\137\154\x61\x6e\x67\165\x61\147\x65\x75\x70\144\x61\164\145", "\164\157\157\x6c\163\x5f\x63\154\145\141\162\x63\157\x6f\x6b\x69\145\163\137\141\x6c\154", "\x66\x69\170\x6d\171\x70\162\145\x73\164\141\163\150\x6f\x70", "\x68\x65\154\160", "\150\x65\x6c\160\x5f\150\x65\154\160", "\150\x65\154\x70\137\142\x75\x67", "\x68\x65\154\160\x5f\165\160\144\141\x74\x65\x73", "\166\145\162\x73\x69\157\x6e", "\x68\x65\x6c\x70\137\145\x6e\164\x65\x72\154\x69\143\x65\156\163\145", "\x68\145\154\160\x5f\165\160\147\162\141\x64\x65\x73\x75\x70\x70\x6f\x72\x74", "\156\145\x77\166\145\162\163\151\x6f\x6e", "\x68\x65\154\x70\x5f\x75\x70\144\x61\164\145\x73\62", "\x76\x65\x72\163\151\x6f\156\x32"); const ALLOWED_CAT_TREE_TOOLBAR = array("\x68\x69\x64\145\x5f\144\x69\163\141\x62\154\145\x5f\x63\x61\164", "\x72\x65\146\162\x65\163\x68", "\x77\151\x74\150\x53\165\x62\x43\141\164\x65\147", "\x66\162\x6f\155\111\104\x43\x61\164\145\x67\104\145\146\x61\x75\154\x74"); const ALLOWED_CAT_GRID_TOOLBAR = array("\x6c\141\156\147", "\162\145\146\162\145\163\x68"); const ALLOWED_CAT_PROPERTIES = array("\x63\157\155\142\151\x6e\x61\164\x69\157\156" => array("\x73\x70\x65\x63\151\146\151\x63\x70\162\x69\143\x65"), "\143\157\155\x62\x69\156\x61\164\x69\x6f\156\155\x75\154\164\x69\160\162\x6f\x64\x75\x63\x74" => array("\x73\160\x65\143\151\x66\x69\143\160\x72\151\143\145"), "\x73\160\x65\143\x69\x66\151\143\x70\162\x69\143\x65" => array(), "\x6d\x73\x70\x72\x6f\144\x75\143\164" => array(), "\x6d\163\x63\x6f\155\x62\x69\156\x61\164\151\157\x6e" => array(), "\163\x68\x6f\160\163\x68\141\x72\x65" => array()); const ALLOWED_PERMISSIONS = array("\107\x52\111\x5f\103\x41\x54\137\x56\111\x45\x57\x5f\x47\x52\111\104\137\x50\x52\x49\x43\105", "\107\x52\x49\x5f\x43\x41\124\137\x56\x49\105\x57\137\107\122\x49\104\x5f\104\x49\123\103\x4f\x55\x4e\124"); public function __construct() { } public function getAllowed($type, $onlyKeys = true) { goto rEuZl; uTNTu: dmjXE: goto yXZOi; xn0mX: $return = constant("\163\145\154\146\72\72\x41\x4c\114\x4f\x57\x45\x44\x5f" . $type); goto xVueb; rIpBI: if (!$onlyKeys) { goto oyVIs; } goto CfhL8; yXZOi: return $return; goto DwWpQ; xVueb: if (!($type === "\x43\x41\124\137\x50\122\x4f\120\x45\122\124\x49\105\x53")) { goto dmjXE; } goto rIpBI; CfhL8: $return = array_keys($return); goto D0N63; rEuZl: $type = strtoupper($type); goto xn0mX; D0N63: oyVIs: goto uTNTu; DwWpQ: } public function getSettings($settings) { goto tcnnM; dl8pb: return $settings; goto c1GD6; lOSds: dm1nB: goto dl8pb; tcnnM: foreach (self::FORCE_SETTINGS as $key => $value) { $settings[$key]["\166\x61\x6c\165\145"] = $value; oQgpZ: } goto lOSds; c1GD6: } }
class ScCredentials { const TYPE_MENU = "\155\145\156\x75"; const TYPE_CAT_TREE_TOOLBAR = "\143\141\164\x5f\x74\x72\145\145\137\x74\157\x6f\x6c\x62\141\x72"; const TYPE_PERMISSIONS = "\x70\x65\x72\155\x69\x73\163\151\x6f\x6e\163"; const TYPE_CAT_GRID_TOOLBAR = "\143\x61\164\x5f\147\x72\x69\x64\137\164\x6f\x6f\x6c\142\x61\x72"; const TYPE_CAT_PROPERTIES = "\x70\x72\x6f\160\x65\x72\x74\x69\x65\x73"; const SUBSCRIPTION_SOLO = 6; const SUBSCRIPTION_SOLO_PLUS = 7; const SUBSCRIPTION_MULTI = 8; const SUBSCRIPTION_MULTI_PLUS = 9; const SUBSCRIPTION_SOLO_START = 10; const SUBSCRIPTION_MULTI_START = 11; const SUBSCRIPTION_SOLO_OLD = 1; const SUBSCRIPTION_MULTI_OLD = 2; const SUBSCRIPTION_EXPERT_OLD = 3; const SUBSCRIPTION_SOLO_PLUS_OLD = 4; const SUBSCRIPTION_MULTI_PLUS_OLD = 5; private $licenseData; private $licenceCredentials; public function __construct() { $this->licenceCredentials = null; } public function getLicenceCredentials() { goto ws4C5; T6GYs: return $this->licenceCredentials; goto ISi7g; zRCec: $this->licenceCredentials = new StartCredentials(); goto RB_6O; RB_6O: OAJLG: goto T6GYs; ws4C5: if (!in_array($this->getLicenseId(), array(self::SUBSCRIPTION_SOLO_START, self::SUBSCRIPTION_MULTI_START))) { goto OAJLG; } goto zRCec; ISi7g: } function getGrantedId($type, $id) { goto poBmA; R8pI0: $_GET["\141\x63\x74"] = ''; goto v3ldJ; pHM4g: shyha: goto nObDr; v3ldJ: return md5($id) . "\x5f\146\x6f\x72\142\x69\x64\144\x65\x6e"; goto pHM4g; poBmA: $credentials = $this->getLicenceCredentials(); goto h2RAB; nObDr: return $id; goto GLG3g; h2RAB: if ($credentials) { goto Wev0X; } goto q12OH; zMrw6: $allowedContent = $credentials->getAllowed($type); goto FnJzk; FnJzk: if (!($allowedContent && !in_array($id, $allowedContent))) { goto shyha; } goto R8pI0; cwA5W: Wev0X: goto zMrw6; q12OH: return $id; goto cwA5W; GLG3g: } function isGranted($type, $id) { goto MddVV; c1dL8: WXQ5T: goto f_Qx_; f_Qx_: $allowedContent = $credentials->getAllowed($type); goto MfQGh; MddVV: $credentials = $this->getLicenceCredentials(); goto sBg3N; TrfRj: return false; goto H1ZIp; MfQGh: if (!($allowedContent && !in_array($id, $allowedContent))) { goto Jq87n; } goto TrfRj; OlKNC: return true; goto c1dL8; sBg3N: if ($credentials) { goto WXQ5T; } goto OlKNC; H1ZIp: Jq87n: goto bR08a; bR08a: return true; goto qoN0S; qoN0S: } public function getLicenseData($key = null) { goto HR_cY; Ep5kA: jI9En: goto a7QxT; a7QxT: return $this->licenseData; goto Sly3f; hIULE: return isset($this->licenseData[$key]) ? $this->licenseData[$key] : null; goto Ep5kA; HR_cY: if (!$key) { goto jI9En; } goto hIULE; Sly3f: } public function setLicenseData($licenseData) { $this->licenseData = $licenseData; } public function getLicenseName() { goto VdWf_; Co9TC: return "\115\125\114\x54\x49"; goto BfqUU; Cx6MM: iSj6V: goto gUAba; aLUAK: goto X3tXV; goto irhny; SP3LO: if (in_array($type, array(self::SUBSCRIPTION_EXPERT_OLD))) { goto iSj6V; } goto s0yG2; Suq1W: goto X3tXV; goto Cx6MM; t19Oy: return StartCredentials::NAME_SOLO; goto ENqnE; QkWU0: goto X3tXV; goto WMvU4; kCcp8: return StartCredentials::NAME_MULTI; goto bz8Xg; GKE8e: if (in_array($type, array(self::SUBSCRIPTION_MULTI_START))) { goto T8b7r; } goto WXLKv; dbocP: goto X3tXV; goto hto6n; ZSu4D: T8b7r: goto kCcp8; gUAba: return "\x45\130\120\105\x52\x54"; goto dbocP; WXLKv: goto X3tXV; goto iji_P; cEvLL: if (in_array($type, array(self::SUBSCRIPTION_SOLO, self::SUBSCRIPTION_SOLO_OLD))) { goto joBNj; } goto hKtq2; VdWf_: $type = $this->getLicenseData("\x74\171\160\x65"); goto cEvLL; uVMbK: if (in_array($type, array(self::SUBSCRIPTION_MULTI, self::SUBSCRIPTION_MULTI_OLD))) { goto X1x4r; } goto dq5EA; XWuSJ: OzKUF: goto wJ037; hto6n: COfbv: goto t19Oy; hKtq2: if (in_array($type, array(self::SUBSCRIPTION_SOLO_PLUS, self::SUBSCRIPTION_SOLO_PLUS_OLD))) { goto dM99K; } goto uVMbK; irhny: dM99K: goto ZmuS1; WMvU4: X1x4r: goto Co9TC; BfqUU: goto X3tXV; goto XWuSJ; iji_P: joBNj: goto hpaSv; ENqnE: goto X3tXV; goto ZSu4D; FDaPl: return null; goto pQ9XK; ZmuS1: return "\123\x4f\x4c\x4f\x2b"; goto QkWU0; wJ037: return "\115\x55\114\x54\x49\x2b"; goto Suq1W; s0yG2: if (in_array($type, array(self::SUBSCRIPTION_SOLO_START))) { goto COfbv; } goto GKE8e; bz8Xg: X3tXV: goto FDaPl; hpaSv: return "\123\x4f\114\x4f"; goto aLUAK; dq5EA: if (in_array($type, array(self::SUBSCRIPTION_MULTI_PLUS, self::SUBSCRIPTION_MULTI_PLUS_OLD))) { goto OzKUF; } goto SP3LO; pQ9XK: } public function getLicenseId() { return $this->getLicenseData("\x74\x79\160\145") ?: 0; } public function filterGridViews($grids, $type) { goto Ijgai; oAbrX: $filteredGrids = array(); goto PDoCm; PDoCm: foreach ($allowed_grids as $allowed_grid) { $filteredGrids[$allowed_grid] = $grids[$allowed_grid]; nNlJQ: } goto csxoa; Ijgai: $allowed_grids = $this->getLicenceCredentials()->getAllowed($type); goto eYTeZ; mWVbl: rjpBu: goto pqk1o; eYTeZ: $filteredGrids = $grids; goto hIbm7; pqk1o: return $filteredGrids; goto FLZBd; csxoa: imcqf: goto mWVbl; hIbm7: if (!$allowed_grids) { goto rjpBu; } goto oAbrX; FLZBd: } public function hasPermission($key) { goto myd5b; lnrqM: return in_array($key, $this->getLicenceCredentials()->getAllowed(self::TYPE_PERMISSIONS)); goto hHcqd; LFMjd: $permissionsPrefixToHandle = array("\115\105\116\x5f\x54\x4f\x4f\x5f\x47\x52\x49\x44\123\123\105\124\124\111\116\x47\123", "\107\x52\x49\137\x43\x41\x54\x5f\x56\111\x45\127", "\x41\x43\124\x5f\x43\x41\x54\x5f"); goto M1veV; v7vL1: return true; goto LGBN0; baWdR: return true; goto Jggar; LGBN0: fEpeR: goto LFMjd; myd5b: if ($this->getLicenceCredentials()) { goto fEpeR; } goto v7vL1; M1veV: if (array_reduce($permissionsPrefixToHandle, function ($result, $subString) use($key) { return $result || strpos($key, $subString) === 0; }, false)) { goto sLvSK; } goto baWdR; Jggar: sLvSK: goto lnrqM; hHcqd: } public function getAllowed($type) { goto GaeAd; IPyv2: return null; goto JnyCk; ZC7ao: return $this->getLicenceCredentials()->getAllowed($type); goto YhCg7; GaeAd: if ($this->getLicenceCredentials()) { goto PSVlM; } goto IPyv2; JnyCk: PSVlM: goto ZC7ao; YhCg7: } public function getAllowedSubProperty($propertyName, $subPropertyName) { goto B9bEQ; Op47g: return true; goto f8hfb; Qn4Y8: $allowedSubProperties = $this->getLicenceCredentials()->getAllowed("\103\x41\124\137\120\x52\x4f\120\x45\x52\x54\x49\105\123", false); goto b_rxA; b_rxA: return isset($allowedSubProperties[$propertyName]) && in_array($subPropertyName, $allowedSubProperties[$propertyName]); goto C4GAg; B9bEQ: if ($this->getLicenceCredentials()) { goto aS1fz; } goto Op47g; f8hfb: aS1fz: goto Qn4Y8; C4GAg: } }
goto fvjTR; FgQB9: function cleanScript($script) { goto M1jHS; gAh3V: SIWZe: goto vvpx8; M1jHS: $prevent_vars = array("\44\x5f\x46\111\114\105\123", "\44\x5f\105\116\x56"); goto v7y49; vvpx8: return str_replace($prevent_vars, '', $script); goto SLsd_; eV_qi: foreach ($prevent_functions as $func) { $script = preg_replace("\43" . $func . "\x5c\163\x2a\x5c\50\x5c\163\x2a\50\x2e\52\x3f\51\134\x73\52\x5c\x29\43", '', $script); x3Bmh: } goto gAh3V; v7y49: $prevent_functions = array("\145\x76\x61\154", "\145\x78\x65\x63", "\x70\141\163\163\164\x68\162\x75", "\x73\150\145\x6c\x6c\137\145\x78\x65\143", "\163\171\163\x74\x65\x6d", "\x70\162\x6f\x63\x5f\x6f\160\x65\156", "\160\157\160\x65\x6e", "\x63\x75\162\154\x5f\x65\x78\145\143", "\143\165\162\154\137\155\x75\154\x74\x69\137\x65\x78\145\143", "\160\x61\x72\163\145\137\151\156\151\137\x66\x69\x6c\x65", "\163\150\x6f\167\x5f\163\157\x75\x72\x63\x65", "\x63\150\x6d\x6f\x64", "\143\x68\x6f\167\156", "\143\x68\x67\162\160", "\x72\145\156\141\155\145", "\x6d\x6b\x64\151\x72", "\162\155\144\x69\162", "\165\156\154\151\x6e\x6b", "\146\x6f\160\x65\156", "\146\151\x6c\x65\x5f\x70\x75\x74\x5f\143\x6f\156\x74\x65\x6e\164\x73", "\x66\x69\x6c\145\137\x67\x65\x74\137\x63\x6f\x6e\x74\145\156\x74\x73", "\x63\141\154\x6c\x5f\165\x73\145\x72\x5f\x66\165\x6e\143", "\x63\x61\x6c\154\x5f\165\163\145\162\137\x66\165\156\x63\137\x61\x72\x72\x61\x79"); goto eV_qi; SLsd_: } goto lTF32; b6zAg: function _l($str, $needAddslashes = false, $arrayOfValues = array()) { goto kwsMm; cL1Lt: yRQw7: goto hu4fz; DB0z1: goto jVGyF; goto WRG1H; cRyId: WgiTL: goto FdPjR; NnqXm: if (empty($arrayOfValues)) { goto WgiTL; } goto eEIgt; ynW8H: $str = vsprintf($str, $arrayOfValues); goto vl17w; kwsMm: global $LANG, $LANG_EN; goto uwCtt; M1JnJ: znqtq: goto VcT1p; AOMCQ: jVGyF: goto M1JnJ; hPIMD: if (empty($arrayOfValues)) { goto hTEIs; } goto ynW8H; uwCtt: if (!empty($LANG[$str])) { goto znqtq; } goto UqaLg; hu4fz: return $needAddslashes ? addslashes($str) : $str; goto AOMCQ; iKsK5: $str = $LANG_EN[$str]; goto NnqXm; eEIgt: $str = vsprintf($str, $arrayOfValues); goto cRyId; WRG1H: Wg1xy: goto Qdoz5; FdPjR: return $needAddslashes ? addslashes($str) : $str; goto DB0z1; vl17w: hTEIs: goto VSVYU; bwi2b: $str = vsprintf($str, $arrayOfValues); goto cL1Lt; Qdoz5: if (empty($arrayOfValues)) { goto yRQw7; } goto bwi2b; UqaLg: if (empty($LANG_EN[$str])) { goto Wg1xy; } goto iKsK5; VcT1p: $str = $LANG[$str]; goto hPIMD; VSVYU: return $needAddslashes ? addslashes($str) : $str; goto WYGEo; WYGEo: } goto vqQEQ; v3gkE: function checkAndGetImgExtension($file) { goto KsinE; oCUJ4: return $return; goto hFmro; N4qW_: $extensions = array("\160\x6e\x67", "\x6a\160\x67", "\x6a\160\x65\x67", "\x67\x69\x66"); goto b0IEl; b0IEl: foreach ($extensions as $extension) { goto EMMKv; PIUdG: $return = strtoupper($extension); goto wabkN; O3z3B: if (!file_exists($file . "\x2e" . strtoupper($extension))) { goto JQMi_; } goto PIUdG; ZxpZK: g0gXq: goto O3z3B; bVasS: goto qII5c; goto ZxpZK; EdP5f: HfraE: goto MtfGt; wabkN: goto qII5c; goto blYZJ; blYZJ: JQMi_: goto EdP5f; b0UbJ: $return = $extension; goto bVasS; EMMKv: if (!file_exists($file . "\x2e" . $extension)) { goto g0gXq; } goto b0UbJ; MtfGt: } goto C1exC; KsinE: $return = false; goto N4qW_; C1exC: qII5c: goto oCUJ4; hFmro: } goto PlYvy; gC40A: echo time(); goto Ium85; STQTh: function getToolsList() { goto qHJVN; MgKOH: foreach ($files as $file) { goto e19NT; RuZc4: YVOjQ: goto CWKKG; tO8W9: tmvWG: goto CZ639; CWKKG: kUpOd: goto tO8W9; HjIPa: $tools[] = $file; goto RuZc4; e19NT: if (!($file != "\56" && $file != "\56\56")) { goto kUpOd; } goto LY0c2; LY0c2: if (!is_dir(SC_TOOLS_DIR . $file)) { goto YVOjQ; } goto HjIPa; CZ639: } goto MvfKa; MvfKa: LkscR: goto KQdSS; qHJVN: $tools = array(); goto AQZ02; KQdSS: ciMDX: goto cofYE; P24pU: @($files = scandir(SC_TOOLS_DIR)); goto MgKOH; AQZ02: if (!is_dir(SC_TOOLS_DIR)) { goto ciMDX; } goto P24pU; cofYE: return $tools; goto Kkbrr; Kkbrr: } goto U6Cvw; dDNRK: function scanDirectory($Directory) { goto dsypb; N8kGB: if (is_dir($Directory . "\57" . $Entry) && $Entry != "\x2e" && $Entry != "\x2e\56") { goto XKJ4t; } goto Gn7bM; Gn7bM: if ($Entry != "\56" && $Entry != "\x2e\x2e") { goto y8ZkZ; } goto kNFm2; JFL2l: $return[] = array("\x6e\141\155\145" => $Entry, "\x63\x68\x69\154\144\162\145\x6e" => scanDirectory($Directory . "\57" . $Entry)); goto UjrgG; W1BN7: y8ZkZ: goto Zix81; vcPBO: lgqx7: goto AYE9r; UjrgG: goto xX2a6; goto W1BN7; dsypb: $return = array(); goto Cb8Q4; Zix81: $return[] = array("\x6e\x61\x6d\145" => $Entry, "\x63\x68\151\x6c\x64\x72\145\x6e" => array()); goto eKqv9; srnLf: yoadv: goto pkebc; eKqv9: xX2a6: goto Cbx2C; pkebc: closedir($MyDirectory); goto MOCVw; MOCVw: return $return; goto Nor7D; Cbx2C: goto lgqx7; goto srnLf; Cb8Q4: $MyDirectory = opendir($Directory) or die("\105\x72\162\x65\165\x72"); goto vcPBO; AYE9r: if (!($Entry = @readdir($MyDirectory))) { goto yoadv; } goto N8kGB; swKxF: XKJ4t: goto JFL2l; kNFm2: goto xX2a6; goto swKxF; Nor7D: } goto ojcY_; kSezy: T_vcl: goto ypyrr; Wnq1F: function sc_file_get_contents($url, $method = "\107\105\124", $stream_content = array(), $stream_header = array(), $timeout = 30, $json_encode = false) { goto bEvAU; PG5U9: curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $opts["\x68\164\x74\160"]["\x6d\145\164\150\x6f\x64"]); goto QcCk6; aYinF: $opts = array("\x68\164\164\160" => array("\155\x65\164\150\x6f\x64" => strtoupper($method), "\x74\x69\x6d\x65\x6f\x75\x74" => $timeout, "\x73\163\154" => array("\x76\145\x72\x69\x66\171\137\160\x65\145\x72" => 0))); goto eU1wR; PGV2M: curl_setopt($curl, CURLOPT_HTTPHEADER, $opts["\x68\164\x74\x70"]["\x68\145\x61\144\x65\162"]); goto foOJt; YblN7: $header[] = "\x41\143\143\x65\x70\164\x2d\x43\x68\141\162\x73\145\164\x3a\x20\x49\x53\117\x2d\x38\70\x35\71\55\x31\x2c\165\x74\146\x2d\x38\x3b\x71\x3d\60\x2e\67\54\x2a\73\161\75\60\56\67"; goto QhkNS; oQWyy: $errorMessage = ''; goto Jlyux; mlsWU: curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data); goto Tx_Ke; cEM0V: $opts["\x68\x74\x74\x70"]["\150\x65\x61\x64\x65\162"] = $header; goto TGx8R; YDRzm: MSRo3: goto K48bS; PNh8F: $header[] = "\x50\x72\141\x67\155\141\72\40"; goto ekIeZ; vRX5l: if (!in_array(strtolower($ini_fopen), array("\x6f\x6e", "\164\162\165\145", "\61"))) { goto sASPQ; } goto hiSt7; sZ5pj: foreach ($stream_header as $addHeader) { $header[] = $addHeader; bY_8Y: } goto WFqAp; wEYsx: curl_setopt($curl, CURLOPT_USERAGENT, "\x53\x74\157\x72\145\x20\x43\157\x6d\155\x61\156\x64\x65\x72\x20\x28\150\x74\164\160\163\72\57\x2f\x77\x77\x77\x2e\x73\x74\x6f\x72\145\x63\157\155\x6d\x61\x6e\x64\x65\x72\56\143\x6f\155\x29"); goto zSPAZ; sPro1: if (empty($stream_content)) { goto DrPpp; } goto BIOqH; eU1wR: $header = array(); goto cOYk4; QhaVb: curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); goto d72sZ; YzCHz: zzlnx: goto pWlue; d25Yy: oj6iD: goto HDLh5; bPamP: $header[] = "\103\141\x63\150\145\55\x43\157\x6e\x74\162\x6f\154\x3a\40\155\141\170\x2d\x61\x67\x65\75\x30"; goto jdwsi; HB6r4: $content = ''; goto d25Yy; b8mJn: if (!($content === false)) { goto zCJBp; } goto i6lph; oCvFS: $header[0] .= "\x74\x65\170\164\57\150\x74\x6d\x6c\73\x71\75\60\x2e\71\x2c\x74\145\x78\x74\57\x70\154\141\151\156\73\x71\x3d\x30\56\70\x2c\x69\x6d\141\147\x65\x2f\x70\x6e\147\x2c\52\x2f\x2a\73\161\x3d\60\56\65"; goto bPamP; TLktJ: foreach ($post_data as $key => $value) { goto ANzxr; EmU0M: $post_data[$key] = (int) $value; goto HUjzx; HUjzx: G0UXE: goto GlC6F; GlC6F: kjKSW: goto M4ttF; ANzxr: if (!(is_numeric($value) && strpos($value, "\x2e") === false)) { goto G0UXE; } goto EmU0M; M4ttF: } goto YzCHz; d72sZ: if (!($opts["\x68\164\x74\160"]["\155\145\164\150\157\x64"] == "\120\x4f\x53\x54" || $opts["\x68\164\164\x70"]["\155\145\x74\x68\157\144"] == "\x50\x55\x54" || $opts["\x68\x74\x74\160"]["\155\x65\x74\x68\x6f\x64"] == "\104\105\x4c\105\x54\105")) { goto Eo0AW; } goto PG5U9; QhkNS: $header[] = "\101\143\143\x65\160\x74\x2d\x4c\x61\156\x67\165\141\147\x65\x3a\40\145\x6e\x2d\x75\163\54\x65\156\x3b\161\75\60\x2e\65"; goto NNkPK; TISkM: curl_setopt($curl, CURLOPT_ENCODING, "\147\x7a\x69\160\54\144\x65\x66\x6c\141\x74\145"); goto c1lD0; V6ndB: i5a5c: goto A1XiC; b13Fb: $content = @file_get_contents($url); goto YDRzm; S_bX5: curl_close($curl); goto nf5En; Jkqt_: curl_setopt($curl, CURLOPT_MAXREDIRS, 5); goto qzip6; NNkPK: if (empty($stream_header)) { goto HnlHU; } goto sZ5pj; zSPAZ: if (empty($opts["\x68\164\164\x70"]["\150\x65\x61\144\145\x72"])) { goto lnJQW; } goto PGV2M; nf5En: lxMQo: goto MAZO7; bEvAU: $is_local_file = !preg_match("\x2f\x5e\x68\x74\x74\160\x73\x3f\x3a\x5c\57\134\x2f\x2f", $url); goto JixlX; HDLh5: goto MSRo3; goto Iv_6j; MAZO7: if (!($content === false)) { goto qI_XQ; } goto qXn8l; K5rEU: zCJBp: goto S_bX5; tOdgh: $info = curl_getinfo($curl); goto b8mJn; Tx_Ke: R4FJL: goto qEMp8; qEMp8: Eo0AW: goto Ggt1X; vZY6N: if (!($content === false)) { goto oj6iD; } goto Fzpq4; u5F_H: qI_XQ: goto vZY6N; FzE5f: goto L6C63; goto V6ndB; i6lph: $errorMessage = sprintf("\146\x69\x6c\145\x5f\x67\x65\x74\x5f\143\x6f\156\x74\x65\x6e\x74\x73\x5f\x63\165\x72\154\40\146\141\x69\154\x65\144\x20\164\x6f\40\144\157\167\x6e\x6c\x6f\141\144\x20\45\x73\40\72\40\x28\145\162\x72\157\162\x20\x63\x6f\x64\x65\x20\x25\144\x29\x20\45\163", $url, curl_errno($curl), curl_error($curl)); goto K5rEU; WFqAp: VttWh: goto pmAhE; c1lD0: curl_setopt($curl, CURLOPT_AUTOREFERER, true); goto QhaVb; RbHiI: $opts["\x68\164\164\160"]["\x63\157\x6e\164\145\x6e\x74"] = $stream_content; goto FzE5f; uPrpv: if (!$json_encode) { goto ocgwn; } goto TLktJ; BIOqH: $stream_content = http_build_query($stream_content); goto IIEfr; Iv_6j: kEb03: goto b13Fb; QcCk6: if (!isset($opts["\150\x74\164\x70"]["\143\157\156\164\145\x6e\164"])) { goto R4FJL; } goto K82K3; uZUsc: curl_setopt($curl, CURLOPT_TIMEOUT, (int) $opts["\x68\x74\x74\160"]["\x74\151\x6d\x65\157\x75\x74"]); goto dOw2w; K82K3: parse_str($opts["\x68\164\164\x70"]["\143\157\156\164\x65\x6e\164"], $post_data); goto uPrpv; JixlX: $content = false; goto oQWyy; qzip6: $content = curl_exec($curl); goto tOdgh; PVS4L: ocgwn: goto mlsWU; Jlyux: if ($is_local_file) { goto kEb03; } goto aYinF; ekIeZ: if (empty($header)) { goto v4N3J; } goto cEM0V; jdwsi: $header[] = "\103\157\156\x6e\145\143\164\x69\x6f\x6e\x3a\40\x6b\145\x65\160\x2d\x61\154\x69\166\145"; goto p33iK; hiSt7: $stream_context = @stream_context_create($opts); goto bcZ__; pWlue: $post_data = json_encode($post_data); goto PVS4L; A1XiC: $url .= "\77" . $stream_content; goto twihZ; K48bS: return $content; goto oEWGo; TCIOX: curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, (int) $opts["\150\x74\164\x70"]["\x74\151\x6d\x65\157\x75\x74"]); goto uZUsc; Ggt1X: curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, $opts["\x68\164\x74\x70"]["\163\x73\x6c"]["\x76\x65\162\151\x66\x79\x5f\x70\x65\145\x72"]); goto L5Ct8; pmAhE: HnlHU: goto PNh8F; foOJt: lnJQW: goto TISkM; Fzpq4: SCI::addLog("\x53\164\x6f\162\145\103\157\x6d\x6d\141\156\144\x65\x72\x20\x73\x63\x5f\146\151\x6c\145\137\147\x65\x74\137\x63\x6f\156\164\x65\x6e\x74\x73\40\x3a\x20" . $errorMessage, 1, null, null, null, true); goto HB6r4; p33iK: $header[] = "\113\x65\x65\160\55\x41\154\x69\166\145\72\x20\x33\x30\60"; goto YblN7; TGx8R: v4N3J: goto sPro1; L5Ct8: curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); goto TCIOX; bcZ__: try { $content = @file_get_contents($url, false, $stream_context); } catch (Exception $e) { $errorMessage = sprintf("\x73\151\x6d\x70\154\x65\x20\146\151\154\x65\137\147\x65\164\x5f\143\157\156\x74\x65\156\x74\163\x20\x66\x61\x69\x6c\145\144\40\x74\157\x20\144\x6f\167\x6e\x6c\x6f\x61\144\x20\45\163\40\72\40\45\163", $url, $e->getMessage()); } goto Nkh76; E_MTf: curl_setopt($curl, CURLOPT_URL, $url); goto wEYsx; dOw2w: curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); goto Jkqt_; Nkh76: sASPQ: goto u5F_H; eLjM8: if (!function_exists("\143\165\x72\154\137\151\156\x69\164")) { goto lxMQo; } goto m33VU; twihZ: L6C63: goto ZyaAA; ZyaAA: DrPpp: goto eLjM8; cOYk4: $header[0] = "\x41\143\143\145\160\x74\72\40\164\x65\170\164\57\170\155\x6c\x2c\x61\160\x70\154\x69\x63\141\x74\151\157\x6e\57\170\155\154\x2c\x61\160\x70\x6c\151\x63\x61\x74\151\x6f\x6e\57\x78\x68\x74\155\154\53\170\x6d\x6c\x2c\141\x70\x70\x6c\151\x63\x61\x74\x69\157\x6e\57\x6a\x73\x6f\x6e"; goto oCvFS; m33VU: $curl = curl_init(); goto E_MTf; IIEfr: if ($opts["\150\x74\x74\x70"]["\x6d\x65\164\150\157\x64"] == "\107\x45\124") { goto i5a5c; } goto RbHiI; qXn8l: $ini_fopen = ini_get("\x61\154\x6c\157\167\x5f\x75\162\x6c\137\146\x6f\160\145\x6e"); goto vRX5l; oEWGo: } goto eQo3W; HG3fx: if (!isset($_GET["\x74\151\x6d\145"])) { goto FrLXY; } goto gC40A; SUm7V: function arrayDiffEmulation($arrayFrom, $arrayAgainst) { goto mSxBW; F3lDi: return $arrayFrom; goto ZWSJE; Gq5T4: foreach ($arrayFrom as $key => $value) { goto dzU3q; gWVOR: M0zXx: goto kEzN2; aznEQ: R2CbI: goto gWVOR; dzU3q: if (!isset($arrayAgainst[$value])) { goto R2CbI; } goto klLtz; klLtz: unset($arrayFrom[$key]); goto aznEQ; kEzN2: } goto wMqrr; mSxBW: $arrayAgainst = array_flip($arrayAgainst); goto Gq5T4; wMqrr: Qurxl: goto F3lDi; ZWSJE: } goto ckvYL; k_gUf: function sc_phpversion($onlyFourNumber = true) { goto GYAAz; sFRaL: return str_replace("\x7e", '', $phpVersion); goto esqVi; N8EdE: return $matches[0]; goto iYx2n; iYx2n: Zqw5i: goto sFRaL; kW_Ym: if (!($onlyFourNumber && preg_match("\x23\50\x5c\144\173\61\54\x33\175\x5c\56\134\144\x7b\61\x2c\x33\175\134\56\x5c\x64\x7b\61\54\63\x7d\x29\x23", $phpVersion, $matches))) { goto Zqw5i; } goto N8EdE; GYAAz: $phpVersion = phpversion(); goto kW_Ym; esqVi: } goto v3gkE; u3r24: function dirMove($source, $dest, $overwrite = false, $funcloc = null) { goto Jt73j; uu6Tw: if (@rename($path, $path2)) { goto vNWGL; } goto aw7Lt; Jf0e0: Hkf6J: goto CMYLU; QnpRQ: if ($overwrite) { goto c1Kkr; } goto saUxC; jZGnE: if (@rename($path, $path2)) { goto k9cmE; } goto hENga; Jt73j: if (!is_null($funcloc)) { goto a1iyW; } goto Bc3Vr; saUxC: goto jEyR7; goto lqFQu; lNPgD: goto Z5yzx; goto Jf0e0; ZzjuA: goto GeOoE; goto wLyDl; aw7Lt: echo "\74\146\x6f\156\164\x20\x63\x6f\x6c\157\162\x3d\42\x72\145\x64\x22\x3e\x46\151\x6c\x65\x20\x28" . $path . "\51\40\x63\x6f\x75\x6c\x64\40\156\157\x74\40\x62\x65\40\x6d\x6f\x76\x65\144\x20\x77\150\151\x6c\145\40\x6f\166\x65\162\x77\162\151\164\164\151\x6e\x67\x2c\40\x6c\x69\x6b\x65\154\171\x20\141\40\x70\x65\x72\155\x69\x73\163\x69\x6f\x6e\x73\40\x70\162\x6f\142\x6c\145\155\56\74\x2f\146\x6f\156\x74\76\x3c\x62\162\x2f\x3e"; goto SP2Ob; jFH23: if (is_dir($dest . $funcloc)) { goto CML75; } goto hROQ6; Fs_pe: if (!@unlink($path2)) { goto Hkf6J; } goto uu6Tw; UHm1B: if (!($file != "\x2e" && $file != "\x2e\x2e")) { goto I6ASp; } goto BoxEg; QIcm3: k9cmE: goto ulSgJ; E3JiQ: Tu_FY: goto YMSq9; cByrY: YAA1V: goto rnIxW; u7x_R: MhW_Y: goto hmKJO; e9ADc: goto MhW_Y; goto eVw_9; VXtMi: jEyR7: goto F3JeE; Bc3Vr: $dest .= "\x2f" . strrev(substr(strrev($source), 0, strpos(strrev($source), "\57"))); goto Rh1aW; lqFQu: Pfn29: goto jZGnE; BoxEg: $path = $source . $funcloc . $file; goto eVbm3; G4dWS: if (is_file($path)) { goto vcPAK; } goto lNsGK; SP2Ob: vNWGL: goto lNPgD; V8ktd: CML75: goto WGW28; hENga: echo "\x3c\146\157\156\x74\40\143\x6f\154\x6f\x72\75\x22\x72\x65\144\42\76\106\151\x6c\x65\x20\x28" . $path . "\51\x20\x63\x6f\x75\154\x64\40\156\x6f\x74\x20\142\145\40\155\x6f\x76\x65\x64\x2c\40\154\x69\153\145\x6c\x79\x20\x61\40\x70\x65\162\155\151\163\163\x69\x6f\x6e\163\x20\160\162\x6f\x62\154\145\155\56\x3c\x2f\146\x6f\156\164\x3e\x3c\142\162\x2f\x3e"; goto QIcm3; eVw_9: dY45I: goto BLS87; CMYLU: echo "\x55\156\x61\x62\x6c\x65\x20\164\157\40\157\x76\x65\x72\x77\x72\x69\x74\145\x20\x66\x69\x6c\145\40\x28\42" . $path2 . "\42\51\x2c\x20\154\x69\153\145\154\x79\x20\164\x6f\x20\x62\x65\40\x61\40\x70\x65\x72\155\x69\163\x73\151\157\x6e\163\x20\160\x72\x6f\x62\154\145\x6d\x2e\74\x62\x72\57\76"; goto KrBpJ; AQe8u: c1Kkr: goto Fs_pe; wLyDl: vcPAK: goto zFBds; hROQ6: mkdir($dest . $funcloc); goto V8ktd; Rh1aW: $funcloc = "\x2f"; goto RF68e; zFBds: if (!is_file($path2)) { goto Pfn29; } goto QnpRQ; eVbm3: $path2 = $dest . $funcloc . $file; goto G4dWS; YMSq9: dirMove($source, $dest, $overwrite, $funcloc . $file . "\57"); goto Ort85; hmKJO: if (!(false !== ($file = readdir($handle)))) { goto dY45I; } goto UHm1B; RF68e: a1iyW: goto jFH23; ulSgJ: goto jEyR7; goto AQe8u; KrBpJ: Z5yzx: goto VXtMi; lNsGK: if (is_dir($path)) { goto Tu_FY; } goto ZzjuA; F3JeE: goto GeOoE; goto E3JiQ; Ort85: @rmdir($path); goto YJ6Uc; WGW28: if (!($handle = opendir($source . $funcloc))) { goto YAA1V; } goto u7x_R; YJ6Uc: GeOoE: goto nPeb6; nPeb6: I6ASp: goto e9ADc; BLS87: closedir($handle); goto cByrY; rnIxW: } goto DFvYQ; ABiL1: function utf8_encode2($str) { goto fwdp6; XWVbF: $final_str = str_replace(chr(hexdec("\x38\67")), "\x26\43\61\63\x35\x3b", $final_str); goto BCvzR; RGBtS: $final_str = str_replace(utf8_encode("\x26\x23\61\64\62\x3b"), "\305\275", $final_str); goto uSzaX; g09hS: $final_str = str_replace(chr(hexdec("\x38\60")), "\46\43\70\x33\66\x34\x3b", $final_str); goto x4yN0; vBTDc: $final_str = str_replace(utf8_encode("\x26\x23\61\63\60\73"), "\xe2\x80\232", $final_str); goto nUQPe; fkQmN: $final_str = str_replace(chr(hexdec("\x39\x41")), "\x26\x23\x31\65\64\x3b", $final_str); goto jmRtm; BCvzR: $final_str = str_replace(chr(hexdec("\70\x38")), "\46\x23\x31\63\66\x3b", $final_str); goto HhWm8; asXBT: $final_str = str_replace(utf8_encode("\x26\43\x31\x34\67\73"), "\xe2\x80\x9c", $final_str); goto lJOXI; Bq_Yj: return $final_str; goto ea_41; b9ZsQ: $final_str = str_replace(utf8_encode("\x26\x23\x31\x33\66\73"), "\xcb\x86", $final_str); goto Woo9d; qQLgG: $final_str = str_replace(utf8_encode("\x26\x23\61\x35\x31\x3b"), "\xe2\x80\x94", $final_str); goto lkine; YG3Oa: $final_str = str_replace(chr(hexdec("\71\x43")), "\46\43\x33\x33\71\x3b", $final_str); goto ldv3E; HhWm8: $final_str = str_replace(chr(hexdec("\x38\x39")), "\x26\43\61\x33\67\x3b", $final_str); goto UDQ__; X_dih: $final_str = str_replace(utf8_encode("\46\43\x33\x33\x39\73"), "\305\x93", $final_str); goto vBTDc; YLPSt: $final_str = str_replace(utf8_encode("\x26\43\61\x33\62\73"), "\342\x80\x9e", $final_str); goto VDunB; c0ZZP: $final_str = str_replace(chr(hexdec("\71\62")), "\x26\x23\x31\x34\x36\73", $final_str); goto MXtdi; r2cBn: $final_str = str_replace(chr(hexdec("\71\67")), "\46\x23\61\65\61\73", $final_str); goto Qyus2; fwdp6: $final_str = $str; goto g09hS; lJOXI: $final_str = str_replace(utf8_encode("\x26\x23\x31\64\x38\73"), "\342\200\235", $final_str); goto M0UWp; ONakO: $final_str = str_replace(chr(hexdec("\x39\65")), "\46\43\61\64\x39\x3b", $final_str); goto jsHE3; jF394: $final_str = str_replace(chr(hexdec("\70\64")), "\x26\43\61\63\x32\73", $final_str); goto pD06h; GrBNs: $final_str = str_replace(utf8_encode("\x26\x23\x31\64\66\73"), "\xe2\x80\x99", $final_str); goto asXBT; aRbAm: $final_str = str_replace(utf8_encode("\x26\x23\x31\65\70\x3b"), "\xc5\xbe", $final_str); goto GvvTU; ICGjs: $final_str = str_replace(chr(hexdec("\x38\63")), "\46\x23\61\x33\x31\x3b", $final_str); goto jF394; YhFXi: $final_str = str_replace(chr(hexdec("\x38\103")), "\46\43\61\64\60\73", $final_str); goto rmfhF; uSzaX: $final_str = str_replace(utf8_encode("\x26\43\x31\x34\x35\x3b"), "\xe2\200\x98", $final_str); goto GrBNs; Qyus2: $final_str = str_replace(chr(hexdec("\71\70")), "\x26\x23\x31\x35\x32\73", $final_str); goto ONNWV; Ie36l: $final_str = str_replace(utf8_encode("\46\43\x31\63\64\x3b"), "\342\x80\xa0", $final_str); goto tBJgV; w_T5c: $final_str = utf8_encode($final_str); goto Hey_X; Yxwuv: $final_str = str_replace(chr(hexdec("\71\x46")), "\x26\43\x31\65\71\73", $final_str); goto w_T5c; nUQPe: $final_str = str_replace(utf8_encode("\x26\43\x31\63\x31\73"), "\306\222", $final_str); goto YLPSt; nvVjx: $final_str = str_replace(utf8_encode("\x26\43\x31\65\x30\73"), "\xe2\200\223", $final_str); goto qQLgG; UDQ__: $final_str = str_replace(chr(hexdec("\70\x41")), "\46\x23\x31\63\x38\x3b", $final_str); goto CQb5o; JigfV: $final_str = str_replace(utf8_encode("\46\43\x31\63\71\73"), "\xe2\200\xb9", $final_str); goto tTWXX; GvvTU: $final_str = str_replace(utf8_encode("\46\43\x31\65\x39\x3b"), "\305\270", $final_str); goto Bq_Yj; CQb5o: $final_str = str_replace(chr(hexdec("\70\x42")), "\x26\43\61\x33\71\x3b", $final_str); goto YhFXi; tBJgV: $final_str = str_replace(utf8_encode("\46\43\x31\x33\65\73"), "\xe2\200\241", $final_str); goto b9ZsQ; zl6L0: $final_str = str_replace(utf8_encode("\x26\43\x31\x35\x34\73"), "\305\241", $final_str); goto Bkpzu; ONNWV: $final_str = str_replace(chr(hexdec("\71\x39")), "\46\x23\x31\65\x33\x3b", $final_str); goto fkQmN; ldv3E: $final_str = str_replace(chr(hexdec("\x39\x45")), "\46\x23\x31\65\70\73", $final_str); goto Yxwuv; tTWXX: $final_str = str_replace(utf8_encode("\46\x23\61\x34\60\x3b"), "\305\x92", $final_str); goto RGBtS; Woo9d: $final_str = str_replace(utf8_encode("\x26\x23\61\63\67\x3b"), "\xe2\x80\xb0", $final_str); goto T3fmL; jmRtm: $final_str = str_replace(chr(hexdec("\71\102")), "\x26\43\x31\x35\x35\x3b", $final_str); goto YG3Oa; VDunB: $final_str = str_replace(utf8_encode("\x26\x23\61\63\x33\73"), "\342\x80\246", $final_str); goto Ie36l; Nlx9W: $final_str = str_replace(utf8_encode("\x26\43\x31\65\x33\x3b"), "\xe2\204\xa2", $final_str); goto zl6L0; Bkpzu: $final_str = str_replace(utf8_encode("\x26\43\x31\x35\x35\73"), "\342\x80\272", $final_str); goto aRbAm; M0UWp: $final_str = str_replace(utf8_encode("\46\43\x31\64\71\x3b"), "\xe2\x80\242", $final_str); goto nvVjx; x4yN0: $final_str = str_replace(chr(hexdec("\x38\62")), "\46\x23\x31\x33\60\73", $final_str); goto ICGjs; T3fmL: $final_str = str_replace(utf8_encode("\x26\43\61\63\x38\73"), "\xc5\240", $final_str); goto JigfV; jsHE3: $final_str = str_replace(chr(hexdec("\x39\x36")), "\46\x23\61\x35\60\x3b", $final_str); goto r2cBn; pamam: $final_str = str_replace(chr(hexdec("\x39\x34")), "\x26\x23\61\x34\x38\x3b", $final_str); goto ONakO; pD06h: $final_str = str_replace(chr(hexdec("\x38\65")), "\46\43\x31\63\x33\73", $final_str); goto UbVs3; rmfhF: $final_str = str_replace(chr(hexdec("\x38\105")), "\x26\43\61\x34\62\x3b", $final_str); goto HorET; UbVs3: $final_str = str_replace(chr(hexdec("\70\x36")), "\x26\x23\61\63\x34\x3b", $final_str); goto XWVbF; MXtdi: $final_str = str_replace(chr(hexdec("\71\x33")), "\x26\x23\61\64\67\x3b", $final_str); goto pamam; HorET: $final_str = str_replace(chr(hexdec("\71\61")), "\x26\43\x31\64\65\73", $final_str); goto c0ZZP; Hey_X: $final_str = str_replace(utf8_encode("\46\x23\x38\x33\x36\x34\x3b"), "\xe2\x82\254", $final_str); goto X_dih; lkine: $final_str = str_replace(utf8_encode("\x26\x23\61\x35\62\x3b"), "\313\234", $final_str); goto Nlx9W; ea_41: } goto u_8gG; ygxDA: function importConv2Int($field) { goto jlFVn; WDkJk: return (int) $field; goto H0Ge9; jlFVn: $field = str_replace(array("\xe2\202\254", "\x20", "\x25"), '', $field); goto oylmI; oylmI: $field = str_replace("\54", "\x2e", $field); goto WDkJk; H0Ge9: } goto tBKMG; U6Cvw: function link_rewrite($str, $isoLang = null) { goto dJthn; XgfY5: ggvY5: goto L38_p; fZYwK: wxnlm: goto iR8Sx; onOjB: rLWNc: goto BjItB; VbTV8: goto wxnlm; goto i04p7; iR8Sx: $str = preg_replace("\57\x5b\x5c\163\x27\x5c\x3a\x5c\57\x5c\133\134\135\x2d\135\x2b\57", "\40", $str); goto uarm2; N8Y1s: $str = Tools::replaceAccentedChars($str); goto UxTyN; jltlb: $str = strtolower($str); goto onOjB; vbVef: $str = preg_replace("\57\133\x5e\x61\x2d\172\101\x2d\132\60\55\x39\134\x73\47\x5c\x3a\134\x2f\x5c\133\x5c\135\134\x2d\135\x2f", '', $str); goto VbTV8; UxTyN: pLZkk: goto b1u9n; W3uaL: if (!($isoLang && !$acceptedAccentedChars)) { goto jkPPl; } goto eMc79; b1u9n: if ($acceptedAccentedChars) { goto zbmU2; } goto vbVef; L38_p: C1sCK: goto AQ2vm; jaXu7: $str = mb_strtolower($str, "\165\164\146\55\70"); goto P12GL; eMc79: switch ($isoLang) { case "\x64\x65": goto kiEPh; Fwp1L: $replacements = array("\165\x65", "\x61\x65", "\x6f\145", "\125\105", "\101\x45", "\x4f\x45"); goto bRI89; kiEPh: $patterns = array("\57\133\x5c\x78\173\x30\x30\x46\103\175\x5d\57\x75", "\57\x5b\134\x78\173\x30\x30\x45\x34\175\x5d\57\x75", "\57\133\x5c\x78\173\x30\x30\x46\66\175\x5d\x2f\x75", "\57\x5b\134\x78\x7b\60\x30\104\103\175\135\57\165", "\57\133\x5c\170\x7b\60\60\103\x34\x7d\x5d\x2f\x75", "\x2f\133\134\x78\x7b\x30\60\104\66\175\135\57\x75"); goto Fwp1L; bRI89: $str = preg_replace($patterns, $replacements, $str); goto uJp9U; uJp9U: goto C1sCK; goto tSZdR; tSZdR: default: goto izlTa; j0rUG: $str = preg_replace($patterns, $replacements, $str); goto xFgUv; kagLp: $replacements = array("\x75", "\x61", "\x61\145", "\157", "\x6f\x65", "\x55", "\x41", "\x41\x45", "\117", "\x4f\x45"); goto j0rUG; izlTa: $patterns = array("\57\133\134\x78\x7b\x30\x30\x46\103\x7d\135\x2f\x75", "\x2f\x5b\134\x78\x7b\60\x30\105\x34\175\135\x2f\x75", "\57\x5b\x5c\x78\x7b\x30\x30\105\x36\175\135\x2f\165", "\x2f\x5b\134\170\173\x30\x30\106\x36\175\x5d\57\x75", "\x2f\133\134\170\x7b\x30\61\x35\x33\x7d\135\x2f\x75", "\x2f\x5b\x5c\x78\173\x30\60\x44\103\175\x5d\57\165", "\57\x5b\x5c\170\173\x30\60\103\64\x7d\135\57\165", "\x2f\133\x5c\x78\x7b\x30\x30\x43\x36\175\135\57\x75", "\x2f\x5b\134\x78\x7b\x30\x30\104\x36\x7d\135\x2f\x75", "\x2f\133\134\170\173\60\61\65\x32\175\x5d\x2f\165"); goto kagLp; xFgUv: } goto XgfY5; qvbcO: if (!((!function_exists("\155\x62\137\x73\x74\162\164\157\154\157\x77\x65\x72") || !$acceptedAccentedChars) && method_exists("\124\157\x6f\154\163", "\162\145\x70\x6c\141\x63\145\101\x63\x63\x65\x6e\x74\145\144\103\150\x61\162\163"))) { goto pLZkk; } goto N8Y1s; IBspm: if (function_exists("\x6d\x62\x5f\163\164\162\x74\x6f\154\x6f\x77\145\x72")) { goto rLWNc; } goto jltlb; eEZsO: $str = preg_replace("\57\x5b\x5e\141\55\172\x41\x2d\132\x30\x2d\71\134\163\x27\134\72\x5c\57\134\133\x5c\135\134\x2d\134\160\x4c\135\57\165", '', $str); goto fZYwK; nCwAn: $str = trim($str); goto qvbcO; BjItB: return $str; goto Ev0gA; arhYT: $acceptedAccentedChars = Configuration::get("\120\123\137\x41\x4c\114\117\127\137\x41\x43\103\105\116\124\x45\104\137\x43\110\101\x52\123\137\125\122\x4c"); goto W3uaL; i04p7: zbmU2: goto eEZsO; dJthn: if (!function_exists("\x6d\142\x5f\x73\x74\x72\x74\x6f\x6c\x6f\x77\145\162")) { goto JCa_T; } goto jaXu7; uarm2: $str = str_replace(array("\40", "\x2f"), "\55", $str); goto IBspm; AQ2vm: jkPPl: goto nCwAn; P12GL: JCa_T: goto arhYT; Ev0gA: } goto u3r24; t2gLE: function runProcessOneTimeByDay() { goto PV4PQ; EERTi: $name_node = $dom->createElement("\156\141\155\x65", "\123\164\157\162\x65\40\103\157\155\155\141\x6e\x64\145\x72"); goto So5sU; S7ybd: PvCK0: goto D7Lbs; BUIis: $ps_unique_id = $dom->createElement("\160\163\137\165\x6e\x69\161\x75\x65\137\151\144", $unique_key_exists); goto Toi7A; gfXvy: $ork_folder = "\x6f\x72\x6b"; goto u3aEp; OcFtv: $sc_node->appendChild($version_node); goto iZPZ6; jO3T4: $root->appendChild($sc_node); goto sp75U; yKil_: $current_domain = ToolsCore::getShopDomainSsl(); goto O10s2; UoT7s: $id_node = $dom->createElement("\151\144", $id_partner_in_node); goto VW8dN; pwKoa: $res_api = makeCallToOurApi("\147\145\164\x50\141\x72\164\x6e\x65\162\x49\144", array(), array("\x4c\111\x43\x45\x4e\123\x45" => "\x23")); goto o1pH_; vqPue: $sc_node = $dom->createElement("\x73\x74\x6f\x72\145\x63\157\x6d\155\141\x6e\144\x65\162"); goto EERTi; D7Lbs: $sql = "\123\105\x4c\x45\x43\x54\x20\x47\x52\117\125\120\137\x43\x4f\116\103\101\124\x28\104\x49\123\x54\x49\116\x43\124\x20\x43\117\116\x43\x41\x54\x28\42" . pSQL($protocol) . "\x22\54\x64\157\x6d\141\x69\156\x29\x20\x53\x45\120\x41\x52\x41\124\117\122\x20\x22\54\42\x29\x20\141\x73\40\144\157\155\x61\x69\x6e\xa\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\x46\122\x4f\115\40" . _DB_PREFIX_ . "\x73\x68\x6f\x70\137\165\x72\x6c\xa\x20\x20\40\x20\40\x20\40\40\x20\40\40\40\x20\x20\40\x20\x57\110\105\x52\x45\x20\x61\x63\164\x69\x76\x65\40\75\40\61"; goto MV6jZ; h_0HG: $id_partner_in_node = ''; goto pwKoa; TaWA3: $root = $dom->createElement("\155\157\144\x75\x6c\145\163"); goto vqPue; emqT6: XWv1F: goto r0oTm; nZuCF: $protocol = getShopProtocol(); goto Jz3zo; DXgxe: XQT4I: goto UoT7s; So5sU: $sc_node->appendChild($name_node); goto ADSzg; YUz2X: Configuration::updateValue("\123\103\x5f\x43\x4f\x52\123\137\104\117\115\x41\111\116\x53", json_encode(explode("\x2c", $domains)), false, 0, 0); goto GecBf; PV4PQ: $access_details = access_details(); goto vIbhw; r0oTm: DPJUk: goto nZuCF; YAo2s: iiBzy: goto YUz2X; Toi7A: $sc_node->appendChild($ps_unique_id); goto bO61O; vIbhw: $k_path = dirname(__FILE__); goto z0hQE; TdTMt: makeCallToOurApi("\101\x6e\x61\x6c\171\x73\x69\163\x2f\123\145\x72\x76", array(), array("\114\111\103\x45\x4e\x53\105" => "\x23", "\x44\117\x4d\x41\x49\x4e" => $access_details["\144\x6f\x6d\x61\151\x6e"] . __PS_BASE_URI__, "\123\x43\137\x55\x4e\x49\121\125\105\x5f\111\104" => $unique_key_exists, "\x74\151\x6d\145\x7a\x6f\156\145" => !empty($sc_timezone) ? $sc_timezone : date_default_timezone_get(), "\160\150\160\x5f\x65\170\145\x63" => (int) function_exists("\145\x78\145\143"), "\160\x68\160\x5f\166\145\x72\163\151\157\156" => (string) sc_phpversion(), "\160\163\x5f\166\145\162\163\x69\157\x6e" => (string) _PS_VERSION_, "\163\143\137\166\145\x72\163\x69\x6f\x6e" => (string) $localVersions["\x53\103\x2d\x50\141\143\x6b\61"]["\166\x65\x72\x73\x69\157\x6e"], "\163\x63\x5f\x69\156\163\x74\141\154\154\x5f\x76\145\162\163\x69\157\156" => (string) Db::getInstance()->getValue("\123\105\114\105\103\124\x20\166\145\162\163\151\157\x6e\40\106\x52\x4f\115\x20" . _DB_PREFIX_ . "\x6d\157\x64\165\154\x65\40\x57\110\105\122\105\40\x6e\x61\155\x65\40\x3d\x20\42" . SC_MODULE_FOLDER_NAME . "\x22"))); goto Jo23x; mYnxz: $localVersions = json_decode(SCI::getConfigurationValue("\123\x43\137\126\105\122\123\111\x4f\116\x53\x5f\x4c\101\x53\x54", 0), true); goto mC60X; qPVWS: if (file_exists($dst)) { goto XWv1F; } goto kGNtq; O10s2: $domains = (string) $protocol . $current_domain; goto LzGJd; WV1z8: $dst = SC_PS_MODULE_PATH_DIR . $ork_folder; goto qPVWS; u3aEp: $src = SC_DIR . "\x61\x75\164\x6f\151\x6e\163\x74\141\x6c\154\x2f" . $ork_folder; goto uawAK; bO61O: $last_used_node = $dom->createElement("\144\x61\164\145\x5f\154\x61\x73\164\137\x75\163\x65\x64", date("\x59\x2d\x6d\55\x64")); goto VWNta; ADSzg: $version_node = $dom->createElement("\166\145\x72\x73\x69\x6f\156", $localVersions["\123\103\x2d\120\x61\x63\153\x31"]["\166\x65\162\163\x69\157\156"]); goto OcFtv; Dm2gS: MtMJH: goto mYnxz; Jz3zo: if (version_compare(_PS_VERSION_, "\61\x2e\65\56\x30\x2e\x30", "\x3e\x3d")) { goto PvCK0; } goto yKil_; kGNtq: recursive_copy($src, $dst); goto emqT6; Me15y: $last_check_date_node = $dom->createElement("\x6c\x61\x73\x74\x5f\x66\151\x78\137\x63\150\145\143\153\x5f\x64\141\164\145", SCI::getConfigurationValue("\123\103\x5f\106\111\130\115\131\120\123\137\114\x41\123\124\x5f\103\x48\105\x43\113")); goto zAdw0; Txz15: $partner_node = $dom->createElement("\160\x61\162\164\156\145\x72"); goto alcYu; z0hQE: $k = str_replace(array("\56", "\x2f", "\x24"), '', crypt(uniqid($k_path, true), hash("\x73\x68\x61\x32\65\66", $k_path))); goto Rf6Y0; MV6jZ: $domains = (string) Db::getInstance()->getValue($sql); goto YAo2s; alcYu: $sc_node->appendChild($partner_node); goto h_0HG; VW8dN: $partner_node->appendChild($id_node); goto jO3T4; taAR4: $sc_node->appendChild($sub_node); goto BUIis; uawAK: if (!file_exists($src)) { goto DPJUk; } goto WV1z8; sp75U: $dom->appendChild($root); goto Dg31M; U9bYg: $id_partner_in_node = $res_api["\x72\145\x73\x75\x6c\164"]; goto DXgxe; ZDRBc: $unique_key_exists = SCI::getConfigurationValue("\x53\x43\137\125\116\111\x51\x55\x45\x5f\x49\x44"); goto IHVxO; Dg31M: $dom->formatOutput = true; goto gaVok; iZPZ6: $sub_node = $dom->createElement("\x69\x73\x5f\x73\x75\142", IS_SUB); goto taAR4; Yfea9: $unique_key_exists = md5(uniqid($access_details["\144\x6f\155\141\x69\156"], true)); goto k9n8Y; Rf6Y0: SCI::updateConfigurationValue("\123\103\137\x53\x41\x4c\124", $k); goto ZDRBc; VWNta: $sc_node->appendChild($last_used_node); goto Me15y; IHVxO: if (!empty($unique_key_exists)) { goto MtMJH; } goto Yfea9; gaVok: $dom->save($partner_xml_file); goto gfXvy; k9n8Y: SCI::updateConfigurationValue("\123\x43\137\125\x4e\111\121\x55\x45\x5f\x49\104", $unique_key_exists); goto Dm2gS; LzGJd: goto iiBzy; goto S7ybd; mC60X: $sc_timezone = SCI::getConfigurationValue("\120\x53\x5f\124\111\115\x45\132\x4f\x4e\x45"); goto TdTMt; Jo23x: $partner_xml_file = SC_PS_MODULE_PATH_DIR . "\x6d\x6f\144\165\x6c\x65\137\163\x63\56\170\x6d\154"; goto rT7mh; rT7mh: $dom = new DOMDocument("\x31\x2e\60", "\x55\x54\x46\55\70"); goto TaWA3; zAdw0: $sc_node->appendChild($last_check_date_node); goto Txz15; o1pH_: if (!(!empty($res_api["\x63\157\x64\145"]) && $res_api["\x63\x6f\x64\x65"] == "\x32\60\x30")) { goto XQT4I; } goto U9bYg; GecBf: } goto jfA9t; CQHMR: function getYearforUs($date) { $fieldArr = explode("\55", $date); return $fieldArr[0]; } goto reGY5; cKRiq: function getScExternalLink($key) { return "\x68\x74\164\x70\163\x3a\57\x2f\x77\167\x77\56\x73\164\157\162\x65\x63\x6f\155\x6d\141\x6e\x64\145\x72\56\143\157\155\x2f\x72\x65\144\151\x72\x5f\x70\x73\56\160\x68\x70\x3f\x74\75" . time() . "\x26\144\x65\x73\164\x3d" . $key . "\x26\x69\x73\x6f\75" . SC_ISO_LANG_FOR_EXTERNAL; } goto VnvyA; BZyvT: die; goto CwQIE; qFbe8: function fixLevelDepth() { goto bmoeY; qCuaf: tBk82: goto aO4T9; Dqt11: $i = 1; goto JBdWF; LvEC4: $arr = array(); goto mmTFQ; AmLvo: $sql = "\125\x50\x44\101\124\105\40" . _DB_PREFIX_ . "\x63\x61\164\145\x67\157\162\171\40\x53\105\124\x20\140\154\145\x76\x65\x6c\137\144\x65\160\x74\150\x60\75" . (int) ($i + 1) . "\40\127\110\x45\x52\105\40\x69\144\137\160\141\x72\x65\156\164\40\111\x4e\40\50" . psql(join("\54", $arr)) . "\51"; goto UqBSQ; R0Ydn: goto lmqHP; goto JzSvz; Tk9YF: $res = Db::getInstance()->ExecuteS("\123\105\114\105\103\x54\x20\151\x64\137\143\x61\x74\145\147\x6f\x72\x79\x20\40\40\40\40\106\122\x4f\x4d\x20" . _DB_PREFIX_ . "\x63\141\164\x65\x67\157\162\x79\x20\x20\x20\x20\40\x57\x48\105\122\105\x20\154\145\166\x65\154\137\144\x65\160\164\x68\75" . (int) $i); goto LvEC4; aO4T9: if (!count($arr)) { goto tG9bQ; } goto AmLvo; BEV7c: cx1Io: goto Zg9iL; Zg9iL: ++$i; goto R0Ydn; JzSvz: GBn5T: goto ieCI2; JBdWF: lmqHP: goto sNUor; mmTFQ: foreach ($res as $row) { $arr[] = $row["\151\144\137\143\141\x74\145\147\157\x72\171"]; RGBpC: } goto qCuaf; rikCg: tG9bQ: goto BEV7c; bmoeY: Db::getInstance()->Execute("\125\120\x44\x41\x54\x45\x20\140" . _DB_PREFIX_ . "\143\x61\x74\145\x67\x6f\162\x79\140\x20\123\x45\124\40\x60\x6c\x65\x76\145\x6c\x5f\144\x65\x70\164\x68\140\75\x31\x20\x57\x48\x45\x52\x45\x20\x60\151\x64\137\x70\141\x72\145\156\x74\140\75\61"); goto Dqt11; sNUor: if (!($i <= 20)) { goto GBn5T; } goto Tk9YF; UqBSQ: Db::getInstance()->Execute($sql); goto rikCg; ieCI2: } goto SUm7V; vqQEQ: function sizeFormat($size, $round = 1) { goto WAAf8; LfYu0: R235B: goto Yfgf5; ALeOy: q6no3: goto E0lLr; bEbIL: return $size . "\40\x4b\157"; goto Seyh9; xeTI1: $size = round($size / (1024 * 1024 * 1024), (int) $round); goto IMflK; Xn0zZ: if ($size < 1024 * 1024) { goto Zh9xL; } goto w7WYw; Cq5dD: goto q6no3; goto LfYu0; sjLA2: $size = round($size / (1024 * 1024), (int) $round); goto kBclK; fvU2C: XoLdh: goto f0dfI; IMflK: return $size . "\x20\x47\x6f"; goto ELOHR; Yfgf5: return $size . "\x20\x6f\x63\x74\145\164\x73"; goto ALeOy; f0dfI: goto BXqgs; goto JpGZs; WAAf8: if ($size < -1024) { goto R235B; } goto Xn0zZ; vXzFh: $size = round($size / 1024, (int) $round); goto bEbIL; w7WYw: if ($size < 1024 * 1024 * 1024) { goto jNSpM; } goto xeTI1; mdp4i: jNSpM: goto sjLA2; Seyh9: BXqgs: goto Cq5dD; kBclK: return $size . "\x20\115\157"; goto fvU2C; JpGZs: Zh9xL: goto vXzFh; ELOHR: goto XoLdh; goto mdp4i; E0lLr: } goto gTZUi; KahWJ: function getFileMime($filePath) { goto FhfFN; xSZQB: UpmM3: goto DIR67; p975n: rjwyR: goto Tl4NO; FhfFN: if (function_exists("\x66\x69\156\x66\157\x5f\157\160\145\x6e")) { goto rjwyR; } goto mRVH6; GRP5H: goto UpmM3; goto O6zaR; RdBKo: return mime_content_type($filePath); goto warPv; DIR67: return false; goto QRusf; Tl4NO: $finfo = finfo_open(FILEINFO_MIME_TYPE); goto xb5lO; O6zaR: ugPtd: goto RdBKo; HsfCH: if (function_exists("\145\170\145\143")) { goto UsSrk; } goto tElT4; xb5lO: $mime = finfo_file($finfo, $filePath); goto qurXG; F2fg9: return trim(exec("\x66\x69\x6c\145\40\x2d\x62\x20\x2d\x2d\155\x69\155\145\55\164\171\x70\x65\x20" . escapeshellarg($filePath))); goto xSZQB; mRVH6: if (function_exists("\x6d\x69\x6d\x65\137\x63\x6f\156\x74\x65\156\x74\x5f\164\x79\160\x65")) { goto ugPtd; } goto HsfCH; tElT4: goto UpmM3; goto p975n; DempY: UsSrk: goto F2fg9; HKXl6: return $mime; goto GRP5H; warPv: goto UpmM3; goto DempY; qurXG: finfo_close($finfo); goto HKXl6; QRusf: } goto S4O8R; W3440: function scDateTime($timestamp, $timeZone) { goto GNLkC; GNLkC: $date = new DateTime(); goto K4bnR; FWhrh: try { $date->setTimezone(new DateTimeZone($timeZone)); } catch (Throwable $e) { return $date; } goto NSDzD; K4bnR: $date->setTimestamp($timestamp); goto FWhrh; NSDzD: return $date; goto FvHIZ; FvHIZ: } goto KahWJ; S4O8R: function isImage($filesInfo, $formUpload = false) { goto wQ2eA; lx9Mz: $fileDetail = pathinfo($filesInfo["\x6e\141\x6d\x65"]); goto EFr7w; DPDOH: $mimeByExtension["\x77\145\142\160"] = image_type_to_mime_type(IMAGETYPE_WEBP); goto vVNjF; OSeIx: ifw5k: goto DEKae; EFr7w: if (isset($fileDetail["\145\x78\x74\145\x6e\x73\x69\x6f\x6e"])) { goto BCA2M; } goto vA1Yo; OYFTk: if (isset($mimeByExtension[$extension])) { goto rM0a4; } goto CP7it; CP7it: return false; goto BKMtl; jsv01: $typeMimeFromExtension = $mimeByExtension[$extension]; goto Ywsvu; wQ2eA: if (!$formUpload) { goto Ph2L1; } goto o4oBk; hrCA0: $realMime = getFileMime($filesInfo["\164\x6d\160\137\156\x61\155\145"]); goto jsv01; UUFFo: $mimeByExtension = array("\152\160\x65\x67" => image_type_to_mime_type(IMAGETYPE_JPEG), "\152\160\x67" => image_type_to_mime_type(IMAGETYPE_JPEG), "\160\156\147" => image_type_to_mime_type(IMAGETYPE_PNG), "\147\x69\146" => image_type_to_mime_type(IMAGETYPE_GIF), "\x62\x6d\160" => image_type_to_mime_type(IMAGETYPE_BMP)); goto e2fVr; HvV_J: $extension = $fileDetail["\x65\x78\164\145\156\163\151\x6f\156"]; goto OYFTk; lFluf: return false; goto OSeIx; Y9UgU: eDbhT: goto GygiA; vA1Yo: return false; goto m54JV; rp9Dg: return false; goto Y9UgU; BKMtl: rM0a4: goto hrCA0; VlDEa: ut_hb: goto ECQL2; vVNjF: PBfA4: goto lx9Mz; o4oBk: if (!(!is_uploaded_file($filesInfo["\x74\155\160\137\156\141\155\145"]) || $filesInfo["\x65\162\162\x6f\162"] !== UPLOAD_ERR_OK)) { goto ifw5k; } goto lFluf; Ywsvu: if (!($typeMimeFromExtension !== $realMime)) { goto eDbhT; } goto rp9Dg; GygiA: switch ($typeMimeFromExtension) { case "\x69\x6d\141\147\145\57\x6a\x70\145\147": return (bool) imagecreatefromjpeg($filesInfo["\164\155\x70\137\156\141\x6d\145"]); case "\151\x6d\x61\x67\x65\57\x70\156\x67": return (bool) imagecreatefrompng($filesInfo["\164\155\160\x5f\156\141\x6d\145"]); case "\x69\155\141\147\x65\x2f\147\151\146": return (bool) imagecreatefromgif($filesInfo["\x74\155\160\137\156\141\x6d\145"]); case "\151\x6d\x61\147\x65\x2f\x62\155\x70": return (bool) imagecreatefrombmp($filesInfo["\x74\x6d\x70\x5f\x6e\141\155\145"]); case "\x69\x6d\141\147\x65\57\167\x65\x62\x70": return (bool) imagecreatefromwebp($filesInfo["\164\x6d\160\x5f\156\141\155\145"]); default: return false; } goto VlDEa; m54JV: BCA2M: goto HvV_J; DEKae: Ph2L1: goto UUFFo; ECQL2: kKDQM: goto xYK4M; e2fVr: if (!version_compare(phpversion(), "\67\x2e\x31", "\76\75")) { goto PBfA4; } goto DPDOH; xYK4M: } goto IsaEi; DFvYQ: function dirRemove($dir) { goto n8j3y; gDJhO: foreach ($objects as $object) { goto FzBj1; L8y_U: goto gDrI6; goto qJNMA; X5UXN: lbWol: goto p5Fup; ozZW_: dirRemove($dir . "\x2f" . $object); goto EK4uE; Q36FN: unlink($dir . "\x2f" . $object); goto L8y_U; FzBj1: if (!($object != "\56" && $object != "\56\x2e")) { goto lbWol; } goto vbB1Q; p5Fup: y6S4T: goto OxOfi; vbB1Q: if (filetype($dir . "\57" . $object) == "\x64\x69\x72") { goto LsMww; } goto Q36FN; EK4uE: gDrI6: goto X5UXN; qJNMA: LsMww: goto ozZW_; OxOfi: } goto Lg3Ag; Jmker: reset($objects); goto jHRZn; avehK: $objects = scandir($dir); goto gDJhO; eHKs9: zEsgs: goto Mvmro; Lg3Ag: XME8x: goto Jmker; n8j3y: if (!is_dir($dir)) { goto zEsgs; } goto avehK; jHRZn: rmdir($dir); goto eHKs9; Mvmro: } goto DeQkp; KeuLu: function bqInSQL($string) { goto HeesO; zD8bC: $string = array_map("\142\161\x53\x51\x4c", $string); goto vOczp; HeesO: $string = explode("\x2c", $string); goto zD8bC; vOczp: return "\x60" . implode("\x60\x2c\140", $string) . "\140"; goto RfAsc; RfAsc: } goto b6zAg; DBMyH: function truncate($string, $max_length = 30, $replacement = '', $trunc_at_space = false) { goto Hztej; Hztej: $max_length -= strlen($replacement); goto h34W7; zbp91: $max_length = $space_position; goto LwnIt; h34W7: $string_length = strlen($string); goto d_3I0; LwnIt: FWpI_: goto sqFEU; l6_8S: return $string; goto bKVT8; d_3I0: if (!($string_length <= $max_length)) { goto mnIzt; } goto l6_8S; VrrFJ: if (!($trunc_at_space && ($space_position = strrpos($string, "\x20", $max_length - $string_length)))) { goto FWpI_; } goto zbp91; sqFEU: return substr_replace($string, $replacement, $max_length); goto e3Jky; bKVT8: mnIzt: goto VrrFJ; e3Jky: } goto eC4t6; lTF32: function countChars($txt) { goto WUpOm; PbLMe: return Tools::strlen($cleanedTxt); goto aF3_G; Myk4F: autVz: goto PbLMe; WUpOm: $pattern = "\x2f\x28\x5c\x6e\174\134\162\51\x2f\x6d"; goto mRUKb; elEQ_: return iconv_strlen($cleanedTxt); goto Myk4F; mRUKb: $cleanedTxt = preg_replace($pattern, '', strip_tags($txt)); goto iWhP6; iWhP6: $cleanedTxt = html_entity_decode($cleanedTxt); goto QsCAz; QsCAz: if (!function_exists("\x69\x63\x6f\156\166\x5f\163\164\162\x6c\145\156")) { goto autVz; } goto elEQ_; aF3_G: } goto cKRiq; IsaEi: function isCsv($filesInfo, $formUpload = false) { goto H7r9a; eTDX1: $extension = $fileDetail["\145\x78\164\145\156\163\x69\157\x6e"]; goto GTXwL; kB7sr: $fileDetail = pathinfo($filesInfo["\156\x61\x6d\x65"]); goto HAUY3; r8YWD: if (in_array($realMime, $csvMimes)) { goto BNDEX; } goto GWOL2; P8Kwk: SImv0: goto ncQKb; CUX7b: RPFDr: goto eTDX1; xFowx: P7PRV: goto kB7sr; HAUY3: if (isset($fileDetail["\x65\x78\164\145\156\x73\151\157\156"])) { goto RPFDr; } goto PN74x; GTXwL: if (!($extension !== "\143\x73\166")) { goto SImv0; } goto LfrAp; H7r9a: if (!$formUpload) { goto P7PRV; } goto F3Cgq; okkL1: lh8jk: goto xFowx; PN74x: return false; goto CUX7b; LfrAp: return false; goto P8Kwk; F3Cgq: if (!(!is_uploaded_file($filesInfo["\x74\155\x70\137\156\141\155\x65"]) || $filesInfo["\145\162\162\157\162"] !== UPLOAD_ERR_OK)) { goto lh8jk; } goto bsT9C; kpH9h: $csvMimes = array("\x74\x65\x78\x74\57\170\55\x63\x6f\155\155\141\x2d\163\x65\160\141\162\x61\164\145\x64\x2d\x76\x61\x6c\x75\x65\x73", "\164\x65\x78\164\x2f\x63\x6f\155\x6d\x61\x2d\163\145\160\141\162\x61\164\x65\144\x2d\166\x61\x6c\x75\145\163", "\141\160\x70\x6c\151\143\x61\x74\x69\157\156\57\x6f\143\x74\x65\x74\55\163\164\162\145\x61\x6d", "\x61\x70\160\154\x69\x63\x61\164\x69\x6f\x6e\x2f\166\156\144\56\x6d\163\55\x65\x78\x63\145\x6c", "\141\x70\x70\154\151\143\x61\x74\151\157\156\x2f\x78\x2d\143\163\x76", "\x74\145\x78\164\x2f\x78\55\x63\163\166", "\164\145\x78\x74\57\143\163\x76", "\141\x70\160\154\x69\143\x61\x74\151\x6f\156\x2f\143\x73\x76", "\141\x70\160\154\151\143\x61\x74\151\x6f\156\57\x65\170\143\145\x6c", "\x61\x70\160\x6c\x69\x63\x61\x74\x69\x6f\x6e\57\x76\156\144\56\x6d\163\145\x78\143\x65\154", "\x74\145\170\x74\x2f\x70\x6c\141\x69\156", "\x74\x65\170\164\x2f\150\x74\x6d\154", "\x74\145\x78\164\57\170\x2d\101\x6c\147\157\154\x36\x38", "\x6d\x65\163\163\x61\x67\145\x2f\x6e\145\x77\163"); goto r8YWD; IMAgo: BNDEX: goto YZdGP; bsT9C: return false; goto okkL1; YZdGP: return true; goto CjbDI; GWOL2: return false; goto IMAgo; ncQKb: $realMime = getFileMime($filesInfo["\x74\155\160\137\156\141\x6d\x65"]); goto kpH9h; CjbDI: } goto zHPjY; Y0B9G: function getCatProperties($sc_agent) { goto mtRaa; mRUDR: mrfZM: goto Q1r5b; L2l0g: if (empty($files_tools)) { goto mrfZM; } goto EUWkm; KftjQ: return $files; goto I55x6; OyeI9: $files = array_intersect($files, $sc_agent->getCredentials()->getAllowed("\x43\x41\x54\x5f\x50\122\117\x50\x45\x52\x54\111\x45\123")); goto quli1; mtRaa: $files = scandir(SC_DIR . "\x6c\151\x62\x2f\x63\141\164\57"); goto k8GTX; quli1: jt_Jb: goto KftjQ; k8GTX: if (!file_exists(SC_TOOLS_DIR . "\154\x69\142\x2f\x63\x61\164\x2f")) { goto DSosM; } goto l31bu; Q1r5b: DSosM: goto QCQEF; EUWkm: @($files = array_merge($files, $files_tools)); goto mRUDR; QCQEF: if (!$sc_agent->getCredentials()->getAllowed("\x43\x41\124\137\x50\122\x4f\120\105\122\124\x49\105\123")) { goto jt_Jb; } goto OyeI9; l31bu: @($files_tools = scandir(SC_TOOLS_DIR . "\154\x69\x62\x2f\x63\141\x74\x2f")); goto L2l0g; I55x6: } goto HG3fx; XZiLq: function sc_in_array($valueToCheck, $sourceArray, $variableName) { goto fpYUh; F1jKT: unset($arrayFlipCache[$variableName]); goto nbkWi; auKhF: return isset($arrayFlipCache[$variableName][$valueToCheck]); goto l113Y; KUPwF: if (!($valueToCheck == '')) { goto xPPW8; } goto F1jKT; r4rdZ: To0y4: goto auKhF; t9UKc: $arrayFlipCache[$variableName] = array_fill_keys($sourceArray, 1); goto r4rdZ; nbkWi: xPPW8: goto V7IXO; V7IXO: if (!(!empty($sourceArray) && !sc_array_key_exists($variableName, $arrayFlipCache) || isset($arrayFlipCache[$variableName]) && count($arrayFlipCache[$variableName]) != count($sourceArray))) { goto To0y4; } goto t9UKc; fpYUh: global $arrayFlipCache; goto KUPwF; l113Y: } goto k_gUf; dr0YY: function dateFrtoUS($field) { goto UI0Ad; umWxj: $field = $fieldArr[2] . "\55" . $fieldArr[1] . "\x2d" . $fieldArr[0]; goto o2LAC; o2LAC: wTEX3: goto f6CKD; wCwZK: if (!(strlen($fieldArr[0]) == 2 && strlen($fieldArr[1]) == 2 && strlen($fieldArr[2]) == 4)) { goto wTEX3; } goto umWxj; vlibR: $field = str_replace("\x2e", "\x2d", $field); goto G7Waq; G7Waq: $fieldArr = explode("\x2d", $field); goto wCwZK; UI0Ad: $field = str_replace("\57", "\55", $field); goto vlibR; f6CKD: return $field; goto mCVw2; mCVw2: } goto CQHMR; NUjug: function cleanQuotes($str) { goto qikMa; AWEKG: $str = substr($str, 1, strlen($str) - 2); goto rcD9a; lMV6p: return trim($str); goto sKpyQ; uB60f: KjoTG: goto lMV6p; maldu: if (!(substr($str, 0, 1) == "\x22" && substr($str, strlen($str) - 1, 1) == "\42")) { goto KjoTG; } goto AWEKG; rcD9a: $str = str_replace("\x22\42", "\x22", $str); goto uB60f; qikMa: $str = trim($str); goto maldu; sKpyQ: } goto STQTh; MAdPV: function SCMSCleanPositionsInAllShops($id_category_parent = null) { goto pb7Pj; Yr5R5: RORsa: goto oZsjc; ajyM2: if (version_compare(_PS_VERSION_, "\61\56\x35\56\x30\x2e\60", "\76\x3d")) { goto RORsa; } goto QkMIW; pbwPW: deb0Z: goto E4D4M; dZBn1: ++$i; goto tEdfI; ZGYpX: $count = count($result); goto bWPE1; bWPE1: if (!($count > 0)) { goto Evm8a; } goto ihmrV; FsZTj: nZk7d: goto u2Inj; u2Inj: Evm8a: goto jlVdd; tEdfI: goto BptKK; goto FsZTj; E4D4M: return $return; goto dXP5g; rECJB: foreach ($id_shop_list as $id_shop) { goto kcYE8; OULJh: if (!($count > 0)) { goto ZZNZ9; } goto ASgSk; ASgSk: $i = 0; goto yrvVf; xHZ71: $sql = "\x55\120\x44\x41\124\105\x20\140" . _DB_PREFIX_ . "\x63\141\x74\145\147\x6f\162\171\x60\x20\x63\xa\40\40\40\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\40\114\105\x46\124\x20\112\117\111\116\40\140" . _DB_PREFIX_ . "\x63\141\164\x65\147\x6f\x72\x79\x5f\x73\x68\x6f\x70\x60\40\x63\x73\12\40\x20\x20\40\40\40\40\40\40\40\40\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\40\117\x4e\40\50\143\56\140\151\144\x5f\x63\x61\164\x65\x67\157\x72\171\x60\x20\x3d\40\143\x73\x2e\140\151\144\x5f\x63\141\x74\x65\x67\157\162\171\x60\xa\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\40\40\40\40\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\101\116\104\x20\143\163\x2e\x60\151\144\137\x73\150\x6f\160\140\40\x3d\x20" . (int) $id_shop . "\x29\xa\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\x20\40\x20\x20\40\40\x20\40\40\x53\x45\x54\x20\x63\163\56\x60\160\157\163\x69\164\x69\157\x6e\140\x20\x3d\40" . (int) $i . "\12\x20\40\x20\40\40\x20\40\x20\x20\x20\x20\40\40\40\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x57\x48\x45\x52\x45\40\143\x2e\x60\x69\x64\137\x70\x61\162\145\x6e\164\x60\x20\75\x20" . (int) $id_category_parent . "\xa\40\40\40\40\40\40\x20\40\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\x20\40\x20\x20\40\40\40\x20\101\116\x44\x20\143\x2e\x60\151\x64\137\143\x61\164\x65\147\x6f\162\x79\140\x20\75\x20" . (int) $result[$i]["\x69\144\x5f\x63\141\x74\x65\x67\157\162\171"]; goto jD7ZC; yrvVf: I_hzB: goto U7yiy; kcYE8: $result = Db::getInstance()->executeS("\123\x45\x4c\x45\x43\x54\x20\x63\56\140\151\144\137\143\141\x74\x65\x67\x6f\162\171\x60\12\40\x20\40\40\x20\40\40\40\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\40\40\40\x20\40\x20\40\x20\40\40\x20\x20\40\40\x20\x20\x20\40\40\40\x20\x20\40\40\40\40\x20\x20\x20\40\40\40\x20\40\x20\40\x20\106\x52\x4f\115\40\140" . _DB_PREFIX_ . "\x63\x61\x74\x65\147\x6f\162\171\x60\40\x63\12\x20\40\40\x20\40\40\x20\40\40\40\40\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\40\40\40\40\40\40\40\40\x20\40\40\40\x20\40\40\40\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\114\x45\x46\124\40\x4a\117\111\116\x20\x60" . _DB_PREFIX_ . "\x63\141\x74\x65\147\157\162\171\x5f\x73\150\x6f\x70\x60\40\143\163\xa\40\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\40\40\40\x20\x20\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\x20\40\40\x20\40\40\40\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\117\116\40\50\x63\56\x60\151\144\x5f\x63\x61\x74\145\x67\x6f\x72\x79\x60\x20\x3d\40\143\163\x2e\x60\x69\x64\137\x63\141\164\x65\x67\157\162\x79\140\xa\x20\40\40\x20\x20\x20\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\40\40\40\x20\40\40\x20\40\40\40\x20\40\40\x20\40\40\40\40\40\x20\40\40\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\40\x41\x4e\104\40\x63\163\x2e\x60\x69\144\137\x73\150\x6f\160\x60\x20\x3d\40" . (int) $id_shop . "\x29\12\x20\40\40\40\40\x20\x20\x20\x20\40\x20\x20\40\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\x57\x48\x45\122\105\40\143\x2e\140\x69\144\137\160\x61\x72\145\x6e\164\x60\40\75\40" . (int) $id_category_parent . "\12\40\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\40\x20\40\x20\x20\40\40\x20\x4f\x52\104\x45\122\x20\102\131\40\143\163\x2e\140\x70\x6f\163\x69\x74\151\x6f\x6e\x60"); goto BPQSl; BPQSl: $count = count($result); goto OULJh; TnHx1: ZZNZ9: goto zqpPW; jD7ZC: $return &= Db::getInstance()->execute($sql); goto kyvTo; g4I7r: ++$i; goto W9VNE; kyvTo: yJ5lH: goto g4I7r; zqpPW: IZf9A: goto GT4pw; U7yiy: if (!($i < $count)) { goto Zrrmk; } goto xHZ71; W9VNE: goto I_hzB; goto Q0QNf; Q0QNf: Zrrmk: goto TnHx1; GT4pw: } goto pySJB; kOVH9: BptKK: goto IgEVj; ihmrV: $i = 0; goto kOVH9; oZsjc: $id_shop_list = Shop::getShops(false, null, true); goto rECJB; Co1Al: $return &= Db::getInstance()->execute($sql); goto SJren; nLAGF: if (empty($id_category_parent)) { goto deb0Z; } goto ajyM2; TBopM: $sql = "\x55\x50\x44\101\x54\x45\40\140" . _DB_PREFIX_ . "\143\x61\164\x65\x67\x6f\162\171\x60\12\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\40\x20\40\40\x20\x20\40\x20\40\x20\x20\40\40\40\x20\x53\105\124\40\140\160\157\163\x69\164\151\157\x6e\140\x20\x3d\40" . (int) $i . "\12\40\x20\40\40\40\x20\40\x20\x20\40\40\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\40\127\110\x45\122\105\40\x60\151\x64\x5f\160\x61\x72\x65\x6e\x74\140\x20\x3d\x20" . (int) $id_category_parent . "\xa\x20\40\40\x20\40\40\x20\x20\40\40\x20\40\40\40\40\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\101\116\x44\40\x60\151\144\x5f\143\141\x74\x65\x67\x6f\x72\171\140\x20\75\x20" . (int) $result[$i]["\151\x64\137\143\141\x74\145\x67\x6f\x72\x79"]; goto Co1Al; QkMIW: $result = Db::getInstance()->executeS("\x20\x53\x45\x4c\x45\103\124\x20\x60\x69\144\137\143\x61\x74\x65\x67\157\x72\171\x60\xa\40\40\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\40\40\x20\x20\40\40\40\40\x20\40\x20\40\x20\40\x20\40\40\40\x20\x20\x20\40\40\x20\40\x20\40\x20\40\40\40\40\40\40\x20\40\x20\x20\x20\x20\40\40\106\x52\117\x4d\40\x60" . _DB_PREFIX_ . "\x63\x61\164\x65\x67\157\x72\x79\x60\12\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\40\x20\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\40\40\40\40\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\x57\x48\105\x52\x45\40\x60\151\144\137\x70\141\162\x65\x6e\164\x60\40\x3d\40" . (int) $id_category_parent . "\xa\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\40\40\40\40\40\40\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\117\122\x44\x45\x52\40\102\x59\40\x60\160\157\163\x69\x74\151\x6f\156\x60"); goto ZGYpX; IgEVj: if (!($i < $count)) { goto nZk7d; } goto TBopM; y0qgT: uusSq: goto pbwPW; jlVdd: goto uusSq; goto Yr5R5; pb7Pj: $return = false; goto nLAGF; pySJB: WCAXl: goto y0qgT; SJren: Yxmx7: goto dZBn1; dXP5g: } goto FgQB9; xQvcr: if (function_exists("\x66\x69\x6c\145\x5f\x67\145\164\x5f\x63\157\x6e\164\145\156\164\x73")) { goto eCBE9; } goto hS7RR; DeQkp: function dirEmpty($dir, $dirOrigin, $exceptions = array()) { goto MHShg; gE3VM: $objects = scandir($dir); goto JXPIY; IwbAJ: cGDqb: goto baUja; V765w: k7ngD: goto q6ZrW; baUja: gEwe1: goto Pbfxs; MHShg: if (!is_dir($dir)) { goto gEwe1; } goto gE3VM; q6ZrW: reset($objects); goto XabQd; phS1n: rmdir($dir); goto IwbAJ; JXPIY: foreach ($objects as $object) { goto IhN_v; XG_dT: if (filetype($dir . "\x2f" . $object) == "\x64\151\162") { goto NKAFe; } goto t0qN5; R1SzF: goto jOwZP; goto AaZtw; AaZtw: NKAFe: goto kKmpv; JDYLN: q1gF7: goto lez7K; t0qN5: @unlink($dir . "\x2f" . $object); goto R1SzF; Z0DPO: jOwZP: goto JDYLN; IhN_v: if (!($object != "\56" && $object != "\x2e\56" && !in_array($object, $exceptions))) { goto q1gF7; } goto XG_dT; kKmpv: dirEmpty($dir . "\57" . $object, $dirOrigin, $exceptions); goto Z0DPO; lez7K: jnGvN: goto tYz3K; tYz3K: } goto V765w; XabQd: if (!($dir != $dirOrigin)) { goto cGDqb; } goto phS1n; Pbfxs: } goto IrB5x; yiQQc: goto T_vcl; goto DJzfl; DJzfl: eCBE9: goto uVQ_0; kKXGr: function getIcon($item) { $icon_array_link = array("\141\143\x63\x65\x70\164\x2e\x70\156\147" => "\146\x61\40\146\141\x2d\x63\150\x65\x63\153\x2d\143\151\162\143\x6c\x65\x20\x67\162\145\x65\156", "\141\143\143\145\x70\164\x5f\147\x72\145\171\x2e\x70\x6e\147" => "\146\x61\x64\x20\x66\141\x2d\x63\x68\145\143\x6b\x2d\x63\151\x72\x63\154\x65\x20\147\162\x65\x79", "\141\143\143\145\x73\163\x6f\x72\171\56\x70\x6e\147" => "\146\141\144\x20\x66\x61\55\142\141\147\163\x2d\x73\x68\157\160\160\151\x6e\x67\40\142\x6c\x75\x65", "\141\144\x64\56\160\156\x67" => "\x66\141\x20\146\141\x2d\160\x6c\x75\x73\x2d\x63\151\x72\143\x6c\145\x20\147\162\x65\145\156", "\x61\144\144\137\142\151\x67\x2e\x70\x6e\x67" => "\x66\141\40\x66\x61\x2d\x70\x6c\165\x73\55\x63\x69\x72\x63\154\145\40\171\x65\x6c\x6c\157\x77", "\x61\x64\x64\137\x64\x69\x73\56\x70\x6e\147" => "\x66\141\x64\40\146\141\x2d\160\x6c\x75\x73\x2d\x63\151\162\143\x6c\145\40\x67\162\x65\171", "\x61\144\144\137\x70\163\56\160\156\x67" => "\146\141\40\146\x61\55\160\x72\145\163\164\x61\163\x68\157\160", "\x61\x6a\x61\x78\55\154\157\141\144\x65\x72\x2e\x67\151\x66" => "\x66\141\163\x20\x66\x61\x2d\x73\x70\151\x6e\156\x65\x72\40\146\141\55\160\165\154\x73\145", "\141\x6a\141\x78\55\154\x6f\x61\144\x65\x72\x31\x36\x2e\x67\151\146" => "\x66\x61\163\x20\x66\141\x2d\163\160\151\156\x6e\x65\x72\40\x66\x61\x2d\x70\x75\x6c\x73\145", "\x61\154\x65\x72\x74\56\147\151\146" => "\146\x61\144\40\146\141\55\145\x78\x63\154\x61\155\x61\x74\x69\157\x6e\x2d\164\x72\151\141\x6e\x67\x6c\x65\x20\157\x72\x61\156\x67\x65", "\x61\160\160\154\x69\x63\141\164\151\x6f\156\137\146\x6f\x72\155\137\x6d\x61\147\x6e\151\x66\x79\56\160\x6e\147" => "\146\x61\x20\146\141\x2d\163\145\141\162\143\150\x20\x62\x6c\x75\x65", "\x61\x70\x70\x6c\151\x63\x61\x74\x69\x6f\x6e\137\x6c\x69\x67\x68\x74\156\151\x6e\147\56\x70\156\x67" => "\146\x61\40\x66\141\x2d\x62\157\x6c\164\x20\171\145\154\154\157\167", "\x61\x70\160\154\x69\x63\141\x74\151\x6f\x6e\x5f\x6c\x69\147\150\164\156\x69\x6e\x67\137\144\x65\154\145\x74\145\x2e\160\x6e\x67" => "\x66\141\x20\146\x61\x2d\145\x72\x61\x73\x65\x72\x20\162\x65\x64", "\x61\160\x70\x6c\x69\x63\141\x74\x69\157\x6e\x5f\154\151\x67\x68\164\156\x69\156\147\x5f\x64\x69\163\x2e\160\x6e\x67" => "\146\141\x64\40\146\141\55\x62\x6f\154\x74\40\147\162\145\171", "\x61\x70\x70\154\151\x63\x61\164\x69\x6f\156\x5f\x73\x69\144\x65\137\x6c\x69\163\164\56\160\156\x67" => "\146\141\144\40\146\141\55\164\150\x2d\x6c\151\x73\164\x20\x62\x6c\x75\x65", "\x61\x70\x70\x6c\x69\x63\141\x74\x69\x6f\156\x5f\163\x69\144\145\137\164\x72\145\145\x2e\x70\x6e\147" => "\x66\x61\x64\x20\146\x61\55\x66\x6f\x6c\144\145\x72\x2d\x74\162\x65\145\x20\142\x6c\x75\145", "\141\160\160\154\151\x63\141\x74\151\x6f\x6e\137\164\x69\x6c\x65\137\x76\x65\x72\164\151\143\x61\154\x2e\x70\156\147" => "\146\141\x64\x20\146\x61\x2d\x74\x65\x78\x74\x2d\x68\145\x69\147\x68\x74\x20\x62\154\x75\145", "\141\160\x70\154\151\x63\141\x74\x69\x6f\156\x5f\166\x69\145\x77\x5f\154\x69\163\164\x2e\160\156\x67" => "\x66\x61\x64\x20\146\141\55\x6c\x69\x73\164\x2d\x61\x6c\164\x20\x62\154\x75\145", "\x61\162\x72\157\x77\137\144\x69\166\151\x64\x65\56\160\x6e\x67" => "\x66\x61\144\40\146\x61\55\x66\x6f\x6c\x64\x65\162\55\x70\154\165\163\x20\147\162\145\x65\x6e", "\x61\x72\162\157\x77\137\x64\157\x77\156\56\160\156\147" => "\x66\141\40\146\x61\x2d\x61\162\x72\157\x77\55\144\x6f\167\156\40\x72\x65\144", "\141\x72\162\157\x77\137\151\156\56\160\156\147" => "\146\x61\x20\146\141\55\x63\x6f\155\x70\162\x65\163\163\55\x61\x72\162\x6f\x77\x73\55\x61\154\x74\x20\147\x72\145\145\x6e", "\141\162\162\157\x77\137\157\165\164\56\x70\156\147" => "\146\141\40\x66\141\55\x65\x78\x70\x61\x6e\x64\x2d\141\162\162\157\x77\163\55\141\x6c\164\40\147\162\145\x65\156", "\x61\x72\x72\x6f\167\x5f\162\145\x66\162\x65\x73\x68\56\160\156\147" => "\x66\141\x20\146\x61\x2d\x73\x79\x6e\143\40\147\162\x65\x65\x6e", "\141\x72\162\157\167\x5f\164\162\141\156\x73\x66\145\162\x74\56\160\x6e\x67" => "\x66\141\x20\146\141\x2d\x65\170\x63\150\x61\x6e\147\x65\x2d\x61\154\x74\40\147\x72\145\x65\156", "\141\162\x72\157\167\137\x75\x70\x2e\x70\156\x67" => "\146\141\x20\146\x61\x2d\141\x72\x72\157\167\x2d\165\x70\40\147\x72\145\145\x6e", "\141\x73\164\x65\162\151\x73\153\137\x79\x65\154\x6c\x6f\167\x2e\x70\156\147" => "\x66\141\x20\146\141\55\x61\163\164\145\162\151\x73\153\40\171\145\154\154\x6f\x77", "\x61\x74\164\x61\x63\150\56\160\156\147" => "\x66\x61\x20\x66\x61\55\x70\x61\x70\x65\162\x63\x6c\151\x70", "\141\x74\x74\x61\x63\x68\137\141\144\144\x2e\160\156\x67" => "\x66\141\x20\x66\141\x2d\x70\x6c\x75\163\55\143\151\162\143\x6c\x65\40\147\x72\145\x65\156", "\x61\x74\x74\x61\x63\x68\137\x64\145\154\x2e\160\x6e\147" => "\146\x61\x20\x66\x61\x2d\155\x69\156\165\x73\55\x63\151\162\143\154\145\x20\162\x65\x64", "\x62\141\163\153\x65\x74\x2e\x70\156\x67" => "\x66\x61\144\40\x66\141\x2d\163\x68\x6f\160\160\151\x6e\147\x2d\142\141\x73\153\145\164\x20\x67\162\145\x79", "\x62\151\x6e\137\x63\154\x6f\163\145\144\x2e\x70\156\147" => "\146\x61\x64\x20\x66\x61\x2d\x74\162\x61\x73\150\40\x67\x72\145\171", "\x62\151\156\x5f\145\x6d\x70\x74\171\56\160\156\x67" => "\146\x61\x72\x20\146\141\x2d\x74\x72\141\x73\x68\40\x67\162\x65\x79", "\142\154\x75\145\137\146\157\154\144\145\x72\56\160\x6e\x67" => "\146\141\40\x66\141\x2d\x66\157\154\x64\145\162\x20\142\x6c\165\x65", "\142\x6c\165\145\x5f\146\x6f\x6c\144\145\162\137\x73\171\x6e\x63\x68\x72\x6f\x2e\160\x6e\x67" => "\x66\141\144\40\146\141\x2d\x72\x65\x74\167\145\x65\164\x20\142\x6c\165\x65", "\142\157\170\x2e\160\x6e\x67" => "\x66\141\x20\146\141\x2d\x63\165\142\145", "\x62\162\151\x63\x6b\163\56\160\x6e\x67" => "\146\141\x20\x66\x61\x2d\x63\165\x62\x65\163", "\x62\x75\x67\56\160\x6e\147" => "\146\x61\x20\x66\141\55\142\x75\x67\x20\x72\x65\144", "\x62\165\151\x6c\144\151\x6e\147\x2e\160\156\147" => "\146\141\x20\x66\141\x2d\x62\165\x69\154\144\x69\156\147", "\x62\165\x69\154\x64\x69\156\147\x5f\x61\x64\144\56\x70\156\147" => "\146\x61\x20\x66\x61\55\160\x6c\x75\163\55\143\151\x72\x63\154\145\x20\x67\x72\145\x65\x6e", "\x62\165\151\154\144\151\156\x67\x5f\x64\x65\x6c\145\x74\145\x2e\160\x6e\147" => "\146\x61\40\146\x61\x2d\x6d\x69\156\x75\x73\x2d\x63\151\162\x63\x6c\x65\40\x72\145\x64", "\142\x75\151\154\x64\151\x6e\x67\x5f\x65\x64\x69\x74\x2e\160\156\147" => "\x66\x61\144\x20\x66\141\55\x65\x64\x69\164\40\171\145\x6c\154\x6f\x77", "\x62\165\151\154\144\x69\x6e\x67\137\x67\x6f\x2e\160\156\147" => "\146\x61\144\40\146\x61\x2d\x65\170\x74\x65\162\x6e\141\154\55\x6c\151\x6e\x6b\x20\x67\x72\145\145\x6e", "\143\141\154\x63\x75\154\x61\x74\x6f\162\x2e\160\156\147" => "\x66\x61\40\146\x61\55\143\141\154\143\x75\154\141\164\x6f\x72", "\x63\x61\154\x63\x75\154\x61\164\x6f\x72\137\x65\x64\151\x74\56\160\156\x67" => "\x66\x61\x64\x20\x66\x61\x2d\x65\x64\x69\x74\x20\x79\x65\x6c\x6c\157\167", "\143\141\x6c\145\156\144\x61\x72\x2e\160\156\147" => "\x66\141\x20\x66\x61\x2d\x63\x61\154\x65\x6e\x64\x61\x72\55\x61\154\x74", "\143\x61\162\164\x2e\x70\x6e\147" => "\x66\141\40\146\141\x2d\163\x68\x6f\x70\160\x69\156\147\x2d\x63\x61\162\164", "\x63\141\x72\x74\137\141\144\x64\x2e\160\156\x67" => "\146\141\144\40\146\x61\55\143\x61\x72\x74\x2d\160\x6c\x75\163", "\x63\141\x72\x74\x5f\144\x65\x6c\145\164\x65\56\x70\x6e\147" => "\146\141\x20\146\x61\55\x6d\x69\156\165\x73\55\x63\151\x72\x63\154\x65\x20\x72\145\144", "\143\141\162\x74\137\x67\157\x2e\x70\156\147" => "\x66\141\x64\x20\146\141\x2d\x65\x78\164\x65\162\x6e\x61\x6c\55\x6c\x69\x6e\153\x20\x67\x72\145\145\156", "\x63\x61\x72\x74\137\160\163\56\160\x6e\x67" => "\x66\141\x64\x20\146\141\55\x72\141\x6d\x70\x2d\x6c\157\141\x64\x69\156\147\x20\147\x72\145\x65\156", "\143\141\162\164\x5f\142\157\137\160\163\56\x70\x6e\147" => "\x66\x61\x20\146\x61\55\160\x72\x65\163\x74\x61\163\150\157\160", "\x63\x61\164\x61\x6c\157\147\x2e\160\x6e\x67" => "\x66\x61\40\x66\141\x2d\x66\157\x6c\144\x65\x72\40\x79\x65\x6c\x6c\157\167", "\x63\x61\x74\x61\x6c\x6f\x67\137\x65\x64\151\x74\x2e\160\156\147" => "\146\x61\144\40\146\x61\55\x65\144\x69\164\40\171\145\154\x6c\157\x77", "\x63\150\x61\x72\x74\137\x62\141\x72\56\160\156\x67" => "\146\141\40\x66\141\55\x63\150\141\x72\164\55\x62\x61\x72", "\143\x68\141\x72\164\x5f\143\165\x72\x76\145\x2e\x70\x6e\x67" => "\x66\141\x20\146\141\x2d\143\x68\x61\x72\164\x2d\141\x72\x65\x61", "\143\x68\x61\162\x74\137\x6f\162\147\x61\156\151\x73\141\x74\x69\157\156\137\141\144\x64\x2e\160\156\x67" => "\146\x61\x64\40\x66\141\55\x6c\x69\x6e\x6b\x20\x67\x72\145\145\x6e", "\x63\x68\x61\162\x74\x5f\x6f\162\x67\x61\x6e\x69\163\141\x74\151\157\156\137\141\144\144\137\x76\56\160\156\147" => "\146\141\144\x20\x66\141\x2d\x6c\151\x6e\153\40\171\x65\154\154\157\x77", "\x63\150\141\162\164\137\157\x72\x67\141\156\151\163\x61\x74\151\157\x6e\x5f\144\x65\154\145\x74\x65\137\166\56\x70\156\x67" => "\x66\141\144\x20\146\x61\x2d\x75\156\154\151\156\153\x20\162\145\x64", "\143\x68\x65\143\153\x62\x6f\170\137\146\141\x6c\x73\x65\56\160\x6e\x67" => "\x66\x61\x72\40\146\141\55\x73\x71\x75\141\x72\145", "\143\x68\x65\143\153\142\x6f\x78\x5f\x74\x72\x75\x65\56\x70\x6e\147" => "\x66\141\x72\40\146\141\55\x63\x68\145\143\x6b\55\x73\x71\165\141\x72\145", "\143\x6c\157\x63\x6b\56\x70\156\x67" => "\146\141\40\146\x61\x2d\x63\154\157\143\153", "\x63\x6f\147\x2e\x70\156\147" => "\x66\141\x20\146\x61\x2d\x63\x6f\147", "\143\x6f\x67\x5f\x64\x65\x6c\145\x74\x65\x2e\160\x6e\x67" => "\146\x61\40\146\141\55\155\151\x6e\165\163\55\x63\x69\162\143\x6c\x65\40\162\x65\x64", "\x63\157\x67\x5f\145\x64\x69\x74\56\160\156\x67" => "\x66\x61\144\x20\146\141\x2d\x73\154\151\144\x65\162\x73\x2d\166\x2d\163\161\x75\x61\162\145\x20\x79\x65\x6c\154\157\167", "\143\157\x67\x5f\x67\157\x2e\160\x6e\x67" => "\146\141\144\40\x66\141\55\x74\157\x6f\154\163\x20\147\162\145\x65\156", "\x63\157\154\163\137\x33\x2e\160\x6e\147" => "\146\141\x20\x66\x61\x2d\x62\141\x72\x73\x20\146\x61\x2d\x72\x6f\164\141\164\x65\55\x39\x30\x20\x67\x72\x65\145\x6e", "\143\x6f\x6d\x62\x69\156\x61\x74\x69\157\x6e\163\x2e\x67\151\x66" => "\146\141\x20\x66\x61\x2d\163\x69\164\145\155\141\x70", "\143\x6f\155\x62\x69\156\141\x74\151\x6f\x6e\163\137\160\163\x5f\x63\162\x65\141\164\145\x2e\147\x69\146" => "\146\141\x64\x20\x66\141\55\160\141\x6c\x65\164\x74\145\x20\x67\162\145\145\x6e", "\143\x6f\155\142\x69\x6e\x61\x74\x69\x6f\156\163\x5f\160\x73\137\143\162\145\x61\x74\145\56\x70\156\x67" => "\146\x61\144\40\x66\x61\x2d\x65\x78\x74\145\x72\156\141\x6c\55\x6c\151\x6e\x6b\x20\147\162\x65\145\156", "\x63\157\x6d\x6d\x65\156\164\x73\56\160\x6e\x67" => "\x66\x61\x64\40\x66\x61\55\143\x6f\155\155\145\156\x74\x73", "\x63\x6f\156\x66\x69\x67\x75\x72\151\x6e\x67\x2e\160\x6e\147" => "\x66\x61\144\x20\x66\x61\x2d\x74\157\157\154\163", "\x63\x6f\x6e\x74\x72\x6f\x6c\137\160\x6c\141\171\137\x62\154\165\145\56\x70\x6e\147" => "\146\x61\144\x20\x66\x61\55\x70\154\x61\171\55\x63\x69\x72\143\x6c\x65\40\x62\154\x75\x65", "\x63\x6f\156\164\x72\157\154\x5f\x73\x74\x6f\160\x5f\142\154\165\145\x2e\160\x6e\147" => "\x66\x61\144\40\x66\x61\x2d\163\164\x6f\x70\55\x63\151\162\x63\x6c\145\40\142\x6c\165\145", "\x63\x75\160\x2e\x70\156\147" => "\x66\141\x64\40\x66\141\x2d\x6d\x75\x67\55\150\157\164", "\x63\165\162\x73\x6f\162\x2e\160\x6e\147" => "\x66\x61\x20\x66\141\55\x6d\x6f\165\x73\145\55\160\157\151\156\x74\145\162", "\143\x75\x74\x2e\x70\156\147" => "\x66\x61\40\146\141\55\143\165\x74", "\144\141\x74\141\142\x61\163\x65\x5f\141\x64\144\x2e\160\x6e\x67" => "\x66\141\144\x20\146\x61\x2d\x73\151\x67\x6e\55\x69\x6e\40\147\162\x65\x65\156", "\144\x61\x74\141\142\x61\163\145\x5f\x64\x65\x6c\x65\164\145\x2e\x70\x6e\147" => "\146\141\x20\x66\141\x2d\x64\141\164\141\142\x61\x73\145\x20\x72\x65\144", "\x64\141\x74\x61\x62\x61\163\145\137\x67\x65\x61\x72\x2e\160\156\x67" => "\146\141\x64\x20\146\x61\55\143\157\147\x20\x79\145\154\x6c\x6f\x77", "\x64\x61\x74\x61\x62\x61\x73\145\x5f\x67\x6f\x2e\x70\156\147" => "\146\141\144\x20\146\141\x2d\x73\151\x67\156\55\x6f\x75\x74\40\x66\x61\55\x66\x6c\151\160\55\150\x6f\x72\151\x7a\157\x6e\164\x61\154\40\147\162\x65\x65\x6e", "\x64\x61\164\141\142\x61\163\x65\x5f\x72\x65\146\x72\x65\163\x68\x2e\x70\x6e\147" => "\146\x61\x64\40\146\141\55\x73\x79\x6e\x63\40\147\x72\145\145\x6e", "\x64\145\x6c\x65\164\145\x2e\147\151\146" => "\x66\x61\40\x66\141\x2d\x6d\151\x6e\165\163\x2d\143\151\x72\x63\154\x65\x20\x72\145\144", "\144\145\x6c\x65\164\x65\137\x62\151\147\x2e\160\156\147" => "\146\x61\x20\146\141\55\155\x69\x6e\165\x73\x2d\x63\x69\x72\x63\x6c\145\x20\162\145\x64", "\144\145\163\x63\162\x69\x70\164\151\x6f\x6e\56\x70\156\x67" => "\x66\x61\144\40\146\x61\55\141\x6c\x69\x67\156\x2d\154\x65\146\164", "\144\x69\163\x6b\56\x70\x6e\147" => "\146\x61\40\x66\141\x2d\x73\x61\x76\145\40\x62\x6c\165\x65", "\x65\x6d\141\x69\154\x2e\160\156\147" => "\x66\x61\x64\40\x66\x61\x2d\145\x6e\166\x65\x6c\157\160\x65\x20\x62\x6c\x75\x65", "\x65\155\141\151\x6c\x5f\145\144\151\164\56\x70\x6e\x67" => "\x66\x61\x64\x20\146\x61\55\x65\156\166\145\x6c\157\160\145\55\157\x70\145\x6e\40\x79\x65\154\x6c\x6f\x77", "\145\155\141\151\x6c\x5f\x67\157\56\x70\156\x67" => "\146\x61\144\40\x66\141\x2d\x70\141\160\145\x72\55\160\x6c\x61\x6e\145\40\x67\x72\145\145\x6e", "\145\x73\x65\162\x76\x69\143\x65\x73\x5f\x63\160\x2e\160\x6e\x67" => "\x66\141\x64\40\146\x61\x2d\x67\x61\x6d\145\55\142\x6f\x61\162\144\55\x61\154\164\40\x66\x61\x2d\162\157\x74\141\164\145\55\x39\x30", "\145\170\160\157\162\x74\56\x70\x6e\x67" => "\146\x61\144\x20\x66\x61\55\146\x69\154\145\x2d\145\170\x70\157\162\164", "\x65\x79\x65\56\160\156\147" => "\x66\x61\x20\x66\x61\55\x65\x79\x65", "\146\x69\x6c\x74\x65\162\x2e\160\x6e\x67" => "\146\141\40\146\x61\55\146\x69\x6c\164\x65\x72", "\x66\x69\154\164\x65\162\137\144\x65\x6c\145\x74\145\x2e\160\156\147" => "\146\141\40\146\141\55\x65\x72\x61\x73\145\162\x20\162\x65\144", "\x66\151\154\x74\x65\x72\137\163\x68\157\x77\x2e\160\156\x67" => "\x66\x61\x64\x20\x66\141\55\145\x79\x65\x20\147\162\145\145\156", "\x66\x6c\x61\147\x5f\142\x6c\165\x65\56\160\156\x67" => "\146\141\x64\40\146\x61\55\146\154\141\x67\x20\x62\154\165\x65", "\x66\x6f\x6c\x64\x65\x72\137\141\x64\x64\x2e\x70\x6e\x67" => "\x66\x61\40\146\x61\x2d\146\x6f\154\144\145\x72\x2d\160\154\165\163\x20\147\162\145\x65\x6e", "\146\157\154\x64\x65\162\x5f\x64\x65\x6c\145\164\145\x2e\x70\156\147" => "\146\141\40\x66\141\x2d\x74\162\x61\x73\x68\55\141\154\x74\x20\162\145\144", "\x66\x6f\x6c\x64\145\162\137\146\x69\x6e\x64\56\160\156\x67" => "\x66\141\x20\146\141\55\146\x69\x6c\x65\55\163\145\141\x72\143\150\x20\142\154\165\x65", "\146\x6f\x6c\144\145\162\137\x67\x6f\x2e\160\x6e\147" => "\146\x61\x20\146\x61\55\x65\170\x74\x65\x72\x6e\141\x6c\55\154\151\x6e\153\x20\x67\162\145\x65\156", "\x66\157\x6c\x64\x65\x72\x5f\147\162\145\171\x2e\x70\156\x67" => "\146\141\144\x20\146\x61\55\x66\157\x6c\144\145\162\x20\147\162\x65\x79", "\x66\x6f\154\x64\145\162\x5f\147\162\x65\171\137\x64\145\x6c\145\x74\145\56\160\156\x67" => "\x66\x61\x64\40\x66\141\x2d\146\x6f\x6c\x64\x65\162\55\x74\151\155\145\163\x20\x72\x65\144", "\x66\157\x6c\x64\x65\x72\x5f\x67\x72\x65\x79\x5f\x66\151\156\x64\x2e\160\x6e\x67" => "\146\141\x64\x20\146\141\55\146\x69\154\145\55\x73\145\141\x72\143\x68\40\142\x6c\x75\x65", "\x66\157\x6c\144\x65\162\137\x67\x72\145\171\137\x67\157\56\160\x6e\147" => "\x66\141\144\x20\x66\x61\x2d\145\170\164\145\x72\x6e\141\154\x2d\154\151\x6e\x6b\x20\147\x72\145\145\x6e", "\146\157\154\144\145\162\x5f\x74\141\x62\x6c\x65\56\160\x6e\147" => "\146\141\40\x66\x61\x2d\x66\x6f\x6c\144\145\x72\x2d\x6f\x70\145\156", "\x66\157\154\144\x65\x72\x5f\x73\x79\x6e\143\150\x72\x6f\x2e\160\156\x67" => "\x66\141\x64\x20\x66\x61\x2d\x73\171\x6e\x63", "\x66\157\154\144\x65\162\x5f\x77\162\x65\156\x63\150\56\x70\156\147" => "\x66\141\40\146\x61\x2d\143\157\x67\x20\171\145\x6c\x6c\x6f\x77", "\x67\x72\x6f\165\160\56\x70\x6e\147" => "\x66\141\x20\x66\141\x2d\165\x73\x65\x72\55\146\162\151\x65\156\144\x73", "\x67\x72\x6f\165\x70\x5f\x61\x64\x64\x2e\x70\x6e\147" => "\146\141\163\40\x66\141\55\160\154\x75\163\x2d\x63\151\162\x63\x6c\x65\40\x67\x72\145\145\156", "\x67\x72\x6f\165\160\137\144\145\x6c\x65\x74\145\56\160\156\x67" => "\x66\141\40\x66\141\55\155\151\x6e\165\x73\55\x63\x69\x72\143\x6c\x65\40\162\x65\144", "\x67\162\x6f\x75\x70\137\x6c\x69\156\153\56\x70\156\x67" => "\x66\x61\x64\x20\x66\141\x2d\x75\x73\145\162\163\x2d\x63\154\141\x73\x73\x20\171\x65\154\x6c\x6f\167", "\150\145\x61\162\164\x2e\x70\156\x67" => "\x66\x61\40\146\x61\55\150\x65\141\x72\x74\x20\x72\x65\144", "\x68\145\x6c\x70\x2e\160\156\147" => "\x66\x61\144\x20\146\141\x2d\161\x75\x65\163\x74\x69\157\156\55\143\151\x72\143\x6c\145\40\x62\x6c\165\x65", "\x68\x74\x6d\x6c\137\144\x65\x6c\x65\164\x65\56\x70\x6e\x67" => "\146\x61\x20\x66\x61\x2d\x65\162\141\x73\x65\x72\40\x72\145\144", "\151\156\x66\157\162\x6d\x61\164\151\157\x6e\56\x70\x6e\x67" => "\x66\141\144\40\146\x61\55\151\156\146\x6f\55\x63\x69\162\143\154\145\40\x62\x6c\165\x65", "\x69\x6e\x66\157\162\155\x61\164\x69\x6f\x6e\137\x62\151\147\x2e\x70\156\147" => "\146\x61\40\146\141\x2d\151\156\x66\x6f\x20\142\154\x75\145", "\x69\160\x6f\x64\137\x63\141\x73\164\56\160\x6e\147" => "\146\x61\144\x20\146\x61\55\x73\x63\x61\156\x6e\145\x72\40\171\145\x6c\154\157\167", "\153\x65\x79\56\160\x6e\x67" => "\x66\x61\x64\x20\146\141\55\x6b\145\171", "\x6b\145\171\x5f\141\x64\144\x2e\x70\156\147" => "\x66\141\40\x66\x61\55\x70\154\x75\x73\x2d\143\x69\x72\143\154\x65\40\x67\162\145\x65\x6e", "\154\x61\x79\145\162\163\56\160\156\x67" => "\x66\x61\x20\146\x61\55\154\151\x73\x74\x2d\x6f\154\x20\x67\162\145\145\x6e", "\x6c\x61\x79\145\162\163\137\144\151\x73\x2e\x70\x6e\147" => "\146\x61\40\x66\x61\55\154\151\163\x74\x2d\157\154\40\x67\162\145\x79", "\x6c\141\x79\157\165\164\56\x70\x6e\x67" => "\146\x61\x64\x20\x66\x61\x2d\x62\x72\157\x77\x73\145\162\x20\142\154\x75\x65", "\x6c\x61\x79\157\165\164\x5f\144\145\154\x65\164\x65\x2e\x70\156\x67" => "\x66\x61\x20\x66\141\x2d\x6d\151\x6e\165\x73\x2d\143\151\x72\x63\154\x65\40\x72\145\x64", "\x6c\151\x67\150\x74\x62\165\x6c\142\x2e\160\x6e\147" => "\146\x61\x20\146\x61\55\154\x69\x67\x68\164\142\x75\154\142\55\157\156\x20\x79\145\x6c\154\x6f\167", "\x6c\x69\x67\150\164\142\165\x6c\142\x5f\x6f\x66\146\56\x70\x6e\x67" => "\x66\x61\144\40\146\141\x2d\x6c\x69\147\x68\164\x62\x75\154\x62\x20\147\162\x65\171", "\154\151\x67\150\164\156\x69\156\x67\x2e\160\x6e\147" => "\146\141\40\146\x61\x2d\142\157\154\x74\x20\x79\145\154\x6c\x6f\x77", "\x6c\x69\x67\x68\x74\x6e\x69\156\147\137\x67\x6f\x2e\160\x6e\147" => "\x66\x61\144\40\x66\x61\55\145\x78\164\x65\x72\x6e\x61\x6c\x2d\x6c\x69\156\x6b\x20\147\x72\x65\145\156", "\154\151\x6e\x6b\137\x61\x64\x64\x2e\160\x6e\x67" => "\146\141\x20\x66\x61\55\154\x69\x6e\153\x20\147\x72\x65\x65\x6e", "\154\x6f\141\x64\x69\156\x67\x2e\x67\151\146" => "\146\141\x20\x66\141\55\163\160\151\x6e\156\145\x72\x20\x66\141\55\160\165\154\163\x65", "\x6c\x6f\162\162\x79\56\x70\x6e\x67" => "\x66\141\x64\x20\x66\x61\55\164\x72\165\x63\x6b", "\154\157\x72\x72\171\137\x61\x64\x64\56\160\156\x67" => "\x66\141\x20\x66\141\55\x70\154\x75\163\55\143\151\162\143\154\145\x20\147\162\x65\145\x6e", "\154\x6f\x72\162\171\x5f\x64\145\154\x65\x74\145\56\x70\x6e\x67" => "\x66\141\40\x66\141\55\155\151\x6e\165\163\x2d\143\x69\x72\143\x6c\x65\x20\162\x65\x64", "\155\145\144\x61\x6c\x5f\x67\157\x6c\x64\x5f\x64\145\154\145\164\145\56\x70\156\x67" => "\146\141\x64\40\146\x61\55\155\x65\x64\x61\154\x20\162\145\x64", "\x6d\145\162\x67\x65\56\x70\x6e\x67" => "\x66\141\x64\40\x66\x61\55\163\x69\x74\145\x6d\141\160\x20\x66\141\x2d\x72\157\164\141\164\x65\55\71\60\x20\x62\x6c\x75\145", "\155\x6f\156\x65\171\x2e\x70\x6e\147" => "\x66\141\x64\x20\x66\141\x2d\x6d\157\x6e\145\x79\55\x62\x69\x6c\154\55\141\x6c\164", "\155\x6f\156\x65\x79\x5f\141\144\x64\x2e\160\x6e\x67" => "\x66\x61\40\146\x61\x2d\160\154\x75\163\55\143\x69\162\143\154\145\x20\147\162\x65\145\x6e", "\155\x6f\156\x65\x79\137\144\x65\x6c\145\164\145\56\x70\x6e\x67" => "\x66\x61\x20\146\x61\55\x6d\151\156\x75\x73\55\143\151\162\143\154\x65\40\162\x65\144", "\x6d\x6f\156\145\x79\x5f\145\x75\162\x6f\56\x70\x6e\x67" => "\146\141\40\x66\141\55\x65\x75\x72\157\55\163\x69\x67\156\40\171\145\x6c\154\x6f\167", "\160\141\143\153\x61\147\x65\56\160\156\147" => "\146\141\40\146\141\55\143\165\x62\x65\x20\x79\145\x6c\x6c\157\167", "\x70\x61\x67\145\137\143\157\x64\145\x2e\160\156\x67" => "\146\x61\144\x20\146\141\55\146\x69\x6c\145\x2d\143\157\144\145\40\x62\154\165\145", "\x70\141\147\x65\x5f\143\157\160\x79\56\160\x6e\x67" => "\146\x61\x64\40\x66\141\x2d\x63\157\x70\171\x20\142\154\x75\x65", "\x70\x61\147\145\137\143\x6f\160\171\x32\56\x70\156\147" => "\146\141\x20\146\141\x2d\x63\157\160\171\40\x62\x6c\x75\x65", "\160\141\x67\x65\x5f\x64\145\154\145\x74\x65\56\x70\156\x67" => "\146\141\x20\x66\141\55\155\151\156\165\x73\x2d\143\x69\162\x63\154\x65\40\162\145\144", "\160\x61\147\145\x5f\145\x64\151\x74\x2e\160\156\147" => "\x66\141\x64\40\146\141\55\145\x64\x69\164", "\x70\x61\147\145\137\x65\170\x63\x65\x6c\x2e\x70\x6e\147" => "\146\141\x64\x20\146\x61\55\146\151\x6c\x65\x2d\143\x73\166\x20\x67\162\x65\145\156", "\160\x61\147\x65\x5f\146\x69\x6e\x64\56\x70\156\x67" => "\x66\x61\x64\x20\x66\141\x2d\146\151\154\x65\x2d\x73\145\141\162\x63\150\40\x62\154\165\145", "\160\x61\x67\145\x5f\x70\144\146\x2e\160\156\147" => "\x66\141\x64\40\x66\x61\x2d\146\151\x6c\x65\x2d\x70\x64\146\x20\142\x6c\x75\145", "\x70\x61\147\x65\137\163\141\166\145\56\160\156\147" => "\x66\141\x20\146\141\x2d\x73\141\x76\145\40\142\154\x75\x65", "\160\x61\x67\x65\x5f\167\150\x69\x74\x65\56\x70\x6e\147" => "\146\141\x64\40\146\141\55\x66\151\x6c\x65\40\167\x68\151\164\x65", "\160\x61\147\145\137\167\150\151\164\x65\x5f\145\x64\151\164\56\x70\x6e\147" => "\146\141\x64\x20\146\141\x2d\x65\x64\x69\x74", "\160\x61\147\x65\137\x77\150\x69\164\145\x5f\145\x72\162\157\162\56\160\x6e\x67" => "\x66\x61\144\x20\x66\141\x2d\145\x78\143\x6c\x61\155\x61\x74\x69\157\156\x2d\x74\x72\x69\141\x6e\147\154\145\40\157\x72\x61\156\147\145", "\160\144\x66\x2e\x67\151\146" => "\146\x61\144\40\x66\141\55\146\x69\154\x65\55\x70\x64\x66", "\x70\x65\x72\x63\145\x6e\x74\56\x70\x6e\147" => "\x66\141\x20\146\141\55\x70\145\x72\x63\x65\156\x74", "\160\151\x63\x74\x75\162\x65\56\x70\x6e\147" => "\146\141\144\x20\x66\141\55\x69\155\x61\x67\x65", "\160\x69\143\x74\165\162\x65\x5f\141\144\x64\x2e\160\156\x67" => "\146\x61\40\146\141\55\x70\154\165\x73\x2d\x63\151\162\143\154\x65\40\x67\162\x65\145\156", "\160\x69\143\164\165\162\145\137\x64\145\154\x65\164\145\x2e\160\x6e\147" => "\x66\141\40\x66\x61\55\x6d\x69\156\165\x73\x2d\143\151\x72\143\154\145\x20\162\145\144", "\x70\x69\143\164\165\x72\x65\x5f\x67\157\x2e\x70\x6e\147" => "\x66\x61\144\x20\146\141\x2d\x65\x78\164\x65\162\x6e\x61\x6c\55\154\151\156\153\x20\147\162\145\145\x6e", "\160\x6c\141\x79\56\160\156\147" => "\x66\x61\x64\x20\146\141\x2d\x70\154\141\171\x2d\143\x69\162\143\x6c\145\x20\142\154\165\x65", "\x70\x6c\165\147\151\x6e\x5f\154\151\x6e\x6b\x2e\160\x6e\147" => "\146\141\x20\x66\x61\55\x70\x75\x7a\172\x6c\x65\x2d\x70\151\x65\143\145\x20\x67\162\145\145\156", "\160\x72\x69\x6e\x74\x65\x72\56\x70\x6e\x67" => "\x66\x61\144\x20\x66\141\x2d\160\162\151\156\164", "\162\141\156\x64\157\155\x2e\x70\x6e\147" => "\x66\141\x20\x66\x61\55\162\x61\156\144\157\x6d", "\x72\145\x61\144\157\x6e\154\171\x2e\x70\x6e\147" => "\x66\141\x64\x20\x66\x61\x2d\x6c\x6f\143\x6b\55\141\154\x74", "\x72\165\142\x79\56\x70\x6e\x67" => "\146\x61\x20\146\x61\55\x67\145\x6d\x20\x72\x65\144", "\x73\143\162\x69\160\164\137\141\144\x64\56\160\156\147" => "\x66\x61\40\x66\x61\55\160\x6c\165\163\x2d\143\151\x72\143\154\145\x20\147\x72\x65\x65\x6e", "\163\x63\x72\151\x70\x74\137\x64\x65\x6c\x65\164\x65\x2e\x70\x6e\x67" => "\146\141\x20\146\141\x2d\x6d\x69\x6e\x75\163\55\143\151\162\x63\154\145\x20\162\x65\x64", "\163\143\x72\x69\x70\164\x5f\145\x64\151\164\56\x70\x6e\147" => "\146\141\x64\40\146\141\x2d\145\x64\151\x74\40\171\x65\154\154\x6f\x77", "\163\143\162\x69\160\164\x5f\x67\157\x2e\160\x6e\147" => "\146\x61\144\40\146\x61\55\145\170\x74\145\162\156\141\x6c\x2d\154\151\x6e\153\40\147\162\x65\145\156", "\163\x63\162\x69\160\164\137\x70\141\x6c\x65\164\x74\145\x2e\x70\156\147" => "\146\x61\144\40\146\x61\x2d\160\141\154\145\x74\x74\145", "\163\145\x61\x72\x63\150\x2e\x67\x69\146" => "\146\x61\40\146\141\55\x73\x65\141\162\143\150", "\163\145\x63\165\162\x69\164\171\56\x70\x6e\147" => "\146\x61\40\146\x61\x2d\163\x68\151\145\154\144\x2d\x61\x6c\x74", "\x73\145\x67\155\x65\x6e\x74\x61\x74\151\x6f\156\56\x70\x6e\147" => "\146\x61\144\40\x66\141\55\x63\x68\141\x72\164\55\160\x69\x65\40\x62\154\x75\145", "\163\145\162\x76\145\162\x2e\x70\156\147" => "\146\141\144\x20\x66\141\55\163\x65\x72\x76\145\x72", "\x73\x68\x61\x70\x65\x5f\155\x6f\166\x65\x5f\x66\162\x6f\x6e\x74\x2e\x70\x6e\147" => "\146\141\x64\40\146\x61\x2d\x62\x72\x69\156\147\x2d\146\162\157\x6e\x74\40\142\154\165\x65", "\163\151\x74\145\155\x61\x70\137\143\x6f\154\157\x72\56\x70\x6e\147" => "\146\x61\40\x66\x61\x2d\x73\151\x74\x65\x6d\141\x70\x20\167\150\x69\164\145", "\x74\x61\142\x6c\x65\137\x61\144\144\x2e\160\156\147" => "\x66\141\x20\x66\141\55\x70\x6c\165\163\x2d\x63\151\162\x63\x6c\x65\x20\147\x72\x65\x65\x6e", "\164\141\142\x6c\x65\x5f\144\x65\x6c\x65\x74\x65\56\x70\156\x67" => "\146\x61\x20\146\141\55\155\x69\156\165\x73\55\143\151\x72\x63\x6c\145\x20\x72\x65\x64", "\164\141\142\154\145\x5f\x65\144\x69\x74\56\x70\156\x67" => "\146\x61\144\x20\146\141\55\145\x64\151\x74\40\171\x65\154\x6c\x6f\x77", "\164\x61\142\154\145\137\x67\145\x61\x72\x2e\x70\156\x67" => "\146\141\x64\40\x66\141\x2d\162\165\154\x65\x72\55\x74\162\x69\141\x6e\x67\x6c\x65", "\x74\141\142\154\145\x5f\x67\x6f\x2e\x70\x6e\147" => "\146\141\x64\x20\146\x61\55\145\x78\164\x65\x72\156\141\x6c\x2d\154\151\x6e\x6b\x20\147\x72\x65\x65\156", "\164\x61\142\154\145\x5f\154\151\147\x68\x74\156\x69\x6e\147\x2e\160\156\x67" => "\x66\141\144\40\146\141\55\142\157\x6c\x74\40\x67\162\145\145\156", "\x74\x61\x62\x6c\145\137\155\165\154\164\151\160\x6c\x65\x2e\160\x6e\147" => "\146\141\x20\x66\141\x2d\154\x61\x79\145\x72\55\147\x72\x6f\165\160", "\x74\141\x62\154\x65\137\x72\x65\x6c\141\x74\151\x6f\156\x73\x68\151\x70\56\160\x6e\147" => "\146\x61\x64\40\146\141\55\x61\x6d\x65\162\151\143\x61\x6e\x2d\163\151\147\x6e\x2d\154\x61\156\x67\x75\x61\147\x65\x2d\151\x6e\164\x65\162\x70\162\145\x74\x69\156\147\x20\x62\154\x75\145", "\x74\141\142\x6c\145\137\x72\x6f\x77\x5f\144\145\x6c\x65\164\x65\x2e\160\156\x67" => "\x66\x61\x20\146\141\55\155\x69\156\x75\163\55\143\151\162\x63\154\145\40\162\x65\144", "\x74\x61\142\154\x65\x5f\162\157\x77\137\144\x65\154\145\x74\145\x5f\x67\162\x65\x79\x2e\160\x6e\x67" => "\146\141\144\40\146\x61\55\165\156\144\157\x20\x67\x72\x65\x79", "\x74\x61\142\154\145\x5f\x72\x6f\167\137\151\x6e\x73\x65\x72\x74\x2e\x70\156\x67" => "\x66\x61\x20\x66\x61\x2d\160\x6c\165\x73\x2d\x63\151\x72\143\x6c\145\x20\147\162\145\145\156", "\x74\141\142\x6c\145\137\x73\x61\x76\145\x2e\160\x6e\147" => "\x66\141\40\x66\x61\55\163\141\x76\145\40\142\154\x75\145", "\164\141\147\x5f\x62\x6c\x75\145\x2e\x70\156\x67" => "\x66\141\144\40\x66\141\55\164\141\147\163", "\x74\x61\x67\137\x62\x6c\165\x65\x5f\x61\144\x64\x2e\160\x6e\x67" => "\146\141\40\146\141\55\x70\x6c\x75\163\55\143\151\x72\143\x6c\145\40\x67\162\x65\x65\156", "\x74\141\147\x5f\x62\154\x75\145\x5f\144\145\154\x65\x74\x65\x2e\x70\x6e\x67" => "\146\141\x20\146\141\x2d\x6d\151\156\x75\x73\x2d\x63\151\x72\143\154\x65\40\x72\x65\x64", "\164\141\147\x5f\142\154\165\x65\137\145\144\151\164\56\160\156\x67" => "\146\141\x64\40\146\141\x2d\145\x64\151\164\x20\x79\145\x6c\154\x6f\x77", "\164\141\x67\x73\x2e\147\151\x66" => "\x66\141\144\x20\x66\141\55\143\154\x6f\165\x64\163", "\x74\145\x78\164\x5f\x6c\x69\163\164\x5f\142\x75\x6c\154\145\x74\163\x2e\x70\156\x67" => "\x66\141\x64\40\146\141\55\154\151\x73\x74\55\x75\x6c", "\x74\x65\170\x74\x5f\x6c\151\x73\164\x5f\x6e\165\155\142\145\162\163\x2e\160\x6e\147" => "\146\141\x64\x20\146\x61\55\154\151\x73\164\55\x6f\154", "\x74\x65\170\164\x66\151\x65\154\x64\137\141\144\x64\56\x70\x6e\x67" => "\146\141\x20\x66\x61\55\160\154\x75\163\55\x63\x69\162\143\154\x65\40\x67\162\145\145\x6e", "\164\145\x78\164\x66\x69\145\x6c\144\137\144\x65\x6c\x65\x74\x65\56\160\156\147" => "\146\x61\x20\146\141\55\155\x69\156\165\163\x2d\143\x69\162\x63\154\x65\x20\x72\145\144", "\164\145\170\164\x66\x69\x65\154\144\x5f\x6b\145\171\x2e\x70\x6e\x67" => "\146\x61\x64\40\x66\141\x2d\x6b\x65\x79\x20\171\145\x6c\154\157\x77", "\x74\x65\170\x74\x66\x69\145\x6c\144\x5f\x72\x65\156\141\x6d\x65\56\160\156\147" => "\x66\x61\x64\40\146\x61\55\151\x2d\143\165\x72\163\x6f\x72", "\x74\x69\143\x6b\56\x70\156\147" => "\146\141\40\146\141\55\143\150\x65\143\x6b\40\147\162\x65\145\156", "\x74\x69\x6d\x65\56\x70\156\147" => "\x66\x61\40\146\x61\x2d\x63\x6c\x6f\x63\x6b", "\164\x72\145\x65\x5f\151\144\x5f\143\x61\x74\145\147\x5f\x64\145\x66\141\x75\x6c\164\56\x70\x6e\x67" => "\146\141\x64\40\x66\x61\55\163\151\164\145\x6d\x61\160", "\x75\x73\x65\162\x2e\x70\156\147" => "\x66\141\40\x66\141\55\165\163\145\x72", "\165\x73\x65\162\137\x63\x6f\x6d\155\145\156\x74\x2e\160\156\147" => "\146\x61\144\40\146\x61\x2d\143\157\x6d\x6d\x65\156\164\x2d\x6c\x69\x6e\145\163", "\165\x73\x65\162\137\x64\145\x6c\x65\x74\145\56\160\156\x67" => "\x66\x61\x20\146\141\x2d\155\x69\x6e\165\x73\x2d\x63\x69\162\143\x6c\x65\40\x72\x65\144", "\165\163\145\x72\x5f\145\x64\x69\x74\x2e\x70\x6e\147" => "\x66\141\x64\x20\146\x61\x2d\x65\x64\x69\x74\40\x79\x65\x6c\x6c\x6f\167", "\x75\163\x65\x72\137\147\x6f\x2e\x70\x6e\x67" => "\146\141\x64\x20\x66\141\x2d\165\163\x65\162\55\x73\x68\x69\145\x6c\x64\x20\x67\162\x65\145\x6e", "\x75\x73\x65\162\x5f\x67\157\x5f\160\x73\56\160\x6e\x67" => "\146\x61\x20\x66\x61\55\160\x72\x65\x73\x74\141\163\150\157\x70", "\x75\x73\x65\x72\137\x6f\162\x61\156\147\145\137\147\x6f\x2e\x70\x6e\x67" => "\146\x61\144\x20\x66\141\x2d\x77\141\x6c\x6b\151\156\x67\x20\157\x72\x61\x6e\147\145", "\165\163\x65\162\x5f\160\x73\x2e\160\x6e\147" => "\x66\x61\x20\146\141\x2d\160\162\x65\x73\x74\141\x73\x68\157\x70", "\x77\x61\156\144\x2e\x70\x6e\x67" => "\146\141\x20\146\x61\x2d\x6d\x61\x67\x69\x63\x20\171\x65\154\x6c\157\x77", "\167\157\x72\154\x64\x5f\x67\x6f\56\x70\156\147" => "\x66\141\x64\x20\146\x61\55\147\154\x6f\x62\145\55\145\165\162\157\x70\x65\40\147\162\x65\145\156", "\167\162\145\156\143\150\137\157\x72\141\156\x67\x65\56\160\156\x67" => "\146\x61\x20\x66\x61\x2d\x77\162\x65\156\x63\150\40\157\162\141\x6e\x67\145", "\172\157\x6f\155\56\160\156\147" => "\x66\141\144\x20\x66\141\x2d\x73\145\141\x72\143\x68", "\172\157\157\155\137\151\x6e\56\x70\x6e\147" => "\146\141\x64\x20\146\x61\55\x73\145\141\x72\143\150\x2d\x70\154\165\163", "\x69\56\147\x69\146" => "\146\141\x64\40\146\x61\x2d\146\151\x6c\145\x2d\151\155\x61\147\145", "\x69\56\152\x70\x67" => "\146\141\x64\40\146\x61\55\x66\151\154\145\x2d\151\155\x61\147\145", "\x66\x69\x78\x5f\x6d\x79\137\160\x72\x65\163\164\x61\x73\150\x6f\160\x2e\x70\156\x67" => "\x66\x61\x64\40\146\141\x2d\x6d\x6f\156\151\x74\x6f\x72\55\150\x65\x61\162\x74\x2d\162\141\164\x65", "\x73\x68\x6f\160\x5f\x63\154\145\x61\156\151\156\147\x5f\157\x70\164\151\x6d\151\172\141\x74\151\x6f\x6e\x2e\x70\156\x67" => "\x66\x61\144\x20\x66\141\x2d\x74\x61\x63\x68\x6f\155\145\164\x65\x72\x2d\x61\154\164\55\146\x61\x73\164\145\163\164", "\x63\x75\x73\x74\157\x6d\x65\162\137\147\x72\157\165\160\x2e\x70\x6e\x67" => "\146\x61\144\40\x66\141\55\x75\163\x65\162\55\146\x72\x69\145\156\x64\163", "\163\160\x65\143\151\x66\x69\143\137\x70\x72\x69\143\145\163\56\160\x6e\147" => "\x66\x61\x64\40\146\141\x2d\155\x6f\x6e\145\171\55\143\x68\145\143\x6b\x2d\x65\144\151\164\55\141\x6c\x74", "\143\141\164\x65\x67\x6f\x72\x69\145\163\56\x70\156\147" => "\146\141\x64\x20\x66\x61\x2d\146\x6f\154\144\145\162\55\x74\162\x65\145", "\144\145\x66\x61\x75\x6c\x74\x5f\x63\x61\x74\145\x67\x6f\162\171\x2e\x70\156\x67" => "\146\141\x64\x20\146\141\x2d\141\x74", "\163\x74\141\x74\163\x2e\x70\156\x67" => "\x66\x61\144\40\x66\141\55\x61\156\x61\x6c\x79\164\x69\x63\x73", "\163\x65\x6f\x2e\x70\x6e\147" => "\x66\x61\144\40\146\x61\x2d\x61\x74", "\x64\157\x77\156\154\x6f\x61\144\137\x66\151\154\x65\56\160\x6e\x67" => "\x66\141\144\x20\x66\x61\55\143\154\157\x75\144\x2d\x64\157\167\156\x6c\157\x61\x64\x2d\141\x6c\x74", "\x73\x75\160\x70\x6c\151\145\x72\163\x2e\160\156\x67" => "\x66\141\x64\x20\146\141\x2d\160\141\x72\141\x63\x68\x75\x74\x65\55\142\157\170", "\160\162\x6f\x70\137\x63\157\x6d\142\151\156\x61\164\x69\x6f\156\x73\x2e\147\x69\146" => "\x66\141\x64\x20\x66\141\x2d\142\141\154\154\x2d\x70\151\154\145", "\151\x6e\166\x6f\151\x63\145\x2e\160\x6e\x67" => "\146\x61\x64\x20\146\141\x2d\x66\151\x6c\x65\55\151\x6e\x76\x6f\151\x63\145", "\x6f\x72\144\145\162\x5f\163\x6c\151\x70\56\160\156\147" => "\146\141\x64\x20\146\141\55\146\x69\x6c\145\x2d\151\156\166\x6f\x69\x63\x65\x2d\x64\157\154\x6c\x61\x72", "\x68\x69\163\x74\x6f\x72\x79\x2e\x70\156\x67" => "\146\141\144\40\x66\x61\55\x62\x6f\x6f\x6b", "\x63\x61\x72\164\137\x67\157\x5f\160\x73\56\x70\x6e\x67" => "\146\141\144\x20\146\x61\x2d\x65\171\145", "\x6e\x6f\164\145\56\160\x6e\147" => "\146\141\x64\x20\x66\x61\x2d\x70\x65\x6e\x2d\146\x61\156\x63\x79", "\x61\x64\x64\162\145\163\163\56\x70\x6e\147" => "\146\141\144\x20\x66\x61\x2d\155\141\x70\55\x6d\x61\x72\153\x65\x64\x2d\141\x6c\x74", "\x69\x6d\160\157\162\x74\x2e\160\156\147" => "\146\141\144\40\x66\x61\x2d\x73\x69\x67\156\55\x69\x6e", "\x64\151\x73\x61\x62\154\145\x2e\160\156\147" => "\x66\x61\40\146\141\55\x6d\x69\x6e\x75\163", "\x66\157\154\x64\x65\x72\137\162\x65\144\x2e\x70\x6e\147" => "\146\x61\40\x66\x61\x2d\146\157\x6c\x64\x65\x72\40\x72\x65\x64", "\146\157\x6c\144\x65\x72\137\x72\145\144\147\x72\x65\x79\56\x70\x6e\147" => "\x66\x61\40\x66\x61\x2d\x66\x6f\154\144\145\162\40\x72\145\x64\147\x72\145\x79", "\x61\155\141\172\157\x6e\56\x70\156\x67" => "\146\x61\144\40\x66\141\x2d\x62\141\144\147\145\55\x64\x6f\x6c\154\141\x72", "\x63\144\151\163\143\157\x75\156\164\56\160\x6e\x67" => "\x66\x61\x64\40\x66\141\x2d\142\141\x64\x67\145\x2d\144\157\154\x6c\x61\162", "\x66\x65\145\144\142\151\x7a\56\160\156\x67" => "\x66\141\144\40\x66\x61\55\142\141\144\147\145\x2d\x64\157\x6c\154\141\x72", "\165\x73\x65\x72\x5f\x70\163\x5f\166\x69\x65\x77\56\160\156\147" => "\x66\141\x64\x20\146\x61\55\145\x79\x65", "\156\157\164\145\137\145\144\x69\164\56\160\156\x67" => "\146\141\x20\146\x61\x2d\x73\x74\x69\x63\153\171\x2d\156\157\164\145", "\x70\x68\157\156\145\137\141\144\144\x2e\160\x6e\147" => "\x66\141\x64\40\x66\x61\x2d\160\x68\x6f\156\145\x2d\154\141\160\x74\157\x70", "\154\x6f\162\162\171\x5f\x75\162\x6c\x2e\160\156\147" => "\x66\x61\x64\40\x66\141\x2d\x72\x61\142\142\x69\164\x2d\146\x61\x73\164", "\151\x6d\x61\147\145\x5f\x64\x65\164\141\151\154\x2e\x70\156\x67" => "\x66\141\x64\x20\x66\x61\x2d\162\x75\x6c\x65\162\x2d\143\x6f\155\x62\151\x6e\145\144"); return $icon_array_link[$item]; } goto KWhK1; mnT6H: W9eE5: goto cw3E4; uIcYa: function arr_unique($array) { return array_keys(array_flip($array)); } goto e2iKU; ovWM5: function cleanXMLContent($buffer) { goto W0N2a; BRluf: return $buffer; goto hoWOX; hoWOX: goto RIMca; goto xoFQj; NXJve: RIMca: goto HsOiJ; TyNud: return ltrim($buffer); goto NXJve; xoFQj: XS7Uz: goto TyNud; W0N2a: if (strpos($buffer, "\x3c" . "\77\x78\155\154") !== false) { goto XS7Uz; } goto BRluf; HsOiJ: } goto DBMyH; gTZUi: function addToHistory($section, $action, $object, $object_id, $lang_id, $table, $newValue, $oldValue = false, $id_shop = null) { goto S4ZK0; sACFx: uVXSp: goto X9f_L; P7LC1: hHGlf: goto DjZPS; kJdXL: if (!($oldValue === false)) { goto YdBzu; } goto RBzlp; mVZSk: $oldValue = $res[$object]; goto qWj8I; YrQUU: if (!_s("\x41\x50\x50\137\x44\x49\x53\101\x42\114\x45\137\x43\x48\x41\116\107\x45\137\110\111\x53\124\117\x52\131")) { goto oyU2W; } goto zKqOO; q6eIL: if (SCMS) { goto hHGlf; } goto PpVYf; DgVYw: GeCA1: goto KA52e; RBzlp: $tableKeys = array(_DB_PREFIX_ . "\160\x72\x6f\x64\x75\143\164" => "\x69\144\137\160\x72\157\x64\165\x63\x74", _DB_PREFIX_ . "\x70\x72\x6f\x64\x75\143\164\x5f\154\x61\156\147" => "\151\x64\137\x70\162\x6f\144\165\143\x74", _DB_PREFIX_ . "\151\x6d\x61\147\145" => "\151\144\x5f\x69\x6d\x61\147\x65", _DB_PREFIX_ . "\x69\x6d\x61\x67\x65\137\154\141\x6e\x67" => "\151\x64\137\x69\x6d\x61\147\145", _DB_PREFIX_ . "\x70\x72\157\x64\165\x63\x74\x5f\x61\x74\164\162\x69\142\165\x74\145" => "\x69\x64\x5f\160\162\157\x64\x75\143\x74\x5f\141\164\164\x72\x69\142\165\x74\x65", _DB_PREFIX_ . "\143\x61\x74\x65\x67\157\162\171\x5f\160\162\x6f\144\x75\143\x74" => "\x30", _DB_PREFIX_ . "\x63\x61\x74\145\x67\157\162\171" => "\151\144\137\x70\x61\162\x65\156\164", _DB_PREFIX_ . "\x61\164\x74\162\x69\x62\165\164\145\x5f\147\162\x6f\x75\160" => "\x69\144\x5f\x61\164\x74\162\151\x62\165\x74\145\x5f\147\162\157\165\160", _DB_PREFIX_ . "\141\x74\164\162\x69\x62\x75\x74\x65\x5f\147\x72\x6f\x75\x70\137\154\141\156\147" => "\x69\144\137\141\x74\164\162\x69\142\165\x74\145\x5f\x67\x72\x6f\x75\x70", _DB_PREFIX_ . "\x61\164\164\162\151\142\165\164\x65" => "\151\144\x5f\x61\164\164\162\x69\142\x75\x74\145", _DB_PREFIX_ . "\x61\x74\x74\162\151\x62\165\x74\x65\x5f\154\141\x6e\x67" => "\x69\144\x5f\x61\164\x74\162\151\x62\165\164\x65", _DB_PREFIX_ . "\x66\x65\x61\x74\x75\x72\145" => "\x69\x64\x5f\x66\145\141\x74\165\162\145", _DB_PREFIX_ . "\x66\x65\141\164\165\x72\x65\137\154\141\156\x67" => "\151\144\137\x66\145\141\x74\165\x72\145", _DB_PREFIX_ . "\146\x65\141\164\x75\x72\x65\137\166\x61\x6c\165\145" => "\x69\x64\137\x66\x65\x61\x74\165\x72\x65\x5f\166\141\x6c\165\145", _DB_PREFIX_ . "\x66\145\141\164\x75\x72\x65\x5f\166\141\x6c\165\145\x5f\x6c\141\x6e\147" => "\x69\144\x5f\x66\x65\x61\164\165\162\x65\x5f\x76\141\154\x75\145", _DB_PREFIX_ . "\x64\151\163\143\x6f\x75\x6e\x74\137\x71\165\141\156\164\151\x74\x79" => "\151\x64\137\144\x69\x73\x63\x6f\165\x6e\x74\x5f\161\165\x61\x6e\x74\151\164\171", _DB_PREFIX_ . "\x73\164\157\x72\x65\x63\157\x6d\137\x70\162\x6f\144\x75\143\164" => "\151\x64\137\x70\162\x6f\144\165\x63\x74", _DB_PREFIX_ . "\x73\x70\145\143\151\x66\x69\x63\x5f\x70\162\x69\x63\145" => "\x69\144\x5f\160\162\x6f\144\x75\x63\164", _DB_PREFIX_ . "\x61\164\164\x61\x63\150\x6d\145\156\164" => "\151\144\137\x61\164\x74\141\x63\x68\x6d\145\x6e\164", _DB_PREFIX_ . "\x61\x74\164\x61\143\x68\x6d\145\x6e\x74\137\x6c\141\156\147" => "\151\144\137\141\164\x74\141\x63\150\x6d\145\156\164", _DB_PREFIX_ . "\143\165\x73\164\157\x6d\151\172\x61\164\x69\157\156\x5f\146\151\x65\x6c\144" => "\x69\144\x5f\x63\165\163\164\x6f\155\x69\x7a\141\164\151\157\156\x5f\x66\x69\x65\x6c\144", _DB_PREFIX_ . "\143\x75\163\164\x6f\155\x69\172\141\x74\151\157\x6e\x5f\146\151\x65\154\144\x5f\154\x61\156\147" => "\151\x64\x5f\143\165\163\164\x6f\x6d\x69\x7a\x61\164\x69\x6f\156\137\x66\x69\145\154\x64", _DB_PREFIX_ . "\x6f\162\144\145\x72\163" => "\151\x64\137\x6f\162\144\145\162", _DB_PREFIX_ . "\157\162\x64\x65\162\137\x64\x65\x74\x61\x69\154" => "\151\144\x5f\x6f\x72\x64\x65\162\x5f\144\145\164\x61\x69\154", _DB_PREFIX_ . "\160\x72\x6f\144\x75\143\x74\137\144\x6f\167\156\154\x6f\x61\x64" => "\x69\x64\137\160\162\157\x64\x75\x63\164\137\144\x6f\167\x6e\x6c\x6f\141\x64", _DB_PREFIX_ . "\141\x64\144\x72\145\x73\163" => "\151\x64\x5f\141\x64\144\162\145\163\163"); goto BRLA3; zUp2G: goto uVXSp; goto P7LC1; gf3tb: $id_shop = pInSQL(SCI::getSelectedShopActionList(true)); goto HPUbj; zKqOO: return false; goto CIrcA; BRLA3: if (!(!empty($object) && !empty($table) && !empty($tableKeys[$table]))) { goto aVl0B; } goto Llgxz; f5ciL: $sql = "\111\x4e\123\x45\122\x54\x20\111\x4e\x54\x4f\x20" . _DB_PREFIX_ . "\163\x74\x6f\162\145\143\157\x6d\137\150\151\163\164\157\162\x79\x20\50\151\144\137\x65\x6d\x70\x6c\x6f\171\x65\145\x2c\x73\x65\143\164\151\157\156\x2c\141\143\164\151\157\156\x2c\x6f\142\152\145\x63\x74\x2c\x6f\x62\x6a\145\x63\x74\x5f\151\144\54\x6c\x61\x6e\x67\137\x69\144\54\144\x62\x74\141\x62\154\145\54\x6f\154\x64\x56\141\x6c\x75\x65\x2c\156\145\x77\x56\141\x6c\165\x65\54\x64\141\x74\x65\x5f\x61\144\x64\x2c\163\x68\157\x70\163\x29\12\x20\40\40\40\40\x20\x20\40\x20\40\40\x20\126\101\x4c\125\x45\x53\x20\50\x27" . (int) $sc_agent->id_employee . "\x27\x2c\47" . psql($section) . "\47\54\x27" . psql($action) . "\47\x2c\x27" . psql($object) . "\x27\54\x27" . (int) $object_id . "\x27\x2c\x27" . (int) $lang_id . "\x27\54\47" . psql($table) . "\x27\x2c\x27" . psql($oldValue, true) . "\x27\54\47" . psql($newValue, true) . "\47\x2c\116\117\x57\x28\51\54\47\54" . $id_shop . "\54\x27\51"; goto sACFx; kf_Y1: if (!(strval($oldValue) != strval($newValue) || $oldValue === null && $newValue === null)) { goto GeCA1; } goto q6eIL; ZOo19: $res = Db::getInstance()->getRow($sql); goto mVZSk; HPUbj: qYnTN: goto f5ciL; PpVYf: $sql = "\111\116\x53\105\122\124\40\111\116\124\117\40" . _DB_PREFIX_ . "\x73\164\157\162\x65\x63\x6f\x6d\x5f\150\x69\x73\x74\x6f\162\171\x20\x28\x69\x64\137\145\155\x70\x6c\157\x79\145\145\x2c\x73\x65\x63\x74\151\157\x6e\x2c\141\143\164\x69\x6f\x6e\x2c\x6f\142\x6a\145\143\164\x2c\157\x62\x6a\145\x63\x74\x5f\x69\144\54\154\141\x6e\147\x5f\x69\144\54\x64\142\x74\x61\x62\x6c\145\x2c\157\x6c\144\x56\141\x6c\x75\x65\x2c\x6e\x65\x77\126\x61\x6c\x75\145\54\144\x61\164\x65\137\141\144\144\51\xa\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\126\x41\x4c\x55\105\123\40\x28\x27" . (int) $sc_agent->id_employee . "\47\54\x27" . psql($section) . "\x27\54\x27" . psql($action) . "\x27\54\x27" . psql($object) . "\x27\x2c\x27" . (int) $object_id . "\47\54\47" . (int) $lang_id . "\47\x2c\47" . psql($table) . "\47\x2c\47" . psql($oldValue, true) . "\x27\54\x27" . psql($newValue, true) . "\x27\x2c\x4e\117\x57\50\51\51"; goto zUp2G; xiSBj: YdBzu: goto kf_Y1; S4ZK0: global $sc_agent; goto YrQUU; X9f_L: Db::getInstance()->Execute($sql); goto DgVYw; Llgxz: $sql = "\123\x45\114\x45\103\124\x20\x60" . bqSQL($object) . "\140\40\x46\122\x4f\115\x20\140" . bqSQL($table) . "\x60\x20\x57\x48\105\122\105\40\140" . bqSQL($tableKeys[$table]) . "\x60\75\47" . (int) $object_id . "\47" . (strpos($table, "\x5f\x6c\x61\x6e\x67") > 0 ? "\40\x41\x4e\x44\x20\x69\144\x5f\x6c\x61\156\147\x3d" . (int) $lang_id : ''); goto ZOo19; DjZPS: if (!empty($id_shop)) { goto qYnTN; } goto gf3tb; CIrcA: oyU2W: goto kJdXL; qWj8I: aVl0B: goto xiSBj; KA52e: } goto ABiL1; eC4t6: function randomPassword() { goto aRKgQ; IV74W: EAoVj: goto JtB3N; BxyIh: ++$i; goto MYtyz; FrmZi: $pass = array(); goto bMBNL; c6TgD: $n = rand(0, $alphaLength); goto AuBty; H8Jqn: $i = 0; goto t_TYi; bMBNL: $alphaLength = strlen($alphabet) - 1; goto H8Jqn; TGb_b: if (!($i < 8)) { goto EAoVj; } goto c6TgD; aRKgQ: $alphabet = "\141\x62\x63\144\145\146\x67\150\x69\x6a\153\154\x6d\156\x6f\160\161\x72\x73\164\165\167\x78\x79\172\101\102\x43\x44\x45\106\107\x48\x49\x4a\113\114\x4d\116\117\x50\x51\x52\x53\x54\x55\x57\130\x59\132\x30\x31\x32\63\64\65\66\67\x38\x39"; goto FrmZi; AuBty: $pass[] = $alphabet[$n]; goto dYsm4; MYtyz: goto gJAu5; goto IV74W; JtB3N: return implode($pass); goto Giwtm; t_TYi: gJAu5: goto TGb_b; dYsm4: FjOkn: goto BxyIh; Giwtm: } goto dDNRK; DReCR: $arrayFlipCache = array(); goto XZiLq; tBKMG: function importConv2Float($field) { goto wOGJH; wOGJH: $field = str_replace(array("\xe2\x82\254", "\x20", "\x25"), '', $field); goto ZCUcL; ZCUcL: $field = str_replace("\x2c", "\56", $field); goto sKnuv; sKnuv: return number_format(floatval($field), 6, "\56", ''); goto F2gOU; F2gOU: } goto rK9UP; fvjTR: function pInSQL($string) { goto SoY1O; Yzmr1: $string = explode("\54", $string); goto CJw4o; SoY1O: $string = pSQL($string); goto Yzmr1; Jorqu: return implode("\x2c", $string); goto Adeez; BN0e2: $string = array_map("\151\156\164\x76\141\x6c", $string); goto Jorqu; CJw4o: $string = array_unique($string); goto BN0e2; Adeez: } goto KeuLu; IgWaw: function exitWithXmlMessageForGrid($message, $type = '') { echo "\x3c\x72\157\167\163\x3e\xa\40\40\x20\x20\74\x68\145\x61\144\76\12\40\40\x20\x20\40\x20\x20\40\x3c\142\x65\146\157\x72\x65\111\x6e\x69\164\76\xa\40\40\40\40\40\x20\40\40\40\x20\40\40\x3c\143\x61\x6c\x6c\40\143\157\155\x6d\x61\x6e\x64\75\42\x61\x74\164\x61\143\x68\x48\x65\141\x64\x65\162\x22\x3e\74\160\141\x72\x61\155\76\x3c\x21\x5b\x43\x44\x41\124\x41\133\x5d\135\76\x3c\x2f\x70\141\162\x61\155\x3e\74\x2f\x63\141\154\154\x3e\12\40\40\40\40\40\x20\40\40\74\x2f\142\x65\x66\157\162\145\x49\156\x69\x74\x3e\12\x20\x20\x20\x20\x20\x20\x20\40\x3c\x63\157\x6c\165\155\156\40\x69\144\x3d\42\x64\141\x74\141\x22\x20\x77\x69\x64\164\150\75\42\x2a\x22\x20\x74\171\x70\x65\x3d\x22\162\x6f\42\40\x61\x6c\151\147\x6e\x3d\42\x63\x65\x6e\164\145\x72\x22\x20\x73\157\162\164\x3d\42\156\141\x22\x3e\x3c\x2f\x63\157\x6c\x75\155\156\x3e\xa\40\x20\x20\40\x3c\x2f\x68\145\x61\144\76\12\x20\x20\40\x20\74\162\x6f\x77\x20\151\144\75\x22\60\x22\x3e\xa\40\x20\40\40\40\x20\x20\40\x3c\143\x65\154\154\40\x63\154\141\163\x73\75\42\155\x65\163\163\x61\147\145\x20{$type}\42\x3e\x3c\41\133\103\x44\x41\x54\x41\133{$message}\x5d\x5d\76\x3c\x2f\143\x65\x6c\154\x3e\xa\x20\40\40\40\x3c\x2f\162\x6f\x77\x3e\12\x3c\57\x72\x6f\x77\163\76"; die; } goto W3440; eQo3W: function makeCallToOurApi($url, $headers = array(), $posts = array(), $timeout = 30) { goto LRxYj; PQ5oA: $licence = SCI::getConfigurationValue("\x53\103\x5f\114\x49\x43\x45\x4e\123\x45\x5f\x4b\105\x59"); goto I7Y0K; peH6c: jBb_b: goto ujaOm; AyrTG: $return = json_decode($ret, true); goto ZT8Z5; zOwR_: bqT_t: goto vER27; ujaOm: foreach ($posts as $key => $value) { goto ZvSQs; DVyV0: Im4C2: goto Gu_1P; Gu_1P: $posts[$key] = $licence; goto sHrQG; h8KQD: M82p2: goto cqtnJ; sHrQG: goto M82p2; goto fPwdQ; purgA: goto M82p2; goto DVyV0; sJKG5: $posts[$key] = $access_details["\x64\x6f\x6d\x61\151\156"]; goto h8KQD; CeGoX: if (strtolower($key) == "\x75\162\154\x63\x61\x6c\x6c\151\x6e\147" && $value == "\x23") { goto nADrT; } goto purgA; cqtnJ: T5rIq: goto ad6xU; fPwdQ: nADrT: goto sJKG5; ZvSQs: if (strtolower($key) == "\x6c\x69\x63\x65\156\x73\145" && $value == "\43") { goto Im4C2; } goto CeGoX; ad6xU: } goto zOwR_; ZT8Z5: return $return; goto n0lJn; LRxYj: global $access_details; goto n8eb8; vER27: $ret = sc_file_get_contents("\150\x74\x74\x70\x73\x3a\57\57\x61\160\x69\56\163\x74\x6f\162\145\143\157\x6d\155\141\x6e\144\145\162\x2e\x63\157\x6d\x2f" . $url, "\x50\117\x53\124", $posts, $headers, $timeout); goto AyrTG; n8eb8: $return = null; goto PQ5oA; I7Y0K: foreach ($headers as $key => $value) { goto hry5W; p56TO: goto G712L; goto mrHlG; V3Zlg: $headers[$key] = $access_details["\x64\157\155\x61\x69\156"]; goto aYflH; meEhF: JJv8D: goto f3r2j; mrHlG: ciDdR: goto akGDn; wDXIe: Zmw8u: goto V3Zlg; hry5W: if (strtolower($key) == "\154\151\143\145\156\x73\x65" && $value == "\x23") { goto ciDdR; } goto OJfNF; MsWTB: goto G712L; goto wDXIe; akGDn: $headers[$key] = $licence; goto MsWTB; OJfNF: if (strtolower($key) == "\x75\162\x6c\x63\141\154\154\151\x6e\147" && $value == "\43") { goto Zmw8u; } goto p56TO; aYflH: G712L: goto meEhF; f3r2j: } goto peH6c; n0lJn: } goto pm0EV; YVBnv: function isUrl($string) { goto qXMSe; jIg8j: fMcL9: goto nZdmt; qXMSe: $parsed_url = parse_url($string); goto uLtEi; nZdmt: return false; goto Y_pUj; SgbiF: return $parsed_url; goto jIg8j; uLtEi: if (!(array_key_exists("\163\x63\x68\145\x6d\145", $parsed_url) && in_array($parsed_url["\x73\143\x68\145\155\x65"], array("\150\x74\164\x70", "\150\x74\164\160\x73")))) { goto fMcL9; } goto SgbiF; Y_pUj: } goto DReCR; g3OHD: function scrape_phpinfo($all, $target) { goto BoAv8; oeBPb: $slash = "\x2f"; goto PXotC; BoAv8: $all = explode($target, $all); goto mrB6K; kcKxK: $all = implode($slash, $all); goto wuf5U; XscxE: return false; goto MNwQo; mrB6K: if (!(count($all) < 2)) { goto rWHgl; } goto ZcynF; xYppE: $all = trim($all[0]); goto Bgv3R; e8Bkj: if (!($target == "\x53\103\122\111\120\124\137\106\111\114\x45\x4e\101\115\x45")) { goto r5nvs; } goto oeBPb; bzFm7: $all = trim($all[strtolower($all[0]) == "\167\151\156\144\157\167\163" && strtolower($all[1]) == "\156\x74" ? 2 : 1]); goto pk8F4; ZcynF: return false; goto zpKCD; wuf5U: r5nvs: goto uNswh; pk8F4: BEc3V: goto e8Bkj; jQK6t: array_pop($all); goto kcKxK; LkTEB: $all = explode("\40", $all); goto bzFm7; Bgv3R: if (!($target == "\x53\171\163\x74\x65\x6d")) { goto BEc3V; } goto LkTEB; MNwQo: iq4D3: goto W4fjC; zpKCD: rWHgl: goto vkFzk; uNswh: if (!(substr($all, 1, 1) == "\135")) { goto iq4D3; } goto XscxE; vkFzk: $all = explode("\12", $all[1]); goto xYppE; PXotC: $all = explode($slash, $all); goto jQK6t; W4fjC: return $all; goto Suacv; Suacv: } goto unbs3; IJk7L: function getShopProtocol() { goto kecWV; DaJC8: $strl = Tools::strtolower($_SERVER["\123\123\x4c"]); goto QqohW; HHTZv: TqLge: goto WH71a; rLBBw: goto JmWFK; goto elqsR; oBok0: $proto = "\150\x74\164\x70"; goto gm82V; gm82V: if (isset($_SERVER["\x48\x54\124\120\x53"])) { goto gjIyB; } goto RuAdk; ato4O: IyyrN: goto iGip3; IuzOG: $strl = Tools::strtolower($_SERVER["\122\x45\x44\111\x52\105\103\124\137\110\x54\x54\120\123"]); goto iexnk; ighYK: goto hh1NB; goto WAWOP; lsZL3: return Tools::getShopProtocol(); goto flWs1; MbFiQ: $proto = "\x68\164\x74\160\x73"; goto bTHD7; xIxwJ: Ougld: goto DaJC8; VPxGK: KKJCr: goto RGQAc; hlF1v: gjIyB: goto Gq2TL; N9Yv6: UvoGL: goto IuzOG; tr2dC: goto JmWFK; goto hlF1v; lvNx9: F4yas: goto KvRvy; NvvbA: goto JmWFK; goto xIxwJ; lqMVM: if (!in_array($strl, array(1, "\x6f\x6e"))) { goto F4yas; } goto Pp15Y; Pp15Y: $proto = "\x68\164\164\x70\163"; goto lvNx9; uOltO: if (isset($_SERVER["\x48\x54\124\120\137\x58\137\106\117\x52\127\101\x52\104\105\x44\137\120\x52\117\x54\x4f"])) { goto IyyrN; } goto tr2dC; bTHD7: EWeZ3: goto rLBBw; QqohW: if (!in_array($strl, array(1, "\x6f\x6e"))) { goto TqLge; } goto fLKal; h93u1: if (isset($_SERVER["\122\105\x44\111\122\105\103\124\137\x48\x54\124\120\123"])) { goto UvoGL; } goto uZ2nW; WAWOP: tqlw_: goto lsZL3; B0HnF: lrOf_: goto NvvbA; RGQAc: goto JmWFK; goto ato4O; uZ2nW: if (isset($_SERVER["\x48\x54\124\x50\x5f\x53\123\x4c"])) { goto Xz1gi; } goto uOltO; UR8u1: $proto = "\150\x74\x74\x70\x73"; goto VPxGK; i03aZ: return $proto . "\x3a\57\57"; goto ighYK; L61Zz: $strl = Tools::strtolower($_SERVER["\x48\x54\x54\120\x5f\123\123\114"]); goto ZEWWV; kecWV: if (version_compare(_PS_VERSION_, "\x31\x2e\65\56\x30\x2e\62", "\76\75")) { goto tqlw_; } goto oBok0; fLKal: $proto = "\x68\x74\164\160\163"; goto HHTZv; u9C4B: if (!in_array($strl, array(1, "\157\x6e"))) { goto lrOf_; } goto uJTXa; flWs1: hh1NB: goto zqpZh; ZEWWV: if (!in_array($strl, array(1, "\157\156"))) { goto KKJCr; } goto UR8u1; KvRvy: JmWFK: goto i03aZ; uJTXa: $proto = "\x68\x74\164\160\x73"; goto B0HnF; elqsR: Xz1gi: goto L61Zz; RuAdk: if (isset($_SERVER["\123\123\x4c"])) { goto Ougld; } goto h93u1; WH71a: goto JmWFK; goto N9Yv6; Gq2TL: $strl = Tools::strtolower($_SERVER["\x48\x54\124\120\123"]); goto u9C4B; iGip3: $strl = Tools::strtolower($_SERVER["\110\124\124\x50\x5f\x58\x5f\x46\117\122\x57\101\122\104\x45\x44\137\x50\x52\x4f\124\117"]) == "\x68\164\164\160\163"; goto lqMVM; iexnk: if (!in_array($strl, array(1, "\x6f\156"))) { goto EWeZ3; } goto MbFiQ; zqpZh: } goto t2gLE; u_8gG: function utf8_encode_array(&$array) { goto mp6aa; fA6G4: array_walk($array, "\165\x74\146\x38\137\145\x6e\x63\157\x64\x65\x5f\141\x72\x72\141\x79"); goto bWoAO; EE4l0: udtif: goto fA6G4; mp6aa: if (is_array($array)) { goto udtif; } goto oj_eb; bWoAO: qQ2xJ: goto EBj1B; oj_eb: $array = utf8_encode2($array); goto cRJI5; cRJI5: goto qQ2xJ; goto EE4l0; EBj1B: } goto cvZbF; hS7RR: echo "\146\151\x6c\145\x5f\147\145\164\137\143\157\156\164\x65\x6e\164\x73\40\x3a\x20\x4b\117\74\142\x72\57\76"; goto yiQQc; KWhK1: function recursive_copy($src, $dst) { goto S1tjc; t5Dwt: if (!($file = readdir($dir))) { goto npd33; } goto oCL0o; HCiiD: @mkdir($dst); goto dW2Gs; dW2Gs: rkz45: goto t5Dwt; Cmcyw: ouXSI: goto Qe4DG; GCRBN: npd33: goto ve6Wy; ve6Wy: closedir($dir); goto FhOlF; Qe4DG: Nu0Wl: goto wUQ9h; oCL0o: if (!($file != "\56" && $file != "\x2e\56")) { goto Nu0Wl; } goto Iutn9; aMCM3: copy($src . "\57" . $file, $dst . "\57" . $file); goto D0Nps; S1tjc: $dir = opendir($src); goto HCiiD; Iutn9: if (is_dir($src . "\57" . $file)) { goto U5FJ1; } goto aMCM3; wUQ9h: goto rkz45; goto GCRBN; pwh_E: U5FJ1: goto HH3J5; D0Nps: goto ouXSI; goto pwh_E; HH3J5: recursive_copy($src . "\57" . $file, $dst . "\57" . $file); goto Cmcyw; FhOlF: } goto IJk7L; IrB5x: function dirCheckWritable($dir, &$files) { goto l0v6E; eqlAR: if (!is_dir($dir)) { goto Om2e2; } goto YQvOT; kxFy_: aXIdr: goto eqlAR; WEzql: y39QB: goto pGQtz; pGQtz: Om2e2: goto pEIQP; djxhR: $files[] = $dir; goto kxFy_; YQvOT: $objects = scandir($dir); goto aJy40; iKY9D: if (is_writable($dir)) { goto aXIdr; } goto djxhR; aJy40: foreach ($objects as $object) { goto Od1XO; Aa5Xj: if (!is_dir($dir . "\x2f" . $object)) { goto AoPmc; } goto LLgCf; TpnVz: e7e_D: goto Ln_o6; LLgCf: dirCheckWritable($dir . "\x2f" . $object, $files); goto zAW41; PQEzp: if (!($object == "\x54\x68\165\x6d\x62\163\56\144\x62" || $object == "\144\145\163\x6b\x74\157\x70\x2e\x69\156\x69")) { goto VGMxb; } goto Pl5M6; tZZfn: Fz1vi: goto Aa5Xj; zAW41: AoPmc: goto oJHOd; Od1XO: if (!($object != "\x2e" && $object != "\x2e\x2e")) { goto CC72w; } goto PQEzp; KgN6t: $files[] = $dir . "\57" . $object; goto tZZfn; Pl5M6: @unlink($dir . "\x2f" . $object); goto ZPfUh; ZPfUh: goto e7e_D; goto m7Ir0; oJHOd: CC72w: goto TpnVz; wfHke: if (is_writable($dir . "\57" . $object)) { goto Fz1vi; } goto KgN6t; m7Ir0: VGMxb: goto wfHke; Ln_o6: } goto WEzql; l0v6E: $dir = rtrim($dir, "\57"); goto iKY9D; pEIQP: } goto Wnq1F; cvZbF: function escapeCharForPS(&$str, $html = false) { goto GbR2v; N3hjL: goto hkrpi; goto PHKHh; ZOKHm: $str = str_replace("\x3c", '', $str); goto r05Uj; f2b_b: $str = str_replace(utf8_encode("\342\200\xa6"), "\x2e\56\x2e", $str); goto rnL5Q; DfygT: $str = str_replace("\76", '', $str); goto ZOKHm; hDI4h: $str = str_replace(utf8_encode("\302\264"), "\x27", $str); goto FiM21; S0O0Q: $str = str_replace("\342\202\254", "\x26\x65\165\x72\157\x3b", $str); goto R_5GC; GbR2v: if (!$html) { goto Dfyn7; } goto S0O0Q; r05Uj: hkrpi: goto hDI4h; FiM21: $str = str_replace(utf8_encode("\xe2\200\231"), "\47", $str); goto f2b_b; R_5GC: $str = str_replace(utf8_encode(chr(hexdec("\x38\x30"))), "\46\145\165\162\157\x3b", $str); goto N3hjL; PHKHh: Dfyn7: goto DfygT; rnL5Q: } goto ygxDA; ckvYL: function getGridImageHeight() { return 80; } goto ovWM5; reGY5: function formatDateTimeToDisplay($dateTime) { goto OelaR; k6sl9: $times = explode("\72", $time); goto ibsnT; OelaR: list($date, $time) = explode("\x20", $dateTime); goto k6sl9; ibsnT: return $date . "\40" . $times[0] . "\x3a" . $times[1]; goto f2lFC; f2lFC: } goto NUjug; QbdM2: goto mkvgK; goto mnT6H; ojcY_: function isJson($string) { json_decode($string); return json_last_error() == JSON_ERROR_NONE; } goto YVBnv; VnvyA: if (!isset($_GET["\x74\x72\141\156\x73\160\x6f\162\164"])) { goto RUiX5; } goto xQvcr; rK9UP: function importConv2Date($field) { goto FBT1f; XavvH: $fieldArr = explode("\x2d", $field); goto Qftcc; TrX32: $time_exp[2] = "\x30\x30"; goto h656A; LDCqW: DtwvH: goto nZ1Jr; X2kG3: if (!(strlen($fieldArr[2]) > 4)) { goto Ipn2g; } goto RfGom; AJQ0s: Pny8v: goto TnV1O; lZqTT: $time_exp = explode("\72", $time_init[1]); goto z_SXA; OP0fk: $field = $fieldArr[2] . "\x2d" . $fieldArr[1] . "\55" . $fieldArr[0] . (!empty($time_final) ? "\x20" . $time_final : ''); goto LDCqW; GLQgy: if (empty($time_init[1])) { goto Pny8v; } goto lZqTT; RfGom: $time_init = explode("\40", $fieldArr[2]); goto u5Niq; h656A: $time_final = implode("\72", $time_exp); goto u6RQs; TnV1O: iBhT6: goto wbyev; bCr3q: return $field; goto C0NkF; ZsabR: K4t7f: goto bCr3q; CTr9H: $field = str_replace("\x2e", "\x2d", $field); goto XavvH; SuxZK: $fieldArr[2] = $time_init[0]; goto GLQgy; u6RQs: Lesyi: goto AJQ0s; z_SXA: if (array_key_exists(2, $time_exp)) { goto Lesyi; } goto TrX32; Qftcc: $time_final = null; goto X2kG3; wbyev: Ipn2g: goto KpHlj; em_6R: $field = date("\x59\55\155\55\144"); goto ZsabR; u5Niq: if (!(count($time_init) == 2)) { goto iBhT6; } goto SuxZK; nZ1Jr: if (!($field == "\x30\60\60\60\x2d\x30\x30\55\x30\60")) { goto K4t7f; } goto em_6R; FBT1f: $field = str_replace("\57", "\x2d", $field); goto CTr9H; KpHlj: if (!(strlen($fieldArr[0]) == 2 && strlen($fieldArr[1]) == 2 && strlen($fieldArr[2]) == 4)) { goto DtwvH; } goto OP0fk; C0NkF: } goto dr0YY; prQY8: function cleanLineBreakForHtmlFieldInGrid($html) { goto KCVju; C81E8: return trim($html); goto Y38OW; KCVju: $patternList = array("\x23\x5b\xd\x7c\xa\135\x3f\50\74\142\162\133\x20\135\x3f\133\134\57\135\77\76\51\133\15\x7c\12\x5d\x3f\43\x69" => "\44\x31", "\43\x28\x3c\134\57\134\x77\x2b\76\51\133\15\174\12\x5d\x7b\x31\x2c\x35\x7d\50\74\134\167\53\76\51\x5b\15\x7c\12\x5d\x3f\x23\x69" => "\44\x31\44\62", "\43\x28\74\134\x77\53\76\51\x5b\xd\x7c\12\x5d\173\x31\54\65\175\x28\x2e\x2a\51\50\x3c\x5c\57\134\167\x2b\76\51\x23\x69" => "\x24\61\x24\x32\44\x33"); goto Fuj16; Fuj16: foreach ($patternList as $pattern => $replacement) { $html = preg_replace($pattern, $replacement, $html); Mtua_: } goto NP5np; NP5np: blCZV: goto C81E8; Y38OW: } goto Y0B9G; zHPjY: function generateToken($string = null, $size = null) { goto qTLzm; aik1Z: IQjQ9: goto nt5uJ; HhFnA: viMRh: goto nsCIc; utMSn: $string = date("\131\155\x64\x48\151\x73") . "\x74\157\x6b\x65\156" . rand(0, 100); goto aik1Z; qTLzm: if ($string) { goto IQjQ9; } goto utMSn; nsCIc: return hash("\x73\150\x61\x32\x35\x36", $string . _COOKIE_KEY_); goto I_Y5n; nt5uJ: if (!$size) { goto viMRh; } goto i8Wzw; i8Wzw: return Tools::substr(hash("\x73\x68\141\62\65\x36", $string), 0, $size); goto HhFnA; I_Y5n: } goto prQY8; PlYvy: function sc_array_key_exists($key, &$array) { goto G6r7k; Akv37: return $return; goto TEAp3; b7YHA: goto NqPg1; goto J1rYk; LdsF5: $return = true; goto bB8Rb; GfQxK: NqPg1: goto Akv37; G6r7k: $return = false; goto cCUZD; j0pLq: if (is_array($array) && array_key_exists($key, $array)) { goto qPEwc; } goto vNkBf; vNkBf: goto NqPg1; goto sFeOH; sFeOH: HwgPQ: goto QaWaS; cCUZD: if (isset($array[$key])) { goto HwgPQ; } goto j0pLq; J1rYk: qPEwc: goto LdsF5; bB8Rb: $array[$key] = ''; goto GfQxK; QaWaS: $return = true; goto b7YHA; TEAp3: } goto kKXGr; e2iKU: function getImgPath($id_product, $id_image, $size = '', $format = "\152\x70\x67") { goto oVdmN; yxYh2: $folder = implode("\x2f", $folder_array) . "\57"; goto kpTe7; XsAi4: wLgg2: goto jdSAL; MD8cI: if (!($success && !file_exists(_PS_PROD_IMG_DIR_ . $folder . "\151\156\x64\x65\x78\x2e\160\150\x70") && file_exists(_PS_PROD_IMG_DIR_ . "\x69\156\x64\145\170\x2e\160\150\160"))) { goto B0H7W; } goto IeoGD; IeoGD: @copy(_PS_PROD_IMG_DIR_ . "\x69\x6e\x64\x65\x78\56\x70\150\x70", _PS_PROD_IMG_DIR_ . $folder . "\151\x6e\x64\x65\x78\56\160\x68\160"); goto suvcn; RyfGK: if (file_exists(_PS_PROD_IMG_DIR_ . $folder)) { goto uVv8v; } goto ZBbhR; jPGKL: return $id_product . "\55" . $id_image . ($size != '' ? "\55" . $size : '') . $format; goto J4oid; jf4Qj: $folder_array = str_split((string) $id_image); goto BKOG1; j_UvT: $success = @mkdir(_PS_PROD_IMG_DIR_ . $folder, 493, true) || @chmod(_PS_PROD_IMG_DIR_ . $folder, 493); goto MD8cI; j_TUA: if (!version_compare(_PS_VERSION_, "\61\x2e\x35\56\62", "\76\x3d")) { goto kzK4K; } goto jf4Qj; suvcn: B0H7W: goto Q72VP; N1M_2: return $id_product . "\55" . $id_image . ($size != '' ? "\x2d" . $size : '') . $format; goto h5cb3; h5cb3: aCWGA: goto j_TUA; OM8BU: kzK4K: goto L_Hcd; kpTe7: if (file_exists(_PS_PROD_IMG_DIR_ . $folder)) { goto yvnuV; } goto j_UvT; h__yQ: @copy(_PS_PROD_IMG_DIR_ . "\151\x6e\x64\145\170\x2e\x70\150\160", _PS_PROD_IMG_DIR_ . $folder . "\x69\x6e\144\x65\x78\x2e\160\x68\160"); goto XsAi4; aaq34: $format = "\56" . $format; goto NYUr0; L_Hcd: $folder_array = str_split((string) $id_image); goto yxYh2; MvPyS: return $folder . $id_image . ($size != '' ? "\x2d" . $size : '') . $format; goto OM8BU; Q72VP: yvnuV: goto qIpsK; qIpsK: return $folder . $id_image . ($size != '' ? "\x2d" . $size : '') . $format; goto jPGKL; NYUr0: wE4no: goto geXNX; geXNX: if (!(_s("\x43\x41\x54\x5f\x50\x52\x4f\x44\137\111\x4d\107\137\x4f\x4c\x44\x5f\120\x41\124\x48") || file_exists(_PS_PROD_IMG_DIR_ . $id_product . "\55" . $id_image . ($size != '' ? "\x2d" . $size : '') . $format))) { goto aCWGA; } goto N1M_2; jdSAL: uVv8v: goto MvPyS; ZBbhR: $success = @mkdir(_PS_PROD_IMG_DIR_ . $folder, 493, true) || @chmod(_PS_PROD_IMG_DIR_ . $folder, 493); goto IFT1h; IFT1h: if (!($success && !file_exists(_PS_PROD_IMG_DIR_ . $folder . "\x69\156\144\x65\170\56\x70\x68\160") && file_exists(_PS_PROD_IMG_DIR_ . "\x69\156\144\x65\170\x2e\x70\x68\x70"))) { goto wLgg2; } goto h__yQ; oVdmN: if (!($format != '')) { goto wE4no; } goto aaq34; BKOG1: $folder = implode("\x2f", $folder_array) . "\57"; goto RyfGK; J4oid: } goto qFbe8; nb2WY: echo "\141\x6c\x6c\x6f\x77\137\165\x72\154\137\146\x6f\x70\145\156\40\72\40" . ini_get("\x61\154\x6c\x6f\167\x5f\165\x72\154\137\x66\x6f\x70\x65\x6e") . "\74\x62\162\57\x3e"; goto BZyvT; cw3E4: echo "\x63\x75\162\154\x5f\151\x6e\x69\x74\x20\x3a\40\117\113\x3c\x62\x72\57\76"; goto Q4_3U; unbs3: function access_details() { goto Gk55G; EFvRr: $phpinfo = ob_get_contents(); goto DFZ0f; iM8k7: return $access_details; goto SKvPN; Sci2o: YInQO: goto iM8k7; AMqo9: $access_details["\144\157\x6d\141\x69\x6e"] = scrape_phpinfo($list, "\110\x54\x54\120\137\x48\117\x53\124"); goto Ld9qr; Gk55G: ob_start(); goto Wu0Ps; bk4ys: $list = strip_tags($phpinfo); goto yezW7; Ld9qr: $access_details["\151\160"] = scrape_phpinfo($list, "\x53\105\122\x56\x45\x52\x5f\101\x44\104\122"); goto M5Fpe; XviWk: $access_details["\x73\x65\162\166\x65\x72\137\x69\x70"] = @gethostbyname($access_details["\x73\145\x72\166\x65\x72\137\150\x6f\163\x74\x6e\x61\x6d\x65"]); goto gB9Fx; yezW7: $access_details = array(); goto AMqo9; Jb3X4: $access_details["\151\160"] = $access_details["\151\x70"] && strlen($access_details["\151\160"]) < 50 ? $access_details["\151\x70"] : $_SERVER["\123\105\x52\x56\x45\122\x5f\x41\x44\104\x52"]; goto BZZ5V; gzWAk: $access_details["\163\x65\162\x76\145\x72\x5f\150\157\x73\x74\x6e\x61\x6d\x65"] = scrape_phpinfo($list, "\123\171\163\x74\x65\x6d"); goto XviWk; DFZ0f: ob_end_clean(); goto bk4ys; gB9Fx: $access_details["\x64\157\155\x61\151\156"] = $access_details["\144\157\x6d\x61\x69\x6e"] && strlen($access_details["\x64\x6f\x6d\x61\x69\156"]) < 50 ? $access_details["\x64\157\155\x61\151\x6e"] : $_SERVER["\110\124\x54\x50\137\110\x4f\x53\124"]; goto Jb3X4; BZZ5V: $access_details["\x64\x69\162\x65\143\x74\157\x72\x79"] = $access_details["\144\x69\162\145\x63\164\x6f\x72\171"] ? $access_details["\144\151\162\145\x63\x74\x6f\162\x79"] : realpath(SC_DIR . "\x2e\x2e\x2f"); goto I0qZT; I0qZT: foreach ($access_details as $key => $value) { $access_details[$key] = $access_details[$key] ? $access_details[$key] : "\x55\x6e\153\156\x6f\167\x6e"; n239U: } goto Sci2o; Wu0Ps: @phpinfo(INFO_GENERAL); goto EFvRr; M5Fpe: $access_details["\x64\x69\162\x65\x63\164\x6f\162\171"] = scrape_phpinfo($list, "\123\x43\122\111\x50\x54\x5f\x46\x49\114\x45\x4e\101\x4d\105"); goto gzWAk; SKvPN: } goto uIcYa; GcPJV: echo "\143\165\x72\154\137\x69\x6e\151\164\x20\x3a\x20\113\117\x3c\142\162\57\76"; goto QbdM2; Q4_3U: mkvgK: goto nb2WY; BrJcD: function removeOldScItems() { goto Pif6D; KaGZE: Gdr8q: goto Bx1IT; Pif6D: $oldScToolsFolderList = array("\146\151\170\155\171\160\162\x65\163\164\x61\163\x68\x6f\x70", "\x77\151\x6e\137\147\x72\151\144\x73\x5f\145\144\x69\x74\157\162", "\167\151\x6e\137\147\162\x69\x64\163\137\145\144\x69\164\157\162\137\160\162\157", "\x70\x6d\x63\x61\x63\150\145\155\141\x6e\141\147\145\162", "\x6d\x75\154\x74\x69\160\154\145\146\145\141\164\x75\162\x65\163", "\x73\145\x67\155\145\156\164\141\164\x69\157\156", "\163\x65\x67\x6d\x65\156\x74\x70\x72\157\160\145\x72\164\x69\145\x73", "\x61\146\x66\x69\154\151\x61\164\x69\x6f\156"); goto ZrJA8; ZrJA8: foreach ($oldScToolsFolderList as $scToolsFolderPath) { goto wUftE; I4JiQ: KHyqR: goto WiBrQ; wUftE: if (!file_exists(SC_TOOLS_DIR . $scToolsFolderPath)) { goto uqxdT; } goto p1BQi; Og1vl: uqxdT: goto I4JiQ; p1BQi: dirRemove(SC_TOOLS_DIR . $scToolsFolderPath); goto Og1vl; WiBrQ: } goto KaGZE; Bx1IT: } goto IgWaw; CwQIE: RUiX5: goto BrJcD; uVQ_0: echo "\x66\151\154\145\x5f\147\x65\164\137\143\x6f\x6e\x74\x65\156\x74\x73\40\72\40\117\x4b\x3c\x62\x72\x2f\x3e"; goto kSezy; jfA9t: function getIntercomHash($sc_agent) { goto CORdA; POgEX: return null; goto B4gki; O_0_A: Bk43G: goto POgEX; QEin1: $prohibited = array("\x62\x66\x33\63\63\x30\x35\145\61\67\62\144\x63\x30\60\x65\x39\x37\143\60\x61\x30\144\60\145\61\141\x62\67\70\x62\x66\x36\x35\143\x65\x34\71\x61\67\65\143\x64\65\62\x35\x36\x38\64\67\141\145\x66\x39\142\143\x36\x61\x34\64\x62\61\62\66", "\142\142\146\x36\143\146\63\70\x64\145\x61\x62\x62\x39\65\146\x63\x30\x37\145\141\64\64\145\142\145\x64\145\60\x38\146\x32\144\x64\x65\145\x64\65\x38\145\66\x61\x35\60\67\x38\146\62\63\62\x30\x39\146\x35\64\x65\x37\x37\66\70\60\x31\145\70", "\146\x30\x32\x33\x35\x35\145\71\70\x62\x37\71\60\62\x35\x61\x33\71\x61\61\x32\x33\141\x34\x63\141\x63\146\62\x64\144\x34\144\x32\x62\143\x62\64\71\67\x35\x38\65\x36\66\x31\x36\x66\x32\61\66\141\63\141\x64\70\x34\144\x62\70\x63\67\x33\x63", "\x64\x31\x39\x32\x38\60\142\x36\x33\70\x62\x39\x65\71\144\x38\x33\66\146\x30\x61\x37\142\x62\x32\x31\x66\x37\x35\x33\x34\x30\x66\x38\146\62\63\x62\146\x37\66\141\145\60\x62\x64\71\146\x39\71\x30\x30\x62\146\x65\x32\x35\67\142\x66\x30\61\x38\145", "\60\70\145\71\71\65\x64\66\141\61\65\142\x31\x34\146\65\64\x66\x64\61\x62\x36\x33\x39\67\61\71\x66\x35\146\x36\61\x38\142\66\x65\62\x33\x35\145\x31\x36\146\x38\x62\63\x34\63\x38\145\x61\62\71\x38\66\x36\65\65\60\x39\x61\x38\66\x37", "\x34\x36\x62\141\63\x36\x37\62\x36\x33\x64\x64\145\x31\x66\x30\x31\64\71\71\x33\x65\66\x33\67\62\x37\146\x32\62\145\71\64\x37\141\65\64\x61\143\70\63\x66\x35\x31\x30\61\71\62\145\x36\x37\142\x62\x65\x64\x37\x36\146\x32\146\x35\64\142\x35", "\x39\x65\67\63\x39\x63\x36\65\65\x33\x65\141\x66\x66\145\x31\x61\146\142\142\x35\x62\66\x35\x63\145\x36\x62\63\x30\66\x38\x34\x63\x38\62\x62\x66\61\65\70\142\141\71\141\x66\66\145\x34\x64\67\x66\x36\x35\x37\x37\66\60\x32\x63\x63\62\64\146", "\x66\x32\63\x35\x32\x32\x38\141\62\71\66\x66\62\x36\x61\66\142\x35\x65\x35\x64\66\62\x61\x35\62\x33\x39\x62\x39\x30\143\65\x64\71\x61\61\x62\63\x63\x61\x39\71\x62\60\x39\70\70\70\71\x62\143\144\67\62\63\x36\66\70\65\x61\66\x34\x61", "\x35\61\143\x37\x37\66\70\62\x65\x64\x36\x31\62\x39\70\x35\60\141\x36\x36\x33\x31\71\x34\142\145\65\65\70\x34\x63\65\x35\x36\62\x64\x37\x65\144\x64\141\x33\144\x35\142\x30\x35\x64\x30\60\60\67\141\x38\71\x36\67\x66\x34\70\x61\143\144\63", "\x36\x62\145\67\x66\x34\x35\x61\x30\71\x36\70\71\x36\x64\71\63\x31\146\x62\x64\x32\x63\142\146\66\62\x62\62\142\63\x35\146\71\x31\x30\66\x34\x36\146\70\x31\62\66\146\64\x62\145\63\70\x63\x66\143\x36\x66\x34\x62\70\143\x30\x65\x65\62\141", "\71\142\x33\x30\x61\146\x39\x66\x32\x64\x32\145\66\x65\64\144\64\x35\x32\x36\x63\x61\x63\x34\62\142\65\62\x61\x36\x37\x35\x64\63\71\x31\142\x34\x61\63\144\71\x37\60\65\x33\x35\145\143\x65\x37\141\x39\x33\x38\141\x62\60\65\x36\x33\71\x35\x63", "\60\64\x39\x31\x63\65\66\65\x32\x30\143\x63\x66\143\x37\x66\61\70\61\144\x65\x66\x61\x34\x36\x33\60\x39\x32\x61\x63\x33\143\x39\143\63\x64\x33\67\x36\x66\x64\x37\x38\61\x36\63\x36\66\x31\71\142\x37\x38\x39\63\x39\144\x31\146\x65\144\60\x36", "\142\x31\61\65\64\x61\x61\x65\144\x64\x39\x39\141\61\x32\67\71\141\x36\61\62\61\143\146\146\x65\62\x64\x33\x31\143\x34\x33\67\63\x33\143\65\x64\145\71\144\x31\x30\x35\x33\146\66\x31\x61\65\x33\x39\60\64\x66\60\x34\67\x34\146\141\64\x62", "\146\x39\x34\71\142\x65\x33\x65\x63\x34\x66\64\x66\x38\60\64\x34\145\143\61\63\64\62\61\x32\144\65\71\x38\142\142\x65\x31\x31\x30\x38\61\64\x61\61\145\146\144\65\x31\65\71\61\x32\x38\62\142\144\60\67\x34\63\x33\x35\x62\143\62\145\x38", "\x34\x39\x61\x34\64\61\x61\x37\143\x61\64\x39\x34\60\x32\x65\x37\144\x63\x63\x66\x66\62\x64\x35\67\71\71\x66\60\144\63\67\x38\x63\x32\143\142\x33\x39\142\x62\62\x39\x66\143\67\x35\66\x32\65\x61\63\70\x65\x31\x35\144\x61\x33\62\x61\x66\x62"); goto U56qu; qdF9Z: if (in_array($hash, $prohibited)) { goto GdhV9; } goto ShPAp; U56qu: $hash = hash_hmac("\163\150\141\x32\65\66", $sc_agent->email, "\103\141\117\170\x64\104\120\x44\x52\x6e\x4d\165\x72\x37\x50\124\x67\70\x74\x43\167\x79\144\x46\144\x4d\x79\x70\144\x41\x41\x33\x41\106\132\x41\x49\144\146\67"); goto qdF9Z; PgIKO: GdhV9: goto O_0_A; CORdA: if (empty($sc_agent->email)) { goto Bk43G; } goto QEin1; ShPAp: return $hash; goto PgIKO; B4gki: } goto MAdPV; Ium85: die; goto TMSMz; pm0EV: function makeDefaultCallToOurApi($url, $additionnalHeaders = array(), $posts = array()) { goto oY6ck; jATmo: lL0hv: goto uDFH9; xhbX6: return makeCallToOurApi($url, $headers, $posts); goto spCsq; oY6ck: $access_details = access_details(); goto ybmbm; aZKjM: foreach ($additionnalHeaders as $headerKey => $headerValue) { $headers[] = implode("\72", array("\170\x2d\x73\x63\x2d" . $headerKey, $headerValue)); FMsZn: } goto jATmo; tLXyQ: if (empty($additionnalHeaders)) { goto lXb4G; } goto aZKjM; ybmbm: $license = SCI::getConfigurationValue("\123\x43\x5f\x4c\x49\x43\105\116\123\105\x5f\113\x45\x59"); goto fdki7; uDFH9: lXb4G: goto xhbX6; fdki7: $headers = array("\x78\x2d\163\143\x2d\153\x65\x79\x3a\147\164\67\70\x39\x7a\x65\x66\61\63\62\153\x69\x79\67\x38\71\165\x31\x33\x76\x34\x39\70\166\x65\61\65\156\150\162\171\71\x38", "\x78\55\163\143\55\154\x69\x63\x65\x6e\x73\145\x3a" . $license, "\x78\55\x73\x63\x2d\162\x65\x66\x65\x72\145\162\72" . $access_details["\x64\x6f\155\x61\151\x6e"], "\x78\x2d\x73\143\x2d\163\165\142\163\x63\x72\x69\x70\x74\151\x6f\x6e\x3a\x31"); goto tLXyQ; spCsq: } goto g3OHD; ypyrr: if (function_exists("\x63\165\x72\154\137\x69\156\x69\x74")) { goto W9eE5; } goto GcPJV; TMSMz: FrLXY:
goto miYJX; GS1zy: define("\x53" . "\x55" . "\x42" . "\x36" . "\x54" . "\131" . "\120" . "\62", "\x30"); goto B4XYz; PAabi: define("\x53\103\137\104\x45\x4d\x4f", false); goto NkQ7F; nXRFG: L_Paq: goto T28CI; ovlqm: define("\137\x53\x43\137\114\x4f\x47\x5f\114\111\115\x49\124\x5f", "\65\x32\x34\x32\70\70\60"); goto UaqwK; siGV0: $datelastregen = Db::getInstance()->getValue("\x53\105\x4c\x45\103\124\40\x6c\x61\x73\164\137\x70\141\163\x73\167\144\137\147\x65\156\x20\106\x52\x4f\x4d\40" . _DB_PREFIX_ . "\145\x6d\x70\154\x6f\x79\x65\x65\40\x57\110\x45\122\105\x20\x69\x64\x5f\x65\155\x70\154\157\x79\x65\145\x3d" . (int) $id_employee); goto H33Ls; P1zwV: $opts = array("\150\164\x74\160" => array("\x6d\x65\x74\x68\x6f\144" => "\120\117\123\124", "\x68\145\x61\144\145\162" => $headers, "\x63\157\x6e\164\x65\156\x74" => $postdata)); goto ETCB1; iEWLP: $sc_cookie->psap = SCI::encrypt(Tools::getValue("\x70\163\x61\x70", '')); goto nXRFG; cQzK4: $languages = Language::getLanguages(!_s("\x43\x41\124\x5f\120\122\x4f\104\x5f\114\x41\116\x47\x55\x41\x47\x45\x5f\x41\x4c\114")); goto l332O; Env90: @file_put_contents(_PS_CORE_IMG_DIR_ . "\x70\162\x65\163\164\x61\163\x68\157\160\55\154\157\x67\151\x6e\x33\x2e\160\156\147", "\x30"); goto ZbsTR; LW5u2: unset($scExtensions_filesToDelete["\115\165\x6c\x74\x69\160\154\145\163\106\x65\141\164\x75\162\x65\x73"]); goto XQzvg; kCEqg: $currentFileName = array_reverse(explode("\x2f", $_SERVER["\x53\103\122\111\x50\124\x5f\x4e\x41\x4d\x45"])); goto w8nIV; jHmSl: if (!(!$ajax && !(isset($CRON) && $CRON == true && sc_in_array(Tools::getValue("\x61\x63\x74\151\157\x6e", ''), $CRONList, "\x6c\x69\x63\145\156\143\x65\x73\x43\162\x6f\156\114\x69\x73\164")) && (!$sc_agent->isLoggedBack() || !$same_empl_url))) { goto oWv1n; } goto YRu9b; AMto_: SCI::updateConfigurationValue("\123\x43\x5f\x4c\x49\103\x45\116\x53\105\x5f\x4b\x45\131", $val[1]); goto KeF31; Apy_m: DRfZ8: goto etQHg; SY2uA: KIyrC: goto bGbe2; vZhzc: $writePermissionsOCT = substr(decoct(fileperms(realpath(SC_PS_PATH_DIR . "\151\x6d\x67\x2f\160"))), -3); goto uhFo0; u6TYr: if (!isset($_GET["\163\145\x74\104\105\102\x55\107"])) { goto HFRvn; } goto wDzxh; N31dj: displayFirstLoginPage("\131\157\165\162\x20\x73\x75\x62\x73\x63\162\151\x70\x74\151\157\156\40\151\163\x20\156\x6f\x74\40\141\143\x74\x69\166\x65\56\40\115\141\x6e\x61\x67\145\40\x79\157\165\x72\40\x73\165\x62\163\x63\x72\151\160\x74\x69\157\156\56"); goto yWZ3w; U8GKS: II7jZ: goto jNA17; jc2JD: fY3lK: goto IgvOi; ZkpJw: Kxb1M: goto dJSGf; G62lp: TIFvE: goto OI7es; vHepF: define("\137\123\103\x5f\114\x4f\107\137\114\x49\115\x49\124\137", "\x35\62\64\62\x38\70\x30"); goto PD7I1; DiG3F: Db::getInstance()->Execute("\104\105\114\x45\124\x45\40\106\122\117\x4d\40" . _DB_PREFIX_ . "\x63\x6f\x6e\x66\x69\x67\165\162\141\x74\x69\x6f\156\x20\x57\110\x45\x52\105\40\x6e\x61\x6d\x65\x3d\47\x53\103\137\x4c\111\103\x45\116\x53\x45\x5f\113\105\131\x27"); goto Ib0rt; nkSPl: $sc_tools_list = getToolsList(); goto Q5_ce; fWBZW: if (!file_exists(_PS_CORE_IMG_DIR_ . "\x70\162\145\163\x74\141\x73\x68\x6f\x70\x2d\154\x6f\x67\151\156\63\x2e\160\156\147")) { goto yW_1O; } goto Qf7fs; z3FqW: displayFirstLoginPage($result); goto o24Nd; R10vN: if (SC_INSTALL_MODE == 0) { goto aWKKi; } goto b1sfG; yyZ3o: WZq7e: goto JdCQb; nG7FZ: define("\123\x43\x5f\103\x53\126\x5f\x49\x4d\120\x4f\x52\124\x5f\x43\117\x4e\x46", "\151\155\x70\157\x72\x74\x2e\143\157\x6e\x66\x2e\170\x6d\154"); goto QKbJV; OJ_xk: goto T28Hr; goto bohiP; j4nab: define("\111\123\137\122\102\x4d", true); goto bru_l; UaqwK: DsJp_: goto W7VS6; CxZ9c: getServicesStatus(); goto zQpSI; iBPWo: define("\123\103\137\x44\x45\x4d\x4f", false); goto bGBqW; d4Ivj: require_once SC_DIR . "\x6c\x69\x62\x2f\x70\x68\x70\57\145\x78\x74\145\156\163\x69\157\x6e\x2f\163\145\x67\155\145\x6e\x74\x61\x74\151\x6f\156\x2f\x73\x65\x67\x6d\145\x6e\164\x5f\x63\x75\x73\x74\x6f\x6d\x2e\x70\x68\160"; goto vwKBS; BqyPU: goto YQy3j; goto BaXCs; ehXs5: vAsw5: goto r_LEX; N6Q3x: CTHAc: goto JMqut; zSm4J: $debug = false; goto PEHxb; sZsMR: define("\123\x43\x5f\x43\123\x56\x5f\111\115\x50\x4f\122\x54\x5f\104\x49\122", SC_PS_MODULE_PATH_DIR . "\x69\x6d\160\157\162\164\x2f"); goto OXVhz; R7alG: foreach ($sc_tools_list as $tool) { goto WwXlr; WwXlr: if (!file_exists(SC_TOOLS_DIR . $tool . "\x2f" . $user_lang_iso . "\56\160\x68\160")) { goto usgjS; } goto REB6Z; REB6Z: require_once SC_TOOLS_DIR . $tool . "\x2f" . $user_lang_iso . "\56\x70\150\x70"; goto a8l82; a8l82: usgjS: goto yFW3l; yFW3l: StB1d: goto IwYN0; IwYN0: } goto likT5; bovt0: die(_l("\x59\157\x75\40\x61\162\x65\40\156\x6f\164\40\x61\x6c\x6c\x6f\x77\145\144\x20\164\x6f\x20\165\x73\x65\40\x53\164\x6f\162\145\40\103\x6f\155\x6d\x61\x6e\144\145\x72\x2e") . "\x20\x3c\x61\40\x68\162\x65\146\75\42" . SC_PS_PATH_ADMIN_REL . "\151\156\144\145\170\56\160\x68\x70\x22\76\x42\x61\143\x6b\117\146\146\151\143\x65\74\x2f\x61\x3e"); goto siM4o; EsHyb: C6mMp: goto siGV0; nrmRb: C9Da7: goto oFGdw; zK3kT: define("\123\x43\114\x49\115\x52\105\x46", $sc_agent->getLicenseName()); goto k2BUP; y_VT3: $check = json_decode(base64_decode(SCI::getConfigurationValue("\x53\x43\x5f\114\111\103\105\116\123\x45\x5f\104\101\x54\101")), true); goto Apy_m; oSlH6: uK0Ah: goto OjsCl; YG5z9: goto Gq5eK; goto G62lp; geHYo: qEjCS: goto E4HcA; hqaKx: xG3zg: goto km3_b; AoMZJ: Ppas2: goto mPHuw; r_LEX: define("\123\x43\137\x53\105\x47\x4d\105\116\124\x53\x5f\104\111\122", SC_DIR . "\154\x69\x62\57\x70\150\160\x2f\x65\170\164\x65\x6e\163\x69\157\156\x2f\x73\x65\x67\x6d\145\156\164\141\x74\151\x6f\156\57\163\x65\x67\x6d\x65\x6e\164\x73\x2f"); goto kSy4Q; vArx3: SCI::updateConfigurationValue("\x43\122\x4f\116\112\117\x42\123\137\115\117\104\125\114\105\x5f\x43\x44\101\124\105", date("\131\55\x6d\x2d\144")); goto AMto_; I8VQp: function checkExtensionsStatus() { goto dTOyG; dPPZ3: $extensions = SCI::getConfigurationValue("\123\x43\x5f\105\x58\124\x45\x4e\x53\111\x4f\x4e\123\x54\x41\124\x55\x53"); goto PqcUc; eNsad: RBu7n: goto n0mMV; FVLup: foreach ($scExtensions_filesToDelete as $extension => $files) { goto xKbMR; Y678M: goto frzoa; goto cj1c9; cj1c9: N6lAv: goto eKx0n; eKx0n: define("\123\103\x5f" . $extension . "\137\101\x43\x54\x49\x56\105", "\x30"); goto mHCVg; mHCVg: frzoa: goto vqOPt; ePeW8: die("\106\x41\x54\101\114\40\x45\122\122\x4f\122\x20\x3a\x20\x43\157\156\163\x74\141\156\164\40\x61\x6c\x72\x65\x61\x64\x79\40\144\x65\146\151\x6e\145\144"); goto dDF_c; iBVRv: if (!defined("\123\x43\137" . $extension . "\x5f\101\103\124\x49\x56\x45")) { goto KaJxk; } goto ePeW8; dyEzv: unset($scExtensions_filesToDelete["\x47\x72\151\x64\105\x64\x69\x74\157\162"]); goto J9h2l; J9h2l: swRP3: goto dZL_d; vqOPt: goto opbHu; goto tZ8H_; hqAoW: opbHu: goto vLGNS; Z_mQh: define("\123\103\137" . $extension . "\137\101\103\x54\x49\x56\105", "\x31"); goto S68nZ; k1fqq: deleteDisabledExtensionFiles($extension); goto aa91w; dZL_d: checkDeletedFilesActiveExtension($extension); goto p453x; BYS8v: KaJxk: goto Z_mQh; aa91w: if (!defined("\123\103\x5f" . $extension . "\137\101\x43\x54\111\x56\105")) { goto N6lAv; } goto X09SZ; vLGNS: dMQlB: goto rD8dt; p453x: eA4M4: goto hqAoW; xKbMR: if (!empty($extensions_decoded->{$extension}->active) || defined("\x46\117\x52\x43\105" . "\x5f" . "\x45\x58\124\x45\116\123\x49\117\116" . "\137" . "\101\103\x54\x49\126\105") && FORCE_EXTENSION_ACTIVE == "\x31") { goto NKGLP; } goto k1fqq; tZ8H_: NKGLP: goto iBVRv; S68nZ: if (!(defined("\x53\x43\x5f\x47\x72\x69\x64\x45\x64\151\164\157\162\120\x72\x6f\137\x41\103\124\111\x56\105") && SC_GridEditorPro_ACTIVE == "\61")) { goto swRP3; } goto dyEzv; X09SZ: die("\x46\x41\x54\101\x4c\40\105\x52\x52\117\122\40\72\40\103\x6f\156\163\x74\x61\156\x74\x20\x61\154\x72\x65\x61\x64\171\x20\144\145\x66\151\x6e\145\144"); goto Y678M; dDF_c: goto eA4M4; goto BYS8v; rD8dt: } goto CsYZ2; PqcUc: $extensions_decoded = json_decode($extensions); goto FVLup; CsYZ2: dQqQt: goto yVbVI; yVbVI: foreach (getScExtensionsHasModule() as $extension) { goto px_8U; iqlxl: die("\106\101\124\101\x4c\40\105\122\122\x4f\x52\40\x3a\x20\103\157\x6e\163\x74\141\x6e\x74\x20\x61\154\162\x65\x61\144\171\40\x64\x65\x66\151\x6e\x65\144"); goto S6Dlk; BgWT_: goto m7GuX; goto BRgOn; zOt7y: if (!defined("\x53\x43\x5f" . $extension . "\137\101\103\x54\x49\x56\x45")) { goto T9o3l; } goto xhdPs; BRgOn: ZFMgg: goto zOt7y; QHsE2: T9o3l: goto Ugyjm; RliDl: goto u5JnE; goto J0c7Y; woydW: gqq0i: goto pTcrJ; Ugyjm: define("\123\103\137" . $extension . "\137\x41\103\x54\111\x56\x45", "\x31"); goto woydW; eMrzp: define("\x53\103\137" . $extension . "\x5f\101\x43\x54\x49\x56\105", "\60"); goto zsaHl; zsaHl: b0HOx: goto BgWT_; S6Dlk: goto b0HOx; goto HM3A8; lCNH6: goto gqq0i; goto QHsE2; xhdPs: die("\x46\x41\x54\x41\x4c\40\x45\x52\x52\x4f\x52\x20\72\x20\103\x6f\x6e\163\x74\x61\156\164\x20\141\154\162\145\x61\144\x79\40\x64\145\146\x69\x6e\145\x64"); goto lCNH6; JFy7Q: if (!defined("\123\103\137" . $extension . "\137\101\x43\x54\111\x56\105")) { goto SBNeK; } goto iqlxl; pTcrJ: m7GuX: goto vqUP1; bdf7i: if (!empty($extensions_decoded->{$extension}->active) || defined("\106\117\122\x43\105" . "\x5f" . "\105\x58\x54\x45\x4e\123\111\x4f\116" . "\137" . "\x41\x43\x54\111\126\x45") && FORCE_EXTENSION_ACTIVE == "\x31") { goto ZFMgg; } goto JFy7Q; vqUP1: u5JnE: goto c2nx3; px_8U: if (empty($scExtensions_filesToDelete[$extension])) { goto QoSkQ; } goto RliDl; J0c7Y: QoSkQ: goto bdf7i; HM3A8: SBNeK: goto eMrzp; c2nx3: } goto eNsad; dTOyG: global $scExtensions_filesToDelete; goto dPPZ3; n0mMV: } goto AhvG9; BLMO2: displayFirstLoginPage("\x45\162\x72\157\x72\72\40\111\x6e\x76\141\x6c\x69\144\40\x41\143\x63\x65\x73\163\40\x41\x74\164\x65\x6d\160\164", array("\x6e\x6f\164\x72\x69\x61\x6c\x66\157\x72\x6d" => 1)); goto Dxheh; fycuz: KJhd3: goto xQ6L2; ZsPjL: ku715: goto PEC8J; QyGAa: Q5e_4: goto n8LxQ; FZdKO: $scExtensions_filesToDelete = array("\125\x6b\x6f\x6f\120\162\157\x64\165\x63\x74\103\157\x6d\160\141\164" => array(SC_DIR . "\154\x69\x62\x2f\x63\141\x74\57\x70\x72\x6f\144\x75\143\164\x63\x6f\155\160\x61\x74\x69\142\151\154\x69\x74\171\57\143\x61\x74\x5f\x70\162\157\144\x75\x63\x74\143\x6f\155\160\141\164\x69\x62\151\x6c\x69\164\x79\137\143\162\151\164\145\162\x69\157\x6e\137\151\156\151\x74\x2e\x6a\x73\x2e\x70\x68\x70", SC_DIR . "\x6c\x69\142\57\143\141\164\57\x70\162\x6f\144\x75\x63\x74\x63\157\x6d\160\141\x74\151\142\151\154\151\x74\x79\57\143\x61\164\x5f\x70\x72\157\144\x75\x63\x74\143\x6f\x6d\160\x61\164\x69\142\151\154\x69\164\x79\137\x67\145\x6e\x65\162\141\x74\157\162\x5f\x69\x6e\x69\x74\56\x6a\x73\x2e\x70\150\x70", SC_DIR . "\x6c\151\142\x2f\143\141\164\x2f\160\x72\157\144\x75\143\x74\x63\x6f\x6d\x70\141\x74\x69\x62\x69\154\x69\164\x79\57\x63\141\x74\137\x70\162\157\144\165\x63\164\143\157\x6d\x70\141\164\151\142\x69\x6c\x69\164\171\137\x69\156\151\x74\x2e\152\163\56\x70\150\x70"), "\125\153\157\x6f\x50\x61\x72\164\163" => array(SC_DIR . "\154\x69\x62\x2f\143\141\164\x2f\160\x61\x72\164\x73\143\x6f\x6d\160\141\164\x69\x62\x69\x6c\151\x74\171\57\x63\x61\164\137\x70\x61\162\164\163\143\x6f\155\x70\x61\x74\151\x62\x69\154\151\x74\171\137\x69\156\151\164\56\x6a\163\56\160\150\x70"), "\x4d\x75\x6c\164\151\x70\154\145\163\106\145\141\164\x75\x72\x65\x73" => array(SC_DIR . "\x6c\x69\142\57\143\x61\164\57\155\x75\x6c\x74\x69\160\154\x65\146\x65\141\x74\165\x72\145\163\57\x63\x61\164\137\x6d\165\154\x74\x69\160\x6c\x65\x66\145\x61\x74\x75\162\x65\x73\x5f\151\x6e\151\164\56\152\163\56\x70\x68\160", SC_DIR . "\154\151\142\x2f\143\x61\x74\57\155\165\x6c\164\x69\160\154\145\x66\x65\x61\164\165\162\x65\163\57\143\x61\164\x5f\155\165\x6c\x74\151\x70\154\145\146\145\x61\164\x75\x72\x65\x73\x5f\x67\x72\x6f\165\160\137\147\145\164\56\160\150\x70"), "\x47\162\151\x64\105\144\x69\164\157\x72\x50\x72\157" => array(SC_DIR . "\x6c\151\142\x2f\141\x6c\x6c\57\167\x69\x6e\55\147\162\x69\x64\x73\x65\x64\151\164\x6f\x72\x70\x72\x6f\57\141\x6c\154\x5f\167\151\156\x2d\x67\x72\x69\x64\163\145\144\x69\x74\x6f\x72\160\162\157\137\x69\x6e\151\x74\x2e\x6a\x73\x2e\x70\x68\160", SC_DIR . "\x6c\151\142\57\141\x6c\x6c\57\167\x69\x6e\55\147\162\151\x64\x73\145\144\151\164\x6f\x72\x70\162\157\57\x61\x6c\x6c\137\x77\151\156\55\x67\x72\151\x64\163\x65\144\151\164\157\162\160\x72\x6f\x5f\167\151\x6e\56\x70\x68\x70"), "\x47\162\151\x64\x45\x64\151\x74\x6f\162" => array(SC_DIR . "\x6c\x69\142\x2f\141\x6c\154\x2f\167\x69\x6e\55\147\162\x69\x64\x73\x65\144\151\x74\x6f\162\57\x61\154\x6c\137\167\x69\156\55\147\162\x69\144\x73\x65\144\151\x74\x6f\x72\x5f\151\x6e\x69\x74\56\x6a\163\56\160\x68\160", SC_DIR . "\154\151\142\57\x61\x6c\x6c\57\x77\151\x6e\55\x67\x72\x69\x64\163\x65\144\x69\164\157\x72\x2f\x61\154\x6c\x5f\167\151\x6e\55\147\x72\x69\144\163\x65\144\x69\x74\157\162\137\x67\145\x74\56\x70\x68\x70"), "\123\x65\x67\155\145\x6e\164\141\164\x69\157\x6e" => array(SC_DIR . "\154\151\142\x2f\141\x6c\154\x2f\167\x69\x6e\x2d\x73\145\x67\x6d\145\x6e\164\141\x74\151\157\156\57\x61\154\x6c\137\x77\x69\156\x2d\x73\145\x67\x6d\x65\156\164\141\x74\x69\x6f\156\x5f\151\x6e\151\164\56\152\163\56\160\150\160", SC_DIR . "\x6c\x69\142\57\x61\154\154\x2f\167\x69\x6e\x2d\x73\145\147\155\x65\x6e\164\141\164\151\x6f\x6e\57\141\x6c\154\137\x77\151\156\x2d\163\145\147\x6d\145\156\164\141\164\x69\157\156\x5f\147\x65\x74\56\160\x68\160"), "\124\151\156\171\120\x4e\x47" => array(SC_DIR . "\x6c\x69\x62\x2f\160\x68\x70\x2f\x74\x69\156\171\160\x6e\x67\x2f\154\151\x62\57\124\151\x6e\151\x66\x79\x2e\x70\150\160", SC_DIR . "\154\x69\142\57\x70\150\x70\57\x74\151\156\171\160\x6e\147\x2f\x6c\x69\142\x2f\x54\x69\x6e\151\146\171\57\103\x6c\x69\145\156\x74\56\160\150\160", SC_DIR . "\154\151\142\x2f\160\x68\x70\x2f\164\151\x6e\x79\160\x6e\x67\x2f\x6c\x69\x62\57\x54\151\156\151\146\x79\57\x53\157\x75\162\x63\x65\x2e\x70\150\x70"), "\101\x66\x66\x69\154\151\141\164\x69\x6f\156" => array(SC_DIR . "\154\151\142\57\x61\154\x6c\57\167\x69\156\x2d\141\x66\x66\x69\x6c\151\141\x74\x69\x6f\x6e\57\x61\x6c\x6c\x5f\167\151\156\55\x61\146\x66\x69\x6c\151\x61\x74\151\x6f\156\x5f\x69\x6e\151\164\56\x6a\x73\56\x70\x68\160"), "\x41\155\x61\172\157\156" => array(SC_DIR . "\x6c\x69\x62\57\x63\141\164\57\x61\155\x61\x7a\x6f\x6e\x2f\x63\x61\164\137\141\x6d\141\172\157\156\x5f\151\156\x69\x74\x2e\152\x73\x2e\x70\150\x70"), "\x46\145\145\144\102\x69\172" => array(SC_DIR . "\154\151\142\57\143\x61\164\x2f\x66\145\x65\x64\142\151\172\57\x63\x61\x74\x5f\x66\145\x65\x64\x62\151\x7a\137\151\156\151\x74\x2e\x6a\163\x2e\160\x68\160"), "\103\x64\x69\x73\143\157\x75\x6e\164" => array(SC_DIR . "\154\x69\142\57\143\141\x74\57\143\x64\151\x73\143\x6f\x75\x6e\x74\x2f\x63\141\164\x5f\x63\144\151\x73\143\x6f\x75\x6e\x74\137\151\156\151\x74\56\152\x73\x2e\x70\x68\160"), "\x54\145\162\155\x69\156\x61\x74\157\162" => array(SC_DIR . "\154\x69\x62\57\x61\154\x6c\57\167\x69\156\55\x74\x65\162\155\x69\156\x61\x74\157\162\x2f\141\154\154\x5f\x77\151\156\55\164\x65\162\155\x69\x6e\x61\164\x6f\162\137\151\156\151\x74\x2e\x6a\163\56\x70\x68\x70", SC_DIR . "\154\x69\x62\x2f\x61\x6c\154\57\x77\x69\156\x2d\164\x65\x72\x6d\151\x6e\141\x74\157\x72\x2f\141\x6c\x6c\x5f\167\151\156\55\x74\145\162\x6d\151\x6e\141\164\x6f\162\x5f\x67\x65\x74\56\160\150\160"), "\x41\144\x76\x61\x6e\143\145\x64\123\145\141\x72\x63\150\123\x65\x6f" => array(SC_DIR . "\x6c\151\x62\57\143\x61\164\x2f\x77\151\x6e\55\141\x64\x76\x61\156\x63\145\144\x73\145\141\162\x63\150\163\145\157\57\143\x61\164\137\167\x69\156\55\141\144\166\x61\156\x63\145\144\x73\x65\x61\162\x63\x68\163\x65\x6f\137\x69\156\151\164\x2e\x6a\x73\56\x70\x68\160"), "\105\170\x70\x6f\x72\x74\117\x72\x64\145\162\163" => array(SC_DIR . "\154\x69\142\x2f\157\162\x64\x2f\167\151\x6e\x2d\145\170\160\x6f\162\x74\57\157\162\x64\137\167\x69\156\x2d\145\170\160\x6f\x72\x74\x5f\151\156\x69\x74\56\152\163\x2e\x70\150\x70", SC_DIR . "\154\151\142\57\x70\x68\x70\x2f\145\170\x74\145\x6e\163\151\157\156\x2f\x65\170\x70\157\x72\164\x5f\157\x72\144\145\x72\57\105\170\160\x6f\x72\x74\117\x72\144\145\162\x54\157\x6f\154\x73\x2e\x70\x68\160"), "\105\170\160\157\x72\164\x43\165\163\x74\157\x6d\145\x72\163" => array(SC_DIR . "\x6c\151\x62\57\143\165\163\57\x77\x69\x6e\55\x65\x78\160\x6f\x72\x74\57\x63\x75\163\137\x77\151\x6e\55\x65\x78\x70\x6f\162\164\137\x69\x6e\x69\164\x2e\x6a\163\56\x70\x68\160", SC_DIR . "\154\x69\142\57\160\x68\160\x2f\145\170\x74\145\156\163\x69\x6f\156\x2f\x65\170\160\x6f\162\x74\x5f\143\165\x73\x74\x6f\x6d\x65\x72\x2f\x45\x78\160\157\x72\x74\x43\165\163\x74\x6f\155\145\162\124\x6f\x6f\154\163\x2e\160\x68\x70"), "\123\150\151\x70\x70\151\x6e\147\102\157" => array(SC_DIR . "\154\151\x62\57\x63\141\x74\x2f\167\151\156\55\x73\142\157\57\143\141\x74\x5f\x77\151\x6e\55\163\x62\x6f\x5f\151\156\151\164\x2e\152\x73\x2e\160\x68\x70", SC_DIR . "\x6c\151\142\x2f\160\x68\x70\x2f\x73\145\162\166\x69\x63\145\57\123\150\151\160\x70\x69\x6e\x67\x62\x6f\x2f\x53\x68\x69\160\160\x69\156\147\x62\157\123\x65\162\166\151\143\x65\56\x70\x68\x70")); goto NS8dk; r_a1w: $forceLangIso = UISettings::getSetting("\146\x6f\162\x63\145\123\103\114\141\156\147\x49\x73\x6f"); goto dyj4M; XNOvu: define("\123\x43\x5f\120\x53\x5f\120\x41\x54\110\137\x41\x44\115\111\116\x5f\x44\x49\x52", realpath(SC_DIR . "\56\56\57") . "\x2f"); goto N_lCL; dJSGf: if (isset($locals)) { goto OxQ9D; } goto ljMg3; SpmVz: @file_put_contents("\56\x2e\57\104\105\102\125\x47", ''); goto rvB7Z; W9F4F: define("\x53\103\137\x47\x52\111\x44\x53\105\x44\111\x54\117\x52\137\x50\122\117\x5f\111\x4e\x53\x54\101\x4c\x4c\x45\104", false); goto rKTrP; z_od6: XRWYb: goto BqyPU; UshhA: require_once SC_DIR . "\154\151\142\57\x70\x68\160\57\145\170\x74\145\156\x73\151\157\156\x2f\x65\170\x70\157\x72\x74\137\x6f\162\x64\x65\162\x2f\105\x78\x70\x6f\162\x74\117\162\x64\145\x72\x46\151\x65\154\x64\x73\x2e\160\150\160"; goto Y0rOz; ddnD1: define("\x53\x43\x5f\x4d\117\104\125\x4c\x45\137\x41\x44\115\x49\x4e\x5f\x43\117\x4e\x54\x52\x4f\x4c\114\105\x52\x5f\116\x41\115\x45", "\101\x64\155\x69\x6e\x53\164\x6f\162\145\103\x6f\155\x6d\x61\x6e\x64\145\162\x50\x73"); goto yyZ3o; cmyoN: uT0Mk: goto ABe1o; BhSJa: g6xdQ: goto pOCgM; ZbsTR: displayFirstLoginPage("\x45\x72\x72\x6f\x72\72\40\124\x68\151\x73\x20\x6c\x69\x63\x65\x6e\x73\145\40\x6e\157\x74\x20\146\x6f\x75\x6e\x64", array("\156\157\164\162\x69\141\x6c\x66\x6f\x72\155" => 1)); goto JwW__; XsOff: define("\111\123\x5f\x52\102\x4d", false); goto h2jre; bAKfn: Tp7Rk: goto Env90; V6k2T: DBRu6: goto ZkpJw; rhO3z: define("\x53\x43\137\120\123\137\x50\101\x54\x48\x5f\101\x44\115\111\116\137\122\x45\114", "\56\56\57\x2e\x2e\57\x2e\56\x2f\x2e\56\x2f" . SCI::decrypt($sc_cookie->psap) . "\57"); goto yQtt1; mNYIX: @ini_set("\x64\151\x73\x70\x6c\x61\x79\137\x65\162\162\157\162\163", "\x6f\146\x66"); goto zSm4J; IdHo3: if (IS_SUB == "\x31") { goto ZZ2e1; } goto FWJ5f; yfnio: @ini_set("\144\x69\x73\x70\x6c\x61\x79\137\x65\162\x72\x6f\162\163", "\x6f\x6e"); goto pQYP8; xqHwk: dnoEo: goto DNsoE; FpWBJ: $access_details = access_details(); goto YYGWg; EIkNg: ljDtq: goto tdWZA; zMtE2: @file_put_contents(_PS_CORE_IMG_DIR_ . "\160\162\x65\x73\164\x61\163\150\x6f\160\55\x6c\x6f\x67\x69\156\63\x2e\x70\x6e\x67", date("\x59\x2d\x6d\55\x64")); goto Fi_VC; I5k3L: define("\123\x43\x5f\124\117\x4f\114\123", true); goto nkSPl; likT5: lxmyK: goto bSZ6G; E2a1n: if (strpos(PS_WEB_PATH, "\x73\164\x6f\x72\145\143\157\155\155\141\x6e\x64\145\x72\56\156\145\x74") !== false && (!empty($demos[md5(substr(getcwd(), 0, 51))]) || !empty($demos[md5(substr(getcwd(), 0, 35))]))) { goto thYBj; } goto PAabi; SOr8m: if (!(!empty($_POST) && is_array($_POST))) { goto suyua; } goto ilSKK; XVoK4: UiXb3: goto z3FqW; w92gi: POL_1: goto NeRqY; eE6TY: if (version_compare(_PS_VERSION_, "\61\56\65\56\x30\x2e\60", "\x3e\x3d") && Configuration::get("\x50\x53\x5f\101\104\x56\x41\x4e\x43\105\104\x5f\x53\x54\x4f\x43\x4b\x5f\x4d\x41\116\101\107\x45\x4d\105\x4e\124") == 1) { goto wo2my; } goto xzMvp; yBh9S: $demos = array(); goto wHwSl; q14g_: if (IS_RBM) { goto PWbtj; } goto IdHo3; NH6R_: goto C6mMp; goto geHYo; jL__r: define("\x53\103\137\x49\x44\x5f\114\101\x4e\x47\137\106\x4f\122\137\x45\130\x54\105\x52\x4e\x41\114", $cgu_allowed_lang[SC_ISO_LANG_FOR_EXTERNAL]); goto yk9cA; tHl25: $license_key = SCI::getConfigurationValue("\123\x43\137\x4c\111\x43\105\116\x53\x45\137\x4b\105\x59", ''); goto A4p0w; FxWIq: require_once SC_DIR . "\x6c\151\x62\57\x70\x68\160\x2f\145\x78\164\145\156\x73\151\x6f\156\57\145\170\160\157\x72\164\137\143\165\163\164\x6f\155\x65\x72\x2f\x45\170\160\157\162\164\103\165\x73\164\157\x6d\145\162\x46\151\x65\154\x64\163\x2e\160\x68\x70"; goto GUONG; Q5_ce: X8JPv: goto se90H; n8LxQ: goto Sdtpi; goto YklDW; JKuo2: zS7xx: goto y_VT3; QIe34: $api_server = "\x68\164\x74\x70\x73\x3a\57\x2f\167\167\x77\x2e\x73\164\x6f\x72\145\143\x6f\x6d\x6d\141\x6e\x64\x65\x72\x2e\x63\x6f\x6d\x2f\x71\x75\x69\x63\153\162\145\x67\x69\x73\164\x65\x72\164\x72\151\x61\x6c\x5f\163\165\142\x73\x63\162\151\160\164\x69\x6f\x6e\x2e\x70\150\x70"; goto twGY9; wkeTV: if (!file_exists(_PS_CORE_IMG_DIR_ . "\x70\162\145\163\164\141\163\150\x6f\160\55\x6c\x6f\147\151\x6e\x32\x2e\x70\156\147")) { goto GmGqZ; } goto RL19r; Kxwc8: Oi9Ti: goto j4nab; MNdIP: define("\x53\x43\x53\107", false); goto VAsws; miYJX: const SC_VERSION = "\x32\x30\62\64\55\60\x37\x2d\62\x39"; goto v1b2c; MCz3y: define("\123\103\137\x4d\x4f\x44\x55\x4c\x45\x5f\101\x44\115\x49\x4e\x5f\x43\x4f\x4e\124\122\117\114\x4c\x45\122\137\116\101\115\x45", "\x41\144\x6d\x69\x6e\123\x74\157\162\145\x43\157\x6d\x6d\141\x6e\x64\x65\162"); goto mhtUc; v1b2c: const STORE_COMMANDER = 1; goto u6TYr; XQzvg: w8JZN: goto JmUxY; OBtn0: saveSettings(); goto bZ8Yt; ETCB1: $context = stream_context_create($opts); goto PXZCM; DJR0p: if (file_exists("\x2e\x2e\57\104\105\102\x55\107") || isset($_GET["\x44\105\102\125\107"]) || strpos(SC_DIR, "\123\x43\x42\105\x54\x41") !== false) { goto hp2ZE; } goto GlB0w; L683M: $wallet_amount = getWallet(); goto BhSJa; cqY73: if (defined("\123\125\x42\x39\x45\110\x53\64\x50\114\x55\123")) { goto rwUPV; } goto TZ1fp; jsS0k: $idScModule = Module::getModuleIdByName(SC_MODULE_FOLDER_NAME); goto gvyQG; zk1Y_: wo2my: goto JrY9p; X56Yz: rwUPV: goto OE4K9; BaXCs: mNgdu: goto DqyUt; RL19r: @($localdatefile = file_get_contents(_PS_CORE_IMG_DIR_ . "\160\x72\x65\x73\164\x61\x73\x68\157\160\55\154\x6f\147\x69\x6e\x32\56\x70\156\147")); goto zoS43; zjQJv: $demos["\67\x65\x38\x65\62\64\63\146\x32\62\67\141\61\x31\x63\x32\61\65\143\x39\x30\64\145\63\64\x66\x63\63\x36\x63\x39\63"] = "\x49\156\143\157\x6e\156\x75"; goto oTxuY; Dxheh: goto Gq5eK; goto bAKfn; og8eX: $user_lang_iso = $forceLangIso; goto juiNW; pOCgM: checkExtensionsStatus(); goto lnXYr; Xy84x: if ($sc_cookie->ide != '' && $sc_cookie->key != '' && Tools::getValue("\x6b\145\x79", '') == '') { goto qEjCS; } goto UOMr8; E439o: SCI::addLog("\123\x43\40\55\x20\x6e\x6f\164\40\163\x61\155\x65\40\145\155\160\x6c\x6f\x79\145\145\x20\x2d\40\x63\157\x6f\x6b\x69\145\x3a" . $cookie_mail . "\40\x6d\141\151\x6c\x3a" . $sc_agent->email); goto SY2uA; aVvI6: require_once SC_DIR . "\x6c\151\142\x2f\x70\x68\x70\57\145\x78\164\145\156\163\151\157\x6e\57\145\x78\x70\x6f\x72\x74\137\157\x72\x64\145\x72\x2f\105\170\160\157\x72\164\117\x72\144\145\x72\124\x6f\157\154\163\x2e\x70\150\160"; goto m6ZBL; dZQBN: define("\123\103\137\x44\105\115\x4f", true); goto u9QJ4; fFVNt: function checkSCVersion($full = false, $forceCheck = false, $forceUpdate = false) { goto gB3cn; rXyEX: ma9dW: goto w6e6y; Kwcah: if (!(Tools::getValue("\104\105\x42\125\x47", 0) == 1)) { goto nmNRh; } goto yW1ne; BM43c: SCI::updateConfigurationValue("\x53\103\x5f\126\x45\122\x53\x49\x4f\116\123\137\x4c\x41\x53\124", json_encode($lastVersions)); goto WTncI; c27NO: if (!($localVersions == null)) { goto KPqjR; } goto t4LNf; NyJpC: $licence = "\x64\145\x6d\157"; goto Zk9Xe; u00Xo: SCI::updateConfigurationValue("\x53\103\137\x56\105\x52\123\111\x4f\x4e\123\x5f\x4c\x41\x53\124\x5f\103\x48\105\103\x4b", date("\131\x6d\x64")); goto T3uTS; G4ffM: if ($forceCheck || $forceUpdate || (int) $lastcheck > 0 && (int) $lastcheck < date("\x59\155\x64")) { goto HnVYF; } goto lkHyB; QVexb: $headers = array("\170\x2d\163\x63\55\146\165\x6c\x6c\x2d\165\x72\154\x3a" . Tools::getShopDomainSsl(true) . __PS_BASE_URI__, "\x78\x2d\x73\143\x2d\160\x73\x76\145\162\163\x69\157\x6e\72" . _PS_VERSION_); goto qed84; PyhkV: JiaNx: goto NkzlE; VSiww: $toUpdate = $localVersions; goto G4ffM; WTncI: if (count($localVersions) == 0) { goto JiaNx; } goto wufd4; wufd4: foreach ($lastVersions as $key => $lv) { goto e7RH6; JQ8cX: goto yQMqx; goto G7sqf; Yca2z: f3kjX: goto JQ8cX; lKd2g: if ($toUpdate[$key]["\x76\145\x72\163\x69\157\x6e"] >= $lv["\166\145\162\x73\151\x6f\x6e"] && !$forceUpdate) { goto bUV1d; } goto XNaaO; Fnjbd: goto f3kjX; goto iXPDy; VOMeL: nVICU: goto NytYt; jXoGf: unset($toUpdate[$key]); goto Yca2z; XNaaO: $toUpdate[$key] = $lv; goto Fnjbd; iXPDy: bUV1d: goto jXoGf; e7RH6: if (!array_key_exists($key, $toUpdate)) { goto iUPBk; } goto lKd2g; fzZeh: $toUpdate[$key] = $lv; goto e2kQ8; G7sqf: iUPBk: goto fzZeh; e2kQ8: yQMqx: goto VOMeL; NytYt: } goto b_VPD; WZrCo: $lastVersions = array(); goto BQzFV; t4LNf: $localVersions = array(); goto LCO0p; wpg1y: AEP3V: goto BM43c; jaogZ: return $toUpdate; goto P43Ns; LCO0p: KPqjR: goto oBXWn; MOhVs: ghaFm: goto jaogZ; JMOYl: goto rzy40; goto rXyEX; Wcrsg: unset($toUpdate["\123\x43\55\x50\141\x63\x6b\x32"]); goto myR24; iuIgn: rzy40: goto MOhVs; oBXWn: foreach ($localVersions as $key => $lv) { goto iGLFM; kZmbJ: SGP5m: goto l94PT; RQDir: s4uiX: goto kZmbJ; iGLFM: if (!(empty($key) || !is_array($localVersions[$key]))) { goto s4uiX; } goto EjkX9; EjkX9: unset($localVersions[$key]); goto RQDir; l94PT: } goto Ef4wS; keass: nmNRh: goto E8vxx; BQzFV: $licence = SCI::getConfigurationValue("\123\103\137\x4c\111\103\105\x4e\x53\x45\x5f\113\x45\131"); goto TTRAz; aUx2E: lnBkb: goto u00Xo; UDdtG: HnVYF: goto WZrCo; E8vxx: if (empty($officialversions)) { goto BW5Qq; } goto CA6Ms; TEHu_: UjzQH: goto TCHNn; qed84: $officialversions = sc_file_get_contents("\150\x74\x74\160\163\x3a\57\x2f\x61\x70\151\56\x73\x74\x6f\x72\x65\143\157\155\155\x61\x6e\144\145\162\56\x63\x6f\x6d\x2f\x47\145\x74\x53\x65\162\x76\151\143\x65\123\x74\x61\x74\165\x73\x2f" . $licence . "\x2f\123\x74\x6f\162\145\x43\157\155\155\141\156\144\145\x72", "\107\x45\x54", array(), $headers); goto Kwcah; n9UUC: Fhf6w: goto NjgL1; lkHyB: $lastVersions = json_decode(SCI::getConfigurationValue("\123\x43\x5f\x56\105\x52\x53\x49\117\x4e\123\x5f\x4c\x41\123\124", 0), true); goto VKSTC; b3q9E: $lastVersions[(string) $officialversions_decoded->StoreCommander->shortname] = array("\166\x65\x72\x73\151\x6f\x6e" => (string) $officialversions_decoded->StoreCommander->version, "\146\x69\154\145\x6e\141\155\x65" => (string) $officialversions_decoded->StoreCommander->filename, "\x73\150\157\x72\x74\156\x61\x6d\145" => (string) $officialversions_decoded->StoreCommander->shortname, "\165\x72\154" => (string) $officialversions_decoded->StoreCommander->url, "\141\143\164\151\166\x65" => (string) $officialversions_decoded->StoreCommander->active, "\x62\162\157\141\144\143\x61\163\x74\115\145\163\163\141\147\145" => (string) $officialversions_decoded->StoreCommander->broadcastMessage); goto TEHu_; hkeXV: if (count($toUpdate) == 0) { goto ma9dW; } goto qJpWk; w6e6y: return false; goto iuIgn; TCHNn: BW5Qq: goto lHVCk; TTRAz: if (!empty($licence)) { goto NvWXR; } goto NyJpC; lHVCk: runProcessOneTimeByDay(); goto wpg1y; b_VPD: LmjjI: goto Wcrsg; qJpWk: return true; goto JMOYl; Zk9Xe: NvWXR: goto QVexb; myR24: unset($toUpdate["\x53\103\55\120\x61\x63\153\x33"]); goto FN3xm; CA6Ms: $officialversions_decoded = json_decode($officialversions); goto JKk7f; mjyIo: $localVersions = json_decode(SCI::getConfigurationValue("\x53\103\x5f\126\x45\122\x53\111\117\x4e\123", 0), true); goto c27NO; Ef4wS: YTDUT: goto VSiww; NkzlE: SCI::updateConfigurationValue("\x53\103\137\126\105\x52\123\x49\x4f\x4e\x53", json_encode($lastVersions)); goto aUx2E; yW1ne: echo "\x3c\x70\162\145\76" . $officialversions . "\x3c\x2f\x70\162\x65\x3e"; goto keass; JKk7f: if (empty($officialversions_decoded->StoreCommander)) { goto UjzQH; } goto b3q9E; gB3cn: $lastcheck = SCI::getConfigurationValue("\x53\103\x5f\x56\x45\x52\x53\111\117\116\x53\x5f\x4c\x41\123\x54\137\x43\x48\x45\103\x4b", 0); goto mjyIo; NjgL1: goto AEP3V; goto UDdtG; FN3xm: goto lnBkb; goto PyhkV; KG1HI: $lastVersions = array(); goto n9UUC; T3uTS: if ($full) { goto ghaFm; } goto hkeXV; VKSTC: if (!($lastVersions == null)) { goto Fhf6w; } goto KG1HI; P43Ns: } goto HJKXw; LJT8w: EswpT: goto qskEh; SwVER: if (empty($localdateoutfile)) { goto mNgdu; } goto jLo4f; SRL2L: getExtensionsStatus(); goto uRtMU; DNsoE: define("\123\x43\x5f\x47\x52\x49\x44\123\x45\x44\x49\x54\x4f\122\x5f\x49\116\123\124\101\x4c\114\105\x44", true); goto XPW83; dnJph: define("\x53\103\137\103\x53\x56\137\111\x4d\120\117\x52\x54\137\103\117\x4e\x46", "\x69\155\160\157\162\x74\56\143\157\x6e\x66\56\170\x6d\x6c"); goto H4atl; ddGGk: @file_put_contents(_PS_CORE_IMG_DIR_ . "\x70\x72\145\x73\164\x61\163\x68\x6f\160\55\x6c\157\x67\x69\x6e\63\x2e\160\x6e\147", "\60"); goto N31dj; T28CI: $sc_cookie->write(); goto BP7J3; mxPAJ: if (!($localtrialdate != 0 && date("\x59\x6d\144") > date("\x59\x6d\144", strtotime($localtrialdate . "\40\x2b\x20\67\40\x64\141\171\x73")) || $localdatefile != 0 && date("\x59\x6d\x64") > date("\131\155\144", strtotime($localdatefile . "\40\x2b\40\x37\40\144\141\171\x73")))) { goto uT0Mk; } goto sf3Kb; hjWQ0: yW_1O: goto X_0GZ; QKbJV: Sdtpi: goto Mbx0A; VAsws: goto fY3lK; goto ehXs5; MxG_O: lKJnt: goto Iq2eM; xZUgD: @file_put_contents(_PS_CORE_IMG_DIR_ . "\x70\x72\145\163\164\x61\x73\x68\157\160\x2d\154\x6f\x67\x69\156\63\56\160\156\x67", "\x30"); goto ahrdl; NGmlT: $CRONList = array("\x6d\141\x70\x70\x69\156\147\x5f\160\x72\x6f\x63\145\x73\x73", "\145\170\160\x6f\x72\164\x5f\x70\x72\x6f\143\x65\163\x73", "\143\x61\164\137\145\x78\x70\x6f\x72\x74\137\160\x72\157\143\145\x73\x73"); goto R10vN; bZ8Yt: echo "\x43\157\156\156\x65\x63\164\151\x6e\x67\x2e\x2e\56\56\x2e\x3c\x73\143\x72\x69\x70\164\76\x64\x6f\x63\x75\x6d\x65\156\164\x2e\154\x6f\143\x61\164\x69\x6f\156\x2e\x68\162\145\x66\75\47\x2e\x2f\x69\156\x64\x65\170\56\160\x68\160\47\73\x3c\57\x73\x63\162\151\160\x74\x3e"; goto SOx4I; hqibR: require_once SC_DIR . "\154\151\x62\x2f\x70\150\x70\x2f\x65\x78\x74\x65\156\163\x69\157\156\x2f\x73\x65\147\x6d\x65\156\x74\x61\x74\x69\157\156\x2f\123\x63\x53\145\147\155\x65\156\x74\x45\154\145\x6d\145\x6e\x74\x2e\x70\150\x70"; goto ICuv1; MEXEd: NcAaB: goto Jazhm; Td8yE: T28Hr: goto AYH1y; OE4K9: function doScUpdate($user_lang_iso = "\145\x6e") { goto Yagfu; VfoHP: echo _l("\103\157\160\171\x69\x6e\x67\x20\146\x69\x6c\x65\x73\56\56\x2e") . "\x3c\x62\x72\x2f\x3e\74\x62\x72\57\76"; goto FO0lG; FN5o3: if (!$is_old) { goto tMnKW; } goto FawVI; Yagfu: $notWritableFiles = array(); goto k1GFA; OB4ZC: RG1vd: goto Dr2_r; PNJ1y: die; goto y0taZ; y0taZ: GMmAb: goto ZMoCw; FawVI: if (!empty($newPackages)) { goto CSL7M; } goto pvWw6; nAe8m: $dst = SC_PS_MODULE_PATH_DIR . $ork_folder; goto Bq43M; qa0Of: $sc_update_path = SC_TOOLS_DIR . "\x68\x6f\157\x6b\x5f\163\x63\x5f\x75\160\144\141\164\x65\x2e\160\150\160"; goto SlF0n; D8eve: CSL7M: goto HJxCz; IA1n5: $licence = "\x64\145\x6d\x6f"; goto JOCQq; t_yng: aVQeO: goto gvJhj; b0em9: saveSettings(); goto mE0DI; QEsLg: dirCheckWritable(SC_DIR, $notWritableFiles); goto Fmnsf; waSki: getServicesStatus(); goto aKjTR; pvWw6: die(_l("\x4e\157\x20\165\x70\144\141\x74\145\x20\146\157\x75\x6e\x64\56")); goto D8eve; lR18J: $tmp_folder = SC_DIR . "\163\x63\x5f\x75\160\144\141\164\x65\137\164\x6d\x70"; goto kbMnm; k1GFA: $writePermissions = octdec("\60" . substr(decoct(fileperms(realpath(SC_PS_PATH_DIR . "\x69\155\147\57\160"))), -3)); goto VpQzh; qa8wC: PNCh0: goto ibI46; rFDkI: $old = umask(0); goto qbSOD; LerNx: $is_old = true; goto t_yng; QIh3R: S6VR5: goto fxaM1; lM6td: SCI::updateConfigurationValue("\x53\x43\137\126\x45\122\123\111\117\x4e\123", json_encode($localVersions)); goto Zw9fD; WSe6P: $dirStrSize = strlen(SC_PS_PATH_ADMIN_DIR); goto TmONA; gDIFh: C9lOI: goto VfoHP; qdmDQ: $newPackages = checkSCVersion(true, true, true); goto FN5o3; mE0DI: $licence = SCI::getConfigurationValue("\123\x43\x5f\114\x49\x43\105\116\x53\x45\137\113\x45\131"); goto vMlpP; jFYsO: require_once $sc_update_path; goto QIh3R; XWlH8: $local_settings["\x41\120\120\137\x54\x52\105\116\x44\123"]["\x76\141\154\165\x65"] = 1; goto b0em9; nO4UA: foreach ($newPackages as $pack) { goto zpQBt; wElbD: goto vL3Yn; goto IVkC0; jCH3M: $pack["\165\x72\154"] = str_replace("\x4b\105\x59", SCI::getConfigurationValue("\x53\x43\x5f\114\111\x43\x45\116\123\x45\137\113\x45\131", '') . "\137" . sc_phpversion(false) . "\x5f" . _PS_VERSION_, $pack["\165\162\154"]); goto thYdK; zpQBt: echo _l("\104\157\167\156\x6c\x6f\x61\x64\x69\156\x67\40\x70\141\x63\153") . "\40" . $pack["\x66\x69\154\145\x6e\141\x6d\x65"] . "\x2e\56\56\x3c\142\162\57\x3e"; goto jCH3M; B19iT: file_put_contents($majFileZipPath, $data); goto DD6Hj; lcaCJ: echo _l("\x45\156\144\x20\157\x66\40\x65\x78\164\162\x61\x63\x74\151\157\x6e") . "\74\x62\162\x2f\x3e\x3c\x62\162\x2f\x3e"; goto wElbD; I98L9: echo _l("\x45\170\x74\162\x61\x63\164\x69\156\x67\x20\172\151\x70\40\141\162\143\x68\151\166\x65\x2e\x2e\56") . "\74\x62\162\57\x3e"; goto Wy_mK; IvVGT: vL3Yn: goto fRofr; faCUn: mx7g1: goto hWDKb; Yni3V: Tools::ZipExtract($majFileZipPath, $tmp_folder . "\x2f"); goto NyPJD; Wy_mK: $old = umask(0); goto Yni3V; GewEr: $majFileZipPath = $tmp_folder . "\57" . $pack["\x66\x69\154\145\156\x61\x6d\x65"]; goto B19iT; jkfv6: echo $pack["\x75\162\x6c"] . "\x3c\142\162\x2f\x3e"; goto faCUn; thYdK: $data = sc_file_get_contents($pack["\165\162\x6c"]); goto raM5W; msyUz: echo _l("\x45\x72\x72\x6f\162\x20\x77\151\x74\x68\x20\x61\x72\143\150\151\166\x65\40\x28\146\x69\154\145\x73\151\172\145\40\x3d\x20\x30\40\x4b\157\51") . "\74\x62\162\x2f\76"; goto IvVGT; NyPJD: umask($old); goto n4p7G; fRofr: AdS7M: goto CRWeq; raM5W: if (!(Tools::getValue("\x44\105\102\125\x47", 0) == 1)) { goto mx7g1; } goto jkfv6; hWDKb: echo "\40\50" . strlen($data) / 1000 . "\113\x29\x3c\142\x72\x2f\76"; goto GewEr; IVkC0: jXovD: goto msyUz; n4p7G: $localVersions[$pack["\x73\150\157\162\164\x6e\x61\155\145"]] = $pack; goto lcaCJ; DD6Hj: if (filesize($majFileZipPath) == 0) { goto jXovD; } goto I98L9; CRWeq: } goto gDIFh; hiZxQ: echo _l("\x55\x70\x64\x61\164\x69\156\147\56\56\x2e") . "\x3c\142\162\x2f\x3e\74\x62\162\57\76"; goto ovHT1; mW69v: dyQ9v: goto hiZxQ; HJxCz: $checkSupport = sc_file_get_contents("\x68\x74\164\160\x73\72\x2f\57\167\167\167\56\163\164\x6f\162\x65\143\x6f\x6d\155\x61\x6e\x64\145\162\x2e\143\x6f\x6d\x2f\x66\x69\x6c\x65\x73\57\x67\145\x74\x73\x75\x70\x70\x6f\x72\164\x5f" . SCI::getConfigurationValue("\123\103\137\x4c\111\x43\x45\x4e\123\x45\137\113\105\x59", '') . "\137\143\150\x65\x63\x6b\x6f\156\154\x79\x2e\x70\150\x70"); goto Xi5Uz; ZMoCw: $licence = SCI::getConfigurationValue("\123\x43\137\x4c\x49\x43\105\116\x53\x45\x5f\113\105\x59"); goto oXA0h; oXA0h: $is_old = false; goto RH0Bs; ydATi: umask($old); goto qa8wC; Q_XU4: if (isset($_GET["\x75\x70\144\x61\x74\x65\153\145\145\x70\x7a\151\x70\x66\x69\154\x65"])) { goto t87ij; } goto jrQ7C; Nm9ha: die(_l("\x54\150\145\x20\x70\x65\162\151\x6f\x64\x20\x65\156\164\151\164\154\x69\x6e\x67\40\171\x6f\165\x20\164\x6f\40\144\x6f\167\x6e\154\157\141\144\x20\x53\164\x6f\x72\x65\x20\103\157\155\155\x61\156\144\x65\162\40\165\x70\x64\141\164\145\163\x20\141\156\x64\40\142\x65\156\x65\146\151\164\x20\x66\x72\x6f\x6d\40\x73\x75\x70\160\x6f\x72\164\40\x68\x61\x73\40\145\x78\x70\x69\x72\145\x64\56") . "\x3c\142\162\x2f\76\x3c\x62\162\x2f\76" . _l("\x49\146\40\171\157\x75\40\167\151\163\150\40\164\x6f\x20\x62\x65\x6e\145\146\151\x74\x20\146\162\x6f\155\40\146\x75\164\165\x72\145\40\x75\160\x64\141\x74\145\163\40\x61\x6e\x64\x20\156\x65\167\x20\x66\145\141\164\165\x72\145\163\54\x20\160\x6c\145\x61\x73\145\40\154\157\x67\40\x6f\156\x74\157\40\x79\157\x75\x72\x20\141\143\x63\x6f\x75\x6e\164\x20\x68\145\x72\x65\72") . "\x3c\142\162\x2f\x3e" . "\74\141\40\150\x72\145\x66\75\42\150\x74\164\x70\163\x3a\x2f\x2f\167\x77\x77\x2e\163\164\157\162\x65\143\157\x6d\155\x61\x6e\144\x65\x72\x2e\x63\x6f\155\x2f" . ($user_lang_iso == "\146\x72" ? '' : "\145\x6e\57") . "\155\x79\55\x6c\151\143\145\156\163\x65\163\56\160\x68\x70\42\40\x74\141\162\x67\x65\x74\75\x22\x5f\142\x6c\141\x6e\153\x22\76\150\164\164\160\163\x3a\x2f\57\167\x77\x77\x2e\x73\x74\157\x72\145\x63\157\155\x6d\141\156\144\x65\162\x2e\143\157\x6d\x2f" . ($user_lang_iso == "\146\162" ? '' : "\145\156\x2f") . "\x6d\171\55\x6c\151\143\145\156\163\x65\x73\x2e\160\150\160\x3c\57\141\76" . "\x3c\142\162\x2f\x3e\74\x62\162\x2f\x3e" . _l("\141\x6e\144\40\x63\154\x69\x63\153\40\157\156\40\125\160\144\x61\164\x65\163\40\x26\40\163\x75\x70\x70\157\x72\x74\40\x36\x20\x6f\x72\40\61\x32\x20\x6d\x6f\156\x74\150\x73\54\x20\157\x72\40\x75\160\147\x72\141\x64\145\40\164\x6f\40\141\x20\x68\151\x67\x68\x65\x72\40\x6c\151\143\145\156\x73\x65\x20\x70\154\141\156\x2e") . "\74\x62\162\57\76\x3c\142\x72\x2f\x3e" . "\x3c\141\x20\150\x72\145\146\75\42\150\x74\x74\x70\x3a\x2f\x2f\163\165\160\160\157\x72\x74\x2e\x73\x74\x6f\x72\145\143\x6f\155\x6d\x61\156\144\145\x72\x2e\x63\x6f\155\x22\40\164\x61\162\x67\145\x74\75\42\x5f\142\x6c\141\x6e\x6b\42\x3e" . _l("\x50\x6c\x65\141\x73\145\x20\143\x6f\x6e\x74\x61\143\x74\x20\x75\x73\40\x66\x6f\x72\x20\x61\x6e\171\40\x73\x61\154\x65\x73\x20\151\156\x71\x75\151\162\x69\145\x73\x20\x79\157\165\x20\155\x61\x79\40\150\x61\x76\145\56") . "\x3c\x2f\x61\x3e"); goto OB4ZC; SlF0n: if (!file_exists($sc_update_path)) { goto S6VR5; } goto jFYsO; Oq48Q: KhMbn: goto Ou2Kr; srLf0: echo "\74\160\x72\x65\x3e"; goto D0dha; Me0hA: gJ1R4: goto PNJ1y; vMlpP: if (!empty($licence)) { goto ismyu; } goto IA1n5; ovHT1: if (!(Tools::getValue("\x44\x45\102\125\x47", 0) == 1)) { goto H0XYO; } goto srLf0; EhGHe: die(_l("\105\x72\162\x6f\x72\72\x20\x79\157\165\162\x20\x6c\x69\143\145\156\x73\145\40\151\163\40\x6e\157\164\x20\146\x6f\x75\x6e\x64\40\157\x6e\x20\157\165\x72\40\163\145\162\166\x65\x72\54\x20\x70\x6c\x65\141\163\x65\40\143\x6f\156\164\141\143\x74\40\x73\x75\x70\160\157\162\x74\x2e")); goto Oq48Q; WXH74: $src = SC_DIR . "\x61\x75\x74\x6f\151\x6e\163\164\x61\154\154\57" . $ork_folder; goto nAe8m; TmONA: echo _l("\x53\157\155\x65\x20\146\x69\x6c\145\163\x20\141\162\145\40\x6e\x6f\x74\x20\x77\x72\151\164\x61\142\154\x65\54\40\160\154\x65\x61\163\x65\40\x63\x68\x61\x6e\147\x65\40\164\150\145\x20\x70\145\162\x6d\151\163\163\x69\x6f\156\40\157\x66\x20\x74\150\145\163\145\x20\x66\x69\154\x65\x73\x3a") . "\x20\x28" . $writePermissionsOCT . "\x29" . "\x3c\x62\162\57\x3e\74\x62\x72\x2f\x3e"; goto xtafK; VpQzh: $writePermissionsOCT = substr(decoct(fileperms(realpath(SC_PS_PATH_DIR . "\151\155\x67\57\x70"))), -3); goto QEsLg; ScToT: if (!(count($exp) >= 4 && strpos($licence, "\x53\x43\x2d\120\123\x2d") === 0)) { goto aVQeO; } goto LerNx; qbSOD: mkdir($tmp_folder, $writePermissions); goto ydATi; v4ixu: t87ij: goto lM6td; aKjTR: $ork_folder = "\157\162\153"; goto WXH74; kbMnm: if (is_dir($tmp_folder)) { goto PNCh0; } goto rFDkI; Fmnsf: if (empty($notWritableFiles)) { goto GMmAb; } goto WSe6P; yf2_1: $localVersions = array(); goto mW69v; D0dha: var_dump($newPackages); goto rchpb; ys441: $exp = explode("\55", $licence); goto ScToT; JOCQq: ismyu: goto waSki; Xi5Uz: if (!($checkSupport == "\114\111\x43\x45\x4e\123\105\116\x4f\124\x46\117\125\x4e\104")) { goto KhMbn; } goto EhGHe; Bq43M: recursive_copy($src, $dst); goto qa0Of; rchpb: echo "\x3c\x2f\160\x72\x65\76"; goto vKYPC; jrQ7C: dirRemove($tmp_folder); goto v4ixu; Zw9fD: SCI::updateConfigurationValue("\x53\x43\x5f\x4c\101\123\x54\137\x55\120\x44\101\x54\x45", date("\131\55\x6d\55\144\40\x48\x3a\x69\x3a\x73")); goto XWlH8; FO0lG: dirMove($tmp_folder . "\x2f\x53\x43", realpath(SC_DIR . "\x2e\56\57"), true); goto Q_XU4; Ou2Kr: if (!($checkSupport == "\x45\x58\120\111\122\x45\104")) { goto RG1vd; } goto Nm9ha; EZytR: if (!($localVersions == null)) { goto dyQ9v; } goto yf2_1; Dr2_r: tMnKW: goto lR18J; RH0Bs: if (empty($licence)) { goto tFiFz; } goto ys441; xtafK: foreach ($notWritableFiles as $k => $file) { goto K7Nv3; K7Nv3: echo substr($file, $dirStrSize) . "\74\142\162\57\76"; goto DaxWD; TxHDv: G5BvW: goto BwTGr; DaxWD: if (!($k > 20)) { goto G5BvW; } goto bxzHj; Hcs8t: die; goto TxHDv; bxzHj: echo "\56\56\56"; goto Hcs8t; BwTGr: hF3ou: goto yugDo; yugDo: } goto Me0hA; gvJhj: tFiFz: goto qdmDQ; ibI46: $localVersions = json_decode(SCI::getConfigurationValue("\123\103\137\126\x45\x52\123\111\x4f\116\123", 0), true); goto EZytR; vKYPC: H0XYO: goto nO4UA; fxaM1: } goto gpqXg; YEJ2E: thYBj: goto dZQBN; ZFZZZ: define("\111\x53\x5f\122\x42\x4d", false); goto w92gi; Q_vcl: $user_lang_iso = Language::getIsoById($sc_agent->id_lang); goto r_a1w; Rla9F: if (empty($sc_cookie)) { goto VGjaO; } goto z9g_3; A4p0w: if ($ajax) { goto zS7xx; } goto NHV9l; G0dqD: if (!(!empty($user_lang_iso) && file_exists(SC_DIR . "\x6c\x61\156\147\57" . $user_lang_iso . "\56\x70\x68\x70"))) { goto II7jZ; } goto OPNa1; AkiEk: lCHuW: goto cQzK4; reiQ4: foreach ($files as $file) { goto ldmRO; ldmRO: if (!file_exists($file)) { goto jEJpz; } goto Lhmto; ct3NS: $error_access = true; goto iVf8y; Dy215: jEJpz: goto k35C4; k35C4: MXfJz: goto g4ZwY; Lhmto: if (!(strtoupper(substr(PHP_OS, 0, 3)) != "\x57\x49\x4e")) { goto JYVe6; } goto ktA39; mOza4: JYVe6: goto Dy215; ktA39: if (is_writable($file)) { goto wqgTB; } goto ct3NS; iVf8y: wqgTB: goto mOza4; g4ZwY: } goto BU2gT; HsqKf: if (defined("\x4b\101\x49\x39\104\x46\x34")) { goto SFH7o; } goto Qhuj2; sf3Kb: displayFirstLoginPage("\x59\x6f\165\x72\40\x54\x72\x69\x61\154\x20\163\165\x62\163\x63\x72\x69\160\164\151\157\156\40\x68\x61\x73\40\x65\x78\160\151\162\145\x64", array("\156\157\164\x72\151\x61\154\146\157\162\x6d" => 1)); goto cmyoN; z9rSx: define("\123\103\137\102\x45\x54\x41", true); goto Qh6it; JKjPl: goto dE8p8; goto oSlH6; Xs4Bx: function checkServicesStatus() { goto H9Wru; sHueZ: foreach ($services as $service) { goto lvoOA; pBMuJ: if (!defined("\x53\103\137" . $service . "\x5f\x41\x43\124\x49\126\105")) { goto LT5O4; } goto c1tKI; TUEYF: define("\x53\103\x5f" . $service . "\x5f\101\103\124\x49\126\x45", "\61"); goto wOm14; T0Mxh: define("\123\103\x5f" . $service . "\x5f\x41\x43\x54\111\x56\105", "\60"); goto uHyMj; lxJG7: die("\106\101\x54\x41\114\40\x45\122\122\x4f\x52\x20\72\40\x43\x6f\156\163\x74\x61\156\x74\40\141\x6c\162\x65\x61\x64\171\x20\x64\145\x66\151\x6e\145\x64"); goto FqAiA; W0lOK: goto XAwsh; goto qND94; IN710: MOGDR: goto Bxt9b; wOm14: OF7ue: goto kG_Jx; uHyMj: XAwsh: goto lPTgY; o_PGs: JyqET: goto TUEYF; bc5c9: if (!defined("\x53\103\137" . $service . "\137\101\103\124\111\126\105")) { goto JyqET; } goto lxJG7; ts94k: G6nhW: goto bc5c9; kG_Jx: JCIKj: goto IN710; lPTgY: goto JCIKj; goto ts94k; c1tKI: die("\106\101\124\101\114\x20\105\x52\x52\117\122\40\x3a\x20\x43\157\156\163\x74\141\156\x74\40\141\x6c\x72\145\x61\x64\171\x20\x64\145\x66\x69\156\x65\x64"); goto W0lOK; lvoOA: if (!empty($services_decoded->{$service}->active)) { goto G6nhW; } goto pBMuJ; qND94: LT5O4: goto T0Mxh; FqAiA: goto OF7ue; goto o_PGs; Bxt9b: } goto jpoft; vbFdG: $services = SCI::getConfigurationValue("\x53\x43\x5f\123\x45\122\126\111\103\x45\x53\x54\101\x54\x55\123"); goto E1r6Y; oTaa7: $services = array("\106\x6f\x75\x6c\x65\x46\x61\x63\x74\157\162\x79"); goto sHueZ; jpoft: QGsKb: goto WA7Vg; E1r6Y: $services_decoded = json_decode($services); goto oTaa7; H9Wru: return false; goto vbFdG; WA7Vg: } goto fFVNt; X_0GZ: if (!empty($localdateoutfile)) { goto LNaXS; } goto WzNds; OI7es: @file_put_contents(_PS_CORE_IMG_DIR_ . "\x70\162\145\x73\164\141\163\150\157\160\x2d\x6c\x6f\147\x69\156\63\56\x70\x6e\x67", "\60"); goto BLMO2; W15Wa: error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); goto mNYIX; v9OtX: OxQ9D: goto n8O5m; JMqut: if (defined("\123\103\137\x53\x65\147\x6d\145\156\164\x61\164\x69\x6f\x6e\x5f\101\x43\124\x49\x56\105") && SC_Segmentation_ACTIVE == "\x31" && _r("\115\x45\116\137\115\101\x52\x5f\x53\105\x47\x4d\x45\x4e\x54\101\124\111\117\x4e") && _r("\x4d\x45\x4e\137\x54\117\x4f\x5f\105\130\124\x45\x4e\123\x49\x4f\116\123")) { goto vAsw5; } goto MNdIP; YRu9b: if ($same_empl_url) { goto KIyrC; } goto E439o; LP0Ug: goto hvDlt; goto xqHwk; wHwSl: $demos["\x66\x37\x62\x62\x38\65\70\x61\63\x61\146\144\146\x36\143\63\66\146\x39\64\63\146\141\63\141\x35\x35\x33\141\63\143\x30"] = "\111\x6e\x63\x6f\156\x6e\x75"; goto ZLPaC; BP7J3: if (!(($key != md5($id_employee . $datelastregen) || $sc_cookie->psap == '') && !(isset($CRON) && $CRON == true && sc_in_array(Tools::getValue("\x61\x63\164\151\157\156", ''), $CRONList, "\154\x69\143\x65\156\x63\x65\x73\x43\162\x6f\x6e\114\151\x73\x74")))) { goto xG3zg; } goto OpcVn; H8Wsd: define("\x43\107\125\x5f\105\x58\x54\105\x52\x4e\x41\114\x5f\125\122\114", "\150\164\x74\160\163\72\57\57\167\x77\167\x2e\163\164\x6f\162\145\143\157\x6d\x6d\141\156\144\x65\162\56\143\157\x6d\x2f\x63\147\x76\x2e\x70\150\x70\x3f\154\75" . SC_ID_LANG_FOR_EXTERNAL . "\x26\143\75" . $cgu_cms_id); goto qO8wa; OPNa1: require SC_DIR . "\x6c\x61\x6e\147\57" . $user_lang_iso . "\56\160\150\160"; goto U8GKS; gPFbb: goto X8JPv; goto kjFB6; AYH1y: $cgu_allowed_lang = array("\145\x6e" => 1, "\146\162" => 2, "\145\x73" => 4); goto VxGCt; vDaPC: if (count($exploded_licence) == 2 && $exploded_licence[0] == "\x53\103\x2d\x50\123\55\x52\x42\115") { goto Oi9Ti; } goto XsOff; nYd2z: $ajax = Tools::getValue("\141\x6a\x61\x78", 0); goto jHmSl; bSZ6G: OEcbF: goto Gsqol; QqvVk: if (!(Tools::getValue("\x66\x69\x72\163\164\114\x6f\x67\151\x6e\x50\141\x67\145\x41\x63\164", '') == "\143\162\x65\141\164\x65\x74\162\x69\141\154")) { goto Kxb1M; } goto QIe34; W7VS6: require_once SC_DIR . "\x6c\x69\142\x2f\x70\x68\160\57\145\170\164\x65\x6e\163\x69\x6f\x6e\x2f\x65\170\160\157\x72\x74\x5f\x6f\x72\144\x65\x72\57\105\x78\x70\157\x72\x74\117\x72\x64\x65\x72\x2e\x70\x68\160"; goto UshhA; rKTrP: goto CTHAc; goto u7AKC; yQtt1: define("\123\103\x5f\x43\123\126\137\105\130\120\x4f\x52\x54\x5f\x44\x49\x52", SC_PS_MODULE_PATH_DIR . "\x65\170\x70\157\x72\164\57"); goto sZsMR; B4XYz: tWTde: goto cqY73; WzNds: $localdateoutfile = date("\131\55\x6d\55\144"); goto zMtE2; Mgc9Y: if (defined("\x53\103\x5f\107\x72\151\x64\105\x64\151\x74\x6f\x72\x50\162\x6f\137\x41\x43\124\x49\126\x45") && SC_GridEditorPro_ACTIVE == "\61") { goto xWiZh; } goto W9F4F; Qhuj2: define("\x4b" . "\101" . "\x49" . "\71" . "\104" . "\106" . "\x34", "\60"); goto TAEHw; Ev3oA: oWv1n: goto Tgd7G; mbaEu: require_once SC_DIR . "\154\151\142\57\160\150\160\x2f\x65\170\x74\145\156\x73\151\x6f\x6e\x2f\x65\x78\160\x6f\x72\164\x5f\x6f\x72\144\x65\162\x2f\105\170\160\x6f\x72\x74\x4f\x72\x64\x65\162\x46\151\x6c\164\145\x72\x46\x6f\162\x6d\56\160\150\160"; goto VqLHp; pQYP8: $debug = true; goto lCFth; xzMvp: define("\123\x43\101\x53", false); goto Xg7fk; pN1qy: define("\x4b" . "\x41" . "\x49" . "\71" . "\x44" . "\106" . "\64", "\x30"); goto OBswo; OBswo: if (!defined("\106\117\122\103\105" . "\x5f" . "\x45\130\124\105\x4e\123\111\x4f\116" . "\137" . "\x41\103\x54\x49\126\x45")) { goto ku715; } goto RK7y9; NS8dk: if (!version_compare(_PS_VERSION_, "\x31\56\67\x2e\x33\56\60", "\76\75")) { goto w8JZN; } goto LW5u2; H7GQi: $newLicense = Tools::getValue("\154\151\143\145\x6e\x73\145", ''); goto I1PGL; kjFB6: Uhe5l: goto I5k3L; bGBqW: $exploded_licence = explode("\137", $licence); goto vDaPC; r9ZI0: require_once SC_DIR . "\154\151\142\57\160\150\160\x2f\x65\170\164\x65\156\163\151\157\x6e\x2f\145\170\160\157\x72\x74\x5f\x63\x75\x73\x74\157\x6d\x65\162\x2f\105\x78\x70\157\162\164\x43\x75\x73\x74\157\x6d\x65\162\56\160\x68\x70"; goto FxWIq; gvyQG: $allowed = Module::getPermissionStatic($idScModule, "\x76\151\145\x77", new Employee((int) $sc_agent->id_employee)); goto AGNdA; KgbRs: require_once SC_DIR . "\154\x69\x62\x2f\160\x68\160\x2f\x70\145\162\x6d\x69\163\163\x69\x6f\x6e\163\56\160\x68\160"; goto mwaTl; memYC: if (!in_array($check["\164\x79\x70\x65"], array(4, 5, 3, 7, 9, 10))) { goto nelJK; } goto BOXJN; Iq2eM: require_once SC_DIR . "\154\151\142\57\x70\150\x70\x2f\163\145\164\x74\x69\x6e\147\x73\x2e\x70\150\x70"; goto KgbRs; KeF31: ZDBzN: goto V6k2T; X_9jp: if (!$error_access) { goto lKJnt; } goto lQTaI; zUrcF: $cgu_prefix = "\164\145\162\155\x73\x2d\163\x75\x62"; goto s_bG2; TESr9: LAOWg: goto GXInq; BOXJN: define("\x53" . "\x55" . "\102" . "\71" . "\x45" . "\x48" . "\x53" . "\64" . "\x50" . "\x4c" . "\125" . "\x53", "\x31"); goto i5oT4; bohiP: PWbtj: goto j2CSC; wScgP: loadSettings(); goto Gv_03; qskEh: define("\123\x43\x4c\111\x4d\x52\x45\x46", "\125\x6e\154\x69\x6d\151\x74\x65\x64\55\x53\160\x65\x63\151\x61\154"); goto UIF0V; bKtZB: goto T28Hr; goto dCk3S; u9QJ4: GYA4V: goto ZFZZZ; bmhrt: define("\x53\x43\137\115\x4f\104\x55\114\x45\x5f\106\x4f\114\x44\105\x52\x5f\x4e\101\x4d\105", "\x73\x74\x6f\162\x65\143\157\155\x6d\x61\156\144\145\162"); goto MCz3y; BhOur: require_once SC_DIR . "\x6c\x69\x62\x2f\160\x68\160\57\x65\170\x74\145\156\x73\x69\157\156\x2f\163\145\147\155\x65\x6e\x74\x61\x74\x69\157\x6e\57\123\143\123\145\147\x6d\145\x6e\x74\x2e\x70\150\160"; goto hqibR; dCIpW: function getScExtensionAndExtract($filename) { goto sj2ec; MIoiY: $extracted = Tools::ZipExtract($extensionZipPath, _PS_MODULE_DIR_); goto GshLK; GNlOJ: $old = umask(0); goto MIoiY; ZciD9: DY8NT: goto qtN16; jcyB0: return true; goto MwnQY; MwnQY: HEvWi: goto poI7f; sj2ec: $tmp_folder = SC_DIR . "\163\x63\137\x75\160\144\141\164\145\137\x74\155\160"; goto UwHx7; RCgDh: umask($old); goto oYYaP; Ng7Fm: if (!empty($data)) { goto U7Xlk; } goto LsGbk; xlx9L: $old = umask(0); goto ylmsO; GshLK: if (empty($extracted)) { goto HEvWi; } goto RCgDh; rCNQ7: umask($old); goto ZciD9; lVRZL: file_put_contents($extensionZipPath, $data); goto GNlOJ; HYRvy: if (is_dir($tmp_folder)) { goto DY8NT; } goto xlx9L; UwHx7: $writePermissions = octdec("\x30" . substr(decoct(fileperms(realpath(SC_PS_PATH_DIR . "\151\155\147\x2f\x70"))), -3)); goto ChdX9; ChdX9: $url = "\150\164\x74\160\x73\72\57\57\167\x77\167\56\x73\x74\157\x72\145\143\157\155\x6d\x61\x6e\144\x65\162\x2e\143\x6f\x6d\x2f\146\x69\154\145\x73\x2f\x65\170\164\145\156\163\151\x6f\156\x73\57" . md5($filename) . "\56\x7a\151\160"; goto HYRvy; poI7f: return false; goto wPvpH; oYYaP: @unlink($extensionZipPath); goto jcyB0; LsGbk: return false; goto EkbkB; qtN16: $data = sc_file_get_contents($url); goto Ng7Fm; EkbkB: U7Xlk: goto Yc4Pd; Yc4Pd: $extensionZipPath = $tmp_folder . "\x2f" . $filename . "\x2e\x7a\x69\160"; goto lVRZL; ylmsO: mkdir($tmp_folder, $writePermissions); goto rCNQ7; wPvpH: } goto iK8Og; l83aU: if (defined("\123\125\102\66\124\131\x50\62")) { goto tWTde; } goto GS1zy; hoHnE: $key = $sc_cookie->key; goto EsHyb; yJ15K: $protocol_content = Tools::usingSecureMode() && Configuration::get("\120\123\x5f\123\123\x4c\137\105\x4e\101\x42\114\105\x44") ? "\150\x74\164\x70\x73\72\57\x2f" : "\150\x74\x74\160\x3a\57\57"; goto HULvW; lCFth: p4cnZ: goto mDDWV; yeCdk: AYPJK: goto ZSL2T; etQHg: $sc_agent->setLicenseData($check); goto QuGMh; P0qSe: $cookie_mail = $cookie->__get("\x65\x6d\x61\x69\x6c"); goto yrOD4; ol1CQ: function getExtensionsList() { goto hIE_P; tmqvh: getExtensionsStatus(); goto HnQ90; HnQ90: $extensions = SCI::getConfigurationValue("\123\x43\137\105\x58\124\x45\116\123\111\117\x4e\123\x54\x41\x54\125\123"); goto gxNEo; Jpm1A: return json_decode($extensions, true); goto xq2Ka; hIE_P: $extensions = SCI::getConfigurationValue("\x53\x43\x5f\x45\130\124\105\x4e\x53\111\117\116\x53\124\x41\124\125\123"); goto Sr2iP; Sr2iP: if (!empty($extensions)) { goto mKL9V; } goto tmqvh; gxNEo: mKL9V: goto Jpm1A; xq2Ka: } goto Eiip5; u7AKC: xWiZh: goto VjYRv; VtvPF: goto ZDBzN; goto AoMZJ; Mbx0A: $sc_agent = SC_Agent::getInstance(); goto P0qSe; f3QZQ: if (defined("\x53\103\x5f\x47\162\x69\x64\105\144\x69\164\x6f\x72\137\101\103\x54\x49\126\x45") && SC_GridEditor_ACTIVE == "\x31") { goto dnoEo; } goto D3AXA; wDzxh: if ($_GET["\x73\145\x74\x44\x45\102\125\107"] == 1) { goto wtOpn; } goto rnACw; xinEJ: removeUnwantedFiles(); goto AGyoL; owOgS: define("\x53\x43\137\x4d\x41\111\114\x5f\101\124\x54\x41\103\x48\115\x45\x4e\x54\x5f\104\x49\122", _PS_ROOT_DIR_ . "\x2f\x75\x70\154\157\x61\144\x2f"); goto nG7FZ; yUf5e: $localdatefile = 0; goto wkeTV; N1eZf: if (!($result == '')) { goto UiXb3; } goto WoKhd; lceTS: if (empty($check["\x69\x73\124\x72\x69\141\x6c"])) { goto jzGLN; } goto nY9SL; m_xfu: CpFer: goto seZv8; km3_b: define("\x53\x43\x5f\120\123\137\x50\x41\124\110\137\x41\104\x4d\111\x4e\137\x44\111\122", SC_PS_PATH_DIR . SCI::decrypt($sc_cookie->psap) . "\57"); goto rhO3z; wcII4: define("\x49\123\137\x53\x55\x42\123", "\61"); goto sT1ZN; MGZsz: if (!(KAI9DF4 != 1 && !$ajax)) { goto g6xdQ; } goto L683M; w8nIV: $cookie = new Cookie("\x70\x73\101\x64\x6d\x69\156", substr($_SERVER["\123\103\x52\111\x50\x54\137\116\101\x4d\x45"], strlen(__PS_BASE_URI__), -strlen($currentFileName["\x30"]) - 3)); goto XNOvu; twGY9: $localtrialdate = SCI::getConfigurationValue("\x43\x52\x4f\116\x4a\x4f\x42\123\x5f\115\117\104\x55\114\x45\137\x43\x44\x41\x54\x45"); goto yUf5e; j2CSC: $cgu_prefix = "\x74\145\162\x6d\x73\x2d\x73\165\142\x2d\162\142\155"; goto hVrBu; vr3E8: displayFirstLoginPage($val[1]); goto VtvPF; jNA17: if (!SC_TOOLS) { goto OEcbF; } goto R7alG; v9L3v: WVrUp: goto tHl25; QgFN5: aOAJL: goto xZUgD; f1GQE: PQ6CT: goto PZNwY; bGbe2: if (!isset($cookie)) { goto HUYCl; } goto ilF0B; CQ1Jx: define("\x53\103\x5f\x4d\x4f\x44\125\x4c\x45\137\106\117\114\104\105\x52\x5f\116\101\115\x45", "\x73\164\x6f\x72\145\x63\x6f\x6d\155\x61\x6e\x64\x65\162\x70\163"); goto ddnD1; v3qvx: $local_settings["\101\120\x50\x5f\x54\122\105\116\104\123"]["\x76\x61\x6c\165\145"] = 1; goto OBtn0; AFe95: displayFirstLoginPage("\131\157\165\162\x20\163\x75\x62\163\x63\162\151\160\164\x69\x6f\156\x20\x69\163\40\156\157\x74\x20\141\143\x74\151\x76\145\56"); goto z_od6; N_lCL: define("\123\103\137\120\123\x5f\120\101\x54\x48\137\x41\x44\115\111\x4e\x5f\122\x45\x4c", "\x2e\56\57"); goto W4bt1; seZv8: nDuaT: goto HsqKf; PD7I1: bz2Ej: goto r9ZI0; HGyPQ: $LANG_EN = $LANG; goto G0dqD; i5oT4: nelJK: goto xwpdT; Gsqol: function displayFirstLoginPage($error = null, $other = array()) { goto u9x3g; Cfg2b: echo PS_WEB_PATH; goto ff37F; glgjG: ?>
"/><br/>
<?php goto B6hQW; C45aN: echo _l("\x41\154\x72\x65\x61\x64\171\40\150\141\166\x65\40\141\40\154\x69\x63\145\156\x63\x65\x20\153\x65\x79\77"); goto mG9kw; i6VRi: ?>
</a>
<br/>
<input id="licence_register" class="btn_pink disabled" type="button" style="margin-top: 10px;" value="<?php goto PwZXQ; hy4gC: ?>
"/><br/>
<?php goto OxxmI; lzbYm: echo CGU_LOCAL_PATH; goto lPNzF; lQWTZ: echo _l("\124\150\145\x20\x74\x72\151\x61\x6c\40\x70\145\162\151\x6f\144\40\143\141\156\x6e\157\164\x20\142\x65\40\163\x74\141\162\x74\x65\144\40\x6f\156\40\x6c\x6f\x63\x61\x6c\x68\x6f\x73\164\40\142\165\164\40\157\156\x6c\171\40\x6f\156\x6c\151\x6e\x65\41"); goto btV7N; ocpie: kBN7m: goto bxYRg; ihp3l: ?>
<br/><br/>
<?php goto W1d6d; rYhiy: x10Tg: goto NIp8u; BcydF: ?>
"></script>
</head>
<body>
<div class="firstLoginPage">
<div style="width: 310px; float: left;">
<img src="lib/img/logo.png"/>
</div>
<div style="clear: both;"></div>
<b><?php goto Bq6jW; Bq6jW: echo _l("\x54\x68\145\x20\142\x65\163\x74\40\x63\141\164\141\154\157\x67\40\155\x61\x6e\141\x67\x65\x6d\145\x6e\x74\x20\141\x70\160\154\151\143\x61\164\151\157\x6e\40\x66\157\x72\40\120\162\145\x73\164\x61\x73\x68\x6f\x70\41"); goto L63Tj; CctgN: ?>
</fieldset>
</form>
<?php goto xHcdi; nFSyY: PMQ76: goto WoRG6; XfvIR: VG8DZ: goto Zkj8x; d7Buq: echo _l("\x49\x20\x61\x63\143\145\160\x74\40\124\145\162\x6d\163\x20\x26\x20\x43\157\x6e\144\151\164\x69\157\156\x73"); goto gcQKt; DKGtz: goto pcaPe; goto NaAzC; tMrPM: die; goto ZD8r7; pRgjU: ?>
" />
<script src="<?php goto zUKy1; xqRKq: if ($error == "\105\162\x72\157\162\x3a\x20\111\156\x76\x61\154\151\x64\x20\101\x63\x63\145\x73\163\40\101\x74\164\x65\x6d\x70\x74" || strpos($error, "\x69\156\x76\x61\x6c\x69\144\40\146\x6f\162\40\164\150\151\x73\x20\154\157\x63\x61\x74\151\157\x6e") != 0) { goto hpTT4; } goto VFg5j; Rd0Be: if (!file_exists(SC_DIR . "\154\151\143\x65\156\163\145\56\160\150\x70")) { goto NASCx; } goto ZiDp6; l4Ogn: var_dump($tab); goto pTIDC; nUGna: biF5u: goto oe9LW; ChNia: echo "\x3c\x64\x69\166\40\143\x6c\141\163\163\75\42\163\143\x5f\x65\162\x72\x6f\x72\42\76" . _l("\x54\x68\x65\40\x54\x72\x69\141\154\40\x70\145\x72\x69\157\x64\40\x77\x65\x20\x6f\146\146\145\x72\x65\144\40\x68\x61\x73\x20\x6e\x6f\167\x20\145\x6e\144\145\144\x2e\x20\124\x6f\40\143\157\156\164\x69\x6e\165\x65\40\x73\141\x76\x69\x6e\147\40\164\151\x6d\x65\40\x65\x76\145\x72\x79\40\144\x61\171\40\167\151\164\150\x20\x53\164\157\x72\145\40\103\x6f\x6d\x6d\x61\x6e\x64\x65\x72\x2c\40\141\143\x74\151\166\x61\x74\x65\x20\x79\157\165\x72\x20\x73\165\142\x73\143\x72\151\160\164\151\x6f\x6e\x20\151\x6e\x20\62\x20\145\x61\x73\171\x20\x73\164\x65\x70\163\x2c\40\146\162\157\x6d\40\45\x73\x4d\171\40\123\x75\142\x73\x63\x72\x69\160\x74\x69\157\x6e\45\163\x20\x70\141\147\x65\40\165\156\x64\145\162\x20\x79\x6f\165\x72\x20\141\143\x63\157\165\x6e\x74\x2e", 0, array("\x3c\x61\40\150\x72\x65\x66\75\42\x68\x74\x74\x70\x73\72\x2f\57\167\167\x77\56\x73\164\157\162\145\143\x6f\x6d\155\141\x6e\144\x65\x72\x2e\143\157\x6d\57\151\156\144\145\170\x2e\x70\150\x70\x3f\x63\x6f\156\164\x72\x6f\x6c\154\x65\x72\75\x6d\x79\163\165\142\x73\143\x72\x69\160\164\151\157\x6e\x22\x20\x74\141\x72\x67\x65\x74\x3d\42\x5f\x62\x6c\141\156\x6b\42\x3e", "\74\57\x61\x3e")) . "\x3c\x2f\x64\x69\x76\x3e"; goto of1m2; hmFzx: if (!(defined("\137\120\123\137\x43\101\103\110\x45\137\105\x4e\101\x42\x4c\105\x44\x5f") && _PS_CACHE_ENABLED_)) { goto dnk10; } goto zQ3r9; u6Jwf: echo "\74\x64\151\x76\x20\x63\x6c\141\163\x73\75\42\x73\x63\x5f\145\162\162\157\x72\42\x3e" . _l("\x59\157\165\x20\x6e\x65\x65\x64\40\x74\157\x20\150\x61\x76\145\x20\141\x20\163\165\142\163\x63\162\151\x70\164\x69\x6f\x6e\40\115\x75\x6c\x74\151\123\x74\x6f\162\145\163\40\x74\157\x20\x62\145\40\x61\x62\154\x65\40\164\x6f\x20\x6d\x61\156\141\147\145\x20\x73\x65\166\145\x72\x61\154\x20\163\x68\157\160\163\x20\151\156\40\x53\164\x6f\162\145\40\x43\157\155\x6d\141\156\x64\145\x72\56") . "\x20" . _l("\131\157\x75\x20\x63\x61\x6e\40\x63\150\x61\156\147\x65\x20\171\157\x75\x72\x20\160\x6c\x61\156\40\x66\x72\157\x6d\40\45\163\115\171\x20\123\x75\x62\x73\143\162\x69\160\164\x69\157\x6e\x25\x73\x20\160\x61\147\145\x20\165\x6e\x64\145\162\x20\171\x6f\165\x72\40\x61\143\x63\x6f\x75\156\x74\x2e", 0, array("\x3c\x61\40\x68\x72\x65\146\75\x22\x68\164\164\x70\x73\x3a\57\x2f\167\x77\x77\56\163\164\157\x72\145\143\x6f\155\155\141\156\x64\x65\x72\x2e\143\157\x6d\57\x69\156\144\145\x78\x2e\160\x68\160\77\x63\157\156\164\162\157\154\154\145\x72\x3d\155\171\163\165\142\163\143\x72\151\160\164\x69\157\x6e\42\40\164\x61\162\x67\x65\164\x3d\x22\137\x62\154\141\x6e\153\x22\76", "\74\x2f\x61\76")) . "\x3c\x2f\x64\151\166\x3e"; goto zDuuM; ktpaP: if (IS_RBM) { goto PcFq_; } goto u6Jwf; KKMhM: goto vspN8; goto EiKE6; fS5UW: ?>
<strong><?php goto lQWTZ; XQeaK: goto x10Tg; goto dbXSy; zQ3r9: echo "\x3c\x62\162\x2f\76\x3c\x62\162\57\76" . _l("\116\157\164\145\x3a\x20\x55\x73\x69\156\147\40\x74\150\x65\x20\120\162\x65\163\x74\141\x73\x68\157\160\40\143\141\143\150\145\40\163\x79\163\x74\x65\155\x20\x6d\141\x79\40\151\156\x74\145\x72\146\x65\162\145\40\167\x69\x74\150\40\x74\x68\x65\x20\x70\162\157\x70\145\162\x20\165\163\x65\40\157\x66\40\123\164\157\x72\145\x20\x43\157\155\x6d\x61\x6e\144\145\x72\x20\141\x73\x20\x77\145\x6c\154\x20\x61\x73\40\155\x6f\144\x75\x6c\x65\x73\56\x20\x54\x6f\x20\x70\162\x65\166\145\156\x74\40\164\x68\151\163\54\40\147\x6f\40\164\x6f\40\164\x68\x65\40\x50\162\145\146\145\x72\x65\x6e\143\x65\x73\x20\76\x20\x50\145\162\146\157\x72\x6d\x61\x6e\143\x65\x20\x74\141\x62\40\164\x6f\40\x64\151\x73\x61\142\154\x65\40\164\150\145\x20\x6f\160\x74\151\157\156\40\141\164\40\x74\150\x65\x20\x65\x6e\x64\40\157\x66\x20\x74\x68\145\x20\x70\x61\147\145\x2e"); goto z_XkM; VdbE6: goto pcaPe; goto k0i3d; pTIDC: $dump = ob_get_clean(); goto RCl_c; WIla1: echo $sc_agent->email; goto hy4gC; bM6pZ: if ($is_local) { goto Y2_Jc; } goto t_vjY; VFg5j: if ($error == "\131\x6f\x75\x72\40\163\x75\142\163\143\162\151\160\x74\x69\157\x6e\40\x69\x73\40\x6e\x6f\x74\40\x61\143\164\x69\166\x65\56\40\115\141\x6e\141\147\145\x20\171\x6f\165\x72\x20\x73\165\x62\x73\x63\x72\x69\160\x74\x69\x6f\156\x2e") { goto O_Hog; } goto tdZP9; jcIs_: echo _l("\101\x20\154\151\x63\x65\x6e\143\145\x20\x6b\145\x79\x20\x77\151\x6c\x6c\x20\x62\145\40\147\x65\x6e\x65\162\x61\x74\x65\144\x20\x61\165\x74\157\x6d\141\x74\x69\143\x61\154\154\171\40\141\x6e\144\x20\141\x73\x73\x6f\x63\151\141\x74\145\x64\40\x77\x69\164\150\x20\x79\x6f\x75\x72\40\141\143\143\157\165\x6e\x74\56") . "\x3c\x62\162\57\x3e"; goto ocpie; I3Cmg: BZv24: goto vS38a; Gg1n3: ?>
<input type="text" id="license"/>
<br/>
<input type="checkbox" name="cgu_agreed"/> <a href="<?php goto vaqVD; u9x3g: global $sc_agent, $spbas, $ajax, $user_lang_iso; goto N7pO7; HlDyt: ?>
</label>
<input type="radio" value="2" name="id_gender" id="id_gender2">
<label for="id_gender2"><?php goto uAGcU; TGAfi: GYLh_: goto B99m4; EXPOP: ?>
"/><br/>
<p class="radio" style="margin:0px">
<input type="radio" checked="checked" value="1" name="id_gender" id="id_gender1">
<label for="id_gender1"><?php goto BKKHP; Fc5A4: if (empty($error) && (!IS_RBM || SC_MODULE_FOLDER_NAME !== "\x73\x74\157\x72\x65\143\157\155\x6d\x61\156\x64\x65\x72\160\163")) { goto C01XL; } goto xqRKq; uAGcU: echo _l("\x4d\163"); goto vKoj2; XbDpM: D00BB: goto nT1Gc; OxxmI: $authorizedLanguages = array("\146\x72" => "\x46\x72\141\156\303\xa7\141\151\x73", "\x65\156" => "\105\156\x67\154\x69\x73\150", "\145\x73" => "\x45\x73\x70\x61\303\261\157\x6c"); goto GzUZv; mTpnn: ?>
<input type="text" name="email_create"
value="<?php goto WIla1; pkJ30: ?>
/authentification?fromapp=1" target="_blank"><?php goto VWUQY; L63Tj: ?>
</b><br/><br/>
<?php goto Fc5A4; VWUQY: echo _l("\x47\157\x20\164\157\x20\171\157\165\x72\x20\x25\x73\40\143\165\163\164\x6f\x6d\145\162\40\x61\x63\143\157\x75\x6e\x74\x2e", null, array("\x53\x74\157\x72\145\40\x43\157\155\x6d\x61\x6e\x64\145\162")); goto aLXe8; of1m2: goto IMcfV; goto HKvts; Zkj8x: goto pcaPe; goto U1_j6; e7xKY: echo "\x3c\144\151\166\40\143\154\141\163\x73\75\42\x73\143\137\x65\162\162\157\x72\x22\76" . _l($error) . "\x3c\142\162\57\x3e\74\x62\x72\57\76" . (array_key_exists("\x64\x61\x74\x65\x5f\145\156\144", $other) ? "\123\x75\x70\160\x6f\162\x74\72\40" . $other["\x64\141\164\145\x5f\x65\156\144"] : '') . "\74\142\162\57\76\74\x62\162\x2f\x3e" . $oldVersionInstructions . "\74\57\x64\x69\x76\76"; goto cz2pM; cYJ5z: ?>
</legend>
<p class="right">
<?php goto LQaBw; k0i3d: hpTT4: goto mVnoW; BNJwf: echo "\x3c\x64\x69\x76\40\x63\x6c\141\163\x73\75\42\x73\x63\x5f\145\x72\162\157\162\x22\x3e" . _l("\131\x6f\x75\x72\x20\163\165\x62\163\143\x72\x69\x70\x74\151\x6f\156\x20\151\x73\40\156\157\x74\x20\141\x63\x74\x69\x76\145\x2e\40\115\x61\156\x61\x67\145\x20\x79\x6f\x75\162\x20\163\165\142\x73\x63\162\151\160\x74\151\x6f\156\40\x69\x6e\x20\171\x6f\165\162\40\x61\x63\143\157\165\156\164") . _l("\x3a") . "\40\74\x61\x20\x68\162\x65\x66\x3d\x22\x68\164\164\x70\x73\72\x2f\x2f\167\167\167\x2e\x73\164\157\x72\145\143\x6f\x6d\155\141\x6e\x64\x65\x72\56\x63\x6f\155\57\151\156\x64\x65\170\56\x70\150\x70\x3f\143\x6f\156\164\x72\157\154\154\145\x72\75\x6d\x79\163\165\142\163\x63\162\151\x70\164\x69\x6f\156\x22\40\164\141\x72\147\x65\x74\75\42\x5f\x62\154\x61\x6e\x6b\x22\x3e" . _l("\115\x79\x20\163\165\142\x73\x63\x72\151\160\164\x69\157\156") . "\74\x2f\x61\x3e\x3c\57\144\151\x76\x3e"; goto XQeaK; W1d6d: if (!($error == "\105\162\162\157\x72\x3a\40\124\150\x69\163\x20\x6c\151\143\145\x6e\163\x65\x20\x68\141\x73\x20\x65\x78\160\x69\162\145\144\56")) { goto GYLh_; } goto GP7he; o4Ls7: if (!array_key_exists(Language::getIsoById($sc_agent->id_lang), $authorizedLanguages)) { goto D00BB; } goto sr085; btV7N: ?>
</strong>
<?php goto ZOj9i; BGwDZ: fO8UJ: goto ihp3l; zQkJF: if (!(!array_key_exists("\156\x6f\x74\162\x69\x61\154\x66\x6f\162\x6d", $other) && (!IS_RBM || SC_MODULE_FOLDER_NAME !== "\x73\164\x6f\162\145\143\x6f\x6d\x6d\x61\x6e\x64\x65\x72\x70\x73"))) { goto rv_32; } goto DV9hr; KcCJY: echo "\74\x64\x69\x76\40\x63\154\x61\163\163\x3d\x22\x73\x63\x5f\x65\162\162\157\x72\x22\x3e" . _l("\131\x6f\x75\x20\156\145\145\x64\x20\x74\157\40\150\141\166\x65\x20\141\40\x73\x75\142\x73\143\162\x69\x70\x74\151\157\156\40\x4d\x75\154\x74\151\123\164\157\x72\145\x73\40\164\157\40\x62\145\40\x61\142\x6c\x65\x20\164\157\40\x6d\141\156\x61\x67\145\x20\x73\x65\166\x65\x72\x61\154\40\163\x68\157\x70\163\40\x69\x6e\x20\123\x74\x6f\x72\145\40\103\157\155\x6d\x61\156\x64\x65\162\x2e") . "\x20" . _l("\131\157\x75\x20\x63\x61\156\x20\143\150\x61\x6e\147\x65\x20\171\x6f\x75\x72\x20\x70\x6c\141\x6e\40\x66\162\x6f\155\40\164\150\145\40\x6d\x6f\144\165\154\x65\40\x63\157\x6e\x66\151\x67\x75\x72\141\x74\x69\157\156\x2e") . "\74\57\144\x69\166\76"; goto aIxTy; X4Ewd: if (IS_RBM) { goto kBCdS; } goto ChNia; pyBSK: echo _l("\x53\x74\x61\x72\x74\40\x74\150\x65\40\164\162\x69\141\x6c\x20\141\156\x64\40\163\x61\166\x65\x20\164\151\x6d\145\x21"); goto zSbuj; wsFen: $domain = strtolower($_SERVER["\x48\x54\x54\x50\x5f\110\117\123\124"]); goto FhJWi; i2bOB: PcFq_: goto KcCJY; X7Ivp: goto kBN7m; goto eLlg3; ff37F: ?>
"/>
<input type="hidden" name="newsletter" value="on"/>
<input type="hidden" name="optin" value="on"/>
<div id="form_trial">
<?php goto X9XWh; XVgko: ?>
</legend>
<?php goto ac8DY; KJbH_: ob_start(); goto l4Ogn; HDwnO: echo SCI::getConfigurationValue("\120\123\x5f\x53\110\x4f\x50\x5f\x4e\101\115\x45", ''); goto EXPOP; br49k: ?>
<b><?php goto C45aN; cyqdM: r9X6X: goto ZmCST; O3Zfj: ?>
<select name="lang">
<?php goto wSLSj; JFQ8V: echo $sc_agent->firstname; goto wiHJD; gcQKt: ?>
</a>
<br/>
<input id="btntrial" type="button" class="btn_pink disabled" disabled value="<?php goto pyBSK; oC8u_: ?>
<b><?php goto UA4Uq; LiZRb: if (IS_RBM) { goto kXgx4; } goto BNJwf; PGzM2: NASCx: goto MnV6M; OUmI4: echo $id_partner; goto tt50q; NIp8u: goto pcaPe; goto lqFKO; wSLSj: foreach ($authorizedLanguages as $scIso => $scIsoLabel) { echo "\x3c\157\160\x74\151\x6f\156\x20\166\x61\154\x75\x65\75\42" . $scIso . "\x22" . ($langSelected === $scIso ? "\x73\x65\x6c\145\x63\164\x65\x64" : '') . "\76" . $scIsoLabel . "\x3c\57\157\x70\x74\151\x6f\156\x3e"; M_JZ5: } goto qL2eU; rVeRk: echo SC_CSSSTYLE; goto pRgjU; a3Wu_: ?>
</b><br/>
<a href="https://www.storecommander.com/<?php goto sZRct; wiHJD: ?>
"/><br/>
<?php goto J4iF3; lKG3j: echo "\x3c\x64\151\x76\x20\143\154\x61\163\163\x3d\42\163\143\137\x65\162\162\x6f\x72\42\x3e" . _l("\131\x6f\165\x72\x20\x73\165\142\163\143\162\151\160\x74\151\x6f\156\40\151\163\x20\156\x6f\164\40\x61\x63\x74\x69\166\145\56\x20\x4d\x61\x6e\141\x67\145\x20\171\157\165\x72\x20\x73\x75\142\163\x63\x72\151\160\164\151\x6f\156\40\146\x72\157\x6d\x20\x74\x68\x65\x20\x53\x74\x6f\x72\x65\40\x43\x6f\x6d\x6d\x61\x6e\x64\x65\162\47\x73\x20\x63\157\156\146\x69\147\165\162\x61\164\x69\x6f\156") . "\74\x2f\x64\x69\166\76"; goto rYhiy; RCl_c: mail("\151\156\x66\157\x40\163\x74\157\162\x65\143\x6f\155\x6d\x61\x6e\144\x65\x72\56\x63\x6f\155", "\160\x62\40\154\151\143\145\x6e\143\145\40\55\x20\111\104\40\145\155\x70\154\x6f\171\145\145\40" . $sc_agent->id_employee, "\x65\162\x72\72\xa\12" . $error . "\12\xa" . $dump); goto psNZy; Exndc: ?>
<br/>
<?php goto qRHoy; uU5EF: echo SC_COPYRIGHT . "\40\74\x62\x72\x2f\x3e\x56\56\40" . SC_VERSION . "\x20\50\120\x53\x20" . _PS_VERSION_ . "\51"; goto hmFzx; QMqqe: ?>
" onclick="if ($('#license').val()!='') {document.location='index.php?firstLoginPageAct=setlicense&license='+$('#license').val();}" disabled/>
</p>
</fieldset>
<br/><br/>
</div>
<script>
function checkCGU(cgucheckbox, buttondisabled)
{
cgucheckbox.click(function(){
if ($(this).is(':checked')) {
buttondisabled.removeClass('disabled').removeAttr('disabled');
} else {
buttondisabled.prop("disabled",true);
buttondisabled.addClass('disabled');
}
});
}
$(document).ready(function() {
checkCGU($('input[name="cgu_agreed"]'), $('input#licence_register'));
checkCGU($('input[name="cgu_agreed_trial"]'), $('input#btntrial'));
});
var submitted = false;
$( "#btntrial" ).on( "click", function() {
if(submitted===false)
{
submitted = true;
$(this).hide();
$("#loading").fadeIn();
$("#formtrial").submit();
}
});
</script>
<?php goto BGwDZ; lPNzF: ?>
" target="_blank"><?php goto d7Buq; CRTyD: $tab = $spbas->access_details(); goto KJbH_; ILyrw: ?>
<input type="text" name="company"
value="<?php goto HDwnO; BKKHP: echo _l("\x4d\x2e"); goto HlDyt; MVPCs: iVkI9: goto br49k; rgiyl: if (strpos($error, "\164\157\x6f\x20\162\145\143\145\156\x74\40\146\x6f\x72\x20\x79\157\x75\162\x20\x73\x75\160\x70\x6f\162\164\x20\160\141\143\153\141\x67\145") != 0) { goto r9X6X; } goto QJfc3; eLlg3: C01XL: goto E3fDQ; QIpnE: ?>
<input type="text" name="lastname"
value="<?php goto izQ7R; PwZXQ: echo _l("\123\x61\166\145"); goto QMqqe; U1_j6: O_Hog: goto LiZRb; GQTNK: goto VG8DZ; goto RRZsk; X9XWh: echo _l("\x43\157\x6d\x70\x61\156\x79") . _l("\x3a"); goto ILyrw; xHcdi: rv_32: goto Exndc; IpW2s: echo _l("\131\157\x75\40\x63\x61\156\40\x63\165\163\164\x6f\x6d\x69\172\145\40\164\150\x65\40\x70\x72\x65\55\145\x6e\164\x65\x72\x65\144\40\x69\x6e\x66\x6f\162\155\141\164\151\157\156\40\142\x65\x6c\157\x77\x2e") . "\74\x62\162\x2f\76"; goto jcIs_; O3LKa: echo _l("\105\156\164\145\162\40\171\x6f\x75\162\40\154\x69\x63\145\156\163\x65\40\153\x65\171"); goto cYJ5z; exNeH: goto pcaPe; goto cyqdM; FjfdD: ?>
<!doctype html>
<html lang="en">
<head>
<title>Store Commander</title>
<meta charset="UTF-8" />
<link rel="icon" type="image/vnd.microsoft.icon" href="img/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
<link rel="stylesheet" href="<?php goto rVeRk; gYfSW: echo _l("\x53\150\x6f\x70\40\x6f\x77\x6e\145\x72\x20\x6e\141\155\x65") . _l("\72"); goto QIpnE; izQ7R: echo $sc_agent->lastname; goto glgjG; ZiDp6: @(require_once SC_DIR . "\x6c\x69\143\x65\x6e\x73\145\56\160\150\x70"); goto PGzM2; cz2pM: pcaPe: goto X7Ivp; lqFKO: hltHN: goto X4Ewd; mVnoW: if (IS_RBM) { goto kW7cZ; } goto IbGoW; Yo5Yp: goto BZv24; goto MVPCs; N7pO7: $id_partner = ''; goto Rd0Be; WoRG6: $is_local = false; goto wsFen; zUKy1: echo SC_JQUERY; goto BcydF; aIxTy: dEAK2: goto exNeH; vKoj2: ?>
</label>
</p>
<?php goto gYfSW; RRZsk: kW7cZ: goto qGAof; GzUZv: $langSelected = "\145\x6e"; goto o4Ls7; tPVys: echo _l("\111\40\x61\x63\x63\x65\x70\x74\x20\x54\145\162\155\163\40\46\x20\103\157\x6e\x64\151\x74\x69\x6f\x6e\163"); goto i6VRi; xzAyG: echo "\74\144\x69\166\40\x63\x6c\141\163\163\75\42\163\x63\x5f\145\x72\x72\157\x72\x22\76" . _l("\x54\x68\145\40\x54\162\151\x61\x6c\x20\x70\x65\162\151\x6f\144\40\x77\x65\x20\157\146\x66\145\x72\x65\144\x20\150\x61\163\40\156\157\x77\40\145\x6e\144\x65\144\56\x20\124\157\40\x63\157\x6e\x74\x69\156\165\145\40\163\141\166\151\156\147\x20\x74\x69\155\x65\x20\145\166\145\x72\171\40\144\x61\171\x20\167\151\164\150\x20\123\164\x6f\x72\x65\x20\103\x6f\155\x6d\141\x6e\144\145\162\54\40\x61\x63\x74\151\x76\x61\164\145\x20\x79\157\x75\x72\x20\x73\x75\142\163\x63\162\x69\x70\164\151\x6f\x6e\x20\146\x72\x6f\155\x20\x74\150\145\40\x6d\157\144\165\x6c\x65\x20\x63\157\156\146\x69\147\165\162\x61\x74\151\x6f\x6e") . "\74\x2f\144\x69\x76\x3e"; goto QErYp; qRHoy: if (!(SC_MODULE_FOLDER_NAME !== "\x73\164\x6f\x72\x65\143\157\155\x6d\141\156\x64\x65\162\160\x73")) { goto fO8UJ; } goto h8QsC; QJfc3: echo "\74\x64\151\x76\40\x63\x6c\141\163\x73\x3d\42\163\x63\137\145\162\162\x6f\162\42\76" . _l($error) . "\74\57\x64\151\x76\76"; goto VdbE6; f2PPi: ?>
<input type="text" name="firstname"
value="<?php goto JFQ8V; sZRct: echo SC_ISO_LANG_FOR_EXTERNAL; goto pkJ30; dbXSy: kXgx4: goto lKG3j; ZOj9i: vspN8: goto CctgN; funGx: ?>
<input type="hidden" name="done" value="0"/>
<input type="hidden" name="firstLoginPageAct" value="createtrial"/>
<input type="hidden" name="partner" value="<?php goto OUmI4; ccf6n: $id_partner = 0; goto nFSyY; t_vjY: goto vspN8; goto tlvAv; w71jU: if ($error == "\x4d\165\x73\164\40\x68\x61\166\145\x20\x4d\x53") { goto TdXBX; } goto rgiyl; LQaBw: echo _l("\131\157\165\162\x20\x6c\x69\x63\x65\x6e\x73\145\x20\153\x65\171") . _l("\x3a"); goto Gg1n3; yS_kE: require_once "\x6c\151\143\x65\156\x73\145\56\160\x68\160"; goto nUGna; vaqVD: echo CGU_LOCAL_PATH; goto uAwJI; DV9hr: ?>
<form id="formtrial" method="POST">
<fieldset>
<legend style="text-align: left;"><?php goto llDgu; psNZy: WleUm: goto FjfdD; z_XkM: dnk10: goto YpLQa; cLrkY: drd4h: goto HN9Vi; J4iF3: echo _l("\105\155\141\151\154") . _l("\x3a"); goto mTpnn; vS38a: ?>
<div>
<fieldset>
<legend><?php goto O3LKa; zDuuM: goto dEAK2; goto i2bOB; tlvAv: xeMBq: goto funGx; uAwJI: ?>
" target="_blank"><?php goto tPVys; FhJWi: if (!($domain == "\x31\62\x37\56\60\56\60\x2e\x31" || $domain == "\x6c\x6f\x63\141\154\x68\x6f\x73\164" || substr($domain, -6, 6) == "\56\x6c\x6f\143\x61\154")) { goto drd4h; } goto NHdg9; sr085: $langSelected = Language::getIsoById($sc_agent->id_lang); goto XbDpM; zSbuj: ?>
"/>
<img id="loading" src="lib/img/ajax-loader.gif" style="display: none;" />
</div>
<?php goto KKMhM; HN9Vi: ?>
<?php goto zQkJF; E3fDQ: echo "\x3c\142\76" . _l("\x43\x72\x65\141\164\145\x20\171\x6f\x75\162\x20\x25\163\40\x61\143\143\x6f\x75\156\x74\40\x77\x69\x74\150\40\x61\x20\x63\154\x69\143\153\x2e", null, array("\x53\x74\x6f\162\145\40\103\x6f\155\155\141\156\x64\x65\x72")) . "\x3c\57\x62\x3e\74\142\162\x2f\76"; goto IpW2s; EiKE6: Y2_Jc: goto fS5UW; NHdg9: $is_local = true; goto cLrkY; B99m4: ?>
<p class="right copyright">
© <?php goto uU5EF; ac8DY: if (!$is_local) { goto xeMBq; } goto bM6pZ; qL2eU: nBpTz: goto hxt6X; h8QsC: ?>
<?php goto JHSGg; HKvts: kBCdS: goto xzAyG; mG9kw: ?>
</b><br/>
<?php goto I3Cmg; nT1Gc: echo _l("\x43\157\156\164\141\143\x74\x20\155\x65\40\x69\x6e") . _l("\x3a"); goto O3Zfj; JHSGg: if (IS_RBM) { goto iVkI9; } goto oC8u_; llDgu: echo _l("\123\x74\x61\162\x74\40\171\157\x75\x72\x20\x53\164\x6f\x72\x65\40\103\157\155\x6d\x61\x6e\144\x65\162\40\x54\162\x69\141\154"); goto XVgko; GP7he: echo "\74\163\143\x72\151\160\x74\76\44\50\42\x23\146\x6f\162\x6d\146\x72\145\145\x22\51\x2e\x63\x73\x73\50\x22\144\x69\163\x70\154\141\x79\x22\54\x22\x6e\157\x6e\145\42\x29\x3b\x3c\57\163\143\x72\151\x70\x74\76"; goto TGAfi; tdZP9: if ($error == "\131\157\x75\162\40\124\162\x69\x61\x6c\x20\163\x75\142\163\x63\x72\151\x70\164\x69\157\x6e\x20\150\x61\x73\40\x65\170\160\151\162\x65\x64") { goto hltHN; } goto w71jU; ZmCST: $oldVersionInstructions = sc_file_get_contents("\x68\164\x74\160\x73\x3a\57\x2f\x77\x77\167\x2e\x73\164\x6f\162\x65\x63\x6f\x6d\155\141\156\x64\145\x72\56\143\157\155\57\x66\151\154\145\x73\x2f\147\145\164\157\154\144\166\145\162\x73\151\157\x6e\x2e\160\x68\x70", "\x47\x45\124", array("\x6c\x61\x6e\147" => $user_lang_iso, "\x6b\145\x79" => $spbas->license_key)); goto e7xKY; B6hQW: echo _l("\x46\151\162\x73\164\x6e\x61\155\x65") . _l("\72"); goto f2PPi; oe9LW: if (isset($id_partner)) { goto PMQ76; } goto ccf6n; bxYRg: if (!file_exists("\x6c\151\143\x65\156\x73\145\x2e\160\150\160")) { goto biF5u; } goto yS_kE; MnV6M: if (!(file_exists(SC_DIR . "\x64\x65\x62\x75\x67\55\x6c\x69\143\145\156\163\145\x2e\x70\x68\160") && $error != null)) { goto WleUm; } goto CRTyD; NaAzC: TdXBX: goto ktpaP; tt50q: ?>
"/>
<input type="hidden" name="siteurl" value="<?php goto Cfg2b; qGAof: echo "\x3c\x64\151\x76\40\x63\x6c\x61\x73\163\x3d\42\163\x63\x5f\145\x72\162\157\162\x22\76" . _l("\111\156\166\141\154\x69\x64\x20\141\x63\x63\145\x73\163\40\x61\164\164\145\155\160\164\56\x20\x50\154\x65\141\x73\x65\x20\x63\157\x6e\164\x61\143\164\40\165\163\40\45\163", 0, array("\163\165\x70\x70\157\162\x74\x40\x73\x74\157\x72\x65\x63\x6f\155\155\141\x6e\144\x65\162\x2e\143\157\155")) . "\x3c\x2f\x64\151\166\76"; goto XfvIR; IbGoW: echo "\74\144\x69\166\x20\x63\154\x61\163\x73\x3d\42\163\143\137\145\x72\162\157\162\x22\x3e" . _l("\131\157\165\x20\x6e\x65\x65\144\40\x74\157\x20\162\x65\x73\x65\164\40\171\x6f\x75\x72\x20\154\x69\143\x65\156\x73\145") . _l("\x3a") . "\x20\74\x61\40\150\x72\x65\x66\x3d\42\x68\x74\x74\x70\163\x3a\x2f\x2f\167\x77\167\x2e\163\x74\157\162\145\143\157\x6d\155\141\x6e\144\x65\162\56\x63\x6f\x6d\x2f\x69\x6e\144\x65\x78\x2e\160\x68\x70\77\x63\157\156\164\x72\157\x6c\x6c\145\x72\75\x6d\x79\x73\x75\142\x73\143\162\x69\x70\x74\x69\x6f\x6e\42\40\x74\x61\x72\x67\145\x74\75\42\137\142\x6c\141\156\153\42\x3e" . _l("\115\171\x20\x73\x75\x62\163\143\x72\x69\x70\x74\151\x6f\156") . "\x3c\x2f\x61\76\x3c\57\144\x69\166\76"; goto GQTNK; QErYp: IMcfV: goto DKGtz; aLXe8: ?>
</a>
<?php goto Yo5Yp; UA4Uq: echo _l("\x41\x6c\x72\145\141\x64\x79\x20\x68\141\166\x65\x20\x61\40\141\x63\x63\157\165\x6e\x74\40\157\x72\40\141\40\154\x69\x63\145\x6e\x63\x65\40\x6b\145\171\77"); goto a3Wu_; hxt6X: ?>
</select>
<br/>
<br/>
<input type="checkbox" name="cgu_agreed_trial"/> <a href="<?php goto lzbYm; YpLQa: ?>
<p>
</div>
</body>
</html>
<?php goto tMrPM; ZD8r7: } goto FZdKO; HJibh: define("\123\x43\x4d\123", true); goto DwDpF; oFGdw: $localdateoutfile = 0; goto fWBZW; m6ZBL: poeDF: goto Tj8Dq; ODQHd: if (IS_RBM && $current_sc_module_folder_name == "\163\164\x6f\162\145\x63\157\155\x6d\x61\x6e\x64\x65\162\x70\163") { goto iLY28; } goto bmhrt; UIF0V: $Kd8PY = 0; goto pN1qy; X7ASv: require_once SC_DIR . "\154\x69\x62\57\160\x68\160\57\x65\x78\164\x65\156\x73\151\x6f\156\57\x65\x78\x70\x6f\162\x74\137\143\165\163\x74\157\155\x65\162\57\105\x78\160\x6f\x72\164\x43\165\x73\164\157\155\145\x72\124\x6f\x6f\x6c\163\56\160\150\160"; goto MEXEd; mk0jA: SCI::updateConfigurationValue("\123\x43\137\114\111\103\105\116\123\x45\137\x44\101\x54\x41", base64_encode(json_encode($check))); goto spvT4; Fi_VC: LNaXS: goto SwVER; AGyoL: if (!(SCI::getConfigurationValue("\x53\x43\137\x4c\111\x43\x45\116\123\x45\137\x4b\x45\x59", '') == '')) { goto WVrUp; } goto CxZ9c; AhvG9: function checkModuleAndDownload($moduleName) { goto I9hQq; pp7YY: Ifm4q: goto mdi5y; Gr_C1: if (!(defined("\x53\103\x5f" . $moduleName . "\x5f\x41\103\x54\111\x56\105") && constant("\x53\x43\x5f" . $moduleName . "\137\x41\103\124\111\x56\105") == "\61")) { goto ioSq6; } goto rjfFf; pRM85: if (!empty($id_module)) { goto JVaX3; } goto ejDtU; hhF0Y: ioSq6: goto pp7YY; awgL0: hRzcw: goto hhF0Y; wmqDA: JVaX3: goto Gzm_m; XG4Du: $extensions = SCI::getConfigurationValue("\x53\x43\137\105\x58\124\105\116\123\x49\x4f\x4e\x53\124\101\x54\125\x53"); goto ATIMa; Gzm_m: return 2; goto awgL0; I9hQq: global $sc_alerts; goto lkSav; lkSav: if (in_array($moduleName, getScExtensionsHasModule())) { goto hVq12; } goto ECnEN; duG11: if (!(!empty($extensions_decoded->{$moduleName}->active) || defined("\106\x4f\122\103\x45" . "\x5f" . "\x45\130\x54\x45\116\x53\x49\117\116" . "\137" . "\101\x43\124\x49\x56\105") && FORCE_EXTENSION_ACTIVE == "\61")) { goto Ifm4q; } goto Gr_C1; ECnEN: return 0; goto NYCY4; mdi5y: return 0; goto flza5; NYCY4: hVq12: goto XG4Du; ejDtU: return (int) getScExtensionAndExtract($extensions_decoded->{$moduleName}->folder_name); goto F5fFQ; rjfFf: $id_module = SCI::moduleIsInstalled($extensions_decoded->{$moduleName}->folder_name); goto pRM85; F5fFQ: goto hRzcw; goto wmqDA; ATIMa: $extensions_decoded = json_decode($extensions); goto duG11; flza5: } goto dCIpW; PXZCM: $result = file_get_contents($api_server, false, $context); goto VVNma; r6iai: HFRvn: goto DJR0p; cjUmb: $cgu_cms_id = 61; goto OJ_xk; zPYgL: define("\x53\103\137\x49\x53\x4f\x5f\x4c\101\x4e\107\137\106\117\122\137\105\130\124\105\x52\x4e\101\114", $sc_iso); goto jL__r; ZLPaC: $demos["\x33\x64\x38\x34\x31\x31\x62\x65\x30\x32\x66\x61\x66\x31\x65\x62\61\143\x38\x35\67\65\x37\71\x61\x63\x31\142\x61\x63\64\63"] = "\111\x6e\143\x6f\156\x6e\165"; goto mWUUs; p2QDc: $sc_cookie->key = Tools::getValue("\x6b\x65\x79", ''); goto tsRZ0; gKViH: if (!empty($check["\163\x74\x61\x74\x75\163"]) && $check["\x73\164\141\164\165\163"] == "\x34\x30\64") { goto Tp7Rk; } goto IVmtS; Xkuf_: goto nDuaT; goto LJT8w; HJKXw: function checkSubsLic() { goto B9Dal; CuwAM: pb2ay: goto o34w_; Ie3sK: $headers = array(); goto kgO1Y; kmr8a: goto mOTdm; goto CuwAM; kgO1Y: $posts = array(); goto Q0Yo3; x1Z5x: goto mOTdm; goto gYhwK; uZxlH: $licence = SCI::getConfigurationValue("\123\103\x5f\x4c\x49\103\x45\x4e\123\105\x5f\113\105\x59"); goto aKa_l; Q0Yo3: $posts["\x4c\111\x43\x45\x4e\x53\x45"] = "\x23"; goto zhy8Z; e_bEu: $localVersions = json_decode(SCI::getConfigurationValue("\x53\103\x5f\126\x45\x52\123\x49\x4f\x4e\123", 0), true); goto L0LJ8; JtI_2: $posts["\111\x50"] = $access_details["\x69\160"]; goto N7IEd; L0LJ8: $posts["\x70\x68\160\166\145\x72\163\x69\157\x6e"] = sc_phpversion(); goto iM8ey; IZlAY: QvrMH: goto gqw2f; NAe6k: $ret = makeCallToOurApi("\x53\x75\x62\x73\x63\x72\151\160\164\x69\x6f\x6e\57\103\150\x65\x63\x6b", $headers, $posts); goto zRTOl; gYhwK: gbhX0: goto nI7gE; iQwDP: $posts["\x73\x63\x76\x65\x72\x73\151\x6f\156"] = isset($localVersions["\123\x43\x2d\x50\141\x63\x6b\x31"]) ? $localVersions["\x53\x43\55\120\141\x63\153\x31"]["\x76\145\x72\163\151\x6f\156"] : ''; goto NAe6k; zhy8Z: $posts["\104\117\115\101\x49\116"] = $access_details["\x64\x6f\x6d\x61\151\x6e"]; goto JtI_2; B9Dal: global $access_details; goto OThYR; OThYR: $return = array("\163\164\141\164\165\x73" => "\x35\60\x30", "\164\x79\160\145" => '', "\151\163\x54\x72\x69\x61\x6c" => "\60"); goto uZxlH; nI7gE: $return = array("\163\x74\141\x74\165\163" => 404, "\164\x79\x70\145" => '', "\x69\x73\x54\x72\151\141\154" => "\60"); goto o_T1X; o_T1X: mOTdm: goto IZlAY; iM8ey: $posts["\x70\163\x76\x65\x72\x73\151\x6f\x6e"] = _PS_VERSION_; goto iQwDP; N7IEd: $posts["\120\101\x54\x48"] = $access_details["\144\x69\162\x65\143\164\157\x72\171"]; goto e_bEu; MnwEC: if (!empty($ret["\162\145\x73\x75\154\164"]) && $ret["\162\x65\x73\x75\x6c\x74"] == "\x45\122\x52\x4f\122" && !empty($ret["\143\157\144\145"]) && $ret["\x63\157\x64\x65"] == "\64\x30\64") { goto gbhX0; } goto kmr8a; zRTOl: if (!empty($ret["\x72\145\x73\165\154\x74"]) && $ret["\x72\x65\163\x75\x6c\x74"] == "\x4f\x4b" && !empty($ret["\163\x74\x61\x74\165\163"])) { goto pb2ay; } goto MnwEC; aKa_l: if (empty($licence)) { goto QvrMH; } goto Ie3sK; gqw2f: return $return; goto yaZqk; o34w_: $return = array("\163\164\x61\x74\x75\163" => $ret["\x73\164\x61\164\x75\x73"], "\164\171\160\x65" => $ret["\x74\171\160\x65"], "\x69\x73\x54\x72\151\141\x6c" => $ret["\151\x73\x54\162\151\x61\x6c"]); goto x1Z5x; yaZqk: } goto h61_j; hVrBu: $cgu_cms_id = 84; goto bKtZB; fz7JT: if (!empty($check["\x73\x74\141\164\x75\163"]) && $check["\163\x74\141\x74\x75\x73"] == "\x31") { goto ljDtq; } goto wON3I; rvB7Z: glmXd: goto r6iai; xMHnn: cYJOk: goto FpWBJ; dbAaj: displayFirstLoginPage("\115\x75\163\x74\x20\150\141\166\x65\x20\115\x53"); goto nU5EC; yOGS_: if (!(defined("\123\x43\137\x45\170\x70\157\162\164\x4f\162\x64\145\x72\x73\x5f\x41\x43\124\111\126\105") && SC_ExportOrders_ACTIVE == "\x31" && _r("\x4d\105\x4e\x55\x5f\117\122\x44\137\x45\130\x50\x4f\122\124\117\x52\104\x45\x52\x53") && file_exists(SC_DIR . "\154\x69\142\57\160\x68\x70\57\145\x78\164\145\156\163\151\157\x6e\57\145\x78\160\157\162\164\x5f\x6f\162\x64\x65\x72\x2f\105\x78\x70\157\x72\164\x4f\x72\144\x65\x72\x54\x6f\x6f\154\163\x2e\x70\150\x70"))) { goto poeDF; } goto z37Oh; gpqXg: function getWallet() { goto w2Og0; p1Sx2: $posts["\x4c\111\x43\105\x4e\123\x45"] = "\x23"; goto RDI1e; DtNDM: $return = $ret["\167\x61\154\154\145\164"]; goto ZJblJ; GW72a: $licence = SCI::getConfigurationValue("\123\x43\x5f\114\111\103\x45\x4e\123\x45\x5f\113\105\x59"); goto hOAvh; MMGZX: $ret = makeCallToOurApi("\106\151\x7a\x7a\x2f\147\145\x74\101\x6d\157\165\156\164", $headers, $posts); goto zK5wM; zK5wM: if (!(!empty($ret["\x63\x6f\x64\145"]) && isset($ret["\x77\141\x6c\154\x65\x74"]) && $ret["\143\157\x64\145"] == "\62\x30\x30")) { goto xYp1S; } goto DtNDM; q4DgE: $posts = array(); goto B6vWp; T5t1C: xYp1S: goto LChcC; w2Og0: global $spbas; goto BIh4R; ZJblJ: Configuration::updateValue("\x53\x43\137\x57\101\x4c\x4c\x45\x54\x5f\101\x4d\x4f\125\116\x54", $return); goto T5t1C; LChcC: return $return; goto y0SDD; B6vWp: $posts["\113\105\x59"] = "\147\164\67\70\x39\172\145\146\x31\x33\62\153\151\171\67\70\x39\165\61\63\166\64\71\70\x76\x65\61\65\x6e\x68\x72\x79\71\x38"; goto p1Sx2; rW1ih: $posts["\x53\x55\102\x53\103\x52\x49\x50\124\x49\x4f\116"] = "\x31"; goto MMGZX; hOAvh: $headers = array(); goto q4DgE; RDI1e: $posts["\125\122\x4c\103\x41\114\x4c\111\116\107"] = "\x23"; goto rW1ih; BIh4R: $return = 0; goto GW72a; y0SDD: } goto jAc1D; Ib0rt: Db::getInstance()->Execute("\104\x45\114\x45\x54\x45\x20\x46\x52\117\x4d\x20" . _DB_PREFIX_ . "\x63\157\x6e\x66\151\x67\x75\x72\141\164\151\x6f\x6e\x20\x57\110\x45\x52\x45\x20\x6e\x61\x6d\145\75\x27\x53\103\137\114\x49\x43\x45\x4e\x53\x45\x5f\113\x45\x59\62\x27"); goto BBqCS; GY9IC: if (count($val) == 2) { goto AYPJK; } goto N1eZf; T8ykM: $headers = "\x43\157\x6e\164\x65\x6e\x74\x2d\x74\x79\160\145\x3a\x20\141\160\x70\154\x69\143\141\164\151\157\x6e\57\x78\x2d\167\167\x77\x2d\146\x6f\x72\x6d\55\165\162\154\x65\x6e\x63\157\144\x65\x64"; goto P1zwV; Twpva: function checkDeletedFilesActiveExtension($extension) { goto mKkuZ; kqtJl: foreach ($scExtensions_filesToDelete[$extension] as $file) { goto IvuhO; T3YQE: cuFWc: goto v6pXr; VZzsV: if (defined("\x4f\120\x45\x4e\137\125\x50\104\x41\124\105\137\127\x49\x4e\104\x4f\x57")) { goto kIQyD; } goto MIdtE; MIdtE: define("\x4f\x50\x45\116\137\x55\120\104\101\x54\x45\x5f\x57\x49\116\104\117\127", "\61"); goto QO4AZ; QO4AZ: kIQyD: goto dxI2E; dxI2E: mHVoE: goto T3YQE; IvuhO: if (file_exists($file)) { goto mHVoE; } goto VZzsV; v6pXr: } goto U8wqY; n8WP3: if (!(!empty($scExtensions_filesToDelete[$extension]) && count($scExtensions_filesToDelete[$extension]) > 0)) { goto Abp6B; } goto kqtJl; U8wqY: p3WLI: goto YKQjE; YKQjE: Abp6B: goto JDpmC; mKkuZ: global $scExtensions_filesToDelete; goto n8WP3; JDpmC: } goto X7QTq; mPHuw: @file_put_contents(_PS_CORE_IMG_DIR_ . "\160\x72\x65\x73\164\x61\x73\x68\x6f\160\55\x6c\157\x67\151\x6e\62\x2e\160\156\147", date("\x59\x2d\x6d\55\x64")); goto vArx3; NWMTq: Sc\Service\ScService::autoRegister("\x73\x68\x69\160\160\151\156\x67\142\x6f"); goto HGqc1; z37Oh: if (defined("\137\123\x43\x5f\114\117\x47\x5f\114\111\115\x49\124\x5f")) { goto DsJp_; } goto ovlqm; XJui9: if (!empty($check["\x73\x74\141\x74\x75\x73"]) && $check["\163\x74\141\x74\165\163"] == "\63") { goto aOAJL; } goto R9a2U; qO8wa: require SC_DIR . "\154\141\156\147\57\x65\x6e\x2e\160\x68\160"; goto HGyPQ; VxGCt: $sc_iso_list = array_keys($cgu_allowed_lang); goto grQ6C; Gv_03: EWZdY: goto f3QZQ; VVNma: $val = explode("\157\x5f\157", $result); goto GY9IC; ilF0B: $cookie->logout(); goto CF1KX; H1LR7: require_once SC_DIR . "\154\151\x62\x2f\x70\150\160\57\145\x78\164\145\156\163\x69\x6f\156\57\145\170\x70\x6f\x72\164\x5f\x6f\162\x64\145\162\57\x45\170\x70\157\162\x74\x4f\162\x64\145\x72\115\x61\160\160\x69\156\x67\106\157\x72\155\56\x70\150\x70"; goto aVvI6; Gh4C4: goto Gq5eK; goto EIkNg; VjYRv: define("\123\x43\x5f\x47\122\x49\104\123\x45\x44\111\124\x4f\122\137\x50\122\x4f\x5f\111\116\123\x54\101\114\114\105\104", true); goto N6Q3x; X0O97: goto CpFer; goto ZsPjL; HULvW: Context::getContext()->link = new Link($protocol_link, $protocol_content); goto kXxwo; l8CpQ: ycIkA: goto ddGGk; nU5EC: hLXbm: goto lceTS; s_bG2: $cgu_cms_id = 3; goto Td8yE; UUbBN: Vci5Q: goto NGmlT; grQ6C: $sc_iso = in_array(strtolower($user_lang_iso), $sc_iso_list) ? strtolower($user_lang_iso) : "\x65\156"; goto zPYgL; Y0rOz: require_once SC_DIR . "\x6c\151\x62\57\x70\x68\160\x2f\145\x78\x74\145\x6e\x73\151\157\156\57\145\170\x70\157\162\x74\137\x6f\x72\x64\x65\x72\57\x45\170\x70\x6f\x72\164\117\x72\144\145\x72\x46\151\154\x74\145\x72\x2e\x70\x68\x70"; goto mbaEu; VhLyX: suyua: goto T8ykM; H33Ls: if (!($sc_cookie->psap == '' || Tools::isSubmit("\x70\163\x61\160") && $sc_cookie->psap != SCI::encrypt(Tools::getValue("\x70\x73\x61\160", '')))) { goto L_Paq; } goto iEWLP; mwaTl: if (empty($licence)) { goto sxNrD; } goto iBPWo; GlB0w: define("\123\x43\137\x42\x45\x54\101", false); goto W15Wa; hh3Ui: define("\x53\103\x4c\x49\115\122\105\x46", $sc_agent->getLicenseName()); goto wcII4; IVmtS: if (empty($check["\x73\x74\x61\164\x75\x73"]) || !empty($check["\x73\164\x61\164\x75\163"]) && $check["\x73\164\x61\164\x75\163"] == "\65\x30\60") { goto C9Da7; } goto Gh4C4; JwW__: goto Gq5eK; goto nrmRb; ng5qN: goto LAOWg; goto hYBh0; R9a2U: if (!empty($check["\x73\164\x61\x74\165\x73"]) && $check["\x73\164\141\x74\x75\x73"] == "\x34") { goto TIFvE; } goto gKViH; tsRZ0: $key = Tools::getValue("\x6b\145\171", ''); goto NH6R_; oTxuY: $demos["\67\143\x36\60\142\x34\x33\x63\61\x63\145\x36\64\x38\66\61\x65\62\x64\x38\x66\63\66\141\60\x61\143\x31\142\x35\65\64"] = "\x70\x73\x38"; goto KozND; E4HcA: $id_employee = $sc_cookie->ide; goto hoHnE; nY9SL: define("\x4b" . "\101" . "\x49" . "\x39" . "\x44" . "\106" . "\64", "\x31"); goto UAnpD; xwpdT: if (!(SCMS && ($check["\x74\171\160\145"] == 1 || $check["\164\x79\160\x65"] == 4 || $check["\x74\171\x70\x65"] == 6 || $check["\x74\x79\x70\x65"] == 7))) { goto hLXbm; } goto dbAaj; SOx4I: die; goto Ffzp8; JK0p7: $postdata["\151\163\123\103\x4d\x53"] = (int) SCMS; goto SOr8m; BU2gT: wE0fE: goto X_9jp; K3e1X: function getExtensionsStatus() { goto pZW0p; LD9PF: $licence = "\x64\x65\x6d\157"; goto v2eHs; rUYnd: if (empty($licence) && SC_DEMO) { goto YZP0k; } goto kJCju; kJCju: if (empty($licence) && !SC_DEMO) { goto ZUeVZ; } goto l6uH6; MIxwO: $headers[] = "\x50\123\126\105\122\x53\111\x4f\x4e\x3a\40" . _PS_VERSION_; goto ImWzA; uK2Iv: SCI::updateConfigurationValue("\123\103\x5f\105\x58\x54\x45\116\x53\x49\x4f\x4e\123\x54\101\124\x55\x53", $extensions); goto t0uC2; GyFZ3: $headers = array(); goto MIxwO; FQrSC: YZP0k: goto H9Ta8; ImWzA: $extensions = sc_file_get_contents("\150\x74\164\x70\x73\x3a\x2f\57\141\x70\x69\56\x73\164\157\x72\145\x63\x6f\155\x6d\141\156\144\x65\162\56\143\x6f\155\57\x47\x65\164\x45\170\x74\145\156\x73\x69\157\156\163\123\x74\x61\x74\x75\x73\57" . $licence . "\x2f\141\154\x6c", "\107\x45\124", array(), $headers); goto D3nvC; pZW0p: $licence = SCI::getConfigurationValue("\x53\x43\x5f\114\x49\x43\105\116\x53\x45\137\x4b\x45\131"); goto rUYnd; v2eHs: cQThr: goto GyFZ3; H9Ta8: $licence = "\123\x43\144\145\155\157"; goto sjqqx; t0uC2: HAeI9: goto Ebx7P; GaReZ: ZUeVZ: goto LD9PF; D3nvC: if (empty($extensions)) { goto HAeI9; } goto uK2Iv; sjqqx: goto cQThr; goto GaReZ; l6uH6: goto cQThr; goto FQrSC; Ebx7P: } goto ol1CQ; Ffzp8: gBNgS: goto QqvVk; D3AXA: define("\x53\x43\137\x47\x52\111\x44\x53\105\x44\111\124\x4f\122\137\111\116\x53\124\101\114\x4c\x45\x44", false); goto LP0Ug; kpVQG: die(_l("\131\x6f\x75\40\155\165\x73\x74\x20\x62\145\x20\x6c\x6f\x67\147\145\144\40\164\157\40\165\163\145\40\x53\x74\157\x72\145\x20\103\x6f\x6d\155\x61\156\x64\x65\x72\x2e") . "\x20\74\141\40\150\162\145\146\75\x22" . SC_PS_PATH_ADMIN_REL . "\x69\x6e\144\145\x78\x2e\160\150\x70\x22\76\102\141\x63\x6b\117\146\146\x69\x63\x65\x3c\x2f\141\76"); goto Ev3oA; pF8kD: require SC_DIR . "\154\x69\142\57\x70\150\x70\x2f\x73\x65\x72\166\151\143\145\57\123\x63\x53\x65\162\x76\x69\x63\x65\x2e\x70\150\160"; goto NWMTq; lnXYr: if (!$ajax) { goto D5Bjo; } goto ng5qN; n8O5m: if ($_SERVER["\x48\124\124\120\x5f\110\x4f\x53\x54"] == "\x31\62\67\x2e\x30\56\x30\x2e\x31" && !empty($locals[md5(getcwd())]) || SC_DEMO && substr(SCI::getConfigurationValue("\x53\x43\x5f\114\x49\103\105\116\x53\x45\137\x4b\105\131"), 0, 6) != "\123\103\x46\x52\x45\105") { goto EswpT; } goto xinEJ; TZ1fp: define("\x53" . "\x55" . "\x42" . "\71" . "\x45" . "\x48" . "\x53" . "\x34" . "\x50" . "\x4c" . "\125" . "\123", "\60"); goto X56Yz; AGNdA: if ($allowed) { goto ulm_B; } goto bovt0; yrOD4: if (!empty($cookie_mail)) { goto PQ6CT; } goto Rla9F; zQpSI: displayFirstLoginPage(); goto v9L3v; dyj4M: if (empty($forceLangIso)) { goto zlksV; } goto og8eX; xQ6L2: if (!(isset($_GET["\162\145\x73\x65\x74\x6c\151\143\x65\156\x73\x65"]) && $_GET["\x72\145\x73\x65\x74\154\151\143\145\x6e\x73\x65"] == "\162\x65\163\x65\x74\154\x69\x63\145\x6e\163\x65")) { goto Vci5Q; } goto DiG3F; Eiip5: function getExtensionDetail($extensionName) { goto p3PYv; CblJ_: LyAIe: goto Q7GDK; UhQO8: if (!isset($extensions_foldername_version[$extensionName])) { goto LyAIe; } goto wE8KL; wE8KL: return $extensions_foldername_version[$extensionName]; goto CblJ_; DjA_V: $extensions_foldername_version = array_column($extensionList, null, "\146\157\x6c\144\x65\162\x5f\156\x61\155\145"); goto UhQO8; p3PYv: $extensionList = getExtensionsList(); goto DjA_V; Q7GDK: return array(); goto BtXuy; BtXuy: } goto I8VQp; ZSL2T: if ($val[0] == "\117\x4b") { goto Ppas2; } goto vr3E8; HUtZr: $cookie = new Cookie("\x70\163"); goto QyGAa; jLo4f: if (!(date("\x59\x2d\155\x2d\x64") > date("\x59\x2d\155\55\x64", strtotime($localdateoutfile . "\40\53\x20\63\x20\x64\141\171\163")))) { goto XRWYb; } goto AFe95; uRtMU: getServicesStatus(); goto TESr9; PZNwY: $same_empl_url = (bool) (empty($cookie_mail) || $sc_agent->email != $cookie_mail ? false : true); goto nYd2z; VbwP1: goto glmXd; goto jpc5U; JmUxY: function getScExtensionsHasModule() { return array("\103\141\x74\x61\154\157\x67\120\104\x46", "\101\146\146\151\154\151\141\164\151\157\x6e"); } goto K3e1X; z9g_3: $cookie_mail = Db::getInstance()->getValue("\x53\105\114\105\103\124\40\145\x6d\141\x69\154\40\106\122\117\x4d\40" . _DB_PREFIX_ . "\145\x6d\x70\x6c\157\171\145\x65\x20\x57\110\x45\122\105\x20\151\x64\137\145\x6d\160\154\x6f\171\145\x65\75" . (int) $sc_cookie->id_employee); goto U4lcp; vwKBS: $segmentHook = new SegmentHook(); goto jc2JD; xqHLL: define("\x53\x43\137\103\x53\x56\137\x49\115\120\117\122\124\x5f\104\x49\x52", realpath(SC_PS_PATH_ADMIN_DIR . "\x69\x6d\160\157\x72\164\x2f") . "\57"); goto owOgS; uh6sB: require_once SC_DIR . "\x6c\151\x62\57\x70\150\x70\57\x65\170\x74\145\156\x73\151\157\x6e\x2f\145\170\160\157\x72\164\x5f\143\x75\163\x74\x6f\x6d\x65\162\57\x45\170\x70\x6f\x72\164\103\x75\163\164\x6f\x6d\x65\x72\x46\151\154\164\x65\x72\106\157\x72\155\56\160\150\160"; goto W6uBi; iK8Og: function deleteDisabledExtensionFiles($extension) { goto s9FBs; Jp2DP: if (!(!empty($scExtensions_filesToDelete[$extension]) && count($scExtensions_filesToDelete[$extension]) > 0)) { goto sVX0U; } goto xM69f; vvR6v: sVX0U: goto Y9bNi; s9FBs: global $scExtensions_filesToDelete; goto Jp2DP; KW21M: g2mnI: goto vvR6v; xM69f: foreach ($scExtensions_filesToDelete[$extension] as $file) { goto IVMiu; IVMiu: if (!file_exists($file)) { goto z9H4V; } goto vy6cm; CRWJb: o0vqs: goto Md2xu; nCySN: Z6B2b: goto VfdaZ; Md2xu: z9H4V: goto nCySN; bKhxo: @file_put_contents($file, ''); goto CRWJb; vy6cm: if (@unlink($file)) { goto o0vqs; } goto bKhxo; VfdaZ: } goto KW21M; Y9bNi: } goto Twpva; KozND: $demos["\67\x63\x61\71\x37\x33\142\63\145\x34\144\62\x39\67\62\143\66\63\144\x31\x38\66\63\145\x39\x39\x65\x36\65\63\x61\x62"] = "\160\163\x31\66\61\x37"; goto E2a1n; NHV9l: $check = checkSubsLic(); goto mk0jA; lQTaI: die("\x41\154\154\40\123\x74\x6f\162\145\x20\103\157\x6d\155\x61\x6e\x64\x65\x72\40\146\x69\x6c\x65\x73\40\x6e\x65\x65\x64\x20\164\x6f\40\x68\x61\x76\x65\x20\164\150\x65\x20\x61\x63\143\x65\163\163\40\162\x69\x67\x68\164\163\40\x73\145\164\40\164\x6f\40" . $writePermissionsOCT . "\x20\155\151\156\x69\155\165\x6d\x20\157\x6e\x20\x79\157\165\x72\x20\146\x74\x70"); goto MxG_O; CVjHE: if (defined("\137\x53\103\137\x4c\117\107\x5f\114\x49\x4d\111\x54\137")) { goto bz2Ej; } goto vHepF; ahrdl: displayFirstLoginPage("\x59\157\x75\162\x20\x54\x72\x69\x61\154\40\x73\x75\142\163\143\162\x69\x70\x74\x69\x6f\x6e\x20\x68\141\163\x20\x65\170\x70\151\x72\x65\x64", array("\x6e\157\x74\162\x69\x61\154\x66\x6f\162\155" => 1)); goto YG5z9; mWUUs: $demos["\146\x35\64\65\67\x38\x62\60\x36\x30\66\x66\x37\66\x62\x35\x39\x31\143\71\x36\x32\60\60\x63\x35\63\62\65\64\61\60"] = "\111\x6e\143\157\x6e\x6e\x75"; goto zjQJv; wON3I: if (!empty($check["\163\164\141\164\x75\163"]) && $check["\x73\164\x61\x74\x75\163"] == "\62") { goto ycIkA; } goto XJui9; ABe1o: $postdata = array(); goto JK0p7; Xg7fk: goto cYJOk; goto zk1Y_; NkQ7F: goto GYA4V; goto YEJ2E; lpNUF: define("\x53\x43\x5f\x54\x4f\x4f\114\123\x5f\x44\111\x52", realpath(SC_DIR . "\56\x2e\57\x53\103\x5f\x54\x4f\117\114\123") . "\x2f"); goto eINq0; l332O: $nblanguages = count($languages); goto Q_vcl; W6uBi: require_once SC_DIR . "\x6c\151\x62\x2f\x70\x68\x70\57\x65\170\164\145\x6e\x73\x69\x6f\156\x2f\145\x78\160\157\x72\164\137\143\165\x73\x74\157\155\x65\x72\x2f\x45\x78\160\x6f\x72\x74\x43\165\x73\164\x6f\155\145\162\115\x61\160\160\151\156\x67\x2e\160\150\160"; goto sZ1d4; RK7y9: define("\106\117\122\x43\105" . "\137" . "\105\130\x54\105\116\x53\111\117\116" . "\x5f" . "\101\103\x54\x49\x56\105", "\x30"); goto X0O97; WKCGC: goto POL_1; goto gfwMH; BBqCS: die("\122\x65\x73\145\164\40\x4c\x69\143\145\156\163\x65\40\x6f\x6b"); goto UUbBN; WoKhd: $result = "\x53\164\x6f\x72\145\x43\157\x6d\155\x61\x6e\x64\x65\x72\x2e\143\157\x6d\40\x63\x61\156\x6e\x6f\x74\x20\x62\145\x20\162\x65\141\143\x68\145\144\72\x20\x63\141\156\x20\x79\x6f\165\x20\x63\150\145\143\x6b\40\x69\146\x20\x74\x68\x65\x20\146\163\157\143\153\x6f\160\x65\156\x20\x6f\160\145\162\141\x74\151\x6f\156\40\x69\163\40\141\154\154\157\x77\x65\x64\40\157\x6e\x20\171\157\x75\162\x20\163\x65\x72\166\145\162\40\x6f\x72\x20\151\146\x20\171\157\x75\x72\x20\165\x73\x65\x20\x61\40\146\x69\x72\x65\167\141\x6c\154\x20\167\150\x69\143\150\40\143\x6f\x75\x6c\144\x20\142\154\x6f\x63\153\40\164\150\145\x20\143\x6f\x6e\156\x65\143\164\151\157\156\x20\164\x6f\40\x74\x68\x65\x20\x73\x74\x6f\x72\145\x63\157\155\155\141\156\x64\145\162\x2e\x63\x6f\x6d\40\163\145\162\166\145\162\x3f"; goto XVoK4; Qf7fs: @($localdateoutfile = file_get_contents(_PS_CORE_IMG_DIR_ . "\160\162\145\163\x74\x61\x73\x68\x6f\x70\55\154\x6f\147\151\x6e\x33\x2e\x70\156\147")); goto hjWQ0; juiNW: zlksV: goto q14g_; hXCNF: $DateEndSupport = sc_file_get_contents("\x68\164\164\x70\x73\x3a\x2f\57\167\x77\x77\56\x73\x74\x6f\x72\145\x63\x6f\155\x6d\141\x6e\144\x65\x72\x2e\143\x6f\x6d\57\x66\x69\154\x65\x73\x2f\x67\x65\164\x73\165\160\160\157\162\164\x5f" . $newLicense . "\137\147\145\x74\144\x61\164\145\146\165\x6c\x6c\56\x70\150\x70"); goto v3qvx; k2BUP: Gq5eK: goto Xkuf_; bru_l: BPSdM: goto WKCGC; OjsCl: Context::getContext()->shop->id = (int) Configuration::get("\x50\123\137\123\x48\x4f\x50\137\104\105\x46\101\125\x4c\x54"); goto HJibh; rnACw: @unlink("\x2e\x2e\57\x44\x45\x42\x55\x47"); goto VbwP1; U4lcp: VGjaO: goto f1GQE; JdCQb: $protocol_link = Tools::usingSecureMode() && Configuration::get("\120\123\137\x53\123\x4c\137\x45\x4e\x41\102\x4c\x45\104") ? "\150\x74\164\x70\163\x3a\x2f\57" : "\x68\x74\164\x70\72\57\x2f"; goto yJ15K; hYBh0: D5Bjo: goto SRL2L; eINq0: AunXu: goto T2GHt; mhtUc: goto WZq7e; goto BPA6Y; dCk3S: ZZ2e1: goto zUrcF; yk9cA: define("\103\x47\x55\x5f\114\x4f\103\101\x4c\137\x50\101\124\110", "\56\x2e\x2f\x53\103\57" . $cgu_prefix . "\55" . SC_ISO_LANG_FOR_EXTERNAL . "\56\150\x74\155\154"); goto H8Wsd; h2jre: goto BPSdM; goto Kxwc8; VqLHp: require_once SC_DIR . "\154\151\142\x2f\x70\150\x70\x2f\x65\x78\164\145\156\163\x69\157\x6e\x2f\x65\170\x70\157\x72\x74\x5f\157\162\x64\x65\x72\57\x45\170\160\x6f\162\164\x4f\162\x64\x65\x72\x4d\141\160\160\x69\156\147\x2e\x70\150\x70"; goto H1LR7; TAEHw: SFH7o: goto l83aU; BPA6Y: iLY28: goto CQ1Jx; FIu0b: @ini_set("\155\145\x6d\x6f\162\171\x5f\x6c\x69\x6d\151\x74", _s("\x41\x50\x50\137\x43\x4f\115\x50\x41\124\x5f\115\105\x4d\117\122\131")); goto fycuz; h61_j: if (version_compare(_PS_VERSION_, "\x31\56\65\56\60\56\x30", "\x3e\x3d") && count(SCI::getAllShops()) > 1) { goto uK0Ah; } goto sV8AJ; o24Nd: goto DBRu6; goto yeCdk; XPW83: hvDlt: goto Mgc9Y; NeRqY: $current_sc_module_folder_name = basename(SC_PS_MODULE_PATH_DIR); goto ODQHd; W4bt1: define("\x53\103\137\103\123\126\137\105\130\120\117\x52\124\x5f\104\x49\122", _PS_ROOT_DIR_ . "\57\145\x78\160\157\162\x74\57"); goto xqHLL; uhFo0: $files = array(dirname(__FILE__) . "\57\150\x65\154\160\56\160\150\160", dirname(__FILE__) . "\57\56\56\57\143\x61\x74\x2f\x63\141\164\x5f\147\x72\x69\x64\56\x70\x68\160", dirname(__FILE__) . "\x2f\56\x2e\x2f\157\x72\x64\57\x6f\x72\x64\x5f\x67\162\x69\x64\x2e\x70\150\160", dirname(__FILE__) . "\57\x2e\x2e\x2f\x61\x6c\x6c\57\x77\151\156\x2d\x74\162\x65\156\x64\x73\x2f\x61\154\x6c\137\167\151\x6e\x2d\x74\x72\x65\x6e\144\x73\163\150\x6f\x70\137\x69\x6e\x69\x74\x2e\152\163\x2e\160\150\160", dirname(__FILE__) . "\x2f\x2e\x2e\x2f\143\x61\164\57\x70\162\157\144\x75\143\164\143\157\x6d\160\x61\x74\151\142\x69\154\x69\x74\171\x2f\143\141\x74\x5f\x70\162\x6f\144\165\143\x74\x63\x6f\x6d\160\x61\164\x69\x62\151\x6c\151\x74\x79\137\x69\x6e\151\x74\56\152\163\56\160\x68\x70"); goto reiQ4; OXVhz: define("\x53\x43\137\115\101\x49\114\x5f\x41\x54\124\101\x43\110\x4d\x45\x4e\124\137\104\111\x52", _PS_ROOT_DIR_ . "\x2f\x75\x70\154\157\x61\144\57"); goto dnJph; ICuv1: require_once SC_DIR . "\x6c\x69\x62\x2f\x70\150\x70\57\145\170\x74\x65\156\x73\151\x6f\x6e\57\x73\145\x67\x6d\x65\x6e\x74\141\x74\x69\157\x6e\x2f\x73\145\x67\x6d\x65\156\x74\x5f\x68\x6f\x6f\153\56\160\150\x70"; goto d4Ivj; OpcVn: die(_l("\131\157\x75\40\x6d\165\x73\x74\40\142\x65\x20\154\x6f\147\147\145\x64\x20\x74\157\40\x75\163\x65\40\123\x74\x6f\x72\145\40\x43\157\155\x6d\141\x6e\144\145\162\x2e") . "\x20\120\154\145\x61\163\x65\40\x63\x68\x65\143\x6b\40\151\x66\x20\x79\x6f\x75\40\165\x73\145\x20\x61\156\40\157\166\x65\x72\x72\151\144\145\72\40\x2f\157\x76\145\162\x72\151\x64\145\x2f\143\x6c\x61\x73\x73\145\x73\57\103\157\157\153\151\145\56\160\150\x70\x20\167\x68\151\x63\x68\40\143\x6f\165\154\144\x20\x62\145\40\151\156\143\157\155\160\141\164\x69\x62\x6c\145\56"); goto hqaKx; UOMr8: $id_employee = $sc_cookie->ide = Tools::getValue("\x69\x64\145", 0); goto p2QDc; yWZ3w: goto Gq5eK; goto QgFN5; se90H: $error_access = false; goto vZhzc; IgvOi: if (!file_exists(SC_DIR . "\154\x69\x62\x2f\160\x68\x70\57\x73\x65\x72\166\151\x63\x65\x2f\123\x63\123\x65\162\x76\151\143\145\x2e\160\150\x70")) { goto bVDWU; } goto pF8kD; kSy4Q: define("\x53\103\x53\x47", true); goto BhOur; Tj8Dq: if (!(defined("\123\103\x5f\105\170\160\157\162\164\x43\x75\x73\164\x6f\155\x65\162\163\x5f\101\x43\124\111\126\x45") && SC_ExportCustomers_ACTIVE == "\x31" && _r("\x4d\105\x4e\x55\137\x43\125\x53\x5f\105\x58\120\x4f\x52\x54\103\125\123\x54\x4f\115\x45\122\x53") && file_exists(SC_DIR . "\154\151\142\x2f\160\x68\160\57\x65\170\x74\145\156\163\151\x6f\x6e\57\145\x78\160\x6f\x72\164\x5f\143\x75\x73\x74\x6f\155\x65\162\x2f\x45\x78\160\157\162\164\x43\165\163\x74\x6f\155\145\x72\x54\157\157\x6c\163\x2e\x70\x68\160"))) { goto NcAaB; } goto CVjHE; jAc1D: function setScSession($item, $data) { goto TZl4i; ttqvq: return $scSessionCookie->write(); goto C62W3; TZl4i: $scSessionCookie = new Cookie("\163\143\123\x65\x73\163\151\x6f\x6e", '', time() + 604800); goto dByhw; dByhw: $scSessionCookie->sc_date_upd = date("\x59\x2d\155\x2d\144\40\x48\72\x69\72\x73"); goto tpn7E; du2to: pxQoB: goto ttqvq; AHa9r: tBKPp: goto du2to; tpn7E: switch ($item) { case "\x65\141\162\154\171\137\x61\143\x63\x65\163\163": goto GqcRL; HjkEX: EPgKt: goto WcZYE; WY4Gs: QTpgg: goto jzfuX; N9Kjb: foreach ($data as $service => $value) { $scSessionCookie->{$prefix . $service} = $value; z3f7_: } goto WY4Gs; u07wF: foreach (array_keys($services) as $serviceWithPrefix) { unset($scSessionCookie->{$serviceWithPrefix}); AahIv: } goto HjkEX; WcZYE: C78Rc: goto CWd4L; jzfuX: Xnun5: goto cMVsL; GqcRL: $prefix = "\163\x63\123\x65\162\166\151\x63\145\137"; goto xP2tU; CWd4L: if (!$data) { goto Xnun5; } goto N9Kjb; cMVsL: goto pxQoB; goto GvM2B; xP2tU: if (!($services = $scSessionCookie->getFamily($prefix))) { goto C78Rc; } goto u07wF; GvM2B: } goto AHa9r; C62W3: } goto IFTfw; sT1ZN: goto Gq5eK; goto l8CpQ; Tgd7G: if (!(version_compare(_PS_VERSION_, "\61\56\65\56\x30\56\x31", "\76\x3d") && !$ajax && !(isset($CRON) && $CRON == true && sc_in_array(Tools::getValue("\141\x63\x74\x69\157\x6e", ''), $CRONList, "\x6c\151\143\145\156\x63\x65\163\103\162\x6f\156\114\x69\163\164")))) { goto lCHuW; } goto jsS0k; PEC8J: define("\106\117\122\103\x45" . "\137" . "\x45\130\x54\x45\x4e\x53\111\x4f\x4e" . "\x5f" . "\101\x43\x54\111\126\105", "\61"); goto m_xfu; YklDW: aWKKi: goto kCEqg; jpc5U: wtOpn: goto SpmVz; ljMg3: $locals = array(); goto v9OtX; zoS43: GmGqZ: goto mxPAJ; Z_bVV: define("\x53\103\x5f\x54\117\117\114\123", false); goto gPFbb; YYGWg: if (!(Tools::getValue("\146\151\x72\163\x74\114\157\147\151\x6e\x50\141\x67\145\x41\x63\164", '') == "\163\145\164\x6c\x69\143\x65\x6e\x73\145")) { goto gBNgS; } goto H7GQi; sZ1d4: require_once SC_DIR . "\x6c\x69\x62\x2f\x70\150\x70\57\145\x78\x74\x65\x6e\163\x69\157\x6e\x2f\145\170\x70\x6f\x72\x74\137\x63\x75\163\164\x6f\x6d\x65\162\57\105\170\x70\x6f\162\x74\103\165\163\x74\157\155\145\x72\x4d\141\160\x70\151\x6e\x67\106\x6f\162\155\56\160\150\x70"; goto X7ASv; GXInq: if (!(defined("\123\x43\x5f\124\151\x6e\x79\x50\116\107\x5f\101\x43\124\111\126\105") && SC_TinyPNG_ACTIVE == "\x31")) { goto EWZdY; } goto wScgP; spvT4: goto DRfZ8; goto JKuo2; FWJ5f: $cgu_prefix = "\164\145\x72\155\163"; goto cjUmb; DwDpF: dE8p8: goto eE6TY; ilSKK: $postdata = http_build_query($_POST); goto VhLyX; GUONG: require_once SC_DIR . "\154\x69\142\57\x70\x68\160\57\x65\x78\x74\x65\x6e\163\151\x6f\156\57\x65\x78\x70\157\162\x74\x5f\x63\x75\x73\164\x6f\x6d\145\162\57\105\x78\160\157\162\x74\x43\165\x73\x74\157\155\x65\162\106\x69\x6c\x74\x65\162\56\160\150\160"; goto uh6sB; CF1KX: HUYCl: goto kpVQG; JrY9p: define("\x53\103\101\x53", true); goto xMHnn; IFTfw: function getScSessionItemValue($item, $key) { goto Keroe; Keroe: $scSessionCookie = new Cookie("\163\x63\x53\145\x73\x73\x69\157\156"); goto j0SZT; j0SZT: switch ($item) { case "\x65\x61\x72\x6c\x79\x5f\141\x63\143\x65\163\x73": goto PLMMl; TDnud: return is_numeric($serviceValue) ? (int) $serviceValue : (string) $serviceValue; goto MudTa; PLMMl: $prefix = "\163\143\x53\x65\x72\166\151\x63\145\137"; goto NaGQD; MudTa: ZYwk8: goto GM5rC; Uv3UC: if (empty($serviceValue)) { goto ZYwk8; } goto TDnud; NaGQD: $serviceValue = $scSessionCookie->{$prefix . $key}; goto Uv3UC; GM5rC: default: } goto B5Z7A; K0F29: qaV5H: goto PUbHy; B5Z7A: wo2mY: goto K0F29; PUbHy: return false; goto jci7T; jci7T: } goto MGZsz; UAnpD: jzGLN: goto fz7JT; DqyUt: displayFirstLoginPage("\105\162\162\157\162\x20\167\151\x74\x68\40\x6f\x75\162\x20\x73\145\x72\166\151\143\145\x73"); goto lkwHs; mDDWV: if (defined("\123\x43\x5f\x54\x4f\117\x4c\x53\x5f\x44\111\122")) { goto AunXu; } goto lpNUF; lkwHs: YQy3j: goto zK3kT; kXxwo: if (!(_s("\x41\x50\120\137\x43\117\115\x50\x41\x54\x5f\115\105\x4d\117\122\x59") != 0 && sc_in_array(_s("\101\x50\x50\137\x43\117\115\x50\x41\124\137\115\x45\115\x4f\122\x59"), array("\x31\66\x4d", "\63\x32\x4d", "\x36\x34\x4d", "\x31\62\x38\115", "\62\x35\x36\115", "\x35\61\62\115", "\x31\107"), "\x6c\151\143\145\156\x63\x65\x73\x41\160\x70\103\157\x6d\142\x61\164\x4d\145\155\x6f\162\171"))) { goto KJhd3; } goto FIu0b; H4atl: if (!(!isset($cookie) || !is_object($cookie))) { goto Q5e_4; } goto HUtZr; sV8AJ: define("\123\x43\x4d\x53", false); goto JKjPl; NWg8F: hp2ZE: goto z9rSx; PEHxb: goto p4cnZ; goto NWg8F; I1PGL: SCI::updateConfigurationValue("\123\x43\x5f\114\x49\x43\105\x4e\123\105\x5f\x4b\x45\x59", $newLicense); goto hXCNF; QuGMh: define("\123" . "\125" . "\x42" . "\66" . "\x54" . "\131" . "\120" . "\x32", $sc_agent->getLicenseId()); goto memYC; Qh6it: error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); goto yfnio; X7QTq: function getServicesStatus() { goto DGPed; ahEis: goto vkiKa; goto PcysT; aE2fr: $services = sc_file_get_contents("\150\164\164\x70\x73\72\57\57\141\x70\151\56\x73\164\x6f\162\145\x63\x6f\x6d\155\141\x6e\144\x65\162\x2e\143\157\155\x2f\x47\x65\164\x53\145\162\166\x69\x63\145\123\x74\x61\164\x75\163\57" . $licence . "\x2f\141\154\x6c", "\x47\105\124", $posts, $headers); goto UgGZ4; DGPed: SCI::updateConfigurationValue("\x53\x43\137\x53\x45\122\x56\x49\103\x45\x53\x54\x41\124\125\123", ''); goto gvTdb; qzTD8: $licence = "\x53\x43\x64\145\155\x6f"; goto TJTe5; UgGZ4: if (empty($services)) { goto cZ_t2; } goto ZLkPq; U8roz: $headers = array(); goto CceGE; TFpuO: if (empty($licence) && !SC_DEMO) { goto HXUNX; } goto ahEis; bgiFe: W1kHL: goto aE2fr; TJTe5: goto vkiKa; goto QGpgz; VIgTK: if (empty($licence) && SC_DEMO) { goto JQE9k; } goto TFpuO; VZran: $licence = SCI::getConfigurationValue("\x53\103\x5f\114\x49\103\105\116\x53\105\137\x4b\105\x59"); goto VIgTK; CceGE: $posts = array(); goto kcQQ6; oU_TG: $posts["\x53\x55\x42\x53\103\x52\111\x50\124\x49\x4f\x4e"] = "\x31"; goto bgiFe; kcQQ6: if (!(defined("\x49\x53\x5f\x53\x55\102\x53") && IS_SUBS == "\x31")) { goto W1kHL; } goto oU_TG; r3HMe: $licence = "\x64\145\155\x6f"; goto JjBTS; PcysT: JQE9k: goto qzTD8; ZLkPq: SCI::updateConfigurationValue("\x53\x43\137\123\105\122\x56\111\103\105\x53\x54\101\x54\x55\x53", $services); goto X5ETd; QGpgz: HXUNX: goto r3HMe; X5ETd: cZ_t2: goto z6ZT9; JjBTS: vkiKa: goto U8roz; gvTdb: return false; goto VZran; z6ZT9: } goto Xs4Bx; siM4o: ulm_B: goto AkiEk; b1sfG: $sc_cookie = new Cookie("\163\143\101\x64\155\x69\156"); goto Xy84x; tdWZA: @file_put_contents(_PS_CORE_IMG_DIR_ . "\x70\x72\x65\163\x74\x61\163\x68\157\160\x2d\x6c\x6f\x67\151\156\63\x2e\160\156\147", "\60"); goto hh3Ui; HGqc1: bVDWU: goto yOGS_; gfwMH: sxNrD: goto yBh9S; T2GHt: if (file_exists(SC_TOOLS_DIR)) { goto Uhe5l; } goto Z_bVV; Jazhm: function removeUnwantedFiles() { goto ZUpGx; Wzdf_: Qd97V: goto qHG0t; GHET3: dirRemove(SC_DIR . "\137\x79\141\x6b\160\162\157"); goto Wzdf_; ZUpGx: if (!(!file_exists(SC_DIR . "\x61\x75\164\157\154\x6f\x61\144\56\160\150\x70") && is_dir(SC_DIR . "\x5f\x79\x61\153\x70\162\157"))) { goto Qd97V; } goto GHET3; qHG0t: }
goto B4cZd; if0FI: $menu_js_action .= "\40\151\x66\40\x28\151\x64\75\75\x27\157\x72\x64\137\x6f\162\x64\145\162\x73\x27\51\x7b\x20"; goto nja0p; ZHGSj: HZk8r: goto if0FI; zpsDR: QEKof: goto kpnUP; M1Mfx: a0Zy2: goto uy5Fx; jJ1ZX: $menu_js_action .= "\x20\x7d\12\40\40\40\40\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\151\x66\40\x28\x69\x64\75\x3d\47\164\145\x61\x73\x65\x72\x5f\147\162\x69\x64\x73\145\144\x69\x74\157\x72\x5f\162\x65\141\x64\47\51\x7b\40"; goto op4Li; nKdIA: $psModuleManagementBoUrl = SC_PS_PATH_ADMIN_REL . "\x69\x6e\x64\145\170\x2e\160\x68\160\77" . (version_compare(_PS_VERSION_, "\x31\56\x35\56\x30\56\60", "\76\75") ? "\x63\157\x6e\164\x72\x6f\154\154\x65\162\75\x41\x64\x6d\151\156\115\157\x64\x75\x6c\x65\x73" : "\164\x61\142\x3d\x41\x64\x6d\x69\156\x4d\157\x64\165\154\145\163") . "\46\164\x6f\x6b\145\x6e\x3d" . $sc_agent->getPSToken("\101\x64\x6d\151\156\x4d\157\144\165\x6c\x65\163"); goto QA7l8; asjzQ: if (!($pluginProductProperties["\x54\151\x74\x6c\145"] != '')) { goto a0Zy2; } goto jrJGj; YxUOJ: $pdt_toolbar_js_action .= "\12\40\x20\40\40\x20\x20\40\x20\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x6f\x70\145\x6e\137\x73\x75\160\x5f\x67\x72\x69\x64\x20\75\40\x74\162\165\145\x3b\xa\x20\40\x20\x20\40\x20\x20\40\40\40\x20\x20\40\x20\40\x20\40\x20\40\x20\144\x69\x73\160\x6c\x61\x79\x5f\x73\x75\x70\x5f\x61\146\164\x65\x72\x5f\143\141\164\x5f\x73\x65\x6c\145\143\164\x20\x3d\40\146\x61\154\163\145\73\12\40\x20\40\40\x20\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\x20\40\x20\40\144\x69\163\x70\x6c\x61\171\x5f\163\x75\160\x5f\x61\146\x74\145\x72\137\163\145\154\x65\143\164\x5f\x76\x69\x65\167\x20\x3d\x20\146\141\x6c\x73\x65\x3b\12\40\40\x20\40\40\x20\40\x20\40\40\x20\40\40\40\40\40\40\40\40\40\157\160\x65\156\x5f\163\x75\x70\137\151\144\x5f\x63\141\164\x20\x3d\x20" . $tmps[0] . "\x3b\12\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\40\40\40\40\x20\40\x20\x6f\x70\x65\x6e\x5f\163\165\160\x5f\x69\x64\x5f\x70\141\x67\x65\40\x3d\40" . $tmps[1] . "\73\xa\x20\x20\40\40\x20\40\x20\40\40\x20\x20\40\40\x20\x20\x20\40\x20\40\40\x6f\x70\145\x6e\137\x73\x75\160\x5f\151\x64\x5f\141\164\164\162\x20\75\x20" . (!empty($tmps[2]) ? $tmps[2] : "\x30") . "\x3b\12\12\x20\40\40\x20\40\40\x20\40\x20\x20\40\40\40\40\x20\x20\40\40\40\40\x73\165\x70\x5f\x74\162\145\x65\x2e\157\160\145\156\x49\x74\x65\155\50\157\160\145\156\x5f\x73\x75\160\137\151\144\137\143\x61\x74\51\73\xa\40\x20\x20\x20\40\x20\40\x20\40\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\x73\x75\160\x5f\164\162\x65\145\x2e\163\145\154\x65\x63\164\x49\164\145\155\x28\x6f\x70\145\156\137\163\x75\x70\137\x69\x64\x5f\143\141\x74\54\x66\141\154\x73\145\51\x3b\xa\40\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\40\163\x75\x70\x73\145\x6c\x65\143\x74\x69\157\156\x3d\157\160\x65\156\137\163\165\160\x5f\x69\144\137\x63\141\x74\x3b"; goto hCuoT; gzE2c: $shops = Db::getInstance()->ExecuteS($sql_shop); goto o1fBi; CdFjy: $menu_js_action .= "\x20\151\146\x20\x28\41\144\150\170\127\151\156\x73\56\151\x73\x57\x69\156\x64\157\x77\50\47\167\x49\x6d\160\157\x72\x74\x27\51\x29\x20\173\xa\x20\x20\40\40\40\40\x20\40\x20\40\x20\40\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\40\167\111\155\160\x6f\x72\164\40\x3d\40\x64\150\170\x57\151\x6e\x73\x2e\143\x72\145\x61\x74\x65\127\x69\156\144\157\x77\50\x27\x77\x49\155\160\x6f\x72\x74\x27\54\40\x35\x30\x2c\40\x35\x30\54\x20\61\x31\x30\x30\x2c\x20\44\x28\x77\x69\x6e\144\x6f\167\x29\x2e\x68\145\151\x67\x68\x74\x28\51\x2d\67\x35\x29\73\12\x20\40\40\40\x20\40\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\x20\x20\40\40\x20\x20\167\111\155\160\x6f\162\x74\56\x73\145\x74\124\145\170\x74\x28\x27" . _l("\111\x6d\160\x6f\x72\x74\40\55\x20\102\141\143\153\165\160\x20\171\157\x75\162\40\x62\141\163\145\40\x62\x65\146\157\162\x65\40\x61\x6e\x79\x20\155\x61\163\x73\x20\x75\160\x64\141\x74\x65\41", 1) . "\47\x29\x3b\xa\x20\40\x20\40\40\x20\40\x20\40\40\40\40\40\40\40\x20\x20\40\40\40\40\40\x20\x20\x24\x2e\147\x65\164\x28\x27\x69\156\x64\x65\x78\56\x70\150\160\x3f\x61\152\141\170\75\61\46\141\143\x74\x3d\143\x61\x74\137\x77\x69\156\55\151\155\x70\x6f\162\x74\137\x69\x6e\151\x74\47\x2c\x66\x75\156\x63\164\151\157\156\50\x64\x61\164\x61\51\173\12\40\40\40\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\40\40\40\x20\x20\44\50\47\43\152\x73\105\170\x65\143\x75\x74\x65\47\x29\x2e\150\164\x6d\x6c\50\144\141\164\141\51\x3b\12\x20\40\40\40\40\40\40\x20\40\40\40\40\x20\x20\x20\40\40\x20\40\40\40\x20\40\40\x20\x20\x20\40\x7d\51\73\12\40\40\40\40\40\x20\x20\x20\40\x20\40\x20\40\40\40\40\x20\x20\40\40\x20\x20\40\x20\167\111\155\160\x6f\x72\x74\56\141\x74\x74\141\x63\150\x45\x76\145\x6e\164\50\x27\x6f\x6e\103\x6c\x6f\x73\x65\x27\54\x20\x66\x75\156\143\x74\x69\x6f\156\x28\x77\151\156\51\173\12\40\x20\x20\x20\40\40\x20\40\40\40\40\x20\40\40\40\x20\40\x20\x20\40\40\40\x20\40\40\x20\40\x20\x20\40\x20\40\x77\x49\155\160\157\x72\x74\56\x68\x69\144\145\x28\x29\73\xa\40\x20\x20\40\x20\x20\40\x20\40\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\x20\40\x20\40\162\x65\164\x75\x72\156\40\146\x61\x6c\163\145\73\xa\x20\40\40\x20\x20\40\40\x20\40\x20\40\x20\40\40\40\40\40\x20\x20\40\40\40\x20\40\x20\x20\x20\x20\175\x29\73\xa\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x7d\x65\154\x73\x65\173\12\40\x20\40\x20\40\40\x20\x20\40\x20\40\x20\x20\x20\40\40\40\x20\40\x20\x20\40\x20\40\x24\56\x67\x65\x74\x28\47\x69\156\144\145\x78\x2e\x70\150\160\77\141\152\x61\x78\x3d\61\x26\141\143\x74\x3d\143\141\164\137\167\151\156\x2d\151\155\x70\157\x72\x74\x5f\x69\x6e\x69\164\47\x2c\146\x75\x6e\143\164\x69\x6f\x6e\50\x64\x61\x74\x61\51\173\xa\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\40\x20\40\x20\40\40\x20\40\x20\40\40\40\x20\40\x20\40\40\x20\x24\x28\47\x23\x6a\163\105\x78\145\x63\x75\164\x65\x27\51\x2e\x68\164\155\154\50\144\141\x74\x61\x29\73\12\x20\40\x20\40\40\x20\40\40\x20\40\40\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\40\x20\40\40\x20\175\51\x3b\xa\40\x20\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\40\x20\40\x20\40\40\40\40\x20\x77\111\x6d\160\157\162\164\56\163\150\x6f\167\x28\x29\73\12\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\40\x20\x20\40\x20\40\40\175\12\40\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\40\x20\x20\40"; goto ls5RQ; HEJDR: $menu_js_action .= "\40\x69\146\x20\50\41\144\150\x78\x57\151\x6e\x73\x2e\151\163\x57\151\156\144\x6f\x77\50\47\x77\105\x78\x70\157\x72\x74\x27\x29\x29\x20\173\xa\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\40\167\x45\170\x70\157\162\164\x20\x3d\x20\x64\x68\x78\x57\x69\x6e\x73\x2e\143\162\x65\141\x74\x65\127\x69\156\144\157\167\x28\47\167\x45\x78\x70\x6f\162\164\47\54\40\65\60\54\40\x35\x30\x2c\x20\x31\x32\x30\x30\54\40\44\50\x77\x69\x6e\144\157\x77\x29\x2e\150\x65\x69\147\x68\164\50\x29\55\x37\65\x29\x3b\xa\40\40\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\40\40\x20\x20\x20\x20\40\x20\40\x77\x45\170\x70\157\x72\164\x2e\x73\x65\x74\124\x65\170\x74\50\47" . _l("\103\123\x56\40\105\170\x70\157\162\x74", 1) . "\x27\51\73\xa\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\44\56\x67\145\x74\x28\x27\x69\156\x64\145\x78\56\160\x68\160\x3f\x61\x6a\x61\x78\75\x31\46\141\143\x74\x3d\143\141\x74\x5f\167\151\156\x2d\145\x78\160\x6f\162\164\x5f\x69\x6e\x69\x74\x27\x2c\146\x75\156\x63\164\x69\157\x6e\x28\144\141\x74\141\x29\173\12\40\x20\x20\40\40\40\40\40\40\x20\x20\40\x20\40\40\x20\x20\40\40\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\x20\44\x28\47\x23\152\x73\105\x78\x65\143\x75\x74\145\x27\51\56\x68\164\x6d\x6c\50\x64\141\164\x61\x29\73\xa\40\x20\40\40\x20\40\40\40\40\40\40\40\40\40\40\40\40\x20\40\40\40\40\40\40\x20\40\x20\x20\x7d\51\x3b\12\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\40\40\x20\x20\40\x20\40\40\167\x45\x78\160\x6f\x72\164\x2e\x61\x74\164\141\143\x68\x45\166\x65\x6e\x74\50\x27\x6f\156\103\x6c\x6f\x73\x65\x27\x2c\x20\x66\x75\156\143\164\151\157\x6e\50\167\151\156\51\x7b\xa\x20\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\40\x20\40\40\40\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\167\x45\170\x70\157\162\x74\x2e\150\151\144\145\50\51\73\xa\40\40\40\40\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\x20\x20\40\40\40\40\40\x20\40\40\x20\40\x20\40\40\x20\x72\x65\x74\x75\x72\156\x20\x66\141\x6c\163\x65\73\xa\x20\40\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\40\x20\x20\x20\40\40\40\x20\x20\40\x20\40\x20\x20\40\x7d\51\73\xa\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\x20\40\x7d\x65\154\163\145\x7b\12\40\40\40\40\40\x20\x20\40\40\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\40\40\40\44\x2e\147\145\164\50\x27\151\156\144\x65\170\56\160\x68\x70\77\x61\152\141\170\75\x31\x26\x61\143\164\75\143\x61\164\137\x77\x69\156\x2d\x65\x78\x70\x6f\162\164\137\151\156\x69\x74\x27\54\146\165\156\x63\x74\x69\157\x6e\x28\x64\x61\x74\141\51\x7b\xa\x20\40\40\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\40\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\40\x20\44\50\47\x23\152\x73\x45\x78\145\x63\x75\x74\145\47\x29\x2e\150\x74\x6d\154\x28\144\x61\x74\141\51\73\xa\x20\40\40\x20\40\40\40\x20\40\x20\40\x20\40\40\40\40\40\x20\40\40\40\40\40\x20\x20\40\x20\40\x7d\51\x3b\xa\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\x77\105\x78\160\x6f\x72\164\x2e\x73\x68\x6f\x77\x28\51\x3b\xa\x20\40\x20\x20\40\40\x20\40\40\40\x20\40\40\40\x20\40\40\40\40\x20\175\x20"; goto aXgnX; OmDlc: $menu_js_action .= "\xa\40\40\x20\40\40\x20\x20\x20\40\40\x20\x20\x69\146\40\x28\41\x64\150\170\x57\x69\x6e\x73\56\x69\163\x57\151\156\x64\157\167\x28\47\x77\x4d\141\153\145\x4f\x72\x64\x65\x72\x27\x29\51\40\x7b\xa\x20\x20\40\x20\x20\40\40\40\x20\x20\40\40\x20\40\40\40\167\115\141\153\x65\117\162\x64\x65\x72\x20\x3d\x20\144\150\170\127\151\x6e\163\56\143\x72\x65\x61\x74\145\127\151\156\x64\x6f\x77\x28\47\167\115\141\153\145\117\x72\144\x65\162\x27\54\x20\x35\60\x2c\x20\x35\x30\54\x20\x24\50\x77\x69\156\144\x6f\x77\51\56\x77\x69\144\x74\150\50\x29\x2d\67\x35\x2c\x20\44\x28\167\151\x6e\144\157\x77\x29\x2e\x68\145\x69\x67\x68\x74\x28\x29\x2d\x37\65\51\73\12\x20\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\x20\x77\x4d\141\x6b\x65\x4f\x72\x64\x65\162\56\155\x61\170\151\155\151\172\145\x28\51\x3b\12\40\40\40\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x20\167\115\141\x6b\x65\117\162\x64\145\x72\x2e\x73\145\164\124\x65\x78\x74\50\47" . _l("\x43\162\x65\x61\x74\x65\x20\141\156\40\157\x72\144\145\162", 1) . "\47\51\x3b\12\x20\x20\40\x20\x20\40\40\x20\40\40\x20\40\40\40\x20\x20\44\56\147\145\164\x28\47\x69\x6e\x64\145\x78\56\160\x68\x70\x3f\141\152\141\170\75\61\46\141\143\164\75\x6f\162\x64\x5f\167\x69\156\x2d\x6d\141\x6b\145\x6f\x72\144\145\x72\137\x69\x6e\x69\164\47\54\146\x75\156\x63\164\151\157\x6e\50\x64\x61\164\141\51\x7b\xa\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\x20\x20\40\40\40\x20\x20\x24\x28\x27\43\152\163\x45\x78\145\143\165\164\145\x27\x29\x2e\x68\164\x6d\154\50\x64\141\164\x61\x29\x3b\xa\40\x20\40\40\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\175\x29\x3b\12\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x77\115\141\153\x65\x4f\x72\144\x65\162\56\x61\x74\164\141\143\150\x45\166\x65\x6e\164\50\47\157\x6e\x43\154\x6f\x73\x65\x27\54\x20\x66\x75\156\143\x74\x69\157\x6e\50\167\151\x6e\51\x7b\12\40\40\40\x20\40\x20\40\40\x20\40\40\40\x20\40\40\x20\40\40\x20\40\x77\115\x61\153\x65\x4f\x72\x64\x65\162\x2e\150\x69\x64\x65\x28\x29\73\12\40\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\40\40\40\x20\x20\40\x20\x72\x65\164\x75\x72\156\x20\146\x61\x6c\x73\x65\x3b\xa\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\x20\x20\x20\40\175\51\x3b\12\40\40\40\40\x20\40\40\40\40\x20\40\40\175\x65\x6c\x73\145\x7b\xa\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x24\56\147\145\x74\x28\x27\x69\156\144\145\170\56\x70\150\x70\77\141\152\x61\x78\75\x31\x26\141\x63\x74\x3d\x6f\x72\x64\137\167\151\x6e\x2d\155\x61\153\145\x6f\162\x64\x65\162\137\x69\x6e\151\164\47\x2c\x66\165\x6e\x63\x74\x69\x6f\x6e\50\x64\141\x74\x61\x29\x7b\xa\40\x20\40\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\x24\50\47\43\152\163\105\x78\x65\x63\165\164\145\47\51\56\x68\x74\x6d\x6c\50\x64\x61\164\141\x29\x3b\12\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\40\x20\x7d\51\x3b\12\x20\40\x20\40\40\40\x20\x20\40\40\40\40\x20\40\x20\40\x77\115\141\x6b\145\x4f\162\144\145\162\x2e\163\x68\x6f\167\50\51\73\xa\40\40\x20\40\40\x20\40\40\x20\40\40\x20\175"; goto GOzHK; d7quG: foreach ($shops as $shop) { goto z0EPr; nzgCs: kEfNN: goto Q3e0n; Q3e0n: sTJUe: goto zkjR1; GiYcj: if (empty($url[0]["\165\162\154"])) { goto kEfNN; } goto mJaD3; mJaD3: $menu_js_action .= "\40\x69\x66\x20\50\151\144\x3d\x3d\47\154\151\156\153\137\160\163\x66\162\x6f\x6e\164\137\x73\x68\x6f\x70\137" . $shop["\151\144\137\163\x68\157\160"] . "\x27\51\173\12\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\167\151\156\x64\x6f\x77\56\x6f\x70\x65\x6e\x28\x27" . $url[0]["\165\x72\x6c"] . "\47\51\x3b\xa\40\40\40\40\x20\40\40\x20\x20\40\40\x20\x20\40\40\40\40\40\40\x20\40\x20\40\40\x20\x20\x20\x20\175\40"; goto nzgCs; z0EPr: $url = Db::getInstance()->ExecuteS("\x53\105\114\105\x43\124\x20\52\54\40\x43\117\x4e\103\101\x54\x28\42\x68\x74\x74\x70\x3a\57\57\42\54\40\144\x6f\155\141\x69\156\x2c\40\160\x68\171\163\x69\x63\141\x6c\137\165\162\151\x2c\x20\166\151\162\164\165\x61\x6c\137\x75\162\151\x29\40\101\123\x20\x75\x72\154\12\40\40\x20\40\40\40\40\x20\40\x20\40\40\40\x20\x20\x20\x20\40\40\x20\106\x52\117\x4d\40" . _DB_PREFIX_ . "\x73\x68\x6f\160\137\165\162\x6c\12\x20\40\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x57\110\x45\122\x45\40\151\144\x5f\163\150\x6f\x70\40\x3d\x20" . (int) $shop["\151\x64\x5f\x73\x68\x6f\x70"] . "\12\40\40\40\x20\x20\40\x20\40\40\40\x20\40\x20\x20\40\40\x20\40\x20\40\40\40\x20\40\x41\x4e\x44\40\141\x63\164\x69\166\145\40\75\x20\x22\x31\x22\xa\40\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\40\x20\x4f\122\104\x45\x52\40\x42\x59\x20\155\141\151\x6e\40\104\105\x53\x43\xa\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\40\40\x20\40\x20\40\x4c\111\x4d\x49\124\40\x31"); goto GiYcj; zkjR1: } goto Rin3L; l3cUV: $menu_js_action .= "\xa\40\x20\40\40\151\x66\x28\x53\x43\137\x50\x41\107\x45\75\75\47\x63\x75\x73\x5f\x74\x72\x65\145\47\x29\12\40\40\40\x20\173\12\x20\x20\40\40\40\x20\40\x20\151\146\x20\x28\x63\x61\x73\123\164\141\x74\145\56\x63\x74\162\x6c\x20\75\75\x20\x74\x72\165\145\x29\40\173\12\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\x77\x69\156\144\x6f\x77\x2e\x6f\160\145\x6e\50\x27\x69\156\x64\x65\170\56\160\x68\160\x3f\160\141\147\145\75\143\165\x73\x5f\164\162\145\145\47\x29\73\xa\x20\40\40\40\40\x20\40\40\x7d\12\40\x20\x20\40\175\x65\154\163\145\173\xa\40\40\x20\x20\x20\40\40\40\151\146\40\x28\143\x61\163\x53\x74\141\164\x65\56\x63\x74\162\x6c\40\75\x3d\40\164\162\x75\x65\x29\40\x7b\xa\x20\x20\40\40\x20\40\40\40\x20\x20\x20\40\167\151\156\x64\x6f\x77\x2e\x6f\x70\145\x6e\x28\47\151\156\144\x65\170\56\160\x68\160\77\160\141\147\145\x3d\x63\x75\x73\x5f\164\162\145\145\x27\51\x3b\12\x20\x20\40\x20\x20\40\40\x20\175\x20\x65\x6c\x73\x65\40\x7b\12\x20\x20\40\x20\40\40\40\x20\x20\x20\40\x20\x64\x6f\143\165\155\145\x6e\x74\x2e\154\x6f\143\x61\164\x69\157\x6e\75\x27\x69\x6e\x64\145\x78\56\x70\x68\x70\x3f\x70\141\x67\145\75\x63\165\x73\x5f\164\162\x65\145\x27\73\xa\40\40\x20\x20\40\40\x20\x20\175\xa\x20\x20\x20\x20\175"; goto Zb_Xg; eyMl5: $pdt_toolbar_js_action .= "\12\x20\x20\40\40\40\40\40\40\40\40\40\40\40\40\x20\x20\40\x20\40\40\157\x70\145\156\x5f\x6d\x61\156\137\147\x72\151\x64\40\x3d\40\164\162\165\x65\73\12\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\40\x20\x64\151\163\160\154\x61\171\137\155\x61\156\x5f\141\x66\164\145\x72\137\x63\x61\164\x5f\x73\x65\154\145\143\x74\40\75\x20\146\141\154\163\145\73\xa\x20\40\x20\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\x64\151\x73\x70\154\141\x79\x5f\x6d\141\156\x5f\141\x66\x74\145\162\x5f\163\x65\154\x65\x63\x74\137\166\x69\x65\167\40\x3d\x20\146\141\x6c\163\x65\73\12\40\x20\x20\x20\40\40\40\x20\40\x20\x20\40\x20\40\40\40\40\x20\x20\x20\x6f\x70\145\156\137\x6d\141\x6e\x5f\151\x64\x5f\143\141\164\x20\75\x20" . $tmps[0] . "\x3b\xa\40\40\x20\40\x20\x20\40\40\40\40\40\x20\x20\40\40\40\40\x20\x20\40\x6f\160\x65\156\137\x6d\x61\156\x5f\151\144\x5f\160\141\147\x65\x20\x3d\40" . $tmps[1] . "\x3b\12\40\40\40\x20\40\40\40\40\40\40\40\x20\x20\40\x20\40\x20\x20\40\x20\x6f\160\145\156\137\x6d\x61\x6e\137\x69\x64\137\x61\164\164\162\40\x3d\40" . (!empty($tmps[2]) ? $tmps[2] : "\x30") . "\x3b\12\xa\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\x6d\x61\x6e\137\x74\162\145\145\x2e\x6f\x70\x65\156\111\x74\x65\x6d\50\x6f\x70\145\156\137\x6d\141\x6e\x5f\151\x64\x5f\x63\x61\164\x29\x3b\xa\40\40\40\40\40\40\x20\40\40\x20\x20\x20\x20\40\40\40\40\40\40\40\x6d\141\x6e\x5f\164\162\x65\145\56\163\x65\154\x65\143\164\x49\164\x65\155\50\157\160\x65\x6e\x5f\x6d\141\156\x5f\151\x64\137\143\x61\x74\54\x66\141\154\163\145\x29\x3b\xa\x20\x20\x20\x20\40\x20\40\x20\40\x20\40\40\40\40\40\40\40\x20\40\40\x6d\x61\156\163\x65\x6c\145\143\x74\151\x6f\156\75\157\x70\145\156\137\155\141\156\137\151\144\x5f\x63\x61\x74\x3b\40"; goto N8v_v; AtGoN: $prop_toolbar_js_action .= "\x20\x64\x68\x78\x4c\x61\171\157\x75\164\x2e\x63\x65\154\x6c\x73\x28\x27\x62\47\51\x2e\x73\150\157\167\x48\145\141\144\x65\162\50\x29\73\x20"; goto t3fsK; tTR_e: $menu_js_action .= "\151\146\x20\x28\151\144\x3d\x3d\47\164\x65\141\x73\145\162\x5f\x71\165\x69\x63\153\x61\x63\143\x6f\165\156\x74\151\x6e\147\x5f\x72\145\141\144\x27\51\x7b\x20"; goto cJ_1m; md7sR: goto Kbi82; goto xBUmx; zXW8s: $pdt_toolbar_js_action .= "\40\157\160\145\x6e\x5f\155\141\156\137\x67\x72\151\144\40\x3d\x20\146\x61\x6c\163\145\x3b\40"; goto K2Cbe; ls5RQ: $menu_js_action .= "\xa\40\40\x20\x20\40\x20\x20\40\x20\40\40\40\175\12\40\x20\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\151\146\x20\x28\151\x64\75\75\x27\x63\141\164\x5f\143\x61\164\151\x6d\x70\157\x72\x74\x27\x29\173"; goto RscLz; VCBSd: if (!(SCI::moduleIsInstalled("\160\x6d\x5f\141\144\166\141\156\x63\x65\144\163\145\x61\162\143\150\x34") && version_compare($as_version, "\64\56\61\x32\56\x30", "\76\75") && defined("\123\103\137\x41\x64\x76\141\x6e\143\145\x64\123\145\x61\162\143\x68\123\x65\157\137\101\103\x54\x49\126\x45") && SC_AdvancedSearchSeo_ACTIVE)) { goto QEKof; } goto G05EY; TUYHe: if (!file_exists(SC_CSV_EXPORT_DIR) || !file_exists(SC_TOOLS_DIR) || !file_exists(SC_TOOLS_DIR . "\143\141\164\x5f\x65\170\160\157\x72\164\57") || !file_exists(SC_TOOLS_DIR . "\x63\141\164\x5f\143\141\x74\145\147\x6f\x72\151\145\x73\x5f\x73\145\154\x2f")) { goto Z3N41; } goto HEJDR; xFUDT: UZRyk: goto tTR_e; Zb_Xg: $menu_js_action .= "\xa\40\40\x20\40\40\x20\x20\40\40\40\40\40\x20\40\x20\x20\x7d\xa\40\40\40\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\x69\x66\x20\x28\x69\x64\x3d\75\x27\x63\x75\163\x6d\x5f\x63\165\x73\164\x6f\155\145\162\x73\163\x65\162\166\151\x63\145\47\x29\x7b"; goto p9IPo; P8noC: Kbi82: goto hZaNx; msdYt: if (!empty($ids)) { goto zYyuP; } goto EZAFq; oWkD9: $pluginSupplierProperties = array("\x54\151\x74\154\x65" => '', "\124\157\157\154\142\141\x72\x42\165\x74\x74\157\156\163" => '', "\x54\x6f\157\154\142\x61\162\101\x63\164\151\x6f\156\163" => '', "\x54\x6f\157\154\x62\x61\x72\123\x74\141\164\145\x41\143\x74\x69\157\156\163" => '', "\x48\x69\144\x65\124\157\x6f\154\142\x61\162\102\x75\164\164\x6f\x6e\x73" => '', "\x64\157\117\x6e\123\165\160\x70\154\151\x65\x72\122\x6f\x77\123\145\x6c\145\143\164\145\144" => '', "\104\151\163\160\x6c\x61\x79\x50\x6c\x75\x67\x69\156" => ''); goto yOoUw; VUaKr: Th4MY: goto l06oz; SkW0_: if (defined("\x53\x43\137\x44\105\115\x4f") && SC_DEMO || defined("\123\x55\x42\x36\124\x59\120\x32") && in_array(SUB6TYP2, array(3, 4, 5, 7, 9, 10))) { goto BP6ka; } goto VJraF; jrJGj: $pluginProductProperties["\124\x69\x74\154\145"] = trim(trim($pluginProductProperties["\x54\x69\x74\154\x65"]), "\x2c"); goto M1Mfx; VNxVe: $menu_js_action .= "\40\x7d\12\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\151\x66\x20\50\151\144\x3d\x3d\47\167\x69\x6e\x5f\x67\162\x69\144\163\x5f\145\x64\151\x74\x6f\162\x27\51\x7b\12\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x69\146\x20\x28\41\144\x68\x78\127\x69\x6e\163\56\x69\x73\x57\151\156\144\x6f\x77\x28\x27\164\157\157\154\163\x53\103\x47\x72\x69\144\x73\x45\x64\151\x74\157\162\47\x29\x29\xa\x20\40\40\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\40\40\173\12\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\164\x6f\157\x6c\x73\123\x43\x47\162\x69\144\x73\x45\144\x69\x74\157\x72\40\75\x20\x64\x68\170\x57\151\x6e\163\56\x63\162\x65\141\164\145\127\151\x6e\x64\x6f\x77\x28\x27\164\157\x6f\x6c\x73\123\x43\107\x72\x69\144\163\105\x64\151\x74\157\x72\x27\x2c\40\65\60\54\x20\x35\x30\x2c\x20\44\x28\167\x69\x6e\x64\x6f\167\51\56\167\151\144\164\x68\x28\x29\x2d\x31\60\x30\54\x20\44\50\x77\151\156\x64\157\x77\x29\x2e\150\145\x69\147\150\x74\50\x29\x2d\x31\x30\x30\51\73\12\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\164\x6f\x6f\154\163\x53\x43\x47\162\151\x64\163\x45\144\x69\164\x6f\x72\56\163\x65\x74\x54\x65\x78\x74\x28\47" . _l("\111\156\164\x65\162\146\141\x63\x65\x20\143\x75\163\164\x6f\155\x69\172\141\164\151\157\x6e", 1) . "\x27\x29\73\12\x20\x20\40\40\x20\x20\x20\40\40\x20\40\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\164\x6f\157\x6c\163\123\103\107\162\x69\x64\163\x45\144\x69\x74\x6f\162\x2e\x61\164\164\x61\x63\x68\105\166\x65\156\164\50\47\157\x6e\103\154\157\163\x65\x27\54\40\146\165\x6e\x63\164\151\157\x6e\50\167\x69\156\51\173\12\40\40\x20\40\40\40\40\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\40\x20\x20\40\164\x6f\x6f\x6c\163\x53\103\x47\x72\x69\144\x73\105\x64\x69\164\x6f\x72\56\150\x69\144\145\x28\51\x3b\xa\40\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x72\145\x74\x75\x72\x6e\40\x66\x61\x6c\163\x65\73\12\x20\x20\x20\40\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\40\x20\x7d\51\x3b\12\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\40\40\x20\40\40\x20\40\x20\40\x20\x24\56\147\x65\164\x28\x27\151\156\144\145\x78\56\x70\x68\160\x3f\x61\x6a\x61\170\75\61\46\x61\143\x74\x3d\141\154\x6c\137\167\151\x6e\55\x67\162\151\x64\163\x65\x64\x69\164\157\162\x5f\x69\x6e\x69\x74\x27\x2c\x66\x75\156\143\x74\x69\157\156\50\x64\x61\164\x61\51\x7b\12\40\40\40\x20\40\40\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\40\x20\40\x20\x24\50\x27\43\x6a\x73\x45\x78\145\143\x75\164\x65\47\x29\56\x68\x74\155\154\50\x64\141\164\x61\51\73\xa\x20\40\x20\40\x20\x20\40\40\x20\40\40\40\40\40\40\40\x20\x20\40\x20\40\40\x20\x20\40\40\x20\x20\x7d\x29\73\xa\xa\40\40\40\40\x20\40\x20\40\x20\x20\40\40\x20\40\x20\x20\40\x20\40\40\x7d\145\x6c\163\x65\x7b\xa\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\44\56\147\145\x74\50\x27\151\x6e\144\x65\x78\x2e\x70\150\160\77\141\x6a\x61\170\75\x31\x26\x61\143\164\75\141\154\x6c\x5f\x77\151\x6e\x2d\x67\x72\151\x64\163\x65\x64\151\x74\157\162\x5f\x69\x6e\x69\164\47\x2c\146\x75\x6e\143\164\151\157\156\x28\144\141\164\x61\51\173\12\40\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\40\44\x28\x27\x23\x6a\x73\x45\170\145\143\165\164\145\x27\51\x2e\x68\x74\x6d\154\50\144\x61\x74\x61\51\x3b\xa\x20\x20\40\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\175\51\73\12\x20\x20\40\x20\40\x20\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\x20\40\40\40\40\x20\x74\157\157\x6c\x73\123\x43\x47\x72\151\x64\163\105\144\x69\164\x6f\x72\x2e\x73\x68\x6f\x77\x28\51\73\12\x20\40\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\x7d\12\x20\x20\x20\40\40\x20\40\40\x20\40\x20\x20\40\x20\x20\40\x7d\12\40\40\x20\40\40\x20\x20\40\40\x20\40\x20\x20\40\x20\40\x69\146\40\x28\151\x64\75\75\47\x77\x69\x6e\137\164\x65\x72\155\151\156\141\x74\x6f\x72\47\x29\173\xa\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\151\146\40\50\41\144\150\170\127\x69\156\163\56\151\163\x57\x69\156\144\157\x77\x28\x27\164\157\x6f\x6c\x73\x54\145\162\x6d\x69\x6e\x61\164\x6f\x72\47\51\x29\12\x20\40\40\x20\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\40\x20\40\40\173\xa\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\40\40\40\164\x6f\157\x6c\163\x54\145\162\x6d\x69\x6e\141\164\x6f\x72\40\75\40\x64\x68\x78\127\x69\x6e\x73\x2e\x63\x72\145\141\x74\145\x57\151\156\x64\157\x77\x28\x27\164\x6f\x6f\154\163\x54\x65\162\155\151\156\141\x74\157\x72\x27\54\x20\x35\60\54\40\65\x30\54\40\44\x28\167\x69\156\144\x6f\167\51\x2e\x77\151\144\164\150\x28\51\x2d\61\x30\x30\x2c\40\44\x28\x77\151\x6e\x64\157\167\x29\56\x68\x65\151\x67\150\164\x28\x29\55\61\x30\60\x29\x3b\12\40\x20\40\40\40\40\40\x20\40\40\x20\40\x20\40\40\40\40\40\40\x20\40\x20\x20\40\x74\157\157\x6c\163\124\145\162\x6d\x69\x6e\x61\164\x6f\x72\56\x73\145\x74\124\145\170\x74\50\x27" . _l("\x53\150\157\160\x20\143\154\x65\x61\156\x69\156\147\x20\141\x6e\144\x20\157\160\x74\151\155\151\x7a\141\x74\151\157\156", 1) . "\x27\51\x3b\12\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\40\164\157\157\154\163\x54\x65\x72\155\151\x6e\x61\x74\x6f\162\x2e\141\164\164\x61\143\x68\105\x76\x65\x6e\x74\50\47\x6f\x6e\x43\x6c\x6f\163\145\47\x2c\40\146\x75\156\x63\164\151\157\156\50\167\x69\156\x29\x7b\xa\x20\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\164\157\157\x6c\163\124\x65\162\x6d\151\x6e\x61\x74\x6f\162\x2e\x68\x69\144\145\50\51\x3b\xa\40\x20\x20\x20\40\40\40\40\40\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\162\x65\164\x75\162\156\x20\x66\141\154\163\x65\73\xa\40\40\40\40\x20\40\x20\40\40\40\x20\40\x20\40\40\x20\x20\x20\40\40\40\x20\x20\40\x20\40\x20\40\x7d\x29\x3b\12\x20\40\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\40\40\40\x20\x20\40\x20\x20\40\x20\x20\44\x2e\147\x65\164\x28\x27\151\x6e\144\145\x78\56\160\150\160\x3f\x61\152\x61\x78\75\61\46\x61\x63\164\75\141\154\154\137\x77\151\x6e\x2d\x74\145\162\x6d\x69\x6e\141\x74\x6f\162\137\151\156\x69\x74\47\x2c\146\165\156\x63\x74\151\x6f\156\50\x64\141\164\141\51\173\xa\40\40\x20\40\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\40\x20\x24\x28\47\43\x6a\163\105\170\x65\143\165\164\x65\x27\x29\56\x68\164\155\154\50\144\141\164\x61\x29\x3b\12\40\40\40\40\x20\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\40\40\x20\40\40\40\x20\x20\x20\x20\x7d\51\x3b\xa\xa\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\x7d\145\x6c\x73\145\x7b\xa\x20\40\x20\40\x20\x20\40\40\40\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x24\x2e\147\145\x74\x28\47\x69\156\x64\145\170\56\160\x68\x70\x3f\141\x6a\141\x78\x3d\x31\x26\x61\x63\x74\x3d\141\154\154\x5f\167\x69\156\x2d\164\x65\162\155\151\156\141\x74\x6f\162\x5f\151\156\151\x74\47\54\x66\165\156\143\164\151\x6f\x6e\50\x64\x61\x74\x61\51\173\xa\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x24\50\47\x23\x6a\163\105\x78\145\143\165\x74\x65\47\51\x2e\150\x74\x6d\x6c\50\144\x61\164\141\51\x3b\12\x20\40\40\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\40\40\x20\x20\40\40\x20\x20\x7d\51\73\12\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\40\40\x74\157\x6f\x6c\x73\124\x65\162\155\x69\x6e\x61\164\x6f\162\x2e\x73\150\x6f\167\x28\51\73\xa\40\40\x20\x20\40\x20\40\40\x20\x20\x20\40\40\40\x20\x20\40\40\40\40\x7d\12\40\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\x7d\12\40\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\151\146\x20\50\151\x64\x3d\75\47\x66\151\x78\x6d\171\160\x72\145\163\x74\141\163\x68\157\160\47\51\x7b\xa\x20\40\x20\40\40\40\40\40\x20\40\40\x20\x20\x20\x20\x20\40\40\40\40\151\x66\x20\x28\x21\x64\150\x78\127\x69\156\163\x2e\x69\x73\x57\151\x6e\144\157\167\x28\x27\167\x46\151\170\x6d\171\x70\x72\145\163\164\x61\163\x68\x6f\x70\47\51\51\xa\x20\40\40\x20\40\40\40\x20\x20\40\x20\40\40\40\40\x20\x20\40\x20\40\173\12\x20\x20\40\x20\x20\x20\40\40\40\40\40\40\x20\40\40\40\x20\x20\40\x20\40\40\x20\40\167\106\151\170\155\x79\160\162\145\163\x74\141\163\150\157\x70\40\75\40\x64\x68\x78\x57\x69\156\163\56\x63\162\145\141\164\145\127\x69\x6e\x64\x6f\167\50\x27\167\106\x69\x78\155\171\160\162\145\163\164\141\163\x68\x6f\160\47\54\x20\x35\60\x2c\x20\x35\x30\x2c\40\44\x28\x77\151\x6e\x64\x6f\167\51\56\x77\x69\x64\164\150\50\51\x2d\61\60\x30\54\x20\x24\x28\x77\x69\x6e\144\x6f\x77\51\x2e\x68\x65\151\x67\150\x74\x28\51\55\61\60\x30\51\x3b\12\x20\x20\40\40\40\40\x20\40\x20\x20\40\40\40\x20\40\40\40\40\x20\x20\40\40\40\x20\167\x46\x69\170\155\171\160\x72\x65\x73\x74\x61\x73\150\x6f\160\x2e\x73\145\x74\124\x65\x78\x74\50\47\x46\x69\x78\115\171\x50\x72\x65\163\x74\x61\x73\150\157\x70\47\51\x3b\12\x20\40\x20\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\x20\40\x20\x20\40\x20\40\40\167\x46\x69\170\x6d\171\160\162\145\163\164\141\x73\x68\157\x70\x2e\x61\164\x74\141\x63\x68\105\166\x65\x6e\164\50\x27\x6f\156\x43\x6c\x6f\x73\x65\x27\54\x20\x66\x75\156\143\164\151\157\156\x28\x77\151\x6e\x29\173\xa\40\40\x20\40\40\x20\x20\40\x20\40\40\x20\x20\40\40\x20\40\40\x20\40\40\40\x20\x20\x20\40\x20\40\x20\x20\40\40\167\106\x69\x78\x6d\x79\x70\162\x65\x73\x74\141\x73\150\x6f\x70\x2e\150\x69\144\x65\50\x29\x3b\12\40\40\x20\x20\x20\40\x20\x20\40\40\40\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\x20\40\40\40\162\145\x74\165\x72\156\40\x66\x61\x6c\163\x65\73\12\40\40\40\40\40\40\x20\40\40\40\40\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\x20\40\40\40\x20\175\51\73\xa\40\40\40\40\x20\x20\40\40\40\40\40\40\40\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\x24\x2e\x67\145\164\50\47\151\156\x64\145\170\56\160\150\160\77\x61\x6a\141\170\x3d\61\46\x61\143\x74\75\x61\x6c\154\137\x77\151\x6e\x2d\146\x69\170\155\x79\x70\162\x65\x73\x74\141\x73\150\157\x70\x5f\151\156\151\164\x27\54\146\x75\x6e\x63\x74\x69\x6f\156\50\144\141\164\x61\x29\x7b\12\40\x20\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\40\40\x20\40\x20\44\x28\47\43\152\x73\105\x78\x65\143\x75\x74\145\x27\x29\56\150\x74\x6d\x6c\x28\x64\141\x74\x61\51\73\12\x20\x20\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\x20\x20\40\40\x20\x7d\x29\x3b\12\12\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\x20\x20\40\40\175\145\x6c\163\145\x7b\xa\x20\40\x20\40\40\40\x20\x20\x20\x20\40\40\40\x20\40\40\40\x20\40\x20\40\40\40\x20\x24\x2e\x67\145\x74\50\47\x69\156\x64\x65\170\56\x70\x68\160\77\141\152\141\170\x3d\x31\x26\x61\143\164\75\141\x6c\x6c\137\167\x69\x6e\55\146\151\170\155\x79\160\162\x65\x73\x74\x61\x73\150\x6f\160\x5f\x69\x6e\x69\x74\47\x2c\x66\165\156\x63\164\151\x6f\x6e\50\x64\141\164\x61\51\x7b\xa\40\40\40\x20\40\40\x20\x20\40\x20\40\x20\x20\x20\40\40\x20\40\x20\x20\40\40\40\x20\40\40\40\x20\40\x20\x20\40\x24\x28\47\x23\x6a\x73\x45\170\145\143\165\x74\x65\x27\51\x2e\150\164\155\x6c\x28\144\x61\x74\x61\51\x3b\xa\x20\x20\40\x20\40\x20\40\x20\40\x20\40\40\40\40\x20\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\40\175\51\x3b\12\x20\40\x20\40\40\40\40\40\40\40\x20\40\40\40\40\x20\40\40\40\x20\40\x20\40\x20\x77\x46\x69\x78\155\x79\x70\162\145\x73\x74\141\163\x68\x6f\160\x2e\x73\150\x6f\x77\x28\x29\73\xa\40\x20\40\x20\40\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\x7d\12\x20\x20\x20\40\40\40\x20\x20\40\40\x20\40\x20\40\40\40\175"; goto eW3P1; WBXMo: $pluginCmsProperties["\124\151\164\x6c\145"] = trim(trim($pluginCmsProperties["\x54\x69\164\x6c\145"]), "\54"); goto AuSMv; eyb3O: $pdt_toolbar_js_action .= "\12\x20\x20\40\x20\40\x20\x20\x20\x6f\154\144\107\x72\x69\144\x56\151\145\x77\75\x67\162\151\x64\126\151\145\167\73\12\40\40\x20\40\x20\x20\x20\40\147\162\151\144\126\x69\145\167\75\x69\x64\x3b\xa\xa\40\x20\x20\x20\x20\x20\40\x20\57\57\x20\x55\111\x53\x65\x74\164\151\x6e\147\x73\12\x20\40\x20\40\40\40\40\x20\x63\x61\x74\137\147\x72\x69\x64\x2e\x5f\x75\151\x73\145\164\164\151\156\147\x73\137\x6e\x61\155\x65\75\143\141\x74\x5f\147\162\151\144\x2e\x5f\x75\151\163\145\164\x74\x69\x6e\147\163\137\160\162\x65\x66\151\x78\x2b\x67\x72\151\144\x56\151\145\x77\x3b\xa\12\40\x20\40\x20\x20\x20\40\x20\x63\x61\x74\137\147\162\151\x64\x5f\x74\x62\56\163\x65\x74\x49\164\x65\155\x54\145\x78\x74\x28\47\x67\162\151\144\x76\x69\145\x77\47\x2c\x67\162\151\144\156\141\155\x65\x73\133\x69\x64\135\x29\x3b\12\40\40\40\x20\40\40\40\x20\44\50\x64\x6f\143\165\155\x65\x6e\x74\x29\56\x72\x65\141\x64\171\50\146\x75\156\143\x74\151\157\156\50\51\x7b\xa\x20\40\x20\x20\x20\x20\40\40\40\40\x20\40\x20\40\x20\x20\x64\x69\163\x70\x6c\x61\171\120\162\x6f\x64\x75\143\x74\163\x28\51\73\12\40\40\40\40\40\40\x20\x20\x7d\51\x3b\40"; goto unEZk; unEZk: $ids = Tools::getValue("\157\x70\x65\x6e\137\x63\155\163\137\147\x72\x69\x64", 0); goto msdYt; D0POU: $pdt_toolbar_js_action .= "\x20\x6f\x70\145\x6e\x5f\163\165\x70\x5f\x67\162\x69\144\40\75\40\146\x61\154\x73\145\73\x20"; goto wgiRj; nnte2: $menu_js_action .= "\x20\175\xa\x20\40\x20\x20\x69\146\40\50\x69\144\x3d\75\47\x63\x61\x74\x5f\162\145\163\x65\164\160\162\x69\x63\145\x64\x72\157\160\162\x65\144\x75\x63\x74\151\x6f\156\x73\x27\51\x7b\xa\40\x20\x20\x20\40\x20\x20\x20\x20\x69\x66\40\x28\143\157\156\146\x69\x72\x6d\50\x27" . _l("\x41\x72\145\40\x79\x6f\165\40\x73\165\162\145\x20\x79\157\165\40\167\141\156\x74\40\x74\157\40\162\145\x73\x65\x74\40\x70\162\151\143\x65\163\x20\x64\x72\157\160\x20\162\x65\144\x75\143\x74\x69\157\x6e\x73\77", 1) . "\x27\x29\x29\xa\40\40\x20\x20\40\x20\40\x20\x20\40\x20\40\40\40\40\40\x7b\12\x20\40\x20\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\44\56\x67\x65\x74\x28\x27\x69\156\144\145\x78\x2e\160\x68\160\77\141\x6a\x61\170\x3d\61\46\x61\x63\164\x3d\x63\141\164\x5f\162\x65\163\145\x74\x70\162\x69\143\x65\144\162\157\x70\46\141\143\164\151\x6f\156\x3d\x72\x65\144\x75\x63\x74\x69\157\x6e\x73\47\54\40\146\x75\x6e\x63\164\151\x6f\x6e\x28\144\141\x74\x61\51\173\xa\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\40\x20\40\x20\40\x20\40\x20\40\40\40\40\40\x20\40\x64\x69\163\160\154\x61\x79\120\162\x6f\x64\x75\x63\164\163\50\x29\x3b\12\40\40\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\175\51\73\xa\40\x20\x20\40\40\40\40\x20\40\x20\x20\40\x20\x20\40\40\175\40"; goto oRxfX; hf9hr: eval($eval); goto ufY0n; N8v_v: q3d4X: goto t85ZV; pFXKr: $menu_js_action .= "\12\x20\40\40\40\x20\x20\40\x20\x20\40\40\40\40\x20\40\x20\x69\146\50\151\144\x3d\x3d\x27\143\141\164\x61\x6c\157\x67\x5f\x70\x64\146\137\x72\145\141\x64\47\51\40\173\xa\40\40\40\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\167\x69\156\144\157\167\x2e\x6f\160\x65\156\x28\47" . SC_PS_PATH_ADMIN_REL . "\151\x6e\x64\x65\170\56\160\150\x70\77" . (version_compare(_PS_VERSION_, "\61\x2e\65\x2e\60\x2e\60", "\x3e\75") ? "\143\x6f\x6e\164\162\157\x6c\x6c\145\162\x3d\x41\144\155\x69\156\x53\x43\120\x44\x46\103\x61\x74\x61\154\x6f\147" : "\164\x61\x62\75\x41\x64\x6d\x69\156\123\103\120\x44\x46\x43\x61\164\141\x6c\157\147") . "\x26\x74\x6f\153\x65\156\75" . $sc_agent->getPSToken("\101\x64\x6d\x69\156\123\x43\x50\104\106\x43\x61\x74\141\154\157\x67") . "\x27\51\x3b\12\x20\40\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\40\40\x20\x70\165\163\150\x4f\156\x65\x55\x73\x61\147\x65\x28\47\155\x65\156\165\55\x62\157\x2d\x6c\151\156\153\55\151\x6e\163\164\141\x6c\154\145\144\55\163\x63\160\144\146\x63\x61\164\141\154\x6f\147\x27\51\73\12\40\40\40\40\x20\40\40\40\x20\40\x20\40\40\40\40\x20\175"; goto YSNBM; fpn4a: $menu_js_action .= "\12\40\x20\40\40\40\x20\40\40\x20\40\40\x20\x20\40\x20\x20\x69\146\50\x69\144\75\75\47\163\143\x63\x5f\x6c\141\x62\x27\51\x20\173\12\x20\40\40\40\40\x20\x20\40\x20\40\x20\x20\x20\40\40\40\x20\40\40\40\151\146\40\50\x21\x64\x68\x78\127\x69\156\x73\56\151\163\127\x69\156\144\x6f\x77\50\x27\167\123\143\x63\154\x61\142\x27\x29\x29\12\40\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\x7b\12\x20\x20\40\x20\40\40\40\40\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\167\123\143\x63\x6c\x61\142\40\x3d\40\x64\150\170\127\x69\x6e\163\56\143\x72\145\141\164\145\127\x69\x6e\x64\157\167\50\47\x77\x53\x63\143\154\x61\x62\x27\54\x20\65\60\54\40\x35\x30\54\40\44\x28\x77\151\156\x64\x6f\167\51\x2e\167\x69\144\x74\x68\50\51\x2d\x31\60\x30\54\x20\x24\x28\x77\x69\x6e\144\157\x77\51\x2e\150\145\151\147\x68\x74\x28\51\55\x31\x30\x30\51\x3b\12\40\40\x20\40\40\40\x20\x20\x20\40\40\40\x20\40\40\x20\x20\40\40\40\40\40\40\40\x77\123\x63\x63\x6c\141\142\56\163\145\164\124\x65\x78\x74\50\47\x53\x43\x43\x20\114\141\142\x27\x29\73\12\x20\x20\x20\40\x20\x20\40\x20\40\40\40\40\x20\40\40\x20\x20\40\40\x20\x20\x20\40\x20\x77\x53\143\143\154\x61\142\56\141\164\x74\x61\143\150\x45\166\x65\156\x74\50\47\157\156\103\154\157\163\x65\x27\54\x20\x66\x75\156\143\164\151\x6f\156\50\x77\151\x6e\51\x7b\xa\40\x20\40\40\x20\40\40\x20\40\40\40\40\40\40\40\40\x20\40\x20\40\40\x20\40\x20\40\40\40\x20\167\123\143\143\x6c\x61\142\x2e\150\x69\144\145\50\51\x3b\xa\40\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\40\40\x72\x65\x74\165\x72\156\x20\146\x61\x6c\163\145\x3b\xa\40\x20\x20\40\40\40\x20\40\40\40\40\x20\x20\40\40\x20\40\x20\40\40\40\40\40\x20\175\x29\x3b\xa\40\x20\40\x20\x20\40\x20\40\40\40\x20\x20\40\x20\40\40\x20\40\x20\40\x20\40\40\40\x24\56\147\x65\x74\50\x27\x69\156\x64\145\x78\56\x70\x68\160\x3f\141\x6a\141\170\x3d\x31\x26\x61\143\x74\x3d\x61\x6c\154\137\167\151\x6e\x2d\163\x63\143\x6c\x61\x62\137\151\x6e\151\164\47\54\146\x75\156\x63\164\151\x6f\x6e\x28\x64\141\x74\141\51\173\12\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\40\x20\x20\x20\40\44\x28\47\x23\x6a\x73\105\x78\x65\x63\165\164\x65\47\51\x2e\150\x74\x6d\x6c\50\144\x61\x74\x61\51\73\12\40\40\x20\40\x20\x20\x20\x20\40\x20\40\40\40\40\x20\40\40\40\x20\x20\x20\40\x20\x20\175\51\73\xa\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\40\175\x65\x6c\163\145\173\12\x20\40\40\x20\x20\x20\40\x20\40\40\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x24\x2e\x67\145\164\x28\x27\x69\156\x64\x65\170\x2e\x70\150\160\77\141\152\x61\170\x3d\x31\x26\141\143\x74\x3d\x61\154\x6c\x5f\x77\151\156\x2d\163\x63\x63\x6c\x61\142\137\x69\156\x69\164\x27\54\146\165\x6e\x63\164\151\x6f\x6e\50\x64\141\164\141\x29\173\12\40\40\40\40\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\40\x20\40\40\x20\40\40\x20\x20\40\40\40\40\44\x28\x27\43\152\x73\x45\x78\x65\x63\165\x74\145\47\x29\56\x68\164\155\x6c\50\x64\x61\164\x61\51\73\12\x20\x20\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\x7d\51\x3b\12\40\40\x20\x20\40\x20\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x77\123\x63\x63\x6c\x61\142\56\x73\x68\157\x77\x28\x29\x3b\12\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\40\40\x20\x20\40\x20\x20\175\xa\40\x20\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\x20\x20\x7d"; goto YOmRH; vi0rE: z9ip0: goto QoEmZ; ambrI: $menu_js_action .= "\xa\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\40\40\40\x20\151\146\x20\50\x69\x64\x3d\75\x27\143\165\163\137\x63\x75\163\x74\x6f\x6d\145\x72\x73\47\x29\173"; goto l3cUV; IbGM1: $menu_js_action .= "\x64\150\x74\155\x6c\x78\56\x63\x6f\x6e\x66\x69\x72\155\50\x7b\xa\x20\40\40\x20\x20\40\40\x20\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x74\151\164\x6c\145\x3a\x20\47" . _l("\103\150\141\156\147\x65\x20\x73\x65\143\x75\x72\151\x74\171\x20\x6b\x65\x79", 1) . "\47\x2c\12\x20\x20\x20\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\40\x20\x20\40\40\164\x65\x78\164\72\x20\x27" . _l("\x43\x68\x61\x6e\147\151\156\x67\40\x74\150\145\x20\163\x65\143\x75\162\151\164\171\x20\x6b\x65\x79\40\167\151\x6c\154\40\143\x68\141\x6e\147\x65\x20\x74\150\145\40\x6e\141\155\145\40\x6f\x66\x20\123\164\157\x72\145\x20\x43\157\155\155\x61\x6e\144\x65\162\x27\x73\40\163\145\143\165\x72\x69\x74\x79\40\x64\x69\162\x65\x63\164\157\x72\171\56\74\142\x72\x2f\x3e\74\142\162\x2f\76\74\x73\164\x72\x6f\156\147\76\x42\x65\x77\141\x72\145\x3a\74\x2f\x73\x74\162\x6f\x6e\x67\x3e\74\x62\162\57\x3e\105\166\x65\x72\171\x6f\x6e\145\40\x63\x75\162\x72\x65\156\x74\154\x79\x20\165\x73\x69\x6e\147\40\123\103\x20\167\151\x6c\154\40\156\x65\x65\144\x20\x74\x6f\40\162\x65\x73\164\141\x72\x74\40\x53\x74\157\162\x65\40\x43\x6f\x6d\x6d\141\156\x64\145\162\40\146\x72\157\x6d\x20\164\150\x65\40\142\x61\143\x6b\157\146\x66\151\143\145\x2e\x20\x20\x50\154\x65\141\x73\x65\x20\154\x65\x74\x20\164\150\145\40\x75\163\145\x72\x73\40\153\x6e\157\x77\x21\x3c\x62\x72\57\76\74\142\x72\57\76\x49\146\40\x43\122\117\116\40\164\141\163\153\x73\40\141\162\145\x20\151\x6e\40\160\154\141\x63\145\x2c\40\162\145\155\x65\155\142\145\x72\x20\164\157\40\x63\x68\x61\156\x67\x65\x20\x74\x68\x65\x20\x55\x52\x4c\x20\x70\x61\x74\150\x20\x69\156\x20\164\x68\145\40\164\141\163\153\163\x20\x63\x6f\156\146\x69\147\x75\x72\x61\164\151\x6f\156\40\x66\x69\x6c\x65\163\56\x3c\x62\162\x2f\76\x3c\x62\x72\x2f\x3e\x3c\141\x20\150\x72\145\x66\75\42\45\x73\x22\40\164\141\x72\x67\145\164\x3d\x22\x62\x6c\141\x6e\x6b\x22\x3e\x47\145\164\x20\155\157\x72\x65\40\x69\x6e\x66\157\x72\155\141\164\x69\157\x6e\x3c\x2f\x61\x3e", 1, array(getScExternalLink("\163\165\x70\160\x6f\162\x74\137\143\x68\141\x6e\x67\x65\x5f\163\145\143\165\x72\x69\x74\171\x5f\x6b\145\171"))) . "\x27\x2c\xa\40\40\40\40\x20\40\40\40\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\x63\141\154\x6c\x62\141\x63\153\x3a\x20\x66\165\x6e\143\164\x69\x6f\x6e\x28\x72\x65\163\x75\154\x74\51\40\173\xa\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\40\40\x20\40\x20\x20\x20\x20\x20\40\x69\146\50\162\145\163\x75\154\164\x3d\x3d\x74\162\x75\145\51\12\40\x20\40\40\40\40\40\x20\40\x20\40\x20\40\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\x7b\xa\x20\x20\40\40\x20\x20\40\40\x20\x20\40\40\x20\40\x20\40\40\40\40\40\x20\x20\x20\40\x20\40\40\40\x24\x2e\160\x6f\163\164\50\x27\x69\156\144\145\170\x2e\160\150\x70\77\x61\x6a\x61\x78\75\61\x26\x61\143\x74\75\143\x6f\162\145\x5f\x63\150\x61\156\147\x65\150\141\163\x68\x64\151\162\46\x27\54\x20\173\143\x75\x72\x72\x65\156\164\137\165\162\154\72\40\167\x69\x6e\144\157\x77\56\154\x6f\x63\141\164\x69\157\x6e\56\x68\x72\145\x66\175\54\x20\146\165\x6e\x63\x74\x69\157\x6e\x28\144\x61\x74\141\51\x7b\12\x20\40\40\x20\40\40\40\x20\40\x20\40\x20\x20\40\40\40\40\x20\x20\x20\x20\40\40\40\x20\40\40\40\40\x20\40\x20\x69\x66\x28\x64\141\x74\141\x21\x3d\x75\156\144\x65\x66\x69\x6e\x65\x64\x20\46\46\40\144\x61\164\x61\x21\x3d\x27\x27\40\x26\46\40\144\141\x74\x61\x21\x3d\x6e\165\154\154\x29\xa\40\40\40\x20\40\40\40\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\x64\157\x63\165\155\145\x6e\164\x2e\154\x6f\x63\141\164\x69\157\156\x3d\x64\141\164\x61\x3b\12\40\40\x20\40\40\40\x20\x20\x20\x20\40\40\40\x20\40\40\x20\x20\40\40\40\40\x20\40\40\x20\x20\40\x7d\x29\x3b\xa\x20\40\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\175\12\x20\x20\40\40\40\x20\40\40\x20\x20\40\40\40\x20\40\40\40\x20\x20\40\x7d\12\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\x7d\51\73"; goto gPBpw; k0GJE: $menu_js_action .= "\x20\x77\151\156\x64\157\x77\56\157\160\145\x6e\50\x27" . getScExternalLink("\x65\170\160\x6f\162\164\137\143\165\x73\164\x6f\x6d\145\x72\x5f\160\x72\x6f") . "\x27\51\x3b\12\40\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\x20\40\x20\40\160\165\x73\150\117\x6e\x65\x55\163\141\147\145\50\47\x6d\145\156\165\55\142\157\x2d\x6c\x69\156\153\55\163\143\145\x78\160\157\x72\164\143\x75\x73\x74\157\x6d\145\x72\x73\x27\51\x3b\x20"; goto jJ1ZX; AHjGz: if (!$scModulesInfos["\163\143\160\144\x66\143\x61\x74\141\x6c\x6f\x67"]["\x69\156\163\164\141\x6c\154\145\x64"]) { goto fT8vz; } goto pFXKr; Opv3j: goto GOYZj; goto GAqPd; uy5Fx: if (!($pluginCustomerProperties["\124\151\164\154\145"] != '')) { goto Th4MY; } goto dUvK1; GfnFU: $menu_js_action .= "\40\x77\123\160\x65\x63\151\x66\151\143\120\x72\x69\143\145\x20\75\40\144\150\x78\127\x69\156\x73\x2e\143\x72\x65\141\164\x65\x57\151\156\144\x6f\167\50\47\167\123\x70\x65\143\x69\x66\x69\x63\x50\x72\x69\x63\x65\47\x2c\40\x30\x2c\x20\x32\70\54\x20\44\x28\167\151\x6e\x64\x6f\x77\x29\56\167\151\x64\164\x68\x28\51\54\40\44\x28\x77\151\x6e\144\157\167\51\56\x68\x65\x69\147\x68\164\x28\51\55\x32\70\51\x3b\12\x20\x20\40\40\x20\40\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\167\x53\160\145\x63\x69\x66\x69\143\x50\x72\151\143\145\56\163\145\164\x54\x65\170\164\x28\x27" . _l("\x53\x70\145\143\x69\146\151\x63\40\160\162\151\x63\x65\x73", 1) . "\x27\51\73\12\40\40\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\44\x2e\x67\x65\x74\50\47\x69\156\x64\145\170\x2e\160\150\x70\77\141\x6a\x61\x78\75\61\x26\141\x63\164\x3d\x63\x61\164\x5f\x77\x69\x6e\x2d\163\x70\145\143\x69\x66\x69\x63\160\x72\151\143\x65\137\151\156\x69\x74\x27\x2c\146\165\156\143\164\151\157\x6e\50\x64\x61\x74\x61\x29\x7b\12\40\40\40\40\40\40\40\40\40\40\x20\x20\40\40\x20\40\40\40\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x20\x24\50\x27\x23\x6a\x73\x45\170\145\x63\165\164\145\x27\51\x2e\x68\x74\155\x6c\50\x64\141\x74\x61\x29\73\12\40\x20\x20\40\x20\40\40\x20\x20\40\x20\40\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\x7d\x29\x3b\12\40\40\40\x20\x20\40\40\40\40\x20\40\40\40\40\x20\x20\x20\40\x20\40\x20\40\x20\40\167\123\160\145\x63\x69\146\x69\x63\120\x72\x69\143\x65\56\x61\164\164\141\143\150\105\x76\145\x6e\x74\x28\x27\157\156\x43\x6c\x6f\163\x65\47\54\40\x66\x75\x6e\x63\164\x69\157\x6e\x28\x77\151\156\x29\x7b\12\40\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\167\123\x70\145\x63\x69\x66\151\x63\120\x72\x69\x63\x65\56\150\x69\x64\145\x28\x29\x3b\xa\x20\40\x20\x20\x20\40\40\x20\40\x20\40\40\40\40\40\40\40\40\x20\x20\40\40\40\40\40\x20\x20\40\40\40\40\40\x72\x65\x74\165\x72\x6e\40\146\x61\x6c\x73\145\73\xa\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\40\40\40\175\x29\x3b\12\40\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\40\x20\40\x20\40\x20\x7d\145\154\163\x65\173\xa\40\x20\x20\40\40\x20\40\40\40\40\x20\40\40\x20\40\40\x20\x20\40\40\40\40\x20\x20\x24\x2e\x67\145\164\x28\x27\151\156\x64\145\170\56\160\150\160\77\141\152\x61\x78\x3d\x31\x26\x61\143\164\75\143\x61\164\x5f\x77\151\x6e\x2d\163\160\x65\143\151\146\x69\143\160\162\151\143\x65\137\x69\x6e\x69\x74\47\54\x66\x75\156\x63\164\x69\x6f\x6e\50\x64\141\x74\x61\x29\173\xa\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\40\40\40\40\40\x20\40\40\x20\40\40\x20\x20\40\x20\40\x20\x20\40\40\x20\44\50\47\43\x6a\163\105\x78\145\x63\165\x74\x65\x27\51\x2e\x68\164\x6d\154\50\144\x61\x74\141\x29\x3b\xa\x20\40\x20\40\40\x20\40\x20\40\x20\x20\40\x20\40\x20\40\40\40\40\40\40\x20\40\x20\40\40\x20\x20\x7d\x29\x3b\12\40\40\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\40\40\x20\x77\123\160\145\x63\151\146\x69\143\120\162\x69\x63\145\56\163\150\157\x77\50\51\x3b\xa\x20\40\40\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\175\xa\x20\40\40\40\40\x20\x20\x20\x20\40\40\40\40\x20\40\40\x7d\xa\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\x69\146\x20\x28\x69\x64\x3d\x3d\x27\x63\x61\164\x5f\x65\170\160\157\162\164\47\x29\x7b\40"; goto TUYHe; qkNCx: $menu_js_action .= ob_get_contents(); goto F_TAD; op4Li: $menu_js_action .= "\x20\167\x69\156\x64\x6f\167\x2e\157\160\x65\x6e\50\x27" . getScExternalLink("\151\156\x74\145\162\x66\x61\143\x65\x5f\x63\x75\163\x74\x6f\155\x69\172\x61\164\151\x6f\156") . "\47\51\x3b\40"; goto VNxVe; c2UAA: $url = "\x69\x6e\x64\145\170\x2e\x70\150\160\77\143\157\156\164\x72\157\x6c\x6c\x65\162\75\101\144\x6d\x69\x6e\124\145\x72\155\151\x6e\141\x74\x6f\162\x26\164\x6f\x6b\145\x6e\75" . $sc_agent->getPSToken("\101\x64\155\x69\156\124\145\x72\155\x69\156\141\164\157\162"); goto WBMNQ; MIB5Q: $pdt_toolbar_js_action .= "\xa\40\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\40\x20\x20\40\40\40\157\x70\x65\x6e\x5f\143\155\163\x5f\147\162\151\144\x20\x3d\40\x74\162\x75\145\x3b\12\40\40\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\40\40\40\144\x69\x73\160\x6c\x61\171\x5f\x63\x6d\163\137\141\146\x74\x65\162\137\143\x61\164\137\163\x65\154\145\x63\x74\x20\75\x20\164\162\x75\145\73\12\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\40\x20\40\x20\40\x20\40\x20\x20\x64\151\x73\x70\154\x61\171\137\143\155\x73\137\x61\146\164\145\162\137\163\145\154\x65\x63\x74\137\x76\x69\x65\167\40\75\x20\146\141\154\163\x65\x3b\xa\40\40\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\40\x20\157\160\145\156\x5f\143\155\163\137\x69\x64\137\x63\x61\164\x20\x3d\x20" . $tmps[0] . "\x3b\xa\x20\40\40\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x6f\x70\x65\156\x5f\x63\x6d\x73\137\x69\144\x5f\x70\x61\147\145\x20\75\x20" . $tmps[1] . "\x3b\12\x20\40\x20\40\40\x20\40\40\40\40\40\40\x20\40\x20\40\40\40\40\x20\x6f\x70\145\x6e\137\143\155\x73\137\151\144\137\x61\x74\164\162\40\75\x20" . (!empty($tmps[2]) ? $tmps[2] : "\x30") . "\x3b\xa\12\40\x20\40\40\x20\x20\x20\40\40\40\40\40\40\x20\40\x20\40\x20\40\x20\143\x6d\x73\137\x74\162\145\145\x2e\x6f\160\x65\156\x49\x74\145\x6d\x28\x6f\x70\x65\x6e\x5f\x63\x6d\x73\137\151\144\x5f\143\141\x74\51\x3b\12\40\x20\x20\x20\40\40\x20\40\40\40\x20\x20\x20\x20\40\x20\40\40\40\x20\143\x6d\163\x5f\x74\162\145\x65\56\x73\145\154\x65\143\164\x49\x74\x65\x6d\50\x6f\160\x65\x6e\x5f\143\155\163\137\151\x64\137\143\141\x74\x2c\146\x61\154\163\145\x29\x3b\xa\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\40\x63\x6d\x73\163\x65\x6c\145\143\x74\x69\x6f\x6e\x3d\157\160\x65\156\x5f\x63\x6d\x73\137\x69\x64\x5f\x63\x61\x74\73\40"; goto OL223; qkkVH: $menu_js_action .= "\40\175\12\40\40\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\40\40\x69\x66\40\50\x69\144\75\x3d\47\x61\143\143\137\166\141\x74\163\x63\150\145\144\x75\x6c\145\x72\47\x29\x7b\xa\40\40\40\x20\40\40\40\40\40\40\40\40\x20\40\x20\40\40\x20\x20\40\167\126\x41\x54\x53\143\150\x65\x64\165\154\x65\x72\x20\75\40\144\x68\x78\114\141\171\x6f\x75\x74\56\x64\x68\x78\x57\x69\x6e\163\x2e\143\162\145\x61\x74\x65\x57\x69\x6e\x64\157\167\50\x27\167\x56\x41\x54\x53\143\x68\x65\144\x75\154\145\162\x27\54\40\60\x2c\x20\x32\x35\54\40\x24\x28\x77\x69\156\144\x6f\x77\51\x2e\167\151\x64\x74\x68\50\x29\x2c\40\44\50\167\151\x6e\144\x6f\167\x29\56\150\x65\151\147\x68\164\50\x29\x2d\62\65\51\x3b\12\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\40\x20\40\40\167\x56\101\x54\123\x63\150\x65\144\165\154\x65\162\x2e\163\145\164\x54\145\170\x74\50\x27" . _l("\126\101\124\40\x53\143\150\145\x64\165\x6c\x65\x72", 1) . "\47\51\x3b\40"; goto U3_yN; Dgocs: $menuConfiguration["\x54\x6f\157\154\x73"] .= "\47\74\151\x74\x65\x6d\x20\x69\x64\x3d\x22\x73\x65\x70\124\x6f\157\154\163\x22\x20\164\171\160\145\x3d\x22\x73\145\x70\141\x72\x61\x74\x6f\162\x22\57\x3e\47\53"; goto GQU9c; LaSzI: if (!SCI::moduleIsInstalled("\x73\143\x74\145\162\155\x69\156\141\x74\157\162")) { goto z9ip0; } goto MrVfn; ytjaS: if (!getScSessionItemValue("\x65\141\x72\x6c\x79\137\x61\143\143\x65\x73\163", "\x73\x63\143")) { goto irXDW; } goto fpn4a; ycR58: $pluginCmsProperties = array("\x54\151\164\154\145" => '', "\124\x6f\x6f\154\x62\141\162\102\165\164\164\157\x6e\163" => '', "\124\x6f\157\x6c\142\141\x72\x41\x63\x74\151\157\156\163" => '', "\x54\157\x6f\154\x62\x61\x72\x53\x74\141\x74\x65\x41\x63\164\151\x6f\156\x73" => '', "\110\x69\x64\x65\x54\157\157\154\142\141\x72\102\x75\164\x74\157\156\x73" => '', "\x64\x6f\x4f\156\103\x6d\x73\122\157\x77\x53\145\154\145\x63\164\x65\144" => '', "\x44\x69\x73\x70\x6c\141\x79\120\154\x75\147\151\156" => ''); goto Y97B3; crU8F: $menu_js_action .= "\x20\151\x66\x20\50\41\144\x68\170\x57\x69\x6e\x73\x2e\x69\x73\127\151\156\x64\157\x77\50\47\x77\103\x61\164\105\170\x70\x6f\x72\164\x27\51\x29\x20\173\12\40\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\40\x20\40\40\x20\40\40\x20\x20\x20\40\x20\x20\167\103\141\x74\105\170\160\x6f\x72\164\x20\75\x20\144\150\170\x57\151\156\x73\56\x63\162\x65\141\x74\x65\127\x69\156\x64\157\167\50\47\167\103\x61\164\x45\170\160\157\x72\164\x27\54\40\x35\60\54\40\x35\x30\x2c\x20\x31\x30\65\60\x2c\x20\44\50\167\x69\x6e\144\157\x77\51\56\150\x65\151\147\150\x74\50\x29\55\x37\x35\51\x3b\xa\x20\x20\40\40\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\40\40\167\x43\141\x74\105\x78\160\x6f\x72\x74\56\x73\x65\x74\x54\x65\170\x74\50\47" . _l("\103\141\x74\x65\147\157\162\x69\145\x73", 1) . "\x20\x2d\40" . _l("\x43\x53\x56\x20\105\170\160\157\x72\x74", 1) . "\47\51\x3b\12\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\40\40\40\40\x24\x2e\x67\x65\x74\50\x27\x69\156\144\145\170\56\x70\x68\x70\x3f\141\x6a\141\170\x3d\61\46\141\x63\164\75\x63\141\164\137\x77\151\156\55\x63\141\164\145\x78\160\x6f\x72\x74\137\x69\x6e\151\x74\x27\54\146\x75\x6e\x63\164\151\x6f\x6e\x28\x64\x61\x74\x61\51\173\12\40\x20\40\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\40\40\x20\x20\40\40\40\40\x20\40\x20\x24\x28\x27\43\x6a\163\x45\x78\x65\143\165\x74\x65\x27\51\56\150\164\x6d\154\x28\x64\x61\164\141\x29\x3b\xa\40\x20\x20\x20\40\40\40\x20\40\40\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\40\175\x29\x3b\xa\x20\x20\40\x20\40\x20\40\x20\40\40\x20\40\x20\x20\x20\40\40\40\40\x20\x20\40\40\40\x77\x43\141\164\x45\x78\160\x6f\x72\164\x2e\x61\164\164\x61\x63\x68\105\x76\x65\156\x74\x28\47\157\x6e\103\154\x6f\x73\145\x27\54\x20\x66\x75\x6e\x63\164\x69\x6f\156\x28\x77\151\x6e\51\x7b\12\40\40\x20\x20\x20\40\40\40\40\40\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\40\40\40\40\40\40\167\103\x61\164\x45\170\160\157\162\x74\56\x68\x69\x64\x65\x28\x29\x3b\xa\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\40\40\40\40\x20\40\x20\x20\40\40\x20\40\x20\40\40\40\40\40\x20\x20\40\162\x65\164\165\162\156\40\x66\141\x6c\x73\x65\x3b\12\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\175\51\x3b\12\40\x20\x20\40\x20\40\40\x20\x20\40\40\40\40\x20\40\x20\x20\x20\x20\40\175\145\154\163\145\x7b\12\40\40\x20\x20\x20\x20\x20\x20\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\x24\56\147\145\164\50\x27\x69\156\144\x65\x78\x2e\x70\150\160\x3f\x61\x6a\x61\x78\75\61\x26\x61\143\164\x3d\143\x61\164\x5f\x77\x69\156\55\x63\141\x74\x65\x78\160\157\x72\x74\x5f\151\156\x69\x74\x27\54\146\165\156\143\x74\x69\157\156\x28\144\x61\x74\141\51\x7b\12\40\40\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\40\x24\x28\x27\43\x6a\163\105\x78\145\143\x75\164\145\47\51\x2e\150\164\155\154\50\144\x61\x74\141\51\x3b\xa\40\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\40\40\x20\40\x20\40\40\40\40\x20\40\40\175\51\x3b\xa\x20\40\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\40\x77\103\x61\x74\x45\170\x70\157\x72\x74\x2e\x73\150\157\167\x28\51\73\xa\40\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x20\40\40\40\x20\40\40\40\x7d\12\40\40\x20\40\x20\40\40\40\40\x20\40\40\x20\40\x20\40"; goto CC5qm; TwnVo: if (!($pluginManufacturerProperties["\124\151\x74\x6c\145"] != '')) { goto gSzjf; } goto zs1t4; U3_yN: if (version_compare(_PS_VERSION_, "\61\56\x35\x2e\x30\x2e\60", "\76\75")) { goto fGDkc; } goto bJvHq; yU1L6: jGopF: goto od80x; AuSMv: u1yJF: goto TwnVo; RB2Dr: $menu_js_action .= "\xa\40\40\40\40\40\x20\40\40\40\x20\40\x20\x20\x20\x20\40\x69\x66\40\50\x69\x64\75\75\x27\141\x66\x66\151\154\151\x61\164\x69\157\156\x27\51\x7b\12\40\40\40\40\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\40\x70\x75\163\150\x4f\156\x65\x55\163\141\x67\x65\x28\47\x6d\145\x6e\165\x2d\x62\x6f\x2d\x6c\151\156\153\x2d\x69\x6e\x73\164\x61\154\x6c\145\144\55\163\143\x61\x66\146\151\154\151\x61\164\151\x6f\x6e\47\x29\73\12\x20\x20\x20\40\40\40\40\x20\40\40\40\40\x20\40\40\x20\40\x20\x20\40\x69\146\x20\x28\x21\x64\x68\x78\x57\151\156\163\56\151\x73\127\x69\x6e\144\157\x77\50\47\167\101\146\x66\x69\154\151\141\x74\x69\x6f\x6e\47\x29\51\xa\x20\x20\x20\40\40\40\x20\x20\x20\x20\40\40\40\40\x20\40\x20\40\40\40\x7b\12\40\x20\40\40\40\40\x20\x20\x20\40\40\40\40\x20\40\40\40\x20\x20\x20\40\40\x20\40\167\x41\146\x66\151\x6c\151\x61\x74\151\x6f\x6e\40\x3d\x20\x64\x68\x78\127\x69\x6e\x73\56\143\162\145\141\x74\145\127\151\x6e\x64\x6f\x77\50\x27\x77\x41\x66\146\151\x6c\x69\141\x74\x69\157\x6e\x27\54\x20\60\54\x20\62\x35\x2c\x20\x24\x28\167\x69\156\144\x6f\x77\51\x2e\167\151\144\164\150\50\51\x2c\x20\44\50\x77\151\x6e\144\157\167\x29\x2e\x68\x65\151\x67\150\x74\x28\51\55\x32\x35\51\73\12\40\x20\40\40\40\40\40\x20\x20\40\40\x20\40\40\x20\40\x20\x20\40\40\x20\x20\40\x20\x77\101\146\146\x69\x6c\x69\141\x74\x69\x6f\156\56\x73\145\x74\124\145\x78\x74\x28\x27" . _l("\101\x66\146\x69\x6c\x69\x61\x74\151\157\156\40\x70\x72\157\x67\162\x61\155", 1) . "\47\x29\73\12\x20\x20\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\40\40\x77\x41\x66\146\151\x6c\151\x61\x74\151\157\156\56\141\164\x74\x61\143\x68\x45\x76\145\156\x74\x28\x27\x6f\156\x43\x6c\157\163\x65\x27\x2c\x20\146\x75\x6e\143\x74\x69\157\156\50\167\151\x6e\x29\x7b\xa\40\x20\40\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\40\40\40\x20\40\40\x20\x20\40\40\x20\40\x77\x41\x66\x66\151\x6c\151\141\x74\151\157\x6e\56\x68\x69\x64\x65\x28\x29\x3b\12\40\40\40\x20\40\x20\40\x20\x20\40\40\40\x20\x20\40\40\40\x20\40\40\40\x20\x20\40\x20\40\x20\40\40\x20\x20\40\x72\145\164\165\x72\156\40\146\x61\154\163\145\x3b\12\40\40\x20\x20\40\40\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\175\51\x3b\xa\x20\40\x20\x20\40\40\40\40\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x24\x2e\147\145\164\x28\47\x69\x6e\x64\x65\x78\x2e\x70\150\160\x3f\141\x6a\141\170\x3d\x31\x26\x61\x63\164\x3d\141\154\x6c\137\167\x69\x6e\x2d\141\x66\x66\151\x6c\151\x61\164\151\x6f\156\137\x69\156\x69\x74\47\54\x66\165\156\x63\x74\x69\x6f\156\x28\x64\x61\164\141\x29\x7b\xa\40\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\x24\50\x27\43\x6a\x73\105\x78\x65\x63\x75\x74\x65\x27\51\56\150\x74\x6d\x6c\50\x64\x61\x74\x61\51\73\xa\x20\40\x20\40\40\x20\40\x20\40\x20\x20\40\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\40\40\40\175\x29\x3b\xa\12\x20\40\x20\40\40\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\40\40\x7d\145\x6c\163\x65\173\xa\40\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\x20\x20\40\40\x24\x2e\x67\145\164\50\47\x69\x6e\x64\x65\170\56\160\150\160\x3f\x61\152\x61\170\75\61\x26\x61\143\x74\75\x61\154\154\x5f\167\151\x6e\x2d\141\146\146\x69\154\x69\x61\164\151\x6f\156\137\151\156\151\164\x27\x2c\146\165\156\143\164\x69\x6f\156\x28\144\141\164\x61\51\x7b\12\40\40\40\40\40\x20\40\x20\40\x20\40\40\40\40\x20\40\x20\40\x20\40\x20\40\40\x20\40\40\x20\40\40\40\x20\40\x24\x28\47\x23\x6a\x73\x45\x78\x65\x63\x75\x74\145\47\51\x2e\x68\164\155\x6c\50\x64\x61\x74\141\x29\73\12\x20\x20\x20\40\40\40\x20\40\40\x20\x20\40\x20\40\40\x20\40\x20\x20\40\40\40\40\40\40\x20\40\40\175\51\73\xa\x20\40\40\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\x77\x41\146\146\151\154\151\141\x74\151\157\156\x2e\x73\150\157\x77\50\x29\73\12\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x7d\xa\40\x20\x20\40\40\x20\40\40\40\40\40\x20\40\40\40\40\175"; goto tP0PP; B4cZd: $scExtensions_toDisabledInScTools = array("\x66\x69\x78\x6d\x79\160\x72\145\x73\x74\141\x73\x68\x6f\160", "\155\x75\154\x74\x69\160\x6c\145\146\x65\x61\164\x75\x72\x65\x73", "\167\x69\156\137\147\x72\x69\x64\163\137\145\x64\x69\164\157\x72", "\167\151\156\x5f\147\162\x69\x64\x73\x5f\145\x64\151\x74\157\162\137\160\x72\157", "\x73\x65\147\x6d\145\156\x74\x61\164\x69\x6f\x6e", "\163\x65\147\155\x65\x6e\164\160\162\x6f\160\x65\x72\x74\x69\145\163", "\141\x66\146\x69\x6c\151\x61\164\x69\x6f\x6e"); goto nKdIA; RtZcA: $pluginOrderProperties = array("\124\151\164\x6c\145" => '', "\124\157\157\x6c\x62\x61\x72\x42\x75\x74\164\x6f\x6e\x73" => '', "\x54\157\157\x6c\142\141\162\101\143\x74\x69\157\x6e\163" => '', "\124\x6f\x6f\154\142\141\x72\123\x74\x61\x74\145\x41\143\164\151\x6f\156\x73" => '', "\x48\151\x64\145\x54\157\x6f\x6c\x62\x61\162\102\x75\x74\164\x6f\x6e\x73" => '', "\144\157\117\x6e\x4f\162\x64\145\162\x52\157\x77\x53\145\x6c\145\x63\x74\x65\x64" => '', "\x44\x69\163\160\154\x61\171\x50\154\165\147\151\x6e" => ''); goto ycR58; EZAFq: $pdt_toolbar_js_action .= "\40\157\160\x65\x6e\x5f\143\x6d\x73\137\147\162\x69\x64\40\x3d\40\x66\x61\154\x73\x65\x3b\x20"; goto Auu8U; gPBpw: $menu_js_action .= "\12\x20\40\x20\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\x7d\xa\40\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\x69\x66\40\50\151\x64\x3d\x3d\47\154\151\x6e\x6b\x5f\160\163\146\162\x6f\156\164\x27\x29\x7b\12\x20\x20\x20\x20\x20\40\40\40\x20\40\40\40\x20\x20\40\40\40\40\40\x20\167\x69\x6e\144\157\167\56\157\x70\145\156\50\47" . SC_PS_PATH_REL . "\x69\x6e\x64\x65\170\x2e\160\x68\x70\x27\51\x3b\xa\40\x20\x20\x20\x20\x20\x20\40\40\40\40\40\x20\x20\40\40\x7d\x20"; goto WGqEi; RG8e0: $menu_js_action .= "\x20\x69\146\40\50\143\157\x6e\x66\x69\x72\155\50\47" . _l("\101\162\145\x20\x79\157\165\40\x73\165\x72\x65\40\x79\x6f\165\40\x77\x61\x6e\164\x20\x74\x6f\x20\162\x65\x73\145\164\40\x70\162\x69\x63\x65\x73\x20\144\x72\157\160\x20\144\141\x74\145\x73\77", 1) . "\47\51\51\12\40\40\40\x20\x20\40\x20\40\40\40\40\40\x7b\12\x20\40\40\x20\40\x20\40\40\40\x20\40\40\40\x20\x20\40\x24\x2e\x67\145\x74\50\47\x69\156\x64\145\x78\x2e\160\150\x70\x3f\141\152\x61\x78\x3d\x31\x26\141\x63\x74\x3d\x63\141\x74\137\162\145\163\145\x74\x70\x72\x69\x63\145\x64\162\157\160\46\x61\x63\164\151\x6f\x6e\75\x64\x61\164\x65\x73\x27\x2c\x20\146\x75\156\x63\x74\151\x6f\156\x28\144\141\164\x61\x29\173\12\x20\40\x20\x20\40\x20\40\x20\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\x20\40\x20\x64\x69\x73\160\x6c\x61\x79\120\x72\x6f\x64\x75\x63\x74\163\x28\51\x3b\12\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\40\40\x20\40\175\51\73\12\40\40\40\x20\40\40\x20\x20\40\x20\40\40\175\40"; goto nnte2; uMsBi: $menu_js_action .= "\151\x66\40\50\x69\144\75\x3d\x27\x63\141\x74\x5f\164\x72\x65\x65\47\51\x7b\12\40\40\40\40\x20\40\40\x20\x69\146\x28\x53\103\x5f\x50\101\x47\105\x3d\x3d\x27\x63\141\164\137\164\x72\145\x65\47\51\12\x20\40\x20\40\x20\40\40\40\x7b\12\x20\x20\x20\x20\40\40\x20\40\x20\40\40\40\151\x66\40\x28\x63\x61\163\123\x74\x61\x74\145\x2e\143\x74\162\154\40\x3d\75\40\164\162\x75\145\x29\173\xa\x20\x20\40\40\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\x77\x69\x6e\144\x6f\167\56\x6f\160\145\156\50\47\x69\x6e\x64\x65\x78\x2e\x70\150\160\77\x70\141\x67\x65\75\143\141\x74\x5f\x74\x72\145\x65\x27\51\x3b\xa\x20\x20\40\40\40\40\x20\40\x20\x20\40\x20\x7d\40\145\154\163\145\x20\173\xa\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\40\40\x20\40\40\x74\162\145\x65\137\x6d\157\144\x65\75\47\163\x69\156\x67\x6c\145\x27\x3b\12\40\x20\x20\40\40\40\40\40\x20\40\x20\x20\x20\40\40\40\143\x61\164\56\x63\x65\154\x6c\163\x28\x27\141\47\51\56\145\x78\x70\141\x6e\x64\50\51\x3b\12\40\40\x20\x20\40\40\x20\x20\40\40\x20\x20\40\x20\40\x20\x63\141\x74\137\164\x62\56\x73\145\164\111\164\145\x6d\x53\x74\x61\x74\x65\x28\47\167\x69\164\150\x53\165\x62\103\141\164\145\x67\47\54\40\x66\x61\x6c\163\145\x2c\40\164\162\x75\145\x29\x3b\12\40\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\40\143\x61\164\137\x70\162\x6f\144\165\x63\x74\120\141\156\145\x6c\56\163\x65\164\124\x65\170\164\50\x27" . _l("\x50\x72\x6f\x64\165\143\x74\163", 1) . "\40" . _l("\157\146", 1) . "\x27\x2b\x63\141\164\137\164\x72\145\145\x2e\x67\145\x74\111\164\145\155\124\x65\170\164\50\143\141\164\163\145\x6c\145\x63\x74\x69\157\x6e\51\x29\x3b\xa\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\x7d\12\40\x20\x20\40\40\x20\40\x20\175\x65\154\x73\x65\x7b\12\40\x20\40\x20\40\40\x20\40\40\x20\x20\40\151\x66\40\x28\143\x61\163\123\164\x61\164\x65\56\143\164\x72\154\x20\x3d\75\40\164\x72\x75\145\x29\173\12\x20\40\x20\x20\40\x20\40\40\40\x20\40\40\40\40\x20\40\x77\151\156\x64\157\x77\56\157\x70\145\x6e\x28\x27\151\156\x64\145\x78\56\x70\150\160\77\160\x61\x67\145\75\143\141\x74\137\x74\162\145\x65\x27\51\73\xa\40\40\x20\40\40\x20\x20\x20\40\40\40\40\175\x20\x65\x6c\163\x65\x20\x7b\xa\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\40\40\x20\x64\x6f\143\165\155\x65\156\x74\x2e\x6c\x6f\x63\x61\x74\151\157\x6e\x3d\x27\151\156\144\145\x78\56\x70\x68\160\x3f\160\141\147\145\x3d\143\141\x74\137\164\x72\145\145\47\73\12\x20\40\40\x20\40\x20\40\40\40\x20\40\40\x7d\xa\40\x20\40\x20\40\40\x20\x20\175\xa\40\x20\40\40\x7d\xa\40\x20\40\40\x69\x66\x20\x28\x69\x64\75\75\x27\143\x61\x74\137\147\162\x69\144\47\x29\173\xa\40\x20\x20\40\40\x20\x20\x20\151\x66\x28\123\103\x5f\x50\x41\107\x45\75\x3d\x27\143\x61\x74\x5f\x74\x72\145\x65\47\x29\12\40\x20\x20\40\x20\x20\40\40\173\12\40\40\x20\x20\40\40\40\40\x20\x20\40\40\x69\x66\x20\x28\x63\x61\x73\x53\x74\x61\164\x65\56\x63\x74\x72\x6c\40\x3d\75\40\x74\162\165\145\x29\173\12\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\40\40\40\167\x69\156\144\x6f\x77\x2e\x6f\x70\x65\x6e\x28\x27\x69\156\x64\145\170\x2e\160\x68\x70\77\160\x61\147\145\x3d\x63\x61\x74\x5f\x74\x72\145\x65\46\144\151\x73\160\x6c\x61\x79\x41\154\x6c\120\x72\157\x64\x75\143\164\163\75\61\x27\x29\73\12\40\x20\40\40\40\40\x20\x20\x20\x20\40\x20\175\40\145\x6c\163\145\x20\173\12\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x63\x61\164\x2e\x63\145\154\x6c\x73\50\x27\141\x27\51\56\143\x6f\x6c\x6c\141\160\163\x65\x28\51\x3b\12\x20\40\40\x20\x20\40\40\40\x20\x20\x20\40\40\x20\x20\x20\x63\x61\164\x73\145\154\x65\143\164\x69\157\x6e\x3d\61\x3b\12\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\143\x61\164\137\164\162\x65\x65\56\x6f\x70\x65\156\x49\x74\x65\x6d\50\143\x61\164\163\x65\154\x65\143\x74\x69\x6f\156\x29\x3b\12\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\40\x20\40\143\141\164\137\x74\162\145\x65\x2e\163\x65\x6c\x65\x63\164\111\x74\x65\155\x28\x63\141\x74\163\x65\x6c\145\x63\x74\151\157\156\x2c\146\141\154\x73\x65\51\73\12\40\x20\40\40\x20\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\x63\x61\x74\137\164\x62\x2e\163\145\164\111\x74\x65\155\123\164\x61\x74\x65\x28\47\x77\x69\x74\x68\x53\x75\x62\103\141\164\145\x67\x27\54\x20\x74\162\x75\x65\54\x20\164\162\x75\145\x29\x3b\xa\x20\x20\x20\x20\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\x63\x61\164\x5f\x70\x72\x6f\x64\x75\143\x74\x50\141\x6e\x65\x6c\56\x73\x65\164\124\145\x78\x74\x28\x27" . _l("\x50\162\157\144\165\143\164\163\40\154\x69\x73\x74", 1) . "\x27\51\x3b\12\x20\x20\40\40\x20\x20\x20\40\x20\40\40\40\175\xa\40\40\x20\40\40\40\x20\x20\175\x65\x6c\x73\145\173\xa\x20\40\40\40\x20\40\40\40\40\40\x20\40\x69\x66\x20\x28\143\141\163\x53\164\141\x74\x65\56\x63\164\x72\x6c\x20\x3d\x3d\x20\164\162\x75\145\51\40\x7b\12\40\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\40\x20\40\x20\167\151\x6e\144\x6f\x77\x2e\157\x70\x65\x6e\x28\x27\x69\x6e\x64\145\170\x2e\160\150\x70\x3f\160\x61\x67\145\75\x63\x61\164\x5f\164\x72\x65\x65\46\144\x69\x73\160\154\141\171\101\x6c\x6c\120\x72\157\x64\x75\x63\164\x73\x3d\61\47\51\73\12\x20\40\x20\x20\x20\40\40\x20\40\40\40\40\x7d\40\x65\x6c\163\145\40\x7b\12\40\40\x20\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\x64\x6f\x63\165\x6d\145\x6e\164\56\154\157\x63\x61\x74\x69\157\x6e\x3d\47\x69\156\144\x65\x78\56\160\150\x70\x3f\x70\x61\147\x65\75\143\141\x74\137\164\x72\145\145\46\x64\151\163\160\154\141\x79\101\x6c\x6c\120\162\157\x64\x75\143\164\x73\75\x31\47\73\xa\x20\x20\40\x20\x20\x20\x20\x20\40\x20\40\x20\175\xa\x20\x20\40\40\40\40\x20\x20\175\xa\40\40\x20\40\175\12\x20\x20\x20\40\151\x66\x20\x28\151\x64\x3d\75\47\163\x65\x72\x5f\x70\x61\147\x65\64\x30\x34\47\x29\x7b\12\x20\40\40\40\40\40\40\x20\x69\x66\40\50\x21\144\x68\x78\x57\151\x6e\163\x2e\151\163\x57\x69\x6e\x64\157\167\x28\47\167\x50\x61\x67\x65\116\x6f\164\x46\x6f\x75\x6e\144\47\x29\x29\xa\40\40\x20\x20\x20\x20\x20\x20\x7b\xa\x20\40\40\x20\40\40\40\x20\x20\40\40\x20\x77\120\x61\x67\x65\x4e\157\x74\x46\x6f\165\x6e\144\x20\x3d\40\144\150\x78\127\x69\156\x73\56\143\162\x65\141\x74\x65\127\151\156\144\x6f\x77\x28\x27\167\120\x61\147\x65\x4e\x6f\x74\x46\x6f\165\156\144\47\x2c\x20\x35\60\54\40\x35\x30\x2c\x20\61\60\x30\x30\x2c\40\x24\50\167\151\156\144\x6f\x77\x29\56\x68\145\x69\x67\x68\x74\50\x29\x2d\67\x35\x29\73\xa\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\x20\167\x50\141\x67\145\116\x6f\x74\x46\157\165\156\144\56\163\x65\164\124\145\170\x74\x28\47" . _l("\120\x61\147\145\x20\x6e\157\164\x20\x66\157\165\x6e\144\40\64\60\64", 1) . "\x27\51\x3b\12\40\40\x20\40\40\40\x20\x20\x20\x20\40\40\44\x2e\147\145\x74\50\47\151\156\144\x65\x78\56\160\150\x70\77\x61\x6a\x61\x78\75\x31\x26\141\143\164\75\163\x65\162\x5f\167\151\156\x2d\160\x61\x67\145\x6e\x6f\164\146\x6f\x75\156\x64\64\x30\64\137\151\x6e\x69\x74\x27\x2c\x66\165\156\x63\x74\x69\157\x6e\50\144\141\164\141\51\173\xa\x20\x20\x20\40\x20\40\x20\x20\40\40\40\40\40\40\40\40\x24\x28\x27\43\152\x73\105\170\145\143\x75\164\145\x27\51\56\150\164\x6d\x6c\50\144\141\x74\141\x29\x3b\xa\40\40\40\40\x20\40\x20\40\40\x20\x20\40\175\51\x3b\xa\x20\x20\40\40\x20\40\40\x20\x7d\xa\40\40\x20\x20\x7d\xa\x20\40\x20\x20\x69\x66\40\50\151\144\x3d\75\47\x73\145\162\137\x65\x6d\160\x74\x79\x73\155\141\162\x74\171\143\141\143\150\145\47\x29\x7b\12\x20\x20\x20\x20\40\40\x20\x20\44\56\x67\x65\x74\x28\47\151\156\144\145\x78\56\160\x68\160\x3f\141\152\141\x78\x3d\x31\x26\x61\143\164\x3d\x73\x65\162\137\x65\x6d\160\x74\x79\x73\x6d\141\162\164\x79\143\141\x63\150\x65\47\54\146\165\x6e\x63\164\x69\157\x6e\x28\x64\141\x74\x61\x29\173\xa\40\x20\x20\40\40\40\x20\x20\40\40\x20\x20\x64\x68\164\155\154\170\x2e\155\145\163\x73\x61\147\x65\50\173\164\145\x78\x74\x3a\x64\x61\164\141\54\164\171\x70\x65\72\x27\x69\x6e\x66\157\47\x2c\x65\170\x70\x69\x72\145\x3a\65\x30\60\60\175\51\x3b\xa\40\40\x20\40\40\40\x20\40\175\51\x3b\xa\40\40\40\40\175\xa\x20\40\40\40\151\x66\x20\x28\x69\x64\x3d\x3d\x27\143\141\x74\x5f\x68\151\x73\164\157\x72\171\x27\x29\x7b\12\40\x20\x20\40\40\x20\40\40\x69\146\x20\50\x21\144\150\x78\x57\x69\156\163\x2e\x69\163\x57\151\x6e\x64\x6f\167\50\x27\x77\103\141\164\x48\x69\x73\x74\x6f\162\x79\47\51\x29\xa\x20\x20\40\40\40\40\x20\x20\x7b\12\40\x20\40\40\40\40\x20\x20\x20\x20\40\40\167\103\x61\164\110\151\x73\164\157\x72\171\x20\x3d\x20\x64\x68\x78\127\151\156\x73\x2e\143\162\145\x61\x74\x65\127\151\x6e\144\157\x77\50\x27\167\103\x61\x74\x48\x69\x73\164\x6f\162\x79\47\54\x20\65\60\x2c\40\65\x30\54\40\x39\x34\x30\x2c\40\44\50\167\x69\x6e\144\x6f\x77\x29\56\x68\145\x69\x67\150\164\50\x29\55\x37\65\51\73\12\40\40\x20\40\40\x20\x20\40\x20\40\40\40\167\103\x61\x74\110\x69\x73\x74\157\162\x79\56\x73\x65\164\x54\x65\170\x74\50\x27" . _l("\x42\162\x6f\167\x73\145\x20\150\x69\163\x74\x6f\x72\x79", 1) . "\x27\51\x3b\x20\x2f\x2f\40\40\x61\156\144\x20\143\141\x6e\x63\145\x6c\40\155\x6f\x64\x69\x66\x69\143\141\164\x69\157\x6e\x73\xa\40\x20\x20\40\x20\x20\x20\x20\40\40\x20\40\x24\56\x67\x65\x74\x28\47\x69\x6e\x64\145\x78\56\160\x68\160\77\141\x6a\141\170\75\x31\46\141\143\164\75\x61\154\x6c\x5f\x63\x68\141\x6e\147\x65\150\x69\163\x74\x6f\x72\x79\x5f\x69\x6e\151\x74\x27\54\x66\165\x6e\x63\x74\x69\x6f\x6e\50\144\x61\164\141\x29\x7b\xa\x20\40\x20\40\x20\40\40\x20\40\40\x20\40\x20\x20\40\40\x24\x28\x27\x23\152\163\x45\x78\x65\x63\x75\x74\x65\47\x29\56\x68\164\155\x6c\x28\144\141\164\x61\x29\x3b\xa\40\x20\x20\x20\x20\40\40\40\40\40\40\40\x7d\x29\73\xa\x20\40\x20\x20\x20\x20\x20\40\175\xa\x20\40\40\40\x7d\xa\xa\x20\x20\x20\x20\151\x66\40\x28\x69\144\x3d\x3d\47\x63\157\x72\x65\137\161\165\x65\x75\x65\154\157\x67\x73\x27\51\x7b\xa\x20\x20\x20\40\x20\x20\40\40\x6f\x70\145\x6e\121\165\x65\x75\145\114\x6f\x67\127\151\x6e\x64\x6f\x77\50\x29\73\12\40\40\40\x20\175\12\40\x20\x20\40\151\146\40\x28\151\x64\75\75\x27\143\x6f\162\x65\x5f\x73\x65\x74\x74\x69\x6e\147\x73\47\51\173\12\40\40\x20\40\x20\40\40\40\157\x70\x65\156\123\x65\164\164\x69\x6e\147\163\127\151\x6e\x64\x6f\x77\50\x29\x3b\12\x20\40\x20\40\x7d\xa\40\x20\40\x20\x69\146\x20\x28\x69\144\x3d\75\47\x63\157\x72\145\x5f\154\x61\x6e\147\x75\141\x67\x65\150\x65\x6c\x70\x27\51\x7b\12\x20\40\40\40\x20\x20\40\40\167\151\x6e\x64\157\x77\x2e\x6f\x70\x65\x6e\50\47" . getScExternalLink("\x6d\x75\154\x74\151\137\x6c\x61\x6e\147\x75\141\147\x65") . "\47\x29\73\xa\40\40\40\40\x7d\xa\x20\x20\40\40\151\146\x20\50\x69\x64\56\x73\x75\x62\163\x74\x72\50\x30\54\x31\64\x29\75\75\x27\x63\157\x72\x65\x5f\x6c\141\156\x67\x75\141\x67\x65\x5f\x27\51\173\12\40\40\40\x20\x20\40\40\40\x24\x2e\x70\157\163\164\50\x27\x69\156\144\145\x78\x2e\x70\150\160\x3f\x61\x6a\x61\170\75\61\x26\141\x63\164\x3d\x61\154\154\x5f\x75\151\x73\145\x74\x74\x69\156\147\x73\x5f\x75\x70\144\141\164\x65\x26\x69\x64\137\x6c\141\x6e\x67\x3d\x27\x2b\x53\103\137\111\104\137\114\x41\x4e\x47\x2b\x27\x26\x27\x2b\x6e\145\x77\40\104\141\x74\x65\50\51\56\147\145\x74\x54\x69\x6d\145\x28\x29\x2c\x20\173\47\156\x61\x6d\x65\47\x3a\47\x66\x6f\x72\143\x65\123\x43\114\x61\156\147\111\163\x6f\x27\54\x20\47\x64\141\164\x61\47\72\x69\144\x2e\163\x75\142\x73\x74\x72\50\x31\x34\x2c\x32\x29\175\54\x66\x75\x6e\x63\164\151\x6f\x6e\50\x64\x61\x74\x61\51\173\12\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\x64\x6f\x63\165\x6d\x65\x6e\164\56\154\157\x63\x61\x74\151\x6f\x6e\x20\75\40\144\x6f\x63\165\x6d\x65\x6e\x74\56\x6c\x6f\x63\x61\x74\x69\157\x6e\73\xa\40\40\40\40\x20\x20\40\40\40\x20\x20\40\x7d\51\x3b\12\x20\40\x20\40\x7d\xa\40\x20\40\x20\151\146\x20\50\x69\144\75\75\x27\x63\x6f\162\145\137\x6c\x61\x6e\147\x75\141\147\x65\x75\x70\x64\x61\x74\145\47\x29\173\xa\x20\x20\x20\x20\40\40\x20\40\151\146\40\x28\x21\x64\x68\170\127\x69\x6e\x73\x2e\x69\x73\127\151\156\144\157\x77\x28\47\x77\103\157\x72\145\125\160\x64\x61\x74\x65\124\x72\141\156\163\x6c\x61\x74\x69\x6f\x6e\163\x27\51\x29\12\x20\x20\x20\x20\40\x20\x20\40\173\xa\x20\x20\40\40\40\x20\40\40\40\x20\x20\x20\167\x43\x6f\162\145\125\x70\x64\141\164\x65\x54\162\141\x6e\x73\154\141\x74\151\x6f\x6e\x73\x20\75\x20\144\x68\x78\127\151\156\x73\56\143\x72\145\141\164\145\127\151\156\x64\157\x77\50\x27\x77\103\157\x72\145\125\160\144\141\x74\145\124\x72\141\x6e\163\154\x61\x74\x69\157\156\163\47\54\40\65\x30\54\x20\x35\60\x2c\40\71\60\60\54\x20\x24\x28\167\x69\x6e\144\157\167\x29\x2e\150\x65\x69\147\150\x74\x28\51\x2d\x37\65\51\x3b\12\40\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\167\103\x6f\x72\145\x55\x70\144\141\x74\x65\124\162\x61\x6e\x73\154\x61\164\x69\x6f\x6e\163\x2e\x73\145\164\x54\x65\x78\164\x28\x27" . _l("\x53\x74\157\162\145\40\103\x6f\155\155\x61\x6e\144\145\x72\40\164\x72\x61\x6e\x73\x6c\141\x74\x69\x6f\156\163\x20\165\160\x64\141\164\145", 1) . "\47\x29\x3b\xa\x20\40\x20\40\40\x20\x20\40\x20\40\40\40\x77\x43\x6f\162\x65\125\x70\144\141\x74\x65\x54\162\x61\x6e\x73\x6c\141\x74\x69\x6f\156\163\56\141\x74\x74\x61\143\x68\x55\122\114\x28\47\x69\156\144\145\170\x2e\160\150\x70\x3f\x61\152\x61\x78\75\61\x26\141\x63\164\x3d\x63\x6f\162\x65\137\x75\160\x64\x61\164\145\x5f\x74\x72\141\156\163\x6c\141\164\151\x6f\x6e\x73\x27\x29\73\12\40\x20\x20\40\40\x20\40\40\x20\40\40\40\x77\x43\x6f\x72\145\125\x70\x64\x61\x74\145\124\x72\x61\156\x73\154\x61\164\151\x6f\x6e\163\x2e\163\x65\164\x4d\x6f\x64\141\x6c\x28\x74\x72\165\x65\x29\73\xa\x20\40\40\x20\x20\40\x20\x20\x7d\x65\x6c\x73\x65\x7b\xa\40\40\40\40\40\40\40\40\x20\40\x20\40\x77\x43\157\162\145\x55\x70\144\x61\164\145\124\x72\x61\x6e\x73\x6c\141\164\151\x6f\156\x73\56\163\150\157\x77\x28\51\x3b\12\x20\40\40\40\x20\40\x20\x20\175\12\40\40\x20\40\x7d\xa\x20\x20\40\x20\x69\x66\x20\x28\x69\144\75\x3d\47\143\x61\164\x5f\162\x65\x73\145\x74\x70\162\x69\143\x65\144\162\157\x70\144\141\x74\145\163\47\x29\x7b\x20"; goto RG8e0; MJd2R: $menu_js_action .= "\xa\x20\40\x20\40\40\x20\40\40\40\x20\40\x20\40\40\x20\x20\151\146\50\x69\144\75\x3d\47\141\x66\146\151\154\151\x61\164\151\x6f\156\137\151\156\x73\164\141\154\154\47\x29\40\x7b\12\x20\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\x77\151\x6e\x64\157\x77\x2e\157\160\x65\x6e\50\47" . $psModuleManagementBoUrl . "\47\54\x20\x27\x5f\x62\154\x61\156\153\x27\x29\73\12\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\x7d\12\x20\x20\40\40\40\40\x20\x20\40\40\x20\40\40\40\40\40\x69\146\50\151\x64\x3d\75\x27\141\x66\146\151\x6c\151\141\x74\x69\x6f\156\x5f\x64\x6f\x77\156\x6c\x6f\x61\x64\47\51\40\173\xa\40\40\x20\x20\40\40\x20\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\x24\x2e\160\x6f\163\164\x28\x27\x69\x6e\x64\145\x78\56\160\150\x70\77\141\x6a\x61\x78\75\61\46\x61\143\164\x3d\163\x65\162\137\x64\157\167\x6e\154\157\141\x64\x27\x2c\173\x69\164\x65\x6d\x3a\47\x41\x66\x66\x69\154\151\141\x74\x69\157\x6e\x27\175\x2c\40\146\165\156\143\164\151\157\156\x28\x72\x65\163\x70\x6f\156\x73\145\x29\173\xa\x20\40\40\x20\x20\40\40\40\x20\x20\40\40\40\40\40\x20\40\x20\x20\40\x20\x20\x20\40\154\145\x74\40\x72\145\x73\x70\157\x6e\163\145\104\x61\164\x61\40\75\x20\112\x53\117\116\x2e\160\141\162\163\x65\x28\162\145\x73\160\157\156\163\x65\51\x3b\12\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\x20\40\40\40\40\x69\x66\50\162\145\x73\160\x6f\x6e\x73\x65\104\141\164\141\56\163\164\141\164\x75\163\x20\x3d\x3d\75\40\47\145\162\x72\157\x72\47\51\x20\173\xa\40\40\x20\40\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\40\x20\40\144\x68\164\155\154\x78\56\155\145\163\163\x61\147\x65\50\173\x74\x65\170\x74\72\x72\x65\163\x70\x6f\x6e\x73\x65\104\x61\164\x61\x2e\155\x65\x73\x73\141\x67\x65\x2c\x74\x79\160\x65\72\x72\145\163\x70\157\156\163\x65\104\141\164\141\x2e\163\164\x61\x74\165\163\x2c\145\x78\160\x69\x72\x65\72\61\60\60\x30\x30\175\x29\x3b\xa\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\175\40\x65\x6c\x73\x65\x20\173\xa\x20\40\40\40\40\40\x20\40\40\40\40\x20\40\40\40\x20\40\40\40\x20\40\x20\x20\x20\x20\40\40\x20\144\150\x74\x6d\154\x78\x2e\155\145\x73\x73\141\147\x65\x28\173\164\x65\170\164\x3a\x72\145\x73\x70\157\156\163\x65\x44\x61\164\141\x2e\x6d\145\163\163\x61\147\145\x2c\x74\x79\x70\x65\x3a\x72\145\x73\160\157\x6e\x73\x65\104\141\164\141\56\163\x74\x61\164\165\163\54\145\170\x70\151\162\x65\72\55\61\175\51\73\12\x20\40\40\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\40\40\40\x20\40\x20\x20\40\x20\40\x20\x20\x20\x77\x69\x6e\144\x6f\167\x2e\x6f\160\x65\156\50\47" . $psModuleManagementBoUrl . "\x27\54\40\x27\x5f\142\154\141\156\153\47\51\73\xa\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\40\40\40\40\x20\x20\x20\x20\x20\x7d\12\40\x20\x20\40\40\40\40\40\40\40\40\x20\x20\40\x20\40\40\x20\x20\x20\x7d\51\73\12\x20\40\x20\x20\x20\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\x7d\xa\12\x20\x20\x20\40\40\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\x69\x66\40\50\x69\144\75\x3d\x27\164\x65\141\163\x65\x72\x5f\164\145\162\155\x69\156\x61\x74\157\x72\137\162\x65\141\x64\47\51\173\x20\167\x69\x6e\x64\157\167\x2e\157\x70\145\156\x28\x27" . getScExternalLink("\x6d\x6f\144\x75\x6c\x65\137\164\145\x72\155\x69\156\141\164\157\x72") . "\x27\x29\73\x20\x7d"; goto EaDoY; kveBM: $menu_js_action .= "\40\175\xa\40\x20\x20\x20\x69\x66\x20\x28\151\144\75\x3d\47\143\x61\x74\137\141\164\164\x72\x69\x62\x75\164\145\163\x27\51\x7b\12\x20\x20\40\x20\40\x20\40\40\151\146\40\50\x21\x64\x68\x78\127\151\x6e\x73\x2e\151\x73\x57\151\x6e\144\x6f\x77\50\x27\x77\x41\164\x74\162\x69\142\x75\164\x65\163\47\51\x29\12\40\x20\x20\40\40\x20\40\40\173\12\40\x20\x20\40\x20\x20\x20\40\40\40\40\40\167\101\164\x74\x72\x69\x62\x75\x74\x65\163\x20\x3d\40\x64\x68\170\127\151\156\163\56\x63\162\x65\x61\x74\x65\x57\151\x6e\144\x6f\167\x28\47\167\101\x74\x74\162\151\x62\165\x74\145\163\47\54\x20\x35\60\x2c\x20\65\x30\x2c\x20\71\x30\x30\54\40\x24\50\x77\x69\156\x64\157\x77\x29\56\150\145\x69\x67\x68\164\50\x29\x2d\67\x35\51\73\12\40\40\40\40\40\40\x20\40\40\40\x20\x20\x77\101\164\164\x72\x69\142\x75\164\x65\163\56\x73\x65\x74\x54\x65\170\164\50\47" . _l("\x41\164\x74\162\151\x62\165\164\145\x73\x20\x61\x6e\144\40\x67\x72\157\165\x70\x73", 1) . "\x27\51\73\12\40\x20\40\40\40\40\40\40\x20\x20\x20\40\44\56\147\x65\164\x28\47\151\156\144\x65\170\56\160\150\160\x3f\x61\x6a\141\x78\x3d\x31\x26\x61\x63\x74\75\143\141\164\137\167\x69\x6e\x2d\141\x74\x74\x72\x69\142\165\164\x65\137\151\156\151\164\47\x2c\x66\165\x6e\x63\164\x69\157\156\x28\x64\141\x74\x61\x29\x7b\12\x20\40\40\x20\40\x20\x20\x20\40\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\x24\50\47\x23\x6a\x73\105\170\145\143\x75\164\145\x27\51\56\150\x74\x6d\154\50\x64\141\x74\x61\51\73\12\40\x20\40\40\x20\40\40\40\40\40\40\40\40\x20\x20\40\x7d\51\73\12\40\x20\40\40\40\x20\40\x20\40\x20\40\x20\167\x41\x74\164\x72\x69\142\x75\x74\x65\x73\x2e\x61\x74\x74\x61\143\x68\x45\x76\x65\156\164\x28\x27\x6f\x6e\103\154\x6f\163\145\x27\x2c\40\x66\165\156\x63\164\151\157\156\50\x77\x69\156\x29\x7b\12\x20\x20\x20\x20\40\40\40\40\40\40\x20\x20\x20\40\x20\40\x20\40\40\x20\167\x41\x74\x74\x72\x69\x62\165\x74\145\163\x2e\150\151\144\145\50\51\x3b\xa\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\40\162\x65\x74\x75\162\x6e\40\x66\141\154\163\x65\x3b\12\40\x20\40\x20\x20\40\x20\40\40\40\40\x20\x20\x20\40\40\175\x29\73\xa\x20\x20\x20\x20\40\x20\x20\x20\x7d\145\x6c\163\145\173\12\40\40\x20\x20\40\40\40\40\x20\x20\40\40\x77\x41\164\164\162\151\142\165\164\145\163\x2e\x73\150\157\167\50\51\73\12\x20\40\x20\40\40\x20\40\40\175\xa\40\x20\x20\x20\x7d\12\x20\40\40\40\151\146\x20\x28\151\x64\75\x3d\x27\143\141\x74\x5f\x66\x65\141\164\165\162\x65\x73\x27\51\x7b\12\x20\40\40\x20\40\x20\x20\40\x69\146\x20\50\x21\144\150\170\127\x69\x6e\x73\56\151\163\x57\151\x6e\x64\157\167\x28\x27\x77\106\x65\141\164\165\x72\145\x73\47\x29\51\12\x20\x20\x20\40\40\x20\x20\40\173\12\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\x77\106\145\x61\x74\x75\x72\x65\x73\x20\x3d\x20\144\x68\x78\127\151\156\x73\56\x63\x72\145\x61\164\145\x57\x69\156\x64\x6f\167\x28\47\167\106\x65\141\x74\165\162\x65\x73\x27\54\x20\x35\x30\54\40\65\x30\x2c\x20\x39\60\x30\54\40\44\x28\x77\151\x6e\144\x6f\x77\x29\56\x68\145\x69\x67\x68\164\50\51\55\67\65\x29\73\xa\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\40\167\x46\145\x61\x74\165\x72\x65\163\56\x73\145\x74\x54\145\x78\164\50\47" . _l("\106\145\x61\164\x75\x72\145\x73", 1) . "\x27\51\x3b\12\x20\40\40\40\x20\x20\40\x20\x20\x20\40\x20\44\56\147\x65\x74\x28\x27\x69\156\x64\145\170\x2e\160\150\x70\77\x61\152\x61\170\75\61\x26\x61\143\x74\75\x63\141\164\x5f\x77\151\x6e\55\x66\x65\x61\164\x75\162\x65\137\151\x6e\151\x74\x27\x2c\146\165\x6e\143\x74\151\x6f\156\x28\x64\x61\x74\141\x29\x7b\xa\40\x20\40\40\x20\x20\x20\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x20\x24\50\x27\x23\x6a\x73\105\x78\x65\143\165\x74\x65\x27\51\x2e\150\x74\155\x6c\x28\x64\x61\164\x61\x29\73\12\40\40\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\x7d\51\x3b\12\x20\x20\40\x20\40\x20\x20\40\40\40\x20\40\167\x46\145\141\x74\165\162\145\x73\56\141\x74\x74\141\143\x68\105\166\x65\156\164\x28\x27\x6f\156\103\x6c\157\x73\145\47\x2c\x20\146\x75\x6e\x63\x74\x69\157\156\x28\x77\x69\156\x29\173\xa\40\x20\40\40\40\40\x20\40\40\40\x20\40\x20\40\x20\x20\40\40\40\40\x77\106\x65\x61\x74\165\162\145\x73\x2e\150\151\x64\x65\x28\51\73\12\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\x72\145\x74\x75\162\156\40\x66\x61\154\x73\x65\73\12\40\x20\40\40\x20\40\40\x20\x20\40\40\x20\40\x20\x20\40\175\51\73\12\40\40\40\40\x20\x20\x20\x20\x7d\x65\154\x73\x65\x7b\12\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\40\167\x46\145\x61\164\x75\x72\145\x73\56\163\150\157\167\x28\51\73\xa\x20\40\x20\x20\x20\40\x20\40\175\12\x20\x20\40\40\x7d\xa\xa\40\x20\40\40\x69\x66\40\50\x69\144\x3d\x3d\x27\143\141\x74\137\151\x6d\160\145\x78\160\x5f\141\164\164\x72\137\164\x72\141\156\163\154\141\164\x69\157\156\x27\40\174\174\x20\x69\x64\x3d\x3d\47\x63\x61\164\137\x69\x6d\x70\x65\x78\x70\x5f\146\x65\x61\x74\137\x74\162\x61\x6e\163\154\141\164\x69\x6f\x6e\x27\51\173\12\x20\x20\x20\40\40\x20\x20\x20\x69\x66\x20\50\x21\144\x68\170\127\x69\x6e\163\x2e\x69\x73\x57\x69\x6e\x64\157\167\50\47\x77\x49\x6d\160\105\x78\x70\x54\x72\141\x6e\163\x6c\x61\164\151\157\156\x27\x29\51\12\40\40\40\40\40\40\x20\x20\173\xa\40\40\x20\x20\40\x20\x20\40\x20\40\x20\40\167\x49\155\160\105\170\x70\124\x72\x61\x6e\x73\154\x61\164\x69\x6f\156\40\75\40\x64\x68\x78\x57\x69\156\x73\56\143\162\x65\x61\164\145\x57\151\156\144\157\x77\x28\47\x77\x49\155\x70\105\170\160\x54\162\141\x6e\163\154\141\x74\x69\157\156\47\x2c\x20\65\x30\54\40\x35\x30\54\x20\x39\x30\x30\x2c\40\44\x28\167\151\156\144\x6f\x77\x29\x2e\150\x65\151\147\x68\x74\x28\51\55\x37\65\51\x3b\12\40\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\x24\x2e\x67\x65\164\x28\x27\x69\x6e\144\x65\170\x2e\x70\x68\x70\x3f\141\x6a\x61\170\x3d\61\46\x61\x63\x74\75\143\x61\164\137\167\x69\156\x2d\x69\x6d\x70\x65\x78\160\164\x72\x61\156\x73\x6c\141\164\x69\x6f\x6e\x5f\x69\x6e\x69\164\47\54\x66\165\x6e\143\164\x69\x6f\x6e\x28\144\x61\x74\141\51\173\12\40\x20\40\40\40\40\x20\x20\40\40\40\40\x20\x20\40\40\x20\40\40\40\x24\50\x27\x23\x6a\x73\x45\x78\x65\143\x75\164\x65\47\x29\x2e\150\x74\x6d\x6c\x28\144\x61\164\141\x29\x3b\xa\40\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\40\x20\40\x7d\51\73\xa\40\40\x20\x20\40\x20\x20\x20\175\145\x6c\163\145\x7b\xa\x20\x20\40\40\40\x20\x20\40\x20\40\40\40\x77\x49\x6d\160\x45\170\160\124\x72\141\156\x73\x6c\141\x74\x69\x6f\x6e\x2e\x73\150\157\167\50\x29\x3b\12\40\x20\40\40\40\40\40\x20\175\xa\40\x20\x20\x20\175\xa\xa\x20\40\40\40\151\x66\x20\x28\151\x64\x3d\x3d\47\155\x61\x6e\x5f\x74\162\145\145\x27\x29\x7b\xa\x20\x20\40\x20\x20\40\x20\x20\151\x66\x28\x53\x43\137\120\101\107\x45\x3d\75\x27\155\x61\x6e\137\164\x72\145\145\x27\x29\12\x20\40\40\x20\x20\40\40\x20\173\xa\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\151\x66\x20\50\x63\141\163\123\164\141\x74\145\56\x63\x74\x72\x6c\40\x3d\75\x20\x74\x72\x75\145\51\40\x7b\xa\x20\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\40\x20\167\151\156\144\x6f\167\x2e\157\x70\x65\x6e\x28\x27\151\x6e\144\145\170\x2e\160\150\160\77\x70\x61\x67\145\75\155\x61\x6e\x5f\x74\162\x65\x65\47\x29\73\12\x20\40\x20\x20\40\40\x20\40\40\x20\x20\40\175\40\145\154\163\x65\x20\173\12\40\x20\40\x20\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\164\162\145\x65\x5f\x6d\x6f\144\145\75\x27\163\151\156\x67\x6c\x65\47\x3b\12\40\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x6d\141\156\x2e\x63\145\154\154\163\x28\x27\x61\47\51\x2e\145\x78\160\x61\156\x64\50\x29\73\12\x20\x20\x20\40\40\x20\x20\40\40\x20\40\40\x7d\12\40\40\40\40\40\x20\x20\x20\175\145\154\x73\145\x7b\xa\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\151\x66\40\x28\143\x61\x73\x53\164\141\164\x65\x2e\x63\164\162\x6c\x20\75\x3d\x20\x74\x72\165\x65\51\x20\173\12\x20\40\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x77\x69\x6e\144\157\x77\56\x6f\x70\x65\x6e\50\47\x69\x6e\x64\145\170\x2e\160\150\x70\x3f\160\141\x67\x65\75\x6d\x61\156\x5f\x74\x72\145\x65\47\51\x3b\xa\40\40\40\x20\40\x20\40\40\40\40\x20\x20\x7d\40\145\154\x73\x65\40\x7b\xa\x20\x20\x20\40\x20\40\40\40\40\40\x20\40\x20\40\x20\40\x64\157\143\165\155\x65\x6e\164\x2e\154\x6f\x63\141\x74\151\x6f\x6e\75\47\x69\x6e\144\x65\170\56\160\x68\160\77\x70\141\147\145\75\155\141\156\137\164\x72\145\145\47\73\12\x20\40\x20\40\40\40\40\40\40\x20\40\x20\x7d\xa\x20\40\40\40\40\x20\x20\40\175\12\40\40\x20\40\x7d\12\40\x20\40\x20\x69\146\x20\50\x69\144\40\75\x3d\40\47\x6d\x61\x6e\x5f\x69\155\160\157\162\x74\x27\x29\x20\173\xa\x20\40\40\x20\40\x20\x20\40\151\146\x20\x28\x21\x64\x68\x78\x57\151\156\163\x2e\151\163\x57\151\x6e\144\x6f\167\50\x27\167\115\141\156\x49\155\160\x6f\x72\x74\47\51\x29\40\x7b\12\x20\40\40\x20\40\x20\40\x20\40\x20\40\x20\x77\115\x61\x6e\111\x6d\160\x6f\162\164\x20\x3d\40\x64\x68\170\x57\x69\156\163\x2e\x63\162\145\141\x74\x65\127\151\156\x64\157\x77\50\47\167\115\141\x6e\111\155\x70\x6f\x72\164\47\x2c\x20\65\60\x2c\40\x35\60\x2c\40\61\x31\x30\x30\x2c\x20\44\50\167\x69\156\144\157\x77\51\x2e\150\145\x69\147\x68\164\x28\51\40\x2d\x20\67\x35\x29\x3b\12\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\167\x4d\x61\156\111\155\x70\157\x72\x74\56\163\x65\x74\x54\145\170\164\50\47" . _l("\111\x6d\x70\157\162\164\40\55\40\102\141\x63\x6b\x75\x70\x20\171\157\165\162\40\x62\141\163\145\40\x62\145\146\x6f\162\145\40\x61\156\171\40\x6d\x61\163\163\40\x75\x70\x64\x61\164\145\41", 1) . "\47\51\x3b\12\40\x20\x20\x20\40\40\40\40\40\40\40\x20\44\x2e\x67\x65\164\50\47\x69\156\x64\x65\170\56\160\x68\160\77\x61\x6a\141\170\x3d\61\46\x61\143\x74\x3d\x6d\x61\x6e\137\x77\151\156\55\x69\155\160\x6f\x72\x74\137\151\x6e\151\x74\47\x2c\40\146\x75\x6e\143\x74\x69\157\156\x20\x28\144\x61\x74\x61\51\40\173\12\x20\40\40\40\40\40\40\x20\x20\40\40\x20\x20\x20\40\40\44\50\x27\x23\152\x73\105\x78\145\x63\165\164\x65\x27\51\x2e\x68\x74\155\x6c\50\x64\x61\164\x61\51\73\12\40\x20\x20\40\x20\40\x20\40\x20\x20\40\40\x7d\51\x3b\xa\40\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\x77\x4d\x61\x6e\x49\155\x70\157\x72\164\56\x61\x74\164\141\143\150\105\166\x65\x6e\164\x28\x27\x6f\x6e\x43\x6c\157\163\x65\x27\x2c\40\x66\x75\156\143\x74\x69\x6f\156\40\x28\x77\x69\x6e\x29\40\x7b\12\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\40\40\40\40\x77\115\141\156\x49\x6d\160\x6f\x72\164\56\150\151\x64\145\x28\51\x3b\xa\40\x20\40\x20\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\162\x65\x74\x75\162\156\x20\146\141\154\163\145\73\12\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\40\175\x29\73\12\x20\x20\40\40\40\x20\x20\40\175\x20\145\x6c\163\145\x20\x7b\12\40\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\x24\x2e\x67\x65\164\50\x27\x69\x6e\x64\145\170\x2e\x70\x68\x70\x3f\141\152\141\170\x3d\61\46\x61\x63\x74\75\155\x61\156\x5f\x77\151\x6e\x2d\151\155\x70\157\162\164\137\x69\x6e\x69\x74\x27\x2c\x20\146\x75\x6e\143\x74\x69\157\156\x20\50\x64\141\x74\141\x29\x20\173\xa\40\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\40\40\44\x28\47\43\x6a\x73\105\170\145\x63\x75\164\x65\x27\x29\56\x68\x74\155\x6c\50\144\x61\x74\x61\51\x3b\12\x20\40\x20\x20\x20\x20\x20\x20\40\40\x20\40\175\51\73\12\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\167\x4d\141\x6e\x49\x6d\x70\157\162\x74\x2e\163\x68\x6f\x77\x28\x29\x3b\xa\40\x20\x20\40\40\x20\x20\40\175\12\x20\x20\x20\x20\175\xa\12\x20\x20\x20\40\x69\146\40\x28\151\144\x3d\x3d\x27\x73\165\x70\x5f\x74\x72\x65\145\47\x29\x7b\xa\40\x20\40\40\x20\40\x20\x20\x69\146\x28\123\x43\137\x50\x41\107\105\x3d\x3d\47\163\165\160\x5f\x74\162\x65\145\47\51\xa\x20\40\x20\40\40\40\40\40\x7b\xa\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x20\x69\146\40\x28\143\141\163\x53\x74\x61\x74\145\x2e\143\x74\162\x6c\40\75\75\40\164\162\165\x65\x29\40\173\xa\x20\40\x20\x20\40\40\x20\40\40\40\40\x20\40\x20\40\x20\x77\151\156\x64\157\167\56\x6f\x70\x65\156\x28\x27\151\156\144\x65\x78\56\x70\150\160\77\x70\141\147\145\75\163\165\x70\137\x74\162\145\x65\x27\x29\73\xa\x20\40\40\40\x20\40\40\40\40\40\x20\x20\175\40\145\154\163\x65\40\173\12\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\40\x20\x20\164\x72\x65\x65\x5f\155\x6f\144\x65\75\x27\163\x69\x6e\147\154\145\47\73\xa\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\163\x75\160\56\x63\145\x6c\154\163\50\x27\141\x27\51\x2e\145\x78\160\141\x6e\144\x28\x29\73\xa\40\x20\40\40\x20\x20\x20\x20\40\x20\40\40\175\xa\x20\40\x20\x20\x20\40\40\40\x7d\145\x6c\x73\145\173\xa\40\40\x20\x20\x20\40\40\40\40\x20\x20\x20\x69\146\40\50\143\x61\x73\x53\x74\141\164\145\56\143\164\x72\x6c\x20\75\75\x20\164\162\x75\x65\51\40\x7b\12\x20\x20\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x77\x69\156\144\x6f\167\56\157\160\145\x6e\50\x27\151\x6e\x64\145\x78\x2e\160\x68\160\x3f\x70\x61\147\145\75\x73\165\x70\x5f\164\162\x65\145\x27\x29\x3b\xa\40\x20\x20\x20\40\40\40\x20\x20\x20\x20\40\x7d\x20\145\x6c\x73\x65\40\173\xa\40\40\40\40\40\x20\x20\40\40\40\40\x20\40\x20\40\40\x64\157\143\x75\155\145\x6e\164\x2e\x6c\157\143\141\x74\151\x6f\x6e\x3d\x27\x69\x6e\x64\x65\x78\x2e\160\x68\160\77\160\x61\x67\145\x3d\163\x75\x70\137\x74\x72\x65\x65\47\x3b\12\40\40\40\40\x20\40\x20\40\x20\40\x20\x20\x7d\12\40\x20\40\x20\x20\40\x20\x20\175\12\40\40\40\x20\175\xa\x20\40\x20\40"; goto m6YsG; lQNXe: zYyuP: goto J5D6J; XzuKP: OnWuH: goto EDDFo; Tii52: $menu_js_action .= "\12\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\x20\40\x20\40\x69\x66\50\151\144\75\75\47\x63\x61\x74\141\x6c\157\147\137\x70\144\146\137\x72\145\x61\144\x5f\151\156\x73\164\141\154\154\x27\51\40\x7b\12\40\x20\40\x20\40\40\x20\40\40\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\167\x69\156\144\157\x77\56\x6f\x70\x65\156\50\x27" . $psModuleManagementBoUrl . "\x27\54\x20\47\137\142\x6c\x61\156\x6b\47\x29\x3b\xa\40\x20\40\x20\x20\40\x20\40\x20\40\40\40\40\40\40\x20\175\12\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\x69\146\x28\151\x64\75\75\x27\x63\x61\164\141\x6c\x6f\x67\137\x70\144\x66\137\x72\x65\141\x64\137\144\x6f\167\156\154\x6f\x61\x64\47\51\x20\173\12\40\40\40\x20\40\40\40\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\44\x2e\x70\x6f\163\164\50\47\151\x6e\x64\145\170\56\x70\x68\160\77\x61\x6a\x61\170\75\x31\x26\141\x63\x74\x3d\163\x65\x72\x5f\x64\x6f\x77\156\154\x6f\x61\x64\x27\54\x7b\151\x74\145\155\x3a\47\x43\141\164\x61\x6c\157\x67\120\104\106\47\x7d\54\x20\146\165\x6e\x63\x74\151\157\156\50\x72\x65\163\x70\x6f\156\x73\145\51\x7b\xa\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\154\145\164\x20\x72\145\x73\x70\157\x6e\x73\145\x44\x61\164\x61\x20\75\40\x4a\x53\x4f\x4e\56\160\x61\162\163\145\50\162\x65\163\x70\x6f\x6e\163\145\x29\73\xa\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\40\40\40\40\x20\40\x20\40\x20\40\x69\146\x28\162\145\x73\x70\x6f\156\163\x65\104\141\164\x61\56\163\x74\141\164\x75\163\x20\75\75\x3d\40\47\x65\x72\162\x6f\x72\47\51\40\173\12\40\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\40\40\40\40\x20\40\x20\40\40\x20\x20\x20\40\40\x20\40\144\150\164\x6d\154\x78\x2e\155\145\163\163\x61\147\x65\x28\x7b\x74\x65\x78\164\72\x72\145\x73\x70\x6f\x6e\163\145\104\141\x74\x61\x2e\x6d\145\163\163\141\x67\145\x2c\164\x79\160\x65\x3a\162\x65\x73\160\157\x6e\x73\x65\x44\141\164\141\56\x73\164\x61\164\165\163\54\x65\170\x70\151\162\x65\72\x31\x30\60\60\x30\175\x29\x3b\xa\40\40\x20\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\40\40\x20\x20\40\x20\x20\40\x20\x7d\40\145\154\x73\145\40\x7b\12\x20\x20\40\40\x20\40\40\x20\x20\40\40\x20\40\40\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\x64\150\164\155\x6c\170\56\x6d\145\163\x73\x61\x67\x65\50\173\164\145\170\164\x3a\162\145\x73\160\x6f\x6e\163\x65\x44\141\x74\x61\56\155\145\163\x73\141\x67\145\54\164\x79\160\x65\x3a\x72\145\x73\x70\157\x6e\x73\145\x44\x61\164\141\x2e\x73\164\141\164\165\163\x2c\x65\x78\x70\x69\162\x65\72\x2d\61\x7d\51\73\12\40\x20\40\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\40\167\x69\156\x64\x6f\167\56\x6f\x70\145\x6e\x28\47" . $psModuleManagementBoUrl . "\x27\54\40\47\x5f\x62\x6c\141\156\x6b\x27\51\x3b\12\40\x20\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\40\40\40\x20\x20\40\40\40\x20\x20\175\xa\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\175\51\x3b\xa\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\40\175"; goto Ebqw4; Auu8U: goto Vr2UN; goto lQNXe; tP0PP: DiCD0: goto MJd2R; wgiRj: goto RkiaT; goto yU1L6; RrblS: $menu_js_action .= "\xa\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\x63\157\x6e\x73\164\x20\167\x53\x62\157\x49\x6e\151\164\x20\75\40\x7b\x64\151\x6d\145\156\x73\151\x6f\x6e\72\x20\x7b\167\x69\144\164\150\x3a\x20\70\70\60\x2c\40\150\145\x69\147\x68\164\x3a\40\x77\x69\x6e\x64\157\167\56\166\x69\x73\165\x61\x6c\126\151\145\x77\160\157\x72\164\x2e\150\145\x69\x67\150\x74\x2d\x37\x35\x7d\54\x20\160\157\163\x69\164\x69\157\156\x3a\40\173\x6c\x65\x66\x74\72\40\x77\151\156\x64\157\167\x2e\166\151\x73\x75\141\x6c\x56\x69\x65\x77\160\157\x72\164\56\167\x69\x64\x74\x68\57\x32\55\x34\x34\60\x2c\x20\x74\157\x70\40\x3a\40\x35\60\175\x7d\73\12\40\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\x63\x6f\x6e\x73\x74\40\x77\123\142\157\125\162\x6c\x20\x3d\x20\47\x69\x6e\144\145\x78\x2e\x70\x68\160\77\x61\x6a\141\x78\x3d\61\x26\141\143\x74\75\x63\x61\164\137\x77\x69\x6e\x2d\x73\x62\x6f\137\x69\x6e\151\164" . $guide . "\x26\x73\171\156\143\x3d\x74\162\165\x65\47\x3b\xa\40\40\40\40\x20\40\x20\40\x20\40\x20\40\40\40\x20\40\151\x66\x20\x28\x69\144\75\x3d\47\x63\141\x74\x5f\x73\142\157\x27\51\x7b\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\40\40\40\12\40\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\151\x66\40\x28\41\x64\150\170\x57\151\x6e\x73\56\151\163\x57\151\156\144\x6f\167\50\47\x77\x53\x62\157\47\x29\51\x20\173\12\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\40\40\x20\x77\x53\142\157\40\75\40\x64\150\x78\127\151\x6e\163\56\143\x72\x65\x61\164\145\127\x69\x6e\144\157\167\x28\x27\167\x53\x62\x6f\47\54\x20\167\123\x62\157\111\156\151\x74\x2e\x70\157\163\x69\164\151\x6f\156\x2e\x6c\x65\x66\x74\x2c\40\x77\x53\x62\x6f\x49\156\151\164\x2e\x70\x6f\x73\151\164\151\157\156\56\164\157\x70\x2c\x20\x77\x53\142\x6f\x49\156\151\164\x2e\x64\x69\155\x65\156\x73\151\x6f\156\56\x77\x69\x64\164\150\54\40\167\123\x62\x6f\111\156\151\x74\56\144\151\x6d\x65\x6e\x73\151\x6f\156\x2e\150\x65\151\147\150\164\x29\x3b\12\40\x20\x20\40\40\x20\40\x20\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\167\x53\142\x6f\56\137\x75\x72\154\40\x3d\40\167\x53\142\157\x55\x72\x6c\73\12\x20\x20\40\40\x20\x20\40\40\x20\40\40\40\40\x20\40\x20\40\40\40\40\40\x20\40\x20\167\123\142\157\x2e\137\x65\166\164\123\x6f\165\x72\143\145\x20\75\x20\156\x75\154\x6c\x3b\12\40\x20\x20\40\40\x20\40\x20\40\40\40\40\x20\x20\40\40\40\40\40\x20\40\40\40\x20\167\x53\142\x6f\x2e\x5f\x69\x6e\151\x74\151\x61\x6c\x50\157\x73\151\x74\151\x6f\156\x20\x3d\40\x77\x53\x62\x6f\x49\x6e\x69\x74\x3b\12\40\40\40\x20\x20\40\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\167\123\x62\157\x2e\x73\x65\164\x54\145\170\x74\50\x27" . $title . "\x27\51\73\xa\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\40\44\56\x67\x65\x74\x28\x77\123\x62\x6f\x55\x72\x6c\x2c\146\165\156\143\164\x69\x6f\x6e\x28\x64\x61\x74\141\51\x7b\xa\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\40\40\40\40\x20\x20\40\x20\x20\40\40\x20\40\40\x20\x24\50\47\x23\x6a\x73\105\170\145\x63\165\164\x65\47\x29\x2e\150\x74\x6d\x6c\50\x64\x61\164\141\51\x3b\12\40\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\40\40\40\40\x20\40\40\40\x20\40\40\175\51\73\xa\x20\40\40\40\x20\40\40\40\40\40\40\x20\x20\40\40\40\40\x20\40\x20\x20\40\40\40\x77\123\142\x6f\x2e\141\164\164\x61\x63\x68\105\x76\x65\156\164\50\x27\157\x6e\103\x6c\x6f\163\145\x27\54\40\x66\x75\156\x63\x74\151\x6f\x6e\x28\167\151\156\x29\x7b\12\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\x77\151\x6e\56\x68\x69\x64\145\50\51\x3b\12\40\x20\40\40\x20\40\x20\x20\40\40\x20\x20\40\40\x20\40\x20\40\x20\40\x20\40\40\x20\x20\40\40\40\x69\146\50\167\x69\x6e\56\137\145\x76\164\x53\157\x75\x72\143\x65\x20\x21\x3d\40\156\165\154\154\x29\x7b\xa\x20\40\40\x20\40\x20\x20\40\40\40\x20\40\x20\40\40\x20\40\x20\x20\40\40\40\40\40\x20\40\40\x20\40\x20\40\x20\x77\151\x6e\56\137\x65\x76\x74\123\x6f\165\162\x63\x65\x2e\143\x6c\157\x73\x65\x28\51\73\xa\40\40\x20\x20\x20\x20\40\x20\40\40\40\40\x20\x20\x20\40\40\40\40\40\x20\40\x20\x20\40\40\x20\x20\175\12\40\40\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\162\x65\x74\165\162\x6e\x20\x66\x61\x6c\x73\145\73\12\40\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\40\x20\x20\40\40\175\51\x3b\12\x20\x20\x20\x20\x20\40\40\x20\x20\40\40\40\40\40\x20\40\40\x20\x20\x20\175\145\x6c\x73\x65\173\xa\x20\x20\40\40\40\x20\40\40\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\40\44\56\147\x65\164\x28\x77\x53\x62\157\125\162\x6c\54\146\165\x6e\143\164\151\157\156\x28\x64\141\x74\141\51\x7b\12\x20\40\x20\40\x20\40\x20\x20\40\x20\40\x20\40\40\40\40\40\x20\40\40\40\40\40\x20\x20\40\40\40\40\40\x20\x20\44\50\47\43\x6a\x73\105\x78\145\143\165\164\x65\47\x29\56\150\x74\x6d\154\x28\x64\141\x74\141\51\73\xa\40\40\40\40\40\40\40\x20\x20\40\40\40\x20\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\175\x29\x3b\12\40\x20\x20\40\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\40\x20\x20\40\x20\40\x77\x53\142\157\x2e\163\x68\x6f\x77\x28\51\73\12\40\40\40\x20\40\40\x20\40\x20\40\x20\40\40\40\x20\40\40\40\x20\x20\40\x20\x20\40\40\40\40\x20\167\x53\142\157\x2e\x73\x65\x74\104\x69\x6d\145\x6e\163\x69\x6f\x6e\50\x20\x77\x53\142\157\x2e\x5f\151\156\x69\164\x69\x61\154\x50\x6f\163\x69\164\151\157\x6e\x2e\x64\151\155\145\156\x73\151\x6f\156\56\x77\151\x64\164\x68\54\40\x77\123\142\157\56\x5f\151\156\x69\164\151\x61\154\x50\x6f\x73\151\164\151\x6f\156\x2e\x64\151\155\x65\x6e\x73\x69\x6f\x6e\56\150\x65\151\x67\x68\x74\51\73\12\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\40\40\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\x77\123\x62\x6f\56\163\145\x74\x50\x6f\163\x69\164\x69\x6f\x6e\x28\x77\x53\x62\x6f\x2e\137\x69\156\x69\x74\151\x61\154\x50\157\163\151\x74\151\x6f\x6e\56\160\157\163\151\164\151\x6f\x6e\56\154\x65\x66\164\x2c\x20\x77\123\x62\x6f\x2e\x5f\x69\x6e\x69\164\x69\x61\x6c\x50\x6f\x73\x69\164\x69\x6f\x6e\56\160\157\x73\151\164\151\157\x6e\56\164\x6f\x70\x29\x3b\xa\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\175\xa\x20\x20\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\40\x20\175\xa\x20\40\40\x20\x20\x20\x20\x20"; goto ZHGSj; P0rnN: if (!($pluginCmsProperties["\124\151\164\x6c\x65"] != '')) { goto u1yJF; } goto WBXMo; yOoUw: if (!SC_TOOLS) { goto i0LLi; } goto F1Rdl; dTkGq: CiIeH: goto e1f2M; WBMNQ: GOYZj: goto thJbh; i3fpa: goto YvApB; goto tn5LR; hZdFh: $pdt_toolbar_js_action = ''; goto eyb3O; C3I5V: $ids = Tools::getValue("\x6f\x70\x65\156\137\155\141\156\137\147\162\151\144", 0); goto Z1jDk; ufY0n: $prop_toolbar_js_action .= ob_get_contents(); goto X19V7; pEPQN: gSzjf: goto YcpN0; bJvHq: $menu_js_action .= "\x20\x77\126\x41\x54\123\x63\x68\x65\x64\165\154\145\x72\x2e\141\164\x74\x61\143\x68\125\x52\114\50\47" . SC_PS_PATH_ADMIN_REL . "\x69\x6e\144\145\x78\x2e\160\x68\160\x3f\x74\141\x62\75\x41\x64\x6d\x69\x6e\x4d\x6f\x64\165\x6c\145\x73\46\143\157\x6e\146\151\x67\165\162\x65\75\163\x63\166\x61\164\163\x63\x68\145\x64\x75\154\x65\x72\x26\x74\x6f\153\145\x6e\75" . $sc_agent->getPSToken("\x41\x64\x6d\151\x6e\x4d\157\x64\165\154\x65\x73") . "\46\x74\x61\142\x5f\155\x6f\144\165\154\145\75\x62\151\x6c\x6c\x69\x6e\x67\x5f\x69\156\x76\x6f\151\x63\x69\x6e\x67\x26\x6d\157\x64\x75\154\145\x5f\x6e\x61\155\145\75\163\143\x76\x61\x74\x73\x63\x68\x65\144\x75\154\145\162\x27\51\x3b\40"; goto md7sR; F1Rdl: foreach ($sc_tools_list as $tool) { goto pSiYx; gunPp: $pluginProductProperties["\144\x6f\117\x6e\x50\162\157\144\165\143\164\122\x6f\x77\x53\x65\154\x65\143\x74\145\144"] .= $pp->Property->doOnProductRowSelected; goto Y1fmf; IWxmt: $pluginProductProperties["\124\151\164\x6c\x65"] .= $pp->Property->Title; goto z7xuS; rZx5J: $pluginCustomerProperties["\x54\157\157\154\142\141\x72\123\x74\141\164\145\101\143\x74\151\157\156\x73"] .= $cp->Property->ToolbarStateActions; goto g3uZX; QqYCu: if (!(file_exists(SC_TOOLS_DIR . $tool . "\57\x6f\162\144\x4f\162\144\145\x72\120\162\157\160\145\162\164\x69\145\x73\56\170\155\154") && ($op = simplexml_load_file(SC_TOOLS_DIR . $tool . "\57\157\x72\x64\117\162\144\145\x72\x50\x72\157\x70\x65\162\x74\151\x65\163\x2e\x78\x6d\x6c")))) { goto n7T7W; } goto d_VKW; g3uZX: $pluginCustomerProperties["\x48\151\144\x65\124\157\157\x6c\142\141\x72\x42\x75\164\164\x6f\x6e\163"] .= $cp->Property->HideToolbarButtons; goto poyFL; YPQI7: $pluginCustomerProperties["\x54\x6f\157\154\142\x61\162\102\x75\x74\x74\157\156\x73"] .= $cp->Property->ToolbarButtons; goto Qi1f2; FN7gp: n7T7W: goto rUIHF; S8Nju: jGKcF: goto o941_; bSymH: $pluginManufacturerProperties["\124\157\x6f\x6c\x62\x61\162\x42\x75\x74\164\157\156\x73"] .= $op->Property->ToolbarButtons; goto krzJU; MqPl_: $pluginManufacturerProperties["\x64\x6f\x4f\156\x4d\x61\156\165\146\x61\x63\164\x75\162\145\162\x52\x6f\167\123\x65\154\x65\x63\164\x65\144"] .= $op->Property->doOnManufacturerRowSelected; goto Wgzxb; I67Wl: if (!(file_exists(SC_TOOLS_DIR . $tool . "\57\x63\165\x73\x43\165\x73\164\x6f\155\145\162\x50\x72\x6f\x70\x65\x72\164\151\x65\x73\x2e\170\x6d\154") && ($cp = simplexml_load_file(SC_TOOLS_DIR . $tool . "\57\x63\x75\x73\103\x75\x73\164\157\x6d\145\x72\x50\162\x6f\x70\145\x72\164\151\x65\163\56\x78\155\154")))) { goto BmAqL; } goto XwSXW; WG8Um: $pluginManufacturerProperties["\x54\157\157\x6c\142\141\x72\123\164\141\164\x65\101\x63\164\151\x6f\156\x73"] .= $op->Property->ToolbarStateActions; goto cB4VR; Wgzxb: $pluginManufacturerProperties["\x44\151\163\160\154\x61\x79\x50\154\x75\x67\x69\x6e"] .= $op->Property->DisplayPlugin; goto DJwAB; EdqIP: BmAqL: goto QqYCu; Qi1f2: $pluginCustomerProperties["\x54\x6f\x6f\x6c\x62\141\x72\101\x63\x74\151\x6f\x6e\x73"] .= $cp->Property->ToolbarActions; goto rZx5J; poyFL: $pluginCustomerProperties["\x64\157\x4f\x6e\103\x75\x73\164\x6f\x6d\145\162\122\157\167\123\x65\154\x65\143\x74\x65\144"] .= $cp->Property->doOnCustomerRowSelected; goto sI0Er; XwSXW: $pluginCustomerProperties["\124\151\164\x6c\145"] .= $cp->Property->Title; goto YPQI7; kGaLu: $pluginOrderProperties["\x64\157\117\156\117\162\x64\x65\162\122\x6f\167\x53\x65\154\145\143\164\145\144"] .= $op->Property->doOnOrderRowSelected; goto zMDBx; SjE3n: $pluginProductProperties["\x54\x6f\x6f\154\x62\141\162\x53\164\141\164\145\x41\143\164\151\x6f\156\x73"] .= $pp->Property->ToolbarStateActions; goto UJknl; zMDBx: $pluginOrderProperties["\104\x69\163\x70\154\141\x79\120\x6c\165\147\151\x6e"] .= $op->Property->DisplayPlugin; goto FN7gp; LEiyR: $pluginCmsProperties["\x54\x6f\157\154\x62\141\x72\x42\x75\164\x74\157\156\x73"] .= $op->Property->ToolbarButtons; goto PGQRG; rUIHF: if (!(file_exists(SC_TOOLS_DIR . $tool . "\x2f\x63\x6d\163\120\141\147\145\x50\162\x6f\160\x65\162\164\x69\145\163\56\170\x6d\x6c") && ($op = simplexml_load_file(SC_TOOLS_DIR . $tool . "\57\143\155\x73\120\x61\147\145\x50\162\157\x70\x65\162\x74\151\x65\163\56\x78\x6d\154")))) { goto jGKcF; } goto OOude; glPlg: if (!(file_exists(SC_TOOLS_DIR . $tool . "\x2f\x63\141\164\120\162\x6f\144\165\x63\x74\120\162\157\160\x65\162\x74\151\x65\163\x2e\x78\x6d\x6c") && ($pp = simplexml_load_file(SC_TOOLS_DIR . $tool . "\57\143\x61\164\120\162\x6f\x64\x75\x63\164\120\x72\157\x70\145\162\164\151\145\163\x2e\170\x6d\154")))) { goto nv5TC; } goto IWxmt; Y1fmf: $pluginProductProperties["\x44\151\x73\160\x6c\141\x79\120\x6c\x75\147\151\156"] .= $pp->Property->DisplayPlugin; goto WhXJ7; OOude: $pluginCmsProperties["\124\151\164\x6c\x65"] .= $op->Property->Title; goto LEiyR; d_VKW: $pluginOrderProperties["\x54\x69\x74\x6c\x65"] .= $op->Property->Title; goto Nksk9; EAdb2: $pluginManufacturerProperties["\124\x69\164\x6c\x65"] .= $op->Property->Title; goto bSymH; z7xuS: $pluginProductProperties["\x54\157\x6f\154\x62\141\x72\102\x75\164\164\157\156\163"] .= $pp->Property->ToolbarButtons; goto qdhQ1; krzJU: $pluginManufacturerProperties["\x54\157\x6f\x6c\x62\x61\162\101\143\x74\x69\157\x6e\x73"] .= $op->Property->ToolbarActions; goto WG8Um; qVQg4: $pluginOrderProperties["\x54\157\x6f\x6c\142\141\162\x41\x63\x74\x69\x6f\156\163"] .= $op->Property->ToolbarActions; goto XppYX; Fn6o8: $pluginOrderProperties["\110\x69\x64\145\x54\x6f\157\154\x62\141\x72\x42\165\x74\x74\x6f\156\x73"] .= $op->Property->HideToolbarButtons; goto kGaLu; qdhQ1: $pluginProductProperties["\124\x6f\157\x6c\142\x61\x72\101\x63\164\151\x6f\x6e\x73"] .= $pp->Property->ToolbarActions; goto SjE3n; o941_: if (!(file_exists(SC_TOOLS_DIR . $tool . "\57\x6d\x61\x6e\115\141\x6e\165\x66\x61\143\164\165\x72\145\162\x50\162\157\160\x65\x72\164\x69\x65\x73\56\170\x6d\x6c") && ($op = simplexml_load_file(SC_TOOLS_DIR . $tool . "\x2f\155\x61\156\x4d\x61\156\x75\x66\x61\x63\x74\165\x72\145\x72\120\x72\x6f\x70\145\162\x74\x69\145\163\56\x78\155\x6c")))) { goto R91T1; } goto EAdb2; cB4VR: $pluginManufacturerProperties["\x48\151\144\x65\124\157\157\x6c\142\141\162\x42\x75\x74\164\x6f\x6e\x73"] .= $op->Property->HideToolbarButtons; goto MqPl_; wGgIw: $pluginCmsProperties["\x64\157\x4f\x6e\x43\x6d\x73\x52\x6f\x77\x53\x65\154\145\143\164\145\x64"] .= $op->Property->doOnCmsRowSelected; goto EDgN2; EDgN2: $pluginCmsProperties["\104\x69\163\x70\154\x61\171\120\x6c\165\x67\151\x6e"] .= $op->Property->DisplayPlugin; goto S8Nju; ocPPT: $pluginCmsProperties["\124\157\157\x6c\142\141\162\123\x74\x61\x74\145\x41\143\164\151\157\156\163"] .= $op->Property->ToolbarStateActions; goto hKXq1; vYDhs: goto eZIxT; goto HjbqH; nxzVF: eZIxT: goto TjuiK; DJwAB: R91T1: goto nxzVF; XppYX: $pluginOrderProperties["\x54\157\x6f\154\x62\x61\162\x53\x74\x61\164\x65\x41\x63\x74\151\157\156\163"] .= $op->Property->ToolbarStateActions; goto Fn6o8; sI0Er: $pluginCustomerProperties["\104\151\163\160\154\141\171\x50\154\x75\147\151\156"] .= $cp->Property->DisplayPlugin; goto EdqIP; Nksk9: $pluginOrderProperties["\124\157\x6f\x6c\x62\x61\x72\102\x75\164\x74\157\156\163"] .= $op->Property->ToolbarButtons; goto qVQg4; PGQRG: $pluginCmsProperties["\x54\x6f\157\154\x62\141\162\x41\x63\x74\x69\157\156\x73"] .= $op->Property->ToolbarActions; goto ocPPT; pSiYx: if (!in_array($tool, $scExtensions_toDisabledInScTools)) { goto n45vx; } goto vYDhs; UJknl: $pluginProductProperties["\x48\x69\x64\145\124\157\157\x6c\142\x61\x72\102\165\164\164\157\x6e\x73"] .= $pp->Property->HideToolbarButtons; goto gunPp; HjbqH: n45vx: goto glPlg; WhXJ7: nv5TC: goto I67Wl; hKXq1: $pluginCmsProperties["\x48\151\x64\x65\124\x6f\157\x6c\x62\x61\x72\102\165\x74\x74\157\156\163"] .= $op->Property->HideToolbarButtons; goto wGgIw; TjuiK: } goto Nle76; VJraF: $menu_js_action .= "\40\x77\151\156\144\157\167\56\x6f\160\145\x6e\50\x27" . getScExternalLink("\163\x75\160\160\x6f\162\x74\x5f\x63\162\x65\x61\x74\x69\x6e\147\137\x6f\x72\144\x65\162") . "\x27\51\x3b\40"; goto i3fpa; e1f2M: $menu_js_action .= "\151\146\40\50\151\x64\75\75\x27\x74\145\x61\x73\x65\162\137\x63\x75\x73\x5f\x65\x78\160\x6f\162\164\137\162\145\x61\144\x27\51\x7b\x20"; goto k0GJE; KACcS: $scModulesInfos = SCI::getScModulesInfos(); goto T0UsZ; TQamS: $menu_js_action .= "\12\x20\x20\40\40\40\x20\40\x20\40\40\40\40\175\12\40\40\x20\x20\40\x20\x20\40\40\40\40\40\40\151\x66\40\x28\151\144\75\75\47\143\x61\x74\x5f\143\141\x74\145\170\160\157\x72\x74\47\x29\x7b"; goto crU8F; em33c: if (!SC_TOOLS) { goto taTcn; } goto eeCm3; h5f9P: keW9l: goto WxPiW; sisTO: $menu_js_action .= "\12\x20\40\40\x20\40\x20\x20\40\40\40\40\x20\x20\40\x20\x20\175\12\x20\40\40\x20\x20\40\x20\40\x20\40\40\40\x20\x20\x20\40\151\146\40\50\151\x64\x3d\x3d\47\155\141\162\137\x73\x65\147\x6d\145\156\x74\x61\164\151\157\156\47\x20\174\x7c\40\x69\144\x3d\x3d\47\164\157\157\137\x73\x65\147\155\145\156\x74\141\164\151\x6f\156\x27\51\x7b\xa\40\x20\40\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\40\x69\x66\x20\50\41\144\x68\x78\127\151\x6e\x73\56\151\x73\127\x69\156\144\x6f\167\x28\47\164\157\157\154\163\123\145\147\x6d\x65\x6e\164\141\164\x69\x6f\x6e\127\x69\x6e\x64\157\167\x27\x29\x29\12\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\x20\40\x20\x7b\xa\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\40\x20\40\40\40\x20\164\157\x6f\x6c\x73\x53\x65\x67\155\145\156\x74\141\x74\151\157\x6e\x57\x69\156\x64\x6f\x77\40\75\40\x64\x68\x78\127\x69\156\163\x2e\143\162\145\141\164\x65\127\151\x6e\144\157\x77\50\47\x74\x6f\157\154\163\123\145\147\155\x65\156\x74\x61\164\151\x6f\156\127\151\156\144\x6f\167\47\x2c\x20\x35\60\x2c\40\x35\x30\54\x20\x24\x28\167\151\x6e\x64\x6f\167\x29\x2e\167\151\144\164\x68\50\x29\x2d\x31\x30\x30\54\40\x24\50\x77\x69\156\x64\157\x77\x29\x2e\150\x65\x69\147\x68\164\50\51\55\x31\60\60\x29\73\xa\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\164\x6f\x6f\154\163\x53\x65\147\155\x65\x6e\x74\141\164\151\x6f\x6e\127\151\x6e\144\157\x77\56\163\x65\164\x54\x65\170\164\50\47" . _l("\123\145\147\155\145\156\164\141\164\x69\x6f\156", 1) . "\x27\51\x3b\xa\x20\40\x20\40\x20\x20\40\x20\40\40\40\40\40\40\40\40\40\x20\40\x20\x20\40\40\x20\x74\x6f\x6f\154\163\x53\x65\x67\155\x65\x6e\x74\141\x74\151\x6f\x6e\x57\151\x6e\x64\157\167\x2e\x61\164\x74\141\143\150\105\166\145\x6e\x74\50\47\157\156\x43\154\157\x73\145\47\54\40\x66\165\x6e\x63\164\x69\x6f\156\50\167\151\156\x29\x7b\xa\40\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\40\40\x20\40\x74\157\157\x6c\x73\x53\x65\x67\155\145\x6e\164\141\164\x69\157\156\127\x69\x6e\144\x6f\167\x2e\150\151\x64\x65\x28\51\x3b\xa\40\x20\40\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\40\40\40\40\40\40\x20\40\x72\x65\x74\165\162\x6e\40\146\x61\154\163\145\x3b\12\x20\x20\x20\x20\x20\40\x20\40\x20\40\40\40\40\40\x20\40\40\x20\40\40\x20\x20\x20\40\40\40\x20\40\x7d\51\73\xa\40\x20\40\x20\x20\40\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\44\56\x67\x65\164\50\x27\151\156\144\x65\x78\56\160\x68\160\77\141\152\141\x78\x3d\61\46\x61\143\x74\75\141\154\154\x5f\167\x69\x6e\x2d\x73\145\147\x6d\145\x6e\164\141\164\151\x6f\x6e\x5f\x69\x6e\151\x74\x27\x2c\x66\165\x6e\143\164\151\157\156\x28\144\141\x74\x61\x29\173\12\40\40\x20\40\40\x20\x20\x20\x20\40\40\40\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\40\44\50\47\x23\152\x73\105\170\145\143\x75\164\x65\47\x29\56\x68\x74\x6d\x6c\x28\x64\141\x74\141\x29\73\12\40\x20\x20\40\40\40\x20\40\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\x20\40\x7d\51\x3b\12\xa\40\x20\40\40\x20\x20\x20\x20\40\40\40\x20\40\40\40\40\40\40\40\x20\x7d\x65\x6c\163\x65\x7b\12\40\40\x20\40\40\x20\x20\x20\40\x20\40\x20\40\40\40\40\x20\x20\x20\40\40\x20\x20\x20\44\x2e\147\145\x74\x28\x27\x69\156\144\x65\x78\56\x70\150\160\77\141\152\141\170\x3d\x31\x26\x61\143\164\x3d\141\154\154\137\167\x69\x6e\x2d\x73\x65\x67\x6d\x65\x6e\x74\x61\164\x69\x6f\x6e\137\x69\156\x69\x74\x27\x2c\146\x75\x6e\143\164\151\157\156\x28\x64\141\164\141\x29\173\12\40\40\40\40\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\40\x24\x28\x27\x23\152\x73\105\x78\145\143\165\x74\145\47\51\x2e\150\x74\155\154\50\144\x61\164\x61\51\73\xa\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\40\x20\x20\40\40\175\x29\x3b\xa\x20\40\40\x20\40\x20\40\40\40\40\40\x20\40\40\40\x20\40\40\x20\40\x20\x20\40\40\x74\157\157\154\163\123\145\147\x6d\x65\156\164\141\x74\x69\x6f\156\127\151\156\x64\157\167\x2e\163\x68\x6f\x77\50\51\73\12\40\x20\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\x7d\12\x20\40\x20\40\x20\x20\40\40\40\x20\x20\40\40\x20\40\x20\x7d\xa\40\x20\40\40\40\x20\40\40\40\40\x20\40\40\x20\40\40\151\146\x20\50\x69\144\75\x3d\x27\x74\x65\141\163\145\x72\x5f\163\x65\147\x6d\145\x6e\164\x61\x74\151\157\x6e\x5f\162\145\x61\144\x27\40\x7c\x7c\x20\x69\x64\75\x3d\47\164\x6f\x6f\137\164\145\141\163\145\162\137\163\145\147\155\145\156\164\141\x74\x69\x6f\x6e\137\162\x65\141\144\47\51\x7b\12\x20\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\40\40\x20\151\146\40\x28\41\x64\x68\170\127\151\x6e\x73\x2e\151\x73\x57\x69\156\x64\157\x77\x28\47\x77\123\145\x67\124\162\x69\141\x6c\127\151\156\144\157\x77\47\x29\51\xa\x20\40\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\173\xa\40\x20\x20\40\x20\40\x20\40\40\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\167\x53\x65\147\124\162\x69\141\154\127\151\156\144\x6f\167\40\75\40\x64\x68\170\127\151\156\x73\56\143\162\x65\141\164\145\127\x69\156\x64\x6f\x77\x28\x27\x77\123\145\147\124\162\151\141\x6c\127\x69\156\x64\x6f\167\x27\54\40\65\x30\54\40\x35\x30\x2c\x20\x36\67\60\x2c\40\x35\x35\x30\51\73\xa\40\x20\40\40\x20\40\x20\40\40\x20\x20\40\40\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x77\123\x65\147\x54\x72\151\x61\x6c\127\151\156\144\x6f\167\x2e\163\145\x74\124\145\x78\x74\50\47" . _l("\123\x65\x67\155\145\156\164\x73\40\155\x61\156\141\147\145\155\x65\x6e\164", 1) . "\47\51\73\xa\40\x20\x20\40\x20\x20\x20\40\40\40\40\x20\x20\40\x20\40\x20\40\40\x20\175\xa\40\x20\x20\x20\40\40\40\40\x20\40\40\40\40\x20\x20\40\x20\40\40\x20\167\123\145\x67\x54\x72\151\x61\x6c\x57\x69\156\x64\x6f\167\x2e\141\x74\x74\x61\x63\x68\125\x52\x4c\50\x27\151\x6e\144\145\x78\56\x70\x68\x70\x3f\141\x6a\141\x78\75\61\46\x61\143\x74\x3d\x61\154\x6c\137\x67\145\x74\x74\162\151\141\154\x74\x69\155\145\x26\151\x64\137\154\141\x6e\147\75\47\x2b\x53\103\x5f\111\104\x5f\x4c\101\x4e\x47\x2b\x27\46\x69\164\145\155\75\x73\145\x67\x6d\145\156\x74\141\x74\151\x6f\156\x27\x29\73\xa\x20\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\40\x20\x7d"; goto ytjaS; YOmRH: irXDW: goto AHjGz; hZaNx: $menu_js_action .= "\xa\40\40\x20\40\x20\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\x77\x56\101\x54\x53\143\150\145\144\x75\x6c\x65\x72\x2e\141\x74\164\141\143\x68\105\x76\145\x6e\x74\50\x27\157\156\103\154\157\163\x65\47\x2c\40\x66\165\x6e\143\x74\151\157\156\x28\167\x69\x6e\x29\173\xa\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\x77\126\101\124\123\143\150\145\x64\165\x6c\x65\x72\x2e\150\x69\x64\145\x28\51\73\xa\40\40\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\x7d\x29\x3b\xa\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\40\x7d"; goto LaSzI; XP2Pr: $prop_toolbar_js_action = "\x70\x72\157\160\137\x74\142\x2e\137\163\142\x2e\x73\145\164\x54\x65\x78\164\x28\47\x27\51\x3b"; goto U3rez; kpnUP: if (!(\Sc\Service\ScService::exists("\163\x68\151\x70\160\151\156\147\x62\x6f", true) && _r("\x4d\105\116\x55\137\123\x48\x49\x50\120\x49\x4e\107\x42\x4f"))) { goto HZk8r; } goto WMQs_; hCuoT: RkiaT: goto HamJ6; i3gVH: $menu_js_action .= "\xa\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x69\146\x20\50\x21\144\x68\x78\127\x69\156\x73\x2e\x69\163\x57\x69\156\144\x6f\167\x28\x27\167\x49\x6d\160\x6f\162\x74\x43\x75\163\47\x29\x29\x20\173\12\40\x20\40\40\40\x20\x20\40\40\x20\40\40\x20\40\40\40\40\40\40\40\167\x49\155\x70\x6f\162\164\x43\x75\x73\40\x3d\x20\x64\x68\170\x57\x69\x6e\x73\56\143\x72\x65\x61\164\x65\127\x69\156\x64\157\x77\50\47\x77\111\x6d\160\157\x72\164\103\x75\x73\x27\x2c\40\65\x30\x2c\40\65\60\x2c\x20\x31\x31\60\x30\x2c\x20\x24\50\x77\151\156\144\x6f\x77\x29\x2e\x68\x65\151\147\150\164\x28\51\55\x37\65\x29\x3b\12\40\40\40\40\x20\40\40\40\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\x77\111\x6d\x70\x6f\162\164\103\x75\x73\x2e\x73\x65\164\x54\145\x78\x74\50\x27" . _l("\111\155\160\x6f\x72\164\x20\55\40\102\x61\143\153\165\x70\40\x79\x6f\165\162\x20\142\x61\x73\145\x20\x62\x65\x66\157\162\x65\x20\x61\156\171\40\x6d\141\x73\x73\x20\165\x70\144\141\x74\145\x21", 1) . "\x27\x29\73\12\x20\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\x20\40\x20\40\x20\x24\56\147\x65\164\x28\x27\x69\156\x64\x65\x78\56\160\x68\x70\x3f\x61\152\141\x78\75\61\x26\141\143\164\x3d\143\165\163\137\167\151\x6e\55\151\x6d\160\157\x72\x74\x5f\x69\156\151\164\x27\x2c\146\165\156\x63\164\151\x6f\156\50\144\141\164\141\51\173\12\x20\x20\40\40\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\x20\40\x24\x28\x27\43\152\x73\105\x78\x65\x63\x75\x74\145\47\51\56\150\164\x6d\154\50\144\x61\164\141\x29\73\xa\40\40\40\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\40\40\x20\40\x20\x20\x7d\51\x3b\12\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\40\167\111\155\x70\157\x72\164\x43\165\x73\x2e\x61\164\164\141\143\x68\105\x76\145\x6e\x74\50\x27\x6f\156\x43\x6c\x6f\x73\x65\47\x2c\40\x66\165\156\x63\164\151\157\156\x28\x77\x69\156\x29\173\xa\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\40\40\40\40\40\x20\x77\x49\155\160\157\162\x74\x43\x75\x73\x2e\150\x69\144\145\50\51\73\xa\40\x20\x20\x20\x20\40\x20\x20\40\40\40\x20\x20\40\40\x20\x20\40\40\40\40\40\40\40\40\x20\x20\40\162\x65\x74\165\162\156\x20\146\x61\x6c\163\x65\x3b\xa\x20\x20\40\40\x20\x20\40\x20\40\40\x20\40\40\40\40\40\40\x20\40\x20\x20\x20\40\40\175\x29\73\12\40\40\40\x20\x20\40\40\40\x20\40\x20\40\x20\x20\x20\40\175\x65\154\x73\145\173\xa\x20\40\40\40\40\40\x20\40\x20\x20\x20\40\40\x20\40\40\40\x20\40\40\x24\56\x67\145\164\x28\47\151\156\x64\x65\170\56\160\x68\160\x3f\x61\152\x61\x78\x3d\x31\x26\141\x63\x74\x3d\143\165\x73\x5f\x77\151\x6e\x2d\151\x6d\160\x6f\162\164\137\x69\156\151\164\x27\x2c\146\x75\x6e\143\x74\x69\x6f\156\50\x64\x61\164\141\51\x7b\xa\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\40\40\40\x20\40\40\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x24\x28\47\43\x6a\163\x45\x78\145\143\165\x74\145\x27\51\x2e\150\x74\155\154\x28\144\x61\164\141\51\73\12\x20\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\x7d\51\x3b\12\40\40\x20\40\x20\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\40\x20\40\167\x49\x6d\x70\157\x72\164\x43\x75\x73\x2e\163\x68\x6f\167\x28\51\x3b\12\x20\40\x20\40\40\40\x20\40\40\40\40\40\40\40\x20\x20\175\xa\40\40\40\x20\x20\x20\40\40\40\x20\40\40"; goto SmsZZ; IZn3D: $pluginOrderProperties["\x54\x69\164\x6c\145"] = trim(trim($pluginOrderProperties["\x54\151\164\x6c\145"]), "\x2c"); goto ryZrV; xwLfw: $menu_js_action .= "\x20\x69\x66\x20\50\x63\x6f\156\x66\151\162\155\50\47" . _l("\101\x72\x65\40\171\x6f\165\x20\163\x75\162\x65\x20\x79\157\x75\x20\x77\x61\156\x74\40\164\157\40\x72\145\163\145\x74\x20\x61\x6c\x6c\x20\160\x72\151\143\x65\163\40\x64\162\157\x70\x3f", 1) . "\47\51\x29\xa\x20\40\40\40\x20\40\40\40\x20\x20\x20\x20\40\40\40\40\173\12\40\40\x20\40\x20\40\40\x20\x20\40\40\x20\40\40\x20\x20\40\x20\x20\40\x24\x2e\x67\x65\164\x28\x27\x69\x6e\x64\x65\170\56\x70\x68\160\77\x61\152\141\170\75\x31\x26\141\143\164\75\143\x61\x74\x5f\x72\x65\x73\145\x74\160\x72\x69\143\145\x64\162\157\x70\x26\141\143\x74\151\157\x6e\75\144\x65\x6c\x73\x61\154\x65\163\x27\x2c\40\x66\165\156\x63\x74\x69\157\156\50\x64\x61\164\141\x29\x7b\12\40\40\x20\40\x20\40\40\40\x20\40\40\x20\x20\40\40\40\40\40\40\x20\x20\40\40\40\40\40\x64\x69\x73\160\x6c\141\x79\x50\162\157\144\x75\143\164\x73\50\51\x3b\12\40\40\40\40\40\40\40\40\x20\40\x20\40\x20\x20\40\x20\x20\40\40\40\x20\40\x20\x20\175\51\73\12\x20\40\40\40\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\x7d\x20"; goto kveBM; o1fBi: if (!(!empty($shops) && count($shops) > 1)) { goto AsiAr; } goto d7quG; od80x: $tmps = explode("\55", $ids); goto YxUOJ; RaYGJ: $tmps = explode("\x2d", $ids); goto eyMl5; NJAVG: SULyP: goto RaYGJ; OhDyM: if (!empty($ids)) { goto jGopF; } goto D0POU; Rin3L: Y84k9: goto Lb328; t85ZV: $ids = Tools::getValue("\x6f\160\x65\156\137\163\165\160\x5f\x67\162\151\x64", 0); goto OhDyM; OBWOO: if (!SCMS) { goto kgY_i; } goto phXej; T0UsZ: $menuConfiguration = array("\124\x6f\x6f\154\163" => '', "\x54\x6f\157\x6c\163\101\143\164\151\157\x6e\x73" => ''); goto em33c; cJ_1m: $menu_js_action .= "\40\x77\x69\156\144\157\167\56\x6f\160\145\156\x28\x27" . getScExternalLink("\x65\x78\160\x6f\x72\164\137\157\x72\144\x65\162\x73\x5f\160\162\x6f") . "\x27\x29\x3b\xa\x20\x20\40\x20\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\40\40\160\x75\163\150\x4f\156\x65\x55\x73\141\x67\x65\50\x27\155\145\156\x75\x2d\x62\x6f\55\x6c\151\156\x6b\55\x73\x63\x71\x75\x69\x63\x6b\x61\143\143\x6f\x75\156\164\x69\x6e\x67\x27\x29\73\x20"; goto qkkVH; J5D6J: $tmps = explode("\x2d", $ids); goto MIB5Q; WGqEi: $menu_js_action .= "\x69\x66\x20\50\151\x64\75\75\x27\x63\155\163\x5f\x74\x72\x65\145\47\x29\x7b\xa\40\x20\40\40\x20\x20\x20\40\151\x66\50\123\x43\x5f\120\x41\107\x45\x3d\75\47\143\155\x73\x5f\164\x72\x65\x65\x27\51\xa\x20\x20\x20\x20\40\40\x20\40\x7b\xa\x20\40\40\40\x20\40\40\x20\40\40\x20\x20\151\146\40\50\143\x61\163\123\164\x61\164\145\56\x63\x74\162\154\x20\75\x3d\40\164\162\165\x65\51\40\173\12\40\x20\40\40\40\x20\40\x20\40\x20\40\x20\40\x20\x20\40\x77\151\156\x64\157\x77\x2e\x6f\160\x65\156\x28\47\151\x6e\144\145\170\x2e\160\150\160\77\x70\x61\147\x65\75\143\x6d\163\x5f\x74\x72\x65\145\x27\x29\x3b\xa\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x7d\x20\x65\154\x73\145\40\x7b\12\x20\x20\x20\x20\40\x20\40\40\40\40\40\40\x20\x20\40\40\x74\x72\x65\x65\137\x6d\157\x64\145\75\47\163\x69\x6e\x67\x6c\x65\47\73\xa\40\x20\40\40\x20\x20\40\40\x20\x20\40\40\40\40\x20\x20\x63\x6d\x73\x2e\x63\145\x6c\x6c\x73\50\47\x61\x27\x29\x2e\x65\170\160\x61\156\x64\x28\51\x3b\12\40\40\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\40\40\40\x63\x6d\163\137\x74\x62\x2e\x73\x65\x74\x49\164\x65\155\123\164\141\164\x65\50\47\167\x69\164\150\x53\x75\x62\x43\x61\164\145\x67\x27\54\40\146\141\154\x73\145\54\40\164\x72\165\145\51\x3b\12\x20\x20\40\x20\40\x20\x20\40\x20\40\40\40\40\40\x20\40\143\155\163\x5f\x70\141\147\145\x50\x61\x6e\145\x6c\x2e\163\x65\164\x54\145\170\x74\x28\x27" . _l("\x43\155\163", 1) . "\40" . _l("\x6f\x66", 1) . "\47\x2b\143\x6d\x73\x5f\x74\162\x65\145\56\x67\145\164\111\164\145\155\x54\x65\x78\x74\x28\143\155\x73\163\x65\154\x65\143\164\x69\x6f\156\51\x29\x3b\12\40\40\x20\40\40\40\x20\x20\x20\x20\x20\x20\x7d\xa\x20\x20\40\40\40\40\40\x20\175\145\x6c\163\x65\173\12\x20\x20\x20\40\40\40\x20\x20\40\x20\40\40\x69\146\x20\50\x63\x61\x73\123\164\141\x74\x65\x2e\x63\x74\x72\154\40\x3d\x3d\40\x74\162\165\x65\x29\x20\x7b\xa\40\x20\40\x20\x20\40\40\x20\x20\x20\40\40\x20\40\x20\x20\x77\151\156\144\157\x77\56\157\160\x65\x6e\x28\47\x69\156\x64\145\170\x2e\160\x68\160\77\x70\141\x67\x65\x3d\x63\x6d\163\137\x74\x72\145\x65\47\x29\73\12\x20\40\x20\40\40\x20\x20\x20\40\40\40\40\x7d\x20\x65\x6c\163\x65\40\x7b\xa\x20\40\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\40\144\x6f\143\165\155\x65\156\164\56\154\x6f\143\141\x74\151\157\x6e\75\47\151\156\144\145\x78\56\160\x68\160\x3f\x70\141\147\145\x3d\143\x6d\x73\x5f\x74\x72\145\x65\x27\73\12\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x7d\12\x20\x20\x20\x20\x20\40\40\x20\x7d\xa\40\x20\x20\x20\x7d"; goto OBWOO; Kur24: $menu_js_action .= "\151\146\x20\50\151\144\75\75\47\x65\x73\145\162\x76\x69\x63\145\163\x27\x29\x7b\12\x20\40\40\x20\x20\40\40\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\151\146\x20\50\x21\x64\150\x78\127\151\x6e\x73\x2e\x69\163\127\x69\156\144\x6f\x77\x28\47\167\145\123\x65\162\x76\x69\143\x65\163\47\51\51\xa\x20\40\x20\x20\x20\40\40\40\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\173\12\x20\40\40\40\40\40\40\40\x20\40\x20\40\40\40\x20\40\x20\40\x20\40\x20\x20\40\x20\167\145\x53\145\162\166\151\143\145\163\x20\75\40\x64\150\170\127\151\156\x73\56\x63\x72\145\141\x74\x65\x57\151\156\x64\157\x77\x28\47\167\145\123\145\162\x76\x69\143\x65\x73\47\x2c\40\x35\x30\x2c\40\x35\60\x2c\x20\x24\x28\x77\151\x6e\x64\x6f\x77\x29\x2e\x77\151\x64\164\x68\50\x29\55\67\x35\x2c\40\x24\x28\167\151\156\144\x6f\x77\51\56\150\145\151\x67\150\164\x28\x29\55\x37\65\51\73\xa\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\40\40\40\40\x20\40\40\40\x20\40\167\x65\x53\145\162\x76\x69\x63\x65\x73\56\163\145\164\124\x65\x78\164\x28\47" . _l("\x65\55\x53\145\x72\166\x69\x63\145\163", 1) . "\40\x2d\x20" . _l("\x4d\x61\x6e\x61\x67\x69\x6e\x67\x20\171\x6f\165\x72\x20\141\144\x64\157\156\163\40\x61\x6e\144\40\163\x65\x72\166\151\x63\x65\x73", 1) . "\x27\51\x3b\12\40\40\x20\40\40\40\x20\x20\40\40\40\x20\40\x20\40\40\40\x20\40\40\x20\x20\x20\x20\44\x2e\x67\145\x74\50\x27\x69\156\x64\x65\170\x2e\x70\150\160\x3f\x61\152\x61\x78\75\61\x26\141\x63\164\x3d\x61\154\x6c\137\146\x69\172\172\x5f\167\151\x6e\55\143\x61\x72\x74\x5f\x69\x6e\x69\x74\47\54\146\165\156\143\x74\151\x6f\156\x28\144\x61\164\141\x29\173\12\x20\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\44\x28\x27\43\x6a\x73\105\170\145\x63\x75\x74\145\47\51\x2e\x68\x74\155\154\x28\x64\141\x74\x61\x29\73\xa\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\x20\40\175\x29\73\12\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\40\175\145\154\163\145\x7b\12\40\x20\x20\x20\x20\x20\40\40\x20\40\40\x20\40\x20\x20\x20\40\x20\40\40\x20\40\x20\40\167\x65\123\145\162\x76\x69\x63\x65\x73\56\x73\x68\157\167\50\x29\73\xa\40\40\x20\40\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\175\xa\x20\40\40\x20\40\40\40\40\40\x20\x20\x20\40\40\x20\40\175\12\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40"; goto cHiwj; WxPiW: if (!($menuConfiguration["\124\157\157\x6c\163"] != '')) { goto u9KqJ; } goto Dgocs; iwIex: $title = _l("\45\163\40\155\141\x6e\x61\147\x65\155\x65\x6e\x74", 1, array("\74\x73\160\x61\x6e\40\x63\x6c\x61\x73\163\x3d\42\x73\150\151\160\x70\x69\x6e\147\x62\157\x2d\x74\x69\164\154\145\x22\x3e\123\x68\151\x70\160\151\156\147\142\x6f\74\x2f\163\160\x61\156\76")); goto RrblS; WMQs_: $guide = Tools::getIsset("\147\165\x69\144\145") ? "\77\x67\x75\x69\x64\145" : ''; goto iwIex; ypCEo: $menu_js_action .= "\144\150\x74\155\154\170\56\x6d\145\x73\163\141\x67\145\x28\x7b\164\x65\x78\164\x3a\47" . _l("\124\157\x20\x72\165\156\40\145\x78\x70\x6f\162\x74\163\54\x20\171\157\165\x20\156\145\145\x64\x20\164\157\x20\151\x6e\163\x74\141\x6c\x6c\40\163\x61\155\x70\x6c\145\x73\x20\x66\151\x6c\145\163\40\146\x72\157\155\40\124\157\157\x6c\x73\x20\x3e\40\x49\x6e\163\164\x61\154\x6c\141\x74\x69\x6f\156", 1) . "\x3c\x62\x72\x2f\76\x3c\141\40\x74\x61\162\x67\145\164\75\x22\137\142\x6c\141\156\x6b\42\40\150\x72\x65\146\75\42" . getScExternalLink("\163\x75\160\x70\x6f\162\x74\x5f\143\x73\x76\137\x65\x78\160\x6f\x72\x74\137\151\x6e\163\164\x61\x6c\x6c") . "\42\x3e" . _l("\x52\x65\141\144\x20\155\157\162\145", 1) . "\x3c\x2f\x61\x3e\x27\54\164\x79\160\x65\72\x27\x65\x72\162\157\x72\x27\175\x29\x3b"; goto XzuKP; MrVfn: if (version_compare(_PS_VERSION_, "\61\56\65\x2e\60\x2e\60", "\76\x3d")) { goto zOfEq; } goto RfHu2; EY8rw: $menu_js_action .= "\12\x20\x20\40\x20\40\40\40\x20\x20\40\40\x20\40\40\40\x20\151\x66\x20\50\151\x64\x3d\x3d\x27\x68\x65\154\x70\x5f\142\165\x67\47\x29\x7b\xa\x20\40\x20\x20\40\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x69\x66\50\x21\x21\167\x69\x6e\144\x6f\x77\x2e\111\x6e\164\x65\x72\x63\x6f\x6d\51\40\x7b\xa\x20\40\x20\40\x20\x20\40\40\40\x20\40\x20\40\x20\40\40\40\x20\40\40\x20\x20\x20\x20\111\156\x74\x65\162\x63\x6f\x6d\50\x27\x73\150\x6f\x77\116\145\x77\x4d\145\163\163\141\147\145\47\51\73\12\x20\40\40\40\40\x20\40\40\40\40\40\40\x20\x20\40\40\40\40\40\40\x7d\x20\145\154\163\x65\x20\x7b\xa\x20\x20\40\x20\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\40\40\40\x20\40\x20\40\x20\x20\167\x69\x6e\x64\157\x77\x2e\157\x70\x65\156\x28\x27" . getScExternalLink("\143\x6f\156\164\141\x63\164") . "\46\x65\155\141\x69\154\x3d" . $sc_agent->email . "\46\146\x69\162\163\x74\156\141\x6d\x65\75" . urlencode($sc_agent->firstname) . "\46\156\x61\x6d\145\x3d" . urlencode($sc_agent->lastname) . "\x27\51\x3b\xa\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\175\xa\40\40\40\x20\40\40\40\x20\x20\x20\x20\40\40\40\x20\40\175\xa\40\40\40\40\40\x20\40\x20\40\40\x20\40\x20\40\40\x20\151\x66\40\50\x69\144\75\x3d\x27\x68\145\x6c\x70\x5f\x75\x70\144\141\164\x65\163\47\40\174\x7c\x20\151\144\75\x3d\47\x68\x65\x6c\160\x5f\x75\x70\144\x61\x74\145\x73\x32\47\x29\173\xa\x20\x20\40\40\40\40\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\x77\x69\156\144\x6f\167\x2e\x6f\x70\x65\156\x28\x27" . getScExternalLink("\163\x75\x70\160\157\162\164\137\x75\160\144\x61\x74\145\x5f\150\x69\163\164\x6f\162\x79") . "\47\x29\x3b\12\x20\x20\x20\40\40\x20\x20\40\x20\40\40\40\x20\40\x20\x20\x7d\xa\40\x20\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\151\x66\40\x28\x69\x64\x3d\75\47\166\145\x72\163\151\x6f\156\47\x20\174\174\x20\151\x64\x3d\75\47\x76\x65\162\x73\151\x6f\156\x32\47\51\173\12\x20\40\40\x20\40\40\40\40\x20\x20\40\x20\40\40\40\x20\40\40\x20\40\x69\146\40\x28\x21\144\150\170\127\151\x6e\163\x2e\151\x73\127\x69\156\144\157\x77\50\x27\x77\x43\x6f\x72\145\x55\160\144\x61\164\x65\x27\x29\x29\xa\x20\40\x20\40\x20\x20\40\x20\40\40\40\40\40\x20\x20\x20\40\x20\40\40\173\12\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\40\40\40\40\x20\167\103\x6f\162\x65\125\x70\144\x61\x74\x65\40\x3d\x20\144\150\x78\x57\x69\x6e\163\56\x63\x72\145\x61\164\145\x57\x69\x6e\x64\157\167\x28\x27\x77\x43\157\162\145\125\x70\x64\141\164\x65\47\54\40\65\x30\x2c\40\65\x30\54\x20\x39\x30\x30\54\x20\x24\x28\x77\x69\156\144\x6f\167\x29\56\x68\145\x69\147\150\x74\50\51\55\67\65\51\73\xa\40\40\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\x77\103\x6f\x72\145\125\x70\x64\141\x74\x65\56\163\x65\x74\x54\x65\170\x74\50\47" . _l("\x53\x74\157\x72\x65\40\103\157\x6d\155\x61\156\x64\145\162\40\x75\160\x64\x61\164\145", 1) . "\47\51\x3b\xa\40\x20\x20\x20\40\40\x20\x20\40\40\40\40\40\40\40\x20\40\40\x20\40\x20\x20\x20\x20\167\103\157\x72\145\125\160\144\141\164\x65\56\x61\164\164\x61\x63\150\x55\x52\x4c\50\47\151\156\144\145\x78\x2e\x70\x68\160\77\x61\x6a\x61\170\x3d\x31\46\x61\143\164\x3d\143\x6f\x72\145\x5f\x75\x70\144\x61\x74\145\47\51\x3b\xa\x20\40\40\40\x20\40\x20\x20\40\40\x20\x20\x20\40\40\40\x20\40\40\40\40\40\40\40\x77\103\157\162\x65\125\x70\144\x61\x74\145\x2e\163\x65\x74\x4d\x6f\144\x61\154\50\x74\162\165\145\51\73\xa\40\40\x20\40\40\x20\x20\40\40\x20\x20\x20\40\40\x20\40\x20\40\40\40\175\x65\x6c\163\x65\x7b\xa\x20\x20\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\40\x77\103\x6f\162\x65\x55\x70\144\x61\164\145\x2e\x73\x68\x6f\x77\x28\x29\x3b\12\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\x20\40\40\40\x7d\12\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\x7d\12\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\40\x20\151\x66\40\50\x69\144\75\75\47\143\141\164\137\x72\145\142\x75\x69\154\144\x73\165\155\163\164\x6f\143\153\x27\x29\173\xa\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\40\40\44\56\147\x65\x74\50\x27\x69\156\144\145\x78\x2e\160\150\x70\x3f\x61\x6a\x61\x78\75\61\46\141\x63\x74\x3d\x63\x61\164\x5f\162\x65\x62\165\151\154\x64\x73\x75\155\163\164\x6f\x63\153\47\54\x66\165\156\143\x74\x69\x6f\x6e\50\x64\141\x74\x61\x29\x7b\xa\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\40\40\40\40\40\x20\x64\x68\x74\155\x6c\170\x2e\155\145\163\163\x61\147\x65\50\x7b\164\x65\170\x74\x3a\144\x61\x74\141\54\x74\x79\160\x65\x3a\47\151\156\x66\x6f\47\x2c\145\x78\x70\x69\162\145\72\65\x30\60\x30\x7d\x29\x3b\12\40\x20\40\40\x20\x20\x20\x20\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\x20\x20\x7d\51\x3b\12\40\40\x20\40\40\x20\x20\x20\40\x20\40\40\x20\40\x20\40\x7d\xa\x20\x20\40\x20\40\40\40\40\x20\x20\x20\40\x20\40\x20\x20\151\146\40\x28\151\144\x3d\x3d\47\x63\x61\x74\137\162\145\x62\165\151\x6c\144\154\x65\x76\x65\154\x64\x65\x70\x74\x68\47\51\173\12\x20\40\x20\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\x20\40\40\151\x66\40\x28\41\x64\150\x78\127\x69\x6e\163\56\151\163\127\151\x6e\144\x6f\x77\50\x27\167\x52\145\142\x75\x69\x6c\144\x4c\x65\x76\x65\154\104\145\x70\164\150\x27\x29\x29\xa\40\40\40\x20\40\x20\40\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\40\x20\x7b\12\x20\x20\x20\x20\x20\40\40\40\40\40\x20\40\x20\x20\40\40\40\x20\x20\40\40\x20\40\x20\x77\122\145\142\x75\151\x6c\x64\114\x65\166\x65\154\104\145\160\164\150\40\x3d\40\144\x68\x78\127\151\156\163\56\143\x72\x65\x61\x74\x65\127\x69\156\144\x6f\167\50\x27\167\x52\x65\142\x75\x69\x6c\144\x4c\x65\166\x65\x6c\x44\x65\x70\x74\x68\x27\x2c\x20\62\60\x30\x2c\40\61\60\x30\x2c\40\x34\60\60\54\40\x32\65\x30\51\x3b\xa\40\x20\x20\40\40\40\40\40\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\167\122\x65\142\165\x69\154\144\114\x65\x76\145\x6c\x44\x65\x70\x74\150\x2e\163\145\x74\x54\x65\x78\164\50\x27" . _l("\103\150\145\x63\153\x20\141\x6e\x64\x20\x66\x69\170\40\x63\141\164\x65\147\157\x72\x69\x65\163", 1) . "\47\51\x3b\xa\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\40\40\40\40\40\x20\40\x20\167\x52\x65\142\x75\x69\x6c\144\114\x65\166\145\154\x44\145\x70\x74\x68\56\141\x74\x74\141\x63\150\105\166\x65\x6e\164\50\47\157\x6e\x43\x6c\x6f\163\145\47\54\40\x66\x75\156\x63\164\151\x6f\156\50\x77\x69\x6e\51\x7b\xa\40\40\40\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x20\167\x52\145\142\165\151\154\x64\x4c\145\166\x65\x6c\104\145\160\164\150\x2e\150\151\144\145\50\x29\x3b\12\40\x20\40\x20\40\40\40\x20\x20\x20\x20\40\40\40\40\40\40\x20\x20\x20\40\x20\40\40\40\x20\x20\x20\40\x20\x20\40\162\145\x74\x75\162\x6e\x20\146\141\x6c\163\145\73\xa\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\x7d\x29\x3b\xa\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\40\40\x20\40\40\44\56\160\x6f\x73\x74\50\x27\x69\x6e\x64\x65\170\56\160\x68\160\77\141\x6a\141\170\75\61\x26\141\x63\x74\75\x63\141\x74\137\x77\151\x6e\x2d\162\x65\142\x75\x69\154\144\x6c\x65\166\145\x6c\144\x65\160\164\150\137\151\x6e\151\164\x27\x2c\146\165\x6e\143\164\151\x6f\156\50\144\141\x74\141\51\x7b\12\x20\x20\40\x20\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\44\x28\47\43\152\x73\x45\170\145\x63\x75\164\x65\x27\51\x2e\150\x74\x6d\154\50\144\141\x74\141\x29\73\12\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\40\x20\40\x20\40\40\x20\x20\x20\175\51\x3b\xa\xa\x20\40\40\x20\x20\x20\x20\x20\40\40\40\40\40\40\x20\x20\40\x20\x20\40\x7d\x65\154\163\x65\173\xa\x20\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\40\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\44\x2e\160\157\163\164\x28\47\x69\x6e\x64\x65\x78\x2e\x70\150\x70\77\141\152\141\x78\x3d\x31\x26\x61\143\164\x3d\143\141\x74\x5f\x77\151\156\55\x72\145\x62\x75\151\x6c\144\x6c\x65\x76\x65\x6c\144\x65\x70\x74\x68\137\x69\x6e\151\x74\x27\x2c\x66\x75\156\x63\164\151\x6f\156\50\x64\141\164\141\51\173\12\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\40\x20\