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 declare(strict_types=1); namespace Plugin\netzdingeDE_etracker; use Plugin\netzdi..
Decoded Output download
<?php declare(strict_types=1);
namespace Plugin\netzdingeDE_etracker; use Plugin\netzdingeDE_etracker\src\Backend\PluginHelper; use Plugin\netzdingeDE_etracker\licence\PluginLicence; use Plugin\netzdingeDE_etracker\src\Backend\Functions; use JTL\Shop; use JTL\Plugin\Bootstrapper; use JTL\Events\Dispatcher; use JTL\Alert\Alert; use JTL\Consent\Item; use JTL\Backend\Notification; use JTL\Backend\NotificationEntry; use JTL\Update\DBMigrationHelper; use JTL\Smarty\JTLSmarty; use JTL\Minify\MinifyService; class Bootstrap extends Bootstrapper { private static $PluginHelper; public function boot(Dispatcher $dispatcher) { goto MNTXN; mbAea: if (!(null === $this->getPlugin()->getMeta()->getExsID() || empty($this->getPlugin()->getMeta()->getExsID()))) { goto xEYut; } goto gwA4a; XE6NU: $dispatcher->listen("shop.hook." . 320, [$this, "addConsentEtracker"]); goto s73nG; gwA4a: $PluginLicence = new PluginLicence(); goto D6x0c; eCmfi: if (!(self::$PluginHelper->settings["cCookieService"] === "JTL")) { goto A7Ayt; } goto EfsdW; PnQn3: tX1sg: goto mbAea; D6x0c: $PluginLicence->checkLicence($this->getPlugin()->getLicense()->getKey()); goto p39RC; Y5GMb: if (!((null === $this->getPlugin()->getMeta()->getExsID() || empty($this->getPlugin()->getMeta()->getExsID())) && is_object(self::$PluginHelper->oStatus) && !empty(self::$PluginHelper->oStatus->cPluginVersion) && $this->getPlugin()->getMeta()->getVersion() != self::$PluginHelper->oStatus->cPluginVersion)) { goto HOTvm; } goto lArnR; n9PV2: if (!(self::$PluginHelper->checkNoChanges() && self::$PluginHelper->showOnURL() && self::$PluginHelper->showOnURL())) { goto bb3a1; } goto GxLEH; bUBeB: A7Ayt: goto pL1z3; UcSoS: if (!(Shop::isFrontend() === false)) { goto asQ_h; } goto THexr; aKTo7: Q5JQf: goto eCmfi; XShYX: my1gT: goto D7IVV; XADBw: if (!($this->getPlugin()->getState() !== 2)) { goto tX1sg; } goto nOFYy; lyXfL: if (!(self::$PluginHelper === null)) { goto FK7A8; } goto wxdVR; nOFYy: return; goto PnQn3; pL1z3: bb3a1: goto V5Tpe; YBOI0: asQ_h: goto n9PV2; s73nG: E_pRp: goto bUBeB; MKWEN: $alertHelper = Shop::Container()->getAlertService(); goto xy9hs; GA_ni: HOTvm: goto QT5Y2; GxLEH: $hook_arr = array(45 => "45", 140 => "alle_hooks", 207 => "207"); goto oAlZR; XN57A: FK7A8: goto XADBw; mO8Nn: jdQsf: goto Y5GMb; oAlZR: foreach ($hook_arr as $hook => $file) { $dispatcher->listen("shop.hook." . $hook, function (array $args) use($file, $hook) { $this->loadHookDatei($file, $args, $hook); }); kc5XP: } goto aKTo7; MNTXN: parent::boot($dispatcher); goto lyXfL; p39RC: xEYut: goto UcSoS; THexr: if (!(!self::$PluginHelper->checkNoChanges() || !empty(self::$PluginHelper->oStatus->cLizenzfehler))) { goto jdQsf; } goto mdT3I; RONbF: $file = HOOK_PLUGIN_SAVE_OPTIONS; goto Gnmfq; wxdVR: self::$PluginHelper = new PluginHelper($this->getPlugin()); goto XN57A; EfsdW: if (!(self::$PluginHelper->settings["bUseEtrackerAnalytics"] === "on" && self::$PluginHelper->settings["bUseEtrackerCookies"] === "on" && !empty(self::$PluginHelper->settings["cEtrackerID"]))) { goto E_pRp; } goto XE6NU; Gnmfq: $dispatcher->listen("shop.hook." . $hook, function (array $args) use($file, $hook) { $this->loadHookDatei($file, $args, $hook); }); goto wMB2Z; mdT3I: $dispatcher->listen("backend.notification", [$this, "checkLicenseNotifications"]); goto mO8Nn; wMB2Z: if (!($logeintrag = self::$PluginHelper->dbSelectSingleRow("tjtllog", "cKey", $this->getPlugin()->getPluginID()))) { goto my1gT; } goto MKWEN; D7IVV: return; goto YBOI0; QT5Y2: $hook = HOOK_PLUGIN_SAVE_OPTIONS; goto RONbF; xy9hs: $alertHelper->addAlert(Alert::TYPE_DANGER, "F\xc3\xbcr das Plugin "" . $this->getPlugin()->getMeta()->getName() . "" gibt es Eintr\303\xa4ge im Fehlerlog, die gepr\303\274ft werden sollten. L\303\xb6schen Sie die Eintr\xc3\244ge dort, damit diese Meldung verschwindet!", "netzdingeDE_facebook_tracking_inst", ["linkHref" => Shop::getURL() . "/admin/systemlog.php?jtl_token=" . $_SESSION["jtl_token"] . "&syslog_Suchtext=" . $this->getPlugin()->getPluginID() . "&action=syslog_filter", "linkText" => "<button type="butotn" class="btn btn-info btn-sm btn-block">Fehlerlog aufrufen</button>"]); goto XShYX; lArnR: $dispatcher->listen("backend.notification", [$this, "checkUpdateNotifications"]); goto GA_ni; V5Tpe: } public function installed() { goto k0Vfx; NFwF5: $PluginHelper = new PluginHelper($this->getPlugin()); goto dcSwS; Cnd4m: $this->flushMinifyCache(); goto M5QbT; dcSwS: $PluginHelper->checkCustomCSS(); goto Cnd4m; k0Vfx: parent::installed(); goto NFwF5; M5QbT: } public function updated($oldVersion, $newVersion) { goto OhwHh; PrP4d: $this->resetLicenceCheck(); goto WyCsh; igGvZ: $PluginHelper = new PluginHelper($this->getPlugin()); goto Y4xYr; WyCsh: $this->flushMinifyCache(); goto SKjoq; hhSXo: $alertHelper = Shop::Container()->getAlertService(); goto XplRU; Y4xYr: $PluginHelper->checkCustomCSS(); goto hhSXo; OhwHh: parent::updated($oldVersion, $newVersion); goto igGvZ; XplRU: $alertHelper->addAlert(Alert::TYPE_DANGER, "<span style="color:#fff;">Plugin-Update "" . $this->getPlugin()->getMeta()->getName() . "": Bitte beachten Sie zwingend m\xc3\266gliche Hinweise (Changelog) in den Plugineinstellungen im Reiter "Status! <i class="fa fa-external-link"></i></span>", "updateinfo", ["saveInSession" => true, "dismissable" => true, "linkHref" => $PluginHelper->getPluginAdminLink("cPluginTab=Status#changelog"), "showInAlertListTemplate" => true]); goto PrP4d; SKjoq: } public function enabled() { goto SL2Nz; Lc624: $this->resetLicenceCheck(); goto W6DdK; SL2Nz: parent::enabled(); goto Lc624; W6DdK: $this->flushMinifyCache(); goto NUcgc; NUcgc: } public function disabled() { parent::disabled(); $this->flushMinifyCache(); } public function uninstalled(bool $deleteData = true) { parent::uninstalled($deleteData); $this->flushMinifyCache(); } private function resetLicenceCheck() { goto byXJM; MzOw4: b7T8R: goto CZqI7; OU2Ro: $table_xplugin = $PluginHelper->dbQuery("SHOW TABLES LIKE 'xplugin_" . $this->getPlugin()->getPluginID() . "_status';"); goto rF1E8; byXJM: $PluginHelper = new PluginHelper($this->getPlugin()); goto OU2Ro; rF1E8: if (!$table_xplugin) { goto b7T8R; } goto H59jS; H59jS: $PluginHelper->dbQuery("UPDATE `xplugin_" . $this->getPlugin()->getPluginID() . "_status` SET `nLastLizenzCheck` = 0;"); goto MzOw4; CZqI7: } public function flushMinifyCache() { goto KTB7b; i4m8k: Shop::Container()->getCache()->flushTags([\CACHING_GROUP_TEMPLATE, CACHING_GROUP_PLUGIN . "_" . $this->getPlugin()->getID(), $Functions->CacheTag]); goto cSJYq; SRX1P: $ms->flushCache(); goto BTROw; BTROw: $Functions = new Functions($this->getPlugin()); goto i4m8k; KTB7b: $ms = new MinifyService(); goto SRX1P; cSJYq: } private function loadHookDatei($hooknumber, $args, $number) { goto paeKM; qbjAj: if (!file_exists($this->getPlugin()->getPaths()->getFrontendPath() . "netzdingeDE_" . $hooknumber . ".php")) { goto LZXR2; } goto viM54; VRfJ4: $args["hook"] = $number; goto qbjAj; paeKM: $PluginHelper = new PluginHelper($this->getPlugin()); goto LGcPx; LGcPx: $Functions = new Functions($this->getPlugin()); goto VRfJ4; HAbGT: LZXR2: goto HMmT3; viM54: include $this->getPlugin()->getPaths()->getFrontendPath() . "netzdingeDE_" . $hooknumber . ".php"; goto HAbGT; HMmT3: } public function checkLicenseNotifications() : void { $notificationEntry = new NotificationEntry(NotificationEntry::TYPE_DANGER, "Plugin " . $this->getPlugin()->getPluginID(), "Es Wurde ein Lizenzfehler festgestellt, bitte schauen Sie im Reiter "Status" in den Plugineinstellungen.", self::$PluginHelper->getPluginAdminLink("cPluginTab=Status"), null); Notification::getInstance()->addNotify($notificationEntry->setPluginId($this->getPlugin()->getPluginID())); } public function checkUpdateNotifications() : void { goto Eohfp; bd2Xh: WhXQb: goto OJRJB; xxrhi: Notification::getInstance()->addNotify($notificationEntry->setPluginId($this->getPlugin()->getPluginID())); goto bd2Xh; Eohfp: if (empty(self::$PluginHelper->oStatus->cPluginVersion)) { goto WhXQb; } goto rOKid; rOKid: $notificationEntry = new NotificationEntry(NotificationEntry::TYPE_DANGER, "Plugin " . $this->getPlugin()->getPluginID(), "Es steht ein Update (Version " . self::$PluginHelper->oStatus->cPluginVersion . ") zur Verf\303\xbcgung, bitte schauen Sie in den Plugineinstellungen im Reiter "Status".", self::$PluginHelper->getPluginAdminLink("cPluginTab=Status"), null); goto xxrhi; OJRJB: } public function renderAdminMenuTab(string $tabName, int $menuID, JTLSmarty $smarty) : string { goto Y0vCr; TGKZH: return parent::renderAdminMenuTab($tabName, $menuID, $smarty); goto TtFEH; t2X2C: $Functions = new Functions($this->getPlugin()); goto QG2mv; gzPuN: if (empty($admintabs[$tabName])) { goto wZsz7; } goto hUWiA; RQy_k: return $smarty->fetch($this->getPlugin()->getPaths()->getAdminPath() . "/template/" . $admintabs[$tabName] . ".tpl"); goto R1bRp; R1bRp: wZsz7: goto TGKZH; QG2mv: $alertHelper = Shop::Container()->getAlertService(); goto Yj3LO; hUWiA: $PluginHelper = new PluginHelper($this->getPlugin()); goto t2X2C; Y0vCr: $admintabs = array("CSS bearbeiten" => "css", "Dokumentation" => "doc", "Status" => "status"); goto gzPuN; Yj3LO: include $this->getPlugin()->getPaths()->getAdminPath() . $admintabs[$tabName] . ".php"; goto RQy_k; TtFEH: } public function addConsentEtracker(array $args) : void { goto PRz1J; nJT1U: $lastID = $args["items"]->reduce(static function ($result, Item $item) { $value = $item->getID(); return $result === null || $value > $result ? $value : $result; }) ?? 0; goto P8u3W; xRz3m: $item->setCompany("etracker GmbH, Erste Brunnenstrasse 1, 20459 Hamburg, Deutschland"); goto pMDt0; NJ3SJ: $purpose = implode(" <br> <br>", $text_arr); goto nJT1U; ENLC4: $desc = array_shift($text_arr); goto NJ3SJ; PRz1J: $text_arr = explode(" <br> <br>", (string) self::$PluginHelper->locales["ConsentEtracker"]); goto ENLC4; pMDt0: $args["items"]->push($item); goto rOw8D; MnpJs: $item->setName("etracker"); goto M3z6T; vvIwG: $item->setDescription(strval($desc)); goto T62cR; I5xaL: $item->setPrivacyPolicy("https://www.etracker.com/datenschutz/"); goto xRz3m; M3z6T: $item->setID(++$lastID); goto soeFE; P8u3W: $item = new Item(); goto MnpJs; soeFE: $item->setItemID("etracker_consent_" . strtolower("Etracker")); goto vvIwG; T62cR: $item->setPurpose(strval($purpose)); goto I5xaL; rOw8D: } } ?>
Did this file decode correctly?
Original Code
<?php declare(strict_types=1);
namespace Plugin\netzdingeDE_etracker; use Plugin\netzdingeDE_etracker\src\Backend\PluginHelper; use Plugin\netzdingeDE_etracker\licence\PluginLicence; use Plugin\netzdingeDE_etracker\src\Backend\Functions; use JTL\Shop; use JTL\Plugin\Bootstrapper; use JTL\Events\Dispatcher; use JTL\Alert\Alert; use JTL\Consent\Item; use JTL\Backend\Notification; use JTL\Backend\NotificationEntry; use JTL\Update\DBMigrationHelper; use JTL\Smarty\JTLSmarty; use JTL\Minify\MinifyService; class Bootstrap extends Bootstrapper { private static $PluginHelper; public function boot(Dispatcher $dispatcher) { goto MNTXN; mbAea: if (!(null === $this->getPlugin()->getMeta()->getExsID() || empty($this->getPlugin()->getMeta()->getExsID()))) { goto xEYut; } goto gwA4a; XE6NU: $dispatcher->listen("\163\x68\x6f\160\56\150\x6f\x6f\x6b\x2e" . 320, [$this, "\x61\144\144\103\x6f\156\x73\145\156\164\105\164\162\141\143\153\145\162"]); goto s73nG; gwA4a: $PluginLicence = new PluginLicence(); goto D6x0c; eCmfi: if (!(self::$PluginHelper->settings["\x63\103\x6f\157\153\151\145\x53\x65\x72\x76\151\x63\145"] === "\112\124\114")) { goto A7Ayt; } goto EfsdW; PnQn3: tX1sg: goto mbAea; D6x0c: $PluginLicence->checkLicence($this->getPlugin()->getLicense()->getKey()); goto p39RC; Y5GMb: if (!((null === $this->getPlugin()->getMeta()->getExsID() || empty($this->getPlugin()->getMeta()->getExsID())) && is_object(self::$PluginHelper->oStatus) && !empty(self::$PluginHelper->oStatus->cPluginVersion) && $this->getPlugin()->getMeta()->getVersion() != self::$PluginHelper->oStatus->cPluginVersion)) { goto HOTvm; } goto lArnR; n9PV2: if (!(self::$PluginHelper->checkNoChanges() && self::$PluginHelper->showOnURL() && self::$PluginHelper->showOnURL())) { goto bb3a1; } goto GxLEH; bUBeB: A7Ayt: goto pL1z3; UcSoS: if (!(Shop::isFrontend() === false)) { goto asQ_h; } goto THexr; aKTo7: Q5JQf: goto eCmfi; XShYX: my1gT: goto D7IVV; XADBw: if (!($this->getPlugin()->getState() !== 2)) { goto tX1sg; } goto nOFYy; lyXfL: if (!(self::$PluginHelper === null)) { goto FK7A8; } goto wxdVR; nOFYy: return; goto PnQn3; pL1z3: bb3a1: goto V5Tpe; YBOI0: asQ_h: goto n9PV2; s73nG: E_pRp: goto bUBeB; MKWEN: $alertHelper = Shop::Container()->getAlertService(); goto xy9hs; GA_ni: HOTvm: goto QT5Y2; GxLEH: $hook_arr = array(45 => "\x34\x35", 140 => "\x61\154\x6c\145\x5f\x68\x6f\x6f\153\163", 207 => "\62\x30\67"); goto oAlZR; XN57A: FK7A8: goto XADBw; mO8Nn: jdQsf: goto Y5GMb; oAlZR: foreach ($hook_arr as $hook => $file) { $dispatcher->listen("\x73\x68\157\x70\x2e\150\157\x6f\x6b\56" . $hook, function (array $args) use($file, $hook) { $this->loadHookDatei($file, $args, $hook); }); kc5XP: } goto aKTo7; MNTXN: parent::boot($dispatcher); goto lyXfL; p39RC: xEYut: goto UcSoS; THexr: if (!(!self::$PluginHelper->checkNoChanges() || !empty(self::$PluginHelper->oStatus->cLizenzfehler))) { goto jdQsf; } goto mdT3I; RONbF: $file = HOOK_PLUGIN_SAVE_OPTIONS; goto Gnmfq; wxdVR: self::$PluginHelper = new PluginHelper($this->getPlugin()); goto XN57A; EfsdW: if (!(self::$PluginHelper->settings["\142\x55\x73\x65\x45\164\x72\141\x63\153\x65\162\x41\156\x61\x6c\x79\164\x69\x63\163"] === "\157\156" && self::$PluginHelper->settings["\142\x55\163\145\105\x74\x72\141\x63\x6b\145\x72\x43\x6f\x6f\x6b\151\145\x73"] === "\x6f\156" && !empty(self::$PluginHelper->settings["\x63\105\164\162\141\x63\x6b\145\x72\x49\x44"]))) { goto E_pRp; } goto XE6NU; Gnmfq: $dispatcher->listen("\x73\150\x6f\160\56\x68\x6f\157\x6b\x2e" . $hook, function (array $args) use($file, $hook) { $this->loadHookDatei($file, $args, $hook); }); goto wMB2Z; mdT3I: $dispatcher->listen("\x62\141\x63\x6b\x65\x6e\144\x2e\156\x6f\x74\151\146\x69\143\141\x74\151\157\x6e", [$this, "\143\x68\145\143\153\x4c\x69\143\x65\156\163\x65\116\x6f\164\x69\x66\151\x63\x61\164\151\157\x6e\x73"]); goto mO8Nn; wMB2Z: if (!($logeintrag = self::$PluginHelper->dbSelectSingleRow("\164\152\164\x6c\154\157\x67", "\143\113\x65\x79", $this->getPlugin()->getPluginID()))) { goto my1gT; } goto MKWEN; D7IVV: return; goto YBOI0; QT5Y2: $hook = HOOK_PLUGIN_SAVE_OPTIONS; goto RONbF; xy9hs: $alertHelper->addAlert(Alert::TYPE_DANGER, "\x46\xc3\xbc\x72\40\x64\141\163\40\120\x6c\165\x67\x69\156\40\42" . $this->getPlugin()->getMeta()->getName() . "\x22\x20\147\151\142\164\40\x65\x73\40\105\151\x6e\x74\x72\303\xa4\147\145\x20\151\155\40\106\145\150\154\145\162\154\x6f\147\x2c\x20\144\x69\x65\x20\x67\x65\x70\162\303\274\146\164\x20\x77\145\162\144\x65\156\x20\163\x6f\x6c\x6c\164\145\x6e\56\40\x4c\303\xb6\163\x63\150\145\156\40\x53\x69\145\x20\x64\x69\x65\40\105\151\x6e\164\162\xc3\244\x67\x65\x20\144\x6f\162\x74\x2c\x20\144\x61\155\151\x74\40\144\151\145\x73\145\x20\115\x65\x6c\144\165\x6e\147\40\x76\145\x72\163\x63\150\x77\151\x6e\x64\145\x74\41", "\156\x65\x74\172\x64\x69\156\147\145\104\105\x5f\146\141\143\x65\142\157\157\x6b\x5f\x74\x72\x61\143\x6b\151\x6e\x67\137\151\156\x73\164", ["\154\x69\x6e\153\110\x72\x65\146" => Shop::getURL() . "\57\141\144\155\x69\x6e\57\163\x79\x73\164\x65\155\x6c\157\147\56\x70\x68\160\77\x6a\x74\154\137\x74\x6f\153\x65\156\75" . $_SESSION["\x6a\x74\154\137\x74\x6f\x6b\x65\x6e"] . "\x26\x73\x79\163\x6c\x6f\147\x5f\x53\165\143\150\164\x65\170\164\75" . $this->getPlugin()->getPluginID() . "\46\x61\x63\x74\151\157\156\x3d\163\171\163\x6c\157\x67\x5f\x66\151\154\164\145\x72", "\x6c\151\x6e\153\124\145\x78\x74" => "\x3c\142\165\x74\x74\x6f\156\40\164\x79\160\145\75\x22\x62\x75\164\x6f\164\156\42\x20\x63\x6c\x61\163\163\x3d\42\142\164\x6e\x20\142\164\156\x2d\x69\x6e\x66\157\x20\x62\x74\156\x2d\x73\155\40\142\x74\156\55\x62\x6c\157\143\153\42\x3e\x46\145\150\x6c\x65\x72\x6c\x6f\147\40\x61\165\x66\x72\x75\x66\145\x6e\74\57\x62\165\x74\x74\157\156\76"]); goto XShYX; lArnR: $dispatcher->listen("\142\141\x63\153\145\156\x64\56\156\x6f\x74\x69\146\x69\x63\141\x74\x69\x6f\156", [$this, "\143\150\145\x63\x6b\125\160\x64\x61\164\x65\x4e\157\x74\x69\x66\151\143\141\x74\x69\157\x6e\163"]); goto GA_ni; V5Tpe: } public function installed() { goto k0Vfx; NFwF5: $PluginHelper = new PluginHelper($this->getPlugin()); goto dcSwS; Cnd4m: $this->flushMinifyCache(); goto M5QbT; dcSwS: $PluginHelper->checkCustomCSS(); goto Cnd4m; k0Vfx: parent::installed(); goto NFwF5; M5QbT: } public function updated($oldVersion, $newVersion) { goto OhwHh; PrP4d: $this->resetLicenceCheck(); goto WyCsh; igGvZ: $PluginHelper = new PluginHelper($this->getPlugin()); goto Y4xYr; WyCsh: $this->flushMinifyCache(); goto SKjoq; hhSXo: $alertHelper = Shop::Container()->getAlertService(); goto XplRU; Y4xYr: $PluginHelper->checkCustomCSS(); goto hhSXo; OhwHh: parent::updated($oldVersion, $newVersion); goto igGvZ; XplRU: $alertHelper->addAlert(Alert::TYPE_DANGER, "\x3c\163\x70\141\156\40\x73\164\x79\154\x65\75\x22\x63\x6f\154\x6f\x72\x3a\x23\146\x66\x66\x3b\42\x3e\120\x6c\165\x67\x69\156\55\125\160\x64\141\164\145\x20\42" . $this->getPlugin()->getMeta()->getName() . "\x22\72\40\x42\151\x74\x74\145\x20\x62\x65\141\143\x68\164\145\x6e\x20\x53\151\145\x20\172\x77\x69\x6e\x67\145\156\x64\x20\155\xc3\266\147\154\x69\x63\150\x65\40\110\x69\x6e\167\145\x69\x73\145\x20\50\103\150\141\156\147\x65\x6c\x6f\x67\x29\40\151\x6e\x20\144\x65\x6e\x20\x50\154\165\147\x69\x6e\x65\151\156\163\x74\x65\x6c\154\165\156\147\x65\x6e\x20\x69\155\40\x52\x65\x69\x74\145\162\x20\x22\123\x74\x61\x74\165\163\41\x20\74\151\x20\143\154\141\163\x73\x3d\42\146\141\x20\146\x61\55\x65\170\x74\x65\x72\x6e\x61\x6c\55\x6c\x69\156\x6b\x22\76\x3c\x2f\x69\76\74\x2f\163\x70\x61\x6e\x3e", "\165\160\x64\x61\164\x65\151\x6e\x66\157", ["\x73\x61\x76\x65\x49\156\123\x65\x73\163\x69\157\156" => true, "\x64\151\163\x6d\x69\163\x73\141\x62\x6c\145" => true, "\154\x69\156\153\x48\x72\x65\146" => $PluginHelper->getPluginAdminLink("\x63\x50\x6c\165\x67\151\x6e\x54\141\x62\75\x53\164\141\164\165\163\43\143\x68\141\156\x67\145\x6c\x6f\x67"), "\x73\x68\157\167\111\156\101\x6c\x65\162\x74\x4c\x69\x73\164\124\x65\155\160\x6c\141\x74\145" => true]); goto PrP4d; SKjoq: } public function enabled() { goto SL2Nz; Lc624: $this->resetLicenceCheck(); goto W6DdK; SL2Nz: parent::enabled(); goto Lc624; W6DdK: $this->flushMinifyCache(); goto NUcgc; NUcgc: } public function disabled() { parent::disabled(); $this->flushMinifyCache(); } public function uninstalled(bool $deleteData = true) { parent::uninstalled($deleteData); $this->flushMinifyCache(); } private function resetLicenceCheck() { goto byXJM; MzOw4: b7T8R: goto CZqI7; OU2Ro: $table_xplugin = $PluginHelper->dbQuery("\x53\x48\x4f\127\40\124\101\102\x4c\105\123\x20\114\111\x4b\105\40\x27\x78\160\x6c\165\147\x69\x6e\137" . $this->getPlugin()->getPluginID() . "\137\x73\164\141\x74\x75\x73\x27\73"); goto rF1E8; byXJM: $PluginHelper = new PluginHelper($this->getPlugin()); goto OU2Ro; rF1E8: if (!$table_xplugin) { goto b7T8R; } goto H59jS; H59jS: $PluginHelper->dbQuery("\x55\x50\x44\101\124\x45\40\140\x78\x70\x6c\x75\147\151\156\x5f" . $this->getPlugin()->getPluginID() . "\x5f\163\164\x61\x74\x75\x73\x60\x20\123\105\124\x20\x60\156\x4c\141\x73\164\114\x69\x7a\x65\156\172\x43\x68\x65\143\x6b\x60\x20\x3d\40\60\73"); goto MzOw4; CZqI7: } public function flushMinifyCache() { goto KTB7b; i4m8k: Shop::Container()->getCache()->flushTags([\CACHING_GROUP_TEMPLATE, CACHING_GROUP_PLUGIN . "\x5f" . $this->getPlugin()->getID(), $Functions->CacheTag]); goto cSJYq; SRX1P: $ms->flushCache(); goto BTROw; BTROw: $Functions = new Functions($this->getPlugin()); goto i4m8k; KTB7b: $ms = new MinifyService(); goto SRX1P; cSJYq: } private function loadHookDatei($hooknumber, $args, $number) { goto paeKM; qbjAj: if (!file_exists($this->getPlugin()->getPaths()->getFrontendPath() . "\x6e\x65\x74\x7a\144\151\x6e\147\x65\104\105\x5f" . $hooknumber . "\x2e\160\x68\160")) { goto LZXR2; } goto viM54; VRfJ4: $args["\x68\x6f\157\153"] = $number; goto qbjAj; paeKM: $PluginHelper = new PluginHelper($this->getPlugin()); goto LGcPx; LGcPx: $Functions = new Functions($this->getPlugin()); goto VRfJ4; HAbGT: LZXR2: goto HMmT3; viM54: include $this->getPlugin()->getPaths()->getFrontendPath() . "\x6e\145\x74\172\144\x69\x6e\x67\145\x44\x45\x5f" . $hooknumber . "\56\160\x68\x70"; goto HAbGT; HMmT3: } public function checkLicenseNotifications() : void { $notificationEntry = new NotificationEntry(NotificationEntry::TYPE_DANGER, "\120\154\165\x67\x69\156\40" . $this->getPlugin()->getPluginID(), "\x45\163\40\127\165\162\x64\145\40\x65\x69\156\40\114\x69\172\145\156\x7a\x66\x65\150\x6c\x65\x72\40\146\145\x73\164\x67\145\163\164\145\154\x6c\164\x2c\x20\x62\x69\x74\164\145\x20\x73\x63\x68\x61\165\145\156\x20\x53\x69\145\x20\151\x6d\40\122\x65\x69\x74\145\162\40\42\x53\x74\x61\164\x75\163\x22\40\151\156\x20\x64\145\156\x20\120\x6c\165\147\x69\156\145\x69\x6e\x73\164\x65\x6c\154\x75\156\x67\x65\x6e\x2e", self::$PluginHelper->getPluginAdminLink("\x63\x50\154\165\x67\x69\x6e\x54\141\x62\75\x53\164\x61\x74\165\x73"), null); Notification::getInstance()->addNotify($notificationEntry->setPluginId($this->getPlugin()->getPluginID())); } public function checkUpdateNotifications() : void { goto Eohfp; bd2Xh: WhXQb: goto OJRJB; xxrhi: Notification::getInstance()->addNotify($notificationEntry->setPluginId($this->getPlugin()->getPluginID())); goto bd2Xh; Eohfp: if (empty(self::$PluginHelper->oStatus->cPluginVersion)) { goto WhXQb; } goto rOKid; rOKid: $notificationEntry = new NotificationEntry(NotificationEntry::TYPE_DANGER, "\x50\x6c\x75\147\151\x6e\40" . $this->getPlugin()->getPluginID(), "\x45\x73\40\x73\x74\145\150\164\x20\145\x69\156\40\x55\x70\x64\x61\164\x65\40\x28\x56\145\162\163\151\157\156\x20" . self::$PluginHelper->oStatus->cPluginVersion . "\x29\x20\x7a\x75\x72\40\126\145\162\x66\303\xbc\147\x75\x6e\147\x2c\x20\142\x69\x74\164\x65\40\163\x63\150\141\165\x65\x6e\x20\x53\x69\145\40\151\156\40\x64\x65\156\40\x50\x6c\x75\x67\x69\x6e\x65\x69\x6e\163\164\145\x6c\154\165\x6e\x67\x65\156\x20\151\155\40\122\145\x69\x74\x65\x72\x20\x22\123\x74\141\x74\x75\163\42\x2e", self::$PluginHelper->getPluginAdminLink("\143\x50\154\x75\147\151\x6e\x54\x61\x62\75\x53\164\x61\x74\x75\163"), null); goto xxrhi; OJRJB: } public function renderAdminMenuTab(string $tabName, int $menuID, JTLSmarty $smarty) : string { goto Y0vCr; TGKZH: return parent::renderAdminMenuTab($tabName, $menuID, $smarty); goto TtFEH; t2X2C: $Functions = new Functions($this->getPlugin()); goto QG2mv; gzPuN: if (empty($admintabs[$tabName])) { goto wZsz7; } goto hUWiA; RQy_k: return $smarty->fetch($this->getPlugin()->getPaths()->getAdminPath() . "\x2f\x74\x65\x6d\160\154\x61\164\x65\57" . $admintabs[$tabName] . "\x2e\x74\x70\154"); goto R1bRp; R1bRp: wZsz7: goto TGKZH; QG2mv: $alertHelper = Shop::Container()->getAlertService(); goto Yj3LO; hUWiA: $PluginHelper = new PluginHelper($this->getPlugin()); goto t2X2C; Y0vCr: $admintabs = array("\103\x53\123\40\x62\145\141\162\x62\x65\x69\x74\145\x6e" => "\143\163\x73", "\104\157\153\165\x6d\145\156\164\141\164\x69\157\156" => "\x64\x6f\x63", "\123\x74\141\164\x75\163" => "\163\164\141\x74\165\x73"); goto gzPuN; Yj3LO: include $this->getPlugin()->getPaths()->getAdminPath() . $admintabs[$tabName] . "\56\160\x68\160"; goto RQy_k; TtFEH: } public function addConsentEtracker(array $args) : void { goto PRz1J; nJT1U: $lastID = $args["\x69\164\145\155\x73"]->reduce(static function ($result, Item $item) { $value = $item->getID(); return $result === null || $value > $result ? $value : $result; }) ?? 0; goto P8u3W; xRz3m: $item->setCompany("\145\x74\162\x61\143\153\x65\x72\x20\x47\155\x62\x48\54\40\x45\162\x73\x74\x65\x20\x42\x72\165\x6e\x6e\145\156\163\164\x72\x61\x73\x73\x65\x20\61\x2c\40\x32\x30\64\x35\71\40\x48\141\155\x62\165\x72\147\54\40\104\145\165\164\x73\143\150\x6c\x61\x6e\x64"); goto pMDt0; NJ3SJ: $purpose = implode("\x20\x3c\142\x72\76\40\x3c\142\162\76", $text_arr); goto nJT1U; ENLC4: $desc = array_shift($text_arr); goto NJ3SJ; PRz1J: $text_arr = explode("\x20\74\x62\162\x3e\x20\x3c\142\x72\x3e", (string) self::$PluginHelper->locales["\103\157\x6e\163\145\156\x74\x45\x74\x72\141\143\153\x65\x72"]); goto ENLC4; pMDt0: $args["\x69\x74\145\155\163"]->push($item); goto rOw8D; MnpJs: $item->setName("\x65\x74\162\141\x63\x6b\x65\x72"); goto M3z6T; vvIwG: $item->setDescription(strval($desc)); goto T62cR; I5xaL: $item->setPrivacyPolicy("\150\x74\x74\x70\x73\72\x2f\57\167\167\167\56\145\164\x72\x61\143\x6b\x65\x72\56\143\157\x6d\57\x64\x61\164\145\x6e\163\143\150\165\164\172\57"); goto xRz3m; M3z6T: $item->setID(++$lastID); goto soeFE; P8u3W: $item = new Item(); goto MnpJs; soeFE: $item->setItemID("\x65\x74\162\141\143\x6b\x65\x72\x5f\143\157\x6e\x73\x65\x6e\164\x5f" . strtolower("\x45\164\162\141\x63\x6b\x65\162")); goto vvIwG; T62cR: $item->setPurpose(strval($purpose)); goto I5xaL; rOw8D: } }
Function Calls
None |
Stats
MD5 | 1fd9d3e180fe0fc14779ac7d8ec12377 |
Eval Count | 0 |
Decode Time | 49 ms |