2 lines
62 KiB
PHP
2 lines
62 KiB
PHP
<?php
|
|
/****************************************************** Reverse engineering of this file is strictly prohibited. File protected by copyright law and provided under license. ******************************************************/ class TTLicense { private $data = []; private $signature_key = null; private $soap_client_obj = null; private $define_application_name = "\124\151\155\x65\124\162\145\x78"; function __construct() { goto w16T1; tNCb5: return true; goto XhkLf; ylCpx: $this->product_deployment = [10 => "\x4f\156\x2d\x53\x69\x74\145", 20 => "\117\x6e\x2d\x44\145\155\141\x6e\144"]; goto tNCb5; ZMcZg: $this->product_edition = [10 => "\x43\157\155\x6d\165\156\151\x74\x79", 15 => "\x50\162\x6f\x66\145\x73\x73\x69\x6f\156\x61\x6c", 20 => "\x43\157\162\x70\157\x72\x61\164\145", 25 => "\x45\156\x74\145\162\160\162\x69\163\x65"]; goto ylCpx; m_vib: $this->db = $db; goto DKBwm; DKBwm: $this->license_type = [10 => "\105\x76\x61\154\x75\x61\x74\151\x6f\156", 20 => "\123\164\x61\x6e\144\x61\162\144", 50 => "\x50\141\162\x74\x6e\x65\x72"]; goto ZMcZg; w16T1: global $db; goto dguXQ; dguXQ: $this->Validator = new Validator(); goto m_vib; XhkLf: } function getHardwareID() { goto N0CSK; FzEu_: M21MZ: goto vbYTP; scGGz: bHtU0: goto eh3uR; z5fbs: APll8: goto kCqFx; BCoXJ: goto M21MZ; goto IO9jI; urW9c: if (!($h1sLs == 0 && is_array($f7k9f))) { goto XoTzu; } goto h5Ui3; h5Ui3: foreach ($f7k9f as $EtG_y) { goto fCwUy; fCwUy: if (!($EtG_y != '' && $EtG_y != "\60\x30\x3a\60\x30\x3a\x30\x30\72\60\60\72\x30\x30\72\60\60" && $EtG_y != "\146\x66\x3a\x66\x66\72\146\146\72\x66\146\72\x66\x66\x3a\x66\146")) { goto EOV6n; } goto lLPq9; fIjGe: EOV6n: goto XBN7N; hxHkG: goto bHtU0; goto fIjGe; lLPq9: $vx9Ma[] = str_replace(["\x22", "\55", "\40"], ['', "\72", ''], $EtG_y); goto hxHkG; XBN7N: HYNgk: goto UyEts; UyEts: } goto scGGz; B7M_J: $nI8dW = "\151\x66\x63\157\156\x66\x69\147\x20\x7c\x20\147\162\x65\x70\x20\x2d\105\157\x20\x27\x28\x5b\x5b\72\x78\144\x69\147\151\x74\x3a\x5d\x5d\173\x31\54\62\x7d\133\72\x2d\x5d\51\x7b\65\x7d\x5b\133\x3a\170\144\x69\x67\x69\x74\x3a\x5d\x5d\173\x31\x2c\x32\x7d\47"; goto b6T7p; vYbQH: unset($f7k9f[0]); goto R7JV7; P0LlF: $vx9Ma[] = "\x30\x30\72\x30\x30\72\60\60\x3a\x30\x30\x3a\60\x30\x3a\60\60"; goto xGqGE; DLWsO: if (is_array($FaBVD) && count($FaBVD) > 0) { goto RPSTJ; } goto u12tw; NJkB4: pxv6S: goto byEvi; s7joN: foreach ($FaBVD as $sA9l0) { goto RuZKQ; hfRK4: mdHrI: goto eN0dK; iezkf: goto eeVEj; goto hfRK4; eN0dK: NtEEi: goto sx7ta; iDPBP: if (!($EtG_y != '' && $EtG_y != "\x30\60\72\x30\60\x3a\x30\x30\x3a\60\60\x3a\60\60\72\60\x30" && $EtG_y != "\x66\146\x3a\146\146\x3a\x66\x66\72\146\x66\72\146\x66\x3a\x66\x66")) { goto mdHrI; } goto n_ttc; n_ttc: $vx9Ma[] = str_replace(["\x22", "\x2d", "\x20"], ['', "\x3a", ''], $EtG_y); goto iezkf; RuZKQ: $EtG_y = trim(@file_get_contents($sA9l0)); goto iDPBP; sx7ta: } goto FsAjw; sSOno: exec($nI8dW, $f7k9f, $h1sLs); goto H7vdT; n8r9u: iEyxl: goto FalGz; fqSri: e_qh0: goto BCoXJ; R7JV7: foreach ($f7k9f as $EtG_y) { goto TbuTk; cPIqr: $vx9Ma[] = str_replace(["\42", "\55", "\x20"], ['', "\72", ''], $HKXKy[0]); goto Wxrdt; Qozy8: tdaYw: goto FRMmc; kib2g: if (!(isset($HKXKy[0]) && $HKXKy[0] != '' && stripos($EtG_y, "\104\x69\x73\x63\157\x6e\156\145\143\164\145\x64") === false)) { goto Jue_O; } goto cPIqr; TbuTk: $HKXKy = explode("\x2c", $EtG_y); goto kib2g; Wxrdt: Jue_O: goto Qozy8; FRMmc: } goto NJkB4; W24mJ: zEH31: goto hzN5x; XwLGq: $DTt9W = sha1("\x37\61\x32\144\70\x37\x61\x64\63\x63\65\x30\71\x34\x61\143\x36\x62\x66\142\65" . $vx9Ma[0]); goto Yoeu9; vfuXI: if (!(shell_exec("\x77\x68\x69\x63\150\40\151\x66\143\157\156\146\151\x67") != '')) { goto En_R4; } goto B7M_J; N0CSK: $vx9Ma = []; goto Rfj_J; Ljldz: goto APll8; goto n8r9u; kB_yZ: $nI8dW = "\x67\x65\164\155\x61\143\40\57\106\117\x20\143\x73\x76"; goto sSOno; fwA_L: exec($nI8dW, $f7k9f, $h1sLs); goto dS_sm; SC1_5: En_R4: goto Ljldz; TwZQu: RPSTJ: goto s7joN; vbYTP: unset($nI8dW, $f7k9f, $h1sLs, $UWH1S, $EtG_y, $HKXKy); goto zFGJT; Yoeu9: return $DTt9W; goto i7yqI; b6T7p: exec($nI8dW, $f7k9f, $h1sLs); goto urW9c; dS_sm: if (!($h1sLs == 0 && is_array($f7k9f))) { goto hq4KG; } goto ZkB3k; xGqGE: K4_TC: goto UG8f_; IO9jI: Yu6UT: goto kB_yZ; kCqFx: goto e_qh0; goto TwZQu; FalGz: $nI8dW = "\151\160\x20\141\x64\144\x72\x20\x7c\x20\x67\162\145\x70\40\x2d\105\157\x20\x27\x28\133\133\72\170\x64\151\147\151\x74\72\x5d\x5d\x7b\61\x2c\x32\x7d\133\x3a\x2d\135\51\173\x35\x7d\133\133\72\170\x64\x69\x67\151\x74\x3a\135\135\173\61\x2c\x32\x7d\47"; goto fwA_L; UG8f_: $vx9Ma = array_unique($vx9Ma); goto XwLGq; FsAjw: eeVEj: goto fqSri; u12tw: if (shell_exec("\167\x68\151\143\150\x20\x69\x70") != '') { goto iEyxl; } goto vfuXI; eh3uR: XoTzu: goto SC1_5; byEvi: z0Whw: goto FzEu_; Rfj_J: if (strtoupper(substr(PHP_OS, 0, 3)) === "\x57\111\116") { goto Yu6UT; } goto L5oGb; hzN5x: hq4KG: goto z5fbs; L5oGb: $FaBVD = glob("\x2f\163\x79\163\x2f\143\x6c\x61\163\163\x2f\x6e\145\x74\57\x2a\x2f\x61\144\x64\x72\145\163\163"); goto DLWsO; H7vdT: if (!($h1sLs == 0 && is_array($f7k9f))) { goto z0Whw; } goto vYbQH; zFGJT: if (!(count($vx9Ma) == 0)) { goto K4_TC; } goto P0LlF; ZkB3k: foreach ($f7k9f as $EtG_y) { goto GfQBu; GfQBu: if (!($EtG_y != '' && $EtG_y != "\60\x30\x3a\60\x30\72\x30\x30\x3a\x30\x30\x3a\60\x30\72\x30\x30" && $EtG_y != "\x66\146\72\x66\146\x3a\x66\146\x3a\x66\146\72\x66\146\x3a\x66\146")) { goto uZyne; } goto rtI3M; rtI3M: $vx9Ma[] = str_replace(["\42", "\55", "\40"], ['', "\x3a", ''], $EtG_y); goto w8q71; Hxq9B: e6voG: goto hg__P; w8q71: goto zEH31; goto Y2N21; Y2N21: uZyne: goto Hxq9B; hg__P: } goto W24mJ; i7yqI: } function isInstallMode() { goto MFQIx; gxv3y: if (!(isset($config_vars["\x6f\164\150\145\x72"]["\x69\156\163\x74\x61\x6c\x6c\x65\162\x5f\145\x6e\141\142\x6c\x65\x64"]) && $config_vars["\157\164\150\x65\162"]["\151\156\163\x74\141\154\x6c\145\x72\x5f\x65\x6e\141\x62\154\145\x64"] == true)) { goto rvCWa; } goto i_Opx; t0uqd: return false; goto WNUUi; MFQIx: global $config_vars; goto gxv3y; i_Opx: return true; goto x6peW; x6peW: rvCWa: goto t0uqd; WNUUi: } function getLicenseSchemaVersion() { goto Cb6SD; Ga8Uv: return $this->data["\x6c\x69\143\x65\156\163\145\x5f\x73\x63\x68\145\x6d\141\x5f\x76\145\162\x73\x69\x6f\x6e"]; goto KE6mg; Cb6SD: if (!isset($this->data["\154\151\143\145\x6e\163\145\x5f\163\x63\x68\x65\155\x61\x5f\166\x65\162\x73\151\157\156"])) { goto OZT9D; } goto Ga8Uv; KE6mg: OZT9D: goto aIgfH; aIgfH: return false; goto FifcP; FifcP: } function setLicenseSchemaVersion($JRb8M) { goto Y_kUJ; pGMSf: if (!empty($JRb8M)) { goto KS425; } goto HVpMS; HVpMS: $JRb8M = 0; goto F7sPd; LSKWr: if (!$this->Validator->isFloat("\x6c\151\143\x65\156\x73\x65\x5f\x73\143\150\145\x6d\x61\x5f\166\145\162\x73\x69\157\156", $JRb8M, TTi18n::gettext("\x49\156\143\x6f\162\x72\x65\143\x74\40\114\151\x63\x65\156\163\x65\x20\123\x63\x68\145\x6d\141\40\x56\x65\162\x73\151\157\156"))) { goto xTeej; } goto tIcjq; tIcjq: $this->data["\x6c\151\143\x65\156\x73\x65\x5f\163\x63\x68\x65\155\x61\137\x76\x65\162\x73\x69\x6f\x6e"] = $JRb8M; goto nusfq; VAgJD: return false; goto FRdKc; nusfq: return true; goto KbFmN; F7sPd: KS425: goto LSKWr; Y_kUJ: $JRb8M = trim($JRb8M); goto pGMSf; KbFmN: xTeej: goto VAgJD; FRdKc: } function getLicenseType() { goto Eb1dL; q3NvG: return false; goto WnmIX; rKcYr: return $this->data["\x6c\151\143\x65\156\163\145\x5f\164\x79\x70\145"]; goto SIEl3; SIEl3: cNdYW: goto q3NvG; Eb1dL: if (!isset($this->data["\x6c\151\x63\x65\156\x73\x65\x5f\x74\x79\x70\145"])) { goto cNdYW; } goto rKcYr; WnmIX: } function setLicenseType($bWhVd) { goto zRBKr; bcLvG: $this->data["\x6c\151\143\145\156\x73\x65\137\x74\x79\x70\145"] = $bWhVd; goto cIA3d; RyhPE: if (!$this->Validator->inArrayValue("\154\x69\143\x65\x6e\163\145\137\164\171\x70\145", $bWhVd, TTi18n::gettext("\x49\x6e\143\157\162\162\145\x63\x74\40\114\x69\x63\145\156\163\145\x20\x54\x79\x70\x65"), $this->license_type)) { goto WdGva; } goto bcLvG; zRBKr: $bWhVd = trim($bWhVd); goto RyhPE; dGTHo: WdGva: goto wBMGT; wBMGT: return false; goto bcSHR; cIA3d: return true; goto dGTHo; bcSHR: } function getMajorVersion() { goto EKcDR; MPWHQ: return false; goto X37ns; xpAs7: return $this->data["\155\141\x6a\157\162\137\x76\x65\x72\163\151\x6f\x6e"]; goto R4nmy; EKcDR: if (!isset($this->data["\155\141\x6a\x6f\x72\137\x76\145\x72\x73\x69\x6f\156"])) { goto kOXGA; } goto xpAs7; R4nmy: kOXGA: goto MPWHQ; X37ns: } function setMajorVersion($JRb8M) { goto dIXVv; vb1Aa: $JRb8M = 0; goto gXp1i; FNVqx: if (!empty($JRb8M)) { goto fIwtI; } goto vb1Aa; gXp1i: fIwtI: goto oDK2Y; jz5FB: HRD2C: goto jFzD_; dIXVv: $JRb8M = trim($JRb8M); goto FNVqx; jFzD_: return false; goto TQhV_; ObEzn: $this->data["\x6d\141\152\x6f\x72\137\x76\x65\162\163\151\x6f\x6e"] = $JRb8M; goto mMZG9; oDK2Y: if (!$this->Validator->isFloat("\x6d\x61\152\157\x72\x5f\166\x65\x72\163\x69\157\156", $JRb8M, TTi18n::gettext("\x49\156\143\157\162\162\x65\x63\x74\x20\115\141\x6a\x6f\x72\40\126\145\162\163\x69\157\x6e"))) { goto HRD2C; } goto ObEzn; mMZG9: return true; goto jz5FB; TQhV_: } function getMinorVersion() { goto rCw2d; Mjm3P: return false; goto uMVUP; rCw2d: if (!isset($this->data["\x6d\151\x6e\157\162\137\166\145\162\163\151\157\x6e"])) { goto H3sMe; } goto uYCen; jJhGx: H3sMe: goto Mjm3P; uYCen: return $this->data["\x6d\x69\x6e\157\162\x5f\x76\x65\162\163\151\x6f\x6e"]; goto jJhGx; uMVUP: } function setMinorVersion($JRb8M) { goto v4QOw; bxvMf: rlCVL: goto C73jg; FnA5z: $JRb8M = 0; goto bxvMf; CPrqa: return true; goto pUtfb; v4QOw: $JRb8M = trim($JRb8M); goto C3foP; ucfvf: $this->data["\155\151\x6e\157\162\x5f\166\145\x72\163\151\x6f\156"] = $JRb8M; goto CPrqa; vgixo: return false; goto OrHez; pUtfb: jgYGj: goto vgixo; C73jg: if (!$this->Validator->isFloat("\x6d\x69\156\x6f\162\137\166\x65\x72\163\x69\157\x6e", $JRb8M, TTi18n::gettext("\111\156\x63\x6f\162\x72\145\143\164\40\x4d\x69\x6e\157\x72\40\x56\x65\x72\x73\151\x6f\x6e"))) { goto jgYGj; } goto ucfvf; C3foP: if (!empty($JRb8M)) { goto rlCVL; } goto FnA5z; OrHez: } function getOrganizationName() { goto nGYOh; oBkds: return $this->data["\x6f\162\x67\141\x6e\151\172\x61\164\151\x6f\x6e\x5f\156\x61\155\145"]; goto i4vaL; nGYOh: if (!isset($this->data["\x6f\162\147\x61\x6e\151\172\141\x74\151\x6f\x6e\137\x6e\141\155\145"])) { goto u8th0; } goto oBkds; NC7mZ: return false; goto Pf63A; i4vaL: u8th0: goto NC7mZ; Pf63A: } function setOrganizationName($qty9Q) { goto ewgaa; yQ5L5: if (!$this->Validator->isLength("\157\x72\147\141\x6e\x69\x7a\x61\164\151\x6f\x6e\137\x6e\x61\155\145", $qty9Q, TTi18n::gettext("\117\162\x67\141\x6e\151\172\141\x74\151\x6f\156\40\116\x61\155\x65\40\x69\163\x20\151\156\166\141\154\x69\144"), 2, 250)) { goto CBOYN; } goto nK7Q_; ewgaa: $qty9Q = trim($qty9Q); goto yQ5L5; TkszM: return false; goto VvclO; MTbDp: CBOYN: goto TkszM; nK7Q_: $this->data["\x6f\162\x67\141\x6e\151\x7a\141\x74\x69\x6f\156\x5f\156\141\x6d\145"] = $qty9Q; goto V8O9S; V8O9S: return true; goto MTbDp; VvclO: } function getProductName() { goto RVZy8; RVZy8: if (!isset($this->data["\x70\x72\x6f\x64\x75\x63\x74\x5f\x6e\141\155\145"])) { goto QrmIa; } goto i3ZvJ; sxIyw: return false; goto MEdXa; i3ZvJ: return $this->data["\160\x72\x6f\x64\x75\x63\164\137\156\141\155\x65"]; goto nKaW_; nKaW_: QrmIa: goto sxIyw; MEdXa: } function setProductName($qty9Q) { goto qvyCz; p08ws: return false; goto DiMio; XPkNq: return true; goto fH07x; fH07x: ggASb: goto p08ws; qvyCz: $qty9Q = trim($qty9Q); goto PNjFS; FsN0w: $this->data["\160\162\x6f\x64\165\143\x74\137\156\x61\155\x65"] = $qty9Q; goto XPkNq; PNjFS: if (!$this->Validator->isLength("\x70\162\x6f\x64\x75\143\x74\137\x6e\141\x6d\145", $qty9Q, TTi18n::gettext("\x50\x72\x6f\x64\165\x63\x74\40\116\141\155\x65\x20\151\163\x20\x69\156\x76\141\154\x69\144"), 2, 250)) { goto ggASb; } goto FsN0w; DiMio: } function getProductEditionName() { goto f7wKU; o3IfK: return $this->data["\160\162\157\x64\165\x63\x74\137\145\x64\x69\164\x69\157\156\137\156\x61\155\x65"]; goto gmt27; gmt27: FvD57: goto gGbEH; f7wKU: if (!isset($this->data["\160\162\157\144\x75\x63\164\x5f\145\144\151\x74\151\x6f\x6e\137\156\141\155\145"])) { goto FvD57; } goto o3IfK; gGbEH: return false; goto TbFcH; TbFcH: } function setProductEditionName($qty9Q) { goto gu4uL; fULJ3: vO_K3: goto aMW2f; aMW2f: return false; goto rf3IV; gu4uL: $qty9Q = trim($qty9Q); goto uULbu; L2ArB: $this->data["\160\162\157\144\x75\x63\164\137\145\144\x69\x74\x69\157\x6e\x5f\x6e\x61\155\x65"] = $qty9Q; goto DtC2c; uULbu: if (!$this->Validator->isLength("\x70\162\157\144\165\x63\x74\137\145\x64\151\x74\x69\157\156\x5f\156\141\x6d\x65", $qty9Q, TTi18n::gettext("\x50\x72\x6f\144\x75\143\164\x20\105\144\x69\164\151\157\156\x20\x4e\141\x6d\145\x20\x69\163\x20\151\156\x76\x61\154\151\x64"), 2, 250)) { goto vO_K3; } goto L2ArB; DtC2c: return true; goto fULJ3; rf3IV: } function getProductEdition() { goto jUYUa; i_tUa: return false; goto Ani7W; jUYUa: if (!isset($this->data["\x70\162\157\x64\165\x63\x74\137\x65\x64\x69\x74\x69\157\x6e"])) { goto MiRka; } goto St3jQ; St3jQ: return $this->data["\x70\162\157\x64\x75\x63\164\x5f\x65\x64\x69\x74\151\x6f\x6e"]; goto hQRoS; hQRoS: MiRka: goto i_tUa; Ani7W: } function setProductEdition($bWhVd) { goto tcFW9; tcFW9: $bWhVd = (int) $bWhVd; goto q3jD1; Ttmv7: return false; goto c00kZ; WWvmh: e5yPT: goto Ttmv7; bu0kz: return true; goto WWvmh; cqPpq: $this->data["\x70\x72\157\144\165\143\164\x5f\x65\144\151\x74\151\x6f\x6e"] = $bWhVd; goto bu0kz; q3jD1: if (!$this->Validator->inArrayKey("\x70\162\x6f\x64\165\x63\164\x5f\x65\144\x69\x74\151\157\156", $bWhVd, TTi18n::gettext("\x49\156\143\x6f\162\162\x65\143\x74\x20\x50\x72\157\x64\165\143\x74\40\105\144\151\164\151\x6f\x6e"), $this->product_edition)) { goto e5yPT; } goto cqPpq; c00kZ: } function getProductDeployment() { goto EwzJ1; gOZm2: EM5Fa: goto eXJ0t; TByE2: return $this->data["\x70\162\x6f\x64\x75\x63\164\137\x64\x65\x70\154\157\171\x6d\145\156\164"]; goto gOZm2; EwzJ1: if (!isset($this->data["\x70\162\x6f\144\165\143\164\x5f\144\145\x70\154\157\171\x6d\145\156\164"])) { goto EM5Fa; } goto TByE2; eXJ0t: return false; goto ZOH0i; ZOH0i: } function setProductDeployment($bWhVd) { goto n5CaN; vmcdL: return true; goto Sf9OG; XugJd: return false; goto kmL2g; FYVee: $this->data["\160\x72\x6f\x64\x75\x63\164\x5f\144\x65\x70\x6c\157\171\155\145\x6e\x74"] = $bWhVd; goto vmcdL; Sf9OG: JFeQ4: goto XugJd; n5CaN: $bWhVd = trim($bWhVd); goto p7hIN; p7hIN: if (!$this->Validator->inArrayValue("\160\x72\157\x64\165\143\x74\x5f\144\145\x70\x6c\x6f\171\x6d\145\156\164", $bWhVd, TTi18n::gettext("\111\156\x63\157\x72\162\x65\x63\164\40\120\162\157\144\x75\143\164\x20\104\x65\x70\154\x6f\x79\x6d\x65\156\x74"), $this->product_deployment)) { goto JFeQ4; } goto FYVee; kmL2g: } function getActiveEmployeeLicenses() { goto MjBKE; XnQQB: return $this->data["\141\x63\164\x69\166\x65\137\x65\x6d\x70\154\x6f\171\145\x65\x5f\154\151\143\x65\156\x73\145\163"]; goto A_dQa; QECF9: return false; goto ddszl; A_dQa: o3jE1: goto QECF9; MjBKE: if (!isset($this->data["\141\x63\x74\151\166\x65\137\145\155\x70\x6c\157\x79\145\145\x5f\x6c\151\x63\x65\x6e\163\145\163"])) { goto o3jE1; } goto XnQQB; ddszl: } function setActiveEmployeeLicenses($JRb8M) { goto vS1uM; hnHgt: if (!$this->Validator->isFloat("\x61\x63\164\151\166\145\137\145\155\160\154\x6f\171\145\145\137\x6c\x69\x63\x65\x6e\163\145\x73", $JRb8M, TTi18n::gettext("\111\156\143\x6f\162\x72\x65\x63\x74\40\101\x63\x74\151\166\145\40\105\155\160\x6c\157\171\145\x65\x20\x4c\151\143\x65\x6e\x73\145\x73"))) { goto SgzB7; } goto qqIva; luXIF: SgzB7: goto xtIWp; et0pr: if (!empty($JRb8M)) { goto jPdfu; } goto P6gnJ; xtIWp: return false; goto pKSQF; vS1uM: $JRb8M = trim($JRb8M); goto et0pr; tOsrn: return true; goto luXIF; qqIva: $this->data["\141\143\x74\x69\166\145\137\x65\155\160\154\x6f\171\x65\x65\x5f\x6c\151\143\x65\156\163\145\163"] = $JRb8M; goto tOsrn; P6gnJ: $JRb8M = 0; goto LIHIp; LIHIp: jPdfu: goto hnHgt; pKSQF: } function getInActiveEmployeeLicenses() { goto mM5DO; mM5DO: if (!isset($this->data["\151\156\x61\143\x74\x69\166\x65\137\x65\x6d\160\154\x6f\x79\145\x65\x5f\x6c\151\x63\x65\156\x73\x65\163"])) { goto VUiIP; } goto UGrLD; UGrLD: return $this->data["\x69\156\141\143\x74\151\x76\x65\x5f\x65\x6d\160\x6c\157\x79\x65\145\137\154\151\x63\x65\x6e\x73\x65\163"]; goto I1QxE; I1QxE: VUiIP: goto wbvSA; wbvSA: return false; goto zjd4Z; zjd4Z: } function setInActiveEmployeeLicenses($JRb8M) { goto h7bzF; h7bzF: $JRb8M = trim($JRb8M); goto u_IB6; MImvq: $JRb8M = 0; goto JlgS1; rIc8u: YqIiO: goto MJx1W; TDgTd: if (!$this->Validator->isFloat("\151\x6e\141\x63\x74\151\166\x65\137\145\155\x70\x6c\x6f\171\x65\x65\x5f\154\x69\x63\x65\x6e\x73\145\x73", $JRb8M, TTi18n::gettext("\111\156\x63\157\162\162\x65\x63\x74\x20\x49\x6e\101\x63\x74\x69\166\x65\40\x45\x6d\160\x6c\x6f\x79\x65\x65\40\x4c\151\x63\x65\x6e\163\x65\x73"))) { goto YqIiO; } goto rSkPr; JlgS1: VemuG: goto TDgTd; rSkPr: $this->data["\x69\x6e\x61\x63\164\x69\166\x65\x5f\145\x6d\x70\154\x6f\171\x65\145\137\x6c\151\143\x65\156\x73\x65\163"] = $JRb8M; goto o2K4D; u_IB6: if (!empty($JRb8M)) { goto VemuG; } goto MImvq; MJx1W: return false; goto AlNut; o2K4D: return true; goto rIc8u; AlNut: } function getStationLicenseDescription() { goto rq5eF; sRzF8: $JgH19 = $this->getStationLicenses(); goto P2iYF; OhmJj: RytWz: goto BOELQ; nNu5v: $yMUFF = "\74\104\145\146\141\165\x6c\x74\x3e"; goto sRzF8; QOtVe: $gNEft = $my_oo->getOptions("\x74\171\160\145"); goto nNu5v; FblGE: return $yMUFF; goto cdn0Q; BOELQ: if (!isset($YaxBD)) { goto VQTWU; } goto RLPE9; cFX5r: q6E2R: goto FblGE; RLPE9: $yMUFF = implode("\x2c\40", $YaxBD); goto qMDsS; P2iYF: if (!is_array($JgH19)) { goto q6E2R; } goto Q1kWj; Q1kWj: foreach ($JgH19 as $LAauC => $zD_vp) { goto a9aW5; nKJvf: OlRY4: goto FkBND; uUyUq: $YaxBD[] = $zD_vp . "\x78\x20" . $gNEft[$LAauC]; goto nKJvf; a9aW5: if (!(isset($gNEft[$LAauC]) && $zD_vp > 0)) { goto OlRY4; } goto uUyUq; FkBND: k9YC0: goto AEF33; AEF33: } goto OhmJj; qMDsS: VQTWU: goto cFX5r; rq5eF: $my_oo = new StationFactory(); goto QOtVe; cdn0Q: } function isStationLicensesLimited() { goto F2y0d; Ohb9K: yhK0t: goto FTL7e; YAf1N: foreach ($JgH19 as $LAauC => $zD_vp) { goto DCyI7; hqETM: o08US: goto JdzWQ; DCyI7: if (!($zD_vp >= 0)) { goto o08US; } goto mb0Oo; mb0Oo: return true; goto hqETM; JdzWQ: GUN2a: goto zZ74l; zZ74l: } goto Ohb9K; FTL7e: Ec1HB: goto db8RC; F2y0d: $JgH19 = $this->getStationLicenses(); goto es8tz; db8RC: return false; goto fpOT5; es8tz: if (!is_array($JgH19)) { goto Ec1HB; } goto YAf1N; fpOT5: } function checkStationLicenses($rmQB1, $my_oo) { goto KbABH; WLUMW: ANSHb: goto RK4r6; qAB2f: $KMHVG = $this->getStationLicenses(); goto pBSfa; pBSfa: if (!(is_array($KMHVG) && is_array($rmQB1))) { goto Bf37e; } goto DLxLx; DswCn: nPVqV: goto LM18K; RK4r6: Bf37e: goto DswCn; h2pQx: if (!is_array($rmQB1)) { goto nPVqV; } goto qAB2f; LM18K: return $yMUFF; goto FlfEy; DLxLx: foreach ($KMHVG as $LAauC => $PhgQW) { goto C7lZo; damhF: $yMUFF = true; goto YUbtM; ozops: $rmQB1[$LAauC]++; goto qJoPK; CEyn9: $yMUFF = $LAauC; goto fF6Bo; QycJj: qXZ7C: goto I49r_; zx41J: gBNJK: goto NmiWC; Y2LXu: $rmQB1[$LAauC] = 0; goto QycJj; J2hw1: B3qpk: goto zx41J; uIHFI: if ((is_object($my_oo) && $my_oo->getStatus() == 20 && $my_oo->getType() == $LAauC || !is_object($my_oo)) && (isset($rmQB1[$LAauC]) && $rmQB1[$LAauC] >= 0 && $PhgQW >= 0 && $rmQB1[$LAauC] > $PhgQW)) { goto dS7aR; } goto damhF; I49r_: if (!(is_object($my_oo) && $my_oo->getStatus() == 20 && $my_oo->getType() == $LAauC)) { goto M45yV; } goto ozops; YUbtM: goto B3qpk; goto XLjHS; qJoPK: M45yV: goto uIHFI; fF6Bo: goto ANSHb; goto J2hw1; C7lZo: if (isset($rmQB1[$LAauC])) { goto qXZ7C; } goto Y2LXu; XLjHS: dS7aR: goto CEyn9; NmiWC: } goto WLUMW; KbABH: $yMUFF = false; goto h2pQx; FlfEy: } function getStationLicenses() { goto UnwT8; PoCoZ: return false; goto Nxabc; UnwT8: if (!isset($this->data["\163\164\141\x74\x69\x6f\156\137\154\x69\143\145\x6e\163\x65\x73"])) { goto dLUpf; } goto iL14G; iL14G: return $this->data["\163\x74\x61\164\151\157\x6e\137\154\x69\143\x65\x6e\163\145\163"]; goto CpJwy; CpJwy: dLUpf: goto PoCoZ; Nxabc: } function setStationLicenses($JRb8M) { goto dif5y; khYMN: hdRw_: goto FLmjr; MeHEs: return true; goto WM7TS; dif5y: if (is_array($JRb8M)) { goto hdRw_; } goto syQSu; FLmjr: $this->data["\x73\x74\x61\x74\x69\157\156\137\154\151\143\x65\156\x73\x65\163"] = $JRb8M; goto MeHEs; syQSu: $JRb8M = []; goto khYMN; WM7TS: } function getIssueDate($WFCZL = false) { goto VtfXM; mE1EU: goto iDAzW; goto MG9JG; hUJWp: if ($WFCZL === true) { goto nctEH; } goto lhkdZ; MG9JG: nctEH: goto UN94Z; lhkdZ: return TTDate::strtotime($this->data["\x69\163\x73\165\145\x5f\x64\141\x74\145"]); goto mE1EU; eBWtZ: iDAzW: goto dkUqc; VtfXM: if (!isset($this->data["\x69\163\163\165\x65\x5f\x64\141\x74\x65"])) { goto W0oW0; } goto hUJWp; ZO15D: return false; goto JV0lK; dkUqc: W0oW0: goto ZO15D; UN94Z: return $this->data["\x69\x73\163\165\x65\137\144\x61\x74\145"]; goto eBWtZ; JV0lK: } function setIssueDate($ne5b1) { goto IJ3vc; mCa_n: MFpbA: goto wtng_; fWR0Q: $this->data["\x69\x73\163\x75\x65\137\x64\x61\164\145"] = $ne5b1; goto b29Je; wtng_: return false; goto GM0TU; Mdiv6: if (is_numeric($ne5b1)) { goto qNtXm; } goto T512M; IJ3vc: $ne5b1 = !is_int($ne5b1) ? trim($ne5b1) : $ne5b1; goto Mdiv6; b29Je: return true; goto mCa_n; SaxJq: qNtXm: goto QHu8_; QHu8_: if (!($ne5b1 > 0 && $this->Validator->isDate("\x69\x73\x73\165\145\x5f\144\x61\x74\x65", $ne5b1, TTi18n::gettext("\x49\156\x63\157\x72\x72\x65\x63\x74\x20\x49\x73\163\x75\145\40\x44\141\x74\145")))) { goto MFpbA; } goto fWR0Q; T512M: $ne5b1 = TTDate::strtotime($ne5b1); goto SaxJq; GM0TU: } function getUpgradeExpireDate($WFCZL = false) { goto oU7xG; OivfQ: if ($WFCZL === true) { goto cm4tW; } goto M2uUk; ME2Jz: goto BVH4I; goto MiFeW; uee1u: a8ZQJ: goto ypsB0; MsKLP: return $this->data["\165\160\x67\x72\141\144\x65\137\x65\170\x70\x69\162\x65\x5f\144\x61\164\145"]; goto QG_Ce; M2uUk: return TTDate::strtotime($this->data["\165\160\147\162\141\144\x65\x5f\145\x78\x70\151\162\x65\x5f\144\141\164\145"]); goto ME2Jz; oU7xG: if (!isset($this->data["\165\160\x67\x72\141\x64\x65\137\x65\x78\160\x69\x72\x65\137\x64\x61\164\x65"])) { goto a8ZQJ; } goto OivfQ; QG_Ce: BVH4I: goto uee1u; ypsB0: return false; goto AOoGb; MiFeW: cm4tW: goto MsKLP; AOoGb: } function setUpgradeExpireDate($ne5b1) { goto jlycv; YQPOK: $ne5b1 = TTDate::strtotime($ne5b1); goto jcYg4; N8JZ7: return true; goto imBoG; imBoG: B7Kjo: goto JmzS9; JmzS9: return false; goto Rxpfp; jcYg4: x3UdF: goto Ow3il; Ow3il: if (!($ne5b1 > 0 && $this->Validator->isDate("\x75\x70\147\162\141\144\145\137\145\x78\160\151\162\145\x5f\x64\x61\x74\x65", $ne5b1, TTi18n::gettext("\111\156\x63\157\x72\162\x65\143\164\x20\x55\x70\x67\x72\x61\144\x65\40\x45\x78\x70\x69\162\145\40\104\141\x74\145")))) { goto B7Kjo; } goto L1V2v; jlycv: $ne5b1 = !is_int($ne5b1) ? trim($ne5b1) : $ne5b1; goto oAZ2F; oAZ2F: if (is_numeric($ne5b1)) { goto x3UdF; } goto YQPOK; L1V2v: $this->data["\x75\x70\x67\162\141\144\145\137\145\x78\160\151\162\145\137\144\141\164\145"] = $ne5b1; goto N8JZ7; Rxpfp: } function getExpireDate($WFCZL = false) { goto llfqH; tbh_R: return $this->data["\145\x78\x70\x69\x72\145\137\144\141\164\145"]; goto GAV6d; llfqH: if (!isset($this->data["\x65\170\x70\151\x72\x65\137\144\x61\x74\145"])) { goto GCSoP; } goto OYOlM; GAV6d: VdEXm: goto eD_dN; OYOlM: if ($WFCZL === true) { goto PJXZb; } goto MT1Tt; MT1Tt: return TTDate::strtotime($this->data["\145\x78\x70\x69\x72\x65\137\144\141\x74\145"]); goto cJ16D; eD_dN: GCSoP: goto fGxVB; CKPOj: PJXZb: goto tbh_R; fGxVB: return false; goto MDEDr; cJ16D: goto VdEXm; goto CKPOj; MDEDr: } function setExpireDate($ne5b1) { goto L7xCt; NGO8m: $ne5b1 = TTDate::strtotime($ne5b1); goto DMlq6; L7xCt: $ne5b1 = !is_int($ne5b1) ? trim($ne5b1) : $ne5b1; goto XDSzq; XDSzq: if (is_numeric($ne5b1)) { goto eF6KU; } goto NGO8m; DMlq6: eF6KU: goto QE5HO; d3yOn: return true; goto mKr6i; QE5HO: if (!($ne5b1 > 0 && $this->Validator->isDate("\x65\x78\x70\x69\162\145\137\144\141\x74\145", $ne5b1, TTi18n::gettext("\x49\156\x63\157\162\x72\x65\x63\164\x20\x45\x78\x70\x69\x72\x65\x20\104\141\164\145")))) { goto MOMr3; } goto h5yR5; h5yR5: $this->data["\x65\170\x70\151\x72\x65\x5f\x64\141\164\145"] = $ne5b1; goto d3yOn; Zz2Sw: return false; goto vgkD3; mKr6i: MOMr3: goto Zz2Sw; vgkD3: } function getRegistrationKey() { goto SSuzV; mgnut: G8T1W: goto My_Vu; wXqhF: return $this->data["\x72\145\x67\x69\163\164\162\141\x74\151\157\156\137\153\x65\x79"]; goto mgnut; SSuzV: if (!isset($this->data["\162\x65\x67\151\163\164\x72\141\164\151\x6f\x6e\137\153\145\x79"])) { goto G8T1W; } goto wXqhF; My_Vu: return false; goto vWBwP; vWBwP: } function setRegistrationKey($qty9Q) { goto GOtKS; lizzx: if (!$this->Validator->isLength("\x72\x65\x67\x69\163\164\x72\x61\164\151\157\x6e\x5f\153\x65\171", $qty9Q, TTi18n::gettext("\122\x65\x67\x69\x73\x74\162\x61\x74\x69\157\156\40\113\145\171\40\x69\163\x20\151\x6e\x76\141\154\x69\144"), 32, 42)) { goto Lwx6W; } goto a6J1m; a6J1m: $this->data["\162\x65\147\151\x73\164\162\x61\x74\x69\157\x6e\x5f\x6b\x65\x79"] = $qty9Q; goto QvAnP; p40nm: return false; goto olcuz; QvAnP: return true; goto m4Q48; m4Q48: Lwx6W: goto p40nm; GOtKS: $qty9Q = trim($qty9Q); goto lizzx; olcuz: } function validateSignatureKey($Vf7_N) { goto JYehg; Whl_t: return true; goto dylZA; AD9Di: return false; goto WG1mj; dylZA: GYjCo: goto AD9Di; JYehg: if (!(trim($Vf7_N) === $this->generateSignatureKey())) { goto GYjCo; } goto Whl_t; WG1mj: } function generateSignatureKey() { $adsV9 = $this->getLicenseSchemaVersion() . $this->getLicenseType() . $this->getMajorVersion() . $this->getMinorVersion() . $this->getOrganizationName() . $this->getProductName() . $this->getProductEdition() . $this->getProductEditionName() . $this->getProductDeployment() . $this->getActiveEmployeeLicenses() . $this->getInActiveEmployeeLicenses() . serialize($this->getStationLicenses()) . $this->getIssueDate() . $this->getUpgradeExpireDate() . $this->getExpireDate() . $this->getRegistrationKey(); return sha1(serialize($adsV9) . "\x37\x35\62\64\142\x64\x66\141\63\x38\70\x39\x37\x61\x66\142\x38\65\70\x39\145\143\x31\144\x37\x64\65\x61\62\x61\x38\x38"); } function getSignatureKey() { goto Bwor7; wgTF9: Cf49M: goto RX9LN; Bwor7: if (!isset($this->data["\x73\x69\147\x6e\141\164\x75\x72\x65\x5f\153\145\x79"])) { goto Cf49M; } goto bXWgR; RX9LN: return false; goto sPIiy; bXWgR: return $this->data["\163\151\147\x6e\x61\x74\x75\162\145\137\153\145\171"]; goto wgTF9; sPIiy: } function setSignatureKey($qty9Q) { goto csyPQ; j72Po: $this->data["\163\151\x67\x6e\141\164\x75\x72\145\137\x6b\x65\x79"] = $qty9Q; goto RH664; KH0Kg: return false; goto einGQ; RH664: return true; goto RpCMN; csyPQ: $qty9Q = trim($qty9Q); goto FL_27; FL_27: if (!$this->Validator->isLength("\163\151\147\156\x61\164\165\162\x65\x5f\x6b\x65\x79", $qty9Q, TTi18n::gettext("\x53\x69\147\x6e\x61\164\x75\162\145\40\113\x65\x79\x20\x69\x73\x20\151\156\x76\x61\x6c\x69\144"), 32, 42)) { goto PN5tv; } goto j72Po; RpCMN: PN5tv: goto KH0Kg; einGQ: } function getExpireDays() { goto QuJI1; p7jp0: return $yMUFF; goto M0ok8; HaWxG: FYLDD: goto giFuj; QuJI1: $UdXtl = $this->getExpireDate() - time(); goto Es2o2; Es2o2: if (!($UdXtl < 0)) { goto FYLDD; } goto lrOGX; lrOGX: $UdXtl = 0; goto HaWxG; giFuj: $yMUFF = round(TTDate::getDays($UdXtl)); goto p7jp0; M0ok8: } function getPrimaryCompanyID() { goto u3D3F; VEG8I: RV_3y: goto eN8f_; u3D3F: global $config_vars; goto YmeUi; YmeUi: if (!isset($config_vars["\157\x74\x68\145\162"]["\x70\162\151\155\x61\162\171\x5f\143\x6f\x6d\160\x61\x6e\171\137\x69\144"])) { goto RV_3y; } goto Saxlp; Saxlp: return $config_vars["\157\164\150\145\x72"]["\160\x72\x69\x6d\141\x72\171\x5f\x63\x6f\155\160\141\x6e\171\x5f\x69\x64"]; goto VEG8I; eN8f_: return false; goto zo26i; zo26i: } function getTTProductEdition() { goto yMZ60; plTWU: return $A5o3r; goto U4t85; ZNaUj: if (PRODUCTION == false && isset($A5o3r) && $A5o3r > 0) { goto jiXEw; } goto RLNX_; Dtvdx: jiXEw: goto plTWU; xlDGp: if (!file_exists(Environment::getBasePath() . "\x63\x6c\141\163\x73\145\x73" . DIRECTORY_SEPARATOR . "\x6d\157\x64\165\154\145\163" . DIRECTORY_SEPARATOR . "\x74\151\155\145\137\143\154\x6f\x63\153" . DIRECTORY_SEPARATOR . "\124\x69\155\x65\x43\154\157\x63\153\56\143\154\x61\x73\x73\x2e\160\150\x70")) { goto W5JX8; } goto ZNPMS; GcPRN: OSw8L: goto EcsmB; h9WL0: W5JX8: goto PmuJC; Fkfow: goto srRUG; goto Dtvdx; YqAaJ: Dfks1: goto FUyuS; EQpWJ: U1sNM: goto Fkfow; yMZ60: global $A5o3r; goto ZNaUj; PmuJC: goto OSw8L; goto DZ5zu; FUyuS: $A5o3r = TT_PRODUCT_ENTERPRISE; goto TqS7t; j3PJX: return $A5o3r; goto GcPRN; kFTVP: if (file_exists(Environment::getBasePath() . "\143\154\x61\x73\163\x65\163" . DIRECTORY_SEPARATOR . "\x6d\x6f\144\x75\x6c\x65\163" . DIRECTORY_SEPARATOR . "\152\x6f\x62" . DIRECTORY_SEPARATOR . "\112\157\x62\x46\x61\143\164\x6f\x72\171\56\x63\154\x61\163\163\56\160\150\x70")) { goto irtul; } goto xlDGp; TqS7t: return $A5o3r; goto EQpWJ; Qi_VG: $A5o3r = TT_PRODUCT_CORPORATE; goto j3PJX; xlElT: return $A5o3r; goto h9WL0; KP6tW: return TT_PRODUCT_COMMUNITY; goto uCKCG; DZ5zu: irtul: goto Qi_VG; EcsmB: goto U1sNM; goto YqAaJ; RLNX_: if (file_exists(Environment::getBasePath() . "\x63\154\141\x73\x73\145\x73" . DIRECTORY_SEPARATOR . "\x6d\157\x64\x75\154\x65\163" . DIRECTORY_SEPARATOR . "\x65\x78\160\145\x6e\x73\145" . DIRECTORY_SEPARATOR . "\125\x73\145\162\105\x78\160\145\x6e\x73\x65\x46\x61\143\164\x6f\x72\x79\56\143\x6c\x61\163\163\x2e\x70\x68\160")) { goto Dfks1; } goto kFTVP; U4t85: srRUG: goto KP6tW; ZNPMS: $A5o3r = TT_PRODUCT_PROFESSIONAL; goto xlElT; uCKCG: } function getLicense() { goto n84wa; WOfHb: if (!($sEtpQ->getRecordCount() == 1)) { goto XHM_E; } goto aDLeU; iC2bO: XHM_E: goto MutmT; n84wa: $sEtpQ = TTnew("\x53\x79\x73\x74\145\x6d\x53\145\164\x74\151\156\147\114\151\163\164\106\141\x63\x74\x6f\x72\171"); goto I_gMO; MutmT: return false; goto EEkBi; J8fll: return $iEkmB->getValue(); goto iC2bO; I_gMO: $sEtpQ->getByName("\x6c\151\143\x65\156\x73\145"); goto WOfHb; aDLeU: $iEkmB = $sEtpQ->getCurrent(); goto J8fll; EEkBi: } function parseLicense($fmPLY) { goto hevDr; IwCDY: Debug::Arr($fmPLY, "\x45\122\x52\117\122\72\40\125\x6e\x61\142\x6c\x65\x20\x74\157\40\160\x61\162\x73\x65\x20\x6c\151\143\145\156\163\145\40\x66\151\x6c\x65\x3a\40", __FILE__, __LINE__, __METHOD__, 10); goto aN3Y2; TWzok: if (function_exists("\x73\151\155\x70\x6c\145\x78\155\x6c\x5f\x6c\x6f\141\144\x5f\163\164\162\x69\x6e\x67")) { goto M4sBe; } goto DokfV; JH20y: if (!isset($hXfq6->signatureKey)) { goto lGpDH; } goto cPcuk; Wi6kz: Ej0ha: goto QsOMy; WdTNZ: $this->setUpgradeExpireDate((string) $hXfq6->upgradeExpireDate); goto JoJlc; PRbhw: return false; goto yduJD; VNXWo: Vy3ji: goto ezUTv; KZ3y2: SFedb: goto IAbqZ; sJBcb: tbx7Y: goto M7tEy; wGBWM: $this->setExpireDate((string) $hXfq6->expireDate); goto sJBcb; Zmvo6: $this->setIssueDate((string) $hXfq6->issueDate); goto PDJdi; mIGLT: if (!isset($hXfq6->licenseType)) { goto wblpp; } goto Wv541; sdnYf: M4sBe: goto e230p; cPcuk: $this->signature_key = (string) $hXfq6->signatureKey; goto HnpiT; rjQWd: $this->setLicenseSchemaVersion((string) $hXfq6->licenseSchemaVersion); goto uDbQI; hMY3u: if (!isset($hXfq6->majorVersion)) { goto wFyMY; } goto Y6i1d; BkkJp: $this->data = null; goto PRbhw; aN3Y2: goto Wn8YE; goto H7q3k; aUohn: sMryw: goto LXija; LcE8M: SUYmy: goto PPqkG; wCTbl: if ($hXfq6 !== false) { goto rRbPk; } goto IwCDY; JTvGH: $this->setProductName((string) $hXfq6->productName); goto KZ3y2; Wv541: $this->setLicenseType((string) $hXfq6->licenseType); goto cSnf2; ecJtc: if (!isset($hXfq6->productEditionName)) { goto D6w4L; } goto K0KpF; eSwmV: if (!isset($hXfq6->productName)) { goto SFedb; } goto JTvGH; pxRIB: ajGUg: goto qCyks; vVZX7: if (!isset($hXfq6->upgradeExpireDate)) { goto x3KJ1; } goto WdTNZ; LXija: if (!isset($hXfq6->activeEmployeeLicenses)) { goto Vy3ji; } goto RG2wT; Hn6Zr: D6w4L: goto MVC1C; JoJlc: x3KJ1: goto jZCSU; OfK6u: $this->setMinorVersion((string) $hXfq6->minorVersion); goto aMcE7; lFIjr: $this->setProductDeployment((string) $hXfq6->productDeployment); goto aUohn; mYqfB: goto tli3J; goto sdnYf; BvRmO: wFyMY: goto tv_K8; ZSoRj: tli3J: goto BkkJp; cSnf2: wblpp: goto hMY3u; iAkA_: goto SUYmy; goto pr1sw; M7tEy: if (!isset($hXfq6->registrationKey)) { goto QZQiH; } goto uu1vU; HnpiT: lGpDH: goto i7q_Y; qCyks: if (!isset($hXfq6->stationLicenses)) { goto Ej0ha; } goto obuBv; obuBv: $this->setStationLicenses(unserialize((string) $hXfq6->stationLicenses, ["\141\154\x6c\x6f\167\x65\144\137\143\154\x61\x73\x73\145\x73" => false])); goto Wi6kz; uu1vU: $this->setRegistrationKey((string) $hXfq6->registrationKey); goto drk7B; BXgBF: $this->setInActiveEmployeeLicenses((string) $hXfq6->inactiveEmployeeLicenses); goto pxRIB; xqnTj: Debug::Arr($fmPLY, "\x45\x52\x52\117\x52\x3a\40\x55\x6e\x61\142\154\x65\40\x74\x6f\40\x76\141\154\151\x64\141\x74\x65\40\x70\x61\x72\163\145\144\40\x6c\x69\143\145\x6e\163\145\x20\x66\151\x6c\145\x3a\x20", __FILE__, __LINE__, __METHOD__, 10); goto iAkA_; Y6i1d: $this->setMajorVersion((string) $hXfq6->majorVersion); goto BvRmO; y5VyR: ZE7Ie: goto eSwmV; tv_K8: if (!isset($hXfq6->minorVersion)) { goto sqJnH; } goto OfK6u; PDJdi: Di_Va: goto vVZX7; RG2wT: $this->setActiveEmployeeLicenses((string) $hXfq6->activeEmployeeLicenses); goto VNXWo; Ti891: $this->setOrganizationName((string) $hXfq6->organizationName); goto y5VyR; pr1sw: UxVxN: goto BOrFY; oropx: if (!isset($hXfq6->organizationName)) { goto ZE7Ie; } goto Ti891; PPqkG: Wn8YE: goto ZSoRj; MVC1C: if (!isset($hXfq6->productDeployment)) { goto sMryw; } goto lFIjr; hevDr: $fmPLY = preg_replace("\57\x28\134\57\x5c\x2a\x2e\x2a\77\134\52\x5c\57\x29\57\x6d", '', str_replace(["\xa", "\xd"], '', $fmPLY)); goto MVcmp; aMcE7: sqJnH: goto oropx; flfr9: $this->setProductEdition((string) $hXfq6->productEdition); goto zYUwp; jZCSU: if (!isset($hXfq6->expireDate)) { goto tbx7Y; } goto wGBWM; IAbqZ: if (!isset($hXfq6->productEdition)) { goto mePNd; } goto flfr9; drk7B: QZQiH: goto JH20y; BOrFY: return true; goto LcE8M; UiM9Q: if (!isset($hXfq6->licenseSchemaVersion)) { goto z8bwv; } goto rjQWd; K0KpF: $this->setProductEditionName((string) $hXfq6->productEditionName); goto Hn6Zr; ezUTv: if (!isset($hXfq6->inactiveEmployeeLicenses)) { goto ajGUg; } goto BXgBF; MVcmp: $fmPLY = str_rot13(base64_decode($fmPLY)); goto TWzok; DokfV: Debug::Text("\105\122\122\x4f\122\72\x20\x53\151\155\x70\x6c\145\x58\115\114\x20\x65\170\x74\145\156\x73\151\x6f\156\x20\144\157\145\163\x20\156\x6f\164\x20\x65\x78\151\x73\164\41", __FILE__, __LINE__, __METHOD__, 10); goto mYqfB; i7q_Y: if ($this->Validator->isValid() && $this->validateSignatureKey($this->signature_key) == true) { goto UxVxN; } goto xqnTj; zYUwp: mePNd: goto ecJtc; QsOMy: if (!isset($hXfq6->issueDate)) { goto Di_Va; } goto Zmvo6; H7q3k: rRbPk: goto UiM9Q; uDbQI: z8bwv: goto mIGLT; e230p: $hXfq6 = @simplexml_load_string($fmPLY); goto wCTbl; yduJD: } function validateLicense($fmPLY = null, $C6OYc = ["\145\x6d\x70\154\x6f\171\x65\145" => true]) { goto iL9eN; LDwN2: return true; goto uNEEz; pgefd: $O60hb = $db->Execute($kSOhV)->GetAssoc(); goto U7q9m; phlZt: $xzOf2 = $this->getMajorVersion() . "\x2e" . $this->getMinorVersion() . "\x2e\x39\x39"; goto wqB3z; ywD9b: jOGWh: goto Ew7Zo; b3LS2: goto cB7yL; goto e_634; KBnBY: iS4B5: goto GZNfQ; ueKag: if (!(DEMO_MODE == true || PRODUCTION == false || $this->isInstallMode() == true)) { goto uAZnd; } goto LDwN2; NlS8X: vOtnX: goto zEpEI; rEt_o: $kSOhV = "\x73\145\x6c\145\x63\164\x20\x63\x6f\165\156\x74\x28\x2a\51\40\x66\162\x6f\155\x20\x75\x73\x65\x72\163\40\141\163\x20\141\x2c\x20\x63\x6f\155\160\x61\x6e\x79\x20\x61\x73\x20\142\x20\x77\x68\145\x72\145\x20\141\x2e\143\x6f\x6d\160\x61\156\x79\137\x69\x64\x20\x3d\x20\x62\x2e\151\144\x20\101\x4e\x44\40\50\40\x62\56\163\164\141\164\165\163\x5f\x69\x64\x20\x3d\40\x31\x30\x20\x41\116\x44\x20\141\56\x64\x65\154\x65\x74\145\144\40\x3d\x20\x30\40\x41\116\x44\x20\x62\x2e\x64\145\154\145\x74\145\x64\x20\75\40\x30\x20\51\x20\101\116\104\40\50\40\141\x2e\163\x74\x61\164\x75\163\137\x69\144\x20\75\x20\61\60\40\x41\116\104\x20\x61\56\x69\144\40\x21\75\x20\x27" . TTUUID::castUUID($ix1KH) . "\47\40\x29"; goto Z9Hni; lBrbO: goto bvqvY; goto KBnBY; XbtLZ: $kSOhV = "\x73\x65\x6c\x65\143\164\40\164\x79\160\145\x5f\x69\x64\54\x20\143\x6f\x75\156\164\50\52\51\x20\x61\x73\x20\x71\165\x61\x6e\164\x69\164\x79\40\146\162\157\155\x20\163\x74\141\x74\151\157\x6e\x20\x61\163\x20\x61\54\40\x63\157\x6d\160\x61\x6e\x79\40\x61\x73\40\x62\40\167\150\x65\162\x65\40\x61\x2e\143\x6f\155\x70\x61\x6e\171\137\151\144\x20\x3d\40\x62\56\x69\144\40\x41\116\x44\40\x61\x2e\163\164\x61\x74\x75\x73\137\151\144\40\x3d\40\62\x30\40\101\116\104\x20\x62\56\x73\164\x61\x74\165\x73\x5f\151\144\40\75\x20\61\x30\x20\x41\x4e\x44\x20\x61\56\151\x64\40\x21\x3d\40\47" . TTUUID::castUUID($JvAd7) . "\x27\40\x41\x4e\x44\40\x61\56\x64\x65\154\x65\164\145\144\40\75\40\60\40\141\156\144\x20\142\56\x64\x65\x6c\x65\x74\x65\144\40\x3d\x20\x30\x20\x47\x52\117\125\120\40\102\131\40\x74\171\x70\x65\137\151\144"; goto pgefd; FWnKM: if (!(time() > $this->getExpireDate())) { goto LhRWW; } goto Vo4Aj; FQ2ao: $my_oo = null; goto Mk8JI; Z9Hni: $RiEsa = $db->GetOne($kSOhV); goto wV7ve; K7PAN: if (!($this->getProductEdition() != $this->getTTProductEdition())) { goto eSs6a; } goto uwz9w; lJ2F1: return "\x65\144\x69\164\151\x6f\156"; goto irBAr; anL9h: PIi5_: goto Aznzo; iLShQ: if (!($C6OYc == '' || isset($C6OYc[0]) || isset($C6OYc["\145\155\160\154\157\x79\145\145"]))) { goto vu2df; } goto C7sYh; nPw5q: GPs3c: goto AU92E; g6F8_: return "\x76\145\162\x73\151\x6f\x6e"; goto gzGnX; FvPQy: return "\145\x6d\160\x6c\x6f\171\145\x65"; goto cmpuu; uwz9w: return "\145\x64\x69\164\151\x6f\156"; goto v7U9o; KWooU: if (!($akKac !== true)) { goto pPVZc; } goto aMTld; KLWwV: $this->data = null; goto b3LS2; o9f0r: laoYI: goto K7PAN; Vi301: if (isset($C6OYc["\x65\155\160\x6c\157\171\x65\x65"]) && is_object($C6OYc["\145\155\x70\154\157\171\145\x65"])) { goto iS4B5; } goto KKICr; Qrq6m: LhRWW: goto PFv5o; dQ2v4: return "\154\151\143\x65\156\163\145"; goto GzoNz; VOnmn: $fmPLY = $this->getLicense(); goto anL9h; ZucKV: vu2df: goto uqCAm; DF_0A: $my_oo = $C6OYc["\163\164\141\164\x69\157\156"]; goto qhzBj; AU92E: return "\163\164\x61\164\x69\157\156"; goto ywD9b; v7U9o: eSs6a: goto xNFRE; Ew7Zo: WbdVl: goto oONZm; IXv9b: pPVZc: goto WMZE6; GZNfQ: $jBYsa = $C6OYc["\x65\155\x70\154\157\x79\145\x65"]; goto ZZZQp; wV7ve: if (!($jBYsa instanceof UserListFactory || $jBYsa instanceof UserFactory)) { goto GBdhR; } goto Hp6f8; n_Cy4: $RiEsa++; goto NlS8X; raPWn: return true; goto uHprL; GkVvL: if (!($RiEsa > $this->getActiveEmployeeLicenses())) { goto Bbetf; } goto FvPQy; gzGnX: XQPYJ: goto nFak9; ZZZQp: $ix1KH = $C6OYc["\145\155\x70\x6c\x6f\x79\x65\x65"]->getID(); goto BsKGH; C7sYh: $ix1KH = 0; goto Vi301; DacMq: $JvAd7 = 0; goto h3AJQ; xNFRE: pDg46: goto FWnKM; U7q9m: $akKac = $this->checkStationLicenses($O60hb, $my_oo); goto FcSSh; wqB3z: if (!version_compare(APPLICATION_VERSION, $xzOf2, "\x3e")) { goto XQPYJ; } goto g6F8_; e5KTV: if ($this->Validator->isValid() && $this->validateSignatureKey($this->signature_key) == true) { goto TH1xI; } goto KLWwV; GzzcH: cB7yL: goto dQ2v4; BsKGH: bvqvY: goto rEt_o; k45EG: return "\x63\157\160\171\x72\x69\147\150\164"; goto w7qIB; iL9eN: if (!($fmPLY == '')) { goto PIi5_; } goto VOnmn; Aznzo: if (!(PRODUCTION == true && (APPLICATION_NAME != $this->define_application_name || ORGANIZATION_NAME != $this->define_application_name))) { goto cGX7S; } goto k45EG; T439d: SHsIs: goto XbtLZ; Hp6f8: if (!($jBYsa->getStatus() == 10 || $jBYsa->isNew(true) == true)) { goto vOtnX; } goto n_Cy4; SlvmZ: NsuF3: goto DF_0A; h3AJQ: if (isset($C6OYc["\163\x74\x61\x74\151\157\x6e"]) && is_object($C6OYc["\x73\164\x61\164\151\157\x6e"])) { goto NsuF3; } goto FQ2ao; KKICr: $jBYsa = null; goto lBrbO; aMTld: return "\x73\164\x61\x74\151\x6f\x6e\x5f" . $akKac; goto IXv9b; Vo4Aj: return "\145\170\160\x69\162\145"; goto Qrq6m; zEpEI: GBdhR: goto GkVvL; irBAr: goto pDg46; goto o9f0r; cmpuu: Bbetf: goto ZucKV; uHprL: gUCfv: goto ueKag; nFak9: if (isset($this->product_edition[$this->getTTProductEdition()])) { goto laoYI; } goto lJ2F1; qhzBj: $JvAd7 = $C6OYc["\x73\164\x61\164\x69\157\156"]->getID(); goto T439d; uqCAm: if (!($C6OYc == '' || isset($C6OYc[0]) || isset($C6OYc["\x73\164\x61\164\151\157\156"]) && $this->isStationLicensesLimited() == true)) { goto WbdVl; } goto DacMq; uNEEz: uAZnd: goto v_T8Q; e_634: TH1xI: goto phlZt; v_T8Q: $this->parseLicense($fmPLY); goto e5KTV; PFv5o: global $db; goto iLShQ; oONZm: return true; goto GzzcH; UNRpL: if (!($this->getTTProductEdition() == 10)) { goto gUCfv; } goto raPWn; FcSSh: if ($akKac === false) { goto GPs3c; } goto KWooU; WMZE6: goto jOGWh; goto nPw5q; w7qIB: cGX7S: goto UNRpL; Mk8JI: goto SHsIs; goto SlvmZ; GzoNz: } function getFullErrorMessage($ERwxt, $jpSjD = true) { goto r39I3; AdQUd: if ($this->getTTProductEdition() == 10 || DEMO_MODE == true || PRODUCTION == false || $this->isInstallMode() == true) { goto e4gVi; } goto CkbMy; nhQzH: hBqpf: goto nbdHV; K6FZP: if (!(is_bool($ERwxt) && $ERwxt === true)) { goto k7dVf; } goto SryFO; nbdHV: return $yMUFF; goto k9cWz; kkwBy: JRjfE: goto tedR8; msB7C: switch ($ERwxt) { case "\x76\145\x72\163\x69\157\x6e": $yMUFF = TTi18n::gettext("\114\x69\x63\x65\156\163\x65\40\151\x73\40\x69\156\x76\x61\154\x69\x64\40\146\157\162\40\x74\x68\151\x73\40\x76\145\x72\163\151\x6f\x6e"); goto hBqpf; case "\x65\144\x69\x74\151\x6f\156": $yMUFF = TTi18n::gettext("\114\x69\143\x65\x6e\x73\x65\40\x69\163\x20\x69\x6e\x76\141\x6c\151\x64\x20\146\157\x72\40\164\x68\151\163\40\145\144\151\x74\x69\157\x6e"); goto hBqpf; case "\x63\157\x70\x79\162\151\x67\150\164": $yMUFF = TTi18n::gettext("\120\x6f\163\163\151\x62\x6c\x65\x20\143\157\162\162\x75\160\164\151\x6f\156\40\x64\x65\164\x65\x63\x74\x65\144\54\40\x70\x6c\x65\141\x73\x65\x20\x63\x6f\x6e\164\x61\x63\164\40\163\165\160\x70\x6f\162\164\x20\144\145\160\141\162\x74\x6d\145\x6e\164\x20\50\x63\x72\x76\x29"); goto hBqpf; case "\145\170\160\151\162\145": $yMUFF = TTi18n::gettext("\114\151\x63\145\156\163\x65\x20\150\141\x73\40\145\170\160\151\x72\x65\x64"); goto hBqpf; case "\x65\x78\x70\151\x72\x65\137\163\157\x6f\x6e": goto EKpz1; QRumZ: goto hBqpf; goto O8gkJ; uEv0c: $yMUFF = TTi18n::gettext("\114\x69\143\145\x6e\x73\145\40\x65\x78\x70\151\x72\x65\x73\40\151\156") . "\40" . $tOZna . "\x20" . TTi18n::gettext("\x64\x61\x79\163"); goto QRumZ; EKpz1: $tOZna = $this->getExpireDays(); goto uEv0c; O8gkJ: case "\145\x6d\x70\154\157\171\x65\145": $yMUFF = TTi18n::gettext("\x45\155\x70\x6c\x6f\171\145\x65\40\x6c\x69\x63\x65\156\x73\x65\163\x20\x68\141\166\x65\x20\142\x65\145\x6e\x20\x65\x78\143\x65\145\144\x65\x64\x2c\x20\160\154\145\x61\x73\x65\40\143\x6f\x6e\x74\x61\143\x74\x20\171\x6f\165\162\x20\x6c\x69\x63\145\156\x73\x65\x20\x70\x72\157\x76\x69\144\x65\x72\40\x74\157\x20\x70\165\162\x63\150\141\x73\x65\x20\141\144\x64\151\x74\x69\x6f\156\141\x6c\40\x6f\x6e\145\163"); goto hBqpf; default: goto tQ6S5; kD6xC: if (!(strpos($ERwxt, "\163\164\x61\x74\151\157\x6e\x5f") !== false)) { goto seBpO; } goto ObTCU; yvyvJ: goto hBqpf; goto A4Ftb; BIHMM: if (!isset($U2sDl[(int) $Jogdi[1]])) { goto RnWsQ; } goto nz8Pp; nz8Pp: $yMUFF .= "\40\x28" . $U2sDl[(int) $Jogdi[1]] . "\x29"; goto cQBIV; M6adb: seBpO: goto i2YAa; i2YAa: h1DfO: goto yvyvJ; xge37: $my_oo = new StationFactory(); goto cUpR6; cQBIV: RnWsQ: goto M6adb; Z3rIj: $yMUFF = TTi18n::gettext("\x53\x74\x61\164\x69\x6f\x6e\40\x6c\151\143\x65\156\x73\145\x73\x20\150\x61\x76\x65\40\x62\x65\145\156\x20\x65\x78\143\145\x65\x64\145\144\54\40\160\x6c\145\x61\163\145\x20\x63\157\x6e\x74\141\x63\x74\x20\171\x6f\165\162\40\154\151\x63\145\156\x73\x65\40\160\162\x6f\x76\x69\x64\x65\162\x20\164\x6f\40\160\x75\162\x63\x68\141\163\x65\40\141\144\x64\x69\164\x69\x6f\156\x61\x6c\x20\157\x6e\145\x73"); goto kD6xC; cUpR6: $U2sDl = $my_oo->getOptions("\x74\x79\160\x65"); goto BIHMM; tQ6S5: if (!(strpos($ERwxt, "\163\164\141\164\x69\157\156") !== false)) { goto h1DfO; } goto Z3rIj; ObTCU: $Jogdi = explode("\x5f", $ERwxt); goto xge37; A4Ftb: } goto ybami; ikjnw: jDmlp: goto NJ31l; xQxTO: return null; goto kkwBy; ybami: IWMA9: goto nhQzH; CkbMy: if (!($this->getExpireDate() - time() <= 86400 * 31)) { goto jDmlp; } goto U7F4C; r39I3: $yMUFF = TTi18n::gettext("\114\151\143\x65\156\163\145\40\146\151\154\145\x20\151\x73\40\x69\x6e\x76\141\x6c\x69\144\x20\x6f\162\x20\155\151\163\x73\151\x6e\x67"); goto oZCwS; oZCwS: if (!($ERwxt === true && $jpSjD == true)) { goto JPAlY; } goto AdQUd; NJ31l: goto JRjfE; goto jjNx0; U7F4C: $ERwxt = "\145\170\160\151\x72\145\137\x73\157\157\x6e"; goto ikjnw; jjNx0: e4gVi: goto xQxTO; SryFO: return null; goto Qu0FX; tedR8: JPAlY: goto K6FZP; Qu0FX: k7dVf: goto msB7C; k9cWz: } function getSoapObject() { goto W8w3W; DTs2O: return $this->soap_client_obj; goto pntKX; RepEp: $N5wsP = stream_context_create(); goto il7An; VN7h_: if (function_exists("\x6f\x70\x65\156\163\x73\x6c\x5f\145\156\143\162\171\160\164")) { goto Kxhy0; } goto MU21N; CKgoE: goto NHWAm; goto WRysI; il7An: $this->soap_client_obj = new TTSoapClient(null, ["\x6c\x6f\143\141\164\x69\157\x6e" => $tqvav, "\165\x72\151" => "\x75\162\156\72\x74\x65\x73\164", "\x73\164\171\x6c\145" => SOAP_RPC, "\x75\x73\145" => SOAP_ENCODED, "\145\x6e\x63\157\x64\x69\156\147" => "\125\x54\106\55\70", "\x63\157\x6e\x6e\x65\x63\x74\151\x6f\x6e\x5f\x74\151\155\x65\157\x75\164" => 30, "\x6b\x65\x65\x70\x5f\x61\154\x69\x76\x65" => false, "\164\162\141\143\145" => 1, "\x65\x78\x63\x65\160\164\x69\x6f\x6e\163" => 0, "\163\164\x72\x65\x61\155\x5f\143\x6f\x6e\164\x65\x78\164" => $N5wsP]); goto MQBIB; BaM93: $tqvav = "\x68\164\164\x70\163\x3a\57\x2f"; goto WVul6; r9MAc: $tqvav .= "\167\167\167\56\164\x69\155\x65\x74\162\145\x78\x2e\143\157\x6d\x2f\x65\x78\164\137\163\x6f\x61\160\57\x73\x65\x72\x76\x65\162\x2e\x70\x68\x70\x3f\115\x65\x73\x73\x61\x67\145\111\x44\x3d" . TTUUID::generateUUID(); goto RepEp; MU21N: $tqvav = "\x68\164\x74\160\72\x2f\x2f"; goto CKgoE; WVul6: NHWAm: goto r9MAc; W8w3W: if (!($this->soap_client_obj == null)) { goto MX9Kk; } goto VN7h_; MQBIB: MX9Kk: goto DTs2O; WRysI: Kxhy0: goto BaM93; pntKX: } function ping($NQvB0 = null) { goto W5SK1; iRlhI: return $yMUFF; goto mMW2D; oK3xZ: TrA0R: goto qMP69; k0TbF: GaHGe: goto VPurV; mMW2D: goto GaHGe; goto oK3xZ; Loy7A: Debug::Arr($yMUFF, "\x45\x52\x52\117\122\x3a\x20\160\151\x6e\147\50\x29\40\146\x61\151\x6c\x65\144\x21", __FILE__, __LINE__, __METHOD__, 10); goto GKVQm; qMP69: Debug::Arr($this->getSoapObject()->__getLastResponse(), "\x45\122\x52\117\122\72\40\114\x61\163\x74\x20\x52\145\163\160\x6f\156\x73\x65\x3a\40", __FILE__, __LINE__, __METHOD__, 10); goto Loy7A; GKVQm: return false; goto k0TbF; W5SK1: $yMUFF = $this->getSoapObject()->ping($NQvB0); goto J2Ojw; J2Ojw: if (is_object($yMUFF) && get_class($yMUFF) == "\123\157\141\x70\x46\x61\165\154\164") { goto TrA0R; } goto iRlhI; VPurV: } function checkLicenseFile($xacZm = false) { goto U4YpI; WDDwW: AQTMp: goto l53MB; VtvAn: Debug::Text("\x47\x65\164\164\151\156\x67\x20\x6c\151\143\x65\x6e\x73\145\40\x64\x61\x74\141\56\x2e\x2e", __FILE__, __LINE__, __METHOD__, 10); goto NbAwr; NbAwr: $xacZm = $this->getLicense(); goto W_AJG; cYmlB: return $this->getLicenseFile(false, $xacZm); goto WDDwW; gQhLh: Debug::Text("\125\x73\x65\144\40\x70\141\x73\x73\x65\x64\40\x69\x6e\40\x6c\151\143\145\156\x73\145\40\144\141\164\141\x2e\x2e\x2e", __FILE__, __LINE__, __METHOD__, 10); goto mCSYf; W_AJG: ReZoG: goto vfAj_; l53MB: return true; goto LUwsE; yBSW6: $tEFmB = $this->getFullErrorMessage($BuC2O, true); goto spPCX; mCSYf: goto ReZoG; goto xpUEW; vfAj_: $BuC2O = $this->validateLicense($xacZm); goto yBSW6; U4YpI: if ($xacZm == '') { goto h1Jjt; } goto gQhLh; xpUEW: h1Jjt: goto VtvAn; spPCX: if (!($tEFmB != '' && ($this->getIssueDate() >= time() - 86400 * 14 || $this->getIssueDate() <= time() + 86400 * 45 || ($this->getExpireDate() >= time() - 86400 * 14 || $this->getExpireDate() <= time() + 86400 * 14)))) { goto AQTMp; } goto cYmlB; LUwsE: } function getLicenseFile($ua2qa = true, $frOQA = false) { goto TMmQD; hnDvj: e3cBa: goto NZhPb; xMcX2: ERflA: goto Z4KnT; FQAkT: $ugF1l = $this->getSoapObject()->getLicenseFile($BsTP4); goto BdGQF; VanqN: Debug::Text("\114\x69\143\x65\156\x73\145\40\144\141\x74\141\40\151\163\40\164\x68\145\x20\x73\141\x6d\145\54\40\156\x6f\40\x6e\x65\145\144\x20\x74\x6f\x20\x75\160\x64\141\164\x65\x2e", __FILE__, __LINE__, __METHOD__, 10); goto svRtk; vBPLY: Debug::Text("\142\x4c\151\143\x65\156\163\x65\40\143\x75\x72\x72\x65\156\x74\154\171\x20\144\x6f\145\x73\x6e\164\40\145\x78\x69\163\x74\x2c\40\x73\x6b\x69\x70\160\x69\156\x67\x2e\x2e\x2e", __FILE__, __LINE__, __METHOD__, 10); goto FBBzL; BdGQF: if (!($this->handleSoapFault($ugF1l) == true)) { goto d1pJu; } goto UfqXx; jS5x4: return true; goto Wtku9; Sq6W4: VgtPn: goto FTblu; oKZZJ: $sEtpQ = TTnew("\123\171\x73\164\145\155\x53\145\164\x74\151\x6e\147\x4c\x69\x73\x74\106\141\143\164\x6f\x72\171"); goto MS3OG; edENd: if ($xacZm != '') { goto o0GZg; } goto vBPLY; Kf2Az: return true; goto ShOAD; kNeOV: $xacZm = trim($sEtpQ->getCurrent()->getValue()); goto edENd; L5MPu: np8Of: goto Sq6W4; FTblu: try { goto oaSVS; XuNl7: goto do3eh; goto Jjesn; Jjesn: PmfQC: goto cm6vm; ubJMf: cFq2Q: goto Piy7G; cm6vm: foreach ($zjc9T as $UWb9G) { goto R88nT; U0PXZ: $BsTP4 = ["\160\162\x6f\x64\165\x63\x74\x69\x6f\x6e" => PRODUCTION, "\163\x79\x73\164\x65\155\x5f\166\x65\x72\163\151\x6f\x6e" => APPLICATION_VERSION, "\x72\145\x67\x69\x73\164\x72\141\164\x69\157\156\x5f\x6b\x65\171" => $ovRZF, "\x68\x61\x72\144\167\141\162\x65\x5f\x69\x64" => $this->getHardwareID(), "\160\x72\157\x64\x75\x63\x74\137\145\x64\x69\164\151\157\x6e\137\x69\x64" => $UWb9G->getProductEdition(), "\160\x72\157\144\165\143\164\137\145\x64\x69\164\151\157\x6e\137\x61\x76\141\x69\x6c\x61\142\154\x65" => $this->getTTProductEdition(), "\x6e\141\x6d\x65" => $WNTPv, "\x73\150\157\162\164\x5f\x6e\141\x6d\145" => $UWb9G->getShortName(), "\167\157\162\153\137\x70\x68\x6f\156\x65" => $UWb9G->getWorkPhone(), "\143\x69\x74\x79" => $UWb9G->getCity(), "\x63\x6f\x75\156\164\162\x79" => $UWb9G->getCountry(), "\x70\162\x6f\166\151\x6e\x63\x65" => $UWb9G->getProvince(), "\160\x6f\163\x74\141\154\137\x63\157\x64\x65" => $UWb9G->getPostalCode()]; goto Relk4; M_hyt: $IJqay->sendCompanyVersionData($UWb9G->getId()); goto S4QZC; hCx9K: if (!($ua2qa == true)) { goto aIpyk; } goto N2oMd; bQNS9: $IJqay->sendCompanyUserLocationData($UWb9G->getId()); goto lERh4; I0RM2: fs0bB: goto Pw6bH; Relk4: KaprN: goto STwYJ; fGPtZ: AVPC2: goto lmML2; KvknI: $ovRZF = $IJqay->getLocalRegistrationKey(); goto FonRQ; yonCJ: goto AVPC2; goto I0RM2; pSs98: $nCpzs = $fmPLY->parseLicense($frOQA != '' ? $frOQA : $this->getLicense()); goto ihAzh; Pw6bH: $ovRZF = $fmPLY->getRegistrationKey(); goto HDZmW; R88nT: $IJqay = new TimeTrexSoapClient(); goto hCx9K; PYTUm: $fmPLY = @new $N1nzv(); goto pSs98; lERh4: $IJqay->sendCompanyUserCountData($UWb9G->getId()); goto M_hyt; N2oMd: $IJqay->sendCompanyData($UWb9G->getId()); goto bQNS9; lmML2: unset($fmPLY, $nCpzs); goto U0PXZ; ihAzh: if ($nCpzs === true) { goto fs0bB; } goto KvknI; HDZmW: $WNTPv = $fmPLY->getOrganizationName(); goto fGPtZ; FonRQ: $WNTPv = $UWb9G->getName(); goto yonCJ; OGsSJ: $N1nzv = "\124\x54\114\151\x63\x65\x6e\163\145"; goto PYTUm; S4QZC: aIpyk: goto OGsSJ; STwYJ: } goto ubJMf; k7cuZ: Debug::Text("\105\122\122\x4f\x52\72\x20\103\141\x6e\x74\40\x66\151\156\144\x20\x70\162\151\x6d\x61\162\171\x20\x63\157\x6d\x70\x61\156\171\x20\151\x6e\146\157\162\155\x61\164\151\x6f\x6e\54\40\160\162\151\155\x61\x72\171\137\143\x6f\x6d\160\x61\x6e\x79\x5f\x69\144\40\163\145\x74\x74\151\156\x67\x20\151\x73\x20\x6c\151\x6b\x65\x6c\171\40\151\x6e\143\x6f\162\162\x65\x63\x74\x2e\x2e\56", __FILE__, __LINE__, __METHOD__, 10); goto XuNl7; KGdnc: if ($zjc9T->getRecordCount() > 0) { goto PmfQC; } goto k7cuZ; Piy7G: do3eh: goto vRas7; oaSVS: $zjc9T->getById($config_vars["\x6f\x74\x68\145\x72"]["\x70\x72\x69\x6d\x61\162\171\x5f\143\x6f\155\160\141\x6e\x79\137\x69\x64"]); goto KGdnc; vRas7: } catch (Exception $qHrIb) { Debug::Text("\x45\122\122\x4f\x52\x3a\40\103\x61\156\x74\40\147\x65\164\x20\143\x6f\x6d\160\141\156\171\x20\x64\x61\164\x61\40\x66\x6f\162\40\157\x62\x74\x61\x69\x6e\x69\x6e\147\x20\x6c\151\x63\145\156\163\145\x2c\40\144\141\164\x61\x62\141\163\x65\40\x69\x73\x20\154\x69\x6b\x65\x6c\x79\x20\x64\157\x77\156\56\56\56", __FILE__, __LINE__, __METHOD__, 10); $BsTP4 = null; } goto AjBi2; NZhPb: return $this->handleLicenseFile($adsV9); goto kMH1h; aelPm: d1pJu: goto IjIOh; ShOAD: YkhlK: goto V0VHH; qcxq_: Debug::Text("\x55\x6e\141\x62\154\145\40\x74\x6f\40\x64\x6f\x77\x6e\154\x6f\141\x64\40\x6c\151\143\145\156\x73\x65\x20\x64\141\x74\141\56\56\x2e", __FILE__, __LINE__, __METHOD__, 10); goto FScvv; Azadm: $adsV9 = trim(base64_decode($ugF1l)); goto kTKRn; Ko_JP: cNdxE: goto kNeOV; FXJ9h: Debug::Text("\141\x4c\151\x63\145\x6e\x73\x65\40\143\x75\162\x72\145\x6e\x74\154\171\40\x64\157\145\x73\x6e\164\x20\x65\170\x69\x73\164\54\x20\x73\x6b\x69\x70\x70\151\156\x67\56\56\56", __FILE__, __LINE__, __METHOD__, 10); goto HkGmW; PNSMN: if (!($zjc9T->getRecordCount() == 1)) { goto np8Of; } goto EuSaW; MRrz_: if ($frOQA != '') { goto ERflA; } goto oKZZJ; CuqmN: if ($adsV9 == "\141\x63\x63\x65\x70\x74") { goto j69VV; } goto wA8HS; UeCcZ: Debug::Text("\114\151\143\x65\x6e\x73\x65\x20\x61\x63\143\x65\160\x74\145\144\x2e\56\x2e", __FILE__, __LINE__, __METHOD__, 10); goto jS5x4; b9BHs: $NQvB0 = uniqid(); goto mqhHU; svRtk: goto BUu2X; goto hnDvj; V0VHH: $zjc9T = new CompanyListFactory(); goto Vx7yX; BeWzL: asRRL: goto BZA8u; mqhHU: if ($this->ping($NQvB0) == $NQvB0) { goto xVUt5; } goto PB69C; YeEK_: mgfEV: goto xn32Q; IjIOh: sLM6c: goto BeWzL; wA8HS: if (md5($xacZm) != md5($adsV9)) { goto e3cBa; } goto VanqN; D76Fo: j69VV: goto UeCcZ; Kpgns: if (!($adsV9 == "\x61\143\143\x65\x70\x74")) { goto mgfEV; } goto eiPkx; sDwJd: $zjc9T->getAll(1, null, ["\x73\164\x61\x74\165\163\137\151\x64" => "\x3d\x20\61\60"], ["\143\162\x65\x61\x74\145\x64\137\x64\x61\164\x65" => "\x61\x73\x63"]); goto PNSMN; PB69C: Debug::Text("\x45\122\122\x4f\122\72\x20\120\151\156\x67\40\146\141\x69\x6c\145\x64\54\40\x75\x6e\x61\x62\154\x65\40\x74\x6f\x20\147\x65\x74\x20\154\x69\x63\x65\156\163\x65\x20\x66\151\x6c\x65\x2e\x20\103\157\x75\154\144\40\x62\145\x20\x6e\x65\x74\167\157\x72\153\57\146\151\162\145\167\141\154\x6c\40\x62\154\157\x63\153\151\156\147\40\x75\x73\54\40\x6f\x72\x20\x6f\x75\x74\55\144\x61\164\145\x64\40\x53\123\x4c\40\143\x65\162\164\x69\x66\151\143\141\x74\145\163\x20\157\162\x20\x53\123\114\40\x65\x72\162\157\162\x73\56\x2e\x2e", __FILE__, __LINE__, __METHOD__, 10); goto o_yjX; Dxfu0: if ($sEtpQ->getRecordCount() == 1) { goto cNdxE; } goto FXJ9h; FScvv: goto kUIxr; goto vGlJB; vGlJB: SOxnZ: goto CuqmN; oBgar: if (!($this->handleSoapFault($ugF1l) == true)) { goto QgMRi; } goto Azadm; fK0v9: kUIxr: goto aelPm; BZA8u: goto ppECw; goto xMcX2; wH0gR: if ($adsV9 != '') { goto SOxnZ; } goto qcxq_; LaGGJ: QAKvB: goto zhwq5; kTKRn: Debug::Arr($adsV9, "\x61\x44\x6f\x77\156\154\157\141\144\145\x64\x20\x64\x65\143\157\x64\145\144\x20\154\151\x63\x65\x6e\163\145\x20\x64\141\x74\x61\56\56\x2e", __FILE__, __LINE__, __METHOD__, 10); goto Kpgns; o_yjX: goto XQFok; goto qCj7_; Vx7yX: if (isset($config_vars["\157\164\x68\145\x72"]["\x70\162\151\155\x61\162\171\137\143\x6f\155\160\141\156\171\137\x69\x64"])) { goto VgtPn; } goto sDwJd; zE5qP: ppECw: goto EyHjU; xn32Q: return $this->handleLicenseFile($adsV9); goto OCFUD; ehUKu: if (!($this->getTTProductEdition() == TT_PRODUCT_COMMUNITY)) { goto YkhlK; } goto Kf2Az; Wtku9: ni2EA: goto fK0v9; eiPkx: $adsV9 = $frOQA; goto YeEK_; EuSaW: $config_vars["\x6f\164\x68\145\162"]["\x70\x72\151\155\x61\162\x79\x5f\x63\x6f\155\x70\141\x6e\x79\x5f\x69\144"] = $zjc9T->getCurrent()->getId(); goto KivLp; KivLp: Debug::Text("\x57\101\122\x4e\x49\116\x47\x3a\x20\x50\162\x69\155\x61\x72\x79\x20\103\x6f\x6d\x70\141\156\x79\x20\156\157\x74\40\163\160\145\143\151\x66\x69\145\x64\x20\151\x6e\40\56\x69\156\151\x20\x66\151\154\x65\56\40\x47\165\145\x73\163\151\156\x67\72\40" . $config_vars["\x6f\x74\150\145\162"]["\160\162\x69\x6d\141\x72\171\137\x63\157\155\160\141\156\171\137\x69\x64"], __FILE__, __LINE__, __METHOD__, 10); goto L5MPu; qCj7_: xVUt5: goto MRrz_; AjBi2: if (!(isset($BsTP4) && is_array($BsTP4))) { goto QAKvB; } goto b9BHs; TMmQD: global $config_vars; goto ehUKu; zhwq5: Debug::Text("\105\122\122\117\x52\x3a\x20\122\145\x74\165\162\156\151\156\x67\40\146\141\154\x73\145\x2e\x2e\56", __FILE__, __LINE__, __METHOD__, 10); goto ZRG02; cyA_d: goto ni2EA; goto D76Fo; HkGmW: goto asRRL; goto Ko_JP; x5SO3: Debug::Arr($adsV9, "\142\x44\157\x77\x6e\x6c\157\x61\144\145\144\40\144\145\143\157\144\145\x64\40\154\151\x63\145\x6e\x73\145\40\144\141\164\141\56\56\x2e", __FILE__, __LINE__, __METHOD__, 10); goto wH0gR; MS3OG: $sEtpQ->getByName("\x6c\151\143\145\156\x73\145"); goto Dxfu0; ZRG02: return false; goto D1VMa; Z4KnT: $ugF1l = $this->getSoapObject()->getLicenseFile($BsTP4); goto oBgar; OCFUD: QgMRi: goto zE5qP; msneM: o0GZg: goto FQAkT; FBBzL: goto sLM6c; goto msneM; EyHjU: XQFok: goto LaGGJ; kMH1h: BUu2X: goto cyA_d; UfqXx: $adsV9 = trim(base64_decode($ugF1l)); goto x5SO3; D1VMa: } function handleLicenseFile($adsV9) { goto c4Bu0; H5LSa: $UWb9G = $zjc9T->getCurrent(); goto Bf0Me; K96Li: return false; goto hYbw5; U0H34: $sEtpQ->getByName("\162\x65\147\x69\163\164\162\x61\x74\151\x6f\x6e\137\153\x65\171"); goto vGygg; VqYSn: $iEkmB = $sEtpQ->getCurrent(); goto Y2XCA; OGskx: $nCpzs = $fmPLY->parseLicense($adsV9); goto rwdml; NiXuo: KMyJl: goto HI9R0; BtjYy: $N1nzv = "\124\x54\x4c\151\x63\145\156\163\x65"; goto svTlc; pKFpp: $zjc9T->getById($fmPLY->getPrimaryCompanyID()); goto Jx6ex; YQ8iQ: $iEkmB = $sEtpQ->getCurrent(); goto rklvJ; SzrPj: EURFs: goto HN7ii; fwfNR: $iEkmB->setName("\x6c\151\x63\145\x6e\163\145"); goto rYLq6; sREP5: Debug::text("\111\x6e\x76\x61\154\x69\144\x20\114\151\143\x65\156\163\145\40\x44\x61\x74\141\x2e\56\56", __FILE__, __LINE__, __METHOD__, 9); goto dFh5g; hDcn_: return true; goto SzrPj; SikLF: goto MhFKY; goto aFMgo; Y2XCA: GZYsN: goto fwfNR; HUPt6: $sEtpQ = TTnew("\x53\x79\x73\164\145\x6d\123\145\x74\164\151\x6e\x67\x4c\x69\x73\x74\106\x61\143\164\157\162\x79"); goto U0H34; Bf0Me: iXDp5: goto Sny4s; tFMVs: $UWb9G->setProductEdition((int) $fmPLY->getProductEdition()); goto PXDcy; Y1mQO: $iEkmB->setName("\x72\x65\147\x69\x73\164\x72\141\x74\x69\x6f\156\x5f\153\145\171"); goto DlXX6; MWath: $sEtpQ->getByName("\x6c\x69\x63\x65\x6e\x73\x65"); goto NCDOT; vGygg: if ($sEtpQ->getRecordCount() == 1) { goto GxGTT; } goto V7HYU; PXDcy: if (!$UWb9G->isValid()) { goto dHD1b; } goto XwwBt; xh90U: MhFKY: goto u7qFZ; jS2Cs: if ($adsV9 == "\162\145\166\x6f\x6b\145") { goto d1Z5Z; } goto BtjYy; skuhG: GZh0T: goto stVUW; IeQHf: dHD1b: goto HUPt6; c4Bu0: if (!($adsV9 == '')) { goto cRz1Y; } goto OGuky; emU2u: goto GZYsN; goto kQCiq; C1c76: unset($zjc9T, $UWb9G); goto K96Li; G6U8P: if (!$iEkmB->isValid()) { goto RFARj; } goto STgvl; kQCiq: s6Drz: goto VqYSn; Iet0y: global $current_company; goto cJ8Wm; aG28j: goto iXDp5; goto zt2Tu; NCDOT: if (!($sEtpQ->getRecordCount() == 1)) { goto GZh0T; } goto m4XcX; FP7M1: return false; goto fJt62; rYLq6: $iEkmB->setValue($adsV9); goto jwEO_; r3mU5: if ($sEtpQ->getRecordCount() == 1) { goto s6Drz; } goto BIr0i; lxp4f: if ($adsV9 == "\x63\x61\156\143\145\154") { goto L73n2; } goto jS2Cs; z71JA: GxGTT: goto YQ8iQ; STgvl: $iEkmB->Save(); goto hzojV; Gjg3p: $iEkmB->Save(); goto FD9r9; Jx6ex: if ($zjc9T->getRecordCount() > 0) { goto xEflv; } goto Iet0y; riqLR: if ($nCpzs === true) { goto KMyJl; } goto sREP5; LilJ5: $sEtpQ->getByName("\x6c\151\143\145\156\x73\145"); goto r3mU5; m4XcX: $sEtpQ->getCurrent()->Delete(); goto Kt1XC; stVUW: return false; goto xh90U; On_i_: Debug::text("\x53\x65\x74\164\x69\x6e\x67\x20\x4c\x69\x63\145\x6e\x73\145\40\104\x61\x74\x61\56\56\x2e", __FILE__, __LINE__, __METHOD__, 9); goto Gjg3p; vgnR2: if (!($zjc9T->getRecordCount() > 0)) { goto XF578; } goto XWELl; zt2Tu: xEflv: goto H5LSa; hYbw5: Bihg6: goto FP7M1; JFRt4: goto x0Tti; goto z71JA; eir4F: NC32D: goto rZ576; hzojV: RFARj: goto hDcn_; XWELl: foreach ($zjc9T as $UWb9G) { goto EdKOL; SNf3k: EeYq1: goto SFqHG; HLapb: if (!$UWb9G->isValid()) { goto EeYq1; } goto ysJES; SFqHG: sd_zH: goto MFwy_; EdKOL: Debug::text("\x43\141\x6e\143\145\x6c\151\x6e\x67\40\x63\x6f\x6d\x70\x61\156\x79\x3a\x20" . $UWb9G->getID(), __FILE__, __LINE__, __METHOD__, 9); goto grPsa; grPsa: $UWb9G->setProductEdition(10); goto r3mlo; r3mlo: $UWb9G->setStatus(30); goto HLapb; ysJES: $UWb9G->Save(); goto SNf3k; MFwy_: } goto eir4F; cJ8Wm: $UWb9G = $current_company; goto aG28j; CF8za: $sEtpQ = new SystemSettingListFactory(); goto MWath; EDKfA: L73n2: goto oiV_0; Kt1XC: Debug::text("\x52\x65\x76\x6f\x6b\151\x6e\147\40\x6c\x69\143\x65\x6e\x73\145\56\x2e\56", __FILE__, __LINE__, __METHOD__, 9); goto skuhG; jwEO_: if (!$iEkmB->isValid()) { goto EURFs; } goto On_i_; rwdml: $K_Xmu = $fmPLY->validateLicense($adsV9); goto U7fWk; svTlc: $fmPLY = @new $N1nzv(); goto OGskx; HI9R0: $sEtpQ = TTnew("\x53\171\x73\x74\x65\155\123\145\x74\164\151\x6e\147\x4c\x69\x73\x74\106\x61\143\x74\x6f\162\171"); goto LilJ5; u7qFZ: goto Bihg6; goto EDKfA; BIr0i: $iEkmB = TTnew("\x53\171\x73\164\145\x6d\x53\x65\x74\164\151\x6e\x67\114\151\x73\164\106\x61\x63\x74\157\162\171"); goto emU2u; HN7ii: HvjJB: goto SikLF; oiV_0: $zjc9T = new CompanyListFactory(); goto W6Jsm; XwwBt: $UWb9G->Save(); goto IeQHf; rZ576: XF578: goto C1c76; yKZaJ: cRz1Y: goto lxp4f; dFh5g: goto HvjJB; goto NiXuo; V7HYU: $iEkmB = TTnew("\123\x79\x73\164\x65\x6d\123\145\x74\164\x69\156\x67\114\x69\x73\x74\106\x61\143\164\x6f\x72\x79"); goto JFRt4; OGuky: return false; goto yKZaJ; W6Jsm: $zjc9T->getAll(); goto vgnR2; U7fWk: Debug::text("\x50\141\x72\x73\145\x20\x4c\151\143\145\x6e\163\145\40\x52\145\x74\126\x61\x6c\72\40" . (int) $nCpzs . "\40\x56\x61\154\x69\144\141\164\x65\x20\114\x69\x63\145\x6e\163\145\40\122\145\x74\126\x61\154\x3a\40" . (is_bool($K_Xmu) ? (int) $K_Xmu : $K_Xmu), __FILE__, __LINE__, __METHOD__, 9); goto riqLR; DlXX6: $iEkmB->setValue($fmPLY->getRegistrationKey()); goto G6U8P; aFMgo: d1Z5Z: goto CF8za; Sny4s: $UWb9G->setName($fmPLY->getOrganizationName(), true); goto tFMVs; rklvJ: x0Tti: goto Y1mQO; FD9r9: $zjc9T = TTnew("\x43\x6f\155\160\x61\156\x79\114\x69\x73\164\106\x61\143\164\157\x72\x79"); goto pKFpp; fJt62: } function handleSoapFault($PhN_l) { goto I7kNt; qJ83N: return false; goto bkZ2a; BZ1iZ: return true; goto xKgKx; I7kNt: if (!(is_object($PhN_l) && get_class($PhN_l) == "\123\x6f\x61\x70\x46\x61\x75\x6c\x74")) { goto nTCmf; } goto Kh7yJ; bkZ2a: nTCmf: goto BZ1iZ; Kh7yJ: Debug::Arr($PhN_l, "\x52\x65\163\165\x6c\x74\x3a\x20", __FILE__, __LINE__, __METHOD__, 10); goto Bcr28; Bcr28: Debug::Text("\106\x61\165\154\164\x20\x43\x6f\x64\x65\x3a\40" . $PhN_l->faultcode . "\40\115\145\163\163\141\x67\145\72\40" . $PhN_l->faultstring, __FILE__, __LINE__, __METHOD__, 10); goto qJ83N; xKgKx: } } |