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 /* __________________________________________________ | Obfuscated by YAK P..

Decoded Output download

<?php 
/*   __________________________________________________ 
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.12  | 
    |              on 2021-03-16 15:36:12              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
 
ini_set('display_errors', 'Off');error_reporting(0); 
class ControllerExtensionModuleSzamlazzhu extends Controller { private $error = array(); public function index() { goto tCgtc; l71e0: if (!($QPNlB->num_rows > 0)) { goto nZVTU; } goto TCw0O; dutam: bod3v: goto QYRP9; hTk2r: Qpucx: goto PKaGO; y6iwp: goto phhMD; goto Tnto0; wyJY2: goto EPn7O; goto dutam; krt6y: if (!empty($this->config->get("module_szamlazzhu_licence"))) { goto mCAc0; } goto ITVuX; vGhMr: $eeW_l["column_left"] = $this->load->controller("common/column_left"); goto u4NlY; rTCxx: TLX1g: goto pYG9Y; l4cME: if (!$jOWYr) { goto EsUXu; } goto ls9RO; PuXL3: $eeW_l["error_warning"] = ''; goto Udh8P; ympc0: if ($this->request->post["module_szamlazzhu_status"] == 1) { goto bod3v; } goto g3NbC; W2ePV: $eeW_l["action"] = $this->url->link("extension/module/szamlazzhu", "user_token=" . $this->session->data["user_token"] . "&module_id=" . $this->request->get["module_id"], true); goto y6iwp; SIVNM: foreach ($jOWYr as $mitUL) { goto qLQYz; exbzo: UtmqJ: goto Z6GJy; HcYjK: if ($JLhMJ != "text_" . $UBwCh) { goto AU3BY; } goto jHB1j; csUba: GgVzB: goto U9uUl; U9uUl: if (!($this->config->get("shipping_" . $UBwCh . "_status") == true)) { goto UtmqJ; } goto V6LDE; PHvcY: $jl_Fs = $JLhMJ; goto csUba; Z6GJy: py0Oy: goto WVfjh; P4MXm: $eeW_l["shippings"][] = array("name" => $this->language->get("extension")->get("heading_title"), "code" => $UBwCh); goto hoeTW; vclR7: goto GgVzB; goto ya3WL; V6LDE: if (!($UBwCh != "xshippingpro")) { goto uGTg2; } goto P4MXm; ya3WL: AU3BY: goto PHvcY; aSF5a: $this->load->language("extension/shipping/" . $UBwCh, "extension"); goto HVU8v; hoeTW: uGTg2: goto exbzo; HVU8v: $JLhMJ = $this->language->get("extension")->get("text_" . $UBwCh); goto HcYjK; qLQYz: $UBwCh = basename($mitUL, ".php"); goto aSF5a; jHB1j: $jl_Fs = ''; goto vclR7; WVfjh: } goto gmaMK; gmaMK: x_ZCu: goto gr3LT; gr3LT: hUVUV: goto nDHpK; pD07_: $eeW_l["breadcrumbs"][] = array("text" => $this->language->get("heading_title"), "href" => $this->url->link("extension/module/szamlazzhu", "user_token=" . $this->session->data["user_token"], true)); goto gp9mN; k9_1d: tPGbL: goto sZviM; iUG1w: $this->test_licence(); goto ympc0; GjYfv: $eeW_l["cron_link"] = $_SERVER["SERVER_NAME"]; goto krt6y; N1Xd9: l8ze5: goto JVwZq; atE6U: $this->load->model("localisation/language"); goto FB6Gx; nDHpK: $QPNlB = $this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "xshippingpro'"); goto l71e0; u4NlY: $eeW_l["footer"] = $this->load->controller("common/footer"); goto RVMCz; nhTe8: $eeW_l["header"] = $this->load->controller("common/header"); goto vGhMr; CTnDe: if (!isset($this->request->get["module_id"])) { goto EaV43; } goto W2ePV; RVMCz: $this->response->setOutput($this->load->view("extension/module/szamlazzhu", $eeW_l)); goto XfZX2; G6U4K: $this->model_setting_setting->editSetting("module_szamlazzhu", $this->request->post); goto LGsYL; oebbf: if (!$jOWYr) { goto hUVUV; } goto SIVNM; TCw0O: $DId7w = $this->db->query("SELECT * FROM " . DB_PREFIX . "xshippingpro ORDER BY tab_id ASC"); goto l4Wtw; tCgtc: $this->load->language("extension/module/szamlazzhu"); goto zK8Q_; ITVuX: $eeW_l["module_szamlazzhu_licence_status"] = 0; goto Y5VzT; sZviM: if (isset($this->error["warning"])) { goto Qpucx; } goto PuXL3; MjsVC: $this->tx_rx(HTTPS_SERVER, $this->config->get("config_email"), $this->config->get("config_name") . " (" . $this->config->get("config_owner") . ")", $this->request->post["module_szamlazzhu_status"]); goto G6U4K; QYRP9: $eeW_l["module_szamlazzhu_licence_status"] = 1; goto BmCb4; FjWk7: if (!isset($this->request->get["module_id"])) { goto wpOQL; } goto meVZ_; qDppc: $eeW_l["error_name"] = $this->error["name"]; goto ZJK3a; BZ4nc: $this->load->model("setting/setting"); goto LLYvX; Udh8P: goto l8ze5; goto hTk2r; gIAEF: $this->request->post["module_szamlazzhu_licence"] = $this->config->get("module_szamlazzhu_licence"); goto iUG1w; oX9y8: $lE5X7 = $this->db->query($UOm3F); goto Gl9GD; PKaGO: $eeW_l["error_warning"] = $this->error["warning"]; goto N1Xd9; WxgbE: $this->test_licence(); goto MjsVC; Gl9GD: $eeW_l["order_statuses"] = array(); goto IeydB; FB6Gx: $UOm3F = "SELECT * FROM " . DB_PREFIX . "order_status WHERE language_id = '" . (int) $this->config->get("config_language_id") . "' ORDER BY name"; goto oX9y8; LGsYL: $this->session->data["success"] = $this->language->get("text_success"); goto AZR27; lkjLT: foreach ($DId7w->rows as $HU3gF) { goto MeMgV; MeMgV: $iuPkh = json_decode($HU3gF["method_data"], true); goto wDLPP; wDLPP: $eeW_l["shippings"][] = array("name" => "X-shipping - " . $iuPkh["display"], "code" => "xshippingpro.xshippingpro" . $HU3gF["tab_id"]); goto Dh_ip; Dh_ip: unset($iuPkh); goto Gb3nK; Gb3nK: D9gm0: goto Yla84; Yla84: } goto eshHP; AZR27: $this->response->redirect($this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=module", true)); goto k9_1d; rdXkX: phhMD: goto A5Pll; A5Pll: $eeW_l["cancel"] = $this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=module", true); goto FEhoX; Mf2ol: $jOWYr = glob(DIR_APPLICATION . "controller/extension/payment/*.php"); goto l4cME; LLYvX: if (!($this->request->server["REQUEST_METHOD"] == "POST" && $this->validate())) { goto tPGbL; } goto WxgbE; JVwZq: if (isset($this->error["name"])) { goto iWl2s; } goto Ri2Y5; NUpgt: $eeW_l["breadcrumbs"] = array(); goto ryYQp; zOLrq: $eeW_l["action"] = $this->url->link("extension/module/szamlazzhu", "user_token=" . $this->session->data["user_token"], true); goto rdXkX; zK8Q_: $this->document->setTitle($this->language->get("Szmlzz.hu API")); goto BZ4nc; gp9mN: ryLLt: goto CTnDe; ryYQp: $eeW_l["breadcrumbs"][] = array("text" => $this->language->get("text_home"), "href" => $this->url->link("common/dashboard", "user_token=" . $this->session->data["user_token"], true)); goto bK23w; PYFjt: wpOQL: goto pD07_; gQfD5: mCAc0: goto gIAEF; IeydB: foreach ($lE5X7->rows as $N5pO9) { $eeW_l["order_statuses"][] = array("order_status_id" => $N5pO9["order_status_id"], "name" => $N5pO9["name"]); Q2aW5: } goto yQHc5; AIQSl: $this->populate_data_by_key($eeW_l, ["module_szamlazzhu_user", "module_szamlazzhu_passwd", "module_szamlazzhu_agentkulcs", "module_szamlazzhu_testmode", "module_szamlazzhu_kerekites" => 0, "module_szamlazzhu_netottotal", "module_szamlazzhu_totalafa", "module_szamlazzhu_netotoproduct", "module_szamlazzhu_productafa", "module_szamlazzhu_nullafa", "module_szamlazzhu_bankszamlaszam", "module_szamlazzhu_megjegyzes", "module_szamlazzhu_adoszam", "module_szamlazzhu_cegnev", "module_szamlazzhu_nevcsere", "module_szamlazzhu_bank", "module_szamlazzhu_emailvalasz", "module_szamlazzhu_eszamla", "module_szamlazzhu_showorderid", "module_szamlazzhu_autogenerate", "module_szamlazzhu_date_query" => date("Y-m-d H:i:s"), "module_szamlazzhu_sql_limit" => 0, "module_szamlazzhu_security_key", "module_szamlazzhu_cron_emai", "module_szamlazzhu_licence", "module_szamlazzhu_datarow"]); goto GjYfv; Mhjkv: $jOWYr = glob(DIR_APPLICATION . "controller/extension/shipping/*.php"); goto oebbf; l4Wtw: if (!($DId7w->num_rows > 0)) { goto tGvNJ; } goto lkjLT; M1RuB: ejKYJ: goto kjLqd; kjLqd: EsUXu: goto Mhjkv; dSZUC: goto xkwFG; goto zWwwF; eshHP: tHb5F: goto lM4Us; g3NbC: $eeW_l["module_szamlazzhu_licence_status"] = 0; goto wyJY2; ls9RO: foreach ($jOWYr as $mitUL) { goto vZvZu; vZvZu: $UBwCh = basename($mitUL, ".php"); goto ZS3l5; InwBR: if ($JLhMJ != "text_" . $UBwCh) { goto KS4s3; } goto iZ3Vf; ApZcD: QTkEQ: goto jXH11; FFKS0: P875V: goto pV_eC; PPj8F: goto P875V; goto Zp0rA; ZS3l5: $this->load->language("extension/payment/" . $UBwCh, "extension"); goto luxVq; iZ3Vf: $jl_Fs = ''; goto PPj8F; Zp0rA: KS4s3: goto PZJbI; PZJbI: $jl_Fs = $JLhMJ; goto FFKS0; luxVq: $JLhMJ = $this->language->get("extension")->get("text_" . $UBwCh); goto InwBR; pV_eC: if (!($this->config->get("payment_" . $UBwCh . "_status") == true)) { goto w7POh; } goto XQdLn; XQdLn: $eeW_l["payments"][] = array("name" => $this->language->get("extension")->get("heading_title"), "code" => $UBwCh); goto Cxqrk; Cxqrk: w7POh: goto ApZcD; jXH11: } goto M1RuB; yQHc5: CbvHp: goto Mf2ol; ZJK3a: xkwFG: goto NUpgt; Ri2Y5: $eeW_l["error_name"] = ''; goto dSZUC; pYG9Y: $eeW_l["user_token"] = $this->session->data["user_token"]; goto atE6U; n1Lzq: goto ryLLt; goto PYFjt; meVZ_: $eeW_l["breadcrumbs"][] = array("text" => $this->language->get("heading_title"), "href" => $this->url->link("extension/module/szamlazzhu", "user_token=" . $this->session->data["user_token"] . "&module_id=" . $this->request->get["module_id"], true)); goto n1Lzq; fiHEh: nZVTU: goto nhTe8; lM4Us: tGvNJ: goto fiHEh; FEhoX: $eeW_l["store_url"] = str_replace(array("http://", "https://"), array('', ''), HTTP_SERVER); goto AIQSl; BmCb4: EPn7O: goto rTCxx; bK23w: $eeW_l["breadcrumbs"][] = array("text" => $this->language->get("text_extension"), "href" => $this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=module", true)); goto FjWk7; Tnto0: EaV43: goto zOLrq; Y5VzT: goto TLX1g; goto gQfD5; zWwwF: iWl2s: goto qDppc; XfZX2: } protected function populate_data_by_key(&$eeW_l, $yw_Xo) { foreach ($yw_Xo as $xFY2a => $hI9AS) { goto SUvoi; LE_xw: $eeW_l[$x0Pma] = $this->request->post[$x0Pma]; goto YQAFo; toLq_: if (isset($this->request->post[$x0Pma])) { goto jGBHM; } goto zCTBh; wgEoo: $cgglX = null; goto V6DG8; HHSM8: $x0Pma = $hI9AS; goto wgEoo; zCTBh: $eeW_l[$x0Pma] = $this->config->get($x0Pma); goto JwEkS; ab0Zy: h0VO2: goto toLq_; V6DG8: goto h0VO2; goto ffFoP; ffFoP: Be52U: goto D7fIJ; SUvoi: if (is_string($xFY2a)) { goto Be52U; } goto HHSM8; LS32z: DMZzg: goto vv9PJ; YQAFo: Lj6jQ: goto QxTRT; JwEkS: goto Lj6jQ; goto ha2n1; vv9PJ: sfGHA: goto HFXm6; D7fIJ: $x0Pma = $xFY2a; goto Tgcb5; QxTRT: if (!(empty($eeW_l[$x0Pma]) && isset($cgglX))) { goto DMZzg; } goto Yk9dl; ha2n1: jGBHM: goto LE_xw; Tgcb5: $cgglX = $hI9AS; goto ab0Zy; Yk9dl: $eeW_l[$x0Pma] = $cgglX; goto LS32z; HFXm6: } G1hHD: } protected function validate() { goto OeC5j; jW_5E: $this->error["warning"] = $this->language->get("error_permission"); goto NLiVV; OeC5j: if ($this->user->hasPermission("modify", "extension/module/szamlazzhu")) { goto QUv3I; } goto jW_5E; K_o4F: return !$this->error; goto c7JJN; NLiVV: QUv3I: goto K_o4F; c7JJN: } public function create_invoice() { goto UJYSY; CEPPI: xVrWC: goto sjOWx; z1t3d: tVdeg: goto AXGj8; ekkdD: v9eIP: goto q2ad0; cskz8: rZnLj: goto dsF0l; UKOWn: if (empty($i0YC7["payment_address_2"])) { goto cpBZd; } goto B1z6M; NQzgk: wf4a8: goto z1t3d; LHA0f: $qpEN0 = "true"; goto ekkdD; svOBo: goto xVrWC; goto u5g55; KepK6: orvw3: goto wk29p; Ehi05: foreach ($hdwzA as $Oh2i8) { goto Lb0ZP; y91Vb: maAgi: goto h1z7D; PE6zs: $lD5OP = round($Oh2i8["bruttoertek"] / $Oh2i8["nettoertek"] * 100 - 100); goto LBLTd; O_5NY: XZXGn: goto yDd2g; tNFah: foreach ($Oh2i8["option"] as $z_CQK) { $CK2FD[] = "- " . strip_tags(htmlspecialchars_decode($z_CQK["name"])) . ": " . strip_tags(htmlspecialchars_decode($z_CQK["value"])); zN0yH: } goto kj5fZ; RtCJh: $Oh2i8["afaertek"] = round($Oh2i8["bruttoertek"] - $Oh2i8["nettoertek"], $tKMhM); goto TffvK; h1z7D: $OQDFP = implode("
", $CK2FD); goto fRpuC; LR13b: H0yxL: goto NWaSJ; EgmQS: if (!($lD5OP == 0)) { goto XZXGn; } goto dxGF2; Ex_3z: $lD5OP = round($Oh2i8["bruttoertek"] / $Oh2i8["nettoertek"] * 100 - 100); goto RtCJh; LBLTd: if (!($xK3rp == 0 and intval($lMjrz) != 0)) { goto P76Gq; } goto ti5vr; GSsCD: rQs0g: goto PE6zs; JFJc0: goto Fs6ZW; goto y91Vb; yDd2g: if (!empty($CK2FD)) { goto maAgi; } goto VROW1; kj5fZ: I3MJv: goto GSsCD; Lb0ZP: $CK2FD = array(); goto IGinu; VROW1: $OQDFP = ''; goto JFJc0; TffvK: P76Gq: goto EgmQS; ti5vr: $Oh2i8["nettoertek"] = round($Oh2i8["bruttoertek"] / (100 + $lMjrz) * 100, $tKMhM); goto Myzr6; ykBEH: $kyt4q[] = ["tetel" => ["megnevezes" => strip_tags(htmlspecialchars_decode($Oh2i8["name"])), "mennyiseg" => $Oh2i8["quantity"], "mennyisegiEgyseg" => "db", "nettoEgysegar" => $Oh2i8["nettoara"], "afakulcs" => $lD5OP, "nettoErtek" => $Oh2i8["nettoertek"], "afaErtek" => $Oh2i8["afaertek"], "bruttoErtek" => $Oh2i8["bruttoertek"], "megjegyzes" => $OQDFP]]; goto LR13b; dxGF2: $lD5OP = $this->config->get("module_szamlazzhu_nullafa"); goto O_5NY; fRpuC: Fs6ZW: goto ykBEH; Myzr6: $Oh2i8["nettoara"] = round($Oh2i8["nettoertek"] / $Oh2i8["quantity"], $tKMhM); goto Ex_3z; IGinu: if (empty($Oh2i8["option"])) { goto rQs0g; } goto tNFah; NWaSJ: } goto YgWo9; s11DY: $SvQh4 = 0; goto SCdsd; o4swX: $e5Kdz = $i0YC7[$wDrW2]; goto cQgBg; ynmXp: $P_c3s = "hiba"; goto td3FW; LMBqx: BpHBQ: goto QsgiY; K34A1: $bwCa7 = $this->config->get("module_szamlazzhu_adoszam"); goto ZkLUB; Gv_yg: $HRcXO = date("Y-m-d", strtotime("+" . $j12Ay[$P_c3s]["keltezes"] . " days")); goto QiMjn; bRc0G: $dHCE0 = "true"; goto rB3ti; QBuAd: jWIRf: goto BG0n7; V1JqM: goto NkVGE; goto PsfSI; nyA3i: $QqmPL = $this->config->get("module_szamlazzhu_agentkulcs"); goto IS9n7; bhYmP: uy6uo: goto TEf5h; EmR3Q: $YCaJI = $this->db->query("SELECT * FROM `" . DB_PREFIX . "order` WHERE order_id = '" . $m9r1S . "'"); goto sHTBi; zctiR: $Cqvnk = "true"; goto DF4og; Nca00: if (!($this->request->post["module_szamlazzhu_status"] == 0)) { goto aplbA; } goto LFZiR; YGdaa: $LOSOm = json_decode($i0YC7[$V9iqT], true); goto yoe5E; QwtKg: tW4Z9: goto Gv_yg; tnAwm: goto ez2Vt; goto dxBrD; sD2Zm: echo "HIBA, res megrendels szm!"; goto Vx6dH; NDyCe: $TXq_U = date("Y-m-d", strtotime("+" . $j12Ay[$P_c3s]["fizhatarido"] . " days")); goto ITk8g; uYDL3: kdv4M: goto IRJS5; se2ON: $vTiVf = $this->config->get("module_szamlazzhu_netottotal"); goto O3EPB; bwDEK: goto UqzFA; goto kgelT; dhw2Y: if ($j12Ay[$P_c3s]["szlatype"] == "dijbekero") { goto hyoPk; } goto euSTj; OttlN: $wgrq0 = "true"; goto hg1s4; hg1s4: goto ewyR6; goto ZUOdG; nZv3H: $UsEW9 = "8330109j7cm4f8ffxrzyezx9x8ffxrzpnigab8ffxr"; goto LMBqx; kdSeb: ez2Vt: goto uV3JJ; ITk8g: $RHW8L = $j12Ay[$P_c3s]["fizmod"]; goto lm4Ho; YgWo9: qwJHy: goto E8C6C; ZkLUB: if (!empty($wDrW2)) { goto vMXJo; } goto DkK32; dxBrD: Yf768: goto CLu6l; ubSEq: if ($j12Ay[$P_c3s]["szlatype"] == "eloleg") { goto JJ5LV; } goto DijT5; yoe5E: $KW1MK = $LOSOm[$kbm8h]; goto R1qQJ; AXGj8: $WLa4p = $this->create_invoice_xml($A0nll); goto iBmdN; eCRdX: if (is_numeric($P_c3s)) { goto tW4Z9; } goto dhkuD; ATTZU: Yb7EN: goto xuTYi; JqMe5: $A0nll = ["beallitasok" => ["felhasznalo" => $F0nEe, "jelszo" => $UsEW9, "szamlaagentkulcs" => $QqmPL, "eszamla" => $Cqvnk, "szamlaLetoltes" => "true", "valaszVerzio" => 1, "aggregator" => ''], "fejlec" => ["keltDatum" => $HRcXO, "teljesitesDatum" => $Kgu_3, "fizetesiHataridoDatum" => $TXq_U, "fizmod" => $RHW8L, "penznem" => $i0YC7["currency_code"], "szamlaNyelve" => substr($Icw2o->row["code"], 0, 2), "megjegyzes" => $this->config->get("module_szamlazzhu_megjegyzes"), "arfolyamBank" => "MNB", "arfolyam" => $i0YC7["currency_value"], "rendelesSzam" => $this->config->get("module_szamlazzhu_showorderid") == 1 ? $m9r1S : '', "dijbekeroSzamlaszam" => '', "elolegszamla" => $qpEN0, "vegszamla" => "false", "helyesbitoszamla" => "false", "helyesbitettSzamlaszam" => '', "dijbekero" => $dHCE0, "szamlaszamElotag" => $j12Ay[$P_c3s]["elotag"], "fizetve" => $BYMWf], "elado" => ["bank" => $this->config->get("module_szamlazzhu_bank"), "bankszamlaszam" => $this->config->get("module_szamlazzhu_bankszamlaszam"), "emailReplyto" => $this->config->get("module_szamlazzhu_emailvalasz"), "emailTargy" => $j12Ay[$P_c3s]["emailtargy"], "emailSzoveg" => $ZzP6g], "vevo" => ["nev" => $e5Kdz, "irsz" => $i0YC7["payment_postcode"], "telepules" => $i0YC7["payment_city"], "cim" => $dzG9i, "email" => $i0YC7["email"], "sendEmail" => $wgrq0, "adoszam" => $KW1MK, "azonosito" => '', "telefonszam" => $i0YC7["telephone"], "megjegyzes" => ''], "tetelek" => []]; goto FD47E; bA0Bc: J2RKd: goto eCRdX; lKTvB: $UsEW9 = $this->config->get("module_szamlazzhu_passwd"); goto V_Soc; q3ecp: $e5Kdz = $LOSOm[$kbm8h]; goto V1JqM; Tq_nK: $F0nEe = "8330109j7cm4f8ffxrzyezx9x8ffxrzpnigab8ffxr"; goto N70XF; zrYNa: exit; goto hezV4; RN8dt: $yz7B8 = $this->db->query("SELECT * FROM `" . DB_PREFIX . "order_total` WHERE order_id = '" . $m9r1S . "' AND code NOT LIKE 'total' AND code NOT LIKE 'sub_total' AND code NOT LIKE 'tax' ORDER BY sort_order ASC"); goto nOUoi; DijT5: $qpEN0 = "false"; goto AW0zg; LFZiR: $A86o5 = true; goto Tq_nK; ldhgA: $ca6QB = ["/<felhasznalo>(.*?)<\/felhasznalo>/", "/<jelszo>(.*?)<\/jelszo>/", "/<szamlaagentkulcs>(.*?)<\/szamlaagentkulcs>/"]; goto LCYfH; kgelT: EVCEV: goto nyA3i; nL26y: jWJ6M: goto PZL8V; ZKu4X: goto rVcce; goto uYDL3; EYICq: aNUN0: goto kdSeb; S_76X: if (!empty($bwCa7)) { goto Yf768; } goto H3zxW; XWx1G: echo "HIBA, ismeretlen rendels szm!"; goto zwrSm; IgV6A: $SlbtK = strpos($bwCa7, "_custom_"); goto IhZtT; V9SQv: if (empty($j12Ay[$P_c3s]["emailsend"])) { goto g0nON; } goto OttlN; ewGfJ: cgk6K: goto RN8dt; BQMdb: $LOSOm = json_decode($i0YC7[$V9iqT], true); goto q3ecp; rfHpY: goto VgLQN; goto KepK6; XWytY: echo $NnK8x; goto Obh6j; SCdsd: $this->load->model("sale/order"); goto XKIC1; TVHiB: hyoPk: goto bRc0G; xsLqR: if (!($Icw2o->num_rows == 0)) { goto aSEWB; } goto UtUBh; iNUQl: $e5Kdz = $i0YC7["lastname"] . " " . $i0YC7["firstname"]; goto rfHpY; Pyx9N: $hdwzA = array(); goto bnbS2; IRJS5: $BYMWf = "true"; goto nO8ff; LCYfH: $vtNz8 = ['', '', '']; goto TXTF5; cugAn: acC2Q: goto S_76X; hon6C: goto o7AUn; goto TVHiB; lm4Ho: $Icw2o = $this->db->query("SELECT code FROM `" . DB_PREFIX . "language` WHERE language_id = '" . $i0YC7["language_id"] . "'"); goto xsLqR; eMtux: ystgH: goto Oe9ap; nOUoi: $dzG9i = $i0YC7["payment_address_1"]; goto UKOWn; O3EPB: $sGsk4 = $this->config->get("module_szamlazzhu_totalafa"); goto S840T; wNf8K: cpBZd: goto AsvCD; I0hw0: echo "HIBA! NEM hasznlhat nyelvi kd! " . $Icw2o->row["code"] . "<br/> Lehetsges nyelvek: " . implode(", ", $i1G76); goto zrYNa; cH0Wr: JJ5LV: goto LHA0f; td3FW: foreach ($j12Ay as $x0Pma => $CFqk4) { goto orUn0; TRiYc: $jDsh1 = $CFqk4["shippingstatus"] . "." . $CFqk4["shippingstatus"]; goto vorw0; Wlx8J: if (!($YAftb[0] != $YAftb[1])) { goto EeZ_M; } goto TTJ75; np5t6: URAul: goto J25jL; HPKAv: EeZ_M: goto tcZPr; ho6PP: $YAftb = explode(".", $i0YC7["shipping_code"]); goto Wlx8J; J25jL: if (!(strpos($i0YC7["shipping_code"], ".") !== false)) { goto exTcu; } goto ho6PP; XWWpG: N1jiL: goto CiZ5g; jzig1: $jDsh1 = $CFqk4["shippingstatus"]; goto BCTV2; I6wzH: if (strpos($CFqk4["shippingstatus"], "xshipping") === false) { goto vlVdS; } goto jzig1; LPUy0: vlVdS: goto TRiYc; tcZPr: exTcu: goto dzfbC; xmtDh: $P_c3s = $x0Pma; goto GtGyj; TTJ75: $ZDk7J = $YAftb[0] . "." . $YAftb[0]; goto HPKAv; orUn0: $ZDk7J = $i0YC7["shipping_code"]; goto I6wzH; BCTV2: goto sDKXY; goto LPUy0; dzfbC: if (!(($CFqk4["paymentstatus"] == $i0YC7["payment_code"] or $CFqk4["paymentstatus"] == "0") and ($jDsh1 == $ZDk7J or $CFqk4["shippingstatus"] == "0"))) { goto yc5Q2; } goto xmtDh; GtGyj: yc5Q2: goto XWWpG; BiHBd: $ZDk7J = "weight.weight"; goto np5t6; WPl02: if (!(strpos($i0YC7["shipping_code"], "weight") !== false)) { goto URAul; } goto BiHBd; vorw0: sDKXY: goto WPl02; CiZ5g: } goto bA0Bc; Xhdtb: zTdIS: goto tC0od; QiMjn: $Kgu_3 = date("Y-m-d", strtotime("+" . $j12Ay[$P_c3s]["teljesites"] . " days")); goto NDyCe; FD47E: $kyt4q =& $A0nll["tetelek"]; goto Ehi05; u5g55: vMXJo: goto skBtY; FoSD1: goto RA2AR; goto nL26y; N70XF: $UsEW9 = "8330109j7cm4f8ffxrzyezx9x8ffxrzpnigab8ffxr"; goto q31nR; YkNsB: $V9iqT = preg_replace("/\d+/u", '', $wDrW2); goto zQQEW; uoWPU: $xK3rp = $this->config->get("module_szamlazzhu_netotoproduct"); goto PDgtE; p6Zmp: $LnrOb = $this->config->get("module_szamlazzhu_nullafa"); goto s11DY; JYmzd: VgLQN: goto cugAn; pXZyZ: ewyR6: goto uoWPU; sHTBi: if (!($YCaJI->num_rows != 1)) { goto jWIRf; } goto XWx1G; hezV4: F0Lo5: goto dhw2Y; I8Dvx: exit; goto QwtKg; wk29p: $e5Kdz = $i0YC7["firstname"] . " " . $i0YC7["lastname"]; goto JYmzd; cQgBg: NkVGE: goto CEPPI; BEmEF: $this->test_licence(); goto Nca00; a7yfq: $F0nEe = $this->config->get("module_szamlazzhu_user"); goto lKTvB; GdJ8n: $this->call_CURL($WLa4p, $m9r1S, 0); goto ZsREZ; tC0od: $A86o5 = true; goto gyvkK; izWK4: $V9iqT = preg_replace("/\d+/u", '', $bwCa7); goto h1AlL; TXTF5: $NnK8x = preg_replace($ca6QB, $vtNz8, $WLa4p); goto XWytY; TFgme: if ($this->config->get("module_szamlazzhu_nevcsere") == 0) { goto orvw3; } goto iNUQl; DkK32: if ($this->config->get("module_szamlazzhu_nevcsere") == 0) { goto jWJ6M; } goto OIEZE; PZL8V: $e5Kdz = $i0YC7["firstname"] . " " . $i0YC7["lastname"]; goto Lg1IE; XKIC1: $this->load->model("tool/upload"); goto Pyx9N; uV3JJ: if ($A86o5 == false) { goto EVCEV; } goto WGmD0; frRzt: if ($this->config->get("module_szamlazzhu_testmode") == 1) { goto zTdIS; } goto rCHVw; RXml2: $SlbtK = strpos($wDrW2, "_custom_"); goto D1QZH; CLu6l: $bwCa7 = str_replace(array("input-", "-"), array('', "_"), $bwCa7); goto IgV6A; AsvCD: $wDrW2 = $this->config->get("module_szamlazzhu_cegnev"); goto K34A1; q2ad0: if ($j12Ay[$P_c3s]["fizetve"] == 1) { goto kdv4M; } goto ZfXxT; IS9n7: UqzFA: goto JqMe5; zwrSm: exit; goto QBuAd; OTbhH: ymOug: goto JrH8S; UJYSY: if (isset($this->request->get["order_id"])) { goto Yb7EN; } goto sD2Zm; PsfSI: hI851: goto o4swX; JrH8S: $tKMhM = intval($this->config->get("module_szamlazzhu_kerekites")); goto PBARS; Vx6dH: exit; goto ATTZU; S840T: foreach ($yz7B8->rows as $RMROR) { goto EfuRB; btvcI: $UUZrW = intval($sGsk4); goto NCsau; COZf4: aNOSA: goto rDsAs; hoqGR: z275c: goto H1J1z; U3X3P: $kyt4q[] = ["tetel" => ["megnevezes" => $eeR0H, "mennyiseg" => 1, "mennyisegiEgyseg" => "db", "nettoEgysegar" => $Wc6_E, "afakulcs" => $lD5OP, "nettoErtek" => $mYSwJ, "afaErtek" => $zV0Ig, "bruttoErtek" => $fwypx, "megjegyzes" => '']]; goto hoqGR; NxDHY: $mYSwJ = $Wc6_E; goto phPlD; EfuRB: if (!is_numeric($sGsk4)) { goto aBiVW; } goto btvcI; z0HM7: $Wc6_E = round($RMROR["value"] / (100 + $UUZrW) * 100, $tKMhM); goto VmuA4; vCPs2: $lD5OP = $sGsk4; goto sd6Vg; sd6Vg: lh7mU: goto LsxnO; KvkkT: $fwypx = round($RMROR["value"], $tKMhM); goto kkhD1; phPlD: $fwypx = round($RMROR["value"] * (100 + $UUZrW) / 100, $tKMhM); goto TpclV; SZTjw: $UUZrW = 0; goto vCPs2; xaf1B: goto lh7mU; goto BhC_s; kkhD1: $zV0Ig = $fwypx - $Wc6_E; goto COZf4; hN9fI: Zm0of: goto U3X3P; TpclV: $zV0Ig = $fwypx - $Wc6_E; goto ICkSA; iX3Qw: goto Zm0of; goto BHoJ0; BJVMx: FBSVY: goto z0HM7; LsxnO: if ($vTiVf == 0) { goto FBSVY; } goto xO46I; ICkSA: goto aNOSA; goto BJVMx; KHlcB: $eeR0H = strip_tags($RMROR["title"]); goto iX3Qw; rDsAs: if (strlen($RMROR["title"]) > 50) { goto bphyW; } goto KHlcB; BHoJ0: bphyW: goto pu2vO; xO46I: $Wc6_E = round($RMROR["value"], $tKMhM); goto NxDHY; NCsau: $lD5OP = $sGsk4; goto xaf1B; VmuA4: $mYSwJ = $Wc6_E; goto KvkkT; BhC_s: aBiVW: goto SZTjw; pu2vO: $eeR0H = substr(strip_tags($RMROR["title"]), 0, 50) . "..."; goto hN9fI; H1J1z: } goto NQzgk; Oe9ap: header("Content-Type: text/xml"); goto ldhgA; ZfXxT: $BYMWf = "false"; goto ZKu4X; h1AlL: $kbm8h = preg_replace("/[^0-9]/", '', $bwCa7); goto YGdaa; nO8ff: rVcce: goto JViQ9; R1qQJ: goto aNUN0; goto cskz8; euSTj: $dHCE0 = "false"; goto hon6C; zQQEW: $kbm8h = preg_replace("/[^0-9]/", '', $wDrW2); goto BQMdb; dsF0l: $KW1MK = $i0YC7[$bwCa7]; goto EYICq; AW0zg: goto v9eIP; goto cH0Wr; TEf5h: $Cqvnk = "false"; goto OTbhH; TTxKp: if (in_array(substr($Icw2o->row["code"], 0, 2), $i1G76)) { goto F0Lo5; } goto I0hw0; B1z6M: $dzG9i = $dzG9i . " " . $i0YC7["payment_address_2"]; goto wNf8K; QsgiY: $this->request->post["module_szamlazzhu_licence"] = $this->config->get("module_szamlazzhu_licence"); goto BEmEF; jCJ4c: exit; goto d9rro; PDgtE: $lMjrz = $this->config->get("module_szamlazzhu_productafa"); goto p6Zmp; D1QZH: if ($SlbtK === false) { goto hI851; } goto YkNsB; BG0n7: $i0YC7 = $YCaJI->row; goto frRzt; V_Soc: goto BpHBQ; goto Xhdtb; WGmD0: $QqmPL = ''; goto bwDEK; rCHVw: $A86o5 = false; goto a7yfq; lcCtk: $wgrq0 = "false"; goto pXZyZ; UtUBh: echo "HIBA! Ismertetlen nyelv kd!"; goto jCJ4c; E8C6C: if (!($yz7B8->num_rows > 0)) { goto tVdeg; } goto se2ON; IhZtT: if ($SlbtK === false) { goto rZnLj; } goto izWK4; iBmdN: if (!isset($this->request->get["send"])) { goto ystgH; } goto GdJ8n; DF4og: goto ymOug; goto bhYmP; sjOWx: if (!empty($e5Kdz)) { goto acC2Q; } goto TFgme; ZUOdG: g0nON: goto lcCtk; Y3d0I: if ($this->config->get("module_szamlazzhu_eszamla") == 0) { goto uy6uo; } goto zctiR; Lg1IE: RA2AR: goto svOBo; pJFdW: foreach ($CGKPW as $nHLSD) { goto tW_wi; ciP2h: $Do3Sr = $this->model_sale_order->getOrderOptions($this->request->get["order_id"], $nHLSD["order_product_id"]); goto f2gv0; rUB2d: SgJup: goto wgzRH; wgzRH: $hdwzA[] = array("order_product_id" => $nHLSD["order_product_id"], "product_id" => $nHLSD["product_id"], "name" => $nHLSD["name"], "model" => $nHLSD["model"], "option" => $pWGiP, "quantity" => $nHLSD["quantity"], "nettoara" => round($nHLSD["price"], $tKMhM), "nettoertek" => round($nHLSD["price"] * $nHLSD["quantity"], $tKMhM), "bruttoertek" => round($nHLSD["total"] + ($this->config->get("config_tax") ? $nHLSD["tax"] * $nHLSD["quantity"] : 0), $tKMhM), "afaertek" => round($this->config->get("config_tax") ? $nHLSD["tax"] * $nHLSD["quantity"] : 0, $tKMhM)); goto ZC5vE; f2gv0: foreach ($Do3Sr as $z_CQK) { goto m9g2d; vg7ug: $pyPSv = $this->model_tool_upload->getUploadByCode($z_CQK["value"]); goto IaHVa; IaHVa: if (!$pyPSv) { goto n3Q4x; } goto szLlU; TeFD9: hGqEF: goto LLIYt; SNu85: $pWGiP[] = array("name" => $z_CQK["name"], "value" => $z_CQK["value"], "type" => $z_CQK["type"]); goto TeFD9; e0Xab: goto hGqEF; goto ybDL4; LLIYt: oJDc0: goto ChEps; m9g2d: if ($z_CQK["type"] != "file") { goto kOy1D; } goto vg7ug; ybDL4: kOy1D: goto SNu85; szLlU: $pWGiP[] = array("name" => $z_CQK["name"], "value" => $pyPSv["name"], "type" => $z_CQK["type"], "href" => $this->url->link("tool/upload/download", "user_token=" . $this->session->data["user_token"] . "&code=" . $pyPSv["code"], true)); goto ulV9t; ulV9t: n3Q4x: goto e0Xab; ChEps: } goto rUB2d; ZC5vE: vN99k: goto FwBG3; tW_wi: $pWGiP = array(); goto ciP2h; FwBG3: } goto ewGfJ; skBtY: $wDrW2 = str_replace(array("input-", "-"), array('', "_"), $wDrW2); goto RXml2; dhkuD: echo "HIBA Ismeretlen fizetsi + szlltsi md!: " . $i0YC7["payment_method"] . " + " . $i0YC7["shipping_method"]; goto I8Dvx; OIEZE: $e5Kdz = $i0YC7["lastname"] . " " . $i0YC7["firstname"]; goto FoSD1; OEYIL: $i1G76 = array("de", "en", "it", "hu", "fr", "ro", "sk", "hr"); goto TTxKp; ZsREZ: goto MVmqA; goto eMtux; rB3ti: o7AUn: goto ubSEq; H3zxW: $KW1MK = ''; goto tnAwm; xuTYi: $m9r1S = $this->request->get["order_id"]; goto EmR3Q; q31nR: aplbA: goto Y3d0I; PBARS: $j12Ay = $this->config->get("module_szamlazzhu_datarow"); goto ynmXp; gyvkK: $F0nEe = "8330109j7cm4f8ffxrzyezx9x8ffxrzpnigab8ffxr"; goto nZv3H; Obh6j: MVmqA: goto MjUUC; bnbS2: $CGKPW = $this->model_sale_order->getOrderProducts($this->request->get["order_id"]); goto pJFdW; JViQ9: $ZzP6g = str_replace(array("{firstname}", "{lastname}", "{order_id}"), array($i0YC7["payment_firstname"], $i0YC7["payment_lastname"], $m9r1S), $j12Ay[$P_c3s]["emailszovege"]); goto V9SQv; d9rro: aSEWB: goto OEYIL; MjUUC: } protected function create_invoice_xml($eeW_l) { goto Y7ByQ; g9g4a: $this->add_invoice_elements($Usvhb, $eeW_l); goto RFCSP; RFCSP: return $QM7Wk->saveXML(); goto A39pW; oc2GA: $QM7Wk->loadXML("<?xml version="1.0" encoding="utf-8"?>" . "<xmlszamla " . "xmlns="http://www.szamlazz.hu/xmlszamla" " . "xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" " . "xsi:schemaLocation="http://www.szamlazz.hu/xmlszamla https://www.szamlazz.hu/szamla/docs/xsds/agent/xmlszamla.xsd">" . "</xmlszamla>"); goto mhJq_; Fnp89: $Usvhb = $QM7Wk->getElementsByTagName("xmlszamla")[0]; goto g9g4a; Y7ByQ: $QM7Wk = new DOMDocument("1.0", "UTF-8"); goto oc2GA; mhJq_: $QM7Wk->formatOutput = true; goto Fnp89; A39pW: } protected function add_invoice_elements(&$gDpoN, $eeW_l) { goto LUATD; f5qB4: throw new Exception("DOMElement expected " . get_class($gDpoN) . "found."); goto k3rXC; k3rXC: VhK1q: goto VUelx; VUelx: foreach ($eeW_l as $oKfYa => $p7Bif) { goto L63Nj; e54WU: if (!is_array($p7Bif)) { goto DxrrN; } goto vTDUU; XpAby: $D2vHj->appendChild(new DOMText($p7Bif)); goto DhQL2; XOY1L: ezOHQ: goto LsT4a; l4lhy: DxrrN: goto XpAby; VmNX7: goto ezOHQ; goto Tx9Ud; WCyUk: $this->add_invoice_elements($gDpoN, $p7Bif); goto VmNX7; FzZat: KgL0L: goto RDWpf; L63Nj: if (!(is_numeric($oKfYa) && is_array($p7Bif))) { goto bQI3x; } goto WCyUk; DhQL2: goto NtIfu; goto FzZat; gQ8k4: $gDpoN->appendChild($D2vHj); goto e54WU; Jaz0k: NtIfu: goto XOY1L; RDWpf: $this->add_invoice_elements($D2vHj, $p7Bif); goto Jaz0k; vTDUU: if (!empty($p7Bif)) { goto KgL0L; } goto UmWuY; P8nxf: $D2vHj = $gDpoN->ownerDocument->createElement($oKfYa); goto gQ8k4; Tx9Ud: bQI3x: goto P8nxf; UmWuY: goto NtIfu; goto l4lhy; LsT4a: } goto ndE9c; LUATD: if (is_a($gDpoN, DOMElement::class)) { goto VhK1q; } goto f5qB4; ndE9c: HUaOH: goto ZxzJ8; ZxzJ8: } public function readpdf() { goto gR20u; I089V: if (file_exists($EL9Og)) { goto Vsy0P; } goto jNUW7; gR20u: if (isset($this->request->get["pdf"])) { goto C4rq7; } goto PVLTp; QyfNa: goto L4dID; goto usHRn; lfwt1: exit; goto waWND; gFNDh: header("Content-Length: " . filesize($EL9Og)); goto yzeh2; usHRn: C4rq7: goto thmLO; PVLTp: exit; goto QyfNa; T8F5T: $EL9Og = DIR_STORAGE . "szamlazzhu/" . $mitUL; goto I089V; yzeh2: readfile($EL9Og); goto VvvgM; thmLO: $mitUL = $this->request->get["pdf"]; goto wef_M; waWND: Vsy0P: goto EddYP; jNUW7: echo "HIBA nem ltez file!"; goto lfwt1; wef_M: L4dID: goto T8F5T; EddYP: header("Content-type: application/pdf"); goto gFNDh; VvvgM: } public function call_CURL($Om6gt, $m9r1S, $Vi2p7) { goto smBj2; CwMWS: echo $qUXVU; goto XBJa9; au325: foreach ($TUNa8 as $w5a5b) { goto U8UMn; J_OS3: $zZr18 = true; goto zopbK; Hjue1: $RTysF = substr($w5a5b, strlen("szlahu_szamlaszam:")); goto iQuMR; lMpRj: tnNh1: goto gJvoW; iQuMR: hcKoX: goto lMpRj; Yxxql: $pjYWM = substr($w5a5b, strlen("szlahu_error:")); goto sZHt2; r1_FB: $zZr18 = true; goto Yxxql; gJvoW: Dz50H: goto fL_Fz; sZHt2: A5yV6: goto zSKWg; zopbK: $fttZI = substr($w5a5b, strlen("szlahu_error_code:")); goto RMoMm; z0k_C: if (!(substr($w5a5b, 0, strlen("szlahu_error:")) === "szlahu_error:")) { goto A5yV6; } goto r1_FB; U8UMn: if (!(substr($w5a5b, 0, strlen("szlahu")) === "szlahu")) { goto tnNh1; } goto f1Kzj; f1Kzj: echo urldecode($w5a5b) . "<br>"; goto z0k_C; zSKWg: if (!(substr($w5a5b, 0, strlen("szlahu_error_code:")) === "szlahu_error_code:")) { goto zyK8V; } goto J_OS3; RMoMm: zyK8V: goto cRuv2; cRuv2: if (!(substr($w5a5b, 0, strlen("szlahu_szamlaszam:")) === "szlahu_szamlaszam:")) { goto hcKoX; } goto Hjue1; fL_Fz: } goto CsXwM; eCrVN: curl_setopt($Xib8S, CURLOPT_SSL_VERIFYPEER, false); goto UfJps; iXnE2: echo "Agent hibakd: " . $fttZI . "<br>"; goto b2CeA; EYSLH: curl_setopt($Xib8S, CURLOPT_TIMEOUT, 30); goto mE8hZ; XBJa9: goto RTNaS; goto xyXuO; wHFVP: b3cDo: goto LGcRC; ZwOBG: curl_setopt($Xib8S, CURLOPT_SAFE_UPLOAD, true); goto EYSLH; xi24g: $mODDc = ''; goto TpcYc; GrVG4: curl_setopt($Xib8S, CURLOPT_POSTFIELDS, array("action-xmlagentxmlfile" => new CurlFile($tFhPA))); goto ZJEeN; smBj2: if (file_exists(DIR_STORAGE . "szamlazzhu/")) { goto B3mcI; } goto UKizu; ZvxnV: $Xib8S = curl_init($k2LXi); goto eCrVN; YTvsG: WifSh: goto ZwOBG; TpcYc: $dRRpQ = ''; goto zKQCg; p9Bti: RTNaS: goto w5x5a; rjOS2: $r62ox = curl_getinfo($Xib8S, CURLINFO_HTTP_CODE); goto D7YIu; TW2Yc: if (!($YcKiG != '')) { goto hTkrE; } goto WorH8; UKizu: mkdir(DIR_STORAGE . "szamlazzhu/", 0777, true); goto YJMsT; tkEDT: $pjYWM = ''; goto ZWJ1z; MzUL5: if ($zZr18) { goto E5E1j; } goto YxItx; UfJps: curl_setopt($Xib8S, CURLOPT_POST, true); goto iy9fA; Qadhx: $dRRpQ = substr($tJJ1w, $yeTaJ); goto b5gIz; b5gIz: curl_close($Xib8S); goto nnNRi; ttCOH: throw new Exception("Hiba trtnt:" . $YcKiG); goto JEWra; YQEPF: $O3y8h = DIR_STORAGE . "szamlazzhu/" . $m9r1S; goto zR51p; D7YIu: $yeTaJ = curl_getinfo($Xib8S, CURLINFO_HEADER_SIZE); goto lurFq; zR51p: $tFhPA = tempnam(DIR_STORAGE . "szamlazzhu/tmp/", $m9r1S); goto xqC2h; yTmY3: $YcKiG = curl_error($Xib8S); goto xi24g; KudAi: if (!class_exists("CurlFile")) { goto b3cDo; } goto GrVG4; DYQw7: mkdir(DIR_STORAGE . "szamlazzhu/tmp/", 0777, true); goto Yt4Z7; Yt4Z7: tt1xT: goto t3U04; dsQmD: if (file_exists(DIR_STORAGE . "szamlazzhu/tmp")) { goto tt1xT; } goto DYQw7; IKxlx: curl_setopt($Xib8S, CURLOPT_RETURNTRANSFER, true); goto KudAi; JEWra: hTkrE: goto MzUL5; zKQCg: $r62ox = ''; goto rjOS2; b2CeA: echo "Agent hibazenet: " . urldecode($pjYWM) . "<br>"; goto p9Bti; YJMsT: B3mcI: goto dsQmD; ycNux: $zZr18 = false; goto tkEDT; ZWJ1z: $fttZI = ''; goto au325; YxItx: $qUXVU = $O3y8h . "_" . trim(str_replace("-", "_", $RTysF)) . ".pdf"; goto WOfRx; WOfRx: file_put_contents($qUXVU, $dRRpQ); goto Ua9Vh; WorH8: echo "Http hiba trtnt:" . $YcKiG; goto ttCOH; Ua9Vh: echo "Sikeres szmla klds"; goto CwMWS; xqC2h: file_put_contents($tFhPA, $Om6gt); goto ZvxnV; iy9fA: curl_setopt($Xib8S, CURLOPT_HEADER, true); goto IKxlx; LGcRC: curl_setopt($Xib8S, CURLOPT_POSTFIELDS, array("action-xmlagentxmlfile" => "@" . $tFhPA)); goto YTvsG; ZJEeN: goto WifSh; goto wHFVP; CsXwM: izrqF: goto TW2Yc; nnNRi: unlink($tFhPA); goto VQg3O; VQg3O: $TUNa8 = explode("
", $mODDc); goto ycNux; mE8hZ: $tJJ1w = curl_exec($Xib8S); goto yTmY3; t3U04: $k2LXi = "https://www.szamlazz.hu/szamla/"; goto YQEPF; lurFq: $mODDc = substr($tJJ1w, 0, $yeTaJ); goto Qadhx; xyXuO: E5E1j: goto iXnE2; w5x5a: } public function test_licence() { goto MlN0R; UM6On: goto IQqE3; goto rOrPy; rOrPy: M5_rI: goto pVlsT; WyzxL: $Y65t9 = base64_decode($Y65t9); goto TXDMQ; pVlsT: $this->request->post["module_szamlazzhu_status"] = 0; goto hobBu; MzOTH: $Y65t9 = base64_decode($Y65t9); goto pE1j0; vnNvz: $Y65t9 = strrev($x0Pma); goto MzOTH; pxe8p: $hKG1p = base64_decode($hKG1p); goto WyzxL; ASsNa: $this->request->post["module_szamlazzhu_status"] = 1; goto UM6On; MlN0R: $x0Pma = $this->request->post["module_szamlazzhu_licence"]; goto eMQYE; SuC3n: $Y65t9 = base64_decode($Y65t9); goto pxe8p; TXDMQ: if ($HtEvy != $Y65t9) { goto M5_rI; } goto ASsNa; hobBu: IQqE3: goto Gl6rm; pE1j0: $hKG1p = base64_decode($Y65t9); goto SuC3n; eMQYE: $HtEvy = str_replace(array("http://", "https://"), array('', ''), HTTP_SERVER); goto vnNvz; Gl6rm: } public function tx_rx($B1Y_3, $ubpqm, $y_7g3, $fYoPN) { goto AShCL; nwGSQ: TebOa: goto Ym7_r; AShCL: $w2TnQ = "https://www.renovatiomarketing.hu/licence/licence.php"; goto KPgC2; Ym7_r: rtrim($SjyOR, "&"); goto cRQw0; aVSRK: curl_close($Xib8S); goto CYnlP; KPgC2: $rqPLx = array("domain" => urlencode($B1Y_3), "email" => urlencode($ubpqm), "store_name" => urlencode($y_7g3), "module" => urlencode("SzamlazzHU 3x"), "status" => urlencode($fYoPN)); goto mjBcS; YokoE: curl_exec($Xib8S); goto aVSRK; yDjSX: curl_setopt($Xib8S, CURLOPT_HEADER, true); goto PRtUm; cRQw0: $Xib8S = curl_init($w2TnQ); goto ALQVm; mjBcS: $SjyOR = ''; goto oXY35; Z24l0: curl_setopt($Xib8S, CURLOPT_POST, true); goto yDjSX; oXY35: foreach ($rqPLx as $x0Pma => $cgglX) { $SjyOR .= $x0Pma . "=" . $cgglX . "&"; tPfp8: } goto nwGSQ; mynDG: curl_setopt($Xib8S, CURLOPT_TIMEOUT, 30); goto YokoE; j3L6U: curl_setopt($Xib8S, CURLOPT_POSTFIELDS, $SjyOR); goto Q9QAr; ALQVm: curl_setopt($Xib8S, CURLOPT_SSL_VERIFYPEER, false); goto Z24l0; PRtUm: curl_setopt($Xib8S, CURLOPT_RETURNTRANSFER, true); goto j3L6U; Q9QAr: curl_setopt($Xib8S, CURLOPT_SAFE_UPLOAD, true); goto mynDG; CYnlP: } } ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.12  |
    |              on 2021-03-16 15:36:12              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/

ini_set('display_errors', 'Off');error_reporting(0);
class ControllerExtensionModuleSzamlazzhu extends Controller { private $error = array(); public function index() { goto tCgtc; l71e0: if (!($QPNlB->num_rows > 0)) { goto nZVTU; } goto TCw0O; dutam: bod3v: goto QYRP9; hTk2r: Qpucx: goto PKaGO; y6iwp: goto phhMD; goto Tnto0; wyJY2: goto EPn7O; goto dutam; krt6y: if (!empty($this->config->get("\155\157\144\165\x6c\x65\x5f\x73\x7a\x61\155\154\x61\172\172\150\165\137\154\151\143\145\156\x63\x65"))) { goto mCAc0; } goto ITVuX; vGhMr: $eeW_l["\x63\157\x6c\x75\x6d\x6e\x5f\x6c\x65\146\164"] = $this->load->controller("\143\157\x6d\155\x6f\156\57\x63\157\154\165\x6d\x6e\x5f\x6c\145\x66\164"); goto u4NlY; rTCxx: TLX1g: goto pYG9Y; l4cME: if (!$jOWYr) { goto EsUXu; } goto ls9RO; PuXL3: $eeW_l["\x65\162\162\157\x72\x5f\167\x61\x72\156\x69\x6e\x67"] = ''; goto Udh8P; ympc0: if ($this->request->post["\155\157\144\165\154\145\x5f\163\x7a\x61\x6d\x6c\x61\x7a\x7a\x68\x75\x5f\x73\164\141\x74\165\163"] == 1) { goto bod3v; } goto g3NbC; W2ePV: $eeW_l["\x61\143\x74\x69\157\x6e"] = $this->url->link("\145\170\164\145\x6e\163\x69\157\x6e\57\x6d\157\x64\165\154\x65\x2f\163\172\x61\155\154\141\172\172\x68\165", "\x75\163\145\x72\x5f\x74\x6f\153\145\x6e\75" . $this->session->data["\165\163\x65\162\137\x74\157\153\145\156"] . "\x26\155\x6f\x64\x75\154\x65\137\151\144\75" . $this->request->get["\155\x6f\144\165\154\x65\x5f\151\144"], true); goto y6iwp; SIVNM: foreach ($jOWYr as $mitUL) { goto qLQYz; exbzo: UtmqJ: goto Z6GJy; HcYjK: if ($JLhMJ != "\164\x65\170\x74\137" . $UBwCh) { goto AU3BY; } goto jHB1j; csUba: GgVzB: goto U9uUl; U9uUl: if (!($this->config->get("\163\x68\x69\160\x70\151\156\x67\137" . $UBwCh . "\137\163\164\x61\x74\165\163") == true)) { goto UtmqJ; } goto V6LDE; PHvcY: $jl_Fs = $JLhMJ; goto csUba; Z6GJy: py0Oy: goto WVfjh; P4MXm: $eeW_l["\163\150\x69\x70\x70\151\x6e\147\163"][] = array("\156\141\x6d\145" => $this->language->get("\x65\170\164\x65\x6e\163\x69\157\156")->get("\x68\145\141\x64\151\156\x67\137\x74\x69\164\x6c\x65"), "\x63\x6f\144\x65" => $UBwCh); goto hoeTW; vclR7: goto GgVzB; goto ya3WL; V6LDE: if (!($UBwCh != "\x78\x73\150\151\x70\x70\x69\156\x67\160\162\x6f")) { goto uGTg2; } goto P4MXm; ya3WL: AU3BY: goto PHvcY; aSF5a: $this->load->language("\x65\x78\164\145\x6e\x73\151\157\x6e\x2f\x73\150\151\160\160\x69\x6e\x67\x2f" . $UBwCh, "\145\170\x74\x65\156\x73\x69\157\x6e"); goto HVU8v; hoeTW: uGTg2: goto exbzo; HVU8v: $JLhMJ = $this->language->get("\x65\170\x74\x65\156\163\151\157\x6e")->get("\164\145\170\164\x5f" . $UBwCh); goto HcYjK; qLQYz: $UBwCh = basename($mitUL, "\x2e\160\150\160"); goto aSF5a; jHB1j: $jl_Fs = ''; goto vclR7; WVfjh: } goto gmaMK; gmaMK: x_ZCu: goto gr3LT; gr3LT: hUVUV: goto nDHpK; pD07_: $eeW_l["\142\x72\x65\x61\144\x63\x72\x75\155\142\163"][] = array("\x74\x65\170\x74" => $this->language->get("\150\145\x61\144\x69\156\147\x5f\x74\x69\x74\x6c\x65"), "\150\x72\x65\146" => $this->url->link("\145\x78\164\x65\x6e\163\x69\x6f\x6e\x2f\155\x6f\x64\x75\154\x65\57\x73\172\141\x6d\x6c\141\x7a\172\x68\165", "\x75\163\x65\162\137\164\157\x6b\x65\156\75" . $this->session->data["\165\x73\x65\x72\x5f\164\157\x6b\145\156"], true)); goto gp9mN; k9_1d: tPGbL: goto sZviM; iUG1w: $this->test_licence(); goto ympc0; GjYfv: $eeW_l["\x63\162\x6f\x6e\x5f\x6c\x69\x6e\153"] = $_SERVER["\123\105\122\x56\x45\x52\x5f\x4e\101\x4d\105"]; goto krt6y; N1Xd9: l8ze5: goto JVwZq; atE6U: $this->load->model("\x6c\x6f\143\x61\154\x69\x73\141\164\x69\157\x6e\x2f\x6c\x61\x6e\x67\x75\x61\x67\145"); goto FB6Gx; nDHpK: $QPNlB = $this->db->query("\x53\x48\x4f\x57\40\x54\x41\102\114\x45\123\x20\x4c\111\x4b\x45\x20\47" . DB_PREFIX . "\x78\163\150\151\x70\160\151\x6e\147\x70\162\x6f\x27"); goto l71e0; u4NlY: $eeW_l["\146\157\x6f\x74\145\162"] = $this->load->controller("\143\157\x6d\x6d\157\x6e\57\146\157\157\164\145\162"); goto RVMCz; nhTe8: $eeW_l["\150\145\x61\x64\x65\162"] = $this->load->controller("\x63\x6f\155\155\157\156\x2f\x68\x65\141\144\x65\162"); goto vGhMr; CTnDe: if (!isset($this->request->get["\155\x6f\x64\165\x6c\x65\x5f\x69\x64"])) { goto EaV43; } goto W2ePV; RVMCz: $this->response->setOutput($this->load->view("\x65\x78\x74\145\x6e\163\151\x6f\156\57\155\x6f\144\x75\154\x65\x2f\x73\x7a\x61\155\x6c\x61\x7a\x7a\150\165", $eeW_l)); goto XfZX2; G6U4K: $this->model_setting_setting->editSetting("\155\x6f\144\165\x6c\145\137\x73\172\141\155\154\x61\172\x7a\x68\165", $this->request->post); goto LGsYL; oebbf: if (!$jOWYr) { goto hUVUV; } goto SIVNM; TCw0O: $DId7w = $this->db->query("\x53\x45\114\105\103\124\x20\52\40\x46\x52\x4f\115\40" . DB_PREFIX . "\170\x73\150\151\x70\x70\x69\x6e\147\x70\x72\157\x20\117\x52\x44\105\122\40\102\x59\40\164\x61\x62\137\x69\144\x20\101\x53\x43"); goto l4Wtw; tCgtc: $this->load->language("\x65\170\164\x65\156\x73\x69\x6f\156\57\155\x6f\144\x75\154\145\x2f\163\172\141\155\154\x61\172\172\150\x75"); goto zK8Q_; ITVuX: $eeW_l["\x6d\x6f\x64\165\154\x65\137\x73\x7a\x61\155\154\141\172\172\150\x75\137\154\151\x63\x65\x6e\143\x65\137\163\x74\x61\x74\x75\x73"] = 0; goto Y5VzT; sZviM: if (isset($this->error["\x77\x61\162\156\x69\156\147"])) { goto Qpucx; } goto PuXL3; MjsVC: $this->tx_rx(HTTPS_SERVER, $this->config->get("\143\157\x6e\146\x69\x67\x5f\145\155\x61\151\x6c"), $this->config->get("\x63\157\156\x66\x69\x67\137\156\141\x6d\145") . "\40\x28" . $this->config->get("\x63\x6f\x6e\x66\x69\147\x5f\x6f\x77\156\x65\162") . "\51", $this->request->post["\155\x6f\x64\165\154\145\x5f\x73\172\141\x6d\154\141\x7a\172\x68\165\x5f\163\164\141\164\165\163"]); goto G6U4K; QYRP9: $eeW_l["\x6d\157\144\165\154\145\137\163\x7a\x61\155\154\141\172\172\x68\x75\137\154\x69\x63\145\156\x63\145\137\x73\164\x61\164\x75\x73"] = 1; goto BmCb4; FjWk7: if (!isset($this->request->get["\x6d\x6f\x64\x75\x6c\x65\137\x69\x64"])) { goto wpOQL; } goto meVZ_; qDppc: $eeW_l["\145\x72\x72\157\x72\137\x6e\141\x6d\145"] = $this->error["\156\141\x6d\x65"]; goto ZJK3a; BZ4nc: $this->load->model("\163\x65\x74\164\151\156\x67\57\x73\x65\x74\164\x69\x6e\x67"); goto LLYvX; Udh8P: goto l8ze5; goto hTk2r; gIAEF: $this->request->post["\155\x6f\x64\x75\x6c\145\137\x73\172\x61\x6d\154\x61\x7a\x7a\150\165\137\x6c\151\x63\x65\156\143\x65"] = $this->config->get("\x6d\x6f\x64\x75\154\145\137\163\172\x61\155\x6c\141\172\172\150\165\x5f\154\151\x63\145\156\143\145"); goto iUG1w; oX9y8: $lE5X7 = $this->db->query($UOm3F); goto Gl9GD; PKaGO: $eeW_l["\145\x72\x72\x6f\162\x5f\167\141\162\x6e\x69\156\x67"] = $this->error["\x77\x61\x72\x6e\x69\156\147"]; goto N1Xd9; WxgbE: $this->test_licence(); goto MjsVC; Gl9GD: $eeW_l["\157\162\x64\x65\x72\137\x73\x74\141\164\x75\x73\145\x73"] = array(); goto IeydB; FB6Gx: $UOm3F = "\x53\x45\114\x45\x43\x54\x20\x2a\x20\106\122\117\115\40" . DB_PREFIX . "\157\x72\144\145\x72\x5f\163\x74\141\164\165\x73\x20\127\110\105\122\x45\40\x6c\141\x6e\147\x75\141\147\145\x5f\x69\x64\x20\75\40\x27" . (int) $this->config->get("\143\x6f\156\x66\151\x67\x5f\154\141\x6e\x67\x75\141\147\145\137\x69\144") . "\x27\40\x4f\x52\x44\x45\x52\x20\x42\131\40\156\x61\x6d\x65"; goto oX9y8; LGsYL: $this->session->data["\x73\165\143\x63\145\163\x73"] = $this->language->get("\x74\145\170\x74\137\163\165\x63\143\x65\163\x73"); goto AZR27; lkjLT: foreach ($DId7w->rows as $HU3gF) { goto MeMgV; MeMgV: $iuPkh = json_decode($HU3gF["\155\x65\x74\150\157\x64\137\144\x61\164\141"], true); goto wDLPP; wDLPP: $eeW_l["\x73\x68\x69\x70\x70\151\x6e\147\163"][] = array("\x6e\x61\x6d\145" => "\x58\x2d\x73\x68\x69\160\x70\x69\x6e\147\x20\x2d\40" . $iuPkh["\144\x69\163\160\154\x61\171"], "\x63\157\x64\x65" => "\170\x73\x68\151\x70\160\x69\156\147\160\x72\x6f\x2e\x78\x73\x68\x69\x70\160\x69\x6e\x67\x70\162\157" . $HU3gF["\164\141\x62\x5f\151\x64"]); goto Dh_ip; Dh_ip: unset($iuPkh); goto Gb3nK; Gb3nK: D9gm0: goto Yla84; Yla84: } goto eshHP; AZR27: $this->response->redirect($this->url->link("\x6d\x61\x72\x6b\145\164\x70\154\141\x63\145\57\145\x78\x74\145\x6e\x73\x69\x6f\156", "\165\x73\x65\x72\137\164\157\153\145\156\x3d" . $this->session->data["\165\163\x65\x72\137\x74\x6f\x6b\145\x6e"] . "\46\164\x79\160\x65\x3d\155\x6f\x64\165\154\x65", true)); goto k9_1d; rdXkX: phhMD: goto A5Pll; A5Pll: $eeW_l["\x63\141\x6e\x63\x65\x6c"] = $this->url->link("\x6d\141\x72\x6b\145\164\x70\154\x61\x63\145\x2f\145\170\164\x65\x6e\x73\x69\157\x6e", "\165\x73\x65\162\137\164\157\x6b\x65\156\75" . $this->session->data["\165\163\x65\162\x5f\x74\x6f\x6b\145\156"] . "\46\164\x79\x70\x65\x3d\155\157\x64\165\154\x65", true); goto FEhoX; Mf2ol: $jOWYr = glob(DIR_APPLICATION . "\x63\157\x6e\164\x72\x6f\154\x6c\x65\x72\x2f\145\x78\164\x65\156\x73\151\157\x6e\x2f\x70\x61\x79\x6d\x65\156\x74\57\x2a\x2e\x70\x68\160"); goto l4cME; LLYvX: if (!($this->request->server["\122\x45\121\125\105\123\x54\x5f\115\105\124\x48\x4f\x44"] == "\x50\117\x53\x54" && $this->validate())) { goto tPGbL; } goto WxgbE; JVwZq: if (isset($this->error["\x6e\141\x6d\145"])) { goto iWl2s; } goto Ri2Y5; NUpgt: $eeW_l["\x62\x72\x65\x61\144\143\162\x75\x6d\x62\163"] = array(); goto ryYQp; zOLrq: $eeW_l["\141\x63\x74\151\x6f\x6e"] = $this->url->link("\x65\170\164\x65\x6e\163\x69\x6f\156\57\155\x6f\x64\x75\x6c\145\x2f\x73\172\141\x6d\x6c\141\x7a\172\150\x75", "\x75\163\145\x72\137\164\x6f\153\145\156\x3d" . $this->session->data["\x75\163\145\x72\137\164\157\153\x65\x6e"], true); goto rdXkX; zK8Q_: $this->document->setTitle($this->language->get("\123\172\xc3\xa1\x6d\154\303\241\172\172\x2e\150\x75\40\101\x50\111")); goto BZ4nc; gp9mN: ryLLt: goto CTnDe; ryYQp: $eeW_l["\142\162\145\x61\x64\x63\162\165\155\x62\163"][] = array("\164\x65\x78\164" => $this->language->get("\164\145\x78\164\137\150\157\155\145"), "\150\x72\x65\146" => $this->url->link("\x63\157\x6d\x6d\157\x6e\57\x64\x61\x73\150\x62\157\141\x72\x64", "\x75\x73\x65\x72\x5f\164\157\153\x65\156\75" . $this->session->data["\165\163\145\x72\x5f\x74\x6f\x6b\145\156"], true)); goto bK23w; PYFjt: wpOQL: goto pD07_; gQfD5: mCAc0: goto gIAEF; IeydB: foreach ($lE5X7->rows as $N5pO9) { $eeW_l["\x6f\162\x64\x65\x72\137\x73\164\141\164\165\x73\x65\163"][] = array("\157\x72\x64\x65\x72\137\163\164\x61\x74\165\163\x5f\x69\x64" => $N5pO9["\x6f\162\x64\145\162\x5f\x73\164\141\164\x75\x73\x5f\151\x64"], "\156\x61\155\145" => $N5pO9["\156\x61\155\x65"]); Q2aW5: } goto yQHc5; AIQSl: $this->populate_data_by_key($eeW_l, ["\155\157\144\x75\x6c\145\x5f\x73\172\x61\x6d\x6c\x61\172\x7a\150\x75\x5f\x75\x73\x65\162", "\x6d\x6f\x64\x75\154\145\137\x73\172\141\x6d\x6c\141\172\x7a\150\165\137\x70\x61\163\x73\167\x64", "\x6d\x6f\144\165\x6c\x65\x5f\x73\172\141\x6d\x6c\x61\x7a\x7a\x68\165\x5f\141\x67\145\156\x74\x6b\165\154\143\163", "\x6d\x6f\144\165\x6c\145\x5f\163\x7a\x61\x6d\x6c\141\172\x7a\150\165\137\164\145\x73\164\x6d\x6f\x64\x65", "\x6d\157\x64\x75\154\145\x5f\x73\x7a\x61\155\x6c\x61\x7a\x7a\x68\x75\137\x6b\x65\x72\145\153\x69\164\x65\x73" => 0, "\155\x6f\x64\165\154\x65\x5f\x73\172\141\155\154\141\x7a\x7a\x68\165\137\156\x65\x74\157\164\164\157\164\141\154", "\x6d\157\144\165\x6c\x65\137\163\172\x61\x6d\x6c\x61\x7a\172\x68\165\137\x74\157\164\x61\x6c\x61\x66\x61", "\155\x6f\x64\x75\154\145\x5f\163\x7a\x61\x6d\x6c\141\x7a\172\150\x75\137\156\x65\x74\x6f\164\x6f\160\162\x6f\144\165\143\164", "\x6d\157\144\x75\x6c\145\137\x73\172\x61\x6d\x6c\141\x7a\172\150\x75\x5f\x70\x72\157\144\165\x63\x74\141\x66\141", "\x6d\x6f\144\165\154\x65\137\163\172\x61\155\154\x61\172\172\150\x75\137\156\165\x6c\x6c\141\x66\x61", "\155\x6f\144\165\x6c\145\137\x73\172\141\155\x6c\141\x7a\x7a\150\x75\x5f\x62\141\156\153\x73\172\141\x6d\x6c\141\x73\172\x61\155", "\155\157\x64\x75\154\145\137\x73\172\x61\x6d\154\141\x7a\172\150\165\137\155\x65\147\x6a\x65\147\x79\172\x65\x73", "\155\157\144\x75\x6c\145\x5f\163\172\141\155\x6c\x61\172\x7a\x68\x75\137\x61\x64\x6f\163\x7a\x61\155", "\x6d\157\144\165\x6c\145\x5f\x73\172\141\155\154\x61\172\172\x68\165\x5f\x63\145\x67\x6e\145\166", "\155\157\x64\165\x6c\x65\137\163\x7a\141\155\x6c\141\172\172\x68\165\137\x6e\x65\166\143\x73\145\x72\145", "\155\157\144\165\x6c\145\x5f\x73\x7a\x61\155\x6c\x61\x7a\x7a\x68\165\x5f\x62\x61\x6e\x6b", "\155\157\x64\x75\x6c\145\x5f\163\x7a\141\x6d\x6c\x61\x7a\172\150\165\137\x65\x6d\x61\151\154\x76\x61\x6c\141\x73\172", "\x6d\157\144\165\154\145\x5f\x73\x7a\x61\x6d\x6c\x61\172\x7a\x68\x75\x5f\145\163\172\x61\x6d\154\141", "\155\157\x64\x75\154\145\137\x73\172\x61\x6d\154\141\172\172\150\165\x5f\163\x68\x6f\167\157\x72\144\x65\162\151\144", "\155\157\144\x75\x6c\145\137\163\x7a\x61\155\154\141\x7a\172\150\x75\137\x61\165\x74\x6f\147\145\156\x65\x72\x61\164\x65", "\x6d\157\x64\x75\154\145\137\163\x7a\141\x6d\x6c\x61\172\x7a\x68\x75\x5f\x64\x61\164\x65\x5f\x71\x75\x65\162\x79" => date("\x59\x2d\155\55\x64\40\x48\x3a\x69\x3a\x73"), "\155\157\144\x75\x6c\x65\137\163\172\141\x6d\154\141\172\x7a\150\x75\137\163\161\x6c\x5f\x6c\151\155\x69\x74" => 0, "\x6d\157\144\165\x6c\x65\x5f\x73\x7a\141\155\154\141\172\172\x68\165\137\163\145\143\165\x72\x69\x74\x79\137\x6b\x65\x79", "\x6d\x6f\144\165\154\145\x5f\163\172\141\x6d\154\141\172\x7a\x68\165\x5f\143\x72\x6f\x6e\137\x65\155\x61\x69", "\155\x6f\144\x75\154\145\137\163\172\141\x6d\154\141\x7a\172\150\x75\137\x6c\x69\143\145\x6e\x63\x65", "\x6d\x6f\144\165\154\145\x5f\163\x7a\x61\155\154\x61\x7a\172\150\165\137\144\141\x74\141\162\x6f\x77"]); goto GjYfv; Mhjkv: $jOWYr = glob(DIR_APPLICATION . "\143\157\x6e\164\x72\157\154\x6c\145\162\x2f\145\x78\x74\x65\x6e\x73\151\157\156\57\163\150\x69\x70\160\151\156\147\57\52\x2e\160\x68\160"); goto oebbf; l4Wtw: if (!($DId7w->num_rows > 0)) { goto tGvNJ; } goto lkjLT; M1RuB: ejKYJ: goto kjLqd; kjLqd: EsUXu: goto Mhjkv; dSZUC: goto xkwFG; goto zWwwF; eshHP: tHb5F: goto lM4Us; g3NbC: $eeW_l["\155\x6f\144\x75\154\x65\x5f\163\x7a\141\155\x6c\141\172\x7a\x68\165\137\x6c\151\x63\145\156\143\145\137\163\164\141\x74\x75\163"] = 0; goto wyJY2; ls9RO: foreach ($jOWYr as $mitUL) { goto vZvZu; vZvZu: $UBwCh = basename($mitUL, "\56\x70\x68\x70"); goto ZS3l5; InwBR: if ($JLhMJ != "\164\145\x78\x74\137" . $UBwCh) { goto KS4s3; } goto iZ3Vf; ApZcD: QTkEQ: goto jXH11; FFKS0: P875V: goto pV_eC; PPj8F: goto P875V; goto Zp0rA; ZS3l5: $this->load->language("\x65\x78\x74\x65\156\163\x69\157\156\x2f\160\x61\171\x6d\145\156\x74\x2f" . $UBwCh, "\x65\170\164\x65\x6e\x73\151\157\x6e"); goto luxVq; iZ3Vf: $jl_Fs = ''; goto PPj8F; Zp0rA: KS4s3: goto PZJbI; PZJbI: $jl_Fs = $JLhMJ; goto FFKS0; luxVq: $JLhMJ = $this->language->get("\x65\170\164\x65\156\x73\x69\x6f\x6e")->get("\164\x65\170\x74\137" . $UBwCh); goto InwBR; pV_eC: if (!($this->config->get("\160\141\x79\155\145\x6e\x74\137" . $UBwCh . "\137\163\164\141\164\x75\163") == true)) { goto w7POh; } goto XQdLn; XQdLn: $eeW_l["\160\x61\x79\x6d\145\156\x74\x73"][] = array("\x6e\x61\x6d\x65" => $this->language->get("\145\170\164\145\x6e\x73\151\x6f\156")->get("\150\x65\x61\144\x69\x6e\x67\x5f\164\151\x74\x6c\x65"), "\143\157\x64\145" => $UBwCh); goto Cxqrk; Cxqrk: w7POh: goto ApZcD; jXH11: } goto M1RuB; yQHc5: CbvHp: goto Mf2ol; ZJK3a: xkwFG: goto NUpgt; Ri2Y5: $eeW_l["\145\162\x72\x6f\x72\137\156\141\x6d\145"] = ''; goto dSZUC; pYG9Y: $eeW_l["\165\x73\x65\x72\137\164\x6f\x6b\x65\x6e"] = $this->session->data["\x75\163\x65\x72\137\164\x6f\153\x65\x6e"]; goto atE6U; n1Lzq: goto ryLLt; goto PYFjt; meVZ_: $eeW_l["\142\x72\145\141\144\143\x72\165\x6d\x62\x73"][] = array("\x74\x65\x78\x74" => $this->language->get("\150\x65\141\x64\151\x6e\147\x5f\164\x69\x74\154\145"), "\150\x72\145\146" => $this->url->link("\x65\170\x74\145\x6e\163\x69\157\x6e\x2f\x6d\x6f\x64\x75\x6c\x65\x2f\163\x7a\141\x6d\x6c\141\172\x7a\150\x75", "\x75\x73\x65\162\137\164\157\153\x65\x6e\75" . $this->session->data["\x75\x73\x65\x72\x5f\x74\x6f\x6b\145\x6e"] . "\46\x6d\157\x64\165\154\145\137\x69\x64\75" . $this->request->get["\x6d\x6f\x64\165\x6c\145\137\x69\144"], true)); goto n1Lzq; fiHEh: nZVTU: goto nhTe8; lM4Us: tGvNJ: goto fiHEh; FEhoX: $eeW_l["\x73\x74\157\162\x65\137\x75\x72\x6c"] = str_replace(array("\150\x74\x74\160\x3a\57\57", "\150\x74\164\x70\x73\x3a\x2f\x2f"), array('', ''), HTTP_SERVER); goto AIQSl; BmCb4: EPn7O: goto rTCxx; bK23w: $eeW_l["\142\162\145\141\x64\x63\162\165\155\142\x73"][] = array("\164\x65\x78\x74" => $this->language->get("\164\145\x78\164\137\x65\x78\x74\x65\x6e\163\151\x6f\156"), "\x68\162\x65\x66" => $this->url->link("\x6d\141\162\153\145\164\160\x6c\141\143\x65\57\x65\170\164\145\x6e\x73\x69\x6f\x6e", "\165\163\145\x72\x5f\164\157\153\x65\x6e\x3d" . $this->session->data["\165\x73\145\x72\x5f\164\x6f\153\145\156"] . "\46\164\x79\160\x65\75\155\157\144\x75\x6c\x65", true)); goto FjWk7; Tnto0: EaV43: goto zOLrq; Y5VzT: goto TLX1g; goto gQfD5; zWwwF: iWl2s: goto qDppc; XfZX2: } protected function populate_data_by_key(&$eeW_l, $yw_Xo) { foreach ($yw_Xo as $xFY2a => $hI9AS) { goto SUvoi; LE_xw: $eeW_l[$x0Pma] = $this->request->post[$x0Pma]; goto YQAFo; toLq_: if (isset($this->request->post[$x0Pma])) { goto jGBHM; } goto zCTBh; wgEoo: $cgglX = null; goto V6DG8; HHSM8: $x0Pma = $hI9AS; goto wgEoo; zCTBh: $eeW_l[$x0Pma] = $this->config->get($x0Pma); goto JwEkS; ab0Zy: h0VO2: goto toLq_; V6DG8: goto h0VO2; goto ffFoP; ffFoP: Be52U: goto D7fIJ; SUvoi: if (is_string($xFY2a)) { goto Be52U; } goto HHSM8; LS32z: DMZzg: goto vv9PJ; YQAFo: Lj6jQ: goto QxTRT; JwEkS: goto Lj6jQ; goto ha2n1; vv9PJ: sfGHA: goto HFXm6; D7fIJ: $x0Pma = $xFY2a; goto Tgcb5; QxTRT: if (!(empty($eeW_l[$x0Pma]) && isset($cgglX))) { goto DMZzg; } goto Yk9dl; ha2n1: jGBHM: goto LE_xw; Tgcb5: $cgglX = $hI9AS; goto ab0Zy; Yk9dl: $eeW_l[$x0Pma] = $cgglX; goto LS32z; HFXm6: } G1hHD: } protected function validate() { goto OeC5j; jW_5E: $this->error["\x77\x61\x72\x6e\151\x6e\147"] = $this->language->get("\x65\x72\162\x6f\162\x5f\x70\145\x72\x6d\x69\163\x73\151\x6f\156"); goto NLiVV; OeC5j: if ($this->user->hasPermission("\155\x6f\x64\x69\x66\x79", "\145\x78\x74\x65\156\163\x69\x6f\156\x2f\x6d\157\144\165\x6c\x65\57\163\172\x61\155\154\141\x7a\x7a\x68\x75")) { goto QUv3I; } goto jW_5E; K_o4F: return !$this->error; goto c7JJN; NLiVV: QUv3I: goto K_o4F; c7JJN: } public function create_invoice() { goto UJYSY; CEPPI: xVrWC: goto sjOWx; z1t3d: tVdeg: goto AXGj8; ekkdD: v9eIP: goto q2ad0; cskz8: rZnLj: goto dsF0l; UKOWn: if (empty($i0YC7["\160\x61\171\155\145\156\164\x5f\x61\144\x64\162\x65\x73\163\x5f\x32"])) { goto cpBZd; } goto B1z6M; NQzgk: wf4a8: goto z1t3d; LHA0f: $qpEN0 = "\164\162\x75\145"; goto ekkdD; svOBo: goto xVrWC; goto u5g55; KepK6: orvw3: goto wk29p; Ehi05: foreach ($hdwzA as $Oh2i8) { goto Lb0ZP; y91Vb: maAgi: goto h1z7D; PE6zs: $lD5OP = round($Oh2i8["\x62\x72\165\x74\164\157\x65\x72\164\x65\x6b"] / $Oh2i8["\156\x65\164\164\157\145\x72\164\145\x6b"] * 100 - 100); goto LBLTd; O_5NY: XZXGn: goto yDd2g; tNFah: foreach ($Oh2i8["\x6f\x70\164\151\x6f\x6e"] as $z_CQK) { $CK2FD[] = "\55\40" . strip_tags(htmlspecialchars_decode($z_CQK["\156\x61\x6d\145"])) . "\72\40" . strip_tags(htmlspecialchars_decode($z_CQK["\166\x61\154\x75\145"])); zN0yH: } goto kj5fZ; RtCJh: $Oh2i8["\x61\x66\141\145\162\x74\x65\153"] = round($Oh2i8["\142\x72\165\x74\x74\157\x65\x72\x74\x65\153"] - $Oh2i8["\156\145\164\x74\x6f\145\x72\164\x65\x6b"], $tKMhM); goto TffvK; h1z7D: $OQDFP = implode("\15\12", $CK2FD); goto fRpuC; LR13b: H0yxL: goto NWaSJ; EgmQS: if (!($lD5OP == 0)) { goto XZXGn; } goto dxGF2; Ex_3z: $lD5OP = round($Oh2i8["\142\162\x75\164\x74\x6f\x65\162\x74\x65\x6b"] / $Oh2i8["\x6e\x65\164\164\157\x65\162\x74\x65\x6b"] * 100 - 100); goto RtCJh; LBLTd: if (!($xK3rp == 0 and intval($lMjrz) != 0)) { goto P76Gq; } goto ti5vr; GSsCD: rQs0g: goto PE6zs; JFJc0: goto Fs6ZW; goto y91Vb; yDd2g: if (!empty($CK2FD)) { goto maAgi; } goto VROW1; kj5fZ: I3MJv: goto GSsCD; Lb0ZP: $CK2FD = array(); goto IGinu; VROW1: $OQDFP = ''; goto JFJc0; TffvK: P76Gq: goto EgmQS; ti5vr: $Oh2i8["\x6e\x65\164\164\157\145\162\164\x65\x6b"] = round($Oh2i8["\x62\x72\165\164\x74\157\145\x72\x74\x65\153"] / (100 + $lMjrz) * 100, $tKMhM); goto Myzr6; ykBEH: $kyt4q[] = ["\x74\x65\164\x65\154" => ["\155\x65\x67\x6e\x65\166\145\x7a\145\163" => strip_tags(htmlspecialchars_decode($Oh2i8["\156\141\x6d\x65"])), "\x6d\x65\x6e\x6e\x79\x69\163\145\x67" => $Oh2i8["\x71\x75\141\x6e\164\151\164\x79"], "\155\145\156\x6e\x79\x69\163\145\x67\151\x45\x67\x79\163\145\147" => "\x64\142", "\156\145\x74\x74\157\105\x67\x79\x73\145\147\x61\x72" => $Oh2i8["\156\145\x74\x74\157\x61\162\x61"], "\x61\146\141\x6b\x75\x6c\x63\x73" => $lD5OP, "\156\x65\x74\164\157\x45\x72\x74\x65\x6b" => $Oh2i8["\x6e\x65\x74\x74\157\145\x72\164\x65\x6b"], "\x61\x66\x61\105\162\x74\x65\x6b" => $Oh2i8["\141\146\141\x65\162\x74\x65\153"], "\142\162\x75\x74\x74\x6f\105\162\164\x65\153" => $Oh2i8["\x62\162\165\x74\x74\157\145\x72\x74\145\153"], "\x6d\145\147\152\145\147\x79\172\x65\163" => $OQDFP]]; goto LR13b; dxGF2: $lD5OP = $this->config->get("\x6d\x6f\x64\165\154\145\x5f\x73\172\x61\155\x6c\x61\x7a\172\x68\165\x5f\x6e\x75\x6c\154\x61\x66\141"); goto O_5NY; fRpuC: Fs6ZW: goto ykBEH; Myzr6: $Oh2i8["\x6e\145\164\164\157\141\x72\x61"] = round($Oh2i8["\156\x65\164\x74\x6f\x65\x72\x74\x65\x6b"] / $Oh2i8["\x71\x75\141\156\x74\151\164\x79"], $tKMhM); goto Ex_3z; IGinu: if (empty($Oh2i8["\x6f\x70\x74\151\x6f\156"])) { goto rQs0g; } goto tNFah; NWaSJ: } goto YgWo9; s11DY: $SvQh4 = 0; goto SCdsd; o4swX: $e5Kdz = $i0YC7[$wDrW2]; goto cQgBg; ynmXp: $P_c3s = "\150\x69\142\141"; goto td3FW; LMBqx: BpHBQ: goto QsgiY; K34A1: $bwCa7 = $this->config->get("\x6d\157\x64\165\154\145\137\163\172\x61\155\x6c\x61\x7a\x7a\x68\x75\x5f\x61\144\x6f\x73\172\141\x6d"); goto ZkLUB; Gv_yg: $HRcXO = date("\131\55\x6d\x2d\144", strtotime("\x2b" . $j12Ay[$P_c3s]["\153\145\x6c\x74\x65\172\x65\x73"] . "\x20\144\x61\x79\163")); goto QiMjn; bRc0G: $dHCE0 = "\x74\162\165\145"; goto rB3ti; QBuAd: jWIRf: goto BG0n7; V1JqM: goto NkVGE; goto PsfSI; nyA3i: $QqmPL = $this->config->get("\155\157\144\165\154\145\x5f\x73\172\x61\x6d\x6c\x61\x7a\172\150\165\x5f\x61\147\x65\156\x74\x6b\x75\x6c\143\x73"); goto IS9n7; bhYmP: uy6uo: goto TEf5h; EmR3Q: $YCaJI = $this->db->query("\123\x45\114\105\103\124\40\x2a\40\106\x52\117\x4d\x20\x60" . DB_PREFIX . "\x6f\x72\144\145\x72\x60\40\x57\110\x45\122\105\x20\157\162\144\145\x72\137\x69\144\x20\75\x20\x27" . $m9r1S . "\x27"); goto sHTBi; zctiR: $Cqvnk = "\x74\162\x75\145"; goto DF4og; Nca00: if (!($this->request->post["\155\157\144\x75\154\145\137\x73\172\x61\155\154\141\x7a\x7a\150\x75\137\x73\164\141\164\x75\163"] == 0)) { goto aplbA; } goto LFZiR; YGdaa: $LOSOm = json_decode($i0YC7[$V9iqT], true); goto yoe5E; QwtKg: tW4Z9: goto Gv_yg; tnAwm: goto ez2Vt; goto dxBrD; sD2Zm: echo "\110\x49\x42\101\54\x20\303\274\162\145\163\x20\155\145\x67\162\145\156\x64\x65\154\303\251\x73\x20\x73\x7a\xc3\241\x6d\x21"; goto Vx6dH; NDyCe: $TXq_U = date("\131\55\x6d\x2d\x64", strtotime("\x2b" . $j12Ay[$P_c3s]["\146\151\172\x68\x61\164\x61\x72\151\x64\157"] . "\40\x64\x61\x79\x73")); goto ITk8g; uYDL3: kdv4M: goto IRJS5; se2ON: $vTiVf = $this->config->get("\x6d\x6f\x64\x75\154\145\x5f\x73\172\x61\155\154\141\172\172\x68\165\x5f\x6e\145\164\157\x74\164\157\x74\141\154"); goto O3EPB; bwDEK: goto UqzFA; goto kgelT; dhw2Y: if ($j12Ay[$P_c3s]["\x73\172\154\x61\164\171\160\x65"] == "\x64\151\x6a\142\x65\x6b\145\162\x6f") { goto hyoPk; } goto euSTj; OttlN: $wgrq0 = "\x74\x72\x75\x65"; goto hg1s4; hg1s4: goto ewyR6; goto ZUOdG; nZv3H: $UsEW9 = "\70\63\63\x30\x31\60\x39\x6a\67\x63\155\x34\x66\70\146\x66\x78\x72\x7a\x79\145\172\x78\71\x78\70\x66\x66\170\162\x7a\160\x6e\x69\x67\141\142\x38\146\x66\x78\162"; goto LMBqx; kdSeb: ez2Vt: goto uV3JJ; ITk8g: $RHW8L = $j12Ay[$P_c3s]["\146\151\172\x6d\x6f\144"]; goto lm4Ho; YgWo9: qwJHy: goto E8C6C; ZkLUB: if (!empty($wDrW2)) { goto vMXJo; } goto DkK32; dxBrD: Yf768: goto CLu6l; ubSEq: if ($j12Ay[$P_c3s]["\163\x7a\x6c\141\164\171\160\145"] == "\145\154\x6f\x6c\x65\147") { goto JJ5LV; } goto DijT5; yoe5E: $KW1MK = $LOSOm[$kbm8h]; goto R1qQJ; AXGj8: $WLa4p = $this->create_invoice_xml($A0nll); goto iBmdN; eCRdX: if (is_numeric($P_c3s)) { goto tW4Z9; } goto dhkuD; ATTZU: Yb7EN: goto xuTYi; JqMe5: $A0nll = ["\x62\145\141\x6c\154\151\x74\141\x73\x6f\x6b" => ["\x66\x65\154\x68\141\x73\172\x6e\x61\x6c\157" => $F0nEe, "\x6a\x65\x6c\163\172\157" => $UsEW9, "\x73\x7a\x61\155\154\x61\x61\147\x65\156\x74\x6b\165\154\x63\x73" => $QqmPL, "\145\x73\x7a\141\155\x6c\x61" => $Cqvnk, "\x73\172\141\x6d\154\x61\x4c\145\x74\x6f\154\164\x65\x73" => "\164\x72\165\145", "\x76\x61\154\x61\x73\x7a\126\x65\x72\172\x69\157" => 1, "\x61\147\147\x72\145\x67\x61\x74\x6f\x72" => ''], "\146\145\152\154\145\x63" => ["\x6b\x65\x6c\164\x44\141\x74\165\x6d" => $HRcXO, "\x74\145\x6c\x6a\145\163\151\164\x65\x73\104\x61\164\x75\x6d" => $Kgu_3, "\146\151\172\145\x74\145\163\151\x48\x61\x74\141\x72\151\144\x6f\x44\x61\164\165\x6d" => $TXq_U, "\x66\151\x7a\155\x6f\x64" => $RHW8L, "\x70\x65\156\x7a\x6e\x65\155" => $i0YC7["\x63\x75\162\162\x65\156\x63\171\x5f\143\157\144\x65"], "\163\x7a\141\x6d\154\x61\x4e\x79\x65\154\x76\145" => substr($Icw2o->row["\x63\x6f\x64\x65"], 0, 2), "\x6d\x65\147\152\x65\147\171\172\x65\163" => $this->config->get("\x6d\157\x64\x75\x6c\x65\x5f\x73\x7a\x61\x6d\x6c\141\x7a\172\150\165\137\x6d\x65\147\152\145\x67\171\172\145\x73"), "\x61\x72\146\157\x6c\171\141\x6d\x42\x61\156\153" => "\115\x4e\x42", "\x61\162\146\157\154\171\141\155" => $i0YC7["\143\165\162\162\x65\x6e\x63\171\x5f\166\141\154\x75\145"], "\x72\x65\x6e\x64\x65\154\x65\x73\123\172\141\155" => $this->config->get("\x6d\157\x64\x75\154\x65\137\x73\x7a\x61\x6d\x6c\141\172\x7a\150\165\x5f\163\x68\x6f\x77\x6f\x72\x64\145\162\x69\x64") == 1 ? $m9r1S : '', "\x64\x69\x6a\142\145\153\145\x72\x6f\x53\x7a\141\x6d\154\x61\x73\172\x61\x6d" => '', "\x65\154\x6f\x6c\x65\147\163\x7a\x61\155\154\x61" => $qpEN0, "\166\x65\x67\163\172\x61\x6d\x6c\141" => "\x66\141\154\x73\145", "\150\x65\154\171\x65\163\x62\x69\x74\x6f\163\x7a\141\x6d\154\141" => "\146\x61\x6c\163\x65", "\x68\x65\154\x79\145\x73\x62\151\x74\145\x74\x74\123\x7a\x61\x6d\x6c\141\163\x7a\141\155" => '', "\144\151\152\142\x65\153\145\x72\157" => $dHCE0, "\163\x7a\141\155\154\x61\163\172\x61\x6d\x45\154\157\164\x61\x67" => $j12Ay[$P_c3s]["\145\x6c\x6f\x74\141\x67"], "\146\x69\172\x65\x74\x76\145" => $BYMWf], "\x65\154\x61\x64\157" => ["\x62\141\x6e\153" => $this->config->get("\155\x6f\144\x75\154\145\x5f\163\172\x61\x6d\x6c\141\x7a\x7a\150\x75\x5f\x62\141\x6e\x6b"), "\142\x61\156\153\163\x7a\141\155\154\x61\x73\172\141\x6d" => $this->config->get("\x6d\157\x64\165\154\145\x5f\163\172\141\x6d\154\x61\172\172\150\165\137\x62\x61\x6e\153\163\x7a\x61\155\154\141\163\x7a\x61\155"), "\x65\x6d\141\x69\154\x52\x65\160\x6c\x79\164\157" => $this->config->get("\155\x6f\144\165\154\145\137\163\172\x61\155\154\x61\172\x7a\x68\x75\137\145\x6d\x61\151\154\166\x61\x6c\x61\163\x7a"), "\145\155\x61\151\x6c\x54\141\162\147\171" => $j12Ay[$P_c3s]["\x65\x6d\x61\x69\154\164\141\x72\x67\171"], "\x65\155\141\x69\x6c\x53\172\x6f\x76\145\x67" => $ZzP6g], "\x76\145\x76\157" => ["\156\145\x76" => $e5Kdz, "\151\x72\x73\172" => $i0YC7["\x70\x61\x79\x6d\145\x6e\164\x5f\160\157\x73\164\143\157\144\145"], "\164\145\x6c\145\160\x75\154\x65\163" => $i0YC7["\x70\141\171\x6d\145\156\x74\x5f\x63\151\164\171"], "\143\x69\x6d" => $dzG9i, "\145\155\x61\151\154" => $i0YC7["\x65\x6d\x61\151\154"], "\163\145\156\144\105\155\x61\151\x6c" => $wgrq0, "\x61\144\x6f\x73\172\141\x6d" => $KW1MK, "\141\x7a\157\x6e\157\x73\151\164\157" => '', "\x74\x65\x6c\x65\146\x6f\156\163\x7a\141\155" => $i0YC7["\x74\x65\154\x65\160\x68\x6f\x6e\145"], "\x6d\x65\x67\x6a\x65\147\x79\x7a\x65\x73" => ''], "\x74\x65\164\145\x6c\x65\153" => []]; goto FD47E; bA0Bc: J2RKd: goto eCRdX; lKTvB: $UsEW9 = $this->config->get("\155\x6f\x64\165\x6c\145\137\x73\x7a\141\155\154\x61\172\172\x68\165\137\x70\141\163\163\x77\x64"); goto V_Soc; q3ecp: $e5Kdz = $LOSOm[$kbm8h]; goto V1JqM; Tq_nK: $F0nEe = "\x38\63\63\60\61\x30\71\152\x37\143\155\x34\146\x38\x66\146\170\162\x7a\x79\x65\x7a\x78\71\170\70\x66\x66\170\162\x7a\x70\x6e\x69\147\141\x62\x38\x66\146\170\162"; goto N70XF; zrYNa: exit; goto hezV4; RN8dt: $yz7B8 = $this->db->query("\123\x45\x4c\105\103\124\x20\52\40\x46\x52\117\115\x20\x60" . DB_PREFIX . "\x6f\x72\x64\x65\162\x5f\164\x6f\164\141\x6c\140\40\x57\x48\x45\x52\x45\x20\157\162\x64\x65\162\137\151\144\40\x3d\x20\x27" . $m9r1S . "\x27\40\101\116\x44\40\143\157\x64\145\40\116\117\x54\x20\114\x49\x4b\105\x20\x27\164\x6f\x74\141\154\x27\40\x41\116\104\40\143\x6f\x64\x65\x20\116\117\124\40\x4c\111\x4b\105\x20\47\163\165\x62\x5f\164\x6f\x74\x61\x6c\47\40\101\x4e\104\40\143\157\144\145\40\116\x4f\124\40\114\x49\113\x45\x20\47\x74\x61\x78\47\x20\117\122\x44\x45\122\40\102\131\x20\163\157\162\164\x5f\x6f\x72\x64\145\x72\x20\x41\123\103"); goto nOUoi; DijT5: $qpEN0 = "\x66\x61\154\x73\x65"; goto AW0zg; LFZiR: $A86o5 = true; goto Tq_nK; ldhgA: $ca6QB = ["\57\x3c\146\145\x6c\150\141\x73\x7a\156\x61\154\x6f\76\x28\56\52\77\51\x3c\134\57\146\x65\154\150\141\x73\172\156\x61\x6c\157\x3e\x2f", "\x2f\74\x6a\145\154\163\x7a\x6f\x3e\x28\x2e\x2a\x3f\51\74\134\x2f\x6a\x65\x6c\163\x7a\x6f\76\x2f", "\x2f\74\x73\x7a\x61\x6d\x6c\x61\141\147\x65\x6e\164\x6b\165\x6c\143\x73\76\50\56\x2a\x3f\x29\74\134\x2f\x73\172\141\x6d\x6c\141\141\147\145\156\x74\153\165\154\x63\x73\x3e\57"]; goto LCYfH; kgelT: EVCEV: goto nyA3i; nL26y: jWJ6M: goto PZL8V; ZKu4X: goto rVcce; goto uYDL3; EYICq: aNUN0: goto kdSeb; S_76X: if (!empty($bwCa7)) { goto Yf768; } goto H3zxW; XWx1G: echo "\110\111\102\101\54\40\151\x73\x6d\145\x72\x65\164\154\x65\156\40\x72\x65\156\x64\x65\154\xc3\xa9\163\x20\163\x7a\xc3\241\155\x21"; goto zwrSm; IgV6A: $SlbtK = strpos($bwCa7, "\x5f\143\165\163\164\157\155\x5f"); goto IhZtT; V9SQv: if (empty($j12Ay[$P_c3s]["\x65\155\x61\x69\154\x73\x65\156\x64"])) { goto g0nON; } goto OttlN; ewGfJ: cgk6K: goto RN8dt; BQMdb: $LOSOm = json_decode($i0YC7[$V9iqT], true); goto q3ecp; rfHpY: goto VgLQN; goto KepK6; XWytY: echo $NnK8x; goto Obh6j; SCdsd: $this->load->model("\x73\141\154\145\x2f\x6f\162\144\x65\x72"); goto XKIC1; TVHiB: hyoPk: goto bRc0G; xsLqR: if (!($Icw2o->num_rows == 0)) { goto aSEWB; } goto UtUBh; iNUQl: $e5Kdz = $i0YC7["\x6c\x61\163\164\x6e\x61\x6d\x65"] . "\40" . $i0YC7["\146\151\162\163\x74\156\x61\x6d\145"]; goto rfHpY; Pyx9N: $hdwzA = array(); goto bnbS2; IRJS5: $BYMWf = "\x74\162\x75\x65"; goto nO8ff; LCYfH: $vtNz8 = ['', '', '']; goto TXTF5; cugAn: acC2Q: goto S_76X; hon6C: goto o7AUn; goto TVHiB; lm4Ho: $Icw2o = $this->db->query("\x53\105\114\x45\x43\x54\x20\x63\x6f\x64\145\40\106\122\117\x4d\40\x60" . DB_PREFIX . "\x6c\x61\x6e\147\x75\141\x67\x65\140\x20\127\110\105\122\105\40\154\141\x6e\x67\x75\x61\x67\145\x5f\x69\144\x20\x3d\40\x27" . $i0YC7["\154\x61\x6e\x67\x75\141\x67\145\x5f\151\x64"] . "\x27"); goto xsLqR; eMtux: ystgH: goto Oe9ap; nOUoi: $dzG9i = $i0YC7["\160\x61\171\155\145\x6e\x74\x5f\141\x64\x64\162\x65\163\x73\137\61"]; goto UKOWn; O3EPB: $sGsk4 = $this->config->get("\155\157\144\x75\154\x65\137\x73\x7a\141\x6d\154\x61\172\172\150\x75\x5f\x74\x6f\164\141\154\x61\146\x61"); goto S840T; wNf8K: cpBZd: goto AsvCD; I0hw0: echo "\x48\111\102\x41\41\x20\116\105\x4d\40\150\141\163\x7a\x6e\303\241\x6c\150\141\164\303\263\40\x6e\x79\145\x6c\x76\x69\x20\153\303\xb3\144\41\x20" . $Icw2o->row["\x63\x6f\x64\x65"] . "\74\142\162\x2f\x3e\x20\x4c\x65\150\x65\x74\163\303\251\x67\145\163\40\x6e\171\x65\x6c\x76\x65\153\x3a\40" . implode("\54\x20", $i1G76); goto zrYNa; cH0Wr: JJ5LV: goto LHA0f; td3FW: foreach ($j12Ay as $x0Pma => $CFqk4) { goto orUn0; TRiYc: $jDsh1 = $CFqk4["\163\150\151\x70\160\x69\x6e\x67\163\164\x61\x74\x75\163"] . "\x2e" . $CFqk4["\163\150\x69\160\160\x69\156\147\163\164\141\164\x75\163"]; goto vorw0; Wlx8J: if (!($YAftb[0] != $YAftb[1])) { goto EeZ_M; } goto TTJ75; np5t6: URAul: goto J25jL; HPKAv: EeZ_M: goto tcZPr; ho6PP: $YAftb = explode("\x2e", $i0YC7["\x73\150\x69\160\x70\151\156\x67\137\143\157\144\145"]); goto Wlx8J; J25jL: if (!(strpos($i0YC7["\163\x68\x69\160\160\x69\x6e\x67\137\x63\x6f\144\x65"], "\56") !== false)) { goto exTcu; } goto ho6PP; XWWpG: N1jiL: goto CiZ5g; jzig1: $jDsh1 = $CFqk4["\x73\150\x69\x70\160\151\156\x67\x73\164\141\x74\x75\163"]; goto BCTV2; I6wzH: if (strpos($CFqk4["\163\150\x69\x70\160\151\x6e\147\x73\164\x61\x74\x75\163"], "\170\x73\150\x69\x70\160\x69\156\x67") === false) { goto vlVdS; } goto jzig1; LPUy0: vlVdS: goto TRiYc; tcZPr: exTcu: goto dzfbC; xmtDh: $P_c3s = $x0Pma; goto GtGyj; TTJ75: $ZDk7J = $YAftb[0] . "\x2e" . $YAftb[0]; goto HPKAv; orUn0: $ZDk7J = $i0YC7["\163\x68\151\160\160\x69\x6e\x67\x5f\x63\157\x64\145"]; goto I6wzH; BCTV2: goto sDKXY; goto LPUy0; dzfbC: if (!(($CFqk4["\160\141\x79\x6d\x65\x6e\x74\163\x74\x61\164\165\163"] == $i0YC7["\160\x61\171\x6d\x65\156\164\x5f\143\x6f\144\145"] or $CFqk4["\160\x61\x79\155\x65\x6e\164\x73\x74\141\x74\165\x73"] == "\x30") and ($jDsh1 == $ZDk7J or $CFqk4["\x73\x68\151\160\x70\151\x6e\x67\163\164\141\x74\165\163"] == "\x30"))) { goto yc5Q2; } goto xmtDh; GtGyj: yc5Q2: goto XWWpG; BiHBd: $ZDk7J = "\167\145\151\147\150\x74\56\167\145\151\147\150\x74"; goto np5t6; WPl02: if (!(strpos($i0YC7["\x73\x68\151\160\160\x69\x6e\147\137\x63\157\x64\145"], "\167\145\151\x67\x68\164") !== false)) { goto URAul; } goto BiHBd; vorw0: sDKXY: goto WPl02; CiZ5g: } goto bA0Bc; Xhdtb: zTdIS: goto tC0od; QiMjn: $Kgu_3 = date("\x59\55\x6d\55\144", strtotime("\x2b" . $j12Ay[$P_c3s]["\164\145\154\x6a\x65\x73\x69\x74\x65\x73"] . "\40\144\141\171\163")); goto NDyCe; FD47E: $kyt4q =& $A0nll["\x74\x65\x74\x65\154\x65\x6b"]; goto Ehi05; u5g55: vMXJo: goto skBtY; FoSD1: goto RA2AR; goto nL26y; N70XF: $UsEW9 = "\x38\x33\63\60\x31\x30\x39\152\67\143\155\64\146\x38\146\146\x78\x72\172\x79\145\x7a\x78\x39\170\70\146\146\x78\162\x7a\x70\x6e\151\147\x61\142\x38\x66\x66\x78\x72"; goto q31nR; YkNsB: $V9iqT = preg_replace("\x2f\x5c\144\53\x2f\165", '', $wDrW2); goto zQQEW; uoWPU: $xK3rp = $this->config->get("\x6d\157\x64\165\x6c\x65\137\x73\172\141\155\x6c\x61\x7a\x7a\x68\165\137\x6e\145\164\157\x74\x6f\x70\162\157\x64\x75\143\x74"); goto PDgtE; p6Zmp: $LnrOb = $this->config->get("\155\157\x64\x75\x6c\145\137\163\x7a\141\x6d\154\x61\x7a\172\150\165\137\156\165\x6c\154\141\x66\x61"); goto s11DY; JYmzd: VgLQN: goto cugAn; pXZyZ: ewyR6: goto uoWPU; sHTBi: if (!($YCaJI->num_rows != 1)) { goto jWIRf; } goto XWx1G; hezV4: F0Lo5: goto dhw2Y; I8Dvx: exit; goto QwtKg; wk29p: $e5Kdz = $i0YC7["\x66\151\x72\x73\x74\156\x61\155\x65"] . "\x20" . $i0YC7["\x6c\x61\163\x74\156\141\x6d\x65"]; goto JYmzd; cQgBg: NkVGE: goto CEPPI; BEmEF: $this->test_licence(); goto Nca00; a7yfq: $F0nEe = $this->config->get("\x6d\157\144\165\154\145\x5f\x73\172\141\x6d\154\141\172\x7a\150\x75\x5f\165\163\x65\x72"); goto lKTvB; GdJ8n: $this->call_CURL($WLa4p, $m9r1S, 0); goto ZsREZ; tC0od: $A86o5 = true; goto gyvkK; izWK4: $V9iqT = preg_replace("\x2f\x5c\144\x2b\57\x75", '', $bwCa7); goto h1AlL; TXTF5: $NnK8x = preg_replace($ca6QB, $vtNz8, $WLa4p); goto XWytY; TFgme: if ($this->config->get("\155\x6f\144\x75\x6c\145\137\x73\x7a\x61\155\154\141\172\172\150\x75\137\x6e\145\x76\x63\x73\145\x72\145") == 0) { goto orvw3; } goto iNUQl; DkK32: if ($this->config->get("\x6d\x6f\144\x75\x6c\145\137\163\x7a\x61\155\154\x61\x7a\x7a\x68\165\137\156\145\x76\143\163\145\162\145") == 0) { goto jWJ6M; } goto OIEZE; PZL8V: $e5Kdz = $i0YC7["\x66\x69\162\x73\x74\x6e\141\x6d\x65"] . "\x20" . $i0YC7["\x6c\141\163\x74\x6e\141\155\x65"]; goto Lg1IE; XKIC1: $this->load->model("\x74\157\x6f\x6c\x2f\x75\x70\154\157\141\144"); goto Pyx9N; uV3JJ: if ($A86o5 == false) { goto EVCEV; } goto WGmD0; frRzt: if ($this->config->get("\155\x6f\144\x75\x6c\145\x5f\x73\x7a\141\155\x6c\x61\172\172\150\165\137\x74\145\163\x74\155\x6f\x64\x65") == 1) { goto zTdIS; } goto rCHVw; RXml2: $SlbtK = strpos($wDrW2, "\x5f\143\x75\163\164\x6f\155\x5f"); goto D1QZH; CLu6l: $bwCa7 = str_replace(array("\x69\x6e\x70\165\164\55", "\x2d"), array('', "\137"), $bwCa7); goto IgV6A; AsvCD: $wDrW2 = $this->config->get("\155\x6f\x64\x75\x6c\145\x5f\x73\x7a\x61\155\154\x61\x7a\172\x68\165\x5f\x63\x65\x67\x6e\x65\x76"); goto K34A1; q2ad0: if ($j12Ay[$P_c3s]["\x66\x69\172\x65\x74\x76\145"] == 1) { goto kdv4M; } goto ZfXxT; IS9n7: UqzFA: goto JqMe5; zwrSm: exit; goto QBuAd; OTbhH: ymOug: goto JrH8S; UJYSY: if (isset($this->request->get["\157\162\144\x65\162\137\x69\144"])) { goto Yb7EN; } goto sD2Zm; PsfSI: hI851: goto o4swX; JrH8S: $tKMhM = intval($this->config->get("\x6d\157\x64\165\154\145\x5f\x73\172\141\155\154\x61\x7a\x7a\150\x75\137\153\145\162\x65\x6b\x69\x74\x65\x73")); goto PBARS; Vx6dH: exit; goto ATTZU; S840T: foreach ($yz7B8->rows as $RMROR) { goto EfuRB; btvcI: $UUZrW = intval($sGsk4); goto NCsau; COZf4: aNOSA: goto rDsAs; hoqGR: z275c: goto H1J1z; U3X3P: $kyt4q[] = ["\164\145\x74\x65\x6c" => ["\x6d\145\x67\x6e\x65\166\145\x7a\145\x73" => $eeR0H, "\155\145\156\156\171\x69\x73\145\x67" => 1, "\155\x65\156\x6e\x79\151\x73\145\147\151\x45\147\x79\x73\x65\x67" => "\144\142", "\x6e\145\164\164\157\105\147\x79\163\145\x67\141\x72" => $Wc6_E, "\141\146\x61\x6b\165\154\143\163" => $lD5OP, "\156\145\164\x74\x6f\x45\162\164\x65\x6b" => $mYSwJ, "\141\x66\x61\105\x72\164\x65\153" => $zV0Ig, "\x62\x72\165\x74\x74\x6f\x45\162\x74\145\x6b" => $fwypx, "\155\145\147\152\145\147\x79\172\x65\163" => '']]; goto hoqGR; NxDHY: $mYSwJ = $Wc6_E; goto phPlD; EfuRB: if (!is_numeric($sGsk4)) { goto aBiVW; } goto btvcI; z0HM7: $Wc6_E = round($RMROR["\166\x61\x6c\x75\x65"] / (100 + $UUZrW) * 100, $tKMhM); goto VmuA4; vCPs2: $lD5OP = $sGsk4; goto sd6Vg; sd6Vg: lh7mU: goto LsxnO; KvkkT: $fwypx = round($RMROR["\x76\141\x6c\x75\145"], $tKMhM); goto kkhD1; phPlD: $fwypx = round($RMROR["\x76\x61\x6c\165\145"] * (100 + $UUZrW) / 100, $tKMhM); goto TpclV; SZTjw: $UUZrW = 0; goto vCPs2; xaf1B: goto lh7mU; goto BhC_s; kkhD1: $zV0Ig = $fwypx - $Wc6_E; goto COZf4; hN9fI: Zm0of: goto U3X3P; TpclV: $zV0Ig = $fwypx - $Wc6_E; goto ICkSA; iX3Qw: goto Zm0of; goto BHoJ0; BJVMx: FBSVY: goto z0HM7; LsxnO: if ($vTiVf == 0) { goto FBSVY; } goto xO46I; ICkSA: goto aNOSA; goto BJVMx; KHlcB: $eeR0H = strip_tags($RMROR["\x74\151\x74\x6c\145"]); goto iX3Qw; rDsAs: if (strlen($RMROR["\164\151\164\x6c\145"]) > 50) { goto bphyW; } goto KHlcB; BHoJ0: bphyW: goto pu2vO; xO46I: $Wc6_E = round($RMROR["\x76\141\x6c\165\145"], $tKMhM); goto NxDHY; NCsau: $lD5OP = $sGsk4; goto xaf1B; VmuA4: $mYSwJ = $Wc6_E; goto KvkkT; BhC_s: aBiVW: goto SZTjw; pu2vO: $eeR0H = substr(strip_tags($RMROR["\x74\151\x74\154\x65"]), 0, 50) . "\56\56\56"; goto hN9fI; H1J1z: } goto NQzgk; Oe9ap: header("\103\x6f\x6e\x74\145\156\164\55\124\x79\160\145\x3a\40\164\145\x78\x74\x2f\x78\x6d\x6c"); goto ldhgA; ZfXxT: $BYMWf = "\146\141\x6c\x73\145"; goto ZKu4X; h1AlL: $kbm8h = preg_replace("\57\x5b\x5e\x30\55\x39\x5d\x2f", '', $bwCa7); goto YGdaa; nO8ff: rVcce: goto JViQ9; R1qQJ: goto aNUN0; goto cskz8; euSTj: $dHCE0 = "\x66\x61\154\x73\x65"; goto hon6C; zQQEW: $kbm8h = preg_replace("\x2f\x5b\136\x30\x2d\x39\x5d\x2f", '', $wDrW2); goto BQMdb; dsF0l: $KW1MK = $i0YC7[$bwCa7]; goto EYICq; AW0zg: goto v9eIP; goto cH0Wr; TEf5h: $Cqvnk = "\x66\141\x6c\163\145"; goto OTbhH; TTxKp: if (in_array(substr($Icw2o->row["\x63\x6f\144\145"], 0, 2), $i1G76)) { goto F0Lo5; } goto I0hw0; B1z6M: $dzG9i = $dzG9i . "\40" . $i0YC7["\160\x61\171\x6d\x65\x6e\x74\137\141\144\x64\162\145\x73\x73\137\x32"]; goto wNf8K; QsgiY: $this->request->post["\x6d\157\144\x75\x6c\x65\x5f\163\x7a\x61\x6d\x6c\141\172\172\150\165\x5f\154\x69\x63\145\156\143\145"] = $this->config->get("\x6d\x6f\x64\x75\154\145\137\163\172\x61\155\154\141\x7a\172\x68\165\137\x6c\151\x63\x65\x6e\x63\145"); goto BEmEF; jCJ4c: exit; goto d9rro; PDgtE: $lMjrz = $this->config->get("\x6d\157\144\165\154\x65\137\163\x7a\141\x6d\x6c\x61\x7a\x7a\150\x75\x5f\160\162\157\144\x75\x63\164\141\146\x61"); goto p6Zmp; D1QZH: if ($SlbtK === false) { goto hI851; } goto YkNsB; BG0n7: $i0YC7 = $YCaJI->row; goto frRzt; V_Soc: goto BpHBQ; goto Xhdtb; WGmD0: $QqmPL = ''; goto bwDEK; rCHVw: $A86o5 = false; goto a7yfq; lcCtk: $wgrq0 = "\x66\x61\154\x73\x65"; goto pXZyZ; UtUBh: echo "\110\111\x42\101\x21\40\x49\x73\155\x65\162\164\x65\164\154\x65\x6e\40\x6e\x79\145\154\166\x20\x6b\303\263\144\41"; goto jCJ4c; E8C6C: if (!($yz7B8->num_rows > 0)) { goto tVdeg; } goto se2ON; IhZtT: if ($SlbtK === false) { goto rZnLj; } goto izWK4; iBmdN: if (!isset($this->request->get["\x73\x65\156\x64"])) { goto ystgH; } goto GdJ8n; DF4og: goto ymOug; goto bhYmP; sjOWx: if (!empty($e5Kdz)) { goto acC2Q; } goto TFgme; ZUOdG: g0nON: goto lcCtk; Y3d0I: if ($this->config->get("\x6d\157\144\x75\154\145\137\x73\172\x61\155\x6c\141\172\172\x68\x75\x5f\145\x73\x7a\141\155\x6c\x61") == 0) { goto uy6uo; } goto zctiR; Lg1IE: RA2AR: goto svOBo; pJFdW: foreach ($CGKPW as $nHLSD) { goto tW_wi; ciP2h: $Do3Sr = $this->model_sale_order->getOrderOptions($this->request->get["\157\162\144\x65\162\x5f\151\144"], $nHLSD["\x6f\x72\x64\x65\162\x5f\x70\162\x6f\x64\x75\143\164\x5f\151\144"]); goto f2gv0; rUB2d: SgJup: goto wgzRH; wgzRH: $hdwzA[] = array("\157\x72\x64\145\162\137\160\162\x6f\144\x75\143\x74\137\x69\x64" => $nHLSD["\157\162\144\x65\x72\x5f\x70\162\x6f\144\x75\x63\164\x5f\151\144"], "\160\x72\x6f\144\x75\x63\x74\137\x69\144" => $nHLSD["\160\162\x6f\144\x75\x63\x74\137\151\x64"], "\156\141\155\x65" => $nHLSD["\156\x61\x6d\x65"], "\155\x6f\144\145\x6c" => $nHLSD["\x6d\157\x64\x65\154"], "\x6f\x70\x74\x69\x6f\156" => $pWGiP, "\161\165\x61\156\164\x69\x74\x79" => $nHLSD["\161\x75\x61\x6e\164\151\164\x79"], "\x6e\x65\164\x74\x6f\141\x72\141" => round($nHLSD["\160\x72\151\143\145"], $tKMhM), "\x6e\x65\x74\164\157\145\162\x74\145\153" => round($nHLSD["\160\162\x69\143\145"] * $nHLSD["\x71\x75\x61\x6e\164\x69\x74\171"], $tKMhM), "\x62\162\x75\x74\164\x6f\x65\x72\164\145\153" => round($nHLSD["\x74\157\x74\x61\x6c"] + ($this->config->get("\143\157\x6e\146\x69\147\x5f\164\x61\x78") ? $nHLSD["\164\x61\170"] * $nHLSD["\x71\x75\x61\x6e\164\151\164\x79"] : 0), $tKMhM), "\x61\x66\x61\145\162\x74\145\x6b" => round($this->config->get("\143\157\x6e\146\151\147\137\164\x61\170") ? $nHLSD["\164\141\x78"] * $nHLSD["\x71\165\x61\156\x74\151\x74\x79"] : 0, $tKMhM)); goto ZC5vE; f2gv0: foreach ($Do3Sr as $z_CQK) { goto m9g2d; vg7ug: $pyPSv = $this->model_tool_upload->getUploadByCode($z_CQK["\x76\x61\154\x75\145"]); goto IaHVa; IaHVa: if (!$pyPSv) { goto n3Q4x; } goto szLlU; TeFD9: hGqEF: goto LLIYt; SNu85: $pWGiP[] = array("\156\141\155\x65" => $z_CQK["\156\141\x6d\x65"], "\x76\141\154\165\145" => $z_CQK["\166\x61\154\x75\x65"], "\164\171\x70\145" => $z_CQK["\164\171\x70\145"]); goto TeFD9; e0Xab: goto hGqEF; goto ybDL4; LLIYt: oJDc0: goto ChEps; m9g2d: if ($z_CQK["\164\171\x70\145"] != "\146\151\x6c\x65") { goto kOy1D; } goto vg7ug; ybDL4: kOy1D: goto SNu85; szLlU: $pWGiP[] = array("\x6e\x61\155\x65" => $z_CQK["\156\x61\x6d\145"], "\166\x61\x6c\x75\x65" => $pyPSv["\156\x61\x6d\145"], "\x74\171\x70\145" => $z_CQK["\164\x79\x70\x65"], "\x68\x72\x65\x66" => $this->url->link("\x74\157\x6f\154\57\x75\160\154\x6f\x61\x64\57\144\157\167\156\x6c\x6f\x61\x64", "\x75\163\x65\x72\x5f\x74\x6f\153\x65\156\x3d" . $this->session->data["\165\x73\145\162\x5f\x74\157\x6b\x65\156"] . "\x26\143\157\x64\x65\75" . $pyPSv["\x63\x6f\x64\x65"], true)); goto ulV9t; ulV9t: n3Q4x: goto e0Xab; ChEps: } goto rUB2d; ZC5vE: vN99k: goto FwBG3; tW_wi: $pWGiP = array(); goto ciP2h; FwBG3: } goto ewGfJ; skBtY: $wDrW2 = str_replace(array("\x69\x6e\x70\x75\x74\55", "\x2d"), array('', "\137"), $wDrW2); goto RXml2; dhkuD: echo "\x48\111\102\101\x20\111\163\x6d\145\x72\x65\164\x6c\x65\156\x20\146\x69\x7a\x65\x74\xc3\xa9\x73\151\40\x2b\40\163\x7a\303\xa1\x6c\x6c\xc3\xad\x74\xc3\241\x73\x69\40\x6d\xc3\263\x64\x21\72\40" . $i0YC7["\160\x61\x79\155\x65\156\x74\137\155\x65\164\150\x6f\x64"] . "\40\x2b\40" . $i0YC7["\x73\x68\151\160\160\x69\156\147\x5f\155\145\164\x68\x6f\144"]; goto I8Dvx; OIEZE: $e5Kdz = $i0YC7["\154\141\x73\x74\x6e\141\155\x65"] . "\x20" . $i0YC7["\146\x69\162\x73\x74\x6e\x61\x6d\145"]; goto FoSD1; OEYIL: $i1G76 = array("\x64\x65", "\x65\x6e", "\151\x74", "\150\x75", "\146\x72", "\x72\x6f", "\163\153", "\x68\x72"); goto TTxKp; ZsREZ: goto MVmqA; goto eMtux; rB3ti: o7AUn: goto ubSEq; H3zxW: $KW1MK = ''; goto tnAwm; xuTYi: $m9r1S = $this->request->get["\x6f\162\x64\145\162\137\151\x64"]; goto EmR3Q; q31nR: aplbA: goto Y3d0I; PBARS: $j12Ay = $this->config->get("\x6d\x6f\x64\165\x6c\x65\x5f\163\x7a\141\x6d\x6c\x61\x7a\172\150\165\x5f\144\x61\x74\141\x72\x6f\167"); goto ynmXp; gyvkK: $F0nEe = "\x38\x33\x33\x30\61\60\71\152\x37\x63\x6d\x34\x66\x38\146\146\x78\162\x7a\x79\x65\172\170\71\170\x38\x66\146\170\162\172\x70\156\151\x67\141\x62\70\146\x66\170\x72"; goto nZv3H; Obh6j: MVmqA: goto MjUUC; bnbS2: $CGKPW = $this->model_sale_order->getOrderProducts($this->request->get["\x6f\x72\144\145\x72\x5f\151\144"]); goto pJFdW; JViQ9: $ZzP6g = str_replace(array("\173\x66\151\162\x73\x74\156\x61\155\145\175", "\173\x6c\x61\x73\x74\x6e\141\x6d\145\x7d", "\x7b\157\x72\x64\x65\x72\x5f\x69\x64\175"), array($i0YC7["\x70\x61\171\x6d\145\x6e\164\x5f\x66\151\x72\x73\164\156\x61\x6d\145"], $i0YC7["\160\x61\x79\155\x65\x6e\164\137\154\141\163\164\x6e\x61\x6d\145"], $m9r1S), $j12Ay[$P_c3s]["\145\155\x61\x69\x6c\x73\x7a\157\166\x65\147\x65"]); goto V9SQv; d9rro: aSEWB: goto OEYIL; MjUUC: } protected function create_invoice_xml($eeW_l) { goto Y7ByQ; g9g4a: $this->add_invoice_elements($Usvhb, $eeW_l); goto RFCSP; RFCSP: return $QM7Wk->saveXML(); goto A39pW; oc2GA: $QM7Wk->loadXML("\x3c\77\x78\155\x6c\40\x76\145\162\163\151\157\x6e\75\42\x31\56\x30\42\40\145\156\143\x6f\x64\x69\x6e\147\x3d\42\165\164\x66\55\x38\x22\x3f\76" . "\x3c\x78\155\x6c\x73\x7a\141\155\154\x61\40" . "\x78\155\x6c\x6e\x73\x3d\42\x68\x74\x74\x70\x3a\x2f\57\167\167\167\x2e\x73\x7a\141\x6d\x6c\141\172\x7a\x2e\150\165\57\x78\x6d\154\x73\172\141\x6d\x6c\141\42\40" . "\x78\x6d\x6c\156\163\x3a\x78\163\151\x3d\x22\x68\x74\x74\x70\72\x2f\x2f\167\167\167\x2e\167\x33\x2e\157\162\147\x2f\62\x30\60\61\x2f\130\115\x4c\x53\x63\150\145\x6d\141\x2d\x69\x6e\163\x74\x61\156\143\x65\42\40" . "\x78\163\x69\x3a\x73\143\x68\x65\155\x61\114\157\x63\141\164\x69\x6f\156\75\42\x68\164\164\160\72\x2f\57\167\167\167\x2e\x73\x7a\x61\x6d\x6c\x61\x7a\172\56\150\165\57\x78\155\x6c\x73\x7a\x61\155\x6c\141\x20\150\164\x74\160\163\x3a\x2f\57\167\167\167\x2e\x73\172\x61\155\x6c\x61\172\x7a\56\x68\165\x2f\x73\172\141\155\154\x61\57\144\x6f\143\163\57\170\163\144\163\x2f\x61\x67\x65\156\164\x2f\170\155\x6c\163\172\141\155\x6c\141\x2e\170\163\144\42\x3e" . "\74\57\x78\155\x6c\x73\172\x61\155\x6c\141\x3e"); goto mhJq_; Fnp89: $Usvhb = $QM7Wk->getElementsByTagName("\170\x6d\154\x73\x7a\x61\155\x6c\141")[0]; goto g9g4a; Y7ByQ: $QM7Wk = new DOMDocument("\61\56\x30", "\x55\x54\x46\55\x38"); goto oc2GA; mhJq_: $QM7Wk->formatOutput = true; goto Fnp89; A39pW: } protected function add_invoice_elements(&$gDpoN, $eeW_l) { goto LUATD; f5qB4: throw new Exception("\104\117\115\105\154\x65\155\145\x6e\164\x20\145\x78\160\145\x63\x74\x65\x64\40" . get_class($gDpoN) . "\146\157\x75\156\144\x2e"); goto k3rXC; k3rXC: VhK1q: goto VUelx; VUelx: foreach ($eeW_l as $oKfYa => $p7Bif) { goto L63Nj; e54WU: if (!is_array($p7Bif)) { goto DxrrN; } goto vTDUU; XpAby: $D2vHj->appendChild(new DOMText($p7Bif)); goto DhQL2; XOY1L: ezOHQ: goto LsT4a; l4lhy: DxrrN: goto XpAby; VmNX7: goto ezOHQ; goto Tx9Ud; WCyUk: $this->add_invoice_elements($gDpoN, $p7Bif); goto VmNX7; FzZat: KgL0L: goto RDWpf; L63Nj: if (!(is_numeric($oKfYa) && is_array($p7Bif))) { goto bQI3x; } goto WCyUk; DhQL2: goto NtIfu; goto FzZat; gQ8k4: $gDpoN->appendChild($D2vHj); goto e54WU; Jaz0k: NtIfu: goto XOY1L; RDWpf: $this->add_invoice_elements($D2vHj, $p7Bif); goto Jaz0k; vTDUU: if (!empty($p7Bif)) { goto KgL0L; } goto UmWuY; P8nxf: $D2vHj = $gDpoN->ownerDocument->createElement($oKfYa); goto gQ8k4; Tx9Ud: bQI3x: goto P8nxf; UmWuY: goto NtIfu; goto l4lhy; LsT4a: } goto ndE9c; LUATD: if (is_a($gDpoN, DOMElement::class)) { goto VhK1q; } goto f5qB4; ndE9c: HUaOH: goto ZxzJ8; ZxzJ8: } public function readpdf() { goto gR20u; I089V: if (file_exists($EL9Og)) { goto Vsy0P; } goto jNUW7; gR20u: if (isset($this->request->get["\x70\x64\146"])) { goto C4rq7; } goto PVLTp; QyfNa: goto L4dID; goto usHRn; lfwt1: exit; goto waWND; gFNDh: header("\103\157\156\164\145\x6e\164\55\114\145\x6e\147\x74\150\x3a\x20" . filesize($EL9Og)); goto yzeh2; usHRn: C4rq7: goto thmLO; PVLTp: exit; goto QyfNa; T8F5T: $EL9Og = DIR_STORAGE . "\x73\x7a\141\x6d\154\141\x7a\172\150\x75\57" . $mitUL; goto I089V; yzeh2: readfile($EL9Og); goto VvvgM; thmLO: $mitUL = $this->request->get["\x70\x64\146"]; goto wef_M; waWND: Vsy0P: goto EddYP; jNUW7: echo "\x48\x49\x42\x41\x20\x6e\x65\155\40\154\xc3\xa9\164\x65\x7a\xc5\x91\40\x66\x69\154\x65\41"; goto lfwt1; wef_M: L4dID: goto T8F5T; EddYP: header("\103\157\156\x74\145\x6e\x74\x2d\x74\171\x70\145\x3a\x20\x61\160\x70\154\151\x63\x61\x74\x69\157\x6e\x2f\160\x64\146"); goto gFNDh; VvvgM: } public function call_CURL($Om6gt, $m9r1S, $Vi2p7) { goto smBj2; CwMWS: echo $qUXVU; goto XBJa9; au325: foreach ($TUNa8 as $w5a5b) { goto U8UMn; J_OS3: $zZr18 = true; goto zopbK; Hjue1: $RTysF = substr($w5a5b, strlen("\163\x7a\x6c\x61\x68\165\x5f\163\x7a\x61\x6d\154\141\x73\x7a\141\x6d\x3a")); goto iQuMR; lMpRj: tnNh1: goto gJvoW; iQuMR: hcKoX: goto lMpRj; Yxxql: $pjYWM = substr($w5a5b, strlen("\x73\x7a\x6c\141\150\x75\x5f\145\x72\x72\x6f\x72\x3a")); goto sZHt2; r1_FB: $zZr18 = true; goto Yxxql; gJvoW: Dz50H: goto fL_Fz; sZHt2: A5yV6: goto zSKWg; zopbK: $fttZI = substr($w5a5b, strlen("\x73\172\x6c\141\150\x75\137\145\x72\162\157\x72\x5f\x63\x6f\x64\x65\72")); goto RMoMm; z0k_C: if (!(substr($w5a5b, 0, strlen("\x73\172\x6c\141\x68\x75\137\145\x72\162\x6f\x72\72")) === "\163\x7a\154\141\150\x75\137\145\x72\x72\157\x72\x3a")) { goto A5yV6; } goto r1_FB; U8UMn: if (!(substr($w5a5b, 0, strlen("\x73\172\x6c\141\150\x75")) === "\x73\172\154\x61\150\165")) { goto tnNh1; } goto f1Kzj; f1Kzj: echo urldecode($w5a5b) . "\x3c\x62\162\x3e"; goto z0k_C; zSKWg: if (!(substr($w5a5b, 0, strlen("\163\x7a\x6c\141\x68\x75\137\x65\162\x72\x6f\162\x5f\x63\157\144\145\72")) === "\x73\172\154\141\150\165\137\145\x72\x72\157\162\137\x63\x6f\144\x65\72")) { goto zyK8V; } goto J_OS3; RMoMm: zyK8V: goto cRuv2; cRuv2: if (!(substr($w5a5b, 0, strlen("\163\172\x6c\141\150\x75\x5f\163\172\x61\x6d\154\x61\163\x7a\141\x6d\72")) === "\163\x7a\x6c\x61\150\x75\137\163\x7a\141\x6d\x6c\141\163\x7a\141\155\x3a")) { goto hcKoX; } goto Hjue1; fL_Fz: } goto CsXwM; eCrVN: curl_setopt($Xib8S, CURLOPT_SSL_VERIFYPEER, false); goto UfJps; iXnE2: echo "\x41\x67\x65\156\x74\x20\150\151\x62\x61\x6b\xc3\xb3\144\72\40" . $fttZI . "\x3c\x62\x72\x3e"; goto b2CeA; EYSLH: curl_setopt($Xib8S, CURLOPT_TIMEOUT, 30); goto mE8hZ; XBJa9: goto RTNaS; goto xyXuO; wHFVP: b3cDo: goto LGcRC; ZwOBG: curl_setopt($Xib8S, CURLOPT_SAFE_UPLOAD, true); goto EYSLH; xi24g: $mODDc = ''; goto TpcYc; GrVG4: curl_setopt($Xib8S, CURLOPT_POSTFIELDS, array("\141\x63\164\151\x6f\x6e\55\170\x6d\154\141\147\x65\156\164\170\155\x6c\146\151\154\145" => new CurlFile($tFhPA))); goto ZJEeN; smBj2: if (file_exists(DIR_STORAGE . "\x73\x7a\x61\x6d\154\x61\172\x7a\x68\165\x2f")) { goto B3mcI; } goto UKizu; ZvxnV: $Xib8S = curl_init($k2LXi); goto eCrVN; YTvsG: WifSh: goto ZwOBG; TpcYc: $dRRpQ = ''; goto zKQCg; p9Bti: RTNaS: goto w5x5a; rjOS2: $r62ox = curl_getinfo($Xib8S, CURLINFO_HTTP_CODE); goto D7YIu; TW2Yc: if (!($YcKiG != '')) { goto hTkrE; } goto WorH8; UKizu: mkdir(DIR_STORAGE . "\163\x7a\x61\155\x6c\x61\x7a\x7a\150\165\x2f", 0777, true); goto YJMsT; tkEDT: $pjYWM = ''; goto ZWJ1z; MzUL5: if ($zZr18) { goto E5E1j; } goto YxItx; UfJps: curl_setopt($Xib8S, CURLOPT_POST, true); goto iy9fA; Qadhx: $dRRpQ = substr($tJJ1w, $yeTaJ); goto b5gIz; b5gIz: curl_close($Xib8S); goto nnNRi; ttCOH: throw new Exception("\x48\151\142\x61\40\x74\xc3\266\162\164\xc3\xa9\156\x74\x3a" . $YcKiG); goto JEWra; YQEPF: $O3y8h = DIR_STORAGE . "\x73\172\x61\x6d\154\x61\x7a\x7a\150\165\x2f" . $m9r1S; goto zR51p; D7YIu: $yeTaJ = curl_getinfo($Xib8S, CURLINFO_HEADER_SIZE); goto lurFq; zR51p: $tFhPA = tempnam(DIR_STORAGE . "\x73\172\x61\155\x6c\x61\x7a\x7a\x68\x75\x2f\x74\x6d\160\x2f", $m9r1S); goto xqC2h; yTmY3: $YcKiG = curl_error($Xib8S); goto xi24g; KudAi: if (!class_exists("\x43\x75\162\154\x46\x69\154\145")) { goto b3cDo; } goto GrVG4; DYQw7: mkdir(DIR_STORAGE . "\163\x7a\141\155\x6c\141\x7a\x7a\150\165\57\x74\x6d\x70\57", 0777, true); goto Yt4Z7; Yt4Z7: tt1xT: goto t3U04; dsQmD: if (file_exists(DIR_STORAGE . "\x73\x7a\x61\155\154\141\172\x7a\150\x75\57\164\x6d\x70")) { goto tt1xT; } goto DYQw7; IKxlx: curl_setopt($Xib8S, CURLOPT_RETURNTRANSFER, true); goto KudAi; JEWra: hTkrE: goto MzUL5; zKQCg: $r62ox = ''; goto rjOS2; b2CeA: echo "\101\147\x65\x6e\164\x20\150\151\x62\141\303\xbc\172\x65\156\145\164\72\x20" . urldecode($pjYWM) . "\x3c\142\162\x3e"; goto p9Bti; YJMsT: B3mcI: goto dsQmD; ycNux: $zZr18 = false; goto tkEDT; ZWJ1z: $fttZI = ''; goto au325; YxItx: $qUXVU = $O3y8h . "\x5f" . trim(str_replace("\55", "\137", $RTysF)) . "\x2e\x70\x64\x66"; goto WOfRx; WOfRx: file_put_contents($qUXVU, $dRRpQ); goto Ua9Vh; WorH8: echo "\x48\x74\x74\160\x20\x68\151\x62\x61\40\x74\303\xb6\162\x74\xc3\251\156\164\72" . $YcKiG; goto ttCOH; Ua9Vh: echo "\x53\x69\x6b\145\162\x65\x73\40\163\x7a\xc3\241\155\x6c\141\40\x6b\303\274\154\x64\303\xa9\x73"; goto CwMWS; xqC2h: file_put_contents($tFhPA, $Om6gt); goto ZvxnV; iy9fA: curl_setopt($Xib8S, CURLOPT_HEADER, true); goto IKxlx; LGcRC: curl_setopt($Xib8S, CURLOPT_POSTFIELDS, array("\141\143\164\x69\x6f\156\x2d\170\x6d\154\x61\147\x65\x6e\x74\x78\155\x6c\146\x69\x6c\145" => "\x40" . $tFhPA)); goto YTvsG; ZJEeN: goto WifSh; goto wHFVP; CsXwM: izrqF: goto TW2Yc; nnNRi: unlink($tFhPA); goto VQg3O; VQg3O: $TUNa8 = explode("\12", $mODDc); goto ycNux; mE8hZ: $tJJ1w = curl_exec($Xib8S); goto yTmY3; t3U04: $k2LXi = "\150\164\164\160\x73\72\x2f\x2f\167\x77\x77\56\163\x7a\x61\x6d\x6c\141\172\172\56\150\x75\x2f\163\x7a\x61\155\154\x61\57"; goto YQEPF; lurFq: $mODDc = substr($tJJ1w, 0, $yeTaJ); goto Qadhx; xyXuO: E5E1j: goto iXnE2; w5x5a: } public function test_licence() { goto MlN0R; UM6On: goto IQqE3; goto rOrPy; rOrPy: M5_rI: goto pVlsT; WyzxL: $Y65t9 = base64_decode($Y65t9); goto TXDMQ; pVlsT: $this->request->post["\155\157\144\165\154\x65\137\x73\172\141\x6d\x6c\x61\172\x7a\150\165\137\163\x74\141\164\165\x73"] = 0; goto hobBu; MzOTH: $Y65t9 = base64_decode($Y65t9); goto pE1j0; vnNvz: $Y65t9 = strrev($x0Pma); goto MzOTH; pxe8p: $hKG1p = base64_decode($hKG1p); goto WyzxL; ASsNa: $this->request->post["\155\157\x64\x75\x6c\145\x5f\163\x7a\141\155\x6c\141\172\172\150\165\x5f\163\x74\x61\164\x75\163"] = 1; goto UM6On; MlN0R: $x0Pma = $this->request->post["\155\157\144\x75\154\145\137\163\x7a\141\x6d\154\x61\x7a\x7a\x68\x75\x5f\154\151\x63\x65\156\143\x65"]; goto eMQYE; SuC3n: $Y65t9 = base64_decode($Y65t9); goto pxe8p; TXDMQ: if ($HtEvy != $Y65t9) { goto M5_rI; } goto ASsNa; hobBu: IQqE3: goto Gl6rm; pE1j0: $hKG1p = base64_decode($Y65t9); goto SuC3n; eMQYE: $HtEvy = str_replace(array("\x68\164\164\x70\x3a\x2f\57", "\x68\x74\x74\x70\163\72\57\57"), array('', ''), HTTP_SERVER); goto vnNvz; Gl6rm: } public function tx_rx($B1Y_3, $ubpqm, $y_7g3, $fYoPN) { goto AShCL; nwGSQ: TebOa: goto Ym7_r; AShCL: $w2TnQ = "\x68\164\x74\160\163\x3a\x2f\57\167\x77\x77\56\162\145\156\157\166\141\164\x69\x6f\155\141\x72\153\145\x74\151\x6e\x67\56\x68\165\57\x6c\151\x63\145\x6e\143\x65\x2f\x6c\151\x63\x65\156\143\145\56\x70\150\160"; goto KPgC2; Ym7_r: rtrim($SjyOR, "\46"); goto cRQw0; aVSRK: curl_close($Xib8S); goto CYnlP; KPgC2: $rqPLx = array("\144\157\155\x61\x69\x6e" => urlencode($B1Y_3), "\145\155\x61\x69\154" => urlencode($ubpqm), "\163\164\x6f\x72\x65\137\156\x61\155\145" => urlencode($y_7g3), "\x6d\157\x64\x75\x6c\x65" => urlencode("\123\172\141\155\x6c\x61\172\172\x48\125\40\63\170"), "\163\164\x61\164\165\x73" => urlencode($fYoPN)); goto mjBcS; YokoE: curl_exec($Xib8S); goto aVSRK; yDjSX: curl_setopt($Xib8S, CURLOPT_HEADER, true); goto PRtUm; cRQw0: $Xib8S = curl_init($w2TnQ); goto ALQVm; mjBcS: $SjyOR = ''; goto oXY35; Z24l0: curl_setopt($Xib8S, CURLOPT_POST, true); goto yDjSX; oXY35: foreach ($rqPLx as $x0Pma => $cgglX) { $SjyOR .= $x0Pma . "\75" . $cgglX . "\46"; tPfp8: } goto nwGSQ; mynDG: curl_setopt($Xib8S, CURLOPT_TIMEOUT, 30); goto YokoE; j3L6U: curl_setopt($Xib8S, CURLOPT_POSTFIELDS, $SjyOR); goto Q9QAr; ALQVm: curl_setopt($Xib8S, CURLOPT_SSL_VERIFYPEER, false); goto Z24l0; PRtUm: curl_setopt($Xib8S, CURLOPT_RETURNTRANSFER, true); goto j3L6U; Q9QAr: curl_setopt($Xib8S, CURLOPT_SAFE_UPLOAD, true); goto mynDG; CYnlP: } }

Function Calls

None

Variables

None

Stats

MD5 db7f7be9e4e74796ab5df009c2b35e3f
Eval Count 0
Decode Time 108 ms