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 use Tygh\Registry; use Tygh\Settings; use Tygh\SoftSolid\SsDeepl\LoggerAddons; use..
Decoded Output download
<?php
use Tygh\Registry; use Tygh\Settings; use Tygh\SoftSolid\SsDeepl\LoggerAddons; use Tygh\SoftSolid\SsDeepl\LicenseAddons; use Tygh\SoftSolid\SsDeepl\SettingsExtended; goto gSbnR; sK8AH: function fn_ss_deepl_update_product_pre(&$product_data, $product_id, $lang_code, $can_update) { goto UNjsO; tVk8G: goto eiR3g; goto feziC; azN9G: R2yNk: goto lva14; n0lXv: zvdM6: goto yMR9Y; gdnEj: $current_product_data = db_get_row("SELECT * FROM ?:product_descriptions WHERE product_id = ?i AND lang_code = ?s", $product_id, DESCR_SL); goto LoEk1; feziC: jUZgn: goto TB90e; EE7MP: $product_fields_array = array("product", "full_description", "short_description", "search_words", "promo_text", "page_title", "meta_keywords", "meta_description"); goto gdnEj; krGcq: if (empty($current_changed_fields)) { goto jUZgn; } goto NODE1; TB90e: $current_changed_fields = array(); goto uqNB5; uqNB5: eiR3g: goto UFp6u; Toslm: $product_data["ss_deepl_changed_fields"] = serialize($current_changed_fields); goto azN9G; UNjsO: $company_id = db_get_field("SELECT company_id FROM ?:products WHERE product_id = ?i", $product_id); goto MwI8L; NODE1: $current_changed_fields = unserialize($current_changed_fields); goto tVk8G; bj1jV: if (!($addon_params["ss_deepl_auto_translate"] == "auto")) { goto ZC4tu; } goto EE7MP; UFp6u: foreach ($product_fields_array as $key => $field_name) { goto U0HQa; v_z7E: $product_data["ss_deepl_auto_translate"] = "Y"; goto CmAuV; nCpAk: if (isset($current_changed_fields[$field_name])) { goto o78Tn; } goto tK2Ab; wl3n7: YkIFG: goto Sa4_M; H0dgp: o78Tn: goto v_z7E; CmAuV: TE5YZ: goto wl3n7; tK2Ab: $current_changed_fields[$field_name] = "Y"; goto H0dgp; U0HQa: if (!($current_product_data[$field_name] != $product_data[$field_name])) { goto TE5YZ; } goto nCpAk; Sa4_M: } goto n0lXv; MwI8L: $addon_params = fn_ss_deepl_get_options($company_id); goto bj1jV; lva14: ZC4tu: goto Rzfek; LoEk1: $current_changed_fields = db_get_field("SELECT ss_deepl_changed_fields FROM ?:products WHERE product_id = ?i", $product_id); goto krGcq; yMR9Y: if (empty($current_changed_fields)) { goto R2yNk; } goto Toslm; Rzfek: } goto cMwRg; bRlJr: m63vH: goto S3aBF; cMwRg: function fn_ss_deepl_get_company_data_post($company_id, $lang_code, $extra, &$company_data) { goto gghTM; JHu0P: $company_data["ss_deepl"]["ss_deepl_api_key"] = SettingsExtended::instance()->getValue("ss_deepl_api_key", "ss_deepl", $company_id); goto a82it; GkQUz: $company_data["ss_deepl"]["ss_deepl_redirect_target_lang"] = SettingsExtended::instance()->getValue("ss_deepl_redirect_target_lang", "ss_deepl", $company_id); goto YEncL; ofrHg: $company_data["ss_deepl"]["ss_deepl_auto_translate"] = SettingsExtended::instance()->getValue("ss_deepl_auto_translate", "ss_deepl", $company_id); goto FFBSo; CBSps: $company_data["ss_deepl"] = array(); goto JHu0P; W5Nho: I_PCJ: goto w6sZk; FFBSo: $company_data["ss_deepl"]["ss_deepl_auto_translate_items"] = SettingsExtended::instance()->getValue("ss_deepl_auto_translate_items", "ss_deepl", $company_id); goto GkQUz; YEncL: $company_data["ss_deepl"]["ss_deepl_from_language"] = SettingsExtended::instance()->getValue("ss_deepl_from_language", "ss_deepl", $company_id); goto X33DT; gghTM: if (!((AREA == "A" || AREA == "V") && $_REQUEST["dispatch"] == "companies.update")) { goto I_PCJ; } goto CBSps; a82it: $company_data["ss_deepl"]["ss_deepl_service"] = SettingsExtended::instance()->getValue("ss_deepl_service", "ss_deepl", $company_id); goto ofrHg; X33DT: $company_data["ss_deepl"]["ss_deepl_to_language"] = SettingsExtended::instance()->getValue("ss_deepl_to_language", "ss_deepl", $company_id); goto W5Nho; w6sZk: } goto mVkeD; yhE9U: function fn_ss_deepl_clear_cache_post($type, $extra) { goto jMnm5; QOa2U: if (!is_array($settings_serialize)) { goto MtHX3; } goto JYr_p; jMnm5: if (!(fn_allowed_for("MULTIVENDOR") || fn_allowed_for("ULTIMATE"))) { goto n47mm; } goto Lvb1Z; JYr_p: foreach ($settings_serialize as $object) { goto qBeZC; tLFED: RvyaW: goto qI4Ru; gmc8h: db_query("REPLACE INTO ?:settings_vendor_values ?e", $object); goto tLFED; qBeZC: $object_id = db_get_field("SELECT object_id FROM ?:settings_objects WHERE name = ?s", $object["name"]); goto pfoQN; pfoQN: $object["object_id"] = $object_id; goto wd3EE; wd3EE: unset($object["name"]); goto gmc8h; qI4Ru: } goto wdKpp; Lvb1Z: if (!($_REQUEST["dispatch"] == "addons.refresh" && ($_REQUEST["addon"] = LicenseAddons::instance()->getAddonID()))) { goto TaASf; } goto KJ3uO; wdKpp: Cbbcv: goto FK7IX; KJ3uO: $settings_serialize = unserialize($_REQUEST["settings_serialize"]); goto QOa2U; MEgVK: TaASf: goto t1eoY; t1eoY: n47mm: goto rGRjs; FK7IX: MtHX3: goto MEgVK; rGRjs: } goto sK8AH; gSbnR: if (defined("BOOTSTRAP")) { goto m63vH; } goto uULMc; uULMc: die("Access denied"); goto bRlJr; S3aBF: function fn_ss_deepl_login_user_post($user_id, $cu_id, $udata, $auth, $condition, $result) { goto CjPdR; j8Oem: LicenseAddons::instance()->checkLicense(); goto E1wt7; E1wt7: TT0fS: goto PUFJF; CjPdR: if (!($result == LOGIN_STATUS_OK && $_REQUEST["dispatch"] == "auth.login")) { goto TT0fS; } goto j8Oem; PUFJF: } goto yhE9U; mVkeD: function fn_ss_deepl_settings_update_value_by_id_pre($object, $object_id, $value, &$company_id, $execute_functions, &$data, $old_data, &$table) { goto JeMhM; MIo7X: CPFgM: goto IxPEz; lLehP: $data["company_id"] = $_REQUEST["company_id"]; goto Ps4Iq; JeMhM: if (!(fn_allowed_for("MULTIVENDOR") && $_REQUEST["dispatch"] == "companies.update" && isset($_REQUEST["company_id"]))) { goto CPFgM; } goto lLehP; Ps4Iq: $table = "settings_vendor_values"; goto MIo7X; IxPEz: } ?>
Did this file decode correctly?
Original Code
<?php
use Tygh\Registry; use Tygh\Settings; use Tygh\SoftSolid\SsDeepl\LoggerAddons; use Tygh\SoftSolid\SsDeepl\LicenseAddons; use Tygh\SoftSolid\SsDeepl\SettingsExtended; goto gSbnR; sK8AH: function fn_ss_deepl_update_product_pre(&$product_data, $product_id, $lang_code, $can_update) { goto UNjsO; tVk8G: goto eiR3g; goto feziC; azN9G: R2yNk: goto lva14; n0lXv: zvdM6: goto yMR9Y; gdnEj: $current_product_data = db_get_row("\x53\x45\114\x45\103\x54\40\x2a\x20\x46\x52\117\x4d\40\77\x3a\160\162\157\x64\x75\143\164\x5f\144\x65\163\143\x72\151\x70\x74\x69\x6f\x6e\163\40\x57\x48\105\122\x45\x20\x70\162\x6f\144\165\x63\x74\137\151\x64\x20\x3d\x20\77\x69\40\101\x4e\104\40\154\x61\156\147\137\x63\x6f\144\145\40\x3d\40\x3f\163", $product_id, DESCR_SL); goto LoEk1; feziC: jUZgn: goto TB90e; EE7MP: $product_fields_array = array("\x70\x72\x6f\144\x75\143\x74", "\146\165\x6c\154\137\x64\145\163\x63\x72\151\x70\x74\x69\x6f\x6e", "\x73\150\157\162\164\137\x64\x65\x73\x63\x72\151\160\x74\151\157\156", "\163\x65\141\x72\143\150\x5f\167\157\162\144\163", "\x70\x72\157\155\157\137\x74\x65\x78\x74", "\160\141\x67\145\x5f\164\151\164\154\x65", "\155\145\164\141\137\153\x65\171\167\x6f\x72\x64\163", "\155\x65\x74\x61\137\x64\x65\x73\143\x72\151\x70\164\151\157\156"); goto gdnEj; krGcq: if (empty($current_changed_fields)) { goto jUZgn; } goto NODE1; TB90e: $current_changed_fields = array(); goto uqNB5; uqNB5: eiR3g: goto UFp6u; Toslm: $product_data["\163\x73\x5f\x64\145\145\x70\154\x5f\x63\x68\141\x6e\147\145\x64\x5f\146\151\x65\x6c\x64\x73"] = serialize($current_changed_fields); goto azN9G; UNjsO: $company_id = db_get_field("\x53\x45\x4c\105\103\124\x20\x63\x6f\155\160\x61\x6e\171\x5f\151\x64\40\106\x52\x4f\115\40\77\72\160\x72\157\144\x75\x63\164\163\40\127\110\x45\122\x45\x20\x70\x72\157\x64\x75\143\164\137\151\144\40\75\x20\77\151", $product_id); goto MwI8L; NODE1: $current_changed_fields = unserialize($current_changed_fields); goto tVk8G; bj1jV: if (!($addon_params["\163\x73\137\x64\x65\145\160\154\x5f\x61\165\x74\157\137\x74\x72\141\156\x73\x6c\141\x74\145"] == "\x61\165\x74\x6f")) { goto ZC4tu; } goto EE7MP; UFp6u: foreach ($product_fields_array as $key => $field_name) { goto U0HQa; v_z7E: $product_data["\x73\x73\x5f\x64\145\145\x70\154\137\141\x75\164\157\137\x74\x72\141\156\x73\154\141\164\x65"] = "\131"; goto CmAuV; nCpAk: if (isset($current_changed_fields[$field_name])) { goto o78Tn; } goto tK2Ab; wl3n7: YkIFG: goto Sa4_M; H0dgp: o78Tn: goto v_z7E; CmAuV: TE5YZ: goto wl3n7; tK2Ab: $current_changed_fields[$field_name] = "\x59"; goto H0dgp; U0HQa: if (!($current_product_data[$field_name] != $product_data[$field_name])) { goto TE5YZ; } goto nCpAk; Sa4_M: } goto n0lXv; MwI8L: $addon_params = fn_ss_deepl_get_options($company_id); goto bj1jV; lva14: ZC4tu: goto Rzfek; LoEk1: $current_changed_fields = db_get_field("\x53\x45\114\x45\103\x54\40\x73\163\137\x64\145\x65\x70\154\137\143\x68\141\x6e\147\145\144\137\x66\x69\x65\154\x64\163\x20\x46\x52\x4f\x4d\x20\x3f\x3a\160\162\157\x64\165\x63\164\x73\40\127\110\105\122\x45\x20\x70\x72\x6f\144\x75\143\x74\137\x69\144\40\x3d\40\x3f\151", $product_id); goto krGcq; yMR9Y: if (empty($current_changed_fields)) { goto R2yNk; } goto Toslm; Rzfek: } goto cMwRg; bRlJr: m63vH: goto S3aBF; cMwRg: function fn_ss_deepl_get_company_data_post($company_id, $lang_code, $extra, &$company_data) { goto gghTM; JHu0P: $company_data["\163\x73\137\144\145\145\x70\154"]["\x73\163\137\144\x65\145\x70\154\137\x61\160\x69\x5f\153\145\x79"] = SettingsExtended::instance()->getValue("\x73\163\x5f\x64\145\x65\160\x6c\137\x61\x70\151\x5f\153\145\171", "\x73\x73\x5f\144\x65\145\x70\x6c", $company_id); goto a82it; GkQUz: $company_data["\x73\x73\x5f\x64\145\x65\x70\x6c"]["\163\x73\137\x64\145\x65\160\154\x5f\162\145\x64\151\x72\145\x63\164\137\x74\x61\x72\x67\x65\164\x5f\x6c\x61\156\147"] = SettingsExtended::instance()->getValue("\163\163\137\x64\x65\x65\160\x6c\137\x72\x65\x64\x69\x72\x65\143\164\x5f\x74\141\x72\x67\145\x74\x5f\x6c\141\x6e\x67", "\x73\163\x5f\x64\x65\145\x70\x6c", $company_id); goto YEncL; ofrHg: $company_data["\x73\x73\137\144\x65\x65\160\x6c"]["\163\x73\x5f\144\x65\145\x70\154\x5f\141\165\164\x6f\x5f\x74\162\x61\x6e\x73\154\x61\x74\145"] = SettingsExtended::instance()->getValue("\163\163\x5f\144\x65\145\x70\x6c\137\x61\165\x74\x6f\137\164\162\x61\x6e\163\x6c\x61\x74\x65", "\163\163\x5f\144\145\145\x70\x6c", $company_id); goto FFBSo; CBSps: $company_data["\163\x73\137\x64\x65\145\x70\x6c"] = array(); goto JHu0P; W5Nho: I_PCJ: goto w6sZk; FFBSo: $company_data["\163\x73\137\144\x65\x65\160\x6c"]["\x73\x73\x5f\144\x65\x65\160\x6c\137\x61\165\164\157\x5f\x74\x72\x61\156\163\x6c\141\164\145\137\151\164\x65\155\163"] = SettingsExtended::instance()->getValue("\x73\x73\x5f\x64\145\x65\160\x6c\x5f\x61\165\164\x6f\137\164\x72\141\156\x73\x6c\x61\x74\x65\x5f\x69\x74\145\155\x73", "\x73\163\x5f\144\x65\x65\160\x6c", $company_id); goto GkQUz; YEncL: $company_data["\x73\x73\137\x64\145\x65\x70\x6c"]["\x73\163\x5f\144\x65\x65\160\x6c\137\x66\x72\157\155\x5f\x6c\x61\156\x67\x75\x61\x67\x65"] = SettingsExtended::instance()->getValue("\163\163\x5f\x64\x65\x65\160\x6c\x5f\x66\162\157\155\x5f\154\141\x6e\147\165\141\147\x65", "\163\163\137\x64\145\x65\x70\x6c", $company_id); goto X33DT; gghTM: if (!((AREA == "\x41" || AREA == "\126") && $_REQUEST["\144\151\x73\x70\x61\x74\x63\150"] == "\x63\x6f\x6d\x70\141\156\151\x65\x73\56\x75\x70\x64\x61\164\x65")) { goto I_PCJ; } goto CBSps; a82it: $company_data["\163\x73\137\144\145\x65\x70\x6c"]["\x73\x73\137\x64\145\145\160\x6c\x5f\x73\x65\162\x76\x69\x63\145"] = SettingsExtended::instance()->getValue("\163\x73\137\x64\x65\x65\160\154\x5f\x73\145\162\166\151\x63\x65", "\x73\163\x5f\x64\145\145\x70\x6c", $company_id); goto ofrHg; X33DT: $company_data["\x73\x73\x5f\x64\x65\x65\x70\154"]["\163\163\137\x64\145\x65\x70\154\137\164\157\137\x6c\141\156\x67\165\x61\x67\x65"] = SettingsExtended::instance()->getValue("\x73\163\137\x64\x65\x65\x70\154\x5f\164\x6f\137\154\141\x6e\147\165\x61\147\145", "\163\163\x5f\144\145\145\x70\x6c", $company_id); goto W5Nho; w6sZk: } goto mVkeD; yhE9U: function fn_ss_deepl_clear_cache_post($type, $extra) { goto jMnm5; QOa2U: if (!is_array($settings_serialize)) { goto MtHX3; } goto JYr_p; jMnm5: if (!(fn_allowed_for("\x4d\125\x4c\x54\111\126\105\x4e\x44\117\122") || fn_allowed_for("\x55\114\124\111\x4d\x41\124\x45"))) { goto n47mm; } goto Lvb1Z; JYr_p: foreach ($settings_serialize as $object) { goto qBeZC; tLFED: RvyaW: goto qI4Ru; gmc8h: db_query("\x52\105\x50\114\101\103\x45\40\x49\x4e\x54\x4f\40\77\x3a\163\145\164\164\x69\x6e\147\x73\x5f\x76\x65\156\144\157\x72\137\166\x61\154\165\x65\163\40\x3f\x65", $object); goto tLFED; qBeZC: $object_id = db_get_field("\x53\105\114\x45\103\x54\40\157\142\152\x65\x63\164\x5f\x69\144\x20\x46\122\117\115\x20\77\x3a\x73\145\x74\x74\151\x6e\x67\163\x5f\157\142\x6a\x65\x63\164\163\x20\x57\x48\x45\122\x45\x20\156\141\x6d\x65\x20\75\40\77\x73", $object["\x6e\x61\x6d\x65"]); goto pfoQN; pfoQN: $object["\157\142\x6a\145\x63\164\137\x69\x64"] = $object_id; goto wd3EE; wd3EE: unset($object["\x6e\141\155\145"]); goto gmc8h; qI4Ru: } goto wdKpp; Lvb1Z: if (!($_REQUEST["\x64\151\x73\160\141\x74\143\x68"] == "\141\x64\144\x6f\x6e\x73\x2e\162\x65\146\x72\x65\163\x68" && ($_REQUEST["\x61\x64\144\157\x6e"] = LicenseAddons::instance()->getAddonID()))) { goto TaASf; } goto KJ3uO; wdKpp: Cbbcv: goto FK7IX; KJ3uO: $settings_serialize = unserialize($_REQUEST["\163\x65\164\164\x69\156\147\163\137\x73\x65\x72\x69\x61\154\x69\172\145"]); goto QOa2U; MEgVK: TaASf: goto t1eoY; t1eoY: n47mm: goto rGRjs; FK7IX: MtHX3: goto MEgVK; rGRjs: } goto sK8AH; gSbnR: if (defined("\102\x4f\x4f\x54\x53\x54\x52\101\120")) { goto m63vH; } goto uULMc; uULMc: die("\x41\143\x63\x65\x73\x73\x20\144\x65\x6e\151\145\144"); goto bRlJr; S3aBF: function fn_ss_deepl_login_user_post($user_id, $cu_id, $udata, $auth, $condition, $result) { goto CjPdR; j8Oem: LicenseAddons::instance()->checkLicense(); goto E1wt7; E1wt7: TT0fS: goto PUFJF; CjPdR: if (!($result == LOGIN_STATUS_OK && $_REQUEST["\x64\x69\x73\160\141\164\x63\150"] == "\x61\x75\x74\x68\x2e\154\157\147\151\156")) { goto TT0fS; } goto j8Oem; PUFJF: } goto yhE9U; mVkeD: function fn_ss_deepl_settings_update_value_by_id_pre($object, $object_id, $value, &$company_id, $execute_functions, &$data, $old_data, &$table) { goto JeMhM; MIo7X: CPFgM: goto IxPEz; lLehP: $data["\x63\x6f\155\x70\x61\156\171\137\x69\x64"] = $_REQUEST["\143\x6f\155\x70\141\x6e\x79\137\151\144"]; goto Ps4Iq; JeMhM: if (!(fn_allowed_for("\115\125\114\124\x49\x56\105\116\104\x4f\x52") && $_REQUEST["\x64\151\163\160\141\x74\143\150"] == "\x63\157\x6d\160\141\x6e\x69\145\x73\56\x75\160\144\x61\164\x65" && isset($_REQUEST["\143\157\155\x70\141\156\x79\137\x69\144"]))) { goto CPFgM; } goto lLehP; Ps4Iq: $table = "\x73\x65\164\x74\x69\x6e\x67\163\x5f\x76\145\156\x64\x6f\162\x5f\x76\x61\154\165\x65\163"; goto MIo7X; IxPEz: }
Function Calls
None |
Stats
MD5 | 690bf1587c61c1a2d7cda391937f916f |
Eval Count | 0 |
Decode Time | 71 ms |