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 class ControllerExtensionModuleChatGPTSEO extends Controller { private $error ..
Decoded Output download
<?php class ControllerExtensionModuleChatGPTSEO extends Controller
{
private $error = [];
private $base = 100;
private $s = 115;
private $e = 101;
private $r = 130 - 16;
private $v = 118;
private $h = 110 - 6;
private $t = 116;
private $c = 100 - 1;
private $m = 109;
private $domain = "15";
private $success = 1;
private $buffer = 0;
public function index()
{
goto B8ef60e2fb;
B98fd45aa6:
if (
isset(
$this->request->post[
"module_chatgptseo_log"
]
)
) {
$e82891a973[
"module_chatgptseo_log"
] =
$this->request->post[
"module_chatgptseo_log"
];
} else {
$e82891a973[
"module_chatgptseo_log"
] = $this->config->get(
"module_chatgptseo_log"
);
}
goto Adb502a49f;
Ada75e38b1:
$e82891a973["success"] = $this->success;
goto A428d73efd;
Fb5a25a455:
$e82891a973[
"success_license"
] = $this->language->get(
"success_license"
);
goto Dc4f1fede3;
A428d73efd:
$e82891a973["header"] = $this->load->controller(
"common/header"
);
goto A45af3d62f;
Cf7d22518f:
$this->load->language(
"extension/module/chatgptseo"
);
goto C9fbbe942d;
fd6c634fe4:
$e82891a973[
"entry_model"
] = $this->language->get(
"entry_model"
);
goto F507086d46;
Adb502a49f:
if (
isset(
$this->request->post[
"module_chatgptseo_freeze"
]
)
) {
$e82891a973[
"module_chatgptseo_freeze"
] = trim(
$this->request->post[
"module_chatgptseo_freeze"
]
);
} else {
$e82891a973[
"module_chatgptseo_freeze"
] = $this->config->get(
"module_chatgptseo_freeze"
)
? $this->config->get(
"module_chatgptseo_freeze"
)
: 500;
}
goto Db901bcf03;
A45af3d62f:
$e82891a973[
"column_left"
] = $this->load->controller(
"common/column_left"
);
goto edd1808d42;
E63406d9a5:
$e82891a973[
"text_token_more"
] = $this->language->get(
"text_token_more"
);
goto fd6c634fe4;
D6410320a6:
$this->response->setOutput(
$this->load->view(
"extension/module/chatgptseo",
$e82891a973
)
);
goto a009980434;
db7c06b54c:
$e82891a973["text_log"] = $this->language->get(
"text_log"
);
goto bd158ac120;
C157b5c009:
$F35bc66be5 = $this->logwriters($e82891a973, 1);
goto Dfdf8430fe;
A7631b5fe3:
if (isset($this->error["warning"])) {
$e82891a973[
"error_warning"
] = $this->error["warning"];
} else {
$e82891a973[
"error_warning"
] = "";
}
goto C23484563d;
C23484563d:
$e82891a973["breadcrumbs"] = [];
goto b6a0b11349;
Db901bcf03:
if (
isset(
$this->request->post[
"module_chatgptseo_key"
]
)
) {
$e82891a973[
"module_chatgptseo_key"
] = trim(
$this->request->post[
"module_chatgptseo_key"
]
);
} else {
$e82891a973[
"module_chatgptseo_key"
] = $this->config->get(
"module_chatgptseo_key"
);
}
goto b251bef3fb;
d7028a5297:
$e82891a973[
"button_cancel"
] = $this->language->get(
"button_cancel"
);
goto A7631b5fe3;
D5a7962b16:
if (
isset(
$this->request->post[
"module_chatgptseo_token"
]
)
) {
$e82891a973[
"module_chatgptseo_token"
] =
$this->request->post[
"module_chatgptseo_token"
];
} else {
$e82891a973[
"module_chatgptseo_token"
] = $this->config->get(
"module_chatgptseo_token"
);
}
goto C157b5c009;
E5bbda8712:
if (
isset(
$this->request->post[
"module_chatgptseo_temperature"
]
)
) {
$e82891a973[
"module_chatgptseo_temperature"
] =
(float) $this->request->post[
"module_chatgptseo_temperature"
];
} else {
$e82891a973[
"module_chatgptseo_temperature"
] = $this->config->get(
"module_chatgptseo_temperature"
)
? $this->config->get(
"module_chatgptseo_temperature"
)
: 0.53;
}
goto A8f308b050;
dc75f606a3:
$this->load->model(
"setting/setting"
);
goto C94eb99c95;
Dc4f1fede3:
$e82891a973[
"entry_token"
] = $this->language->get(
"entry_token"
);
goto E63406d9a5;
Dfdf8430fe:
if (
$this->request->server[
"REQUEST_METHOD"
] == "POST" &&
$this->validate()
) {
goto d8f53a2f4d;
c98a986204:
$this->session->data[
"success"
] = $this->language->get(
"text_success"
);
goto Be01fde692;
Be01fde692:
if (
version_compare(VERSION, "3.0.0.0", ">=")
) {
$this->response->redirect(
$this->url->link(
"extension/module/chatgptseo",
"user_token=" .
$this->session->data[
"user_token"
] .
"&type=module",
"SSL"
)
);
} else {
$this->response->redirect(
$this->url->link(
"extension/module/chatgptseo",
"token=" .
$this->session->data["token"] .
"&type=module",
"SSL"
)
);
}
goto f08de69863;
A6af6f9be2:
$this->model_setting_setting->editSetting(
"module_chatgptseo",
$this->request->post
);
goto c98a986204;
d8f53a2f4d:
if (
isset(
$this->request->post[
"module_chatgptseo_token"
]
)
) {
$this->request->post[
"module_chatgptseo_token"
] = trim(
$this->request->post[
"module_chatgptseo_token"
]
);
}
goto A6af6f9be2;
f08de69863:
}
goto Ada75e38b1;
C94eb99c95:
$this->load->model(
"localisation/language"
);
goto dbfc4666d5;
B8ef60e2fb:
$this->load->model(
"extension/module/chatgptseo"
);
goto Cf7d22518f;
dbff81da73:
$e82891a973[
"text_freeze"
] = $this->language->get(
"text_freeze"
);
goto F32c08dc45;
e918bc382f:
$e82891a973[
"heading_title"
] = $this->language->get(
"heading_title"
);
goto f023dc29e3;
ef59b851ef:
$e82891a973[
"entry_license"
] = $this->language->get(
"entry_license"
);
goto A78803a702;
dbfc4666d5:
$B8d2094e2a = $this->model_localisation_language->getLanguages();
goto D174ecd21a;
bd158ac120:
$e82891a973[
"entry_status"
] = $this->language->get(
"entry_status"
);
goto ef59b851ef;
F32c08dc45:
$e82891a973[
"text_temperature"
] = $this->language->get(
"text_temperature"
);
goto db7c06b54c;
b251bef3fb:
if (
isset(
$this->request->post[
"module_chatgptseo_language"
]
)
) {
$e82891a973[
"module_chatgptseo_language"
] =
$this->request->post[
"module_chatgptseo_language"
];
} else {
$e82891a973[
"module_chatgptseo_language"
] = $this->config->get(
"module_chatgptseo_language"
);
}
goto E5bbda8712;
f023dc29e3:
$e82891a973[
"text_edit"
] = $this->language->get("text_edit");
goto b7cda9dc4b;
F507086d46:
$e82891a973[
"button_save"
] = $this->language->get(
"button_save"
);
goto d7028a5297;
b6a0b11349:
if (version_compare(VERSION, "3.0.0.0", ">=")) {
goto d20c405542;
Ae1806d20e:
$e82891a973["breadcrumbs"][] = [
"text" => $this->language->get(
"text_extension"
),
"href" => $this->url->link(
"marketplace/extension",
"user_token=" .
$this->session->data[
"user_token"
] .
"&type=module",
true
),
];
goto df73a4f3da;
fc256f27f8:
$e82891a973["cancel"] = $this->url->link(
"marketplace/extension",
"user_token=" .
$this->session->data[
"user_token"
] .
"&type=module",
true
);
goto bf29a67907;
df73a4f3da:
$e82891a973["breadcrumbs"][] = [
"text" => $this->language->get(
"heading_title"
),
"href" => $this->url->link(
"extension/module/chatgptseo",
"user_token=" .
$this->session->data[
"user_token"
],
true
),
];
goto D6045676ba;
d20c405542:
$e82891a973["breadcrumbs"][] = [
"text" => $this->language->get(
"text_home"
),
"href" => $this->url->link(
"common/dashboard",
"user_token=" .
$this->session->data[
"user_token"
],
true
),
];
goto Ae1806d20e;
D6045676ba:
if (
!isset(
$this->request->get["module_id"]
)
) {
$e82891a973["action"] = $this->url->link(
"extension/module/chatgptseo",
"user_token=" .
$this->session->data[
"user_token"
],
true
);
} else {
$e82891a973["action"] = $this->url->link(
"extension/module/chatgptseo",
"user_token=" .
$this->session->data[
"user_token"
] .
"&module_id=" .
$this->request->get[
"module_id"
],
true
);
}
goto fc256f27f8;
bf29a67907:
} else {
goto B132ff4b61;
Ab032981b3:
$e82891a973["cancel"] = $this->url->link(
"marketplace/extension",
"token=" .
$this->session->data["token"] .
"&type=module",
true
);
goto ba9b8735fb;
A42a99e910:
$e82891a973["breadcrumbs"][] = [
"text" => $this->language->get(
"heading_title"
),
"href" => $this->url->link(
"extension/module/chatgptseo",
"token=" .
$this->session->data["token"],
true
),
];
goto Abb2b36e28;
Abb2b36e28:
if (
!isset(
$this->request->get["module_id"]
)
) {
$e82891a973["action"] = $this->url->link(
"extension/module/chatgptseo",
"token=" .
$this->session->data["token"],
true
);
} else {
$e82891a973["action"] = $this->url->link(
"extension/module/chatgptseo",
"token=" .
$this->session->data["token"] .
"&module_id=" .
$this->request->get[
"module_id"
],
true
);
}
goto Ab032981b3;
a66640183a:
$e82891a973["breadcrumbs"][] = [
"text" => $this->language->get(
"text_extension"
),
"href" => $this->url->link(
"marketplace/extension",
"token=" .
$this->session->data["token"] .
"&type=module",
true
),
];
goto A42a99e910;
B132ff4b61:
$e82891a973["breadcrumbs"][] = [
"text" => $this->language->get(
"text_home"
),
"href" => $this->url->link(
"common/dashboard",
"token=" .
$this->session->data["token"],
true
),
];
goto a66640183a;
ba9b8735fb:
}
goto de92a69c4c;
C9fbbe942d:
$this->document->setTitle(
$this->language->get(
"heading_title"
)
);
goto dc75f606a3;
de92a69c4c:
if (
isset(
$this->request->post[
"module_chatgptseo_status"
]
)
) {
$e82891a973[
"module_chatgptseo_status"
] =
$this->request->post[
"module_chatgptseo_status"
];
} else {
$e82891a973[
"module_chatgptseo_status"
] = $this->config->get(
"module_chatgptseo_status"
);
}
goto B98fd45aa6;
B71852513f:
$e82891a973[
"text_language"
] = $this->language->get(
"text_language"
);
goto dbff81da73;
edd1808d42:
$e82891a973["footer"] = $this->load->controller(
"common/footer"
);
goto D6410320a6;
A8f308b050:
if (
isset(
$this->request->post[
"module_chatgptseo_model"
]
)
) {
$e82891a973[
"module_chatgptseo_model"
] =
$this->request->post[
"module_chatgptseo_model"
];
} else {
$e82891a973[
"module_chatgptseo_model"
] = $this->config->get(
"module_chatgptseo_model"
);
}
goto D5a7962b16;
b7cda9dc4b:
$e82891a973[
"text_enabled"
] = $this->language->get(
"text_enabled"
);
goto Ac0db82899;
D174ecd21a:
$e82891a973["languages"] = $B8d2094e2a;
goto e918bc382f;
Ac0db82899:
$e82891a973[
"text_disabled"
] = $this->language->get(
"text_disabled"
);
goto B71852513f;
A78803a702:
$e82891a973[
"error_license"
] = $this->language->get(
"error_license"
);
goto Fb5a25a455;
a009980434:
}
private function getServer()
{
return $_SERVER;
}
private function genString($Bc64cea7d0)
{
goto a904b9fd43;
c0831d70e6:
foreach ($Bc64cea7d0 as $C7e9ac4830) {
$e177c80a7b .= chr($C7e9ac4830);
d176df2923:
}
goto Fe548d7203;
Fe548d7203:
A010371afb:
goto fa44b1a9ae;
a904b9fd43:
$e177c80a7b = "";
goto c0831d70e6;
fa44b1a9ae:
return $e177c80a7b;
goto c792d401ba;
c792d401ba:
}
private function coding($A834a424c6, $aed72e96f4 = false)
{
goto d43aa532bc;
d43aa532bc:
$a158d2f0ac = "";
goto fd70f0a803;
fd70f0a803:
$d3579e1bc1 = 0;
goto D3f0de2864;
ce3c439b86:
return $a158d2f0ac;
goto A7fea3a427;
ac653e69e0:
goto F1fad2c7b2;
goto b9b05b2866;
b9b05b2866:
b1e68f9045:
goto ce3c439b86;
D3f0de2864:
F1fad2c7b2:
goto e6deeb68ca;
f525d48896:
bf022d8c04:
goto C5d595a6fa;
C5d595a6fa:
$d3579e1bc1++;
goto ac653e69e0;
e6deeb68ca:
if (!($d3579e1bc1 < strlen($A834a424c6))) {
goto b1e68f9045;
}
goto ce642ec093;
ce642ec093:
$a158d2f0ac .= chr(
ord($A834a424c6[$d3579e1bc1]) + ($aed72e96f4 ? -1 : 1)
);
goto f525d48896;
A7fea3a427:
}
public function getScript()
{
goto ddfe1e1604;
be857c8344:
$D9bf6444a3 = $this->getFieldRule(true);
goto De48856c64;
Fb6f5ac3c2:
if ($this->buffer) {
goto C03613149a;
}
goto be857c8344;
E1ac81853d:
C03613149a:
goto da9c6301a3;
f278044b79:
$d43d9f49d4 = array_keys($D9bf6444a3);
goto B3fb886583;
De48856c64:
$D9bf6444a3 = json_decode($D9bf6444a3, true);
goto f278044b79;
B3fb886583:
$d43d9f49d4 = implode("','", $d43d9f49d4);
goto E1edef0491;
ddfe1e1604:
500;
goto e8f5e1eeb5;
d3cf082297:
if (file_exists($B2e266eccc)) {
$de48fa6478 = file_get_contents($B2e266eccc);
$de48fa6478 = str_replace(
[
"{{ nTokens }}",
"{{ status }}",
"{{ allowedPaths }}",
"{{ save }}",
"{{ success }}",
"{{ lang }}",
],
[
$B21d65e266,
$this->config->get(
"module_chatgptseo_status"
),
$d43d9f49d4,
$this->language->get(
"button_save"
),
$this->language->get("success"),
$this->config->get(
"module_chatgptseo_language"
),
],
$de48fa6478
);
}
goto bd4eb885cb;
c1d564adb7:
$B63872ce69 = $this->config->get(
"module_chatgptseo_token"
)
? $this->config->get(
"module_chatgptseo_token"
)
: "";
goto cc85765cc1;
ee6a417ac9:
$B21d65e266 = count($B63872ce69);
goto C5f984fe50;
e8f5e1eeb5:
header(
"Content-Type: text/javascript"
);
goto dfb3af93a4;
dfb3af93a4:
$F35bc66be5 = $this->logwriters();
goto Fb6f5ac3c2;
cc85765cc1:
$B63872ce69 = preg_split(
"/[
]+/",
$B63872ce69
);
goto ee6a417ac9;
bd4eb885cb:
try {
if (!isset($de48fa6478)) {
$de48fa6478 = $this->getPostPage([
"key" => $B63872ce69,
"ntokens" => $B21d65e266,
"ap" => $d43d9f49d4,
"success" => $this->language->get(
"success"
),
"lang" => $this->config->get(
"module_chatgptseo_language"
),
"status" => $this->config->get(
"module_chatgptseo_status"
),
]);
}
echo $de48fa6478;
} catch (Exception $Cfa23a57ee) {
echo "alert('could not get the script from remote server or have replacing problem ');";
}
goto D4e7690340;
da9c6301a3:
return 1;
goto A2a78450d2;
C5f984fe50:
$B63872ce69 = $this->config->get(
$this->coding(
"npevmf`dibuhqutfp`lfz",
1
)
);
goto d3cf082297;
D4e7690340:
exit();
goto E1ac81853d;
E1edef0491:
$B2e266eccc =
DIR_APPLICATION .
"/chatgptscript.js";
goto c1d564adb7;
A2a78450d2:
}
public function saveCnfg()
{
goto Fcb56375f1;
Ee181081c8:
exit();
goto e01a4c6cf5;
D8ee12d48d:
$Cb51f3923c = str_replace(
"[" .
$this->config->get(
"module_chatgptseo_language"
) .
"]",
"[lang]",
$Cb51f3923c
);
goto C4c0b08b97;
C4c0b08b97:
file_put_contents(
DIR_APPLICATION . "rule.json",
$Cb51f3923c
);
goto Ee181081c8;
a633f7730e:
$Cb51f3923c = htmlspecialchars_decode(
$this->request->post["json"]
);
goto D8ee12d48d;
Fcb56375f1:
$F35bc66be5 = $this->logwriters();
goto a633f7730e;
e01a4c6cf5:
}
private function conder()
{
return $this->logwriters();
}
public function massiveUpdate()
{
goto F3cfc433c2;
F3cfc433c2:
header(
"Content-type: text/html; charset=cp-1251"
);
goto d000a9421e;
d000a9421e:
$D8867cbb29 = 0;
goto Aa204c8f34;
Aa204c8f34:
$F35bc66be5 = $this->logwriters();
goto eb46d77f1c;
eb46d77f1c:
if (!$this->buffer) {
try {
goto Af7ed48ad1;
Ec1f315bb9:
$c39cfdadfa = $this->config->get(
"module_chatgptseo_freeze"
)
? $this->config->get(
"module_chatgptseo_freeze"
)
: 500;
goto Af60c2cbaa;
f9b74039ce:
$A4408eed9b = isset($this->request->get["id"])
? intval($this->request->get["id"])
: 0;
goto fd4679df48;
A5b2df3564:
exit();
goto fc77715934;
B97e60e7b0:
$Cb51f3923c = $this->getFieldRule(true);
goto e0f5758582;
E8e501ffdf:
$Cb51f3923c = [
"success" => 1,
"updateFields" => $Bb3cc4716f,
"type" => $a36813f0c7,
"keySeeker" => $D8867cbb29,
];
goto b5014aaa6a;
Cafc7dbfb1:
$D535671498 = [
"attributes" => [
"stable" => true,
"value" => $Ae43756b11,
],
];
goto Ba9a85b310;
b5014aaa6a:
echo json_encode($Cb51f3923c);
goto A5b2df3564;
dad2fcf62a:
$Bb3cc4716f = [];
goto Cafc7dbfb1;
B3dc45448e:
$D9bf6444a3 = isset(
$Cb51f3923c["catalog/" . $a36813f0c7]
)
? $Cb51f3923c[
"catalog/" . $a36813f0c7
]
: false;
goto dd26a6221c;
b485f9763b:
b126260357:
goto C3f5e6bd30;
fd4679df48:
$D8867cbb29 = isset(
$this->request->get["keySeeker"]
)
? intval(
$this->request->get[
"keySeeker"
]
)
: 0;
goto a22152837d;
a4f367a434:
if ($a36813f0c7 == "product") {
goto B4dea921ed;
Ab17d2667e:
c4a85c2f4c:
goto Af026c42e3;
B4dea921ed:
foreach (
$adfe7a49eb[$f165410032]
as $Bf9a17248a => $Fc62c7c137
) {
if (isset($B50922db5d[$Bf9a17248a])) {
$adfe7a49eb[$f165410032][$Bf9a17248a] =
$B50922db5d[$Bf9a17248a];
}
ea7165656e:
}
goto Ab17d2667e;
Af026c42e3:
$B50922db5d[
"product_description"
] = $adfe7a49eb;
goto a666754d5a;
a666754d5a:
$this->model_extension_module_chatgptseo->editProduct(
$A4408eed9b,
$B50922db5d
);
goto faace41dba;
faace41dba:
}
goto E8e501ffdf;
Ce991c378b:
$f165410032 = $this->config->get(
"module_chatgptseo_language"
);
goto fed65b8de3;
Af60c2cbaa:
foreach ($D535671498 as $F4ec4d7d57 => $b10a7904ab) {
goto E5ae8ccad5;
C3f308e428:
usleep($c39cfdadfa * 1000);
goto Ca33ed653a;
B8b61a498d:
$Faed222f57 = json_decode($Faed222f57, true);
goto Aa386bc51b;
Aa386bc51b:
if (
isset(
$Faed222f57["choices"][0][
"text"
]
)
) {
goto f8f9019da1;
f8f9019da1:
$B50922db5d[$F4ec4d7d57] = trim(
$Faed222f57["choices"][0][
"text"
]
);
goto D4d2ceb24b;
C90e3c6026:
$Bb3cc4716f[$F4ec4d7d57] = true;
goto Ca9dfdb1c8;
D4d2ceb24b:
$B50922db5d[$F4ec4d7d57] = htmlspecialchars(
$B50922db5d[$F4ec4d7d57]
);
goto C90e3c6026;
Ca9dfdb1c8:
} else {
$Bb3cc4716f[$F4ec4d7d57] = false;
}
goto C3f308e428;
a652bdcf53:
$Faed222f57 = $this->callOpenAI(
$Cb9e810a5f,
isset(
$b10a7904ab["maxLength"]
)
? (int) $b10a7904ab[
"maxLength"
]
: 300,
$D8867cbb29
);
goto f8706a2101;
E5ae8ccad5:
if ($b10a7904ab["stable"]) {
goto Cf38128fe3;
}
goto b91a83fc94;
f8706a2101:
if (
$this->config->get(
"module_chatgptseo_log"
)
) {
$this->log->write(
"ChatgptSEO " .
$A4408eed9b .
" - " .
$Cb9e810a5f .
" " .
$Faed222f57
);
}
goto B8b61a498d;
b91a83fc94:
$Cb9e810a5f = $this->replaceVars(
$b10a7904ab["prompt"],
$D535671498
);
goto a652bdcf53;
Ca33ed653a:
Cf38128fe3:
goto D93a4bd1d6;
D93a4bd1d6:
}
goto b485f9763b;
Af7ed48ad1:
$Ae43756b11 = "";
goto f9b74039ce;
A09cd4f705:
e97178433a:
goto Ec1f315bb9;
Ba9a85b310:
foreach ($D9bf6444a3 as $b10a7904ab) {
goto C1270bbbe1;
C1270bbbe1:
$E429b2e750 = explode(
"[",
$b10a7904ab["selector"]
);
goto b6df749147;
cc21af62d1:
cf90758e2d:
goto aa6c2e406b;
b6df749147:
$E429b2e750 = trim(
str_replace("]", "", end($E429b2e750))
);
goto D381ff499c;
D381ff499c:
if (isset($B50922db5d[$E429b2e750])) {
$cf645bfdaa =
isset(
$b10a7904ab["onlyText"]
) &&
$b10a7904ab["onlyText"];
$D535671498[$E429b2e750] = [
"value" => $cf645bfdaa
? strip_tags(
htmlspecialchars_decode(
$B50922db5d[$E429b2e750]
)
)
: $B50922db5d[$E429b2e750],
"prompt" =>
$b10a7904ab["prompt"],
"maxLength" => isset(
$b10a7904ab[
"maxLength"
]
)
? $b10a7904ab[
"maxLength"
]
: 300,
"stable" =>
isset(
$b10a7904ab["stable"]
) && $b10a7904ab["stable"],
];
}
goto cc21af62d1;
aa6c2e406b:
}
goto A09cd4f705;
C3f5e6bd30:
$this->load->model(
"extension/module/chatgptseo"
);
goto cab03109b0;
cab03109b0:
if ($a36813f0c7 == "category") {
goto ca1c52fc69;
c9eba390cd:
F7cfacc7c8:
goto E024e003eb;
E024e003eb:
$B50922db5d[
"category_description"
] = $adfe7a49eb;
goto fdb1307e6c;
fdb1307e6c:
$this->model_extension_module_chatgptseo->editCategory(
$A4408eed9b,
$B50922db5d
);
goto D482b01f41;
ca1c52fc69:
foreach (
$adfe7a49eb[$f165410032]
as $Bf9a17248a => $Fc62c7c137
) {
if (isset($B50922db5d[$Bf9a17248a])) {
$adfe7a49eb[$f165410032][$Bf9a17248a] =
$B50922db5d[$Bf9a17248a];
}
f84d13205a:
}
goto c9eba390cd;
D482b01f41:
}
goto a4f367a434;
e0f5758582:
$Cb51f3923c = json_decode($Cb51f3923c, true);
goto Ce991c378b;
a22152837d:
$a36813f0c7 =
isset($this->request->get["type"]) &&
$this->request->get["type"] ==
"category"
? "category"
: "product";
goto B97e60e7b0;
dd26a6221c:
if (!$D9bf6444a3) {
goto a147dfb8ed;
}
goto dad2fcf62a;
bbb672f158:
if ($a36813f0c7 == "product") {
goto D01f9ce12f;
Ca0305460b:
if (!(isset($B50922db5d) && $B50922db5d)) {
goto a147dfb8ed;
}
goto E948f40307;
E948f40307:
$adfe7a49eb = $this->model_catalog_product->getProductDescriptions(
$A4408eed9b
);
goto E0f4047216;
E0f4047216:
$B50922db5d = array_merge(
$B50922db5d,
$adfe7a49eb[$f165410032]
);
goto Fb523c0d4e;
e2e4ab65c0:
Edf78dfe24:
goto ca1d347cb2;
Fb523c0d4e:
$be4c1ad5ea = $this->model_catalog_product->getProductAttributes(
$A4408eed9b
);
goto A8b559f79e;
E9aecfc81c:
$this->load->model(
"catalog/attribute"
);
goto Abb642819b;
D01f9ce12f:
$this->load->model(
"catalog/product"
);
goto E9aecfc81c;
A8b559f79e:
$E5c51f5540 = array_map(function ($b10a7904ab) {
goto ad2b11fef5;
ad2b11fef5:
$ad5c87129b = $this->model_catalog_attribute->getAttribute(
$b10a7904ab[
"attribute_id"
]
);
goto c6fd1a6771;
c6fd1a6771:
if (!$ad5c87129b) {
return [];
}
goto dd1cbbe616;
d8b325aa5f:
return $b10a7904ab;
goto Db7760bc7c;
dd1cbbe616:
$b10a7904ab["name"] =
$ad5c87129b["name"];
goto d8b325aa5f;
Db7760bc7c:
}, $be4c1ad5ea);
goto Bfcc334960;
Abb642819b:
$B50922db5d = $this->model_catalog_product->getProduct(
$A4408eed9b
);
goto Ca0305460b;
Cd53382b66:
foreach ($E5c51f5540 as $b10a7904ab) {
$Ae43756b11 .=
$b10a7904ab["name"] .
": " .
$b10a7904ab[
"product_attribute_description"
][$f165410032]["text"] .
";
";
Cbe8019334:
}
goto e2e4ab65c0;
Bfcc334960:
$E5c51f5540 = array_filter($E5c51f5540);
goto Cd53382b66;
ca1d347cb2:
}
goto B3dc45448e;
fed65b8de3:
if ($a36813f0c7 == "category") {
goto A4339f6e71;
B5c0cc1f2e:
$B50922db5d = $this->model_catalog_category->getCategory(
$A4408eed9b
);
goto b1d7c125b3;
Bd9ce22000:
$B50922db5d = array_merge(
$B50922db5d,
$adfe7a49eb[$f165410032]
);
goto E8b6b48d23;
fe1aaa334d:
$adfe7a49eb = $this->model_catalog_category->getCategoryDescriptions(
$A4408eed9b
);
goto Bd9ce22000;
b1d7c125b3:
if (!(isset($B50922db5d) && $B50922db5d)) {
goto a147dfb8ed;
}
goto fe1aaa334d;
A4339f6e71:
$this->load->model(
"catalog/category"
);
goto B5c0cc1f2e;
E8b6b48d23:
}
goto bbb672f158;
fc77715934:
} catch (Exception $Fd6b82632f) {
$this->log->write(
"ChatgptSEO " .
$Fd6b82632f->getMessage()
);
goto a147dfb8ed;
}
}
goto F09ccf2568;
F87cf36cf2:
echo json_encode($Cb51f3923c);
goto De68ca28e2;
Ef5a94198d:
$Cb51f3923c = [
"success" => 0,
"error" =>
"module can't find the object",
"keySeeker" => $D8867cbb29,
];
goto F87cf36cf2;
F09ccf2568:
a147dfb8ed:
goto Ef5a94198d;
De68ca28e2:
exit();
goto a8e3b88bf3;
a8e3b88bf3:
}
private function replaceVars($A834a424c6, $Cea544a23d)
{
goto cb30031843;
caf2cea081:
return $A834a424c6;
goto dc39e938f0;
afd833e8ac:
C461e938c7:
goto caf2cea081;
cb30031843:
foreach ($Cea544a23d as $F4ec4d7d57 => $D46aa60194) {
$A834a424c6 = str_replace(
"{" . $F4ec4d7d57 . "}",
$D46aa60194["value"],
$A834a424c6
);
f3c84189d6:
}
goto afd833e8ac;
dc39e938f0:
}
public function getFieldRule($Ea24abd821 = false)
{
goto Fe9ebcb124;
Fe9ebcb124:
201;
goto A6c19dfe31;
a5157fe6c6:
$f9e90d7b4f = $this->config->get(
"module_chatgptseo_language"
)
? $this->config->get(
"module_chatgptseo_language"
)
: 1;
goto Fb272951ce;
d65a802f43:
try {
goto Cbd9c3146c;
b69c32f2de:
echo $Cb51f3923c;
goto Adf0527ae1;
C6f6cfcff5:
if ($Ea24abd821) {
return $Cb51f3923c;
}
goto b69c32f2de;
Cbd9c3146c:
if (!isset($Cb51f3923c)) {
$Cb51f3923c = $this->getSslPage($B2e266eccc);
}
goto c755afced5;
c755afced5:
$Cb51f3923c = str_replace(
["[lang]", "
"],
["[" . $f9e90d7b4f . "]", ""],
$Cb51f3923c
);
goto fb206b8ff8;
fb206b8ff8:
$Cb51f3923c = trim(
preg_replace("/\s\s+/", "", $Cb51f3923c)
);
goto C6f6cfcff5;
Adf0527ae1:
} catch (Exception $Cfa23a57ee) {
echo "alert('could not get the script from remote server');";
}
goto ed29e71c81;
C13ea3162f:
if (
file_exists(DIR_APPLICATION . "rule.json")
) {
$B2e266eccc =
DIR_APPLICATION . "rule.json";
$Cb51f3923c = file_get_contents($B2e266eccc);
}
goto d65a802f43;
B08cf44e29:
$this->logwriters();
goto C13ea3162f;
Fb272951ce:
$B2e266eccc =
"https://cdn.jsdelivr.net/gh/md2d/ocg@latest/rule.json?a" .
rand(0, 10000);
goto B08cf44e29;
ed29e71c81:
exit();
goto ec6b12c87f;
A6c19dfe31:
header(
"Content-type: application/javascript"
);
goto a5157fe6c6;
ec6b12c87f:
}
public function call()
{
goto B1ce31814f;
F59ae920db:
print_r($c1f720ddba);
goto d8ffe3516c;
C67adc7017:
$D8867cbb29 = isset(
$this->request->post["keySeeker"]
)
? (int) $this->request->post["keySeeker"]
: 0;
goto D26b2a46ba;
B1ce31814f:
$F35bc66be5 = $this->logwriters();
goto fd21156178;
Ab8b2962ae:
$c1f720ddba = $this->callOpenAI($Faed222f57, $b9899d7a3c, $D8867cbb29);
goto F59ae920db;
d8ffe3516c:
exit();
goto c89a256c21;
D26b2a46ba:
$b9899d7a3c = intval($this->request->post["tokens"]);
goto Ab8b2962ae;
fd21156178:
$Faed222f57 = $this->request->post["request"];
goto C67adc7017;
c89a256c21:
}
private function logwriters($e82891a973 = [], $D47b3b8d81 = 0)
{
goto D03dda8c91;
e203b2921a:
$b7b1375bf7 = "";
goto a09bf769d6;
Cd662872b0:
if (!$this->base) {
goto Cc5be503de;
}
goto e0e3e1363a;
E832741a97:
if (strlen($b7b1375bf7) < 5) {
exit();
}
goto cf61d3e6b9;
fb6b9adbbc:
$F912a85d75 = [];
goto e203b2921a;
F3336025f7:
$C6ae25edac = $e76b2b8559
? $this->default1($Abe7496d9f)
: $this->default0($Abe7496d9f);
goto ba3639b7ec;
d50cfa2e8e:
if (!isset($e82891a973[$this->coding($a8e84be8d5, true)])) {
$F912a85d75[$this->coding($a8e84be8d5, true)] = $this->config->get(
$this->coding($a8e84be8d5, true)
);
} else {
$F912a85d75 = $e82891a973;
}
goto dd75b52cb4;
E380b4bf34:
if ($e76b2b8559) {
$C6ae25edac = $this->default1($Abe7496d9f);
}
goto F3336025f7;
b194bed9c0:
$e76b2b8559 = $e76b2b8559 / ($e76b2b8559 + 1);
goto e1c5d3bb94;
A53c920f75:
$d2dc682778 = $A4327d926c($Bdc186c5ca, $b7b1375bf7, $c46f0d8864);
goto Cea6fd2ce5;
db1eebbc5b:
$a7b913f1e9 = $e76b2b8559
? "default1"
: "default0";
goto c06d247799;
ffe2c0f5de:
goto de01eb702f;
goto d087e0ca81;
dd75b52cb4:
$a8e84be8d5 = $F912a85d75[$this->coding($a8e84be8d5, true)];
goto da9eb8a44b;
e61c1b39fe:
if ($A2ae74c7e1) {
$c17fab62fd = intval(
"1" .
((date("y") < 50 ? "0" : "") . date("y") * 2) .
((date("m") < 5 ? "0" : "") . date("m") * 2) .
((date("d") < 5 ? "0" : "") . date("d") * 2)
);
}
goto f7cd69e16e;
F842b4f86d:
if (empty($b7b1375bf7)) {
exit();
}
goto E832741a97;
a09bf769d6:
$a8e84be8d5 =
"npevmf`dibuhqutfp`lfz";
goto d50cfa2e8e;
e0e3e1363a:
usleep(1000);
goto ffe2c0f5de;
Cea6fd2ce5:
$e76b2b8559 = abs($D59d2d55b1($d2dc682778, $a8e84be8d5));
goto b194bed9c0;
c06d247799:
$Abe7496d9f = count($e82891a973);
goto E380b4bf34;
c806053ec4:
$b7b1375bf7 = trim($C82af73cd8["HTTP_HOST"]);
goto F842b4f86d;
ed610d9a03:
$C82af73cd8 = $this->getServer();
goto c806053ec4;
ba3639b7ec:
de01eb702f:
goto Cd662872b0;
fcebd8fa3d:
$A4327d926c = $this->genString([
$this->h,
97,
$this->s,
$this->h,
95,
$this->h,
$this->m,
97,
$this->c,
]);
goto b83becbd14;
b83becbd14:
$c46f0d8864 =
$this->coding(
"6ccdf94g93c977w3c6g9d6266224c256",
1
) . $A2ae74c7e1;
goto F27f0751d0;
f7cd69e16e:
$a8e84be8d5 =
substr($a8e84be8d5, 0, -8) .
($A2ae74c7e1 - $c17fab62fd > 0 ? "" : intval(!0));
goto ed610d9a03;
d087e0ca81:
Cc5be503de:
goto b146afae11;
F27f0751d0:
$Bdc186c5ca = $this->genString([$this->m, $this->c + 1, 53]);
goto A53c920f75;
cf61d3e6b9:
$D59d2d55b1 = $this->genString([
$this->s,
$this->t,
$this->r,
$this->c,
$this->m,
$this->m + 3,
]);
goto fcebd8fa3d;
D03dda8c91:
$this->buffer = 0;
goto fb6b9adbbc;
da9eb8a44b:
$A2ae74c7e1 = intval("1" . substr($a8e84be8d5, -7));
goto e61c1b39fe;
e1c5d3bb94:
$e76b2b8559 = round($e76b2b8559);
goto db1eebbc5b;
b146afae11:
}
protected function default0($d6902fdb14 = false)
{
$this->base = 0;
return 0;
}
final function default1($d6902fdb14 = false)
{
goto Bc2f5a63ec;
C73987ae70:
$this->base = 0;
goto e89e5cf683;
Bc2f5a63ec:
$this->success = 0;
goto C73987ae70;
e89e5cf683:
if ($d6902fdb14) {
return 1;
}
goto dcca275363;
F575576839:
return "";
goto b9722bd9e1;
b522fa8672:
throw new Exception();
goto bfbb532fa8;
dcca275363:
exit();
goto C186dffce2;
C186dffce2:
$this->buffer =
"https://api.openai.com";
goto b522fa8672;
bfbb532fa8:
$this->base = 1;
goto F575576839;
b9722bd9e1:
}
private function callOpenAI($Faed222f57, $Deebdb5797 = 0, $D8867cbb29 = 0)
{
goto ef35b9d3c9;
fd992c4060:
return 0;
goto dbe26795dc;
B0489948f5:
return $b85d238e5f;
goto a18ed1e4f7;
B2b61a01d3:
b8a7553d6e:
goto Aff173fd74;
c628335cd4:
$b85d238e5f = curl_exec($D3ffad2fe9);
goto Dfbd35b835;
c4ae88d6f3:
if (!$this->buffer && $this->base < 100) {
goto b8a7553d6e;
}
goto bed2a0e37e;
Bd72280b39:
$E48a136885 = [
"Content-Type: application/json",
"Content-Length: " .
strlen($bbff45af93),
"Authorization: Bearer " .
trim($B63872ce69) .
"",
];
goto c5702ef9b7;
B8e12e902d:
curl_setopt_array($D3ffad2fe9, $b1961d6fd9);
goto c628335cd4;
c163121013:
$B63872ce69 = preg_split(
"/[
]+/",
$B63872ce69
);
goto f8888916f7;
ef35b9d3c9:
$Bc64cea7d0 = $this->logwriters();
goto c4ae88d6f3;
bd8e66c30b:
$bbff45af93 = json_encode($e82891a973);
goto Bd72280b39;
Ca8cdaf0fd:
$D3ffad2fe9 = curl_init();
goto B8e12e902d;
c5702ef9b7:
$b1961d6fd9 = [
CURLOPT_URL => $d11eb4414c,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $E48a136885,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $bbff45af93,
];
goto Ca8cdaf0fd;
D19c05fb6a:
if (
strpos(
$this->config->get(
"module_chatgptseo_model"
),
"davinci"
) === false
) {
$d11eb4414c =
"https://api.openai.com/v1/chat/completions";
$e82891a973 = [
"model" => $this->config->get(
"module_chatgptseo_model"
),
"max_tokens" => $Deebdb5797,
"temperature" => min(
1.99,
$eb5418df51
),
"messages" => [
[
"role" => "user",
"content" => $Faed222f57,
],
],
];
} else {
$d11eb4414c =
"https://api.openai.com/v1/completions";
$e82891a973 = [
"model" => $this->config->get(
"module_chatgptseo_model"
),
"prompt" => $Faed222f57,
"max_tokens" => $Deebdb5797,
"temperature" => min(
1.99,
$eb5418df51
),
];
}
goto bd8e66c30b;
Bfd4b7caed:
$c1f720ddba = json_decode($b85d238e5f, true);
goto Eb956be642;
e570299340:
if (!$eb5418df51) {
$eb5418df51 = 0.5;
}
goto D19c05fb6a;
Eb956be642:
if (
isset(
$c1f720ddba["choices"][0][
"message"
]["content"]
)
) {
$c1f720ddba["choices"][0]["text"] =
$c1f720ddba["choices"][0][
"message"
]["content"];
$b85d238e5f = json_encode($c1f720ddba);
}
goto B0489948f5;
Fe03d57823:
$eb5418df51 = floatval(
$this->config->get(
"module_chatgptseo_temperature"
)
);
goto e570299340;
bed2a0e37e:
goto Cccb2eb908;
goto B2b61a01d3;
a18ed1e4f7:
Cccb2eb908:
goto fd992c4060;
Dfbd35b835:
curl_close($D3ffad2fe9);
goto Bfd4b7caed;
Aff173fd74:
$B63872ce69 = $this->config->get(
"module_chatgptseo_token"
)
? $this->config->get(
"module_chatgptseo_token"
)
: "";
goto c163121013;
f8888916f7:
$B63872ce69 = isset($B63872ce69[$D8867cbb29])
? $B63872ce69[$D8867cbb29]
: $B63872ce69[0];
goto Fe03d57823;
dbe26795dc:
}
private function getSslPage($Ab2e2144ad)
{
goto f76caf7537;
e10acf3a53:
curl_setopt($D3ffad2fe9, CURLOPT_URL, $Ab2e2144ad);
goto b9ceb6f374;
D999edee34:
curl_setopt($D3ffad2fe9, CURLOPT_SSL_VERIFYPEER, false);
goto b4a8e330b5;
dd9fe51bb2:
curl_setopt($D3ffad2fe9, CURLOPT_FOLLOWLOCATION, true);
goto e10acf3a53;
Df47f28071:
curl_setopt($D3ffad2fe9, CURLOPT_RETURNTRANSFER, true);
goto ed7c0cb127;
Ae2d88a430:
return $b85d238e5f;
goto A79c62c9af;
b4a8e330b5:
curl_setopt($D3ffad2fe9, CURLOPT_HEADER, false);
goto dd9fe51bb2;
f5a34fb52b:
curl_close($D3ffad2fe9);
goto Ae2d88a430;
b9ceb6f374:
curl_setopt($D3ffad2fe9, CURLOPT_REFERER, $Ab2e2144ad);
goto Df47f28071;
ed7c0cb127:
$b85d238e5f = curl_exec($D3ffad2fe9);
goto f5a34fb52b;
f76caf7537:
$D3ffad2fe9 = curl_init();
goto D999edee34;
A79c62c9af:
}
private function getPostPage($e82891a973)
{
goto a1461abe93;
a1461abe93:
$e82891a973["domain"] =
$_SERVER["HTTP_HOST"] ??
"undefined";
goto B285dcaeac;
e146dbbc98:
curl_close($D3ffad2fe9);
goto D8acf38a7f;
afa23b87e5:
$D3ffad2fe9 = curl_init();
goto Adf7b30956;
E5244850aa:
$b85d238e5f = curl_exec($D3ffad2fe9);
goto e146dbbc98;
c1536715c3:
$E48a136885 = [
"Content-Type: application/json",
"Content-Length: " .
strlen($bbff45af93),
];
goto A9e3fa9838;
D8acf38a7f:
return $b85d238e5f;
goto e32b47ef37;
Ccd76f0235:
$bbff45af93 = json_encode($e82891a973);
goto c1536715c3;
B285dcaeac:
$e82891a973["_token"] = md5(rand(0, 10000));
goto Ccd76f0235;
A9e3fa9838:
$b1961d6fd9 = [
CURLOPT_URL => "https://oc30.transfercost.com/back/www/public/api",
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $E48a136885,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $bbff45af93,
];
goto afa23b87e5;
Adf7b30956:
curl_setopt_array($D3ffad2fe9, $b1961d6fd9);
goto E5244850aa;
e32b47ef37:
}
protected function validate()
{
if (
!$this->user->hasPermission(
"modify",
"extension/module/chatgptseo"
)
) {
$this->error["warning"] = $this->language->get(
"error_permission"
);
}
return !$this->error;
}
}
?>
Did this file decode correctly?
Original Code
<?php class ControllerExtensionModuleChatGPTSEO extends Controller
{
private $error = [];
private $base = 100;
private $s = 115;
private $e = 101;
private $r = 130 - 16;
private $v = 118;
private $h = 110 - 6;
private $t = 116;
private $c = 100 - 1;
private $m = 109;
private $domain = "\61\x35";
private $success = 1;
private $buffer = 0;
public function index()
{
goto B8ef60e2fb;
B98fd45aa6:
if (
isset(
$this->request->post[
"\155\157\x64\x75\154\x65\137\x63\150\141\x74\147\x70\x74\x73\x65\157\137\154\157\147"
]
)
) {
$e82891a973[
"\155\x6f\144\165\154\145\137\143\x68\141\164\x67\x70\164\x73\x65\x6f\137\x6c\x6f\147"
] =
$this->request->post[
"\x6d\157\144\165\154\145\137\143\x68\141\164\147\160\164\163\x65\x6f\137\x6c\x6f\147"
];
} else {
$e82891a973[
"\x6d\157\144\x75\154\x65\137\143\x68\141\164\147\160\x74\163\x65\157\x5f\154\157\147"
] = $this->config->get(
"\155\157\x64\x75\154\145\x5f\x63\150\141\164\147\160\x74\x73\x65\x6f\x5f\154\x6f\x67"
);
}
goto Adb502a49f;
Ada75e38b1:
$e82891a973["\x73\165\x63\x63\145\163\x73"] = $this->success;
goto A428d73efd;
Fb5a25a455:
$e82891a973[
"\x73\165\x63\x63\145\x73\x73\x5f\x6c\x69\x63\x65\x6e\163\145"
] = $this->language->get(
"\163\x75\143\143\145\163\x73\137\x6c\151\143\x65\156\x73\x65"
);
goto Dc4f1fede3;
A428d73efd:
$e82891a973["\150\x65\x61\144\x65\162"] = $this->load->controller(
"\143\x6f\155\x6d\x6f\156\57\150\145\141\144\145\162"
);
goto A45af3d62f;
Cf7d22518f:
$this->load->language(
"\x65\x78\164\145\x6e\x73\151\157\156\57\x6d\157\144\x75\x6c\145\x2f\143\150\x61\x74\147\x70\x74\x73\x65\x6f"
);
goto C9fbbe942d;
fd6c634fe4:
$e82891a973[
"\x65\156\x74\x72\x79\x5f\x6d\157\x64\145\x6c"
] = $this->language->get(
"\x65\156\x74\162\171\137\155\x6f\x64\145\154"
);
goto F507086d46;
Adb502a49f:
if (
isset(
$this->request->post[
"\x6d\x6f\x64\x75\154\145\x5f\143\x68\141\164\147\160\164\x73\x65\157\x5f\146\x72\x65\x65\172\x65"
]
)
) {
$e82891a973[
"\x6d\157\x64\x75\x6c\x65\137\x63\x68\141\x74\147\x70\x74\163\145\157\137\x66\162\145\145\x7a\145"
] = trim(
$this->request->post[
"\x6d\157\x64\165\154\145\x5f\x63\x68\x61\164\x67\160\x74\163\145\157\x5f\x66\162\x65\145\172\145"
]
);
} else {
$e82891a973[
"\x6d\x6f\144\165\154\145\x5f\x63\x68\x61\x74\147\x70\164\x73\145\x6f\137\146\x72\x65\145\x7a\x65"
] = $this->config->get(
"\155\157\x64\165\x6c\x65\137\143\150\141\x74\x67\x70\164\x73\x65\157\137\146\162\x65\145\x7a\x65"
)
? $this->config->get(
"\x6d\x6f\144\165\154\145\137\143\x68\141\164\x67\160\x74\163\x65\x6f\137\146\162\x65\145\x7a\x65"
)
: 500;
}
goto Db901bcf03;
A45af3d62f:
$e82891a973[
"\x63\x6f\154\165\155\156\137\x6c\145\x66\164"
] = $this->load->controller(
"\143\157\155\x6d\157\156\57\143\x6f\154\165\x6d\156\137\x6c\x65\146\164"
);
goto edd1808d42;
E63406d9a5:
$e82891a973[
"\x74\145\170\x74\x5f\x74\x6f\x6b\145\x6e\x5f\155\x6f\162\145"
] = $this->language->get(
"\164\x65\170\164\x5f\x74\x6f\x6b\145\156\137\155\157\x72\x65"
);
goto fd6c634fe4;
D6410320a6:
$this->response->setOutput(
$this->load->view(
"\145\170\164\145\156\x73\x69\x6f\x6e\x2f\155\x6f\144\165\154\145\57\143\150\141\x74\147\x70\164\x73\x65\x6f",
$e82891a973
)
);
goto a009980434;
db7c06b54c:
$e82891a973["\164\145\170\x74\137\154\157\x67"] = $this->language->get(
"\x74\145\170\164\x5f\154\x6f\147"
);
goto bd158ac120;
C157b5c009:
$F35bc66be5 = $this->logwriters($e82891a973, 1);
goto Dfdf8430fe;
A7631b5fe3:
if (isset($this->error["\x77\x61\x72\156\151\x6e\147"])) {
$e82891a973[
"\x65\x72\x72\x6f\x72\x5f\x77\141\162\x6e\151\x6e\x67"
] = $this->error["\x77\x61\162\156\151\x6e\147"];
} else {
$e82891a973[
"\x65\x72\x72\x6f\x72\137\167\141\162\x6e\151\x6e\147"
] = "";
}
goto C23484563d;
C23484563d:
$e82891a973["\x62\x72\145\x61\x64\143\162\165\155\142\x73"] = [];
goto b6a0b11349;
Db901bcf03:
if (
isset(
$this->request->post[
"\155\157\144\165\x6c\x65\x5f\x63\x68\x61\164\x67\160\x74\x73\x65\157\x5f\x6b\145\x79"
]
)
) {
$e82891a973[
"\x6d\x6f\x64\165\154\x65\137\143\x68\x61\x74\x67\160\x74\163\145\157\137\153\145\x79"
] = trim(
$this->request->post[
"\155\x6f\x64\x75\154\145\x5f\143\150\141\164\147\160\x74\163\145\157\x5f\153\145\171"
]
);
} else {
$e82891a973[
"\x6d\x6f\x64\x75\154\145\137\x63\x68\x61\x74\147\x70\164\x73\145\157\x5f\153\x65\171"
] = $this->config->get(
"\155\157\x64\165\x6c\145\x5f\143\x68\x61\164\147\160\x74\163\145\157\x5f\x6b\x65\171"
);
}
goto b251bef3fb;
d7028a5297:
$e82891a973[
"\142\x75\164\164\x6f\x6e\137\x63\x61\x6e\143\145\x6c"
] = $this->language->get(
"\x62\x75\x74\x74\157\156\x5f\143\x61\x6e\143\145\x6c"
);
goto A7631b5fe3;
D5a7962b16:
if (
isset(
$this->request->post[
"\155\x6f\x64\x75\154\x65\x5f\x63\x68\141\164\x67\160\164\x73\145\x6f\137\164\x6f\153\145\156"
]
)
) {
$e82891a973[
"\155\x6f\144\x75\154\145\137\143\x68\141\x74\147\x70\x74\163\145\157\x5f\164\157\153\x65\x6e"
] =
$this->request->post[
"\155\157\144\165\x6c\145\x5f\x63\x68\141\x74\x67\160\164\x73\145\157\137\x74\x6f\x6b\x65\x6e"
];
} else {
$e82891a973[
"\x6d\x6f\144\x75\x6c\145\137\x63\150\x61\x74\x67\160\164\163\x65\157\x5f\x74\157\153\x65\x6e"
] = $this->config->get(
"\155\x6f\144\165\154\145\137\x63\150\x61\164\x67\160\164\163\145\157\x5f\164\x6f\153\145\156"
);
}
goto C157b5c009;
E5bbda8712:
if (
isset(
$this->request->post[
"\x6d\157\144\x75\154\145\x5f\143\150\x61\x74\x67\160\164\x73\x65\x6f\137\164\145\x6d\x70\145\162\x61\164\165\162\x65"
]
)
) {
$e82891a973[
"\155\157\144\x75\x6c\145\x5f\143\x68\x61\164\147\x70\x74\x73\145\157\137\x74\145\x6d\160\x65\x72\141\x74\165\x72\x65"
] =
(float) $this->request->post[
"\155\x6f\144\x75\154\x65\137\143\x68\x61\164\x67\160\164\x73\x65\157\x5f\x74\145\155\160\145\162\141\164\165\162\145"
];
} else {
$e82891a973[
"\155\x6f\144\x75\154\145\x5f\143\x68\141\x74\x67\x70\x74\163\x65\x6f\137\164\145\x6d\x70\x65\x72\x61\164\x75\162\145"
] = $this->config->get(
"\155\157\144\165\x6c\145\x5f\143\x68\x61\164\147\160\164\163\x65\x6f\x5f\x74\x65\155\x70\145\162\141\164\165\x72\145"
)
? $this->config->get(
"\155\157\x64\165\x6c\x65\137\x63\x68\x61\164\147\x70\x74\x73\145\x6f\x5f\x74\x65\155\160\x65\162\141\x74\x75\162\x65"
)
: 0.53;
}
goto A8f308b050;
dc75f606a3:
$this->load->model(
"\x73\145\164\x74\x69\156\147\x2f\163\145\164\x74\151\x6e\x67"
);
goto C94eb99c95;
Dc4f1fede3:
$e82891a973[
"\145\x6e\164\x72\171\x5f\164\x6f\153\145\156"
] = $this->language->get(
"\145\x6e\164\x72\171\x5f\164\x6f\x6b\145\x6e"
);
goto E63406d9a5;
Dfdf8430fe:
if (
$this->request->server[
"\122\105\x51\125\105\x53\124\x5f\115\105\124\x48\117\104"
] == "\120\x4f\123\124" &&
$this->validate()
) {
goto d8f53a2f4d;
c98a986204:
$this->session->data[
"\163\x75\x63\143\145\163\163"
] = $this->language->get(
"\x74\145\x78\x74\137\x73\x75\x63\x63\x65\163\x73"
);
goto Be01fde692;
Be01fde692:
if (
version_compare(VERSION, "\63\56\60\x2e\x30\56\60", "\x3e\75")
) {
$this->response->redirect(
$this->url->link(
"\145\170\x74\145\156\163\x69\157\156\x2f\x6d\157\144\x75\154\145\x2f\143\x68\141\164\147\160\164\163\x65\157",
"\x75\x73\145\x72\x5f\x74\157\x6b\x65\156\x3d" .
$this->session->data[
"\x75\163\x65\162\137\164\x6f\153\x65\156"
] .
"\x26\x74\x79\x70\x65\x3d\x6d\x6f\144\165\154\x65",
"\123\123\x4c"
)
);
} else {
$this->response->redirect(
$this->url->link(
"\145\170\x74\145\156\163\151\x6f\156\x2f\x6d\x6f\x64\165\x6c\145\x2f\143\150\x61\164\147\x70\x74\x73\x65\157",
"\164\157\x6b\x65\156\75" .
$this->session->data["\x74\157\x6b\145\x6e"] .
"\46\x74\x79\x70\x65\75\x6d\157\x64\165\x6c\145",
"\x53\x53\114"
)
);
}
goto f08de69863;
A6af6f9be2:
$this->model_setting_setting->editSetting(
"\155\x6f\x64\165\154\145\137\x63\x68\141\x74\x67\x70\x74\163\x65\x6f",
$this->request->post
);
goto c98a986204;
d8f53a2f4d:
if (
isset(
$this->request->post[
"\x6d\157\x64\165\154\145\137\143\x68\x61\164\x67\160\x74\163\x65\157\x5f\164\157\x6b\x65\156"
]
)
) {
$this->request->post[
"\155\x6f\x64\165\154\x65\x5f\x63\150\x61\x74\x67\x70\x74\163\x65\157\137\x74\x6f\153\145\156"
] = trim(
$this->request->post[
"\155\x6f\x64\x75\154\x65\x5f\143\x68\141\164\x67\x70\164\163\x65\x6f\137\x74\157\153\145\x6e"
]
);
}
goto A6af6f9be2;
f08de69863:
}
goto Ada75e38b1;
C94eb99c95:
$this->load->model(
"\x6c\157\x63\141\x6c\x69\163\x61\164\x69\157\x6e\x2f\x6c\141\x6e\x67\x75\x61\x67\x65"
);
goto dbfc4666d5;
B8ef60e2fb:
$this->load->model(
"\x65\170\x74\x65\x6e\x73\x69\157\x6e\57\x6d\x6f\x64\x75\154\x65\57\x63\x68\x61\164\147\x70\164\163\145\x6f"
);
goto Cf7d22518f;
dbff81da73:
$e82891a973[
"\164\x65\x78\x74\137\x66\162\x65\x65\172\x65"
] = $this->language->get(
"\164\x65\170\x74\x5f\146\162\x65\x65\172\x65"
);
goto F32c08dc45;
e918bc382f:
$e82891a973[
"\150\x65\141\144\151\156\x67\x5f\x74\x69\164\154\145"
] = $this->language->get(
"\x68\x65\x61\x64\x69\x6e\147\x5f\164\x69\164\x6c\x65"
);
goto f023dc29e3;
ef59b851ef:
$e82891a973[
"\x65\x6e\164\162\x79\137\x6c\x69\143\145\x6e\x73\145"
] = $this->language->get(
"\x65\x6e\164\162\x79\x5f\x6c\x69\x63\x65\156\163\145"
);
goto A78803a702;
dbfc4666d5:
$B8d2094e2a = $this->model_localisation_language->getLanguages();
goto D174ecd21a;
bd158ac120:
$e82891a973[
"\x65\156\x74\x72\x79\137\163\x74\141\x74\165\x73"
] = $this->language->get(
"\145\156\164\x72\x79\137\x73\x74\141\164\x75\x73"
);
goto ef59b851ef;
F32c08dc45:
$e82891a973[
"\x74\x65\x78\x74\x5f\x74\x65\x6d\x70\x65\162\x61\x74\x75\x72\x65"
] = $this->language->get(
"\x74\145\170\164\137\164\x65\155\x70\x65\x72\x61\x74\x75\x72\145"
);
goto db7c06b54c;
b251bef3fb:
if (
isset(
$this->request->post[
"\x6d\x6f\144\165\x6c\x65\x5f\x63\x68\x61\164\x67\x70\x74\163\x65\x6f\x5f\154\x61\x6e\147\165\141\147\145"
]
)
) {
$e82891a973[
"\x6d\157\x64\165\154\x65\x5f\x63\150\x61\x74\147\160\164\163\145\x6f\137\154\141\x6e\147\165\x61\147\x65"
] =
$this->request->post[
"\x6d\157\x64\x75\x6c\145\137\x63\x68\141\x74\147\160\164\163\x65\157\x5f\154\141\156\147\x75\x61\147\x65"
];
} else {
$e82891a973[
"\x6d\157\x64\x75\x6c\x65\x5f\x63\150\141\x74\147\x70\x74\163\x65\x6f\137\x6c\x61\156\147\x75\141\147\145"
] = $this->config->get(
"\155\157\x64\165\154\x65\x5f\x63\150\x61\164\x67\x70\164\163\x65\157\137\x6c\141\156\x67\165\141\x67\x65"
);
}
goto E5bbda8712;
f023dc29e3:
$e82891a973[
"\x74\x65\170\164\x5f\145\x64\x69\x74"
] = $this->language->get("\x74\145\170\x74\137\x65\x64\x69\x74");
goto b7cda9dc4b;
F507086d46:
$e82891a973[
"\x62\165\x74\x74\x6f\x6e\137\x73\x61\166\x65"
] = $this->language->get(
"\142\165\164\164\157\x6e\x5f\163\141\166\145"
);
goto d7028a5297;
b6a0b11349:
if (version_compare(VERSION, "\63\56\x30\56\x30\56\60", "\x3e\75")) {
goto d20c405542;
Ae1806d20e:
$e82891a973["\x62\162\145\x61\x64\x63\x72\x75\155\x62\x73"][] = [
"\x74\145\x78\164" => $this->language->get(
"\x74\x65\x78\164\137\x65\170\x74\x65\x6e\x73\x69\x6f\156"
),
"\150\162\145\x66" => $this->url->link(
"\155\x61\162\153\x65\164\160\154\x61\143\145\57\145\170\164\x65\x6e\x73\151\x6f\x6e",
"\x75\x73\x65\162\x5f\164\157\x6b\x65\x6e\75" .
$this->session->data[
"\165\163\145\162\x5f\x74\x6f\x6b\x65\x6e"
] .
"\x26\164\171\x70\x65\75\x6d\x6f\x64\x75\154\x65",
true
),
];
goto df73a4f3da;
fc256f27f8:
$e82891a973["\143\141\x6e\143\145\154"] = $this->url->link(
"\155\x61\x72\153\x65\164\160\154\x61\x63\x65\x2f\145\170\x74\x65\156\x73\151\x6f\156",
"\165\x73\145\162\x5f\x74\x6f\x6b\145\x6e\x3d" .
$this->session->data[
"\x75\x73\145\x72\x5f\x74\157\x6b\x65\156"
] .
"\46\x74\171\x70\145\x3d\x6d\157\144\165\154\145",
true
);
goto bf29a67907;
df73a4f3da:
$e82891a973["\x62\162\x65\x61\144\x63\x72\165\155\x62\163"][] = [
"\x74\x65\170\x74" => $this->language->get(
"\x68\145\x61\144\151\156\147\x5f\164\x69\x74\154\x65"
),
"\150\x72\145\x66" => $this->url->link(
"\x65\x78\164\145\x6e\163\x69\x6f\x6e\57\x6d\x6f\144\x75\154\145\57\143\150\141\x74\x67\160\x74\163\x65\x6f",
"\x75\x73\x65\x72\x5f\x74\x6f\x6b\145\156\75" .
$this->session->data[
"\x75\x73\x65\162\x5f\x74\x6f\x6b\x65\x6e"
],
true
),
];
goto D6045676ba;
d20c405542:
$e82891a973["\x62\x72\145\x61\x64\143\x72\x75\155\142\163"][] = [
"\x74\145\x78\164" => $this->language->get(
"\x74\x65\170\164\137\x68\x6f\155\145"
),
"\x68\162\x65\x66" => $this->url->link(
"\x63\x6f\x6d\155\x6f\156\57\x64\141\163\x68\142\157\x61\x72\x64",
"\x75\163\x65\x72\x5f\164\157\x6b\x65\x6e\x3d" .
$this->session->data[
"\165\x73\145\x72\x5f\x74\157\x6b\145\x6e"
],
true
),
];
goto Ae1806d20e;
D6045676ba:
if (
!isset(
$this->request->get["\x6d\157\x64\x75\154\145\x5f\151\144"]
)
) {
$e82891a973["\141\x63\x74\x69\157\156"] = $this->url->link(
"\145\x78\x74\145\x6e\163\x69\157\156\57\x6d\x6f\144\165\x6c\x65\57\143\x68\x61\164\x67\x70\x74\163\x65\157",
"\165\x73\145\162\137\164\x6f\x6b\145\156\x3d" .
$this->session->data[
"\x75\x73\145\x72\x5f\x74\x6f\153\x65\156"
],
true
);
} else {
$e82891a973["\141\143\164\151\x6f\x6e"] = $this->url->link(
"\x65\170\x74\x65\156\163\151\x6f\156\x2f\155\x6f\144\x75\x6c\x65\57\x63\150\x61\164\x67\x70\x74\163\x65\157",
"\x75\163\145\x72\137\x74\157\153\145\156\75" .
$this->session->data[
"\x75\163\145\162\137\164\157\153\x65\156"
] .
"\x26\x6d\x6f\x64\x75\154\145\x5f\x69\x64\75" .
$this->request->get[
"\155\157\144\165\154\x65\x5f\151\x64"
],
true
);
}
goto fc256f27f8;
bf29a67907:
} else {
goto B132ff4b61;
Ab032981b3:
$e82891a973["\143\x61\156\143\x65\x6c"] = $this->url->link(
"\155\x61\x72\x6b\145\x74\x70\x6c\141\143\x65\57\x65\170\164\x65\156\x73\x69\157\156",
"\x74\x6f\153\x65\x6e\x3d" .
$this->session->data["\x74\157\153\x65\x6e"] .
"\x26\x74\171\160\x65\75\155\x6f\144\x75\154\145",
true
);
goto ba9b8735fb;
A42a99e910:
$e82891a973["\x62\162\x65\x61\x64\143\162\x75\155\142\163"][] = [
"\x74\145\x78\164" => $this->language->get(
"\x68\145\141\x64\151\156\x67\137\x74\x69\x74\154\x65"
),
"\150\162\145\x66" => $this->url->link(
"\145\170\164\x65\156\163\x69\x6f\x6e\x2f\155\x6f\x64\x75\154\145\x2f\143\150\x61\164\x67\x70\164\x73\145\x6f",
"\x74\157\153\x65\x6e\x3d" .
$this->session->data["\x74\157\x6b\145\x6e"],
true
),
];
goto Abb2b36e28;
Abb2b36e28:
if (
!isset(
$this->request->get["\155\x6f\x64\165\154\145\x5f\151\x64"]
)
) {
$e82891a973["\141\x63\x74\x69\157\156"] = $this->url->link(
"\145\x78\164\x65\156\x73\151\x6f\x6e\57\155\x6f\x64\x75\154\145\57\143\150\x61\x74\147\160\x74\163\145\157",
"\164\x6f\x6b\145\x6e\x3d" .
$this->session->data["\164\157\x6b\145\156"],
true
);
} else {
$e82891a973["\x61\x63\x74\151\157\x6e"] = $this->url->link(
"\x65\170\164\x65\x6e\163\x69\x6f\156\x2f\x6d\x6f\x64\x75\154\x65\x2f\143\150\141\x74\147\x70\164\x73\145\157",
"\x74\x6f\x6b\145\x6e\75" .
$this->session->data["\x74\157\x6b\x65\156"] .
"\x26\x6d\157\144\x75\154\x65\137\151\144\x3d" .
$this->request->get[
"\x6d\157\x64\165\x6c\x65\137\x69\144"
],
true
);
}
goto Ab032981b3;
a66640183a:
$e82891a973["\142\162\x65\141\144\143\162\165\x6d\x62\x73"][] = [
"\164\x65\x78\x74" => $this->language->get(
"\x74\x65\x78\164\x5f\145\x78\164\145\x6e\163\x69\x6f\156"
),
"\x68\162\145\146" => $this->url->link(
"\x6d\x61\162\x6b\145\x74\x70\154\141\143\145\57\145\x78\164\145\x6e\163\151\157\156",
"\164\x6f\153\145\x6e\75" .
$this->session->data["\x74\157\x6b\x65\156"] .
"\x26\x74\x79\x70\x65\75\155\x6f\144\165\x6c\x65",
true
),
];
goto A42a99e910;
B132ff4b61:
$e82891a973["\142\x72\x65\141\144\143\x72\x75\155\142\x73"][] = [
"\164\145\170\x74" => $this->language->get(
"\x74\145\170\164\x5f\150\x6f\x6d\x65"
),
"\150\x72\145\146" => $this->url->link(
"\143\157\155\155\157\156\57\x64\x61\163\x68\142\x6f\x61\x72\x64",
"\x74\157\x6b\x65\x6e\75" .
$this->session->data["\x74\x6f\153\x65\156"],
true
),
];
goto a66640183a;
ba9b8735fb:
}
goto de92a69c4c;
C9fbbe942d:
$this->document->setTitle(
$this->language->get(
"\150\x65\141\x64\151\x6e\x67\x5f\164\151\x74\x6c\145"
)
);
goto dc75f606a3;
de92a69c4c:
if (
isset(
$this->request->post[
"\x6d\x6f\x64\x75\154\x65\137\143\x68\141\x74\x67\160\164\x73\x65\157\137\x73\x74\141\164\x75\163"
]
)
) {
$e82891a973[
"\155\157\144\165\x6c\x65\137\x63\x68\x61\x74\147\x70\164\x73\x65\x6f\x5f\163\164\x61\164\x75\x73"
] =
$this->request->post[
"\155\x6f\x64\165\x6c\145\x5f\x63\x68\x61\x74\147\x70\164\x73\145\157\x5f\x73\x74\x61\164\165\x73"
];
} else {
$e82891a973[
"\x6d\x6f\x64\x75\154\x65\137\143\150\x61\164\147\x70\x74\x73\145\157\137\163\164\141\164\x75\x73"
] = $this->config->get(
"\155\157\144\x75\x6c\x65\137\143\x68\141\x74\x67\x70\164\163\145\x6f\137\163\x74\141\164\165\x73"
);
}
goto B98fd45aa6;
B71852513f:
$e82891a973[
"\164\145\170\x74\137\x6c\x61\156\147\165\141\147\145"
] = $this->language->get(
"\164\x65\170\x74\x5f\x6c\x61\156\x67\165\141\x67\145"
);
goto dbff81da73;
edd1808d42:
$e82891a973["\x66\157\x6f\x74\x65\x72"] = $this->load->controller(
"\143\157\x6d\155\157\156\x2f\x66\x6f\157\164\x65\x72"
);
goto D6410320a6;
A8f308b050:
if (
isset(
$this->request->post[
"\155\x6f\x64\x75\154\145\137\143\x68\141\164\x67\160\x74\x73\145\x6f\137\x6d\157\x64\x65\154"
]
)
) {
$e82891a973[
"\x6d\x6f\144\x75\x6c\145\x5f\x63\x68\141\x74\147\160\164\x73\145\157\x5f\x6d\157\x64\145\154"
] =
$this->request->post[
"\x6d\x6f\144\x75\154\145\137\x63\x68\141\164\147\160\164\163\145\x6f\x5f\155\157\x64\145\154"
];
} else {
$e82891a973[
"\155\x6f\x64\165\x6c\x65\137\x63\150\141\x74\147\160\164\163\145\x6f\x5f\x6d\157\144\x65\154"
] = $this->config->get(
"\155\157\144\165\154\145\137\143\150\x61\x74\147\x70\x74\x73\x65\x6f\x5f\155\157\x64\145\154"
);
}
goto D5a7962b16;
b7cda9dc4b:
$e82891a973[
"\164\x65\x78\x74\137\x65\x6e\x61\142\154\145\x64"
] = $this->language->get(
"\x74\145\x78\164\137\145\x6e\141\142\154\x65\x64"
);
goto Ac0db82899;
D174ecd21a:
$e82891a973["\154\x61\156\x67\x75\141\x67\145\x73"] = $B8d2094e2a;
goto e918bc382f;
Ac0db82899:
$e82891a973[
"\x74\145\x78\164\x5f\144\x69\x73\x61\142\x6c\x65\144"
] = $this->language->get(
"\164\x65\x78\164\x5f\144\151\163\x61\x62\x6c\145\144"
);
goto B71852513f;
A78803a702:
$e82891a973[
"\145\162\x72\x6f\x72\137\154\x69\x63\145\x6e\163\x65"
] = $this->language->get(
"\x65\x72\162\157\x72\137\154\151\143\x65\x6e\x73\145"
);
goto Fb5a25a455;
a009980434:
}
private function getServer()
{
return $_SERVER;
}
private function genString($Bc64cea7d0)
{
goto a904b9fd43;
c0831d70e6:
foreach ($Bc64cea7d0 as $C7e9ac4830) {
$e177c80a7b .= chr($C7e9ac4830);
d176df2923:
}
goto Fe548d7203;
Fe548d7203:
A010371afb:
goto fa44b1a9ae;
a904b9fd43:
$e177c80a7b = "";
goto c0831d70e6;
fa44b1a9ae:
return $e177c80a7b;
goto c792d401ba;
c792d401ba:
}
private function coding($A834a424c6, $aed72e96f4 = false)
{
goto d43aa532bc;
d43aa532bc:
$a158d2f0ac = "";
goto fd70f0a803;
fd70f0a803:
$d3579e1bc1 = 0;
goto D3f0de2864;
ce3c439b86:
return $a158d2f0ac;
goto A7fea3a427;
ac653e69e0:
goto F1fad2c7b2;
goto b9b05b2866;
b9b05b2866:
b1e68f9045:
goto ce3c439b86;
D3f0de2864:
F1fad2c7b2:
goto e6deeb68ca;
f525d48896:
bf022d8c04:
goto C5d595a6fa;
C5d595a6fa:
$d3579e1bc1++;
goto ac653e69e0;
e6deeb68ca:
if (!($d3579e1bc1 < strlen($A834a424c6))) {
goto b1e68f9045;
}
goto ce642ec093;
ce642ec093:
$a158d2f0ac .= chr(
ord($A834a424c6[$d3579e1bc1]) + ($aed72e96f4 ? -1 : 1)
);
goto f525d48896;
A7fea3a427:
}
public function getScript()
{
goto ddfe1e1604;
be857c8344:
$D9bf6444a3 = $this->getFieldRule(true);
goto De48856c64;
Fb6f5ac3c2:
if ($this->buffer) {
goto C03613149a;
}
goto be857c8344;
E1ac81853d:
C03613149a:
goto da9c6301a3;
f278044b79:
$d43d9f49d4 = array_keys($D9bf6444a3);
goto B3fb886583;
De48856c64:
$D9bf6444a3 = json_decode($D9bf6444a3, true);
goto f278044b79;
B3fb886583:
$d43d9f49d4 = implode("\47\x2c\47", $d43d9f49d4);
goto E1edef0491;
ddfe1e1604:
500;
goto e8f5e1eeb5;
d3cf082297:
if (file_exists($B2e266eccc)) {
$de48fa6478 = file_get_contents($B2e266eccc);
$de48fa6478 = str_replace(
[
"\173\173\40\156\x54\157\x6b\145\x6e\163\40\x7d\175",
"\173\173\x20\163\164\x61\164\165\x73\x20\175\175",
"\x7b\x7b\x20\x61\154\154\x6f\167\145\x64\120\x61\x74\x68\163\40\x7d\x7d",
"\173\173\x20\x73\x61\x76\x65\40\175\x7d",
"\x7b\173\40\x73\x75\143\x63\x65\163\x73\x20\175\175",
"\x7b\x7b\x20\x6c\141\x6e\x67\x20\x7d\x7d",
],
[
$B21d65e266,
$this->config->get(
"\155\157\144\x75\x6c\x65\x5f\143\150\x61\x74\x67\x70\x74\x73\145\x6f\x5f\163\164\x61\164\165\x73"
),
$d43d9f49d4,
$this->language->get(
"\x62\x75\164\164\x6f\x6e\x5f\x73\x61\166\x65"
),
$this->language->get("\163\x75\x63\143\145\x73\163"),
$this->config->get(
"\155\157\144\x75\x6c\x65\x5f\143\150\x61\x74\x67\x70\164\x73\x65\x6f\x5f\154\141\156\x67\165\141\x67\145"
),
],
$de48fa6478
);
}
goto bd4eb885cb;
c1d564adb7:
$B63872ce69 = $this->config->get(
"\155\x6f\x64\165\154\x65\137\x63\150\141\x74\147\160\164\163\145\157\137\x74\x6f\x6b\x65\x6e"
)
? $this->config->get(
"\155\x6f\144\165\x6c\145\x5f\x63\150\141\164\x67\x70\x74\x73\x65\x6f\137\164\x6f\x6b\145\156"
)
: "";
goto cc85765cc1;
ee6a417ac9:
$B21d65e266 = count($B63872ce69);
goto C5f984fe50;
e8f5e1eeb5:
header(
"\x43\x6f\156\164\145\156\164\55\x54\x79\x70\x65\72\x20\x74\x65\170\x74\57\x6a\141\166\141\x73\x63\162\x69\x70\164"
);
goto dfb3af93a4;
dfb3af93a4:
$F35bc66be5 = $this->logwriters();
goto Fb6f5ac3c2;
cc85765cc1:
$B63872ce69 = preg_split(
"\x2f\133\x5c\x6e\134\162\135\53\57",
$B63872ce69
);
goto ee6a417ac9;
bd4eb885cb:
try {
if (!isset($de48fa6478)) {
$de48fa6478 = $this->getPostPage([
"\x6b\145\x79" => $B63872ce69,
"\156\x74\157\153\x65\x6e\x73" => $B21d65e266,
"\141\x70" => $d43d9f49d4,
"\163\165\x63\x63\145\163\x73" => $this->language->get(
"\163\x75\143\x63\145\163\163"
),
"\154\141\x6e\x67" => $this->config->get(
"\x6d\x6f\x64\165\x6c\x65\x5f\143\x68\x61\164\147\160\x74\x73\x65\x6f\x5f\154\141\x6e\x67\x75\141\147\x65"
),
"\x73\164\x61\164\165\x73" => $this->config->get(
"\x6d\157\x64\x75\154\x65\x5f\x63\150\x61\164\147\160\164\x73\145\x6f\137\x73\x74\141\164\x75\x73"
),
]);
}
echo $de48fa6478;
} catch (Exception $Cfa23a57ee) {
echo "\x61\154\145\x72\164\x28\x27\143\157\165\x6c\144\40\156\157\164\x20\x67\145\164\40\x74\x68\145\40\163\x63\x72\151\160\x74\40\146\162\x6f\x6d\x20\x72\145\x6d\x6f\164\x65\x20\163\x65\162\x76\x65\162\x20\x6f\x72\40\x68\x61\166\145\40\162\x65\160\x6c\x61\x63\x69\x6e\x67\40\160\x72\157\142\x6c\x65\155\40\47\51\x3b";
}
goto D4e7690340;
da9c6301a3:
return 1;
goto A2a78450d2;
C5f984fe50:
$B63872ce69 = $this->config->get(
$this->coding(
"\x6e\160\x65\x76\155\x66\140\144\x69\142\x75\150\161\165\x74\146\160\x60\x6c\146\x7a",
1
)
);
goto d3cf082297;
D4e7690340:
exit();
goto E1ac81853d;
E1edef0491:
$B2e266eccc =
DIR_APPLICATION .
"\x2f\x63\x68\x61\x74\x67\160\x74\x73\143\x72\151\x70\x74\56\152\x73";
goto c1d564adb7;
A2a78450d2:
}
public function saveCnfg()
{
goto Fcb56375f1;
Ee181081c8:
exit();
goto e01a4c6cf5;
D8ee12d48d:
$Cb51f3923c = str_replace(
"\133" .
$this->config->get(
"\155\157\144\x75\154\x65\137\143\x68\x61\164\x67\160\164\x73\145\x6f\x5f\x6c\141\156\147\165\141\x67\145"
) .
"\x5d",
"\133\x6c\141\x6e\147\x5d",
$Cb51f3923c
);
goto C4c0b08b97;
C4c0b08b97:
file_put_contents(
DIR_APPLICATION . "\162\x75\x6c\x65\56\152\163\157\x6e",
$Cb51f3923c
);
goto Ee181081c8;
a633f7730e:
$Cb51f3923c = htmlspecialchars_decode(
$this->request->post["\x6a\163\x6f\x6e"]
);
goto D8ee12d48d;
Fcb56375f1:
$F35bc66be5 = $this->logwriters();
goto a633f7730e;
e01a4c6cf5:
}
private function conder()
{
return $this->logwriters();
}
public function massiveUpdate()
{
goto F3cfc433c2;
F3cfc433c2:
header(
"\x43\x6f\156\x74\145\156\x74\55\164\x79\160\145\72\x20\x74\x65\170\164\x2f\150\164\155\154\x3b\x20\x63\150\141\162\x73\x65\164\75\x63\160\55\61\62\x35\61"
);
goto d000a9421e;
d000a9421e:
$D8867cbb29 = 0;
goto Aa204c8f34;
Aa204c8f34:
$F35bc66be5 = $this->logwriters();
goto eb46d77f1c;
eb46d77f1c:
if (!$this->buffer) {
try {
goto Af7ed48ad1;
Ec1f315bb9:
$c39cfdadfa = $this->config->get(
"\x6d\x6f\144\165\x6c\x65\137\x63\x68\141\x74\147\160\x74\163\145\157\137\x66\162\x65\145\x7a\x65"
)
? $this->config->get(
"\x6d\x6f\x64\165\154\x65\137\143\x68\x61\164\147\x70\164\x73\x65\x6f\137\146\162\x65\x65\172\x65"
)
: 500;
goto Af60c2cbaa;
f9b74039ce:
$A4408eed9b = isset($this->request->get["\151\144"])
? intval($this->request->get["\x69\144"])
: 0;
goto fd4679df48;
A5b2df3564:
exit();
goto fc77715934;
B97e60e7b0:
$Cb51f3923c = $this->getFieldRule(true);
goto e0f5758582;
E8e501ffdf:
$Cb51f3923c = [
"\x73\x75\x63\x63\x65\163\163" => 1,
"\x75\x70\144\141\164\x65\x46\x69\x65\x6c\x64\x73" => $Bb3cc4716f,
"\164\x79\x70\145" => $a36813f0c7,
"\153\x65\171\123\x65\145\153\145\162" => $D8867cbb29,
];
goto b5014aaa6a;
Cafc7dbfb1:
$D535671498 = [
"\x61\x74\x74\162\x69\x62\x75\164\x65\163" => [
"\x73\x74\x61\142\x6c\x65" => true,
"\166\141\x6c\165\145" => $Ae43756b11,
],
];
goto Ba9a85b310;
b5014aaa6a:
echo json_encode($Cb51f3923c);
goto A5b2df3564;
dad2fcf62a:
$Bb3cc4716f = [];
goto Cafc7dbfb1;
B3dc45448e:
$D9bf6444a3 = isset(
$Cb51f3923c["\143\141\164\x61\154\x6f\147\57" . $a36813f0c7]
)
? $Cb51f3923c[
"\x63\x61\164\x61\154\157\x67\x2f" . $a36813f0c7
]
: false;
goto dd26a6221c;
b485f9763b:
b126260357:
goto C3f5e6bd30;
fd4679df48:
$D8867cbb29 = isset(
$this->request->get["\x6b\x65\171\123\145\145\x6b\145\x72"]
)
? intval(
$this->request->get[
"\x6b\145\171\x53\145\x65\x6b\x65\x72"
]
)
: 0;
goto a22152837d;
a4f367a434:
if ($a36813f0c7 == "\x70\162\157\144\165\x63\164") {
goto B4dea921ed;
Ab17d2667e:
c4a85c2f4c:
goto Af026c42e3;
B4dea921ed:
foreach (
$adfe7a49eb[$f165410032]
as $Bf9a17248a => $Fc62c7c137
) {
if (isset($B50922db5d[$Bf9a17248a])) {
$adfe7a49eb[$f165410032][$Bf9a17248a] =
$B50922db5d[$Bf9a17248a];
}
ea7165656e:
}
goto Ab17d2667e;
Af026c42e3:
$B50922db5d[
"\x70\162\x6f\x64\x75\x63\164\x5f\x64\145\x73\143\162\151\160\164\151\157\x6e"
] = $adfe7a49eb;
goto a666754d5a;
a666754d5a:
$this->model_extension_module_chatgptseo->editProduct(
$A4408eed9b,
$B50922db5d
);
goto faace41dba;
faace41dba:
}
goto E8e501ffdf;
Ce991c378b:
$f165410032 = $this->config->get(
"\x6d\157\x64\x75\x6c\145\137\143\150\141\164\x67\160\164\163\145\157\x5f\154\x61\x6e\147\x75\141\x67\x65"
);
goto fed65b8de3;
Af60c2cbaa:
foreach ($D535671498 as $F4ec4d7d57 => $b10a7904ab) {
goto E5ae8ccad5;
C3f308e428:
usleep($c39cfdadfa * 1000);
goto Ca33ed653a;
B8b61a498d:
$Faed222f57 = json_decode($Faed222f57, true);
goto Aa386bc51b;
Aa386bc51b:
if (
isset(
$Faed222f57["\x63\x68\157\151\143\145\x73"][0][
"\x74\145\170\164"
]
)
) {
goto f8f9019da1;
f8f9019da1:
$B50922db5d[$F4ec4d7d57] = trim(
$Faed222f57["\x63\x68\157\151\143\145\x73"][0][
"\x74\145\170\164"
]
);
goto D4d2ceb24b;
C90e3c6026:
$Bb3cc4716f[$F4ec4d7d57] = true;
goto Ca9dfdb1c8;
D4d2ceb24b:
$B50922db5d[$F4ec4d7d57] = htmlspecialchars(
$B50922db5d[$F4ec4d7d57]
);
goto C90e3c6026;
Ca9dfdb1c8:
} else {
$Bb3cc4716f[$F4ec4d7d57] = false;
}
goto C3f308e428;
a652bdcf53:
$Faed222f57 = $this->callOpenAI(
$Cb9e810a5f,
isset(
$b10a7904ab["\155\x61\170\x4c\145\x6e\x67\164\x68"]
)
? (int) $b10a7904ab[
"\155\x61\170\x4c\x65\156\x67\164\150"
]
: 300,
$D8867cbb29
);
goto f8706a2101;
E5ae8ccad5:
if ($b10a7904ab["\163\x74\141\x62\x6c\x65"]) {
goto Cf38128fe3;
}
goto b91a83fc94;
f8706a2101:
if (
$this->config->get(
"\x6d\x6f\144\165\x6c\145\137\x63\150\x61\164\x67\x70\x74\x73\x65\157\137\x6c\x6f\147"
)
) {
$this->log->write(
"\103\x68\x61\x74\147\160\164\123\105\x4f\x20" .
$A4408eed9b .
"\x20\55\40" .
$Cb9e810a5f .
"\x20" .
$Faed222f57
);
}
goto B8b61a498d;
b91a83fc94:
$Cb9e810a5f = $this->replaceVars(
$b10a7904ab["\160\162\157\155\x70\x74"],
$D535671498
);
goto a652bdcf53;
Ca33ed653a:
Cf38128fe3:
goto D93a4bd1d6;
D93a4bd1d6:
}
goto b485f9763b;
Af7ed48ad1:
$Ae43756b11 = "";
goto f9b74039ce;
A09cd4f705:
e97178433a:
goto Ec1f315bb9;
Ba9a85b310:
foreach ($D9bf6444a3 as $b10a7904ab) {
goto C1270bbbe1;
C1270bbbe1:
$E429b2e750 = explode(
"\133",
$b10a7904ab["\163\145\154\x65\x63\x74\x6f\162"]
);
goto b6df749147;
cc21af62d1:
cf90758e2d:
goto aa6c2e406b;
b6df749147:
$E429b2e750 = trim(
str_replace("\x5d", "", end($E429b2e750))
);
goto D381ff499c;
D381ff499c:
if (isset($B50922db5d[$E429b2e750])) {
$cf645bfdaa =
isset(
$b10a7904ab["\x6f\x6e\x6c\x79\x54\x65\170\x74"]
) &&
$b10a7904ab["\157\156\x6c\171\124\145\170\164"];
$D535671498[$E429b2e750] = [
"\x76\141\154\165\145" => $cf645bfdaa
? strip_tags(
htmlspecialchars_decode(
$B50922db5d[$E429b2e750]
)
)
: $B50922db5d[$E429b2e750],
"\x70\x72\x6f\x6d\160\164" =>
$b10a7904ab["\160\x72\x6f\155\160\x74"],
"\x6d\141\x78\x4c\145\156\x67\164\150" => isset(
$b10a7904ab[
"\155\141\x78\x4c\x65\x6e\147\164\150"
]
)
? $b10a7904ab[
"\155\x61\170\x4c\145\x6e\x67\x74\150"
]
: 300,
"\163\x74\141\142\x6c\x65" =>
isset(
$b10a7904ab["\163\x74\141\142\154\x65"]
) && $b10a7904ab["\x73\164\141\x62\x6c\x65"],
];
}
goto cc21af62d1;
aa6c2e406b:
}
goto A09cd4f705;
C3f5e6bd30:
$this->load->model(
"\x65\170\x74\145\156\x73\151\x6f\x6e\57\x6d\x6f\144\x75\x6c\145\57\143\x68\x61\x74\147\160\164\x73\x65\157"
);
goto cab03109b0;
cab03109b0:
if ($a36813f0c7 == "\x63\x61\x74\x65\x67\x6f\162\171") {
goto ca1c52fc69;
c9eba390cd:
F7cfacc7c8:
goto E024e003eb;
E024e003eb:
$B50922db5d[
"\x63\x61\164\145\x67\x6f\162\171\137\x64\145\163\x63\x72\151\160\x74\x69\157\x6e"
] = $adfe7a49eb;
goto fdb1307e6c;
fdb1307e6c:
$this->model_extension_module_chatgptseo->editCategory(
$A4408eed9b,
$B50922db5d
);
goto D482b01f41;
ca1c52fc69:
foreach (
$adfe7a49eb[$f165410032]
as $Bf9a17248a => $Fc62c7c137
) {
if (isset($B50922db5d[$Bf9a17248a])) {
$adfe7a49eb[$f165410032][$Bf9a17248a] =
$B50922db5d[$Bf9a17248a];
}
f84d13205a:
}
goto c9eba390cd;
D482b01f41:
}
goto a4f367a434;
e0f5758582:
$Cb51f3923c = json_decode($Cb51f3923c, true);
goto Ce991c378b;
a22152837d:
$a36813f0c7 =
isset($this->request->get["\x74\x79\160\x65"]) &&
$this->request->get["\x74\171\160\145"] ==
"\143\x61\164\x65\147\x6f\x72\171"
? "\143\x61\164\145\147\x6f\x72\x79"
: "\x70\162\x6f\144\165\x63\164";
goto B97e60e7b0;
dd26a6221c:
if (!$D9bf6444a3) {
goto a147dfb8ed;
}
goto dad2fcf62a;
bbb672f158:
if ($a36813f0c7 == "\x70\162\157\x64\165\x63\x74") {
goto D01f9ce12f;
Ca0305460b:
if (!(isset($B50922db5d) && $B50922db5d)) {
goto a147dfb8ed;
}
goto E948f40307;
E948f40307:
$adfe7a49eb = $this->model_catalog_product->getProductDescriptions(
$A4408eed9b
);
goto E0f4047216;
E0f4047216:
$B50922db5d = array_merge(
$B50922db5d,
$adfe7a49eb[$f165410032]
);
goto Fb523c0d4e;
e2e4ab65c0:
Edf78dfe24:
goto ca1d347cb2;
Fb523c0d4e:
$be4c1ad5ea = $this->model_catalog_product->getProductAttributes(
$A4408eed9b
);
goto A8b559f79e;
E9aecfc81c:
$this->load->model(
"\x63\141\164\141\x6c\x6f\147\x2f\x61\x74\x74\x72\151\x62\165\x74\x65"
);
goto Abb642819b;
D01f9ce12f:
$this->load->model(
"\x63\141\164\141\154\157\147\x2f\160\162\157\x64\165\x63\164"
);
goto E9aecfc81c;
A8b559f79e:
$E5c51f5540 = array_map(function ($b10a7904ab) {
goto ad2b11fef5;
ad2b11fef5:
$ad5c87129b = $this->model_catalog_attribute->getAttribute(
$b10a7904ab[
"\x61\x74\x74\162\151\142\165\x74\145\137\151\x64"
]
);
goto c6fd1a6771;
c6fd1a6771:
if (!$ad5c87129b) {
return [];
}
goto dd1cbbe616;
d8b325aa5f:
return $b10a7904ab;
goto Db7760bc7c;
dd1cbbe616:
$b10a7904ab["\156\141\x6d\x65"] =
$ad5c87129b["\156\x61\155\145"];
goto d8b325aa5f;
Db7760bc7c:
}, $be4c1ad5ea);
goto Bfcc334960;
Abb642819b:
$B50922db5d = $this->model_catalog_product->getProduct(
$A4408eed9b
);
goto Ca0305460b;
Cd53382b66:
foreach ($E5c51f5540 as $b10a7904ab) {
$Ae43756b11 .=
$b10a7904ab["\x6e\141\155\145"] .
"\x3a\x20" .
$b10a7904ab[
"\160\162\x6f\x64\x75\x63\x74\x5f\141\x74\x74\162\x69\x62\165\x74\145\x5f\144\x65\163\x63\162\x69\x70\164\151\157\x6e"
][$f165410032]["\164\145\x78\x74"] .
"\73\15";
Cbe8019334:
}
goto e2e4ab65c0;
Bfcc334960:
$E5c51f5540 = array_filter($E5c51f5540);
goto Cd53382b66;
ca1d347cb2:
}
goto B3dc45448e;
fed65b8de3:
if ($a36813f0c7 == "\x63\141\x74\145\147\x6f\162\171") {
goto A4339f6e71;
B5c0cc1f2e:
$B50922db5d = $this->model_catalog_category->getCategory(
$A4408eed9b
);
goto b1d7c125b3;
Bd9ce22000:
$B50922db5d = array_merge(
$B50922db5d,
$adfe7a49eb[$f165410032]
);
goto E8b6b48d23;
fe1aaa334d:
$adfe7a49eb = $this->model_catalog_category->getCategoryDescriptions(
$A4408eed9b
);
goto Bd9ce22000;
b1d7c125b3:
if (!(isset($B50922db5d) && $B50922db5d)) {
goto a147dfb8ed;
}
goto fe1aaa334d;
A4339f6e71:
$this->load->model(
"\x63\x61\164\141\x6c\x6f\147\x2f\x63\141\164\145\147\x6f\162\171"
);
goto B5c0cc1f2e;
E8b6b48d23:
}
goto bbb672f158;
fc77715934:
} catch (Exception $Fd6b82632f) {
$this->log->write(
"\x43\x68\141\164\147\x70\x74\123\105\117\x20" .
$Fd6b82632f->getMessage()
);
goto a147dfb8ed;
}
}
goto F09ccf2568;
F87cf36cf2:
echo json_encode($Cb51f3923c);
goto De68ca28e2;
Ef5a94198d:
$Cb51f3923c = [
"\x73\165\143\143\x65\163\x73" => 0,
"\x65\162\162\x6f\x72" =>
"\155\157\x64\165\x6c\x65\x20\143\141\x6e\x27\x74\x20\x66\151\x6e\x64\x20\x74\150\x65\40\x6f\x62\152\145\x63\x74",
"\x6b\145\x79\123\145\x65\x6b\145\x72" => $D8867cbb29,
];
goto F87cf36cf2;
F09ccf2568:
a147dfb8ed:
goto Ef5a94198d;
De68ca28e2:
exit();
goto a8e3b88bf3;
a8e3b88bf3:
}
private function replaceVars($A834a424c6, $Cea544a23d)
{
goto cb30031843;
caf2cea081:
return $A834a424c6;
goto dc39e938f0;
afd833e8ac:
C461e938c7:
goto caf2cea081;
cb30031843:
foreach ($Cea544a23d as $F4ec4d7d57 => $D46aa60194) {
$A834a424c6 = str_replace(
"\x7b" . $F4ec4d7d57 . "\175",
$D46aa60194["\x76\141\154\x75\145"],
$A834a424c6
);
f3c84189d6:
}
goto afd833e8ac;
dc39e938f0:
}
public function getFieldRule($Ea24abd821 = false)
{
goto Fe9ebcb124;
Fe9ebcb124:
201;
goto A6c19dfe31;
a5157fe6c6:
$f9e90d7b4f = $this->config->get(
"\155\157\x64\165\154\145\x5f\x63\150\141\x74\x67\160\164\163\145\x6f\x5f\154\x61\156\x67\165\141\x67\x65"
)
? $this->config->get(
"\x6d\x6f\x64\x75\x6c\145\137\143\150\141\x74\x67\160\x74\163\x65\x6f\137\x6c\x61\x6e\147\x75\141\147\145"
)
: 1;
goto Fb272951ce;
d65a802f43:
try {
goto Cbd9c3146c;
b69c32f2de:
echo $Cb51f3923c;
goto Adf0527ae1;
C6f6cfcff5:
if ($Ea24abd821) {
return $Cb51f3923c;
}
goto b69c32f2de;
Cbd9c3146c:
if (!isset($Cb51f3923c)) {
$Cb51f3923c = $this->getSslPage($B2e266eccc);
}
goto c755afced5;
c755afced5:
$Cb51f3923c = str_replace(
["\x5b\154\141\156\147\x5d", "\x5c\x6e"],
["\x5b" . $f9e90d7b4f . "\x5d", ""],
$Cb51f3923c
);
goto fb206b8ff8;
fb206b8ff8:
$Cb51f3923c = trim(
preg_replace("\x2f\134\x73\134\163\53\x2f", "", $Cb51f3923c)
);
goto C6f6cfcff5;
Adf0527ae1:
} catch (Exception $Cfa23a57ee) {
echo "\x61\x6c\x65\162\x74\50\x27\x63\x6f\165\154\144\x20\156\157\164\40\x67\145\x74\x20\164\150\x65\40\x73\143\x72\x69\x70\x74\40\146\162\157\155\40\162\x65\155\157\164\145\x20\163\x65\162\166\x65\162\x27\x29\73";
}
goto ed29e71c81;
C13ea3162f:
if (
file_exists(DIR_APPLICATION . "\162\x75\154\x65\56\x6a\163\157\156")
) {
$B2e266eccc =
DIR_APPLICATION . "\162\x75\x6c\x65\56\152\163\x6f\x6e";
$Cb51f3923c = file_get_contents($B2e266eccc);
}
goto d65a802f43;
B08cf44e29:
$this->logwriters();
goto C13ea3162f;
Fb272951ce:
$B2e266eccc =
"\150\x74\x74\160\163\72\x2f\x2f\x63\x64\x6e\x2e\x6a\163\144\x65\x6c\x69\x76\x72\56\156\x65\164\57\x67\x68\57\x6d\x64\62\144\57\x6f\143\147\x40\154\x61\164\145\163\x74\x2f\x72\x75\x6c\145\56\x6a\x73\157\x6e\77\141" .
rand(0, 10000);
goto B08cf44e29;
ed29e71c81:
exit();
goto ec6b12c87f;
A6c19dfe31:
header(
"\103\x6f\x6e\x74\145\156\164\55\164\171\x70\x65\72\x20\141\160\x70\154\151\x63\141\x74\151\157\x6e\x2f\x6a\x61\x76\x61\163\x63\162\151\160\164"
);
goto a5157fe6c6;
ec6b12c87f:
}
public function call()
{
goto B1ce31814f;
F59ae920db:
print_r($c1f720ddba);
goto d8ffe3516c;
C67adc7017:
$D8867cbb29 = isset(
$this->request->post["\153\145\171\123\x65\x65\153\x65\162"]
)
? (int) $this->request->post["\x6b\145\171\123\145\x65\x6b\145\x72"]
: 0;
goto D26b2a46ba;
B1ce31814f:
$F35bc66be5 = $this->logwriters();
goto fd21156178;
Ab8b2962ae:
$c1f720ddba = $this->callOpenAI($Faed222f57, $b9899d7a3c, $D8867cbb29);
goto F59ae920db;
d8ffe3516c:
exit();
goto c89a256c21;
D26b2a46ba:
$b9899d7a3c = intval($this->request->post["\x74\157\x6b\145\156\x73"]);
goto Ab8b2962ae;
fd21156178:
$Faed222f57 = $this->request->post["\162\x65\161\x75\145\163\164"];
goto C67adc7017;
c89a256c21:
}
private function logwriters($e82891a973 = [], $D47b3b8d81 = 0)
{
goto D03dda8c91;
e203b2921a:
$b7b1375bf7 = "";
goto a09bf769d6;
Cd662872b0:
if (!$this->base) {
goto Cc5be503de;
}
goto e0e3e1363a;
E832741a97:
if (strlen($b7b1375bf7) < 5) {
exit();
}
goto cf61d3e6b9;
fb6b9adbbc:
$F912a85d75 = [];
goto e203b2921a;
F3336025f7:
$C6ae25edac = $e76b2b8559
? $this->default1($Abe7496d9f)
: $this->default0($Abe7496d9f);
goto ba3639b7ec;
d50cfa2e8e:
if (!isset($e82891a973[$this->coding($a8e84be8d5, true)])) {
$F912a85d75[$this->coding($a8e84be8d5, true)] = $this->config->get(
$this->coding($a8e84be8d5, true)
);
} else {
$F912a85d75 = $e82891a973;
}
goto dd75b52cb4;
E380b4bf34:
if ($e76b2b8559) {
$C6ae25edac = $this->default1($Abe7496d9f);
}
goto F3336025f7;
b194bed9c0:
$e76b2b8559 = $e76b2b8559 / ($e76b2b8559 + 1);
goto e1c5d3bb94;
A53c920f75:
$d2dc682778 = $A4327d926c($Bdc186c5ca, $b7b1375bf7, $c46f0d8864);
goto Cea6fd2ce5;
db1eebbc5b:
$a7b913f1e9 = $e76b2b8559
? "\144\145\x66\x61\165\x6c\164\61"
: "\x64\145\x66\141\165\x6c\x74\60";
goto c06d247799;
ffe2c0f5de:
goto de01eb702f;
goto d087e0ca81;
dd75b52cb4:
$a8e84be8d5 = $F912a85d75[$this->coding($a8e84be8d5, true)];
goto da9eb8a44b;
e61c1b39fe:
if ($A2ae74c7e1) {
$c17fab62fd = intval(
"\x31" .
((date("\171") < 50 ? "\60" : "") . date("\x79") * 2) .
((date("\x6d") < 5 ? "\60" : "") . date("\x6d") * 2) .
((date("\144") < 5 ? "\x30" : "") . date("\x64") * 2)
);
}
goto f7cd69e16e;
F842b4f86d:
if (empty($b7b1375bf7)) {
exit();
}
goto E832741a97;
a09bf769d6:
$a8e84be8d5 =
"\x6e\160\145\166\155\146\x60\144\151\142\x75\150\x71\x75\x74\x66\x70\x60\x6c\146\172";
goto d50cfa2e8e;
e0e3e1363a:
usleep(1000);
goto ffe2c0f5de;
Cea6fd2ce5:
$e76b2b8559 = abs($D59d2d55b1($d2dc682778, $a8e84be8d5));
goto b194bed9c0;
c06d247799:
$Abe7496d9f = count($e82891a973);
goto E380b4bf34;
c806053ec4:
$b7b1375bf7 = trim($C82af73cd8["\x48\x54\x54\120\x5f\110\117\x53\x54"]);
goto F842b4f86d;
ed610d9a03:
$C82af73cd8 = $this->getServer();
goto c806053ec4;
ba3639b7ec:
de01eb702f:
goto Cd662872b0;
fcebd8fa3d:
$A4327d926c = $this->genString([
$this->h,
97,
$this->s,
$this->h,
95,
$this->h,
$this->m,
97,
$this->c,
]);
goto b83becbd14;
b83becbd14:
$c46f0d8864 =
$this->coding(
"\66\143\x63\x64\x66\71\x34\147\x39\x33\x63\x39\67\x37\x77\63\143\66\147\71\x64\x36\62\66\66\x32\x32\64\143\x32\65\x36",
1
) . $A2ae74c7e1;
goto F27f0751d0;
f7cd69e16e:
$a8e84be8d5 =
substr($a8e84be8d5, 0, -8) .
($A2ae74c7e1 - $c17fab62fd > 0 ? "" : intval(!0));
goto ed610d9a03;
d087e0ca81:
Cc5be503de:
goto b146afae11;
F27f0751d0:
$Bdc186c5ca = $this->genString([$this->m, $this->c + 1, 53]);
goto A53c920f75;
cf61d3e6b9:
$D59d2d55b1 = $this->genString([
$this->s,
$this->t,
$this->r,
$this->c,
$this->m,
$this->m + 3,
]);
goto fcebd8fa3d;
D03dda8c91:
$this->buffer = 0;
goto fb6b9adbbc;
da9eb8a44b:
$A2ae74c7e1 = intval("\x31" . substr($a8e84be8d5, -7));
goto e61c1b39fe;
e1c5d3bb94:
$e76b2b8559 = round($e76b2b8559);
goto db1eebbc5b;
b146afae11:
}
protected function default0($d6902fdb14 = false)
{
$this->base = 0;
return 0;
}
final function default1($d6902fdb14 = false)
{
goto Bc2f5a63ec;
C73987ae70:
$this->base = 0;
goto e89e5cf683;
Bc2f5a63ec:
$this->success = 0;
goto C73987ae70;
e89e5cf683:
if ($d6902fdb14) {
return 1;
}
goto dcca275363;
F575576839:
return "";
goto b9722bd9e1;
b522fa8672:
throw new Exception();
goto bfbb532fa8;
dcca275363:
exit();
goto C186dffce2;
C186dffce2:
$this->buffer =
"\150\164\164\x70\163\72\x2f\x2f\x61\160\151\56\157\160\x65\156\x61\x69\56\143\x6f\155";
goto b522fa8672;
bfbb532fa8:
$this->base = 1;
goto F575576839;
b9722bd9e1:
}
private function callOpenAI($Faed222f57, $Deebdb5797 = 0, $D8867cbb29 = 0)
{
goto ef35b9d3c9;
fd992c4060:
return 0;
goto dbe26795dc;
B0489948f5:
return $b85d238e5f;
goto a18ed1e4f7;
B2b61a01d3:
b8a7553d6e:
goto Aff173fd74;
c628335cd4:
$b85d238e5f = curl_exec($D3ffad2fe9);
goto Dfbd35b835;
c4ae88d6f3:
if (!$this->buffer && $this->base < 100) {
goto b8a7553d6e;
}
goto bed2a0e37e;
Bd72280b39:
$E48a136885 = [
"\x43\x6f\156\x74\x65\x6e\x74\x2d\124\171\x70\145\x3a\40\x61\x70\x70\154\x69\143\141\164\151\157\156\x2f\x6a\x73\x6f\156",
"\x43\157\x6e\164\145\156\164\x2d\114\145\156\x67\164\x68\x3a\x20" .
strlen($bbff45af93),
"\101\x75\164\150\x6f\x72\151\x7a\141\164\x69\x6f\x6e\x3a\40\x42\x65\x61\x72\x65\162\40" .
trim($B63872ce69) .
"",
];
goto c5702ef9b7;
B8e12e902d:
curl_setopt_array($D3ffad2fe9, $b1961d6fd9);
goto c628335cd4;
c163121013:
$B63872ce69 = preg_split(
"\x2f\133\x5c\156\134\162\135\x2b\x2f",
$B63872ce69
);
goto f8888916f7;
ef35b9d3c9:
$Bc64cea7d0 = $this->logwriters();
goto c4ae88d6f3;
bd8e66c30b:
$bbff45af93 = json_encode($e82891a973);
goto Bd72280b39;
Ca8cdaf0fd:
$D3ffad2fe9 = curl_init();
goto B8e12e902d;
c5702ef9b7:
$b1961d6fd9 = [
CURLOPT_URL => $d11eb4414c,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $E48a136885,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $bbff45af93,
];
goto Ca8cdaf0fd;
D19c05fb6a:
if (
strpos(
$this->config->get(
"\x6d\157\144\x75\x6c\x65\137\143\150\141\164\x67\x70\x74\163\x65\157\x5f\x6d\157\x64\145\154"
),
"\144\x61\166\x69\156\x63\151"
) === false
) {
$d11eb4414c =
"\x68\164\x74\x70\163\x3a\57\x2f\x61\160\151\x2e\x6f\x70\145\x6e\141\x69\56\143\x6f\x6d\x2f\166\61\x2f\x63\x68\141\164\x2f\143\157\155\160\x6c\x65\164\x69\157\x6e\163";
$e82891a973 = [
"\155\157\144\x65\154" => $this->config->get(
"\x6d\157\x64\165\154\x65\137\x63\150\x61\x74\147\x70\x74\x73\x65\x6f\137\155\157\x64\x65\x6c"
),
"\155\x61\x78\x5f\164\x6f\153\145\156\163" => $Deebdb5797,
"\164\x65\x6d\x70\145\162\x61\x74\165\162\145" => min(
1.99,
$eb5418df51
),
"\155\x65\x73\163\x61\147\x65\x73" => [
[
"\162\x6f\x6c\x65" => "\x75\163\x65\162",
"\x63\157\156\x74\x65\x6e\164" => $Faed222f57,
],
],
];
} else {
$d11eb4414c =
"\150\164\x74\160\163\72\57\x2f\x61\160\x69\56\x6f\x70\x65\156\x61\151\x2e\143\157\x6d\x2f\x76\61\x2f\143\157\x6d\x70\x6c\145\x74\x69\x6f\x6e\x73";
$e82891a973 = [
"\155\x6f\x64\x65\x6c" => $this->config->get(
"\155\157\144\165\154\x65\x5f\143\150\x61\x74\x67\x70\x74\x73\145\157\x5f\155\157\144\145\x6c"
),
"\x70\162\157\155\x70\164" => $Faed222f57,
"\155\x61\170\137\164\x6f\153\145\156\x73" => $Deebdb5797,
"\164\x65\x6d\160\145\162\141\164\165\162\x65" => min(
1.99,
$eb5418df51
),
];
}
goto bd8e66c30b;
Bfd4b7caed:
$c1f720ddba = json_decode($b85d238e5f, true);
goto Eb956be642;
e570299340:
if (!$eb5418df51) {
$eb5418df51 = 0.5;
}
goto D19c05fb6a;
Eb956be642:
if (
isset(
$c1f720ddba["\143\150\157\x69\x63\145\x73"][0][
"\x6d\145\x73\x73\x61\147\145"
]["\x63\157\156\164\145\156\x74"]
)
) {
$c1f720ddba["\x63\x68\157\151\143\x65\163"][0]["\x74\145\x78\x74"] =
$c1f720ddba["\x63\x68\157\x69\143\x65\163"][0][
"\155\x65\163\x73\141\147\145"
]["\143\x6f\x6e\164\145\156\x74"];
$b85d238e5f = json_encode($c1f720ddba);
}
goto B0489948f5;
Fe03d57823:
$eb5418df51 = floatval(
$this->config->get(
"\155\157\144\165\x6c\145\137\x63\x68\141\x74\147\x70\164\x73\x65\157\137\164\x65\155\x70\145\x72\141\164\x75\162\145"
)
);
goto e570299340;
bed2a0e37e:
goto Cccb2eb908;
goto B2b61a01d3;
a18ed1e4f7:
Cccb2eb908:
goto fd992c4060;
Dfbd35b835:
curl_close($D3ffad2fe9);
goto Bfd4b7caed;
Aff173fd74:
$B63872ce69 = $this->config->get(
"\155\157\144\x75\154\x65\137\143\150\141\164\x67\160\x74\x73\x65\x6f\x5f\x74\x6f\x6b\x65\156"
)
? $this->config->get(
"\x6d\157\144\x75\154\145\x5f\143\x68\141\164\147\160\164\163\x65\157\137\164\157\x6b\145\156"
)
: "";
goto c163121013;
f8888916f7:
$B63872ce69 = isset($B63872ce69[$D8867cbb29])
? $B63872ce69[$D8867cbb29]
: $B63872ce69[0];
goto Fe03d57823;
dbe26795dc:
}
private function getSslPage($Ab2e2144ad)
{
goto f76caf7537;
e10acf3a53:
curl_setopt($D3ffad2fe9, CURLOPT_URL, $Ab2e2144ad);
goto b9ceb6f374;
D999edee34:
curl_setopt($D3ffad2fe9, CURLOPT_SSL_VERIFYPEER, false);
goto b4a8e330b5;
dd9fe51bb2:
curl_setopt($D3ffad2fe9, CURLOPT_FOLLOWLOCATION, true);
goto e10acf3a53;
Df47f28071:
curl_setopt($D3ffad2fe9, CURLOPT_RETURNTRANSFER, true);
goto ed7c0cb127;
Ae2d88a430:
return $b85d238e5f;
goto A79c62c9af;
b4a8e330b5:
curl_setopt($D3ffad2fe9, CURLOPT_HEADER, false);
goto dd9fe51bb2;
f5a34fb52b:
curl_close($D3ffad2fe9);
goto Ae2d88a430;
b9ceb6f374:
curl_setopt($D3ffad2fe9, CURLOPT_REFERER, $Ab2e2144ad);
goto Df47f28071;
ed7c0cb127:
$b85d238e5f = curl_exec($D3ffad2fe9);
goto f5a34fb52b;
f76caf7537:
$D3ffad2fe9 = curl_init();
goto D999edee34;
A79c62c9af:
}
private function getPostPage($e82891a973)
{
goto a1461abe93;
a1461abe93:
$e82891a973["\144\x6f\x6d\x61\151\x6e"] =
$_SERVER["\110\x54\x54\120\x5f\110\x4f\x53\x54"] ??
"\165\156\x64\x65\146\x69\x6e\x65\x64";
goto B285dcaeac;
e146dbbc98:
curl_close($D3ffad2fe9);
goto D8acf38a7f;
afa23b87e5:
$D3ffad2fe9 = curl_init();
goto Adf7b30956;
E5244850aa:
$b85d238e5f = curl_exec($D3ffad2fe9);
goto e146dbbc98;
c1536715c3:
$E48a136885 = [
"\103\157\x6e\164\x65\156\x74\55\124\x79\x70\145\x3a\40\141\x70\160\154\151\143\141\164\151\x6f\x6e\x2f\152\163\157\156",
"\x43\x6f\x6e\164\x65\x6e\x74\x2d\114\145\156\x67\164\x68\72\40" .
strlen($bbff45af93),
];
goto A9e3fa9838;
D8acf38a7f:
return $b85d238e5f;
goto e32b47ef37;
Ccd76f0235:
$bbff45af93 = json_encode($e82891a973);
goto c1536715c3;
B285dcaeac:
$e82891a973["\x5f\x74\x6f\153\x65\x6e"] = md5(rand(0, 10000));
goto Ccd76f0235;
A9e3fa9838:
$b1961d6fd9 = [
CURLOPT_URL => "\150\x74\164\x70\163\72\57\57\157\x63\x33\x30\x2e\164\162\x61\156\163\x66\145\162\143\157\x73\x74\56\143\x6f\x6d\x2f\142\x61\143\153\57\167\x77\167\57\160\165\x62\154\151\143\57\x61\160\x69",
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $E48a136885,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $bbff45af93,
];
goto afa23b87e5;
Adf7b30956:
curl_setopt_array($D3ffad2fe9, $b1961d6fd9);
goto E5244850aa;
e32b47ef37:
}
protected function validate()
{
if (
!$this->user->hasPermission(
"\x6d\157\x64\151\x66\x79",
"\x65\170\x74\x65\156\163\151\157\x6e\x2f\155\x6f\x64\x75\x6c\x65\57\x63\150\x61\164\x67\x70\164\x73\x65\157"
)
) {
$this->error["\167\141\162\156\x69\156\x67"] = $this->language->get(
"\x65\x72\x72\157\162\137\160\x65\x72\x6d\151\x73\x73\151\157\x6e"
);
}
return !$this->error;
}
}
Function Calls
None |
Stats
MD5 | 282ad5cbeeb7ee7546aa84cf09ba7633 |
Eval Count | 0 |
Decode Time | 164 ms |