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 /** * @package Shipment plugin for HikaShop * @version 1.2 * @author szathmar..

Decoded Output download

<?php 
/** 
 * @package	Shipment plugin for HikaShop 
 * @version	1.2 
 * @author	szathmari.hu 
 * @copyright	(C) 2023 SZATHMRI.HU. All rights reserved. 
 * @license	Commercial 
 */ 
 defined("_JEXEC") or die("Restricted access"); use Joomla\CMS\Factory; class plgHikashopshippingPont extends hikashopShippingPlugin { var $multiple = true; var $multiple_entries = true; var $name = "pont"; var $doc_form = "pont"; var $use_cache = false; var $pluginConfig = array("services" => array("Szolg\303\xa1ltat\xc3\263", "checkbox", array("pick" => "Pick Pack Pont", "posta" => "Posta Pont", "gls" => "GLS CsomagPont", "fox" => "FoxPost")), "costs" => array("Sz\303\xa1ll\303\xadt\303\xa1si k\xc3\266lts\303\251g (\303\xa9rt\303\251kig|nett\xc3\xb3 k\xc3\266lts\303\xa9g)", "textarea")); var $carriers = array(array("key" => 1, "code" => "pick", "name" => "Pick Pack Pont"), array("key" => 2, "code" => "posta", "name" => "Posta Pont"), array("key" => 3, "code" => "gls", "name" => "GLS CsomagPont"), array("key" => 5, "code" => "fox", "name" => "FoxPost")); function shippingMethods(&$main) { goto xVAXo; PZCJ4: return $methods; goto U30kw; gFPN8: $methods[$main->shipping_id] = ''; goto PZCJ4; xVAXo: $methods = array(); goto gFPN8; U30kw: } function getShippingDefaultValues(&$element) { goto U_u9m; HUitc: $element->shipping_images = "posta"; goto hpUAY; tnQdq: $element->shipping_description = ''; goto HUitc; U_u9m: $element->shipping_name = "Pont sz\303\xa1ll\xc3\xadt\xc3\xa1s"; goto tnQdq; hpUAY: } function onShippingConfiguration(&$element) { goto bzUZX; xuinW: parent::onShippingConfiguration($element); goto HhkX6; Wcu01: $currency = $currencyClass->get($this->main_currency); goto akOdv; luzUR: $this->categoryType = hikashop_get("type.categorysub"); goto OcYdh; gTDYD: $this->categoryType->field = "category_id"; goto xuinW; VdIIO: $this->main_currency = $config->get("main_currency", 1); goto Mn7Jj; X5P_M: $this->currencySymbol = $currency->currency_symbol; goto luzUR; OcYdh: $this->categoryType->type = "tax"; goto gTDYD; Pmafx: $this->pont = $_REQUEST["name"]; goto VdIIO; Mn7Jj: $currencyClass = hikashop_get("class.currency"); goto Wcu01; HhkX6: $elements = array($element); goto A96dn; bzUZX: $config =& hikashop_config(); goto Pmafx; akOdv: $this->currencyCode = $currency->currency_code; goto X5P_M; A96dn: } function onShippingConfigurationSave(&$element) { goto NWcNh; gL8YF: $app->enqueueMessage(JText::sprintf("CHOOSE_SHIPPING_SERVICE")); goto J1wgD; DdeSO: KP6uF: goto f0rAt; NWcNh: $app = JFactory::getApplication(); goto pfH57; pfH57: if (empty($element->shipping_params->costs)) { goto KP6uF; } goto hk4m8; J1wgD: return false; goto V5OKJ; hk4m8: $element->shipping_params->costs = preg_replace("#[^0-9\|\r\n]#", '', $element->shipping_params->costs); goto DdeSO; rXE3D: return true; goto maO26; f0rAt: if (isset($element->shipping_params->services)) { goto UIbsZ; } goto gL8YF; BeCYi: parent::onShippingConfigurationSave($element); goto rXE3D; V5OKJ: UIbsZ: goto BeCYi; maO26: } function onShippingDisplay(&$order, &$dbrates, &$usable_rates, &$messages) { goto oMbi6; xnQfw: fq9JI: goto guPH8; WDjEf: if (!($ret === false)) { goto kCrnG; } goto Br19a; X2Aht: JHtml::_("stylesheet", "//cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css"); goto phBYV; BlLj2: OTMn4: goto SeFXM; AUlq2: $cache_messages = array(); goto UeJxT; SeFXM: JHtml::_("jquery.framework", 1, 1); goto A66w1; yCuVW: JError::raiseWarning(100, "Pont hiba: Nincs megadva szolg\xc3\241ltat\303\263!"); goto Lc0SU; D6IIx: $ret = parent::onShippingDisplay($order, $dbrates, $local_usable_rates, $local_messages); goto WDjEf; PB_0j: CLCpN: goto Md2SQ; gKqxo: kCrnG: goto elIwG; UeJxT: $found = false; goto vaw0w; Qn62P: $db->setQuery($query); goto lwnO2; Md2SQ: foreach ($carriers as $carrier) { goto kN4lD; Ne_LL: Be8Y5: goto Kjx6y; dAa7L: if (is_array($p)) { goto Be8Y5; } goto s2T97; YOG4_: $r = array(); goto EOkAD; hkH7I: eLdQj: goto BFkYF; kN4lD: $jsonfile = JPATH_CACHE . DS . $carrier . "pont.json"; goto sqUOd; CxaQs: IeIJG: goto mJI84; BFkYF: khUo5: goto tfVCZ; Kjx6y: $p = array_merge($p, json_decode(file_get_contents($jsonfile), true)); goto hkH7I; Nl4Vx: sYneS: goto xechq; xechq: fNHVa: goto dAa7L; EOkAD: switch ($carrier) { case "pick": goto dY4ru; dY4ru: $url = "http://online.sprinter.hu/terkep/data.json"; goto xRjYo; b57PV: EFOhn: goto Bgs1K; Bgs1K: goto IeIJG; goto lfqyn; xRjYo: $in = json_decode(str_replace(array("'", "\u000d\u000a"), array('', " "), substr(file_get_contents($url), 3))); goto TicrT; TicrT: foreach ($in as $data) { $r[] = array("c" => $carrier, "id" => $data->shopCode, "group" => $data->shopType, "lat" => $data->lat, "lon" => $data->lng, "name" => $data->shopName, "zip" => $data->zipCode, "county" => $data->county, "city" => $data->city, "address" => $data->address, "desc" => $data->description, "phone" => ''); Nw9gK: } goto b57PV; lfqyn: case "gls": goto uGgFb; fDlt0: $rep = array('', "`", "\1."); goto VUrWa; VUrWa: $in = json_decode(preg_replace($sea, $rep, $in)); goto mlZPb; LGxc8: $sea = array("|\\"|", "/'/", "/Budapest,? ([I|V|X|0-9]*)[^"]*/i"); goto fDlt0; mlZPb: foreach ($in as $data) { $r[] = array("c" => $carrier, "id" => $data->pclshopid, "lat" => $data->geolat, "lon" => $data->geolng, "name" => $data->name, "zip" => $data->zipcode, "city" => $data->city, "address" => $data->city . ", " . $data->address, "phone" => $data->phone); A0AAG: } goto SdKhA; iWnT6: goto IeIJG; goto AwHuL; bgi9p: $in = file_get_contents($url); goto LGxc8; SdKhA: MNg_p: goto iWnT6; uGgFb: $url = "https://online.gls-hungary.com/psmap/psmap_getdata.php?ctrcode=HU&action=getList&dropoff=1&"; goto bgi9p; AwHuL: case "fox": goto cShiO; cShiO: $url = "http://cdn.foxpost.hu/apms.json"; goto TDLtp; TDLtp: $in = file_get_contents($url); goto UCsSy; uL4CT: oIlcs: goto MLnuh; Na9Vw: $rep = array('', "`", ''); goto Oh4I4; Oh4I4: $in = json_decode(preg_replace($sea, $rep, $in)); goto om3eO; MLnuh: foreach ($r as $key => $value) { asort($r[$key]); JgC83: } goto jvsk5; om3eO: foreach ($in as $data) { $r[] = array("c" => $carrier, "id" => $data->place_id, "group" => $data->shopType, "lat" => $data->geolat, "lon" => $data->geolng, "name" => $data->name, "zip" => substr($data->address, 0, 4), "city" => $data->group, "address" => $data->address, "desc" => $data->findme, "phone" => ''); Jp0Gz: } goto uL4CT; jvsk5: tr56a: goto g3NBP; UCsSy: $sea = array("|\\"|", "/'/", "/\\n/"); goto Na9Vw; g3NBP: goto IeIJG; goto WOzCR; WOzCR: case "posta": goto BPPPb; QDU0P: $rep = array('', ''); goto q8FBV; BPPPb: $url = "https://posta.hu/szolgaltatasok/posta-srv-postoffice/rest/postoffice/listPPMarkers?callback&group&skipgroups"; goto qUpHG; h0LeH: $in = file_get_contents($url); goto AjWoZ; RTTex: $rep = array("Posta", "MOL", "Csomagautomata", "Coop \303\274zlet"); goto h0LeH; EqsEC: foreach ($in as $data) { $r[] = array("c" => $carrier, "id" => $data->id, "group" => $data->group, "lat" => $data->lat, "lon" => $data->lon, "name" => $data->name, "zip" => $data->zip, "county" => $data->county, "city" => $data->county, "address" => $data->zip . " " . $data->county . ", " . $data->address . " (" . $data->name . ")", "desc" => '', "phone" => $data->phone); Je_Vy: } goto V4RH8; q8FBV: $in = $this->jsonp_decode(str_replace($sea, $rep, $in)); goto EqsEC; WbZC5: goto IeIJG; goto ly5J3; AjWoZ: $sea = array("\r", "\n"); goto QDU0P; V4RH8: O3_z9: goto WbZC5; qUpHG: $sea = array("10_posta", "20_molkut", "30_csomagautomata", "50_coop"); goto RTTex; ly5J3: case "webox": goto V5pt4; bj3BQ: foreach ($in->_embedded->machines as $data) { $r[] = array("c" => $carrier, "id" => $data->id, "group" => '', "lat" => $data->location[0], "lon" => $data->location[1], "name" => $data->id . " " . $data->address->city . ", " . $data->address->street, "zip" => $data->address->post_code, "county" => $data->address->province, "city" => $data->address->city, "address" => $data->address->post_code . " " . $data->address->city . ", " . $data->address->street . " " . $data->address->building_no . " (" . $data->id . ")", "desc" => $data->address->location_description); qklJG: } goto d7bbb; V5pt4: $url = "https://api-hu.easypack24.net/v4/machines"; goto sOvz5; d7bbb: XKPBG: goto bOfID; bOfID: goto IeIJG; goto ICjEL; sOvz5: $in = file_get_contents($url); goto M2_fW; M2_fW: $in = json_decode($in); goto bj3BQ; ICjEL: } goto UlBqy; UlBqy: V7BpY: goto CxaQs; mJI84: if (!is_writable(".")) { goto sYneS; } goto i3hak; sqUOd: if (!(!file_exists($jsonfile) || (time() - filemtime($jsonfile)) / 3600 / 24 > 1)) { goto fNHVa; } goto YOG4_; s2T97: $p = json_decode(file_get_contents($jsonfile), true); goto pd3gT; pd3gT: goto eLdQj; goto Ne_LL; i3hak: file_put_contents($jsonfile, json_encode($r, JSON_UNESCAPED_UNICODE), LOCK_EX); goto Nl4Vx; tfVCZ: } goto BlLj2; cD1j7: $local_messages = array(); goto D6IIx; elIwG: $cache_rates = array(); goto AUlq2; SgM05: JHtml::_("script", "//cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/i18n/hu.js"); goto X2Aht; vaw0w: if (!empty($currentCurrencyId)) { goto fq9JI; } goto V2ZNw; qn09f: return true; goto uScod; Lc0SU: return; goto PB_0j; nKqPW: if (!($carriers == '')) { goto CLCpN; } goto yCuVW; V2ZNw: $query = "SELECT currency_id FROM " . hikashop_table("currency") . " WHERE currency_code='HUF'"; goto nAlbP; oMbi6: $local_usable_rates = array(); goto cD1j7; Br19a: return false; goto gKqxo; cEjfa: $mainframe = JFactory::getApplication(); goto rI4Du; zd3xL: WbvuL: goto nKqPW; rI4Du: $document =& JFactory::getDocument(); goto FVwec; A66w1: JHtml::_("script", "//cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"); goto SgM05; phBYV: $s = "
/*
\xa * Pont\xd
 * Copyright (c) 2016 szathmari.hu\xd
 * version: 2016-06-10
 *\xd
 */
\xa var hP = '" . json_encode($p, JSON_UNESCAPED_UNICODE) . "';
 (function($) {\xd\xa	\x9var selected_pont, radio, selectedPont;
\x9function initPont () {\xd\xa\x9	data = $.parseJSON(hP);\xd\xa        data.sort(function(a, b) {
\xa            return (a.zip - b.zip);
        });\xd

\xa\x9\x9$.each(data, function(i, el) {\xd\xa           $("#ShipmentPoint").append($("<option></option>").val(el.address + " (" + el.id+")").html(el.address + " ("+el.id+")"));\xd
        });
\xa\xd
    	$(".pont").slideDown();
\xa\x9\x9if (typeof selected_pont === "undefined") {\xd

            selected_pont = $("<input>").attr({\xd
                type: "hidden",\xd\xa                name: "ShipmentPoint",\xd
                value: ""
\xa            });
            selected_pont.appendTo("form[name='hikashop_checkout_form']");
        }
\xd
\x9	if (selectedPont != ""){
		\x9selected_pont.val(selectedPont);\xd\xa		\x9$("#ShipmentPoint").val(selectedPont);
\x9\x9}
\xa\xd\xa\x9	radio = $("#"+$("label:contains('Pont')").prop("htmlFor"));
\xa\x9\x9console.log(radio.prop("checked"))\xd
\xd\xa\x9	$("#ShipmentPoint").select2({\xd
		\x9placeholder: "" . JText::_("HIKASHIPMENT_PONT_JS_POINT_PLACEHOLDER") . "",
	\x9\x9allowClear: true\xd
\x9\x9}).change(function() {
		\x9selected_pont.val($(this).val());\xd
		\x9console.log($(this).val());
\x9\x9	radio.prop("checked", 1).trigger("click");\xd\xa            });
\xa\x9}\xd
\x9$(document).ajaxSuccess(function(event, request, settings) {
	\x9initPont();
\xa	});\xd
\xd
	(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");
\xa    ga("create", "UA-1832849-8", "auto","trk");
\x9ga("trk.send", "pageview");\xd
	ga("trk.send", "event", "Hika Pont V1.2", $(location).attr("hostname"), $(location).attr("pathname"));\xd

	$(document).ready(function() {
\xa		initPont();
\xa\x9	$("body").bind("ajaxComplete", function(event, request, settings) {
	\x9	initPont();
\x9	});
\x9});\xd
})(jQuery);\xd
"; goto cEjfa; lwnO2: $currentCurrencyId = $db->loadResult(); goto xnQfw; FVwec: $document->addScriptDeclaration($s); goto qn09f; e5P3_: foreach ($local_usable_rates as $rate) { goto h908M; o_8Rg: foreach ($costsp as $cost) { goto T1qxQ; fEKi5: PdKAV: goto itmfn; ObvBI: NVlad: goto AaTHE; AaTHE: if (!($orderPrice <= $tcost[0])) { goto PdKAV; } goto rT_P8; itmfn: pn270: goto X4AKX; s3FTL: goto pn270; goto ObvBI; JF0sv: if (!(sizeof($tcost) !== 2)) { goto NVlad; } goto s3FTL; rT_P8: $costs[] = $tcost[1]; goto fEKi5; T1qxQ: $tcost = array_map("trim", explode("|", $cost)); goto JF0sv; X4AKX: } goto h6aUY; h6aUY: l2NrY: goto FfU5L; mCVvI: $cart = hikashop_get("class.cart"); goto F7Lm9; cB3eu: tnk0r: goto zNFNj; MbXdG: $rate->shipping_price = max($costs); goto S1nbI; yn23X: $rate->shipping_currency_id_orig = 1; goto MbXdG; h908M: if (!($rate->shipping_type != "pont")) { goto GhZCj; } goto m7yer; wCHC6: GhZCj: goto guwNE; lk6vE: ybxdW: goto GTS_y; GTS_y: $r = !HIKASHOP_PHP5 ? $rate : clone $rate; goto QcJuZ; LXRdK: vApUJ: goto g5WAz; FfU5L: if (!empty($costs)) { goto vApUJ; } goto La1au; GhHz9: $address = $app->getUserState(HIKASHOP_COMPONENT . ".shipping_address"); goto BfVY3; g5WAz: $rate->shipping_description = "<select data-placeholder="" . JText::_("V\xc3\xa1lassz egy \xc3\xa1tvev\xc5\x91pontot") . "" name="ShipmentPoint" id="ShipmentPoint" style="width:100%" class="ShipmentPoint" >" . "<option value=""></option></select>"; goto yn23X; S1nbI: if (!empty($order->shipping_address_full)) { goto ybxdW; } goto mCVvI; e10Wg: $orderPrice = $order->total->prices[0]->price_value_with_tax; goto o_8Rg; bK1hi: $costsp = explode(PHP_EOL, preg_replace("#[^0-9\|\r\n]#", '', $rate->shipping_params->costs)); goto e10Wg; BfVY3: $cart->loadAddress($order->shipping_address_full, $address, "object", "shipping"); goto lk6vE; m7yer: goto tnk0r; goto wCHC6; QcJuZ: $usable_rates[$r->shipping_id] = $r; goto cB3eu; La1au: $costs[] = 0; goto LXRdK; guwNE: $carriers = $rate->shipping_params->services; goto bK1hi; F7Lm9: $app = JFactory::getApplication(); goto GhHz9; zNFNj: } goto zd3xL; nAlbP: $db = JFactory::getDBO(); goto Qn62P; guPH8: $currencyClass = hikashop_get("class.currency"); goto e5P3_; uScod: } function onAfterOrderConfirm(&$order, &$methods, $method_id) { return true; } function onShippingSave_hibas(&$order, &$methods, &$shipping_id) { } function onAfterProcessShippings(&$usable_methods) { goto bD1Nn; lWORN: goto aJxtW; goto pl1tF; Laf9u: return; goto lWORN; uY5gq: $session->set("ShipmentPoint", $selectedPont); goto JryHH; bD1Nn: $input = Factory::getApplication()->input; goto dXLss; dXLss: $selectedPont = $input->get("ShipmentPoint", '', "string"); goto RSmKn; pl1tF: OCuzS: goto mm4IH; mm4IH: $session = JFactory::getSession(); goto uY5gq; JryHH: aJxtW: goto XyxpF; RSmKn: if ($selectedPont) { goto OCuzS; } goto Laf9u; XyxpF: } function onBeforeOrderCreate(&$order, &$send_email) { goto CpP3G; Ma4Kt: $session->clear("ShipmentPoint"); goto XQ_pC; vXvyn: $pont_params = array("Carrier" => "Posta", "Pont" => $session->get("ShipmentPoint"), "ID" => "aaaa"); goto Ma4Kt; CpP3G: $session = JFactory::getSession(); goto vXvyn; XQ_pC: $order->order_shipping_params->pont = $pont_params; goto nAu7H; nAu7H: } function onAfterCheckoutStep($controller, &$go_back, $original_go_back) { } function onHikashopBeforeDisplayView(&$view) { goto YHLOV; YHLOV: $viewName = $view->getName(); goto EHOHH; EHOHH: $layoutName = $view->getLayout(); goto Vbu1I; OomYL: Rlajd: goto jnH6I; jnH6I: $view->extra_data["additional"]["shipping_pont"] = array("title" => "Pont", "data" => $view->order->order_shipping_params->pont["Pont"]); goto EUJVN; Vbu1I: if (!($viewName != "order" || $layoutName != "show" && $layoutName != "show_additional")) { goto Rlajd; } goto jtuxh; jtuxh: return true; goto OomYL; EUJVN: } function onAfterOrderProductsListingDisplay(&$order, $key) { goto jIoWm; el7eB: BDlWm: goto t54Na; r7k9b: DzMm7: goto Z8peT; bgLvK: return; goto el7eB; jIoWm: if (isset($order->order_shipping_params->pont)) { goto BDlWm; } goto bgLvK; t54Na: if (!($key != "email_notification_html" && $key != "order_front_show")) { goto DzMm7; } goto IVRH0; IVRH0: return; goto r7k9b; Z8peT: echo JText::_("\303\201tvev\305\x91pont") . ": " . $order->order_shipping_params->pont["Pont"]; goto V0ET3; V0ET3: } public function jsonp_decode($jsonp, $assoc = false) { goto Qk0YY; MYlcO: return json_decode(trim($jsonp, "();"), $assoc); goto wIvE2; UCOAI: L3cms: goto MYlcO; IcDFq: $jsonp = substr($jsonp, strpos($jsonp, "(")); goto UCOAI; Qk0YY: if (!($jsonp[0] !== "[" && $jsonp[0] !== "{")) { goto L3cms; } goto IcDFq; wIvE2: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * @package	Shipment plugin for HikaShop
 * @version	1.2
 * @author	szathmari.hu
 * @copyright	(C) 2023 SZATHMRI.HU. All rights reserved.
 * @license	Commercial
 */
 defined("\137\x4a\105\130\105\x43") or die("\122\145\x73\164\x72\151\x63\164\x65\144\40\141\x63\143\x65\x73\163"); use Joomla\CMS\Factory; class plgHikashopshippingPont extends hikashopShippingPlugin { var $multiple = true; var $multiple_entries = true; var $name = "\160\x6f\156\164"; var $doc_form = "\x70\x6f\x6e\164"; var $use_cache = false; var $pluginConfig = array("\x73\145\162\x76\151\143\x65\163" => array("\123\172\157\154\x67\303\xa1\154\x74\x61\164\xc3\263", "\x63\x68\145\x63\153\x62\157\170", array("\x70\x69\x63\153" => "\120\151\143\x6b\x20\x50\141\x63\153\40\120\157\x6e\164", "\160\x6f\x73\x74\141" => "\120\x6f\163\164\x61\x20\120\157\156\164", "\147\x6c\163" => "\107\114\123\x20\103\x73\x6f\155\x61\x67\120\157\156\x74", "\x66\x6f\170" => "\x46\x6f\170\120\157\163\x74")), "\143\157\x73\x74\163" => array("\x53\x7a\303\xa1\x6c\154\303\xad\x74\303\xa1\163\151\40\153\xc3\266\154\164\163\303\251\147\x20\50\303\xa9\x72\164\303\251\x6b\x69\147\x7c\156\145\164\x74\xc3\xb3\40\x6b\xc3\266\154\164\x73\303\xa9\x67\51", "\x74\145\170\164\x61\x72\x65\x61")); var $carriers = array(array("\153\x65\x79" => 1, "\x63\x6f\144\145" => "\160\151\x63\x6b", "\x6e\141\x6d\145" => "\x50\x69\143\153\40\120\141\143\153\40\120\x6f\x6e\164"), array("\153\x65\171" => 2, "\x63\157\144\145" => "\160\x6f\163\164\x61", "\x6e\141\x6d\x65" => "\x50\x6f\163\x74\x61\x20\120\157\x6e\164"), array("\153\145\171" => 3, "\143\x6f\x64\x65" => "\147\x6c\163", "\156\141\x6d\145" => "\x47\114\123\x20\x43\163\x6f\155\x61\x67\x50\157\x6e\164"), array("\153\x65\x79" => 5, "\143\x6f\x64\145" => "\x66\157\x78", "\x6e\x61\x6d\x65" => "\106\157\170\120\157\163\x74")); function shippingMethods(&$main) { goto xVAXo; PZCJ4: return $methods; goto U30kw; gFPN8: $methods[$main->shipping_id] = ''; goto PZCJ4; xVAXo: $methods = array(); goto gFPN8; U30kw: } function getShippingDefaultValues(&$element) { goto U_u9m; HUitc: $element->shipping_images = "\x70\x6f\163\x74\x61"; goto hpUAY; tnQdq: $element->shipping_description = ''; goto HUitc; U_u9m: $element->shipping_name = "\x50\x6f\x6e\x74\x20\163\x7a\303\xa1\x6c\154\xc3\xad\x74\xc3\xa1\x73"; goto tnQdq; hpUAY: } function onShippingConfiguration(&$element) { goto bzUZX; xuinW: parent::onShippingConfiguration($element); goto HhkX6; Wcu01: $currency = $currencyClass->get($this->main_currency); goto akOdv; luzUR: $this->categoryType = hikashop_get("\x74\x79\160\145\x2e\x63\x61\164\x65\x67\x6f\162\171\x73\x75\142"); goto OcYdh; gTDYD: $this->categoryType->field = "\x63\141\x74\145\147\157\x72\171\x5f\151\144"; goto xuinW; VdIIO: $this->main_currency = $config->get("\x6d\x61\x69\x6e\137\x63\165\162\162\145\156\143\x79", 1); goto Mn7Jj; X5P_M: $this->currencySymbol = $currency->currency_symbol; goto luzUR; OcYdh: $this->categoryType->type = "\164\x61\x78"; goto gTDYD; Pmafx: $this->pont = $_REQUEST["\x6e\141\155\145"]; goto VdIIO; Mn7Jj: $currencyClass = hikashop_get("\143\x6c\x61\x73\163\56\x63\x75\x72\x72\145\156\143\171"); goto Wcu01; HhkX6: $elements = array($element); goto A96dn; bzUZX: $config =& hikashop_config(); goto Pmafx; akOdv: $this->currencyCode = $currency->currency_code; goto X5P_M; A96dn: } function onShippingConfigurationSave(&$element) { goto NWcNh; gL8YF: $app->enqueueMessage(JText::sprintf("\103\110\x4f\117\x53\105\137\123\110\x49\x50\120\111\116\x47\137\123\105\122\x56\x49\103\x45")); goto J1wgD; DdeSO: KP6uF: goto f0rAt; NWcNh: $app = JFactory::getApplication(); goto pfH57; pfH57: if (empty($element->shipping_params->costs)) { goto KP6uF; } goto hk4m8; J1wgD: return false; goto V5OKJ; hk4m8: $element->shipping_params->costs = preg_replace("\x23\x5b\x5e\x30\55\x39\x5c\174\134\x72\x5c\156\x5d\x23", '', $element->shipping_params->costs); goto DdeSO; rXE3D: return true; goto maO26; f0rAt: if (isset($element->shipping_params->services)) { goto UIbsZ; } goto gL8YF; BeCYi: parent::onShippingConfigurationSave($element); goto rXE3D; V5OKJ: UIbsZ: goto BeCYi; maO26: } function onShippingDisplay(&$order, &$dbrates, &$usable_rates, &$messages) { goto oMbi6; xnQfw: fq9JI: goto guPH8; WDjEf: if (!($ret === false)) { goto kCrnG; } goto Br19a; X2Aht: JHtml::_("\x73\x74\171\x6c\x65\163\x68\x65\145\x74", "\57\x2f\143\144\156\x6a\163\56\143\154\x6f\x75\144\x66\154\141\x72\x65\x2e\143\x6f\x6d\57\x61\x6a\141\x78\57\154\x69\x62\x73\x2f\163\x65\x6c\145\x63\164\62\57\64\56\x30\x2e\61\x33\57\143\x73\x73\x2f\x73\145\x6c\x65\x63\x74\x32\x2e\x6d\x69\x6e\x2e\143\x73\163"); goto phBYV; BlLj2: OTMn4: goto SeFXM; AUlq2: $cache_messages = array(); goto UeJxT; SeFXM: JHtml::_("\152\x71\165\145\x72\171\x2e\x66\x72\x61\155\x65\167\x6f\162\153", 1, 1); goto A66w1; yCuVW: JError::raiseWarning(100, "\120\157\x6e\164\x20\x68\151\x62\141\72\40\x4e\x69\x6e\143\x73\x20\155\x65\x67\x61\x64\166\141\x20\163\x7a\157\154\x67\xc3\241\x6c\164\x61\164\303\263\41"); goto Lc0SU; D6IIx: $ret = parent::onShippingDisplay($order, $dbrates, $local_usable_rates, $local_messages); goto WDjEf; PB_0j: CLCpN: goto Md2SQ; gKqxo: kCrnG: goto elIwG; UeJxT: $found = false; goto vaw0w; Qn62P: $db->setQuery($query); goto lwnO2; Md2SQ: foreach ($carriers as $carrier) { goto kN4lD; Ne_LL: Be8Y5: goto Kjx6y; dAa7L: if (is_array($p)) { goto Be8Y5; } goto s2T97; YOG4_: $r = array(); goto EOkAD; hkH7I: eLdQj: goto BFkYF; kN4lD: $jsonfile = JPATH_CACHE . DS . $carrier . "\160\157\x6e\x74\56\x6a\x73\x6f\156"; goto sqUOd; CxaQs: IeIJG: goto mJI84; BFkYF: khUo5: goto tfVCZ; Kjx6y: $p = array_merge($p, json_decode(file_get_contents($jsonfile), true)); goto hkH7I; Nl4Vx: sYneS: goto xechq; xechq: fNHVa: goto dAa7L; EOkAD: switch ($carrier) { case "\x70\151\x63\153": goto dY4ru; dY4ru: $url = "\150\x74\x74\x70\72\x2f\57\x6f\x6e\154\x69\156\x65\56\x73\160\x72\151\x6e\x74\145\162\x2e\x68\x75\x2f\x74\x65\162\153\145\160\x2f\x64\141\x74\141\x2e\x6a\163\157\x6e"; goto xRjYo; b57PV: EFOhn: goto Bgs1K; Bgs1K: goto IeIJG; goto lfqyn; xRjYo: $in = json_decode(str_replace(array("\47", "\x5c\165\60\60\x30\144\134\x75\x30\x30\x30\x61"), array('', "\x20"), substr(file_get_contents($url), 3))); goto TicrT; TicrT: foreach ($in as $data) { $r[] = array("\143" => $carrier, "\151\x64" => $data->shopCode, "\x67\x72\x6f\165\x70" => $data->shopType, "\154\x61\x74" => $data->lat, "\x6c\x6f\156" => $data->lng, "\156\141\155\x65" => $data->shopName, "\x7a\151\160" => $data->zipCode, "\143\157\165\x6e\164\171" => $data->county, "\143\x69\164\171" => $data->city, "\141\x64\x64\162\145\x73\x73" => $data->address, "\144\145\x73\143" => $data->description, "\x70\150\x6f\x6e\145" => ''); Nw9gK: } goto b57PV; lfqyn: case "\147\x6c\163": goto uGgFb; fDlt0: $rep = array('', "\x60", "\134\61\x2e"); goto VUrWa; VUrWa: $in = json_decode(preg_replace($sea, $rep, $in)); goto mlZPb; LGxc8: $sea = array("\174\x5c\x5c\x22\x7c", "\x2f\47\x2f", "\x2f\x42\165\144\141\x70\145\163\x74\x2c\77\40\x28\133\x49\x7c\x56\x7c\130\x7c\x30\x2d\71\x5d\52\x29\x5b\x5e\x22\135\x2a\x2f\151"); goto fDlt0; mlZPb: foreach ($in as $data) { $r[] = array("\x63" => $carrier, "\x69\144" => $data->pclshopid, "\x6c\x61\x74" => $data->geolat, "\154\157\156" => $data->geolng, "\156\x61\x6d\x65" => $data->name, "\x7a\x69\x70" => $data->zipcode, "\143\151\x74\171" => $data->city, "\141\144\144\162\x65\163\163" => $data->city . "\54\40" . $data->address, "\160\150\157\x6e\x65" => $data->phone); A0AAG: } goto SdKhA; iWnT6: goto IeIJG; goto AwHuL; bgi9p: $in = file_get_contents($url); goto LGxc8; SdKhA: MNg_p: goto iWnT6; uGgFb: $url = "\x68\164\164\160\x73\72\57\57\x6f\156\x6c\x69\156\145\56\x67\x6c\163\55\x68\x75\x6e\x67\141\x72\x79\x2e\x63\x6f\x6d\57\x70\x73\x6d\x61\160\x2f\160\163\x6d\141\x70\137\x67\x65\164\x64\x61\x74\x61\56\160\150\160\77\143\164\x72\x63\x6f\144\145\75\110\x55\x26\x61\143\164\151\157\156\x3d\x67\145\164\114\x69\163\164\46\144\x72\x6f\160\x6f\x66\146\x3d\61\x26"; goto bgi9p; AwHuL: case "\x66\157\170": goto cShiO; cShiO: $url = "\x68\x74\164\160\x3a\57\x2f\143\x64\x6e\x2e\146\x6f\x78\x70\157\163\x74\x2e\x68\165\57\x61\160\x6d\x73\56\x6a\x73\157\x6e"; goto TDLtp; TDLtp: $in = file_get_contents($url); goto UCsSy; uL4CT: oIlcs: goto MLnuh; Na9Vw: $rep = array('', "\140", ''); goto Oh4I4; Oh4I4: $in = json_decode(preg_replace($sea, $rep, $in)); goto om3eO; MLnuh: foreach ($r as $key => $value) { asort($r[$key]); JgC83: } goto jvsk5; om3eO: foreach ($in as $data) { $r[] = array("\143" => $carrier, "\x69\x64" => $data->place_id, "\x67\x72\157\165\160" => $data->shopType, "\x6c\141\x74" => $data->geolat, "\x6c\157\156" => $data->geolng, "\x6e\x61\155\x65" => $data->name, "\x7a\x69\x70" => substr($data->address, 0, 4), "\x63\x69\x74\171" => $data->group, "\141\x64\x64\x72\145\x73\163" => $data->address, "\144\x65\163\143" => $data->findme, "\x70\x68\x6f\x6e\145" => ''); Jp0Gz: } goto uL4CT; jvsk5: tr56a: goto g3NBP; UCsSy: $sea = array("\x7c\x5c\134\x22\174", "\57\47\x2f", "\x2f\x5c\x5c\x6e\x2f"); goto Na9Vw; g3NBP: goto IeIJG; goto WOzCR; WOzCR: case "\160\x6f\163\x74\141": goto BPPPb; QDU0P: $rep = array('', ''); goto q8FBV; BPPPb: $url = "\150\x74\164\160\x73\x3a\x2f\57\160\157\163\x74\x61\56\150\x75\57\x73\172\x6f\x6c\x67\141\154\x74\x61\164\x61\x73\157\153\57\x70\157\x73\x74\x61\55\163\x72\x76\x2d\160\157\x73\x74\x6f\146\x66\x69\143\145\57\x72\145\x73\x74\x2f\x70\x6f\x73\164\157\146\x66\151\x63\145\57\154\151\x73\164\120\x50\115\141\x72\153\x65\x72\x73\x3f\x63\141\154\154\x62\x61\x63\x6b\46\147\162\x6f\x75\160\46\x73\x6b\x69\x70\147\162\157\165\160\x73"; goto qUpHG; h0LeH: $in = file_get_contents($url); goto AjWoZ; RTTex: $rep = array("\120\157\163\x74\x61", "\x4d\117\x4c", "\x43\163\x6f\x6d\141\x67\141\x75\164\x6f\155\141\164\141", "\x43\x6f\x6f\160\x20\303\274\x7a\154\145\x74"); goto h0LeH; EqsEC: foreach ($in as $data) { $r[] = array("\x63" => $carrier, "\151\x64" => $data->id, "\147\162\x6f\x75\160" => $data->group, "\154\x61\164" => $data->lat, "\154\157\x6e" => $data->lon, "\x6e\141\155\x65" => $data->name, "\172\x69\160" => $data->zip, "\143\157\165\x6e\164\171" => $data->county, "\x63\x69\164\171" => $data->county, "\141\x64\144\x72\x65\163\163" => $data->zip . "\x20" . $data->county . "\54\40" . $data->address . "\x20\x28" . $data->name . "\x29", "\x64\145\163\143" => '', "\x70\x68\157\x6e\x65" => $data->phone); Je_Vy: } goto V4RH8; q8FBV: $in = $this->jsonp_decode(str_replace($sea, $rep, $in)); goto EqsEC; WbZC5: goto IeIJG; goto ly5J3; AjWoZ: $sea = array("\x5c\x72", "\x5c\156"); goto QDU0P; V4RH8: O3_z9: goto WbZC5; qUpHG: $sea = array("\x31\60\x5f\x70\x6f\x73\164\x61", "\62\x30\x5f\x6d\157\154\x6b\x75\164", "\x33\60\x5f\143\x73\157\155\x61\x67\141\165\164\157\155\x61\x74\x61", "\x35\x30\x5f\x63\157\157\x70"); goto RTTex; ly5J3: case "\x77\145\x62\157\170": goto V5pt4; bj3BQ: foreach ($in->_embedded->machines as $data) { $r[] = array("\143" => $carrier, "\151\144" => $data->id, "\x67\x72\x6f\x75\x70" => '', "\154\141\164" => $data->location[0], "\154\x6f\x6e" => $data->location[1], "\156\x61\x6d\145" => $data->id . "\40" . $data->address->city . "\54\40" . $data->address->street, "\172\151\160" => $data->address->post_code, "\143\157\x75\x6e\x74\x79" => $data->address->province, "\x63\x69\164\171" => $data->address->city, "\141\x64\x64\162\145\163\x73" => $data->address->post_code . "\x20" . $data->address->city . "\54\40" . $data->address->street . "\x20" . $data->address->building_no . "\40\x28" . $data->id . "\x29", "\144\x65\x73\x63" => $data->address->location_description); qklJG: } goto d7bbb; V5pt4: $url = "\x68\164\x74\160\x73\72\57\57\141\x70\151\55\150\165\x2e\145\x61\x73\x79\x70\x61\143\153\62\x34\x2e\156\x65\164\57\x76\x34\x2f\155\x61\x63\x68\151\156\x65\x73"; goto sOvz5; d7bbb: XKPBG: goto bOfID; bOfID: goto IeIJG; goto ICjEL; sOvz5: $in = file_get_contents($url); goto M2_fW; M2_fW: $in = json_decode($in); goto bj3BQ; ICjEL: } goto UlBqy; UlBqy: V7BpY: goto CxaQs; mJI84: if (!is_writable("\56")) { goto sYneS; } goto i3hak; sqUOd: if (!(!file_exists($jsonfile) || (time() - filemtime($jsonfile)) / 3600 / 24 > 1)) { goto fNHVa; } goto YOG4_; s2T97: $p = json_decode(file_get_contents($jsonfile), true); goto pd3gT; pd3gT: goto eLdQj; goto Ne_LL; i3hak: file_put_contents($jsonfile, json_encode($r, JSON_UNESCAPED_UNICODE), LOCK_EX); goto Nl4Vx; tfVCZ: } goto BlLj2; cD1j7: $local_messages = array(); goto D6IIx; elIwG: $cache_rates = array(); goto AUlq2; SgM05: JHtml::_("\163\143\x72\x69\160\164", "\57\x2f\143\144\x6e\x6a\x73\56\143\154\x6f\165\x64\146\x6c\x61\x72\x65\56\x63\157\x6d\x2f\x61\152\x61\170\x2f\154\x69\x62\x73\57\x73\x65\154\145\143\x74\62\57\64\x2e\x30\56\61\x33\x2f\152\163\57\x69\x31\70\x6e\x2f\x68\x75\x2e\152\163"); goto X2Aht; vaw0w: if (!empty($currentCurrencyId)) { goto fq9JI; } goto V2ZNw; qn09f: return true; goto uScod; Lc0SU: return; goto PB_0j; nKqPW: if (!($carriers == '')) { goto CLCpN; } goto yCuVW; V2ZNw: $query = "\123\105\114\105\103\124\x20\x63\x75\162\162\x65\x6e\x63\171\137\151\x64\40\x46\122\117\115\x20" . hikashop_table("\x63\x75\x72\x72\x65\156\143\171") . "\x20\x57\x48\x45\122\105\x20\143\x75\162\162\145\x6e\143\171\x5f\x63\157\x64\x65\x3d\x27\110\x55\x46\47"; goto nAlbP; oMbi6: $local_usable_rates = array(); goto cD1j7; Br19a: return false; goto gKqxo; cEjfa: $mainframe = JFactory::getApplication(); goto rI4Du; zd3xL: WbvuL: goto nKqPW; rI4Du: $document =& JFactory::getDocument(); goto FVwec; A66w1: JHtml::_("\163\x63\162\151\160\164", "\57\x2f\x63\x64\x6e\x6a\163\x2e\x63\x6c\157\x75\x64\x66\154\141\x72\145\56\143\157\155\x2f\x61\x6a\x61\x78\57\154\x69\142\x73\57\x73\145\x6c\145\x63\164\x32\x2f\64\56\x30\56\61\63\x2f\x6a\163\57\x73\x65\x6c\x65\x63\164\62\x2e\x6d\x69\x6e\56\x6a\x73"); goto SgM05; phBYV: $s = "\15\12\x2f\x2a\15\xa\40\x2a\x20\x50\157\156\164\xd\12\40\x2a\x20\x43\157\x70\171\162\x69\147\x68\164\40\x28\143\51\x20\x32\x30\61\x36\x20\163\172\141\164\x68\x6d\141\162\151\56\x68\165\xd\12\40\x2a\40\x76\x65\x72\163\151\157\x6e\72\x20\x32\x30\61\x36\55\x30\66\55\x31\60\15\12\40\52\xd\12\40\52\57\15\xa\x20\166\141\162\x20\x68\120\x20\x3d\x20\x27" . json_encode($p, JSON_UNESCAPED_UNICODE) . "\47\73\15\12\40\x28\x66\x75\x6e\x63\164\x69\x6f\156\50\44\51\40\173\xd\xa\11\x9\166\x61\162\x20\x73\145\154\145\143\164\x65\x64\137\160\x6f\x6e\164\54\x20\x72\141\x64\x69\x6f\x2c\40\x73\x65\154\145\143\x74\x65\x64\120\157\x6e\x74\x3b\15\12\x9\x66\165\156\x63\x74\x69\x6f\156\x20\x69\x6e\x69\x74\120\157\156\164\x20\50\51\40\x7b\xd\xa\x9\11\x64\x61\164\x61\x20\x3d\40\44\x2e\x70\141\x72\x73\x65\112\123\x4f\x4e\50\x68\120\x29\73\xd\xa\x20\40\40\x20\40\x20\x20\x20\x64\141\x74\x61\x2e\163\157\x72\164\x28\146\x75\x6e\x63\164\151\157\x6e\x28\141\x2c\x20\142\51\x20\173\15\xa\x20\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\162\145\164\x75\162\x6e\40\50\141\56\x7a\151\x70\x20\55\40\x62\56\x7a\x69\x70\51\73\15\12\40\40\40\40\40\x20\x20\40\x7d\x29\x3b\xd\12\15\xa\x9\x9\x24\56\145\141\x63\150\x28\x64\141\x74\141\x2c\40\146\x75\156\x63\x74\151\157\x6e\50\151\x2c\x20\145\x6c\51\x20\x7b\xd\xa\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\x24\x28\x22\43\x53\150\x69\x70\x6d\145\x6e\164\120\x6f\x69\156\164\x22\51\56\x61\160\x70\x65\x6e\144\x28\44\50\42\74\157\x70\164\151\157\x6e\76\74\x2f\157\160\x74\x69\157\x6e\x3e\x22\x29\56\166\x61\154\50\x65\154\x2e\141\144\144\162\145\163\163\x20\x2b\x20\x22\x20\50\x22\40\53\40\145\154\x2e\151\144\x2b\42\x29\x22\x29\x2e\150\x74\x6d\x6c\50\x65\x6c\56\x61\144\144\162\x65\x73\x73\40\53\x20\42\x20\50\x22\x2b\145\x6c\x2e\151\x64\x2b\x22\51\x22\x29\51\73\xd\12\x20\40\x20\x20\x20\x20\x20\40\x7d\x29\x3b\15\xa\xd\12\x20\x20\40\40\11\x24\x28\42\56\160\x6f\x6e\x74\42\x29\56\x73\x6c\151\x64\145\104\x6f\167\156\x28\51\73\15\xa\x9\x9\151\146\40\50\164\x79\160\x65\157\146\x20\x73\x65\x6c\145\143\164\145\144\137\x70\157\x6e\164\40\x3d\75\x3d\x20\42\x75\x6e\x64\x65\146\x69\x6e\x65\144\x22\x29\x20\173\xd\12\15\12\x20\40\40\40\x20\40\x20\40\x20\x20\40\x20\163\145\x6c\145\x63\x74\x65\144\x5f\x70\157\x6e\x74\40\75\x20\x24\x28\42\x3c\151\156\160\x75\x74\x3e\42\51\x2e\141\164\x74\x72\50\x7b\xd\12\40\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\x74\171\160\145\x3a\x20\x22\x68\x69\144\x64\x65\156\42\x2c\xd\xa\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\156\141\x6d\145\x3a\40\x22\x53\x68\x69\160\155\145\156\x74\120\157\151\156\x74\x22\54\xd\12\x20\40\x20\40\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\166\141\154\x75\x65\x3a\40\42\42\15\xa\x20\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\175\x29\73\15\12\40\x20\x20\40\40\40\x20\40\x20\40\40\x20\163\145\x6c\145\x63\x74\x65\x64\137\160\x6f\156\164\56\x61\x70\160\145\x6e\144\124\x6f\x28\x22\x66\157\x72\155\133\x6e\141\155\x65\75\x27\x68\151\153\141\163\x68\157\x70\x5f\x63\x68\145\143\x6b\x6f\165\x74\137\146\x6f\162\x6d\x27\x5d\42\x29\x3b\15\12\40\40\x20\x20\40\x20\x20\x20\175\15\12\xd\12\x9\11\x69\146\x20\50\x73\x65\154\145\x63\164\145\x64\x50\x6f\156\x74\40\x21\75\x20\42\x22\x29\x7b\15\12\11\11\x9\x73\x65\x6c\x65\x63\164\x65\x64\x5f\160\x6f\x6e\x74\56\x76\141\x6c\x28\163\145\x6c\x65\x63\x74\145\x64\120\157\x6e\x74\51\x3b\xd\xa\11\11\x9\44\x28\x22\43\123\x68\x69\x70\155\x65\x6e\x74\120\157\151\156\164\42\51\56\x76\x61\x6c\x28\163\x65\154\x65\x63\x74\145\144\x50\x6f\156\x74\x29\x3b\15\12\x9\x9\175\15\xa\xd\xa\x9\11\162\x61\x64\151\157\x20\x3d\x20\44\x28\x22\43\42\53\44\x28\x22\x6c\141\142\x65\154\72\x63\157\x6e\164\141\151\156\163\50\x27\120\x6f\156\164\47\x29\x22\51\56\160\162\x6f\x70\50\x22\150\164\155\x6c\106\157\162\42\x29\x29\x3b\15\xa\x9\x9\143\157\x6e\x73\157\154\145\56\154\157\x67\50\162\141\x64\151\157\x2e\160\x72\157\160\x28\42\x63\150\145\x63\x6b\x65\x64\42\51\51\xd\12\xd\xa\x9\11\x24\x28\x22\x23\x53\150\151\160\x6d\145\156\164\x50\x6f\x69\x6e\164\42\51\56\163\145\154\x65\x63\164\62\x28\x7b\xd\12\11\11\x9\160\x6c\x61\x63\145\150\x6f\154\144\145\x72\x3a\x20\x22" . JText::_("\x48\x49\x4b\101\x53\110\x49\120\115\105\x4e\x54\137\x50\117\x4e\x54\137\112\123\137\120\117\111\x4e\124\x5f\x50\114\x41\x43\105\110\117\x4c\x44\x45\122") . "\x22\54\15\12\11\x9\x9\141\x6c\x6c\157\167\x43\154\145\141\x72\72\40\164\x72\165\x65\xd\12\x9\x9\175\x29\56\143\x68\x61\x6e\147\x65\x28\146\x75\x6e\x63\164\x69\157\156\50\x29\x20\173\15\12\11\11\x9\163\145\154\x65\x63\164\x65\144\137\x70\157\156\164\x2e\166\x61\x6c\50\x24\x28\164\150\x69\x73\x29\x2e\166\141\x6c\x28\51\51\x3b\xd\12\11\11\x9\143\157\x6e\x73\157\154\x65\56\154\x6f\x67\50\x24\x28\x74\150\151\x73\51\x2e\166\x61\x6c\50\51\51\x3b\15\12\x9\x9\11\162\141\x64\x69\157\x2e\x70\162\x6f\x70\x28\x22\143\150\x65\143\x6b\x65\144\42\54\x20\x31\x29\56\164\x72\x69\x67\x67\x65\x72\50\x22\143\x6c\151\x63\x6b\42\51\73\xd\xa\40\40\x20\40\x20\40\x20\40\40\x20\40\x20\175\x29\73\15\xa\x9\175\xd\12\x9\44\x28\x64\x6f\x63\165\x6d\x65\156\x74\51\56\x61\x6a\141\170\123\x75\143\143\145\x73\163\x28\x66\165\156\143\164\x69\x6f\x6e\50\x65\x76\145\156\164\54\40\x72\145\161\165\x65\x73\164\x2c\x20\x73\145\x74\x74\x69\x6e\x67\163\51\40\173\15\12\11\x9\151\156\151\x74\x50\157\156\164\50\x29\x3b\15\xa\11\x7d\51\x3b\xd\12\xd\12\11\50\146\165\x6e\143\x74\x69\157\x6e\x28\x69\x2c\x73\54\157\x2c\x67\x2c\162\x2c\x61\54\x6d\x29\x7b\151\x5b\42\x47\x6f\157\147\x6c\x65\101\x6e\141\154\x79\164\x69\x63\x73\x4f\142\x6a\145\143\x74\x22\x5d\x3d\162\73\151\133\x72\x5d\75\x69\133\162\135\174\x7c\x66\x75\x6e\x63\164\151\157\156\x28\x29\x7b\50\151\133\x72\x5d\56\x71\75\151\x5b\162\135\56\x71\174\174\133\135\51\x2e\160\x75\163\x68\x28\141\162\147\165\155\x65\156\x74\x73\51\175\54\x69\133\x72\x5d\56\x6c\75\61\52\156\145\167\x20\104\141\164\x65\x28\51\73\x61\75\x73\x2e\x63\162\145\141\164\145\x45\154\145\155\x65\156\x74\50\157\x29\54\x6d\75\163\x2e\147\145\164\x45\x6c\x65\x6d\145\156\164\x73\102\171\x54\x61\x67\x4e\141\155\145\50\157\x29\x5b\60\x5d\73\x61\x2e\141\x73\171\x6e\x63\75\61\x3b\x61\x2e\x73\x72\x63\75\x67\x3b\155\x2e\x70\x61\162\145\x6e\x74\x4e\x6f\x64\145\x2e\x69\x6e\x73\x65\162\164\x42\145\x66\x6f\x72\145\x28\141\54\x6d\x29\x7d\51\x28\167\x69\x6e\144\x6f\167\54\x64\157\x63\165\155\145\156\x74\x2c\x22\x73\x63\x72\151\x70\164\x22\54\x22\x68\164\164\x70\x73\72\x2f\x2f\167\x77\167\56\x67\157\x6f\147\154\145\55\141\x6e\141\x6c\171\164\151\143\163\56\143\x6f\x6d\x2f\x61\x6e\141\154\171\164\151\x63\x73\56\x6a\x73\x22\54\42\x67\141\42\51\x3b\15\xa\x20\40\x20\40\147\141\x28\x22\143\162\x65\x61\164\145\x22\54\x20\42\x55\101\55\x31\x38\x33\x32\x38\64\71\55\x38\42\x2c\x20\42\141\x75\164\x6f\x22\x2c\42\x74\x72\153\42\51\x3b\15\12\x9\147\141\x28\42\164\162\153\x2e\163\145\x6e\x64\x22\54\40\x22\x70\x61\x67\x65\x76\151\145\167\x22\51\73\xd\12\11\147\141\x28\x22\164\x72\153\56\x73\145\x6e\144\x22\x2c\40\42\x65\x76\x65\x6e\x74\x22\54\x20\42\110\x69\153\141\x20\120\x6f\x6e\x74\40\x56\x31\x2e\x32\x22\x2c\x20\44\x28\x6c\157\x63\141\164\151\157\x6e\51\x2e\x61\164\164\162\x28\42\x68\157\163\x74\x6e\x61\155\x65\42\51\54\40\x24\50\154\x6f\x63\x61\164\x69\x6f\x6e\x29\x2e\x61\164\164\162\50\x22\160\x61\x74\150\x6e\x61\155\145\x22\x29\51\x3b\xd\12\15\12\11\44\x28\144\157\x63\x75\x6d\145\x6e\164\51\x2e\162\x65\x61\x64\171\50\x66\x75\x6e\x63\x74\151\x6f\x6e\x28\x29\40\173\15\xa\11\11\151\156\151\x74\x50\x6f\156\164\50\x29\x3b\15\xa\x9\11\44\50\x22\142\157\144\x79\42\51\x2e\142\x69\x6e\144\x28\42\x61\x6a\141\170\103\x6f\x6d\160\154\x65\x74\x65\x22\54\40\x66\165\156\x63\164\151\157\x6e\50\145\166\x65\156\x74\x2c\x20\162\x65\x71\165\x65\x73\164\54\x20\163\x65\164\164\151\156\x67\x73\51\x20\173\15\12\11\x9\11\151\156\x69\164\x50\x6f\x6e\x74\x28\x29\73\15\12\x9\11\175\x29\x3b\15\12\x9\175\x29\73\xd\12\x7d\51\50\x6a\121\165\x65\162\171\x29\73\xd\12"; goto cEjfa; lwnO2: $currentCurrencyId = $db->loadResult(); goto xnQfw; FVwec: $document->addScriptDeclaration($s); goto qn09f; e5P3_: foreach ($local_usable_rates as $rate) { goto h908M; o_8Rg: foreach ($costsp as $cost) { goto T1qxQ; fEKi5: PdKAV: goto itmfn; ObvBI: NVlad: goto AaTHE; AaTHE: if (!($orderPrice <= $tcost[0])) { goto PdKAV; } goto rT_P8; itmfn: pn270: goto X4AKX; s3FTL: goto pn270; goto ObvBI; JF0sv: if (!(sizeof($tcost) !== 2)) { goto NVlad; } goto s3FTL; rT_P8: $costs[] = $tcost[1]; goto fEKi5; T1qxQ: $tcost = array_map("\x74\162\151\155", explode("\174", $cost)); goto JF0sv; X4AKX: } goto h6aUY; h6aUY: l2NrY: goto FfU5L; mCVvI: $cart = hikashop_get("\143\154\141\x73\163\56\x63\x61\x72\x74"); goto F7Lm9; cB3eu: tnk0r: goto zNFNj; MbXdG: $rate->shipping_price = max($costs); goto S1nbI; yn23X: $rate->shipping_currency_id_orig = 1; goto MbXdG; h908M: if (!($rate->shipping_type != "\x70\157\156\x74")) { goto GhZCj; } goto m7yer; wCHC6: GhZCj: goto guwNE; lk6vE: ybxdW: goto GTS_y; GTS_y: $r = !HIKASHOP_PHP5 ? $rate : clone $rate; goto QcJuZ; LXRdK: vApUJ: goto g5WAz; FfU5L: if (!empty($costs)) { goto vApUJ; } goto La1au; GhHz9: $address = $app->getUserState(HIKASHOP_COMPONENT . "\56\x73\150\151\x70\x70\151\156\x67\137\141\x64\x64\x72\145\163\163"); goto BfVY3; g5WAz: $rate->shipping_description = "\74\163\145\x6c\145\143\x74\40\x64\141\164\141\55\x70\154\141\143\x65\x68\157\x6c\144\145\x72\75\42" . JText::_("\x56\xc3\xa1\154\141\163\163\172\x20\145\x67\x79\x20\xc3\xa1\x74\x76\x65\166\xc5\x91\160\x6f\x6e\x74\157\164") . "\42\x20\156\x61\x6d\x65\75\x22\123\150\151\x70\x6d\x65\156\x74\x50\x6f\x69\156\164\42\40\151\x64\x3d\x22\x53\150\x69\160\155\x65\156\x74\120\x6f\x69\x6e\x74\x22\x20\x73\164\171\154\145\75\42\x77\x69\x64\x74\150\x3a\x31\x30\60\45\42\x20\x63\x6c\141\x73\x73\75\x22\x53\x68\151\x70\155\145\x6e\164\x50\157\151\156\x74\42\40\x3e" . "\x3c\x6f\x70\x74\151\157\x6e\x20\x76\141\x6c\x75\145\75\x22\42\x3e\x3c\57\x6f\x70\x74\151\157\156\x3e\x3c\x2f\x73\x65\154\x65\143\164\x3e"; goto yn23X; S1nbI: if (!empty($order->shipping_address_full)) { goto ybxdW; } goto mCVvI; e10Wg: $orderPrice = $order->total->prices[0]->price_value_with_tax; goto o_8Rg; bK1hi: $costsp = explode(PHP_EOL, preg_replace("\x23\133\x5e\x30\x2d\x39\134\174\134\x72\134\x6e\135\x23", '', $rate->shipping_params->costs)); goto e10Wg; BfVY3: $cart->loadAddress($order->shipping_address_full, $address, "\157\x62\152\x65\x63\164", "\163\x68\x69\x70\x70\x69\x6e\147"); goto lk6vE; m7yer: goto tnk0r; goto wCHC6; QcJuZ: $usable_rates[$r->shipping_id] = $r; goto cB3eu; La1au: $costs[] = 0; goto LXRdK; guwNE: $carriers = $rate->shipping_params->services; goto bK1hi; F7Lm9: $app = JFactory::getApplication(); goto GhHz9; zNFNj: } goto zd3xL; nAlbP: $db = JFactory::getDBO(); goto Qn62P; guPH8: $currencyClass = hikashop_get("\143\154\141\163\x73\x2e\x63\165\162\162\x65\156\143\171"); goto e5P3_; uScod: } function onAfterOrderConfirm(&$order, &$methods, $method_id) { return true; } function onShippingSave_hibas(&$order, &$methods, &$shipping_id) { } function onAfterProcessShippings(&$usable_methods) { goto bD1Nn; lWORN: goto aJxtW; goto pl1tF; Laf9u: return; goto lWORN; uY5gq: $session->set("\x53\150\x69\x70\155\x65\x6e\x74\120\157\x69\156\164", $selectedPont); goto JryHH; bD1Nn: $input = Factory::getApplication()->input; goto dXLss; dXLss: $selectedPont = $input->get("\x53\150\x69\x70\155\145\156\x74\120\157\x69\156\164", '', "\x73\164\162\151\x6e\x67"); goto RSmKn; pl1tF: OCuzS: goto mm4IH; mm4IH: $session = JFactory::getSession(); goto uY5gq; JryHH: aJxtW: goto XyxpF; RSmKn: if ($selectedPont) { goto OCuzS; } goto Laf9u; XyxpF: } function onBeforeOrderCreate(&$order, &$send_email) { goto CpP3G; Ma4Kt: $session->clear("\x53\x68\x69\x70\155\x65\156\x74\120\157\x69\156\x74"); goto XQ_pC; vXvyn: $pont_params = array("\x43\141\162\162\151\x65\x72" => "\120\157\x73\x74\141", "\x50\157\x6e\x74" => $session->get("\x53\150\x69\160\155\145\156\164\x50\157\151\x6e\x74"), "\x49\104" => "\141\x61\141\141"); goto Ma4Kt; CpP3G: $session = JFactory::getSession(); goto vXvyn; XQ_pC: $order->order_shipping_params->pont = $pont_params; goto nAu7H; nAu7H: } function onAfterCheckoutStep($controller, &$go_back, $original_go_back) { } function onHikashopBeforeDisplayView(&$view) { goto YHLOV; YHLOV: $viewName = $view->getName(); goto EHOHH; EHOHH: $layoutName = $view->getLayout(); goto Vbu1I; OomYL: Rlajd: goto jnH6I; jnH6I: $view->extra_data["\x61\144\144\151\164\x69\157\x6e\x61\x6c"]["\x73\150\x69\160\160\151\x6e\x67\137\160\x6f\156\164"] = array("\x74\x69\164\154\145" => "\x50\157\156\164", "\144\x61\x74\x61" => $view->order->order_shipping_params->pont["\x50\157\156\x74"]); goto EUJVN; Vbu1I: if (!($viewName != "\157\x72\144\x65\x72" || $layoutName != "\x73\x68\157\167" && $layoutName != "\163\150\x6f\167\137\x61\144\144\151\x74\151\157\x6e\141\x6c")) { goto Rlajd; } goto jtuxh; jtuxh: return true; goto OomYL; EUJVN: } function onAfterOrderProductsListingDisplay(&$order, $key) { goto jIoWm; el7eB: BDlWm: goto t54Na; r7k9b: DzMm7: goto Z8peT; bgLvK: return; goto el7eB; jIoWm: if (isset($order->order_shipping_params->pont)) { goto BDlWm; } goto bgLvK; t54Na: if (!($key != "\145\x6d\x61\x69\x6c\137\156\x6f\164\x69\x66\x69\143\x61\164\x69\157\156\x5f\150\x74\x6d\154" && $key != "\157\162\x64\145\x72\x5f\x66\162\x6f\x6e\x74\x5f\x73\x68\x6f\x77")) { goto DzMm7; } goto IVRH0; IVRH0: return; goto r7k9b; Z8peT: echo JText::_("\303\201\164\166\145\166\305\x91\160\157\156\x74") . "\72\40" . $order->order_shipping_params->pont["\x50\157\x6e\164"]; goto V0ET3; V0ET3: } public function jsonp_decode($jsonp, $assoc = false) { goto Qk0YY; MYlcO: return json_decode(trim($jsonp, "\50\51\73"), $assoc); goto wIvE2; UCOAI: L3cms: goto MYlcO; IcDFq: $jsonp = substr($jsonp, strpos($jsonp, "\50")); goto UCOAI; Qk0YY: if (!($jsonp[0] !== "\133" && $jsonp[0] !== "\x7b")) { goto L3cms; } goto IcDFq; wIvE2: } }

Function Calls

None

Variables

None

Stats

MD5 dfcbdeaa864d2fdec1c8e197c5f365fb
Eval Count 0
Decode Time 80 ms