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 namespace Tygh\SoftSolid\SsOmnibus; use Tygh\Registry; use Tygh\Settings; use Tygh..

Decoded Output download

<?php 
 namespace Tygh\SoftSolid\SsOmnibus; use Tygh\Registry; use Tygh\Settings; use Tygh\Session; class SettingsExtended { private static $_instance; private $_sections; private $_current_edition; private $_root_mode = false; private $_company_id = null; private function __construct() { $this->reloadSections(); } public function reloadSections() { $this->_sections = $this->_getSections('', 0, true, false); return true; } public static function instance($company_id = null) { goto t3mjB; HEMPT: gdcC0: goto G4ND6; FfLtr: self::$_instance->_root_mode = true; goto kfIOr; IUnjO: $company_id = Registry::get("runtime.company_id"); goto cvNxQ; G4ND6: self::$_instance->_company_id = $company_id; goto M1GH7; vM7Ql: QXkHt: goto gx5Us; h4wBx: PXMve: goto RgjjP; WLYci: if (Registry::get("runtime.simple_ultimate") && !Registry::get("runtime.forced_company_id")) { goto uOH7N; } goto p00GQ; XTchi: uOH7N: goto FfLtr; p00GQ: if (Registry::get("runtime.simple_ultimate") && Registry::get("runtime.forced_company_id")) { goto QXkHt; } goto IUnjO; wCiqV: xhNfU: goto hfXkG; t3mjB: if (!empty(self::$_instance)) { goto PXMve; } goto M_x5E; M1GH7: return self::$_instance; goto h6h07; cvNxQ: self::$_instance->_root_mode = false; goto ykLfl; hfXkG: self::$_instance->_root_mode = false; goto sZacY; kfIOr: goto gdcC0; goto vM7Ql; sZacY: goto gdcC0; goto XTchi; jxMj3: $company_id = Registry::get("runtime.forced_company_id"); goto HEMPT; gx5Us: self::$_instance->_root_mode = true; goto jxMj3; ykLfl: goto gdcC0; goto wCiqV; RgjjP: if (!is_null($company_id)) { goto xhNfU; } goto WLYci; M_x5E: self::$_instance = new SettingsExtended(); goto h4wBx; h6h07: } const CORE_SECTION = "CORE"; const ADDON_SECTION = "ADDON"; const TAB_SECTION = "TAB"; const SEPARATE_TAB_SECTION = "SEPARATE_TAB"; const NONE = "NONE"; const ROOT = "ROOT"; const VENDOR = "VENDOR"; const VENDORONLY = "VENDORONLY"; const VARIANT_DESCRIPTION = "V"; const SETTING_DESCRIPTION = "O"; const SECTION_DESCRIPTION = "S"; public function getValue($setting_name, $section_name, $company_id = null) { goto ukNEb; Qtdtf: return false; goto sl4Uq; xdTMc: $value = $this->_unserialize($_setting[0]["value"], $force_parse); goto VRq7i; GOBLy: if (!empty($setting_name)) { goto gy7Ma; } goto q97Vx; ukNEb: $company_id = $this->_getCompanyId($company_id); goto GOBLy; B_kG4: $id = $this->getId($setting_name, $section_name); goto eVOFG; eAlal: uHjR3: goto PL_jF; VRq7i: z3XIN: goto dBHUf; K4o_5: goto uHjR3; goto Bxov6; Bxov6: gy7Ma: goto B_kG4; q97Vx: return false; goto K4o_5; yEx0C: $_setting = $this->_get_list(array("?:settings_objects.object_id as object_id", "?:settings_objects.type as object_type"), '', '', false, $condition, false, $company_id); goto uCr5U; wKc0L: $force_parse = $_setting[0]["object_type"] == "N" ? true : false; goto xdTMc; sl4Uq: goto z3XIN; goto ziPyh; eVOFG: $condition = db_quote(" AND ?:settings_objects.object_id = ?i", $id); goto yEx0C; dBHUf: return $value; goto eAlal; uCr5U: if (isset($_setting[0]["value"])) { goto y2pLx; } goto Qtdtf; ziPyh: y2pLx: goto wKc0L; PL_jF: } private function _getCompanyId($company_id = null) { goto dI3Je; roOzO: DTY0C: goto legtz; dQ0no: return false; goto xIdiA; DbifA: return $this->_company_id; goto Hfwlw; buvbL: KsfnC: goto upMaq; xIdiA: u0QeQ: goto jGg0T; J8Yx9: cOoGz: goto JiYL0; NWWxs: kSYcE: goto DbifA; oUSw3: return false; goto jgwQ4; Hfwlw: goto cOoGz; goto roOzO; upMaq: return $company_id; goto cNVkA; legtz: return Registry::get("runtime.company_id"); goto J8Yx9; Rz3xf: if (!empty($this->_company_id)) { goto kSYcE; } goto Wci6Y; dI3Je: if (!($company_id === false)) { goto JMF3n; } goto oUSw3; cNVkA: goto cOoGz; goto NWWxs; Wci6Y: if (Registry::get("runtime.company_id")) { goto DTY0C; } goto Ac7Qs; LQa0u: if (!($this->_root_mode && empty($this->_company_id))) { goto u0QeQ; } goto dQ0no; jgwQ4: JMF3n: goto LQa0u; Ac7Qs: goto cOoGz; goto buvbL; jGg0T: if (!empty($company_id)) { goto KsfnC; } goto Rz3xf; JiYL0: } public function getId($setting_name, $section_name = '') { goto QxZ6X; Tpxv4: goto ooGnn; goto K1o_s; fMUjV: AWyzC: goto Bp3Gv; K1o_s: qAryA: goto y0qS3; QB_Ig: return false; goto Tpxv4; y0qS3: if (!empty($section_name)) { goto AWyzC; } goto b31kD; AxF7U: goto ImgNc; goto fMUjV; b31kD: $section_condition = ''; goto AxF7U; Bp3Gv: $section_condition = db_quote(" AND ?:settings_sections.name = ?s", $section_name); goto gyH61; R4rVo: return db_get_field("SELECT object_id FROM ?:settings_objects " . "LEFT JOIN ?:settings_sections ON ?:settings_objects.section_id = ?:settings_sections.section_id " . "WHERE ?:settings_objects.name = ?s ?p", $setting_name, $section_condition); goto CMGz5; QxZ6X: if (!empty($setting_name)) { goto qAryA; } goto QB_Ig; gyH61: ImgNc: goto R4rVo; CMGz5: ooGnn: goto H_jOV; H_jOV: } private function _get_list($fields, $section_id = '', $section_tab_id = '', $no_headers = false, $extra_condition = '', $is_global = true, $company_id = null, $lang_code = '') { goto fbShA; tQiGn: $condition .= !empty($section_tab_id) ? db_quote(" AND section_tab_id = ?s", $section_tab_id) : ''; goto pcIYx; hvSYx: BSlhD: goto d9chv; hw2aC: J_eEJ: goto Cgkf4; Henzf: $fields[] = db_quote("?:settings_descriptions.object_type as object_type"); goto hvSYx; Hw8n4: $fields[] = db_quote("?:settings_descriptions.value as description"); goto DGTmC; Bq46N: if (!$no_headers) { goto czIFw; } goto TM7m8; pcIYx: $condition .= $this->_generateEditionCondition("?:settings_objects", false); goto Bq46N; DGTmC: $fields[] = db_quote("?:settings_descriptions.tooltip as tooltip"); goto Henzf; WLb_M: $join .= db_quote("LEFT JOIN ?:settings_vendor_values ON ?:settings_vendor_values.object_id = ?:settings_objects.object_id AND company_id = ?i ", $this->_getCompanyId($company_id)); goto fW7vG; fbShA: $company_id = $this->_getCompanyId($company_id); goto jEw71; TM7m8: $condition .= " AND ?:settings_objects.type <> 'H'"; goto rOwN3; rOwN3: czIFw: goto yZJSX; Dte38: goto BSlhD; goto hw2aC; AxCMM: $condition = !empty($section_id) ? db_quote(" AND section_id = ?s", $section_id) : $global_condition; goto tQiGn; d9chv: $fields[] = $value; goto T5W4l; jEw71: $global_condition = $is_global ? " AND is_global = 'Y'" : ''; goto AxCMM; Zkkm1: if (!empty($lang_code)) { goto J_eEJ; } goto wYOYj; fW7vG: $value = "IF(?:settings_vendor_values.value IS NULL, ?:settings_objects.value, ?:settings_vendor_values.value) as value"; goto Zkkm1; T5W4l: $fields = implode(", ", $fields); goto CESGr; Cgkf4: $join .= db_quote("LEFT JOIN ?:settings_descriptions " . "ON ?:settings_descriptions.object_id = ?:settings_objects.object_id " . "AND ?:settings_descriptions.object_type = ?s AND lang_code = ?s", "O", $lang_code); goto Hw8n4; yZJSX: $join = ''; goto Lsn2v; wYOYj: $fields[] = db_quote("?:settings_objects.name as description"); goto Dte38; Lsn2v: $value = "?:settings_objects.value AS value"; goto WLb_M; CESGr: return db_get_array("SELECT ?p FROM ?:settings_objects ?p WHERE 1 ?p ORDER BY ?:settings_objects.position", $fields, $join, $condition . $extra_condition); goto hU3PR; hU3PR: } private function _generateEditionCondition($table, $use_access_level = true) { goto Hpm8E; P8P9o: a6PZr: goto RLTZj; qBWyh: $_edition_conditions = $this->getEditableSettingsEditionTypes($use_access_level); goto EJH7X; EJH7X: foreach ($_edition_conditions as $edition_condition) { $edition_conditions[] = "FIND_IN_SET('{$edition_condition}', {$table}.edition_type)"; c_ha0: } goto P8P9o; RLTZj: return " AND (" . implode(" OR ", $edition_conditions) . ")"; goto O2uSx; Hpm8E: $edition_conditions = $_edition_conditions = array(); goto qBWyh; O2uSx: } private function _getSections($section_type = '', $parent_id = 0, $generate_href = true, $use_access_level = true, $lang_code = '') { goto P05Mm; dhmKe: $values .= ", ?:settings_sections.name as description"; goto ETtOU; Cawz4: if (!($parent_id != 0)) { goto RCHEi; } goto m2Ts4; P05Mm: $condition = $this->_generateEditionCondition("?:settings_sections", $use_access_level); goto DngLV; iSc2U: return $sections; goto l31qt; mc8PO: $values .= ", ?:settings_descriptions.value as description, object_id, object_type"; goto wEFHs; JuRYz: $section_type = is_array($section_type) ? $section_type : array($section_type); goto en34B; wEFHs: dmQr0: goto dN3qG; qRvUE: jNKv8: goto GO4Tz; N_p2c: if (empty($section_type)) { goto MeeXz; } goto JuRYz; dN3qG: if (!$generate_href) { goto jNKv8; } goto C1slg; ETtOU: goto dmQr0; goto Cgxw0; m2Ts4: $condition .= db_quote(" AND ?:settings_sections.parent_id = ?i", $parent_id); goto XOOxB; en34B: $condition .= db_quote(" AND ?:settings_sections.type IN (?a)", $section_type); goto VU3lU; C1slg: $values .= ", CONCAT('settings.manage?section_id=', ?:settings_sections.name) as href "; goto qRvUE; VU3lU: MeeXz: goto eFsvN; DngLV: $values = ''; goto c4ZXg; GO4Tz: $sections = db_get_hash_array("SELECT ?:settings_sections.name, ?:settings_sections.section_id, " . "?:settings_sections.position, ?:settings_sections.type ?p " . "FROM ?:settings_sections ?p" . "WHERE 1 ?p ORDER BY ?:settings_sections.position", "section_id", $values, $join, $condition); goto iSc2U; tCGiO: $join = db_quote(" LEFT JOIN ?:settings_descriptions " . "ON ?:settings_descriptions.object_id = ?:settings_sections.section_id " . "AND object_type = ?s AND ?:settings_descriptions.lang_code = ?s", Settings::SECTION_DESCRIPTION, $lang_code); goto mc8PO; eFsvN: if (!empty($lang_code)) { goto VU4kj; } goto dhmKe; c4ZXg: $join = ''; goto Cawz4; XOOxB: RCHEi: goto N_p2c; Cgxw0: VU4kj: goto tCGiO; l31qt: } public function getEditableSettingsEditionTypes($use_access_level = true) { goto Ue7pu; nzI2y: if ($use_access_level && $this->_getCompanyId() && !$this->isRootMode() && fn_allowed_for("ULTIMATE")) { goto O33ty; } goto wJvRV; B2fq4: $edition_types[] = "VENDOR"; goto R7W1D; r8DAK: O33ty: goto B2fq4; tHIow: C_ccY: goto h4mHw; wJvRV: $edition_types[] = "ROOT"; goto ckQBg; h4mHw: return $edition_types; goto xBTqt; R7W1D: f8nda: goto Gjj2Q; M3qQ6: NrSrC: goto RB3Ha; RB3Ha: goto f8nda; goto r8DAK; Gjj2Q: foreach ($edition_types as $type) { $edition_types[] = $this->_getCurrentEdition() . $type; Tkp1i: } goto tHIow; rrfbG: $edition_types[] = "VENDOR"; goto M3qQ6; ckQBg: if (!fn_allowed_for("ULTIMATE")) { goto NrSrC; } goto rrfbG; Ue7pu: $edition_types = array(); goto nzI2y; xBTqt: } protected function isRootMode() { return $this->_root_mode; } private function _getCurrentEdition() { goto CqjGj; CqjGj: if (!empty($this->_current_edition)) { goto sr6OA; } goto KpAF7; bqzU_: return $this->_current_edition . ":"; goto mSBCU; KpAF7: $this->_current_edition = strtoupper(fn_get_edition_acronym(PRODUCT_EDITION)); goto u7dFl; u7dFl: sr6OA: goto bqzU_; mSBCU: } private function _unserialize($value, $force_parse = false) { goto eyCB4; eyCB4: if (strpos($value, "#M#") === 0) { goto ovyx6; } goto bDrt7; XGO7M: ypJH5: goto bXuXd; bXuXd: return $value; goto S8aDs; z3tMd: ovyx6: goto f3v5b; f3v5b: parse_str(str_replace("#M#", '', $value), $value); goto qXfCV; LxZwq: M7uVm: goto wJgNV; UBSbm: goto ypJH5; goto z3tMd; bDrt7: if ($force_parse) { goto M7uVm; } goto UBSbm; qXfCV: goto ypJH5; goto LxZwq; wJgNV: parse_str($value, $value); goto XGO7M; S8aDs: } } ?>

Did this file decode correctly?

Original Code

<?php
 namespace Tygh\SoftSolid\SsOmnibus; use Tygh\Registry; use Tygh\Settings; use Tygh\Session; class SettingsExtended { private static $_instance; private $_sections; private $_current_edition; private $_root_mode = false; private $_company_id = null; private function __construct() { $this->reloadSections(); } public function reloadSections() { $this->_sections = $this->_getSections('', 0, true, false); return true; } public static function instance($company_id = null) { goto t3mjB; HEMPT: gdcC0: goto G4ND6; FfLtr: self::$_instance->_root_mode = true; goto kfIOr; IUnjO: $company_id = Registry::get("\162\165\156\x74\x69\155\145\56\x63\157\155\x70\141\x6e\x79\x5f\151\144"); goto cvNxQ; G4ND6: self::$_instance->_company_id = $company_id; goto M1GH7; vM7Ql: QXkHt: goto gx5Us; h4wBx: PXMve: goto RgjjP; WLYci: if (Registry::get("\x72\x75\156\x74\x69\x6d\x65\x2e\x73\x69\155\160\154\x65\x5f\165\154\164\x69\155\x61\x74\x65") && !Registry::get("\x72\165\x6e\x74\x69\x6d\x65\56\146\x6f\162\x63\x65\144\x5f\x63\x6f\x6d\160\141\156\x79\137\151\144")) { goto uOH7N; } goto p00GQ; XTchi: uOH7N: goto FfLtr; p00GQ: if (Registry::get("\x72\x75\156\164\151\155\145\56\x73\151\x6d\x70\x6c\x65\137\165\154\164\x69\x6d\141\164\145") && Registry::get("\162\x75\156\164\x69\x6d\145\56\x66\x6f\162\x63\x65\x64\x5f\143\x6f\155\160\141\156\x79\137\151\144")) { goto QXkHt; } goto IUnjO; wCiqV: xhNfU: goto hfXkG; t3mjB: if (!empty(self::$_instance)) { goto PXMve; } goto M_x5E; M1GH7: return self::$_instance; goto h6h07; cvNxQ: self::$_instance->_root_mode = false; goto ykLfl; hfXkG: self::$_instance->_root_mode = false; goto sZacY; kfIOr: goto gdcC0; goto vM7Ql; sZacY: goto gdcC0; goto XTchi; jxMj3: $company_id = Registry::get("\x72\x75\156\x74\x69\x6d\x65\56\x66\157\162\x63\145\144\x5f\143\157\x6d\160\141\x6e\x79\137\x69\x64"); goto HEMPT; gx5Us: self::$_instance->_root_mode = true; goto jxMj3; ykLfl: goto gdcC0; goto wCiqV; RgjjP: if (!is_null($company_id)) { goto xhNfU; } goto WLYci; M_x5E: self::$_instance = new SettingsExtended(); goto h4wBx; h6h07: } const CORE_SECTION = "\103\x4f\x52\105"; const ADDON_SECTION = "\x41\x44\104\117\x4e"; const TAB_SECTION = "\x54\101\x42"; const SEPARATE_TAB_SECTION = "\123\x45\x50\x41\x52\101\x54\x45\137\x54\x41\x42"; const NONE = "\x4e\117\x4e\105"; const ROOT = "\x52\x4f\x4f\x54"; const VENDOR = "\x56\x45\x4e\104\117\x52"; const VENDORONLY = "\x56\x45\x4e\x44\x4f\x52\x4f\x4e\114\x59"; const VARIANT_DESCRIPTION = "\126"; const SETTING_DESCRIPTION = "\117"; const SECTION_DESCRIPTION = "\x53"; public function getValue($setting_name, $section_name, $company_id = null) { goto ukNEb; Qtdtf: return false; goto sl4Uq; xdTMc: $value = $this->_unserialize($_setting[0]["\x76\x61\x6c\165\145"], $force_parse); goto VRq7i; GOBLy: if (!empty($setting_name)) { goto gy7Ma; } goto q97Vx; ukNEb: $company_id = $this->_getCompanyId($company_id); goto GOBLy; B_kG4: $id = $this->getId($setting_name, $section_name); goto eVOFG; eAlal: uHjR3: goto PL_jF; VRq7i: z3XIN: goto dBHUf; K4o_5: goto uHjR3; goto Bxov6; Bxov6: gy7Ma: goto B_kG4; q97Vx: return false; goto K4o_5; yEx0C: $_setting = $this->_get_list(array("\x3f\x3a\x73\145\164\164\151\x6e\147\x73\137\x6f\x62\152\145\143\x74\x73\x2e\157\x62\x6a\145\x63\x74\137\x69\x64\40\x61\163\40\157\142\152\x65\143\x74\137\x69\x64", "\77\72\x73\145\164\164\x69\x6e\x67\163\137\157\142\152\x65\x63\x74\163\56\x74\171\160\x65\x20\x61\x73\x20\157\x62\152\145\143\164\137\x74\x79\160\145"), '', '', false, $condition, false, $company_id); goto uCr5U; wKc0L: $force_parse = $_setting[0]["\157\142\152\145\x63\164\x5f\164\171\x70\145"] == "\116" ? true : false; goto xdTMc; sl4Uq: goto z3XIN; goto ziPyh; eVOFG: $condition = db_quote("\40\101\x4e\x44\40\77\x3a\x73\x65\x74\x74\151\x6e\147\x73\x5f\x6f\x62\x6a\x65\143\x74\x73\56\157\x62\x6a\145\143\x74\137\151\144\40\x3d\40\77\151", $id); goto yEx0C; dBHUf: return $value; goto eAlal; uCr5U: if (isset($_setting[0]["\166\141\154\165\x65"])) { goto y2pLx; } goto Qtdtf; ziPyh: y2pLx: goto wKc0L; PL_jF: } private function _getCompanyId($company_id = null) { goto dI3Je; roOzO: DTY0C: goto legtz; dQ0no: return false; goto xIdiA; DbifA: return $this->_company_id; goto Hfwlw; buvbL: KsfnC: goto upMaq; xIdiA: u0QeQ: goto jGg0T; J8Yx9: cOoGz: goto JiYL0; NWWxs: kSYcE: goto DbifA; oUSw3: return false; goto jgwQ4; Hfwlw: goto cOoGz; goto roOzO; upMaq: return $company_id; goto cNVkA; legtz: return Registry::get("\162\x75\x6e\x74\151\155\x65\x2e\x63\x6f\x6d\160\x61\x6e\x79\137\x69\144"); goto J8Yx9; Rz3xf: if (!empty($this->_company_id)) { goto kSYcE; } goto Wci6Y; dI3Je: if (!($company_id === false)) { goto JMF3n; } goto oUSw3; cNVkA: goto cOoGz; goto NWWxs; Wci6Y: if (Registry::get("\162\165\156\164\151\x6d\x65\56\143\x6f\x6d\x70\141\156\171\137\151\144")) { goto DTY0C; } goto Ac7Qs; LQa0u: if (!($this->_root_mode && empty($this->_company_id))) { goto u0QeQ; } goto dQ0no; jgwQ4: JMF3n: goto LQa0u; Ac7Qs: goto cOoGz; goto buvbL; jGg0T: if (!empty($company_id)) { goto KsfnC; } goto Rz3xf; JiYL0: } public function getId($setting_name, $section_name = '') { goto QxZ6X; Tpxv4: goto ooGnn; goto K1o_s; fMUjV: AWyzC: goto Bp3Gv; K1o_s: qAryA: goto y0qS3; QB_Ig: return false; goto Tpxv4; y0qS3: if (!empty($section_name)) { goto AWyzC; } goto b31kD; AxF7U: goto ImgNc; goto fMUjV; b31kD: $section_condition = ''; goto AxF7U; Bp3Gv: $section_condition = db_quote("\40\101\x4e\x44\x20\77\72\163\145\164\164\x69\x6e\147\163\x5f\163\x65\x63\x74\x69\157\156\x73\x2e\x6e\x61\x6d\x65\x20\75\x20\x3f\x73", $section_name); goto gyH61; R4rVo: return db_get_field("\x53\105\x4c\105\103\124\x20\x6f\x62\x6a\x65\x63\164\x5f\151\x64\40\106\122\x4f\115\x20\x3f\x3a\x73\145\x74\x74\151\x6e\x67\x73\x5f\x6f\x62\x6a\x65\x63\x74\x73\x20" . "\x4c\105\x46\x54\40\x4a\x4f\111\116\x20\77\72\163\x65\164\x74\151\x6e\147\x73\137\x73\145\x63\164\x69\157\x6e\163\40\x4f\116\x20\x3f\72\x73\145\164\164\151\156\147\163\x5f\x6f\x62\152\145\143\x74\163\x2e\x73\x65\x63\x74\x69\157\x6e\x5f\151\x64\40\x3d\x20\77\72\x73\145\x74\x74\151\156\147\163\137\163\145\x63\x74\151\157\156\x73\x2e\163\145\143\164\151\x6f\x6e\x5f\151\x64\40" . "\x57\x48\x45\122\x45\x20\x3f\72\x73\145\x74\164\x69\x6e\147\x73\137\x6f\142\152\145\x63\164\x73\56\156\x61\155\x65\40\75\40\x3f\x73\x20\77\x70", $setting_name, $section_condition); goto CMGz5; QxZ6X: if (!empty($setting_name)) { goto qAryA; } goto QB_Ig; gyH61: ImgNc: goto R4rVo; CMGz5: ooGnn: goto H_jOV; H_jOV: } private function _get_list($fields, $section_id = '', $section_tab_id = '', $no_headers = false, $extra_condition = '', $is_global = true, $company_id = null, $lang_code = '') { goto fbShA; tQiGn: $condition .= !empty($section_tab_id) ? db_quote("\x20\x41\x4e\104\40\163\x65\143\x74\151\x6f\156\137\x74\x61\142\x5f\151\x64\x20\75\40\x3f\x73", $section_tab_id) : ''; goto pcIYx; hvSYx: BSlhD: goto d9chv; hw2aC: J_eEJ: goto Cgkf4; Henzf: $fields[] = db_quote("\77\x3a\163\x65\x74\x74\151\x6e\x67\163\x5f\144\145\163\143\162\x69\160\x74\x69\x6f\x6e\163\56\x6f\142\152\x65\x63\x74\137\164\x79\x70\145\40\x61\x73\x20\x6f\x62\x6a\x65\143\x74\x5f\x74\x79\160\145"); goto hvSYx; Hw8n4: $fields[] = db_quote("\77\x3a\x73\x65\x74\164\x69\x6e\x67\x73\137\x64\145\x73\x63\x72\x69\160\164\x69\x6f\x6e\163\56\x76\141\154\x75\145\x20\x61\163\40\x64\x65\163\143\162\151\x70\x74\151\x6f\x6e"); goto DGTmC; Bq46N: if (!$no_headers) { goto czIFw; } goto TM7m8; pcIYx: $condition .= $this->_generateEditionCondition("\77\72\163\145\164\x74\x69\x6e\x67\x73\x5f\x6f\x62\152\x65\x63\164\x73", false); goto Bq46N; DGTmC: $fields[] = db_quote("\x3f\72\x73\145\x74\x74\151\156\147\x73\137\144\145\163\143\162\151\x70\x74\151\157\x6e\163\56\164\157\x6f\154\164\151\160\x20\x61\163\x20\x74\x6f\157\154\x74\151\160"); goto Henzf; WLb_M: $join .= db_quote("\x4c\105\106\x54\40\112\x4f\x49\x4e\40\x3f\72\x73\x65\x74\x74\151\156\x67\x73\x5f\166\145\x6e\x64\157\162\137\166\x61\154\165\x65\163\40\117\x4e\40\77\72\163\145\x74\x74\151\x6e\147\163\137\166\145\x6e\x64\x6f\162\137\166\141\154\165\145\163\x2e\157\x62\152\145\x63\x74\137\x69\144\x20\x3d\40\77\x3a\x73\x65\x74\x74\151\x6e\x67\x73\137\x6f\142\x6a\145\x63\164\x73\56\x6f\142\152\x65\x63\x74\x5f\151\144\x20\x41\x4e\104\40\x63\x6f\x6d\x70\141\x6e\171\137\x69\144\x20\75\x20\x3f\x69\40", $this->_getCompanyId($company_id)); goto fW7vG; fbShA: $company_id = $this->_getCompanyId($company_id); goto jEw71; TM7m8: $condition .= "\40\101\116\104\40\x3f\72\163\x65\x74\x74\x69\156\x67\x73\137\157\x62\x6a\145\x63\x74\163\56\164\171\160\145\40\74\x3e\x20\47\110\47"; goto rOwN3; rOwN3: czIFw: goto yZJSX; Dte38: goto BSlhD; goto hw2aC; AxCMM: $condition = !empty($section_id) ? db_quote("\40\101\116\104\40\x73\x65\143\x74\x69\157\156\137\x69\x64\40\75\x20\x3f\x73", $section_id) : $global_condition; goto tQiGn; d9chv: $fields[] = $value; goto T5W4l; jEw71: $global_condition = $is_global ? "\x20\101\116\x44\x20\x69\x73\x5f\147\x6c\157\x62\x61\x6c\x20\x3d\40\47\131\x27" : ''; goto AxCMM; Zkkm1: if (!empty($lang_code)) { goto J_eEJ; } goto wYOYj; fW7vG: $value = "\111\x46\50\x3f\72\x73\x65\x74\164\x69\x6e\147\163\x5f\x76\145\156\x64\x6f\162\137\166\x61\154\x75\x65\163\x2e\x76\x61\x6c\165\145\x20\x49\123\x20\x4e\x55\114\x4c\54\40\x3f\x3a\163\145\x74\164\x69\156\x67\x73\137\x6f\x62\152\145\143\164\x73\x2e\166\x61\154\165\x65\54\40\x3f\x3a\163\x65\x74\x74\151\156\147\x73\137\x76\145\156\x64\x6f\x72\137\x76\x61\154\165\145\x73\x2e\166\141\x6c\x75\145\51\x20\x61\x73\x20\166\141\x6c\x75\x65"; goto Zkkm1; T5W4l: $fields = implode("\x2c\40", $fields); goto CESGr; Cgkf4: $join .= db_quote("\x4c\105\x46\x54\x20\112\117\111\116\x20\77\72\x73\x65\x74\x74\x69\156\147\x73\137\x64\145\163\x63\162\x69\x70\164\151\x6f\156\x73\x20" . "\117\x4e\x20\x3f\x3a\163\145\x74\164\151\x6e\x67\163\x5f\x64\x65\163\x63\x72\x69\160\164\151\x6f\156\163\x2e\157\142\x6a\x65\143\x74\x5f\151\144\x20\x3d\40\x3f\72\163\x65\x74\x74\x69\x6e\x67\x73\x5f\x6f\x62\x6a\145\x63\x74\163\x2e\157\142\x6a\145\143\x74\137\151\x64\x20" . "\101\x4e\x44\40\77\72\x73\x65\164\164\151\156\x67\163\137\144\x65\163\143\162\151\160\164\151\x6f\156\163\56\157\142\x6a\x65\x63\164\137\x74\x79\160\145\x20\x3d\40\x3f\x73\x20\101\116\104\x20\154\141\156\x67\x5f\x63\157\144\145\x20\75\x20\77\x73", "\117", $lang_code); goto Hw8n4; yZJSX: $join = ''; goto Lsn2v; wYOYj: $fields[] = db_quote("\77\72\x73\145\x74\164\x69\156\147\x73\137\x6f\142\x6a\145\x63\164\163\x2e\156\x61\x6d\x65\x20\141\x73\x20\x64\x65\x73\x63\x72\151\x70\x74\151\x6f\x6e"); goto Dte38; Lsn2v: $value = "\x3f\x3a\x73\145\x74\164\x69\x6e\x67\x73\137\x6f\142\152\x65\143\164\x73\x2e\166\x61\x6c\165\145\x20\x41\x53\x20\x76\141\x6c\x75\x65"; goto WLb_M; CESGr: return db_get_array("\123\105\x4c\105\x43\124\x20\x3f\160\40\106\x52\x4f\115\x20\77\72\163\x65\x74\x74\x69\x6e\x67\x73\137\157\142\152\x65\143\164\163\40\x3f\160\40\127\x48\105\122\x45\40\x31\40\x3f\x70\x20\117\122\104\x45\x52\40\102\x59\x20\77\x3a\x73\x65\164\x74\151\x6e\x67\x73\137\157\x62\152\145\143\x74\x73\56\x70\x6f\163\x69\x74\151\x6f\x6e", $fields, $join, $condition . $extra_condition); goto hU3PR; hU3PR: } private function _generateEditionCondition($table, $use_access_level = true) { goto Hpm8E; P8P9o: a6PZr: goto RLTZj; qBWyh: $_edition_conditions = $this->getEditableSettingsEditionTypes($use_access_level); goto EJH7X; EJH7X: foreach ($_edition_conditions as $edition_condition) { $edition_conditions[] = "\x46\111\116\x44\137\111\x4e\137\x53\x45\x54\x28\47{$edition_condition}\x27\x2c\x20{$table}\x2e\x65\x64\x69\164\151\157\x6e\x5f\164\171\x70\145\x29"; c_ha0: } goto P8P9o; RLTZj: return "\40\x41\116\104\x20\x28" . implode("\x20\x4f\x52\x20", $edition_conditions) . "\51"; goto O2uSx; Hpm8E: $edition_conditions = $_edition_conditions = array(); goto qBWyh; O2uSx: } private function _getSections($section_type = '', $parent_id = 0, $generate_href = true, $use_access_level = true, $lang_code = '') { goto P05Mm; dhmKe: $values .= "\x2c\40\x3f\x3a\163\145\x74\x74\x69\156\147\x73\x5f\163\145\143\x74\x69\x6f\156\163\x2e\x6e\141\x6d\145\x20\141\x73\40\144\x65\163\143\x72\151\160\x74\x69\157\x6e"; goto ETtOU; Cawz4: if (!($parent_id != 0)) { goto RCHEi; } goto m2Ts4; P05Mm: $condition = $this->_generateEditionCondition("\77\x3a\x73\145\x74\x74\151\x6e\147\x73\x5f\x73\x65\x63\x74\151\157\x6e\163", $use_access_level); goto DngLV; iSc2U: return $sections; goto l31qt; mc8PO: $values .= "\x2c\x20\77\x3a\x73\x65\x74\x74\151\x6e\147\163\137\144\145\163\x63\162\151\x70\x74\151\x6f\156\x73\x2e\x76\x61\154\x75\x65\40\x61\163\x20\x64\145\163\x63\162\x69\160\164\x69\157\x6e\54\x20\x6f\x62\152\x65\x63\x74\x5f\x69\144\x2c\x20\157\142\152\x65\x63\x74\x5f\x74\x79\x70\145"; goto wEFHs; JuRYz: $section_type = is_array($section_type) ? $section_type : array($section_type); goto en34B; wEFHs: dmQr0: goto dN3qG; qRvUE: jNKv8: goto GO4Tz; N_p2c: if (empty($section_type)) { goto MeeXz; } goto JuRYz; dN3qG: if (!$generate_href) { goto jNKv8; } goto C1slg; ETtOU: goto dmQr0; goto Cgxw0; m2Ts4: $condition .= db_quote("\40\101\116\x44\x20\x3f\72\x73\x65\164\164\151\x6e\x67\163\x5f\163\x65\x63\x74\x69\x6f\156\163\x2e\x70\141\x72\x65\x6e\164\x5f\151\144\40\x3d\40\x3f\151", $parent_id); goto XOOxB; en34B: $condition .= db_quote("\40\101\x4e\x44\x20\x3f\72\x73\x65\164\x74\x69\156\147\163\137\x73\x65\143\x74\x69\157\156\x73\x2e\x74\171\x70\x65\x20\x49\x4e\x20\50\77\141\x29", $section_type); goto VU3lU; C1slg: $values .= "\54\40\103\x4f\x4e\103\101\124\x28\47\163\145\164\164\151\x6e\x67\163\56\155\x61\x6e\x61\x67\x65\x3f\163\x65\143\164\x69\x6f\156\x5f\x69\144\75\x27\54\x20\x3f\x3a\163\x65\164\164\151\x6e\147\163\137\163\x65\x63\x74\x69\157\156\x73\56\156\x61\x6d\x65\x29\40\141\163\40\150\x72\145\146\x20"; goto qRvUE; VU3lU: MeeXz: goto eFsvN; DngLV: $values = ''; goto c4ZXg; GO4Tz: $sections = db_get_hash_array("\x53\x45\x4c\105\x43\124\x20\x3f\x3a\163\145\x74\x74\151\x6e\x67\163\x5f\163\x65\143\164\151\157\156\163\56\156\x61\x6d\145\x2c\40\77\x3a\163\145\x74\x74\x69\x6e\147\x73\x5f\163\x65\143\164\x69\157\156\163\56\x73\x65\x63\164\151\x6f\156\x5f\x69\144\x2c\x20" . "\77\x3a\163\x65\x74\164\x69\x6e\147\163\x5f\163\145\143\164\151\157\x6e\163\56\x70\x6f\163\x69\164\151\x6f\x6e\54\40\77\x3a\163\x65\x74\164\151\156\x67\163\x5f\x73\x65\143\x74\151\157\156\x73\56\164\171\160\x65\40\x3f\160\40" . "\106\122\117\x4d\x20\77\72\163\145\164\x74\151\x6e\x67\163\x5f\x73\x65\143\164\x69\157\156\x73\40\77\x70" . "\127\110\x45\x52\x45\40\x31\40\77\x70\40\x4f\122\x44\105\x52\40\x42\x59\x20\x3f\72\x73\145\x74\x74\151\156\x67\163\137\x73\x65\x63\x74\x69\x6f\156\x73\56\160\157\x73\151\x74\x69\157\x6e", "\x73\x65\x63\164\151\x6f\x6e\x5f\x69\x64", $values, $join, $condition); goto iSc2U; tCGiO: $join = db_quote("\40\114\105\106\124\x20\x4a\117\111\116\x20\77\x3a\x73\145\x74\x74\151\x6e\147\163\137\x64\x65\x73\x63\x72\x69\160\164\x69\157\x6e\x73\x20" . "\117\116\x20\77\72\163\145\164\x74\x69\x6e\147\163\x5f\x64\145\163\143\162\151\x70\164\151\x6f\x6e\x73\56\x6f\142\x6a\145\x63\164\x5f\151\144\40\x3d\x20\77\72\x73\145\164\164\x69\x6e\x67\x73\x5f\x73\145\143\164\x69\157\156\x73\x2e\163\145\143\164\151\x6f\156\137\151\x64\x20" . "\101\x4e\104\40\x6f\x62\x6a\x65\x63\164\137\164\171\160\145\x20\75\x20\x3f\163\x20\x41\x4e\104\x20\x3f\x3a\163\x65\164\164\151\x6e\x67\163\x5f\x64\145\x73\x63\x72\x69\x70\x74\x69\157\x6e\x73\x2e\x6c\x61\x6e\147\137\x63\x6f\144\x65\40\x3d\x20\77\163", Settings::SECTION_DESCRIPTION, $lang_code); goto mc8PO; eFsvN: if (!empty($lang_code)) { goto VU4kj; } goto dhmKe; c4ZXg: $join = ''; goto Cawz4; XOOxB: RCHEi: goto N_p2c; Cgxw0: VU4kj: goto tCGiO; l31qt: } public function getEditableSettingsEditionTypes($use_access_level = true) { goto Ue7pu; nzI2y: if ($use_access_level && $this->_getCompanyId() && !$this->isRootMode() && fn_allowed_for("\x55\114\124\111\115\x41\x54\105")) { goto O33ty; } goto wJvRV; B2fq4: $edition_types[] = "\x56\105\116\104\x4f\x52"; goto R7W1D; r8DAK: O33ty: goto B2fq4; tHIow: C_ccY: goto h4mHw; wJvRV: $edition_types[] = "\122\x4f\117\x54"; goto ckQBg; h4mHw: return $edition_types; goto xBTqt; R7W1D: f8nda: goto Gjj2Q; M3qQ6: NrSrC: goto RB3Ha; RB3Ha: goto f8nda; goto r8DAK; Gjj2Q: foreach ($edition_types as $type) { $edition_types[] = $this->_getCurrentEdition() . $type; Tkp1i: } goto tHIow; rrfbG: $edition_types[] = "\126\105\x4e\104\x4f\122"; goto M3qQ6; ckQBg: if (!fn_allowed_for("\125\x4c\124\x49\x4d\101\x54\105")) { goto NrSrC; } goto rrfbG; Ue7pu: $edition_types = array(); goto nzI2y; xBTqt: } protected function isRootMode() { return $this->_root_mode; } private function _getCurrentEdition() { goto CqjGj; CqjGj: if (!empty($this->_current_edition)) { goto sr6OA; } goto KpAF7; bqzU_: return $this->_current_edition . "\x3a"; goto mSBCU; KpAF7: $this->_current_edition = strtoupper(fn_get_edition_acronym(PRODUCT_EDITION)); goto u7dFl; u7dFl: sr6OA: goto bqzU_; mSBCU: } private function _unserialize($value, $force_parse = false) { goto eyCB4; eyCB4: if (strpos($value, "\43\x4d\x23") === 0) { goto ovyx6; } goto bDrt7; XGO7M: ypJH5: goto bXuXd; bXuXd: return $value; goto S8aDs; z3tMd: ovyx6: goto f3v5b; f3v5b: parse_str(str_replace("\x23\115\43", '', $value), $value); goto qXfCV; LxZwq: M7uVm: goto wJgNV; UBSbm: goto ypJH5; goto z3tMd; bDrt7: if ($force_parse) { goto M7uVm; } goto UBSbm; qXfCV: goto ypJH5; goto LxZwq; wJgNV: parse_str($value, $value); goto XGO7M; S8aDs: } }

Function Calls

None

Variables

None

Stats

MD5 23362734e905b48d577c6670a93df2ad
Eval Count 0
Decode Time 73 ms