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 /* StudioZeroPixel Srl - Ogni modifica o uso improprio vietata. */ namespa..

Decoded Output download

<?php  
/*  
StudioZeroPixel Srl - Ogni modifica o uso improprio  vietata.  
*/  
 namespace Studiozeropixel\ExportBrt\Controller\Adminhtml\Index; use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection; use Magento\Backend\App\Action\Context; use Magento\Ui\Component\MassAction\Filter; use Magento\Sales\Model\ResourceModel\Order\CollectionFactory; use Magento\Sales\Api\OrderManagementInterface; use Magento\Store\Model\ScopeInterface; use Magento\Framework\App\Config\ScopeConfigInterface; class Export extends \Magento\Sales\Controller\Adminhtml\Order\AbstractMassAction { protected $_scopeConfig; protected $orderManagement; public function __construct(Context $oszkH, Filter $oAeSu, CollectionFactory $NqLMQ, OrderManagementInterface $CF2iV, ScopeConfigInterface $Uwii_) { goto fNc5U; ePFLZ: $this->collectionFactory = $NqLMQ; goto i5JsN; fNc5U: parent::__construct($oszkH, $oAeSu); goto ePFLZ; i6iiE: $this->_scopeConfig = $Uwii_; goto rcwFR; i5JsN: $this->orderManagement = $CF2iV; goto i6iiE; rcwFR: } protected function massAction(AbstractCollection $t9HTs) { goto yHMc0; yHMc0: $wv0Rt = $this->_objectManager->get("Magento\Store\Model\StoreManagerInterface")->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_WEB); goto kQW53; sTEJM: $wv0Rt = substr($wv0Rt, 0, strlen($wv0Rt) - 1); goto pGZKV; oBKl1: $this->_szpPrepareDownloadResponse($cRpUr, $Yg3Pz); goto OsefA; iNAjq: Dl_K9: goto nsw1J; tIxap: $Yg3Pz = "vabrmo;vabatb;vabccm;vablnp;vabctr;vabcbo;vabaas;vabmgs;vabrmn;vabrsd;vabind;vablod;vabcad;vabprd;vabnzd;vabncl;vabpkb;vabcas;vabvca;vabnot;vabnt2;vabnrc;vabtrc;VABCEL;VABTIC;VABEMD;VABRMA\xa"; goto CavkX; pGZKV: DupY3: goto sJ40B; nsw1J: $cRpUr = "spedizioniBRT" . date("YmdHis") . ".csv"; goto oBKl1; sJ40B: if (!$this->cll($wv0Rt)) { goto YITq9; } goto t7_bx; kQW53: $wv0Rt = str_replace("http://", '', $wv0Rt); goto xDTg9; t7_bx: $zoobp = 0; goto vqsul; SP0nD: $QWb2r = $wv0Rt[strlen($wv0Rt) - 1]; goto cE1J4; OsefA: YITq9: goto T3zX3; CavkX: foreach ($t9HTs->getItems() as $LFxmp) { goto rG3Hg; ilB9k: Q9nFu: goto yYEan; YPnxx: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getTelephone(); goto lhxwj; lPa84: $Yg3Pz = $Yg3Pz . ";"; goto XcBtw; BePoR: $KR0Gp = $this->_scopeConfig->getValue("exportbrt_section/COD_setup/pagementocontrassegno", ScopeInterface::SCOPE_STORE); goto A8wjO; Ox9Vv: $Td4NR = ''; goto Ybr3u; S6Ywb: hVpjN: goto B8yga; NROAC: goto Q9nFu; goto zFqKQ; BncMy: nKZmC: goto kZaIX; RLImL: goto m4O_y; goto jQfdc; PbaOg: z2fHF: goto uQMnM; TjixS: $Yg3Pz = $Yg3Pz . ";1"; goto JRNlM; PZkYk: $A_W7o = $d9pCG->getMethodInstance()->getCode(); goto BePoR; fErFG: $Yg3Pz = $Yg3Pz . ";4"; goto yaOOw; l3M5x: VAmFS: goto DU4bW; Ybr3u: $Yg3Pz = $Yg3Pz . ";" . substr($Td4NR, 0, 35); goto TeN8r; rvdkm: $Yg3Pz = $Yg3Pz . ";"; goto PCG_6; tO3Y5: $Yg3Pz = $Yg3Pz . ";" . $F1z2t; goto PdQ6z; GmLd0: if ($ZOuqp == 1) { goto ZGJvB; } goto EikCl; VXYQM: E_MYo: goto aCpQU; korUH: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getTelephone(); goto QmGHs; UajXO: QdWcG: goto cr1C8; rG3Hg: if ($LFxmp->getEntityId()) { goto aMBuQ; } goto GVrkM; MLYoD: $Yg3Pz = $Yg3Pz . ";EUR"; goto Ox9Vv; d3quS: $Yg3Pz = $Yg3Pz . ";000"; goto NROAC; lhxwj: p8Wec: goto kHWRu; jQfdc: JkB5o: goto lPa84; FtqEg: X6DG0: goto OKyP6; OKyP6: $Yg3Pz = $Yg3Pz . ";D"; goto S6Ywb; EikCl: $A_W7o = $LFxmp->getShippingMethod(); goto nsEm5; TeN8r: $Yg3Pz = $Yg3Pz . ";" . substr($Td4NR, 35, 35); goto FyCeI; PdQ6z: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getName(); goto AYGf9; ILqt0: $Yg3Pz = $Yg3Pz . ";" . strtoupper($c0JQM->getRegionCode()); goto RLImL; zdT36: $Yg3Pz = $Yg3Pz . " 
"; goto l3M5x; nsEm5: $KR0Gp = $this->_scopeConfig->getValue("exportbrt_section/COD_setup/spedcontrassegno", ScopeInterface::SCOPE_STORE); goto HFNFx; PCG_6: goto nKZmC; goto qOzvE; GVrkM: goto VAmFS; goto ww7Kn; rF8KF: if ($iPXNi == 1 && strpos($A_W7o, $KR0Gp) !== false) { goto z2fHF; } goto omIrV; Jd2Mx: $Yg3Pz = $Yg3Pz . $wv0Rt; goto rZmOW; B8yga: $Yg3Pz = $Yg3Pz . ";" . trim($this->_scopeConfig->getValue("exportbrt_section/brt_setup/VABCCM", ScopeInterface::SCOPE_STORE)); goto n_EQz; kZaIX: $Yg3Pz = $Yg3Pz . ";" . $F1z2t; goto zdT36; NqoZ_: switch ($c0JQM->getCountry()) { case "IT": $Yg3Pz = $Yg3Pz . ";"; goto mT0jO; case "AT": $Yg3Pz = $Yg3Pz . ";A"; goto mT0jO; case "AD": $Yg3Pz = $Yg3Pz . ";AND"; goto mT0jO; case "BE": $Yg3Pz = $Yg3Pz . ";B"; goto mT0jO; case "BG": $Yg3Pz = $Yg3Pz . ";BG"; goto mT0jO; case "CH": $Yg3Pz = $Yg3Pz . ";CH"; goto mT0jO; case "CZ": $Yg3Pz = $Yg3Pz . ";CZ"; goto mT0jO; case "DE": $Yg3Pz = $Yg3Pz . ";D"; goto mT0jO; case "DK": $Yg3Pz = $Yg3Pz . ";DK"; goto mT0jO; case "ES": $Yg3Pz = $Yg3Pz . ";E"; goto mT0jO; case "FR": $Yg3Pz = $Yg3Pz . ";F"; goto mT0jO; case "GB": $Yg3Pz = $Yg3Pz . ";GB"; goto mT0jO; case "GI": $Yg3Pz = $Yg3Pz . ";GBZ"; goto mT0jO; case "HU": $Yg3Pz = $Yg3Pz . ";HU"; goto mT0jO; case "IE": $Yg3Pz = $Yg3Pz . ";IRL"; goto mT0jO; case "LU": $Yg3Pz = $Yg3Pz . ";L"; goto mT0jO; case "LI": $Yg3Pz = $Yg3Pz . ";LI"; goto mT0jO; case "MC": $Yg3Pz = $Yg3Pz . ";MC"; goto mT0jO; case "NL": $Yg3Pz = $Yg3Pz . ";NL"; goto mT0jO; case "PT": $Yg3Pz = $Yg3Pz . ";P"; goto mT0jO; case "PL": $Yg3Pz = $Yg3Pz . ";PL"; goto mT0jO; case "RO": $Yg3Pz = $Yg3Pz . ";RO"; goto mT0jO; case "SE": $Yg3Pz = $Yg3Pz . ";S"; goto mT0jO; case "SK": $Yg3Pz = $Yg3Pz . ";SK"; goto mT0jO; case "SI": $Yg3Pz = $Yg3Pz . ";SLO"; goto mT0jO; default: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getCountry(); } goto rzlAD; oZFTc: $Yg3Pz = $Yg3Pz . ";" . $LFxmp->getCustomerEmail(); goto BncMy; NVIkQ: prlFq: goto Ofln2; CsyJ8: $Yg3Pz = $Yg3Pz . ";" . date("Y"); goto lg73M; QmGHs: if ($this->_scopeConfig->getValue("exportbrt_section/brt_notifiche/VABCEL", ScopeInterface::SCOPE_STORE) == 1) { goto ekCZg; } goto KS65G; zTNNh: ekCZg: goto YPnxx; JRNlM: if ($this->_scopeConfig->getValue("exportbrt_section/gestpeso/peso", ScopeInterface::SCOPE_STORE) == 1) { goto QdWcG; } goto PQnWb; dIYOb: foreach ($LFxmp->getAllItems() as $AF4Zr) { goto l2VEr; Zx3Lr: BnIop: goto uVONh; l2VEr: $iAVJB += $AF4Zr->getProduct()->getWeight() * $AF4Zr->getQtyOrdered(); goto p2glA; p2glA: $Pla4D++; goto Zx3Lr; uVONh: } goto NVIkQ; XcBtw: m4O_y: goto NqoZ_; aCpQU: $Yg3Pz = $Yg3Pz . ";" . $eKDgp; goto MLYoD; D1WmJ: ZGJvB: goto BukDt; qOzvE: c6K8p: goto oZFTc; BukDt: $d9pCG = $LFxmp->getPayment(); goto PZkYk; TWjgH: goto p8Wec; goto zTNNh; rzlAD: DyRnF: goto OGTf8; PXaRZ: if (!($c0JQM->getCountryId() != "IT")) { goto HujEw; } goto AdAov; HFNFx: goto TKEBd; goto D1WmJ; s6GyF: $Pla4D = 0; goto pR_33; bSVr_: $Yg3Pz = $Yg3Pz . ";1"; goto vrV0r; rZmOW: $q8mNn = false; goto PXaRZ; AYGf9: $Yg3Pz = $Yg3Pz . ";" . implode(" ", $c0JQM->getStreet()) . " " . $c0JQM->getCompany(); goto NfQyR; MzdK8: goto E_MYo; goto UajXO; lD2Vz: HujEw: goto s6GyF; y0L7F: $c0JQM = $LFxmp->getShippingAddress(); goto GZie9; omIrV: $eKDgp = ''; goto bSVr_; pR_33: $iAVJB = 0; goto dIYOb; ww7Kn: aMBuQ: goto jto85; yaOOw: VYKt1: goto CsyJ8; jpBph: $Yg3Pz = $Yg3Pz . ";"; goto LmyFl; avl9L: if ($q8mNn) { goto JkB5o; } goto ILqt0; A8wjO: TKEBd: goto m0rwm; lg73M: $Yg3Pz = $Yg3Pz . ";" . date("md"); goto tO3Y5; lPExh: if ($q8mNn) { goto oJSAV; } goto d3quS; FyCeI: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getName(); goto korUH; GZie9: if ($c0JQM) { goto Ewetq; } goto pX0j0; uQMnM: $eKDgp = str_replace(".", ",", round($LFxmp->getGrandTotal(), 2)); goto fErFG; Ofln2: if ($q8mNn) { goto X6DG0; } goto jpBph; LmyFl: goto hVpjN; goto FtqEg; OGTf8: mT0jO: goto TjixS; QZ9R6: if ($this->_scopeConfig->getValue("exportbrt_section/brt_notifiche/VABEMD", ScopeInterface::SCOPE_STORE) == 1) { goto c6K8p; } goto rvdkm; n_EQz: $Yg3Pz = $Yg3Pz . ";" . trim($this->_scopeConfig->getValue("exportbrt_section/brt_setup/VABLNP", ScopeInterface::SCOPE_STORE)); goto lPExh; jto85: $F1z2t = $LFxmp->getIncrementId(); goto y0L7F; zySeD: Ewetq: goto Jd2Mx; yYEan: $ZOuqp = $this->_scopeConfig->getValue("exportbrt_section/COD_setup/flagtipocontrassegno", ScopeInterface::SCOPE_STORE); goto GmLd0; pX0j0: $c0JQM = $LFxmp->getBillingAddress(); goto zySeD; cr1C8: $Yg3Pz = $Yg3Pz . ";" . str_replace(".", ",", round($iAVJB, 1)); goto VXYQM; NfQyR: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getCity(); goto PVsvA; zFqKQ: oJSAV: goto BQ2CV; BQ2CV: $Yg3Pz = $Yg3Pz . ";370"; goto ilB9k; AdAov: $q8mNn = true; goto lD2Vz; PQnWb: $Yg3Pz = $Yg3Pz . ";" . $this->_scopeConfig->getValue("exportbrt_section/gestpeso/peso_manuale", ScopeInterface::SCOPE_STORE); goto MzdK8; PVsvA: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getPostcode(); goto avl9L; KS65G: $Yg3Pz = $Yg3Pz . ";"; goto TWjgH; m0rwm: $iPXNi = $this->_scopeConfig->getValue("exportbrt_section/COD_setup/contrassegno", ScopeInterface::SCOPE_STORE); goto rF8KF; vrV0r: goto VYKt1; goto PbaOg; kHWRu: $Yg3Pz = $Yg3Pz . ";"; goto QZ9R6; DU4bW: } goto iNAjq; z7iFW: $Yg3Pz = ''; goto tIxap; xDTg9: $wv0Rt = str_replace("https://", '', $wv0Rt); goto SP0nD; cE1J4: if (!($QWb2r = "/")) { goto DupY3; } goto sTEJM; vqsul: $kXkQ3 = $this->_objectManager->create("Magento\Sales\Model\Order"); goto z7iFW; T3zX3: } public function _szpPrepareDownloadResponse($TxiPZ, $Yg3Pz) { goto xydED; LoDwR: echo $Yg3Pz; goto en9vZ; xydED: $Yg3Pz = utf8_decode($Yg3Pz); goto BkbBy; hprz_: header("Content-Type: application/csv"); goto CZfG1; BkbBy: header("Content-Type: application/force-download"); goto hprz_; CZfG1: header("Content-disposition: attachment; filename="" . $TxiPZ . """); goto LoDwR; en9vZ: } public function cll($wv0Rt) { goto jz_Ev; ItaBF: li9PJ: goto s0e41; jz_Ev: $nYFGV = $this->_scopeConfig->getValue("exportbrt_section/generale/licenza", ScopeInterface::SCOPE_STORE); goto RxfiT; s3_s6: $w5AH2++; goto SOPP1; SZ8i5: $CdUjZ = "Chiave Licenza Modulo "Export BRT Easy Sped" non valida per dominio: " . $wv0Rt; goto ihgmb; UX3v_: pGrqb: goto W8bMA; ySWjP: if (!($w5AH2 < 10)) { goto pGrqb; } goto tO2gv; s0e41: return true; goto rNkqM; ye03Q: $erDCu = "        <center>\xa        <br><h2>Chiave Licenza Modulo "Export BRT EasySped" non valida per dominio: <b> {$wv0Rt} </b></h2><br> 
  \x9\x9 \x9Impostare la corretta chiave di licenza in Stores -> Configuration -> StudioZeroPixel -> Export BRT EasySped 
        <br><br> 
  \x9	 	Per assistenza rivolgersi a <a href="https://www.studiozeropixel.com" target="_blank">StudioZeroPixel</a> 
        <script> 
  	\x9\x9\x9function goBack()\xa  \x9\x9\x9	  { 
  \x9\x9\x9	  window.history.back() 
  \x9	\x9	  } 
  \x9\x9\x9	</script>\xa          <br>\xa  \x9\x9\x9<input type="button" value="Torna all' amministrazione" onclick="goBack()">\xa        </center>"; goto G2rXu; ihgmb: $this->messageManager->addError($CdUjZ); goto ye03Q; W8bMA: if (!(sha1($HUM_X) != $nYFGV)) { goto li9PJ; } goto SZ8i5; aTA1M: EoofP: goto s3_s6; RxfiT: $HUM_X = $wv0Rt . "szpexportbrt"; goto QyULD; gitDq: return false; goto ItaBF; SOPP1: goto mapd1; goto UX3v_; QyULD: $w5AH2 = 1; goto M3ABa; M3ABa: mapd1: goto ySWjP; G2rXu: echo $erDCu; goto gitDq; tO2gv: $HUM_X .= $w5AH2; goto aTA1M; rNkqM: } }  ?>

Did this file decode correctly?

Original Code

<?php 
/* 
StudioZeroPixel Srl - Ogni modifica o uso improprio  vietata. 
*/ 
 namespace Studiozeropixel\ExportBrt\Controller\Adminhtml\Index; use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection; use Magento\Backend\App\Action\Context; use Magento\Ui\Component\MassAction\Filter; use Magento\Sales\Model\ResourceModel\Order\CollectionFactory; use Magento\Sales\Api\OrderManagementInterface; use Magento\Store\Model\ScopeInterface; use Magento\Framework\App\Config\ScopeConfigInterface; class Export extends \Magento\Sales\Controller\Adminhtml\Order\AbstractMassAction { protected $_scopeConfig; protected $orderManagement; public function __construct(Context $oszkH, Filter $oAeSu, CollectionFactory $NqLMQ, OrderManagementInterface $CF2iV, ScopeConfigInterface $Uwii_) { goto fNc5U; ePFLZ: $this->collectionFactory = $NqLMQ; goto i5JsN; fNc5U: parent::__construct($oszkH, $oAeSu); goto ePFLZ; i6iiE: $this->_scopeConfig = $Uwii_; goto rcwFR; i5JsN: $this->orderManagement = $CF2iV; goto i6iiE; rcwFR: } protected function massAction(AbstractCollection $t9HTs) { goto yHMc0; yHMc0: $wv0Rt = $this->_objectManager->get("Magento\Store\Model\StoreManagerInterface")->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_WEB); goto kQW53; sTEJM: $wv0Rt = substr($wv0Rt, 0, strlen($wv0Rt) - 1); goto pGZKV; oBKl1: $this->_szpPrepareDownloadResponse($cRpUr, $Yg3Pz); goto OsefA; iNAjq: Dl_K9: goto nsw1J; tIxap: $Yg3Pz = "vabrmo;vabatb;vabccm;vablnp;vabctr;vabcbo;vabaas;vabmgs;vabrmn;vabrsd;vabind;vablod;vabcad;vabprd;vabnzd;vabncl;vabpkb;vabcas;vabvca;vabnot;vabnt2;vabnrc;vabtrc;VABCEL;VABTIC;VABEMD;VABRMA\xa"; goto CavkX; pGZKV: DupY3: goto sJ40B; nsw1J: $cRpUr = "spedizioniBRT" . date("YmdHis") . ".csv"; goto oBKl1; sJ40B: if (!$this->cll($wv0Rt)) { goto YITq9; } goto t7_bx; kQW53: $wv0Rt = str_replace("http://", '', $wv0Rt); goto xDTg9; t7_bx: $zoobp = 0; goto vqsul; SP0nD: $QWb2r = $wv0Rt[strlen($wv0Rt) - 1]; goto cE1J4; OsefA: YITq9: goto T3zX3; CavkX: foreach ($t9HTs->getItems() as $LFxmp) { goto rG3Hg; ilB9k: Q9nFu: goto yYEan; YPnxx: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getTelephone(); goto lhxwj; lPa84: $Yg3Pz = $Yg3Pz . ";"; goto XcBtw; BePoR: $KR0Gp = $this->_scopeConfig->getValue("exportbrt_section/COD_setup/pagementocontrassegno", ScopeInterface::SCOPE_STORE); goto A8wjO; Ox9Vv: $Td4NR = ''; goto Ybr3u; S6Ywb: hVpjN: goto B8yga; NROAC: goto Q9nFu; goto zFqKQ; BncMy: nKZmC: goto kZaIX; RLImL: goto m4O_y; goto jQfdc; PbaOg: z2fHF: goto uQMnM; TjixS: $Yg3Pz = $Yg3Pz . ";1"; goto JRNlM; PZkYk: $A_W7o = $d9pCG->getMethodInstance()->getCode(); goto BePoR; fErFG: $Yg3Pz = $Yg3Pz . ";4"; goto yaOOw; l3M5x: VAmFS: goto DU4bW; Ybr3u: $Yg3Pz = $Yg3Pz . ";" . substr($Td4NR, 0, 35); goto TeN8r; rvdkm: $Yg3Pz = $Yg3Pz . ";"; goto PCG_6; tO3Y5: $Yg3Pz = $Yg3Pz . ";" . $F1z2t; goto PdQ6z; GmLd0: if ($ZOuqp == 1) { goto ZGJvB; } goto EikCl; VXYQM: E_MYo: goto aCpQU; korUH: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getTelephone(); goto QmGHs; UajXO: QdWcG: goto cr1C8; rG3Hg: if ($LFxmp->getEntityId()) { goto aMBuQ; } goto GVrkM; MLYoD: $Yg3Pz = $Yg3Pz . ";EUR"; goto Ox9Vv; d3quS: $Yg3Pz = $Yg3Pz . ";000"; goto NROAC; lhxwj: p8Wec: goto kHWRu; jQfdc: JkB5o: goto lPa84; FtqEg: X6DG0: goto OKyP6; OKyP6: $Yg3Pz = $Yg3Pz . ";D"; goto S6Ywb; EikCl: $A_W7o = $LFxmp->getShippingMethod(); goto nsEm5; TeN8r: $Yg3Pz = $Yg3Pz . ";" . substr($Td4NR, 35, 35); goto FyCeI; PdQ6z: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getName(); goto AYGf9; ILqt0: $Yg3Pz = $Yg3Pz . ";" . strtoupper($c0JQM->getRegionCode()); goto RLImL; zdT36: $Yg3Pz = $Yg3Pz . "
"; goto l3M5x; nsEm5: $KR0Gp = $this->_scopeConfig->getValue("exportbrt_section/COD_setup/spedcontrassegno", ScopeInterface::SCOPE_STORE); goto HFNFx; PCG_6: goto nKZmC; goto qOzvE; GVrkM: goto VAmFS; goto ww7Kn; rF8KF: if ($iPXNi == 1 && strpos($A_W7o, $KR0Gp) !== false) { goto z2fHF; } goto omIrV; Jd2Mx: $Yg3Pz = $Yg3Pz . $wv0Rt; goto rZmOW; B8yga: $Yg3Pz = $Yg3Pz . ";" . trim($this->_scopeConfig->getValue("exportbrt_section/brt_setup/VABCCM", ScopeInterface::SCOPE_STORE)); goto n_EQz; kZaIX: $Yg3Pz = $Yg3Pz . ";" . $F1z2t; goto zdT36; NqoZ_: switch ($c0JQM->getCountry()) { case "IT": $Yg3Pz = $Yg3Pz . ";"; goto mT0jO; case "AT": $Yg3Pz = $Yg3Pz . ";A"; goto mT0jO; case "AD": $Yg3Pz = $Yg3Pz . ";AND"; goto mT0jO; case "BE": $Yg3Pz = $Yg3Pz . ";B"; goto mT0jO; case "BG": $Yg3Pz = $Yg3Pz . ";BG"; goto mT0jO; case "CH": $Yg3Pz = $Yg3Pz . ";CH"; goto mT0jO; case "CZ": $Yg3Pz = $Yg3Pz . ";CZ"; goto mT0jO; case "DE": $Yg3Pz = $Yg3Pz . ";D"; goto mT0jO; case "DK": $Yg3Pz = $Yg3Pz . ";DK"; goto mT0jO; case "ES": $Yg3Pz = $Yg3Pz . ";E"; goto mT0jO; case "FR": $Yg3Pz = $Yg3Pz . ";F"; goto mT0jO; case "GB": $Yg3Pz = $Yg3Pz . ";GB"; goto mT0jO; case "GI": $Yg3Pz = $Yg3Pz . ";GBZ"; goto mT0jO; case "HU": $Yg3Pz = $Yg3Pz . ";HU"; goto mT0jO; case "IE": $Yg3Pz = $Yg3Pz . ";IRL"; goto mT0jO; case "LU": $Yg3Pz = $Yg3Pz . ";L"; goto mT0jO; case "LI": $Yg3Pz = $Yg3Pz . ";LI"; goto mT0jO; case "MC": $Yg3Pz = $Yg3Pz . ";MC"; goto mT0jO; case "NL": $Yg3Pz = $Yg3Pz . ";NL"; goto mT0jO; case "PT": $Yg3Pz = $Yg3Pz . ";P"; goto mT0jO; case "PL": $Yg3Pz = $Yg3Pz . ";PL"; goto mT0jO; case "RO": $Yg3Pz = $Yg3Pz . ";RO"; goto mT0jO; case "SE": $Yg3Pz = $Yg3Pz . ";S"; goto mT0jO; case "SK": $Yg3Pz = $Yg3Pz . ";SK"; goto mT0jO; case "SI": $Yg3Pz = $Yg3Pz . ";SLO"; goto mT0jO; default: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getCountry(); } goto rzlAD; oZFTc: $Yg3Pz = $Yg3Pz . ";" . $LFxmp->getCustomerEmail(); goto BncMy; NVIkQ: prlFq: goto Ofln2; CsyJ8: $Yg3Pz = $Yg3Pz . ";" . date("Y"); goto lg73M; QmGHs: if ($this->_scopeConfig->getValue("exportbrt_section/brt_notifiche/VABCEL", ScopeInterface::SCOPE_STORE) == 1) { goto ekCZg; } goto KS65G; zTNNh: ekCZg: goto YPnxx; JRNlM: if ($this->_scopeConfig->getValue("exportbrt_section/gestpeso/peso", ScopeInterface::SCOPE_STORE) == 1) { goto QdWcG; } goto PQnWb; dIYOb: foreach ($LFxmp->getAllItems() as $AF4Zr) { goto l2VEr; Zx3Lr: BnIop: goto uVONh; l2VEr: $iAVJB += $AF4Zr->getProduct()->getWeight() * $AF4Zr->getQtyOrdered(); goto p2glA; p2glA: $Pla4D++; goto Zx3Lr; uVONh: } goto NVIkQ; XcBtw: m4O_y: goto NqoZ_; aCpQU: $Yg3Pz = $Yg3Pz . ";" . $eKDgp; goto MLYoD; D1WmJ: ZGJvB: goto BukDt; qOzvE: c6K8p: goto oZFTc; BukDt: $d9pCG = $LFxmp->getPayment(); goto PZkYk; TWjgH: goto p8Wec; goto zTNNh; rzlAD: DyRnF: goto OGTf8; PXaRZ: if (!($c0JQM->getCountryId() != "IT")) { goto HujEw; } goto AdAov; HFNFx: goto TKEBd; goto D1WmJ; s6GyF: $Pla4D = 0; goto pR_33; bSVr_: $Yg3Pz = $Yg3Pz . ";1"; goto vrV0r; rZmOW: $q8mNn = false; goto PXaRZ; AYGf9: $Yg3Pz = $Yg3Pz . ";" . implode(" ", $c0JQM->getStreet()) . " " . $c0JQM->getCompany(); goto NfQyR; MzdK8: goto E_MYo; goto UajXO; lD2Vz: HujEw: goto s6GyF; y0L7F: $c0JQM = $LFxmp->getShippingAddress(); goto GZie9; omIrV: $eKDgp = ''; goto bSVr_; pR_33: $iAVJB = 0; goto dIYOb; ww7Kn: aMBuQ: goto jto85; yaOOw: VYKt1: goto CsyJ8; jpBph: $Yg3Pz = $Yg3Pz . ";"; goto LmyFl; avl9L: if ($q8mNn) { goto JkB5o; } goto ILqt0; A8wjO: TKEBd: goto m0rwm; lg73M: $Yg3Pz = $Yg3Pz . ";" . date("md"); goto tO3Y5; lPExh: if ($q8mNn) { goto oJSAV; } goto d3quS; FyCeI: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getName(); goto korUH; GZie9: if ($c0JQM) { goto Ewetq; } goto pX0j0; uQMnM: $eKDgp = str_replace(".", ",", round($LFxmp->getGrandTotal(), 2)); goto fErFG; Ofln2: if ($q8mNn) { goto X6DG0; } goto jpBph; LmyFl: goto hVpjN; goto FtqEg; OGTf8: mT0jO: goto TjixS; QZ9R6: if ($this->_scopeConfig->getValue("exportbrt_section/brt_notifiche/VABEMD", ScopeInterface::SCOPE_STORE) == 1) { goto c6K8p; } goto rvdkm; n_EQz: $Yg3Pz = $Yg3Pz . ";" . trim($this->_scopeConfig->getValue("exportbrt_section/brt_setup/VABLNP", ScopeInterface::SCOPE_STORE)); goto lPExh; jto85: $F1z2t = $LFxmp->getIncrementId(); goto y0L7F; zySeD: Ewetq: goto Jd2Mx; yYEan: $ZOuqp = $this->_scopeConfig->getValue("exportbrt_section/COD_setup/flagtipocontrassegno", ScopeInterface::SCOPE_STORE); goto GmLd0; pX0j0: $c0JQM = $LFxmp->getBillingAddress(); goto zySeD; cr1C8: $Yg3Pz = $Yg3Pz . ";" . str_replace(".", ",", round($iAVJB, 1)); goto VXYQM; NfQyR: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getCity(); goto PVsvA; zFqKQ: oJSAV: goto BQ2CV; BQ2CV: $Yg3Pz = $Yg3Pz . ";370"; goto ilB9k; AdAov: $q8mNn = true; goto lD2Vz; PQnWb: $Yg3Pz = $Yg3Pz . ";" . $this->_scopeConfig->getValue("exportbrt_section/gestpeso/peso_manuale", ScopeInterface::SCOPE_STORE); goto MzdK8; PVsvA: $Yg3Pz = $Yg3Pz . ";" . $c0JQM->getPostcode(); goto avl9L; KS65G: $Yg3Pz = $Yg3Pz . ";"; goto TWjgH; m0rwm: $iPXNi = $this->_scopeConfig->getValue("exportbrt_section/COD_setup/contrassegno", ScopeInterface::SCOPE_STORE); goto rF8KF; vrV0r: goto VYKt1; goto PbaOg; kHWRu: $Yg3Pz = $Yg3Pz . ";"; goto QZ9R6; DU4bW: } goto iNAjq; z7iFW: $Yg3Pz = ''; goto tIxap; xDTg9: $wv0Rt = str_replace("https://", '', $wv0Rt); goto SP0nD; cE1J4: if (!($QWb2r = "/")) { goto DupY3; } goto sTEJM; vqsul: $kXkQ3 = $this->_objectManager->create("Magento\Sales\Model\Order"); goto z7iFW; T3zX3: } public function _szpPrepareDownloadResponse($TxiPZ, $Yg3Pz) { goto xydED; LoDwR: echo $Yg3Pz; goto en9vZ; xydED: $Yg3Pz = utf8_decode($Yg3Pz); goto BkbBy; hprz_: header("Content-Type: application/csv"); goto CZfG1; BkbBy: header("Content-Type: application/force-download"); goto hprz_; CZfG1: header("Content-disposition: attachment; filename="" . $TxiPZ . """); goto LoDwR; en9vZ: } public function cll($wv0Rt) { goto jz_Ev; ItaBF: li9PJ: goto s0e41; jz_Ev: $nYFGV = $this->_scopeConfig->getValue("exportbrt_section/generale/licenza", ScopeInterface::SCOPE_STORE); goto RxfiT; s3_s6: $w5AH2++; goto SOPP1; SZ8i5: $CdUjZ = "Chiave Licenza Modulo "Export BRT Easy Sped" non valida per dominio: " . $wv0Rt; goto ihgmb; UX3v_: pGrqb: goto W8bMA; ySWjP: if (!($w5AH2 < 10)) { goto pGrqb; } goto tO2gv; s0e41: return true; goto rNkqM; ye03Q: $erDCu = "        <center>\xa        <br><h2>Chiave Licenza Modulo "Export BRT EasySped" non valida per dominio: <b> {$wv0Rt} </b></h2><br>
  \x9\x9 \x9Impostare la corretta chiave di licenza in Stores -> Configuration -> StudioZeroPixel -> Export BRT EasySped
        <br><br>
  \x9	 	Per assistenza rivolgersi a <a href="https://www.studiozeropixel.com" target="_blank">StudioZeroPixel</a>
        <script>
  	\x9\x9\x9function goBack()\xa  \x9\x9\x9	  {
  \x9\x9\x9	  window.history.back()
  \x9	\x9	  }
  \x9\x9\x9	</script>\xa          <br>\xa  \x9\x9\x9<input type="button" value="Torna all' amministrazione" onclick="goBack()">\xa        </center>"; goto G2rXu; ihgmb: $this->messageManager->addError($CdUjZ); goto ye03Q; W8bMA: if (!(sha1($HUM_X) != $nYFGV)) { goto li9PJ; } goto SZ8i5; aTA1M: EoofP: goto s3_s6; RxfiT: $HUM_X = $wv0Rt . "szpexportbrt"; goto QyULD; gitDq: return false; goto ItaBF; SOPP1: goto mapd1; goto UX3v_; QyULD: $w5AH2 = 1; goto M3ABa; M3ABa: mapd1: goto ySWjP; G2rXu: echo $erDCu; goto gitDq; tO2gv: $HUM_X .= $w5AH2; goto aTA1M; rNkqM: } } 

Function Calls

None

Variables

None

Stats

MD5 a0b86924a43bc20d414d0e45b4a3716b
Eval Count 0
Decode Time 71 ms