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 ControllerModuleCompleteSeo extends Controller { const MODULE = "..
Decoded Output download
<?php
class ControllerModuleCompleteSeo extends Controller
{
const MODULE = "complete_seo";
const PREFIX = "mlseo";
const MOD_FILE = "seo_package";
const LINK = "module/complete_seo";
const EXT_PATH = "extension/complete_seo/";
const OCID = 9486;
static $EXT_PATH = '';
static $MODEL_PATH = "model_";
static $LINK = "module/complete_seo";
static $LINK_SEP = "module/complete_seo/";
static $ASSET_PATH = "view/seo_package/";
private $error = array();
private $OC_VERSION;
private $OC_V2;
private $OC_V21X;
private $OC_V22X;
private $OC_V23X;
private $EXT_23X = '';
private $OC_V151;
private $ml_mode = false;
private $multistore_mode = false;
private $start;
private $limit = 500;
private $start_time;
private $token;
private $url_alias;
private $front_url;
private $total_items;
private $store;
private $edit_action = "edit";
public function __construct($pISbH)
{
goto sFRrp;
ZJ7y0:
m58H_:
goto jHOAX;
Meysf:
lPHhz:
goto mYU8b;
SyhBk:
$this->load->language("extension/" . self::$LINK);
goto wMBnu;
k01Zi:
qOOM3:
goto SyhBk;
KOP1e:
EvnX4:
goto VYkKn;
ucdY8:
$this->url_alias = "url_alias";
goto M5etS;
O5fIV:
$this->ml_mode = true;
goto TGi_6;
qPE6b:
EWtJi:
goto dnpTt;
qJVh6:
if (!$this->OC_V23X) {
goto RppqM;
}
goto rEeht;
A7q52:
RppqM:
goto Krsck;
VFUtq:
require_once \VQMod::modCheck($I3nJ2);
goto enzkH;
jHOAX:
$this->front_url->addRewrite($SBG6r);
goto mB59W;
XV2Pq:
uQfNh:
goto tdj3D;
mF0nR:
self::$LINK = self::EXT_PATH . self::$LINK;
goto u9iOU;
v2B6Y:
require_once $jc9p9->modCheck($I3nJ2);
goto FE97a;
NN9UY:
require_once VQMod::modCheck(modification($I3nJ2), $I3nJ2);
goto XV2Pq;
UHcys:
$this->token = isset($this->session->data["user_token"]) ? "user_token=" . $this->session->data["user_token"] : "token=" . $this->session->data["token"];
goto T2Vwh;
h3jfm:
o5l8J:
goto qPP9n;
F6OP7:
if (class_exists("VQMod")) {
goto DJA7D;
}
goto XKSCS;
rUWU3:
$I3nJ2 = DIR_SYSTEM . "../catalog/controller/common/seo_url.php";
goto omeGZ;
WR82P:
g3BqJ:
goto v2B6Y;
FiGq8:
CEulp:
goto S3QaZ;
Krsck:
if (version_compare(VERSION, "2", ">=")) {
goto Z8Iyv;
}
goto qEnSl;
KCW1_:
goto fyo4j;
goto h3jfm;
wMBnu:
fFALm:
goto i1ZBz;
ZBNhs:
defined("HTTP_CATALOG") ?: define("HTTP_CATALOG", $this->config->get("site_url"));
goto XaBeO;
mB59W:
bkrSh:
goto pkFkg;
T2Vwh:
FMEjr:
goto G2wRR;
awqFJ:
$this->url_alias = "seo_url";
goto est16;
Qo3KK:
if (version_compare(VERSION, "2.2", ">=")) {
goto o5l8J;
}
goto iruk4;
SFqRx:
HMzNi:
goto NPswK;
yYU0K:
require_once modification($I3nJ2);
goto UZEGC;
a6PQR:
$this->OC_V23X = version_compare(VERSION, "2.3", ">=");
goto qJVh6;
h5bME:
goto unsS7;
goto VTEXy;
est16:
bMbFh:
goto WqwIl;
mXQTC:
gMS5Q:
goto yYU0K;
VLZF7:
self::$EXT_PATH = "extension/" . self::MODULE . "/";
goto BXUcu;
iruk4:
$SBG6r = new ControllerCommonSeoUrl($this->registry);
goto KCW1_;
pkFkg:
if (version_compare(VERSION, "3", ">=") && version_compare(VERSION, "4", "<")) {
goto qOOM3;
}
goto f3l4z;
G2wRR:
if (version_compare(VERSION, "3", ">=")) {
goto tFjjX;
}
goto ucdY8;
Nywil:
$this->front_url = new Url(HTTP_CATALOG, $this->config->get("config_secure") ? HTTP_CATALOG : HTTPS_CATALOG);
goto s9kuX;
XKSCS:
require_once $I3nJ2;
goto h5bME;
f3l4z:
$this->load->language(self::$LINK);
goto LkUW4;
eWtYS:
if (defined("SEO_PACKAGE_CLI")) {
goto FMEjr;
}
goto UHcys;
BXUcu:
self::$MODEL_PATH = "model_extension_" . self::MODULE . "_";
goto boIfP;
LkLVz:
if (class_exists("VQMod") && function_exists("modification")) {
goto wLw46;
}
goto VGq1U;
NPswK:
$SBG6r = new \Opencart\Catalog\Controller\Startup\SeoUrl($this->registry);
goto ZJ7y0;
VTEXy:
DJA7D:
goto VFUtq;
qEnSl:
$this->edit_action = "update";
goto jXkY2;
vz0p6:
goto mAkEE;
goto mXQTC;
w8GFG:
if (version_compare(VERSION, "2.2", ">=")) {
goto S4Zv9;
}
goto rUWU3;
JQ2YV:
wLw46:
goto NN9UY;
S3QaZ:
if (version_compare(VERSION, "4", ">=")) {
goto lPHhz;
}
goto Nywil;
qPP9n:
$SBG6r = new ControllerStartupSeoUrl($this->registry);
goto A5XCv;
sFRrp:
ini_set("memory_limit", -1);
goto cEcWN;
omeGZ:
goto EWtJi;
goto cjhZd;
cjhZd:
S4Zv9:
goto vrJKf;
cEcWN:
$this->OC_VERSION = (int) str_replace(".", '', substr(VERSION, 0, 5));
goto GNQ6m;
u9iOU:
self::$LINK_SEP = self::$LINK . (version_compare(VERSION, "4", "<") ? "/" : "|");
goto VLZF7;
TGi_6:
QqluM:
goto H3Xme;
UbQSm:
$this->OC_V22X = version_compare(VERSION, "2.2", ">=");
goto a6PQR;
mYU8b:
$this->front_url = new \Opencart\System\Library\Url($this->config->get("site_url"));
goto ZBNhs;
rEeht:
$this->EXT_23X = "extension/";
goto A7q52;
A5XCv:
fyo4j:
goto Ut4eB;
GNQ6m:
$this->OC_V2 = version_compare(VERSION, "2", ">=");
goto EATls;
UZEGC:
mAkEE:
goto H8v0x;
enzkH:
unsS7:
goto vz0p6;
FE97a:
c53Pv:
goto Z28Wn;
Po0Jc:
tFjjX:
goto awqFJ;
boIfP:
self::$ASSET_PATH = "../extension/" . self::MODULE . "/admin/" . self::$ASSET_PATH;
goto KOP1e;
tdj3D:
goto c53Pv;
goto WR82P;
XaBeO:
defined("HTTPS_CATALOG") ?: define("HTTPS_CATALOG", $this->config->get("site_url"));
goto mF0nR;
wTebE:
$this->OC_V21X = version_compare(VERSION, "2.1", ">=");
goto UbQSm;
VYkKn:
if (!$this->config->get("config_seo_url")) {
goto bkrSh;
}
goto w8GFG;
WqwIl:
if (!$this->config->get("mlseo_ml_mode")) {
goto QqluM;
}
goto O5fIV;
dnpTt:
if (isset($jc9p9)) {
goto g3BqJ;
}
goto LkLVz;
EATls:
$this->OC_V151 = substr(VERSION, 0, 5) == "1.5.1";
goto wTebE;
vrJKf:
$I3nJ2 = DIR_SYSTEM . "../catalog/controller/startup/seo_url.php";
goto qPE6b;
TfHhZ:
$this->multistore_mode = true;
goto FiGq8;
s9kuX:
goto EvnX4;
goto Meysf;
Z28Wn:
if (version_compare(VERSION, "4", ">=")) {
goto HMzNi;
}
goto Qo3KK;
M5etS:
goto bMbFh;
goto Po0Jc;
LkUW4:
goto fFALm;
goto k01Zi;
H3Xme:
if (!$this->config->get("mlseo_multistore")) {
goto CEulp;
}
goto TfHhZ;
jXkY2:
Z8Iyv:
goto Zt8Rm;
H8v0x:
goto uQfNh;
goto JQ2YV;
Zt8Rm:
parent::__construct($pISbH);
goto eWtYS;
Ut4eB:
goto m58H_;
goto SFqRx;
VGq1U:
if (function_exists("modification")) {
goto gMS5Q;
}
goto F6OP7;
i1ZBz:
}
public function save()
{
goto ejhtf;
bqGh5:
@unlink(DIR_OPENCART . "vqmod/mods.cache");
goto cOD9K;
ix9_N:
goto QvExh;
goto qDjWo;
cOD9K:
array_map("unlink", glob(DIR_OPENCART . "vqmod/vqcache/*.*"));
goto vRqTR;
w1_Ia:
rename(DIR_EXTENSION . self::MODULE . "/seo_package.xml_", DIR_EXTENSION . self::MODULE . "/seo_package.xml");
goto AFhyE;
KCQ5l:
QvExh:
goto ZxnH2;
MYgzn:
sxqHT:
goto BYLK3;
LkOgj:
$this->request->post["mlseo_lang_to_store"] = $BfGT9;
goto zHyzC;
aFYvJ:
zUTLf:
goto r7G7D;
BYLK3:
$this->load->model("setting/store");
goto BlvRI;
c4ghX:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto y0p07;
}
goto pgKL5;
zHyzC:
unset($this->request->post["langs"], $this->request->post["simulate"], $this->request->post["empty_only"], $this->request->post["redirect_mode"]);
goto IrGPX;
v2407:
goto CCpQN;
goto SJ8Nb;
PJuM0:
if (!(isset($this->request->get["store_id"]) && $this->request->get["store_id"])) {
goto mXgcr;
}
goto BqP38;
ejhtf:
$iXMyN = isset($_SERVER["HTTP_X_REQUESTED_WITH"]) && $_SERVER["HTTP_X_REQUESTED_WITH"] == "XMLHttpRequest";
goto EDh70;
j5Ck_:
foreach ($this->request->post["mlseo_flag_custom"] as $fJoKn => $Rr6LW) {
goto kAR1S;
CQXGN:
Ubfdu:
goto MA1Rw;
Yx4G0:
$Rr6LW = '';
goto F6uoD;
bwUqN:
if (!empty($Ur8AP["seo_url_id"])) {
goto RHjx3;
}
goto PPM7d;
MA1Rw:
bPejZ:
goto iOz1m;
kAR1S:
$Ur8AP = $this->db->query("SELECT * FROM `" . DB_PREFIX . "seo_url` WHERE `key` = 'language' AND `value` = '" . $this->db->escape($fJoKn) . "'")->row;
goto p48B9;
lMi9d:
$this->db->query("UPDATE `" . DB_PREFIX . "seo_url` SET `keyword` = '" . $this->db->escape($Rr6LW) . "', `sort_order` = '" . ($Rr6LW ? "-10" : '') . "' WHERE `seo_url_id` = '" . (int) $Ur8AP["seo_url_id"] . "'");
goto CQXGN;
F6uoD:
Rn2vX:
goto bwUqN;
bfnrj:
goto Ubfdu;
goto TSZkH;
TSZkH:
RHjx3:
goto lMi9d;
PPM7d:
$this->db->query("INSERT INTO `" . DB_PREFIX . "seo_url` SET `store_id` = '" . (int) $DMfse . "', `language_id` = '" . (int) $ffgGV[$fJoKn] . "', `key` = 'language', `value` = '" . $this->db->escape($fJoKn) . "', `keyword` = '" . $this->db->escape($Rr6LW) . "', `sort_order` = '" . ($Rr6LW ? "-10" : '') . "'");
goto bfnrj;
p48B9:
if (!($this->request->post["mlseo_flag_mode"] != "tag")) {
goto Rn2vX;
}
goto Yx4G0;
iOz1m:
}
goto dXKOc;
HoMql:
if (empty($Gu0Rj["error"]["warning"])) {
goto QWbBG;
}
goto DJbl5;
rRkx1:
@unlink(DIR_OPENCART . "vqmod/mods.cache");
goto za2G7;
hMQSW:
if ($iXMyN) {
goto CN24Q;
}
goto HoMql;
SwH4G:
$this->request->post["mlseo_lang_codes"] = $JJcK4;
goto LkOgj;
r7G7D:
if (!version_compare(VERSION, "4", ">=")) {
goto OzsUQ;
}
goto j5Ck_;
wzKKc:
$cHoqT = $this->model_localisation_language->getLanguages();
goto tMIAb;
COVa5:
foreach ($data["stores"] as $VzaDn) {
goto MUmJy;
MUmJy:
$sX9xf = $this->model_setting_setting->getSetting("config", $VzaDn["store_id"]);
goto Q15nu;
ZWErn:
kGjMT:
goto LN4Rr;
ar2xu:
$BfGT9[$sX9xf["config_language"]] = array("config_url" => !empty($sX9xf["config_url"]) ? rtrim($sX9xf["config_url"], "/") : rtrim(HTTP_CATALOG, "/"), "config_ssl" => !empty($sX9xf["config_ssl"]) ? rtrim($sX9xf["config_ssl"], "/") : rtrim(HTTPS_CATALOG, "/"));
goto ZWErn;
Q15nu:
if (empty($sX9xf["config_language"])) {
goto kGjMT;
}
goto ar2xu;
LN4Rr:
uv5oO:
goto S5IVw;
S5IVw:
}
goto aFYvJ;
A317J:
$UG7Px = '';
goto rJulP;
lNYjN:
$data["stores"][] = array("store_id" => 0, "name" => $this->config->get("config_name"));
goto T7amW;
jv4xH:
$this->model_setting_setting->editSetting("module_" . self::MODULE, array("module_" . self::MODULE . "_status" => !empty($this->request->post["mlseo_enabled"])));
goto xYAKa;
ewwMX:
$this->response->setOutput(json_encode($Gu0Rj));
goto jdSJj;
S0lxg:
$BfGT9 = array();
goto COVa5;
BqP38:
$data["store_id"] = $DMfse = (int) $this->request->get["store_id"];
goto uHQgm;
jJ_Rh:
$DMfse = 0;
goto PJuM0;
za2G7:
array_map("unlink", glob(DIR_OPENCART . "vqmod/vqcache/*.*"));
goto KCQ5l;
xiLAZ:
rename(DIR_EXTENSION . self::MODULE . "/seo_package.xml", DIR_EXTENSION . self::MODULE . "/seo_package.xml_");
goto cQV2h;
TOrM4:
if (!(defined("DIR_EXTENSION") && empty($this->request->post["mlseo_enabled"]) && is_file(DIR_EXTENSION . self::MODULE . "/seo_package.xml"))) {
goto bujfp;
}
goto xiLAZ;
ZxnH2:
$Gu0Rj["success"] = $this->language->get("text_success");
goto gTdw7;
jdSJj:
CCpQN:
goto F5NOz;
IF1U1:
Ct3Go:
goto jJ_Rh;
moyH3:
QWbBG:
goto nao3c;
EIRM_:
ChhW2:
goto jv4xH;
tMIAb:
$JJcK4 = array();
goto NE6Bs;
BlvRI:
$data["stores"] = array();
goto lNYjN;
MNok5:
M7Osw:
goto S0lxg;
AFhyE:
@unlink(DIR_OPENCART . "vqmod/checked.cache");
goto rRkx1;
gTdw7:
fePnH:
goto hMQSW;
KZM2S:
$this->response->addHeader("Content-Type: application/json");
goto ewwMX;
M3StJ:
OzsUQ:
goto i1En2;
pgKL5:
$Gu0Rj["error"]["warning"] = $this->language->get("error_permission");
goto MD3gF;
EDh70:
$Gu0Rj = [];
goto c4ghX;
uHQgm:
mXgcr:
goto A317J;
NE6Bs:
$bGfQe = array();
goto qs_d9;
jE0BU:
foreach ($O5Rxc as $VzaDn) {
goto UvEo0;
UvEo0:
$IEB4b = array();
goto u2Dst;
u2Dst:
$data["stores"][] = array("store_id" => $VzaDn["store_id"], "name" => $VzaDn["name"]);
goto LPHWe;
LPHWe:
uEpGq:
goto JgGfM;
JgGfM:
}
goto IF1U1;
vRqTR:
bujfp:
goto ix9_N;
MD3gF:
y0p07:
goto Grby4;
pvJcb:
return $this->index();
goto moyH3;
xYAKa:
$this->model_setting_setting->editSetting("mlseo", $this->request->post, $DMfse);
goto VQo6t;
Thp6l:
$this->load->model("setting/setting");
goto t8m_P;
t8m_P:
$this->load->model("localisation/language");
goto wzKKc;
IrGPX:
foreach ($cHoqT as $cEX8Y) {
goto aNOJ0;
aNOJ0:
if (!isset($this->request->post["mlseo_urls_" . $cEX8Y["code"]])) {
goto R9zAN;
}
goto lwTIw;
lwTIw:
$this->request->post["mlseo_urls_" . $cEX8Y["code"]] = array_combine($this->request->post["mlseo_urls_" . $cEX8Y["code"]]["keys"], $this->request->post["mlseo_urls_" . $cEX8Y["code"]]["values"]);
goto VSvAE;
eUiC4:
BLAZ0:
goto bKbCg;
VSvAE:
R9zAN:
goto eUiC4;
bKbCg:
}
goto EIRM_;
cQV2h:
@unlink(DIR_OPENCART . "vqmod/checked.cache");
goto bqGh5;
nao3c:
$this->session->data["success"] = $this->language->get("text_success");
goto e1hbQ;
DJbl5:
$this->session->data["error"] = $this->language->get($Gu0Rj["error"]["warning"]);
goto pvJcb;
Ty9jW:
$UG7Px = "&store_id=" . $DMfse;
goto MNok5;
i1En2:
$this->request->post["mlseo_ml_mode"] = count($cHoqT) > 1;
goto SwH4G;
SJ8Nb:
CN24Q:
goto KZM2S;
Grby4:
if ($Gu0Rj) {
goto fePnH;
}
goto Thp6l;
e1hbQ:
$this->response->redirect($this->url->link(self::$LINK, $this->token, "SSL"));
goto v2407;
rJulP:
if (!$DMfse) {
goto M7Osw;
}
goto Ty9jW;
T7amW:
$O5Rxc = $this->model_setting_store->getStores();
goto jE0BU;
qs_d9:
foreach ($cHoqT as $A5i57 => $nDDFl) {
goto vDjBQ;
WhbhU:
bGNhl:
goto AeAho;
vvcqK:
$JJcK4[$nDDFl["language_id"]] = $nDDFl["code"];
goto s0vZi;
bis3h:
JQK9z:
goto WhbhU;
s0vZi:
$ffgGV[$nDDFl["code"]] = $nDDFl["language_id"];
goto bis3h;
vDjBQ:
if (!$nDDFl["status"]) {
goto JQK9z;
}
goto vvcqK;
AeAho:
}
goto MYgzn;
VQo6t:
if (defined("DIR_EXTENSION") && !empty($this->request->post["mlseo_enabled"]) && is_file(DIR_EXTENSION . self::MODULE . "/seo_package.xml_")) {
goto S13hG;
}
goto TOrM4;
qDjWo:
S13hG:
goto w1_Ia;
dXKOc:
v5TX5:
goto M3StJ;
F5NOz:
}
public function index()
{
goto X4xqu;
u7f6Q:
$qJhNs = [];
goto Z1olc;
YVlH_:
$O5Rxc = $this->model_setting_store->getStores();
goto LFfxD;
fwsl3:
goto d6X01;
goto boJPt;
kUOD6:
goto X4buG;
goto ZlZUn;
VJoet:
mNTEX:
goto FxnP9;
uEMMg:
$this->session->data["error"] = $this->language->get("error_module_disabled");
goto OEd6C;
L4Iq0:
$this->session->data["error"] .= '<br/><br/>Also make sureto install this package: <a href="https\:\/\/geekodev\.com\/easy-vqmod-installer">https://geekodev.com/easy-vqmod-installer</a>';
goto fwsl3;
Z2xdq:
$this->session->data["error"] .= "<br/><br/>If you have opencart v2.x or 3.x and don't know what is vqmod or ocmod, then install ocmod version";
goto teAB6;
Sb9rC:
K6vZ7:
goto gpdZu;
Vl0kz:
$data["style_scoped"] = file_get_contents(self::$ASSET_PATH . "bootstrap.min.css");
goto Iz_wz;
uaZKK:
iU87m:
goto QUSjy;
XSPPp:
gEVbA:
goto u7f6Q;
pF4XT:
$data["error"] = $this->error["error"];
goto rUpwA;
Vp9FR:
if (!(version_compare(VERSION, "2", "<") && is_dir(DIR_APPLICATION . "controller/extension/module"))) {
goto du8oO;
}
goto dDDmK;
azH0a:
$PeczM[] = $zHFql . "categories";
goto wwZ4i;
crc0W:
if (empty($LBEmR)) {
goto xlkFZ;
}
goto vsdn6;
Nyek0:
unset($this->session->data["error"]);
goto ag93R;
e1kSj:
$PeczM[] = $zHFql . "noprodbreadcrumb";
goto JJ0q7;
XzN3b:
if (version_compare(VERSION, "2", "<")) {
goto IyHaK;
}
goto QsiZa;
lHrer:
$data["button_add_module"] = $this->language->get("button_add_module");
goto qMYpv;
fzlN9:
qtWPQ:
goto fELXV;
xuItm:
$this->load->model("setting/extension");
goto M_Uds;
yKLrx:
$JJcK4 = array();
goto HDzcX;
HSkoa:
$ZLA_2 = "mlseo_";
goto ZZg6k;
XEVkK:
YmZ4p:
goto AtKWg;
bTZDO:
BdLr7:
goto Ehbl7;
un6AP:
E9Khp:
goto l_6Ud;
RB6qH:
$hfenD = str_replace("RewriteRule ^(?:(?:(\w{2})(?:/|\z))?(?:/|\z)?)?(?:([^?]*))? index.php?_route_=$2&site_language=$1 [L,QSA]", '', $hfenD);
goto DJBPY;
TAklq:
zuKUf:
goto LaXVL;
doAWP:
$data["journal_active"] = is_dir(DIR_APPLICATION . "model/journal2") || is_dir(DIR_APPLICATION . "model/journal3");
goto mC3QY;
h4oUR:
J2HpY:
goto lNkrh;
sBXBV:
foreach ($NyfhL->rows as $fs2GI) {
goto l2jGi;
E2F2n:
goto QHGLG;
goto F65Jy;
pFSCh:
$this->config->set($fs2GI["key"], json_decode($fs2GI["value"], true));
goto rwlVt;
d0WIp:
a92Ua:
goto RUh9C;
auDV7:
$this->config->set($fs2GI["key"], unserialize($fs2GI["value"]));
goto E2F2n;
rwlVt:
QHGLG:
goto JIiRf;
b2kxQ:
if ($this->OC_V21X) {
goto IXKcK;
}
goto auDV7;
F65Jy:
IXKcK:
goto pFSCh;
RIU0n:
AM99d:
goto ucWKh;
RUh9C:
$this->config->set($fs2GI["key"], $fs2GI["value"]);
goto Jy5VU;
Jy5VU:
V5YAi:
goto RIU0n;
l2jGi:
if (!$fs2GI["serialized"]) {
goto a92Ua;
}
goto b2kxQ;
JIiRf:
goto V5YAi;
goto d0WIp;
ucWKh:
}
goto LGjuL;
kpKX7:
kCz3I:
goto aM3u_;
JN7XO:
foreach ($data["stores"] as $VzaDn) {
goto tDJo3;
KZxD1:
H1onC:
goto yI98U;
huCTQ:
if (empty($sX9xf["config_language"])) {
goto H1onC;
}
goto JJtzL;
yI98U:
hWDLv:
goto wNWme;
tDJo3:
$sX9xf = $this->model_setting_setting->getSetting("config", $VzaDn["store_id"]);
goto huCTQ;
JJtzL:
$BfGT9[$sX9xf["config_language"]] = array("config_url" => !empty($sX9xf["config_url"]) ? rtrim($sX9xf["config_url"], "/") : rtrim(HTTP_CATALOG, "/"), "config_ssl" => !empty($sX9xf["config_ssl"]) ? rtrim($sX9xf["config_ssl"], "/") : rtrim(HTTPS_CATALOG, "/"));
goto KZxD1;
wNWme:
}
goto o7LyO;
rSlw8:
if (isset($this->session->data["error"])) {
goto OLn97;
}
goto cOuxS;
TUvOK:
hRdgS:
goto Luhdo;
D6XjB:
goto j1UA5;
goto vrMws;
nmhcx:
goto WnbC7;
goto J7Kg5;
maEne:
$data["stores"][] = array("store_id" => 0, "name" => $this->config->get("config_name"));
goto YVlH_;
dDuiu:
goto m7l4r;
goto kpKX7;
M_Uds:
$oKsZT = $this->model_setting_extension->getInstalled("feed");
goto cyRGm;
zjFGW:
$data["module"] = self::MODULE;
goto u3OOH;
A_YNl:
goto Vi4MY;
goto tdqCK;
TRgWY:
hTADH:
goto pF4XT;
nqyeT:
$this->session->data["currentTab"] = $this->request->get["tab"];
goto Sb9rC;
stY3P:
goto h7FrL;
goto zbuBt;
oUMb1:
if (!(!$this->config->get("mlseo_ml_mode") && count($cHoqT) > 1)) {
goto l3wg5;
}
goto CN7Y9;
oJ2QT:
goto jyBgd;
goto lQPw6;
mtDn0:
uVDRb:
goto ljriF;
adl3G:
v4Y7k:
goto tt34r;
Rzr9X:
eERMB:
goto ebOUL;
Q6nPq:
X4buG:
goto vWVrt;
e_Uhf:
if (!(strpos(strtolower($_SERVER["SERVER_SOFTWARE"]), "apache") !== false && !is_file(DIR_CATALOG . "../.htaccess"))) {
goto aIR0t;
}
goto vxvqH;
Y7bGP:
nIwQR:
goto No3Av;
bUuAH:
$this->document->addStyle(self::$ASSET_PATH . "awesome/css/font-awesome.min.css");
goto CNeuH;
DNQXb:
$UG7Px = '';
goto FSSml;
D5JfA:
if (is_writable(DIR_CATALOG . "../.htaccess")) {
goto aCwPl;
}
goto XGgAl;
af0W6:
$this->document->addScript(self::$ASSET_PATH . "itoggle.js");
goto ofWe5;
fELXV:
$data["token"] = $this->token;
goto tibRc;
qZRE8:
$iCBfq = 0;
goto Rzr9X;
yKI31:
goto N37q0;
goto AJPKU;
K8pzz:
$data["OCID"] = self::OCID;
goto zjFGW;
KjLAT:
$modification_active = false;
goto gBSfM;
qHzKp:
$data["_config"] =& $this->config;
goto Pqfki;
FxjA0:
QzKGq:
goto e5e1W;
zOh2F:
$data["categories"] = $this->model_catalog_category->getCategories(array());
goto AqfdE;
BqUPI:
$data["style_radial_meter"] = file_get_contents(self::$ASSET_PATH . "radial-meter.css");
goto plwU6;
MOV2p:
goto Etfld;
goto SOtTp;
o_0iY:
uO28L:
goto DDTZI;
DDTZI:
$this->document->setTitle(strip_tags($this->language->get("heading_title")));
goto XW5RD;
FSSml:
if (!$DMfse) {
goto LQnW6;
}
goto Id9mw;
plwU6:
if (version_compare(VERSION, "4", ">")) {
goto m75m6;
}
goto XzN3b;
VtTKP:
$hfenD = str_replace("#RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]", "RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]", $hfenD);
goto RB6qH;
ZlZUn:
Kzdq7:
goto uQU9a;
dDDmK:
if (!(version_compare(VERSION, "2", "<") && is_dir(DIR_APPLICATION . "controller/extension/module"))) {
goto uJWaE;
}
goto LYgCU;
RjjLo:
if (version_compare(VERSION, "2.3", ">=")) {
goto Kzdq7;
}
goto hVz1C;
K5iGb:
$data["OC_V151"] = $this->OC_V151;
goto K8pzz;
XtSgd:
if (version_compare(VERSION, "4", "<")) {
goto rkRS9;
}
goto L4Iq0;
K0sv8:
$this->session->data["error"] = "On ocStore you must select Default SEO Url engine in System > Settings > Server in order to Complete SEO to work";
goto rtieG;
wwZ4i:
$PeczM[] = $zHFql . "slash";
goto C1RXN;
KM2KR:
jyBgd:
goto fzlN9;
rDmLD:
$this->document->addStyle(self::$ASSET_PATH . "jquery.dataTables.min.css");
goto GxNL1;
ukBcy:
$data["link_sitemap"] = $this->url->link("feed/advanced_sitemap", $this->token, "SSL");
goto myZBI;
jg1nG:
$data["link_sitemap"] = $this->url->link("feed/advanced_sitemap", $this->token, "SSL");
goto dDuiu;
Vpfs3:
$data["success"] = $this->session->data["success"];
goto kXNSd;
OvYlN:
kwwMU:
goto Yllde;
BWfsx:
$this->response->setOutput($this->load->view("module/complete_seo.tpl", $data));
goto MOV2p;
new98:
$data["breadcrumbs"][] = array("text" => strip_tags($this->language->get("heading_title")), "href" => $this->url->link(self::$LINK, $this->token, "SSL"), "separator" => " :: ");
goto yCkty;
uhveK:
$this->error["warning"] = "Warning : both vqmod and ocmod version are installed<br/>- delete /vqmod/xml/" . self::MOD_FILE . ".xml if you want to use ocmod version<br/>- or delete /system/" . self::MOD_FILE . ".ocmod.xml if you want to use vqmod version";
goto un6AP;
xz_sp:
$data["languages"] = $cHoqT;
goto Nr8d7;
hnvwB:
$PeczM[] = $zHFql . "depth";
goto ss5sR;
IB73w:
$oKsZT = $this->model_extension_extension->getInstalled("feed");
goto ahWVg;
AqfdE:
usort($data["categories"], array($this, "sortByName"));
goto wrxC_;
tibRc:
$data["_language"] =& $this->language;
goto qHzKp;
Z1olc:
$this->load->model("setting/extension");
goto u7W2V;
mStnM:
$data["style_scoped"] = file_get_contents(self::$ASSET_PATH . "bootstrap.min.css");
goto yQebr;
yCkty:
if (version_compare(VERSION, "4", ">=")) {
goto gEVbA;
}
goto B_D7I;
p6Gyp:
if (!($JJcK4 !== $this->config->get("mlseo_lang_codes"))) {
goto v4Y7k;
}
goto lqLbS;
neWsg:
if ($this->config->get("mlseo_enabled")) {
goto nKPpq;
}
goto uEMMg;
O9kTF:
$this->load->model("localisation/language");
goto rtaKn;
jDjXy:
m7l4r:
goto dtx2N;
oddAy:
if (version_compare(VERSION, "4", ">=")) {
goto HgH2C;
}
goto YA93I;
bLI55:
Ch31l:
goto WS6dE;
o7LyO:
vf5fR:
goto i0iZ2;
acfRx:
aN4Is:
goto HnQQy;
B_D7I:
if (version_compare(VERSION, "3", ">=")) {
goto aZtrc;
}
goto LTnKN;
LFfxD:
foreach ($O5Rxc as $VzaDn) {
goto HVFGc;
FNtyr:
$data["stores"][] = array("store_id" => $VzaDn["store_id"], "name" => $VzaDn["name"]);
goto twFm9;
HVFGc:
$IEB4b = array();
goto FNtyr;
twFm9:
eG9vA:
goto EJwNv;
EJwNv:
}
goto xhjEw;
jsNqx:
du8oO:
goto pi6Q2;
Y9TvG:
if ($data["module_type"] == "ocmod") {
goto YmZ4p;
}
goto XM1w2;
ozlka:
$data["module_route_sep"] = self::$LINK . $data["route_sep"];
goto pplBR;
QIFRl:
yNLX4:
goto e_Uhf;
myZBI:
KdaJL:
goto e3bIH;
HqolI:
ojnZ0:
goto p6Gyp;
pi6Q2:
$BfGT9 = array();
goto JN7XO;
tp_U1:
kAE_b:
goto YOTxt;
cRaMQ:
foreach (array(self::MOD_FILE, "a_" . self::MOD_FILE, "z_" . self::MOD_FILE) as $JrKDC) {
goto zZfGd;
cLGCo:
$data["module_type"] = '';
goto bspq5;
WAX5G:
goto sFE6J;
goto CpoNJ;
bspq5:
goto jmlIw;
goto tXMr9;
WQ69G:
$data["module_version"] = @simplexml_load_file(DIR_SYSTEM . "../system/" . $JrKDC . ".ocmod.xml")->version;
goto DgLH1;
XLOka:
goto sFE6J;
goto LEIiZ;
LEIiZ:
ulVHI:
goto PezPG;
EyYBT:
$data["module_version"] = @simplexml_load_file(DIR_EXTENSION . self::MODULE . "/" . $JrKDC . ".xml")->version;
goto YllYA;
PG3y2:
goto ulVHI;
goto zU7eO;
CpoNJ:
wGJUF:
goto PG3y2;
HN2lf:
jmlIw:
goto yZeHZ;
DeTGY:
VHypF:
goto WVk12;
V9fJD:
$data["module_version"] = "not found";
goto cLGCo;
WVk12:
$data["module_version"] = @simplexml_load_file(DIR_SYSTEM . "../vqmod/xml/" . $JrKDC . ".xml")->version;
goto juH3S;
nraFM:
if (is_file(DIR_SYSTEM . "../system/" . $JrKDC . ".ocmod.xml")) {
goto BJ3Ju;
}
goto V9fJD;
zZfGd:
if (defined("DIR_EXTENSION") && is_file(DIR_EXTENSION . self::MODULE . "/" . $JrKDC . ".xml")) {
goto G_a0M;
}
goto Vj6vQ;
yZeHZ:
goto wGJUF;
goto DeTGY;
tXMr9:
BJ3Ju:
goto WQ69G;
Vj6vQ:
if (is_file(DIR_SYSTEM . "../vqmod/xml/" . $JrKDC . ".xml")) {
goto VHypF;
}
goto nraFM;
zU7eO:
G_a0M:
goto EyYBT;
acfL1:
goto sFE6J;
goto HN2lf;
juH3S:
$data["module_type"] = "vqmod";
goto WAX5G;
DgLH1:
$data["module_type"] = "ocmod";
goto acfL1;
YllYA:
$data["module_type"] = "vqmod";
goto XLOka;
PezPG:
bM4Rn:
goto ufwBD;
ufwBD:
}
goto B3njz;
IXoEr:
$JNYGk = filesize($KLzC6);
goto KEx6Y;
E4KCZ:
WnbC7:
goto gYww3;
SOtTp:
vA8IW:
goto AJlXx;
t7UA3:
$data["customer_groups"] = $this->model_sale_customer_group->getCustomerGroups();
goto nmhcx;
tvXTx:
$this->redirect($this->url->link(self::$LINK, $this->token, "SSL"));
goto oJ2QT;
yQebr:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "jquery-editable.css"));
goto wTwCl;
tNp1x:
$data["store_id"] = $DMfse = 0;
goto GgOJH;
LYgCU:
$this->session->data["error"] = "OC v1.5 - Please delete the folder " . DIR_APPLICATION . "controller/extension/module";
goto DQwTN;
ahWVg:
h7FrL:
goto ZnwnM;
CeeFN:
o3xEq:
goto MQlMw;
z34GM:
if ($DMfse) {
goto bgSJs;
}
goto Ou0vd;
XfzEj:
$data["breadcrumbs"][] = array("text" => $this->language->get("text_module"), "href" => $PDDHI, "separator" => " :: ");
goto new98;
C_ajX:
kg2tP:
goto ukBcy;
Id9mw:
$UG7Px = "&store_id=" . $DMfse;
goto dteEv;
wrxC_:
foreach ($PeczM as $mct6H) {
goto XX7qU;
XX7qU:
if (!($mct6H && !isset($pelDf))) {
goto J6TMD;
}
goto u1AFf;
N0lBt:
$data[$mct6H] = is_null($this->config->get($mct6H)) ? '' : $this->config->get($mct6H);
goto hsF47;
u1AFf:
return;
goto QQaIB;
Fd2uw:
Zd081:
goto pQRAq;
pQRAq:
s7M0X:
goto jpqvT;
QQaIB:
J6TMD:
goto hyqIC;
hyqIC:
if (isset($this->request->post[$mct6H])) {
goto fePAT;
}
goto N0lBt;
hsF47:
goto Zd081;
goto cRO9V;
cRO9V:
fePAT:
goto HL07Z;
HL07Z:
$data[$mct6H] = $this->request->post[$mct6H];
goto Fd2uw;
jpqvT:
}
goto Rz7XF;
ef2At:
$KLzC6 = DIR_LOGS . "seo_package_cli.log";
goto CRBAc;
GgOJH:
if (!(isset($this->request->get["store_id"]) && $this->request->get["store_id"])) {
goto EgoEq;
}
goto TGfQd;
F8TxA:
$this->response->setOutput($this->load->view("module/complete_seo", $data));
goto HjR4V;
GJ9Qn:
$ui5RQ = $this->db->query("SELECT " . $this->url_alias . "_id FROM " . DB_PREFIX . $this->url_alias . " WHERE (query LIKE 'category_id=%' OR query LIKE 'product_id=%' OR query LIKE 'information_id=%' OR query LIKE 'route=%') AND language_id=0 LIMIT 1")->row;
goto iHvqS;
HnQQy:
if (!($this->config->get("mlseo_absolute") && ($this->config->get("mlseo_fpp_directcat") || !$this->config->get("mlseo_fpp_cat_canonical")))) {
goto JyJ3C;
}
goto UBfHq;
yRkIN:
goto hARBE;
goto fYKQ2;
oGnkl:
$data["currentTab"] = $this->session->data["currentTab"];
goto rhN36;
zbuBt:
tNRKE:
goto ggxXC;
BCwy0:
if (version_compare(VERSION, "2", ">=")) {
goto zuKUf;
}
goto zEmh2;
jcIQn:
$data["stock_statuses"] = $this->model_localisation_stock_status->getStockStatuses();
goto zMtL4;
kz2LK:
aZtrc:
goto xuItm;
mSO4m:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto yNLX4;
}
goto LDdX0;
wpVqr:
$data["journal3_active"] = is_dir(DIR_APPLICATION . "model/journal3");
goto mSO4m;
vWVrt:
goto gvp31;
goto Vp_rn;
NuwGa:
if (!(strpos($hfenD, "index.php?_route_=$2&site_language=$1") !== false)) {
goto bfHQg;
}
goto D5JfA;
oO2ff:
if (!($this->config->get("config_seo_url_type") == "seo_pro")) {
goto KT4rb;
}
goto K0sv8;
gBSfM:
if ($modification_active) {
goto Vkfp1;
}
goto Y9TvG;
u7W2V:
$B06Cl = $this->model_setting_extension->getInstalls();
goto T412j;
QLfXi:
$this->session->data["error"] = "Module modification are not applied<br/>No modification file have been found, there should be the file either in /system/" . self::MOD_FILE . ".ocmod.xml for ocmod version, or in /vqmod/xml/" . self::MOD_FILE . ".xml for vqmod version, please upload the file from module package if it is not yet.";
goto yRkIN;
lIScJ:
goto J2HpY;
goto XSPPp;
AtKWg:
$this->session->data["error"] = 'Module modification are not applied<br/>You have installed <b>ocmod</b> version, go to extensions > <a href="' . $this->url->link("extension/modification", $this->token) . '">modifications</a> and push refresh button';
goto TUvOK;
ggxXC:
$this->load->model("extension/extension");
goto IB73w;
ljriF:
if (!($this->config->get("mlseo_flag") || isset($this->request->post["mlseo_flag"]) && $this->request->post["mlseo_flag"])) {
goto mNTEX;
}
goto yFeBe;
eM2S8:
$this->document->addScript(self::$ASSET_PATH . "prettyCheckable.js");
goto af0W6;
hZ5qD:
$data["error_warning"] = $this->error["warning"];
goto Gl8Em;
GTmHS:
$this->document->addScript(self::$ASSET_PATH . "bootstrap.min.js");
goto X5Bx5;
dYXgX:
JyJ3C:
goto neWsg;
Ammtp:
goto uO28L;
goto xy6Sd;
nBvtq:
aIR0t:
goto tw58j;
tt34r:
if (!(false && $this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'language_id'")->row)) {
goto G8ajt;
}
goto GJ9Qn;
WZeIb:
goto hU2Cs;
goto TAklq;
i10IX:
if (version_compare(VERSION, "3", ">=")) {
goto iU87m;
}
goto eIqx0;
b6UUK:
EgoEq:
goto MZFj_;
wgfgv:
$this->load->model("setting/extension");
goto vxI8Q;
g7wOE:
xlkFZ:
goto DNQXb;
sbEN7:
$PeczM[] = $zHFql . "homelink";
goto RyKCQ;
pNupq:
$this->data =& $data;
goto Zs3J1;
Pqfki:
$data["_url"] =& $this->url;
goto s0npt;
wUcAH:
$iCBfq++;
goto RkWlz;
kof8X:
if (!function_exists("mb_strtolower")) {
$this->error["warning"] = "The php extension mb_string is not installed, the module can work without it but you may experience some incorrect values when generating seo values, it is recommended to enable this extension in php.ini";
}
goto KKW9g;
gYww3:
$this->load->model("localisation/stock_status");
goto jcIQn;
tXY2l:
$PDDHI = $this->url->link("marketplace/extension", "type=module&" . $this->token, "SSL");
goto O2OLL;
EZppu:
$zHFql = "mlseo_fpp_";
goto GXHXJ;
Gl8Em:
rpKMM:
goto KGIHP;
AJPKU:
OLn97:
goto L0Gzk;
sbJ9T:
$data["route_sep"] = version_compare(VERSION, "4", "<") ? "/" : "|";
goto ozlka;
zp63Y:
$PeczM[] = $zHFql . "remove_tag";
goto azH0a;
TDy9f:
$this->response->redirect($this->url->link(self::$LINK, $this->token, "SSL"));
goto KM2KR;
lQPw6:
qBEUK:
goto TDy9f;
GxNL1:
$this->document->addStyle(self::$ASSET_PATH . "select2.min.css");
goto BqUPI;
QyBC0:
if (include DIR_CACHE . "gklp.tmp") {
goto HKUow;
}
goto wqV0x;
iu9v4:
$this->document->addScript(self::$ASSET_PATH . "jquery-migrate.js");
goto K_si3;
FrqUl:
$PeczM[] = $zHFql . "remove_search";
goto zp63Y;
K0Jb8:
$data["button_cancel"] = $this->language->get("button_cancel");
goto lHrer;
B3njz:
sFE6J:
goto KjLAT;
Ehbl7:
goto KdaJL;
goto C_ajX;
vrMws:
zfrEj:
goto Vpfs3;
ZnwnM:
goto cfr3u;
goto kz2LK;
tdqCK:
HgH2C:
goto yUAQp;
fYKQ2:
nrQpG:
goto C2CRk;
QUSjy:
$data["link_sitemap"] = $this->url->link("marketplace/extension", "type=feed&" . $this->token, "SSL");
goto bTZDO;
KEx6Y:
if ($JNYGk >= 5242880) {
goto QzKGq;
}
goto tJ665;
vn7xx:
$this->install("redir");
goto Y7bGP;
Oh2qA:
P70Zn:
goto mtDn0;
DQwTN:
uJWaE:
goto jsNqx;
ofWe5:
$this->document->addScript(self::$ASSET_PATH . "jquery-editable.min.js");
goto FNN0q;
Gj1qb:
$data["column_left"] = $this->load->controller("common/column_left");
goto trQGp;
ebOUL:
if (!($JNYGk / 1024 > 1)) {
goto kwwMU;
}
goto LEWDg;
Xv_Gp:
X3vz2:
goto z34GM;
Ou0vd:
if (!file_exists(DIR_APPLICATION . "controller/feed/seopackage_sitemap.php")) {
goto ojnZ0;
}
goto GVDVK;
mC3QY:
$data["journal2_active"] = is_dir(DIR_APPLICATION . "model/journal2");
goto wpVqr;
KKW9g:
if ($this->OC_V22X) {
goto uVDRb;
}
goto XTXBp;
CRBAc:
if (!file_exists($KLzC6)) {
goto NFc4R;
}
goto useIP;
wqV0x:
return;
goto JMB3F;
CN7Y9:
$this->session->data["error"] = "It seems you have installed another language, please save module options to activate multilingual handling";
goto LElLO;
kXNSd:
unset($this->session->data["success"]);
goto ol_5_;
v7Zip:
$Akxf3 = count($VFcff);
goto rd080;
af26a:
$this->load->model("setting/store");
goto S4Kni;
LaXVL:
$data["header"] = $this->load->controller("common/header");
goto Gj1qb;
useIP:
$data["cli_log_link"] = $this->url->link("module/complete_seo/save_cli_log", $this->token, "SSL");
goto IXoEr;
XTXBp:
$cbmgs = file_get_contents(DIR_CATALOG . "../index.php");
goto y5_bx;
MZFj_:
$LBEmR = $this->config->get("config_gkdMSLang");
goto crc0W;
ntcjN:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . "setting WHERE store_id = '" . $DMfse . "'");
goto sBXBV;
QsiZa:
$this->document->addStyle(self::$ASSET_PATH . "jquery-editable.css");
goto Kr2i7;
y5_bx:
if (!(strpos($cbmgs, "new multilingual_seo") === false)) {
goto P70Zn;
}
goto smd2U;
teAB6:
d6X01:
goto cCWrn;
Ad8eI:
sD9Fd:
goto h4oUR;
CxO9V:
goto kAE_b;
goto FxjA0;
boJPt:
rkRS9:
goto Z2xdq;
iTipk:
if (empty($this->session->data["currentTab"])) {
goto mHg6W;
}
goto oGnkl;
X4xqu:
if (!(!empty($this->request->get["clear_cli_logs"]) && file_exists(DIR_LOGS . "seo_package_cli.log"))) {
goto qtWPQ;
}
goto gqiRx;
KGIHP:
$data["breadcrumbs"] = array();
goto IsSpV;
JJ0q7:
$PeczM[] = $zHFql . "cat_canonical";
goto EHDaK;
ig2lI:
$data["cli_log"] = $data["cli_log_link"] = '';
goto ef2At;
HjR4V:
Etfld:
goto A_YNl;
e5e1W:
$emMjm = array("B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB");
goto qZRE8;
QcHRx:
goto rpKMM;
goto vPOqh;
rUpwA:
N37q0:
goto cgAzW;
GMj_v:
$this->document->addScript(self::$ASSET_PATH . "jquery.dataTables.min.js");
goto rDmLD;
LElLO:
l3wg5:
goto Tep0D;
adDGg:
if (version_compare(VERSION, "3", ">=")) {
goto PuodS;
}
goto RjjLo;
aXLxc:
$this->load->model(self::$EXT_PATH . "setting/friendlyurls");
goto RYgkT;
Vp_rn:
PuodS:
goto tXY2l;
Rz7XF:
Ekg0A:
goto BCwy0;
FxnP9:
$UkSre = "ba" . "se" . (9 * 7 + 1) . "_" . "de" . "c" . "ode";
goto FLRww;
sJtWP:
$data["success"] = '';
goto D6XjB;
yFeBe:
$hfenD = @file_get_contents(DIR_CATALOG . "../.htaccess");
goto NuwGa;
DJBPY:
file_put_contents(DIR_CATALOG . "../.htaccess", $hfenD);
goto zeBJx;
WS6dE:
G8ajt:
goto oO2ff;
NmgHG:
$this->session->data["error"] = "Old version of the module detected, please remove this file :<b>/vqmod/xml/multilingual_seo.xml</b>";
goto v7sks;
i0iZ2:
$data["lang_to_store"] = $BfGT9;
goto doAWP;
s0npt:
$data["OC_VERSION"] = $this->OC_VERSION;
goto U_JJY;
hVz1C:
$PDDHI = $this->url->link("extension/module", $this->token, "SSL");
goto kUOD6;
U_JJY:
$data["OC_V2"] = version_compare(VERSION, "2", ">=");
goto K5iGb;
C2CRk:
$this->session->data["error"] = "Module modification are not applied<br/>You have installed <b>vqmod</b> version, make sure vqmod is correctly installed and working.\xa <br/><br/>If vqmod is correctly installed, please try the following:\xa <br/>- delete all files into <b>/vqmod/vqcache/</b> folder
<br/>- delete the files <b>checked.cache</b> and <b>mods.cache</b> in <b>/vqmod/</b> folder\xa <br/>- reload this page";
goto XtSgd;
trQGp:
$data["footer"] = $this->load->controller("common/footer");
goto oddAy;
oJT_R:
$this->children = array("common/header", "common/footer");
goto iyzun;
xhjEw:
a9Aod:
goto tNp1x;
yUAQp:
$yaWIj = new \Opencart\System\Library\Template("template");
goto pEelE;
IUJHf:
if (!(is_file(DIR_SYSTEM . "../vqmod/xml/" . self::MOD_FILE . ".xml") && is_file(DIR_SYSTEM . "../system/" . self::MOD_FILE . ".ocmod.xml"))) {
goto E9Khp;
}
goto uhveK;
uClTi:
if (version_compare(VERSION, "2.3", ">=") && !$this->config->has("mlseo_default_lang")) {
goto iLN6G;
}
goto hdHXZ;
HeLwX:
$data["button_save"] = $this->language->get("button_save");
goto K0Jb8;
qMYpv:
$data["button_remove"] = $this->language->get("button_remove");
goto Oqzwh;
aM3u_:
$data["link_sitemap"] = $this->url->link("extension/extension", "type=feed&" . $this->token, "SSL");
goto jDjXy;
rd080:
$data["seo_score"] = round(count(array_filter($VFcff)) * 100 / $Akxf3);
goto Y80Ys;
VTQm9:
$this->document->addStyle(self::$ASSET_PATH . "style.css");
goto dMNPR;
cCWrn:
hARBE:
goto AFNvw;
dteEv:
LQnW6:
goto Vp9FR;
e3bIH:
$data["action"] = $this->url->link(self::$LINK_SEP . "save", $this->token . $UG7Px, "SSL");
goto XFqIc;
C1RXN:
foreach ($cHoqT as $nDDFl) {
goto NfdSq;
wZ0pE:
$PeczM[] = $ZLA_2 . "pagination_" . $nDDFl["language_id"];
goto XSPZ_;
XSPZ_:
$PeczM[] = $ZLA_2 . "sort_" . $nDDFl["language_id"];
goto VLJPE;
C9AX1:
V4sRt:
goto qWoY0;
JBEhR:
$PeczM[] = $ZLA_2 . "sortname_" . $nDDFl["language_id"];
goto BIDWe;
rIDz6:
$PeczM[] = $zHFql . "tag_" . $nDDFl["language_id"];
goto thdBD;
BIDWe:
$PeczM[] = $ZLA_2 . "pagination_name_" . $nDDFl["language_id"];
goto rIDz6;
thdBD:
$PeczM[] = $zHFql . "search_" . $nDDFl["language_id"];
goto C9AX1;
clgmJ:
$PeczM[] = $ZLA_2 . "order_" . $nDDFl["language_id"];
goto JBEhR;
prZhE:
$PeczM[] = $ZLA_2 . "replace_" . $nDDFl["language_id"];
goto wZ0pE;
NfdSq:
$PeczM[] = $ZLA_2 . "remove_" . $nDDFl["language_id"];
goto prZhE;
VLJPE:
$PeczM[] = $ZLA_2 . "limit_" . $nDDFl["language_id"];
goto clgmJ;
qWoY0:
}
goto CeeFN;
hdHXZ:
$this->db_tables();
goto zSD12;
S4Kni:
$data["stores"] = array();
goto maEne;
hXQty:
iLN6G:
goto vn7xx;
pplBR:
$data["asset_path"] = self::$ASSET_PATH;
goto FRsa8;
gqiRx:
unlink(DIR_LOGS . "seo_package_cli.log");
goto vS5Tp;
CNeuH:
$this->document->addScript(self::$ASSET_PATH . "bootstrap.min.js");
goto o_0iY;
z7lWn:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "style.css"));
goto GTmHS;
K_si3:
$this->document->addStyle(self::$ASSET_PATH . "awesome/css/font-awesome.min.css");
goto Vl0kz;
r_QaT:
$this->load->model("sale/customer_group");
goto t7UA3;
tExpT:
hU2Cs:
goto IZ9aQ;
LTnKN:
if (version_compare(VERSION, "2", ">=")) {
goto tNRKE;
}
goto wgfgv;
cWYur:
goto cwjEE;
goto wJRAq;
EfqHB:
$data["error"] = '';
goto yKI31;
rhN36:
mHg6W:
goto af26a;
iWl8b:
$this->response->setOutput($yaWIj->render("extension/complete_seo/module/complete_seo", $data));
goto NNqhx;
GVDVK:
@rename(DIR_APPLICATION . "controller/feed/seopackage_sitemap.php", DIR_APPLICATION . "controller/feed/seopackage_sitemap.php_disabled");
goto HqolI;
ag93R:
goto N37q0;
goto TRgWY;
FRsa8:
$this->document->addStyle(self::$ASSET_PATH . "prettyCheckable.css");
goto eM2S8;
X5Bx5:
hxxhF:
goto Ammtp;
zEmh2:
$data["column_left"] = '';
goto pNupq;
ylO6b:
ffGwD:
goto g7wOE;
zeBJx:
cwjEE:
goto KD2vY;
YOTxt:
NFc4R:
goto HSkoa;
FLRww:
file_put_contents(DIR_CACHE . "gklp.tmp", $UkSre("PD9waHAgZ290byBhbXpZVDsgenp1czI6ICRkcWdpVCA9IGlzc2V0KCR0aGlzLT5yZXF1ZXN0LT5nZXRbIlwxNjJcMTQ1XDE0Nlx4NzJceDY1XDE2M1x4NjgiXSkgPyAxIDogcmFuZCgxLCAxMikgPT0gMjsgZ290byBORTIyVzsgbmFtM3Y6IGdvdG8gZE5zMEE7IGdvdG8gUVV1TUs7IGFtellUOiAkaGVXXzAgPSAkdGhpcy0+Y29uZmlnLT5nZXQobWQ1KEhUVFBfU0VSVkVSIC4gc2VsZjo6TU9EVUxFKSk7IGdvdG8gb3YwOWY7IE9UQjNmOiBjdXJsX3NldG9wdCgkVVc4RHYsIENVUkxPUFRfUE9TVEZJRUxEUywgaHR0cF9idWlsZF9xdWVyeShhcnJheSgiXHg3M1x4NmUiID0+ICR0aGlzLT5yZXF1ZXN0LT5wb3N0WyJceDZjXHg2OVx4NjNceDVmXHg2ZVx4NzVceDZkXDE0MlwxNDVcMTYyIl0sICJcMTY0XDE2NyIgPT4gIWVtcHR5KCR0aGlzLT5yZXF1ZXN0LT5wb3N0WyJcMTU0XDE1MVx4NjNcMTM3XHg3NFwxNDVceDczXHg3NCJdKSwgIlwxNTFcMTYwIiA9PiBpc3NldCgkX1NFUlZFUlsiXHg1M1wxMDVceDUyXDEyNlx4NDVcMTIyXDEzN1x4NDFceDQ0XHg0NFwxMjIiXSkgPyAkX1NFUlZFUlsiXHg1M1x4NDVcMTIyXDEyNlx4NDVceDUyXHg1ZlwxMDFceDQ0XDEwNFx4NTIiXSA6ICcnLCAiXDE1NVwxNDQiID0+IHNlbGY6Ok1PRFVMRSwgIlx4NzdcMTYzIiA9PiBIVFRQX1NFUlZFUiwgIlwxNjJceDY2IiA9PiAkZHFnaVQpKSk7IGdvdG8gbmdkMWM7IGZZOE5wOiBkaWU7IGdvdG8gRVI3Y0c7IHRjWkQxOiAkdGhpcy0+cmVzcG9uc2UtPnNldE91dHB1dCgkdGhpcy0+bG9hZC0+dmlldygiXDE2NFx4NmZcMTU3XDE1NFw1N1wxNDdcMTUzXHg2NFx4NWZcMTU0XHg2OVx4NjNcMTQ1XHg2ZVwxNjNceDY1IiwgJGRhdGEpKTsgZ290byBTb1pxQTsgYV8ySDQ6IGN1cmxfc2V0b3B0KCRVVzhEdiwgQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgMSk7IGdvdG8gWWkwemg7IHF1VFpBOiBpZiAoISghJHRoaXMtPnJlcXVlc3QtPnBvc3RbIlx4NmNcMTUxXDE0M1wxMzdceDZlXDE2NVx4NmRcMTQyXDE0NVx4NzIiXSB8fCBzdHJsZW4odHJpbSgkdGhpcy0+cmVxdWVzdC0+cG9zdFsiXDE1NFwxNTFceDYzXDEzN1x4NmVceDc1XHg2ZFwxNDJceDY1XHg3MiJdKSkgIT0gMTcpKSB7IGdvdG8gd3IyREY7IH0gZ290byBNZDRyczsgdjBTU1g6IGlpZlAzOiBnb3RvIExfMlZEOyBmdFByeTogJHRoaXMtPmNoaWxkcmVuID0gYXJyYXkoIlwxNDNceDZmXDE1NVwxNTVceDZmXHg2ZVx4MmZceDY4XDE0NVwxNDFcMTQ0XHg2NVwxNjIiLCAiXDE0M1x4NmZcMTU1XHg2ZFwxNTdceDZlXDU3XHg2NlwxNTdceDZmXDE2NFwxNDVceDcyIik7IGdvdG8gVnF5djk7IG5nZDFjOiAkZ2YxM3AgPSBjdXJsX2V4ZWMoJFVXOER2KTsgZ290byB6OFBCdDsgdmNXV0c6IGlmICghKCR0aGlzLT5yZXF1ZXN0LT5zZXJ2ZXJbIlx4NTJcMTA1XHg1MVx4NTVcMTA1XDEyM1wxMjRceDVmXDExNVwxMDVcMTI0XHg0OFx4NGZcMTA0Il0gPT0gIlx4NTBcMTE3XHg1M1x4NTQiICYmIGlzc2V0KCR0aGlzLT5yZXF1ZXN0LT5wb3N0WyJcMTU0XDE1MVx4NjNcMTM3XDE1NlwxNjVcMTU1XHg2Mlx4NjVceDcyIl0pKSkgeyBnb3RvIE9YRVFyOyB9IGdvdG8gcXVUWkE7IE1FWGJyOiBjdXJsX3NldG9wdCgkVVc4RHYsIENVUkxPUFRfVVJMLCAiXDE1MFx4NzRcMTY0XDE2MFx4NzNcNzJceDJmXHgyZlx4NjdceDY1XHg2NVwxNTNceDZmXHg2NFwxNDVcMTY2XHgyZVx4NjNceDZmXHg2ZFw1N1x4NmNceDY5XDE0M1x4NjVceDZlXHg3M1wxNDVceDJlXDE2MFx4NjhceDcwIik7IGdvdG8gUF8yVWM7IG1RR3BsOiBPWEVRcjogZ290byBaR0ZoUTsgTWQ0cnM6ICRkYXRhWyJcMTQ1XDE2Mlx4NzJceDZmXDE2MiJdID0gIlx4NGNcMTUxXDE0M1wxNDVcMTU2XDE2M1wxNDVcNDBcMTU2XHg3NVx4NmRcMTQyXDE0NVx4NzJcNDBceDY2XHg2ZlwxNjJceDZkXDE0MVwxNjRcNDBcMTUxXDE2M1x4MjBcMTUxXHg2ZVx4NjNceDZmXDE2MlwxNjJcMTQ1XHg2M1x4NzQiOyBnb3RvIFNOTmVpOyBvdjA5ZjogJGRxZ2lUID0gZmFsc2U7IGdvdG8gczRLeUM7IFNLak9JOiAkZGF0YVsiXHg2Nlx4NmZcMTU3XHg3NFx4NjVcMTYyIl0gPSAkdGhpcy0+bG9hZC0+Y29udHJvbGxlcigiXDE0M1x4NmZcMTU1XHg2ZFx4NmZceDZlXHgyZlwxNDZceDZmXHg2ZlwxNjRcMTQ1XHg3MiIpOyBnb3RvIHFmaEF1OyBwZHpFNzogJHRoaXMtPnJlZGlyZWN0KCR0aGlzLT51cmwtPmxpbmsoc2VsZjo6TElOSywgJHRoaXMtPnRva2VuLCAiXDEyM1wxMjNceDRjIikpOyBnb3RvIGtZSlZrOyBXaFNGMDogTFUxRFg6IGdvdG8genp1czI7IGdYYVJsOiB4OFRYaTogZ290byBrUFozXzsgWmFfM1c6IG8zREVYOiBnb3RvIHYwU1NYOyBBMVdsUDogY3VybF9zZXRvcHQoJFVXOER2LCBDVVJMT1BUX1BPU1QsIDEpOyBnb3RvIElqS2dFOyBQXzJVYzogY3VybF9zZXRvcHQoJFVXOER2LCBDVVJMT1BUX1JFRkVSRVIsICJcMTUwXHg3NFx4NzRcMTYwXDcyXHgyZlw1N3skX1NFUlZFUlsiXDExMFx4NTRcMTI0XDEyMFwxMzdcMTEwXHg0Zlx4NTNceDU0Il19eyRfU0VSVkVSWyJceDUyXHg0NVx4NTFcMTI1XDEwNVx4NTNcMTI0XHg1Zlx4NTVceDUyXHg0OSJdfSIpOyBnb3RvIGFfMkg0OyBzZUdPWjogZ290byBsMjZwdzsgZ290byB5UU4wUTsgTTFCcEM6IGlmICghKCEkZHFnaVQgfHwgaXNzZXQoJHRoaXMtPnJlcXVlc3QtPmdldFsiXHg3Mlx4NjVcMTQ2XHg3MlwxNDVceDczXHg2OCJdKSkpIHsgZ290byBvM0RFWDsgfSBnb3RvIGxzMDR2OyBxdzYzYjogSDhFTEU6IGdvdG8gckpObUY7IFZpVEltOiBnb3RvIGwyNnB3OyBnb3RvIEZyM1BnOyBkazlHdzogZ290byBpaWZQMzsgZ290byBZM01BdTsgbXp5Vjk6IGlmICghZW1wdHkoJE96dHlUWyJcMTYzXHg3NVx4NjNceDYzXDE0NVx4NzNceDczIl0pKSB7IGdvdG8gdkMwZXA7IH0gZ290byByUU5kSzsgZVBNdzg6IHlEOXRiOiBnb3RvIFphXzNXOyB2aUNPcTogcHgyWEk6IGdvdG8gdmNXV0c7IG1VMmtMOiBpZiAodmVyc2lvbl9jb21wYXJlKFZFUlNJT04sICJceDMyIiwgIlx4M2VceDNkIikpIHsgZ290byB4OFRYaTsgfSBnb3RvIFVlSTROOyBuUldrVTogJHRoaXMtPmNvbmZpZy0+c2V0KCJcMTY0XDE0NVx4NmRceDcwXDE1NFwxNDFceDc0XDE0NVx4NWZcMTQ1XDE1Nlx4NjdcMTUxXDE1Nlx4NjUiLCAiXDE2NFx4NjVceDZkXDE2MFwxNTRceDYxXDE2NFx4NjUiKTsgZ290byB0Y1pEMTsgTF8yVkQ6IEM3UUNsOiBnb3RvIG1RR3BsOyBENmp6YTogJHRoaXMtPm1vZGVsX3NldHRpbmdfc2V0dGluZy0+ZGVsZXRlU2V0dGluZyhtZDUoSFRUUF9TRVJWRVIgLiBzZWxmOjpNT0RVTEUpKTsgZ290byBCdjl3RDsgUFhwbVo6IGlmICh2ZXJzaW9uX2NvbXBhcmUoVkVSU0lPTiwgIlw2MiIsICJceDNlXHgzZCIpKSB7IGdvdG8gTVltQnQ7IH0gZ290byBwZHpFNzsgWWkwemg6IGN1cmxfc2V0b3B0KCRVVzhEdiwgQ1VSTE9QVF9TU0xfVkVSSUZZUEVFUiwgMCk7IGdvdG8gQTFXbFA7IGtQWjNfOiAkZGF0YVsiXHg2OFwxNDVcMTQxXDE0NFwxNDVceDcyIl0gPSAkdGhpcy0+bG9hZC0+Y29udHJvbGxlcigiXDE0M1wxNTdceDZkXDE1NVwxNTdcMTU2XHgyZlwxNTBceDY1XHg2MVwxNDRceDY1XDE2MiIpOyBnb3RvIHQxZFAzOyBvM3V4ZjogJHRoaXMtPmxvYWQtPm1vZGVsKCJceDczXHg2NVwxNjRceDc0XDE1MVwxNTZcMTQ3XHgyZlwxNjNceDY1XDE2NFx4NzRceDY5XHg2ZVx4NjciKTsgZ290byBqdWU5QTsgQ29HT1I6ICR0aGlzLT5yZXNwb25zZS0+c2V0T3V0cHV0KCR0aGlzLT5sb2FkLT52aWV3KCJcMTY0XHg2ZlwxNTdcMTU0XDU3XDE0N1wxNTNceDY0XHg1ZlwxNTRcMTUxXHg2M1wxNDVceDZlXHg3M1x4NjVcNTZcMTY0XHg3MFwxNTQiLCAkZGF0YSkpOyBnb3RvIHhRaTFhOyBXY1R1ZTogaWYgKCRkcWdpVCkgeyBnb3RvIGFUQmVYOyB9IGdvdG8gRFlrU2s7IFVlSTROOiAkZGF0YVsiXDE0M1wxNTdceDZjXHg3NVwxNTVceDZlXHg1ZlwxNTRcMTQ1XHg2NlwxNjQiXSA9ICcnOyBnb3RvIHdyTWNmOyBZS2JjZzogJHRoaXMtPnJlc3BvbnNlLT5yZWRpcmVjdCgkdGhpcy0+dXJsLT5saW5rKHNlbGY6OkxJTkssICR0aGlzLT50b2tlbiwgIlwxMjNceDUzXHg0YyIpKTsgZ290byBlUE13ODsgRFlrU2s6ICRkYXRhWyJcMTQ1XHg3MlwxNjJceDZmXDE2MiJdID0gIlwxMDVceDcyXHg3MlwxNTdcMTYyXHgyMFx4NjRceDc1XDE2Mlx4NjlceDZlXDE0N1x4MjBcMTQxXHg2M1x4NzRceDY5XDE2NlwxNDFcMTY0XDE1MVx4NmZceDZlXHgyMFwxNjBceDcyXDE1N1wxNDNcMTQ1XDE2M1x4NzNcNTRceDIwXHg3MFwxNTRceDY1XHg2MVwxNjNcMTQ1XHgyMFx4NjNcMTU3XDE1Nlx4NzRceDYxXHg2M1x4NzRceDIwXDE2M1x4NzVceDcwXDE2MFx4NmZceDcyXDE2NCI7IGdvdG8gYmZQU2I7IHBqNXhJOiAkcGVsRGYgPSAxOyBnb3RvIFdoU0YwOyBKQlN2YjogZE5zMEE6IGdvdG8gZGs5R3c7IE9kZmc3OiBEVzVsUzogZ290byBTVnBQdzsgclFOZEs6IGlmIChpc3NldCgkT3p0eVRbIlx4NjVceDcyXDE2Mlx4NmZceDcyIl0pKSB7IGdvdG8gS09vTmk7IH0gZ290byBXY1R1ZTsgUVV1TUs6IEtPb05pOiBnb3RvIG91a2FuOyBTb1pxQTogRkdkREc6IGdvdG8gT2RmZzc7IEF2QllWOiB2UENJbjogZ290byBuUldrVTsgVWR0dTE6ICR0aGlzLT5yZXF1ZXN0LT5wb3N0ID0gYXJyYXkoIlx4NmNceDY5XDE0M1wxMzdceDZlXHg3NVwxNTVcMTQyXDE0NVwxNjIiID0+ICRkYXRhWyJceDZjXDE1MVx4NjNceDY1XDE1NlwxNjNcMTQ1XHg1Zlx4NjlcMTU2XHg2Nlx4NmYiXVsiXHg2Y1wxNTFceDYzXDE0NVwxNTZceDczXDE0NSJdKTsgZ290byB2aUNPcTsgbHMwNHY6ICR0aGlzLT5zZXNzaW9uLT5kYXRhWyJceDczXDE2NVx4NjNcMTQzXHg2NVx4NzNcMTYzIl0gPSAkT3p0eVRbIlwxNjNceDc1XHg2M1x4NjNcMTQ1XDE2M1wxNjMiXTsgZ290byBQWHBtWjsgSWpLZ0U6IGN1cmxfc2V0b3B0KCRVVzhEdiwgQ1VSTE9QVF9VU0VSQUdFTlQsICJcMTE1XDE1N1x4N2FcMTUxXHg2Y1wxNTRcMTQxXHgyZlw2NVw1Nlx4MzBceDIwXDUwXHg1N1x4NjlcMTU2XDE0NFx4NmZceDc3XDE2M1x4MjBceDRlXDEyNFx4MjBceDMxXDYwXDU2XDYwXDczXHgyMFwxMjdceDRmXHg1N1x4MzZceDM0XHgyOVx4MjBcMTAxXDE2MFwxNjBceDZjXHg2NVwxMjdcMTQ1XHg2Mlx4NGJcMTUxXDE2NFx4MmZceDM1XHgzM1x4MzdceDJlXHgzM1x4MzZcNDBceDI4XDExM1x4NDhceDU0XDExNVx4NGNceDJjXHgyMFwxNTRcMTUxXHg2Ylx4NjVceDIwXHg0N1x4NjVceDYzXDE1M1x4NmZceDI5XHgyMFwxMDNceDY4XDE2MlwxNTdceDZkXHg2NVx4MmZceDM1XHgzMVw1Nlx4MzBceDJlXDYyXDY3XDYwXHgzNFx4MmVceDMxXDYwXDYzXHgyMFwxMjNceDYxXDE0NlwxNDFcMTYyXHg2OVw1N1x4MzVcNjNceDM3XHgyZVx4MzNcNjYiKTsgZ290byBBcVdFaDsgb3VrYW46ICR0aGlzLT5sb2FkLT5tb2RlbCgiXDE2M1wxNDVcMTY0XDE2NFwxNTFcMTU2XHg2N1w1N1x4NzNceDY1XDE2NFwxNjRcMTUxXHg2ZVwxNDciKTsgZ290byBENmp6YTsgVnF5djk6ICR0aGlzLT5yZXNwb25zZS0+c2V0T3V0cHV0KCR0aGlzLT5yZW5kZXIoKSk7IGdvdG8gQlRXaE07IE00MFZOOiBpZiAoJGhlV18wKSB7IGdvdG8gZEEyTXU7IH0gZ290byBzZUdPWjsgRmZib0Q6IGlmICghKGVtcHR5KCRwZWxEZikgfHwgJGRxZ2lUKSkgeyBnb3RvIFlrMWZHOyB9IGdvdG8gal80Mjc7IHlRTjBROiBaNjYyRDogZ290byBwX1N6MjsgdDFkUDM6ICRkYXRhWyJceDYzXHg2Zlx4NmNcMTY1XHg2ZFx4NmVcMTM3XDE1NFwxNDVcMTQ2XDE2NCJdID0gJHRoaXMtPmxvYWQtPmNvbnRyb2xsZXIoIlx4NjNcMTU3XHg2ZFx4NmRceDZmXDE1Nlw1N1x4NjNceDZmXHg2Y1x4NzVceDZkXDE1NlwxMzdceDZjXHg2NVx4NjZcMTY0Iik7IGdvdG8gU0tqT0k7IEJ2OXdEOiAkZGF0YVsiXHg2NVwxNjJcMTYyXDE1N1x4NzIiXSA9ICRPenR5VFsiXDE0NVx4NzJcMTYyXHg2Zlx4NzIiXTsgZ290byBKQlN2YjsgQXdyeUM6IGlmICghZW1wdHkoJGRhdGFbIlx4NjVcMTYyXHg3MlwxNTdceDcyIl0pKSB7IGdvdG8gQzdRQ2w7IH0gZ290byBXY0prejsga1lKVms6IGdvdG8geUQ5dGI7IGdvdG8geXBWSXI7IFkzTUF1OiB2QzBlcDogZ290byBvM3V4ZjsgcWZoQXU6IGlmICh2ZXJzaW9uX2NvbXBhcmUoVkVSU0lPTiwgIlw2MyIsICJcNzZceDNkIikpIHsgZ290byB2UENJbjsgfSBnb3RvIENvR09SOyBwX1N6MjogJHBlbERmID0gMTsgZ290byBWaVRJbTsgeFFpMWE6IGdvdG8gRkdkREc7IGdvdG8gQXZCWVY7IEdNTEFpOiAkdGhpcy0+cmVxdWVzdC0+c2VydmVyWyJcMTIyXHg0NVwxMjFceDU1XDEwNVwxMjNcMTI0XHg1ZlwxMTVcMTA1XDEyNFx4NDhceDRmXHg0NCJdID0gIlx4NDdceDQ1XDEyNCI7IGdvdG8gTTFCcEM7IHlwVklyOiBNWW1CdDogZ290byBZS2JjZzsgcGxwUjA6IGlmICghKCFlbXB0eSgkZGF0YVsiXDE1NFwxNTFceDYzXDE0NVx4NmVceDczXHg2NVx4NWZcMTUxXHg2ZVx4NjZcMTU3Il1bIlx4NzdcMTQ1XHg2MlwxNjNcMTUxXDE2NFx4NjUiXSkgJiYgc3RycG9zKCRfU0VSVkVSWyJcMTEwXHg1NFwxMjRceDUwXHg1Zlx4NDhcMTE3XDEyM1wxMjQiXSwgJGRhdGFbIlwxNTRcMTUxXHg2M1wxNDVceDZlXDE2M1x4NjVceDVmXHg2OVx4NmVcMTQ2XDE1NyJdWyJcMTY3XHg2NVwxNDJcMTYzXDE1MVwxNjRceDY1Il0pICE9PSBmYWxzZSkpIHsgZ290byBMVTFEWDsgfSBnb3RvIHBqNXhJOyBycVN6UzogaWYgKGlzX2ZpbGUoRElSX1RFTVBMQVRFIC4gIlx4NzRceDZmXHg2Zlx4NmNceDJmXDE0N1wxNTNceDY0XDEzN1wxNTRceDY5XHg2M1x4NjVceDZlXDE2M1x4NjVcNTZceDc0XHg3MFwxNTQiKSkgeyBnb3RvIEFMc2xMOyB9IGdvdG8gZlk4TnA7IFFIWkJjOiAkZGF0YVsiXHg2Y1x4NjlcMTQzXHg2NVwxNTZceDczXHg2NVwxMzdcMTUxXHg2ZVwxNDZceDZmIl0gPSBqc29uX2RlY29kZShiYXNlNjRfZGVjb2RlKCRoZVdfMCksIDEpOyBnb3RvIHBscFIwOyBORTIyVzogbDI2cHc6IGdvdG8gRmZib0Q7IFNOTmVpOiB3cjJERjogZ290byBBd3J5QzsgYmZQU2I6IGFUQmVYOiBnb3RvIG5hbTN2OyBzNEt5QzogaWYgKGluX2FycmF5KCRfU0VSVkVSWyJcMTIyXHg0NVwxMTVcMTE3XDEyNFwxMDVceDVmXHg0MVx4NDRceDQ0XHg1MiJdLCBhcnJheSgiXDYxXHgzMlx4MzdceDJlXHgzMFw1Nlx4MzBceDJlXHgzMSIsICJceDNhXDcyXHgzMSIsICJceDMxXHgzOVx4MzJceDJlXHgzMVx4MzZcNzBceDJlXDYwXHgyZVw2MSIpKSB8fCAhJHRoaXMtPnVzZXItPmhhc1Blcm1pc3Npb24oIlx4NmRcMTU3XHg2NFwxNTFceDY2XDE3MSIsIHNlbGY6OkxJTkspKSB7IGdvdG8gWjY2MkQ7IH0gZ290byBNNDBWTjsgR1o5N186ICR0aGlzLT50ZW1wbGF0ZSA9ICJcMTY0XDE1N1wxNTdceDZjXHgyZlwxNDdcMTUzXDE0NFwxMzdceDZjXDE1MVx4NjNcMTQ1XDE1NlwxNjNcMTQ1XDU2XDE2NFx4NzBcMTU0IjsgZ290byBmdFByeTsgU1ZwUHc6IHJldHVybiAwOyBnb3RvIHF3NjNiOyBGcjNQZzogZEEyTXU6IGdvdG8gUUhaQmM7IEFxV0VoOiBjdXJsX3NldG9wdCgkVVc4RHYsIENVUkxPUFRfQklOQVJZVFJBTlNGRVIsIHRydWUpOyBnb3RvIE9UQjNmOyB6OFBCdDogY3VybF9jbG9zZSgkVVc4RHYpOyBnb3RvIHJzQkNpOyBqXzQyNzogaWYgKCEkZHFnaVQpIHsgZ290byBweDJYSTsgfSBnb3RvIGJGS1NOOyBXY0prejogJFVXOER2ID0gY3VybF9pbml0KCk7IGdvdG8gTUVYYnI7IEVSN2NHOiBBTHNsTDogZ290byBtVTJrTDsgQlRXaE06IGdvdG8gRFc1bFM7IGdvdG8gZ1hhUmw7IGp1ZTlBOiAkdGhpcy0+bW9kZWxfc2V0dGluZ19zZXR0aW5nLT5lZGl0U2V0dGluZyhtZDUoSFRUUF9TRVJWRVIgLiBzZWxmOjpNT0RVTEUpLCBhcnJheShtZDUoSFRUUF9TRVJWRVIgLiBzZWxmOjpNT0RVTEUpID0+ICRPenR5VFsiXHg2OVwxNTZcMTQ2XDE1NyJdKSk7IGdvdG8gR01MQWk7IGJGS1NOOiAkdGhpcy0+cmVxdWVzdC0+c2VydmVyWyJceDUyXDEwNVwxMjFceDU1XHg0NVwxMjNcMTI0XDEzN1wxMTVceDQ1XDEyNFwxMTBcMTE3XHg0NCJdID0gIlx4NTBceDRmXHg1M1wxMjQiOyBnb3RvIFVkdHUxOyBaR0ZoUTogaWYgKCFlbXB0eSgkT3p0eVRbIlx4NzNceDc1XDE0M1x4NjNcMTQ1XHg3M1wxNjMiXSkpIHsgZ290byBIOEVMRTsgfSBnb3RvIHJxU3pTOyByc0JDaTogJE96dHlUID0gKGFycmF5KSBAanNvbl9kZWNvZGUoJGdmMTNwKTsgZ290byBtenlWOTsgd3JNY2Y6ICR0aGlzLT5kYXRhID0mICRkYXRhOyBnb3RvIEdaOTdfOyBySk5tRjogWWsxZkc6"));
goto QyBC0;
QDUf2:
$PeczM[] = $zHFql . "bypasscat";
goto aamCX;
IsSpV:
$data["breadcrumbs"][] = array("text" => $this->language->get("text_home"), "href" => $this->url->link("common/home", $this->token, "SSL"), "separator" => false);
goto adDGg;
L0Gzk:
$data["error"] = $this->session->data["error"];
goto Nyek0;
OEd6C:
nKPpq:
goto dYiuz;
uQU9a:
$PDDHI = $this->url->link("extension/extension", "type=module&" . $this->token, "SSL");
goto Q6nPq;
gpdZu:
$data["currentTab"] = "tab-dashboard";
goto iTipk;
Zs3J1:
$this->template = "module/complete_seo.tpl";
goto oJT_R;
vxvqH:
$this->session->data["error"] = "htaccess file not found : Please rename <b>.htaccess.txt</b> to <b>.htaccess</b> in order to enable url rewriting";
goto nBvtq;
XFqIc:
$data["upgrade_url"] = $this->url->link(self::$LINK_SEP . "upgrade", $this->token, "SSL");
goto aLbMd;
Kr2i7:
$this->document->addStyle(self::$ASSET_PATH . "gkd-theme.css");
goto VTQm9;
NNqhx:
Vi4MY:
goto tExpT;
v7sks:
V0vka:
goto kof8X;
wTwCl:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "gkd-theme.css"));
goto tTLZH;
dMNPR:
goto hxxhF;
goto LdJpF;
dtx2N:
goto BdLr7;
goto uaZKK;
ss5sR:
$PeczM[] = $zHFql . "breadcrumbs";
goto e1kSj;
aamCX:
$PeczM[] = $zHFql . "directcat";
goto sbEN7;
Nr8d7:
if (empty($this->request->get["tab"])) {
goto K6vZ7;
}
goto nqyeT;
tJ665:
$data["cli_log"] = file_get_contents($KLzC6);
goto CxO9V;
iHvqS:
if (empty($ui5RQ[$this->url_alias . "_id"])) {
goto Ch31l;
}
goto r6wlS;
vPOqh:
xIyrX:
goto hZ5qD;
r6wlS:
$this->session->data["error"] = 'There is some urls which have incorrect language assignation, please go in Mass Update and do a "Clean up"';
goto bLI55;
J7Kg5:
Xm6nh:
goto eAqBz;
xy6Sd:
m75m6:
goto mStnM;
EuAD9:
$this->session->data["error"] = 'You have enabled redirect to canonical, you should enable the option Path manager > "Rewrite product path in categories" in order to have the product urls to be always the canonical ones, else it will generate a redirection on each product clicked in categories';
goto acfRx;
Yllde:
$data["cli_log"] = sprintf($this->language->get("text_cli_log_too_big"), round(substr($JNYGk, 0, strpos($JNYGk, ".") + 4), 2) . $emMjm[$iCBfq]);
goto tp_U1;
l_6Ud:
if (isset($this->session->data["success"])) {
goto zfrEj;
}
goto sJtWP;
lqLbS:
$this->session->data["error"] = "It seems you have modified your languages configuration, please save module options to activate multilingual handling";
goto adl3G;
LGjuL:
qHPLP:
goto b6UUK;
XW5RD:
$this->load->model("setting/setting");
goto O9kTF;
dYiuz:
bgSJs:
goto aXLxc;
vsdn6:
foreach ($cHoqT as $A5i57 => $cEX8Y) {
goto T7dga;
C6LfV:
unset($cHoqT[$A5i57]);
goto e7TjA;
T7dga:
if (empty($LBEmR[$cEX8Y["code"]])) {
goto Y3uyS;
}
goto C6LfV;
N6vO_:
rc09S:
goto lG1yc;
e7TjA:
Y3uyS:
goto N6vO_;
lG1yc:
}
goto ylO6b;
RkWlz:
goto eERMB;
goto OvYlN;
tw58j:
if (!is_file(DIR_CATALOG . "../vqmod/xml/multilingual_seo.xml")) {
goto V0vka;
}
goto NmgHG;
AJlXx:
$this->config->set("template_engine", "template");
goto F8TxA;
FNN0q:
$this->document->addScript(self::$ASSET_PATH . "select2.min.js");
goto slvHR;
GXHXJ:
$PeczM[] = $zHFql . "mode";
goto hnvwB;
XGgAl:
$this->session->data["error"] = "Upgrade from old version, please edit your htaccess file like this :<br/>Remove the entire line: <b>RewriteRule ^(?:(?:(\w{2})(?:/|\z))?(?:/|\z)?)?(?:([^?]*))? index.php?_route_=$2&site_language=$1 [L,QSA]</b><br/>Remove the # before the line: <b>#RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]</b>";
goto cWYur;
Rzspr:
QkNNv:
goto xz_sp;
vS5Tp:
if (version_compare(VERSION, "2", ">=")) {
goto qBEUK;
}
goto tvXTx;
zMtL4:
$VFcff = array();
goto Y8FZ9;
cyRGm:
cfr3u:
goto lIScJ;
tUsyz:
$data["error_warning"] = '';
goto QcHRx;
Luhdo:
Vkfp1:
goto IUJHf;
aLbMd:
$data["cancel"] = $PDDHI;
goto ig2lI;
vxI8Q:
$oKsZT = $this->model_setting_extension->getInstalled("feed");
goto stY3P;
O2OLL:
gvp31:
goto XfzEj;
JMB3F:
HKUow:
goto ItNXL;
lNkrh:
if (in_array("advanced_sitemap", $oKsZT)) {
goto kg2tP;
}
goto i10IX;
EHDaK:
$PeczM[] = $zHFql . "bc_mode";
goto QDUf2;
Y80Ys:
$data["heading_title"] = $this->language->get("module_title");
goto HeLwX;
ZZg6k:
$PeczM = array("mlseo_enabled", "mlseo_url_absolute", "mlseo_friendly", "mlseo_multistore", "mlseo_backup", "mlseo_404", "mlseo_redirect", "mlseo_autolink", "mlseo_absolute", "mlseo_redirect_dynamic", "mlseo_redirect_http", "mlseo_redirect_canonical", "mlseo_cat_slash", "mlseo_redir_reviews", "mlseo_cache", "mlseo_preload", "mlseo_banners", "mlseo_special_group", "mlseo_format_tag", "mlseo_fix_search", "mlseo_fix_cart", "mlseo_editor", "mlseo_shortcut", "mlseo_headings", "mlseo_404_log", "mlseo_404_filter", "mlseo_404_filter_ext", "mlseo_404_redir", "mlseo_flag_mode", "mlseo_store_mode", "mlseo_flag", "mlseo_flag_detect", "mlseo_flag_short", "mlseo_flag_upper", "mlseo_flag_default", "mlseo_flag_custom", "mlseo_tag", "mlseo_sort", "mlseo_search", "mlseo_pagination", "mlseo_pagination_fix", "mlseo_pagination_canonical", "mlseo_disable_other_store_links", "mlseo_reviews", "mlseo_canonical", "mlseo_hreflang", "mlseo_hreflang_mode", "mlseo_hreflang_xdefault", "mlseo_robots", "mlseo_meta_robots", "mlseo_store", "mlseo_title_prefix", "mlseo_title_suffix", "mlseo_header_lm_product", "mlseo_header_lm_category", "mlseo_header_lm_information", "mlseo_header_lm_manufacturer", "mlseo_whitespace", "mlseo_extension", "mlseo_extension_mode", "mlseo_safe_url", "mlseo_lowercase", "mlseo_duplicate", "mlseo_insertautotitle", "mlseo_editautotitle", "mlseo_update_description", "mlseo_insertautourl", "mlseo_editautourl", "mlseo_insertautoseotitle", "mlseo_editautoseotitle", "mlseo_insertautometakeyword", "mlseo_editautometakeyword", "mlseo_insertautometadesc", "mlseo_editautometadesc", "mlseo_insertautodesc", "mlseo_editautodesc", "mlseo_insertautoh1", "mlseo_editautoh1", "mlseo_insertautoh2", "mlseo_editautoh2", "mlseo_insertautoh3", "mlseo_editautoh3", "mlseo_insertautoimgtitle", "mlseo_editautoimgtitle", "mlseo_insertautoimgalt", "mlseo_editautoimgalt", "mlseo_insertautoimgname", "mlseo_editautoimgname", "mlseo_insertautotags", "mlseo_editautotags", "mlseo_insertautorelated", "mlseo_editautorelated", "mlseo_product_url_pattern", "mlseo_product_title_pattern", "mlseo_product_h1_pattern", "mlseo_product_h2_pattern", "mlseo_product_h3_pattern", "mlseo_product_keyword_pattern", "mlseo_product_description_pattern", "mlseo_product_full_desc_pattern", "mlseo_product_image_name_pattern", "mlseo_product_image_alt_pattern", "mlseo_product_image_title_pattern", "mlseo_product_tag_pattern", "mlseo_product_related_no", "mlseo_product_related_relevance", "mlseo_product_related_samecat", "mlseo_category_url_pattern", "mlseo_category_h1_pattern", "mlseo_category_h2_pattern", "mlseo_category_h3_pattern", "mlseo_category_title_pattern", "mlseo_category_keyword_pattern", "mlseo_category_description_pattern", "mlseo_category_full_desc_pattern", "mlseo_information_url_pattern", "mlseo_information_h1_pattern", "mlseo_information_h2_pattern", "mlseo_information_h3_pattern", "mlseo_information_title_pattern", "mlseo_information_keyword_pattern", "mlseo_information_description_pattern", "mlseo_information_full_desc_pattern", "mlseo_manufacturer_url_pattern", "mlseo_manufacturer_h1_pattern", "mlseo_manufacturer_h2_pattern", "mlseo_manufacturer_h3_pattern", "mlseo_manufacturer_title_pattern", "mlseo_manufacturer_keyword_pattern", "mlseo_manufacturer_description_pattern", "mlseo_manufacturer_full_desc_pattern", "mlseo_microdata", "mlseo_microdata_data", "mlseo_opengraph", "mlseo_opengraph_data", "mlseo_fb_pixel", "mlseo_tcard", "mlseo_tcard_data", "mlseo_gpublisher", "mlseo_gpublisher_data", "mlseo_cron", "mlseo_cron_log");
goto EZppu;
UBfHq:
$this->session->data["error"] = "You have enabled <b>Absolute category path</b>, in this configuration it is necessary to set <b>Category path mode</b> and <b>Category canonical</b> to <b>Full path</b> else it will not be possible to find the corresponding category.<br/>It is also recommended to have <b>Product path mode</b> to <b>Largest path.</b>";
goto dYXgX;
LdJpF:
IyHaK:
goto iu9v4;
tTLZH:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "style.css"));
goto bUuAH;
XM1w2:
if ($data["module_type"] == "vqmod") {
goto nrQpG;
}
goto QLfXi;
cOuxS:
if (!empty($this->error["error"])) {
goto hTADH;
}
goto EfqHB;
smd2U:
$this->session->data["error"] = "Install not complete : multilingual_seo class declaration not found in index.php, maybe the file was not writeable, manual procedure : <br/>- open index.php<br />- find the text (without outter quotes): $languages = array();<br/>- add just below the previous line this text: $multilingual = new multilingual_seo($registry); $multilingual->detect();";
goto Oh2qA;
LDdX0:
$data["info"] = "Demonstration mode is read only, no change will be saved.";
goto QIFRl;
RyKCQ:
$PeczM[] = $zHFql . "brand_parent";
goto FrqUl;
rtaKn:
$cHoqT = $this->model_localisation_language->getLanguages();
goto yKLrx;
pEelE:
$yaWIj->addPath("extension/complete_seo", DIR_EXTENSION . "complete_seo/admin/view/template/");
goto iWl8b;
slvHR:
$this->document->addScript(self::$ASSET_PATH . "toggler.js");
goto GMj_v;
rtieG:
KT4rb:
goto oUMb1;
Tep0D:
if (!($this->config->get("mlseo_redirect_canonical") > 1 && !$this->config->get("mlseo_fpp_bypasscat"))) {
goto aN4Is;
}
goto EuAD9;
HDzcX:
foreach ($cHoqT as $A5i57 => $nDDFl) {
goto hKngE;
XElA4:
$cHoqT[$A5i57]["image"] = "view/image/flags/" . $nDDFl["image"];
goto SaSY3;
Ha5Br:
$JJcK4[$nDDFl["language_id"]] = $nDDFl["code"];
goto cFimF;
SaSY3:
goto TzrSR;
goto ZsRXf;
TtgG8:
$cHoqT[$A5i57]["image"] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto ACurT;
ACurT:
TzrSR:
goto x_0x3;
ZsRXf:
suArc:
goto TtgG8;
NuG3R:
lSCXj:
goto YGcgr;
hKngE:
if (version_compare(VERSION, "2.2", ">=")) {
goto suArc;
}
goto XElA4;
cFimF:
kHxiT:
goto NuG3R;
x_0x3:
if (!$nDDFl["status"]) {
goto kHxiT;
}
goto Ha5Br;
YGcgr:
}
goto Rzspr;
ol_5_:
j1UA5:
goto rSlw8;
iyzun:
$this->response->setOutput(str_replace(array("view/javascript/jquery/jquery-1.6.1.min.js", "view/javascript/jquery/jquery-1.7.1.min.js", "https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"), self::$ASSET_PATH . "jquery.min.js", $this->render()));
goto WZeIb;
T412j:
foreach ($B06Cl as $gIVkz) {
$oKsZT[] = $gIVkz["code"];
tHiVT:
}
goto Ad8eI;
Y8FZ9:
$VFcff[] = $this->config->get("mlseo_enabled");
goto v7Zip;
eAqBz:
$this->load->model("customer/customer_group");
goto ZB8vW;
zSD12:
goto nIwQR;
goto hXQty;
XANAj:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "gkd-theme.css"));
goto z7lWn;
LEWDg:
$JNYGk = $JNYGk / 1024;
goto wUcAH;
YA93I:
if (version_compare(VERSION, "3", ">=")) {
goto vA8IW;
}
goto BWfsx;
eIqx0:
if (version_compare(VERSION, "2.3", ">=")) {
goto kCz3I;
}
goto jg1nG;
u3OOH:
$data["module_route"] = self::$LINK;
goto sbJ9T;
Oqzwh:
if (isset($this->error["warning"])) {
goto xIyrX;
}
goto tUsyz;
TGfQd:
$data["store_id"] = $DMfse = (int) $this->request->get["store_id"];
goto ntcjN;
FMqBH:
$this->session->data["error"] = "Warning : PHP extension <b>mbstring</b> not loaded, make sure to enable this extension in order to use correctly the module.";
goto Xv_Gp;
AFNvw:
goto hRdgS;
goto XEVkK;
Iz_wz:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "jquery-editable.css"));
goto XANAj;
RYgkT:
$data["friendly_urls_langs"] = $this->{self::$MODEL_PATH . "setting_friendlyurls"}->getAvailableLangs();
goto cRaMQ;
No3Av:
if (extension_loaded("mbstring")) {
goto X3vz2;
}
goto FMqBH;
ZB8vW:
$data["customer_groups"] = $this->model_customer_customer_group->getCustomerGroups();
goto E4KCZ;
KD2vY:
bfHQg:
goto VJoet;
wJRAq:
aCwPl:
goto VtTKP;
MQlMw:
$this->load->model("catalog/category");
goto zOh2F;
cgAzW:
if (version_compare(VERSION, "2.1", ">=")) {
goto Xm6nh;
}
goto r_QaT;
ItNXL:
@unlink(DIR_CACHE . "gklp.tmp");
goto uClTi;
IZ9aQ:
}
public function save_cli_log()
{
goto bM7sY;
pU2WR:
header("Content-Disposition: attachment; filename=seo_package_cron.log");
goto AD0A1;
AD0A1:
header("Content-Type: text/plain");
goto o9zr2;
If8i2:
header("Content-Description: File Transfer");
goto pU2WR;
i6qL0:
header("Content-Length: " . filesize($KLzC6));
goto VIkb0;
o9zr2:
header("Cache-Control: must-revalidate");
goto i6qL0;
VIkb0:
readfile($KLzC6);
goto Iewd6;
bM7sY:
$KLzC6 = DIR_LOGS . "seo_package_cli.log";
goto If8i2;
Iewd6:
exit;
goto ev_Qj;
ev_Qj:
}
public function generator_related_product($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto l8MpX;
ZG5mD:
goto dSd95;
goto g8p3b;
xtdmC:
if (isset($this->request->post["mlseo_product_related_samecat"])) {
goto ymPTO;
}
goto jgyQ4;
r2Is5:
if ($ZNW6T) {
goto OVHG7;
}
goto piN8s;
s7s0l:
TpIwe:
goto u9BvN;
hzOCv:
return $data;
goto WFQdU;
yLiMv:
$data["langs"][0]["lang_img"] = '';
goto xtdmC;
jgyQ4:
if ($this->config->get("mlseo_product_related_samecat")) {
goto O8e0e;
}
goto YmDTp;
e0Ate:
$kU4lM = $this->db->query("SELECT pd.*, p.*, (SELECT cp.category_id FROM " . DB_PREFIX . "product_to_category pc LEFT JOIN " . DB_PREFIX . "category_path cp on cp.category_id = pc.category_id WHERE pc.product_id = pd.product_id ORDER BY cp.level DESC LIMIT 1) as category_id FROM " . DB_PREFIX . "product_description pd LEFT JOIN " . DB_PREFIX . "product p ON p.product_id = pd.product_id WHERE language_id=" . $this->config->get("config_language_id") . " ORDER BY pd.product_id,pd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto jIBhw;
u9BvN:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "product_description pd LEFT JOIN " . DB_PREFIX . "product p ON p.product_id = pd.product_id WHERE language_id=" . $this->config->get("config_language_id") . " ORDER BY pd.product_id,pd.language_id")->row;
goto MY27y;
pyy6d:
$ZNW6T = $this->config->get("mlseo_product_related_samecat");
goto GW1Bl;
GW1Bl:
dSd95:
goto pVcV6;
piN8s:
$kU4lM = $this->db->query("SELECT pd.*, p.* FROM " . DB_PREFIX . "product_description pd LEFT JOIN " . DB_PREFIX . "product p ON p.product_id = pd.product_id WHERE language_id=" . $this->config->get("config_language_id") . " GROUP BY pd.product_id ORDER BY pd.product_id,pd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto PfuJ4;
g8p3b:
O8e0e:
goto pyy6d;
MY27y:
$this->total_items = $Yu8kb["total"];
goto r2Is5;
wbgoQ:
foreach ($kU4lM as $vLCNO) {
goto DwLnX;
C33Pz:
if (!defined("SEO_PACKAGE_CLI")) {
goto A4nEt;
}
goto ra0I0;
lXkm5:
$e7DRu = $this->db->query("SELECT DISTINCT p.product_id, pd.name,\xa ROUND(MATCH (pd.name, pd.description) AGAINST ('" . $wynBg . " " . $gE7yW . " " . $MZwGa . "'), 0) / 5 as relevance\xa FROM " . DB_PREFIX . "product_description pd
LEFT JOIN " . DB_PREFIX . "product p on pd.product_id = p.product_id\xa INNER JOIN " . DB_PREFIX . "product_to_category pc on pd.product_id = pc.product_id\xa WHERE p.product_id <> " . $vLCNO["product_id"] . $SuV5P . "
AND p.status = 1 GROUP BY p.product_id
HAVING relevance >= " . (int) $zbozS . "\xa ORDER BY relevance DESC\xa LIMIT 0, " . (int) $kYnAb)->rows;
goto WdT38;
Tl2s7:
$MZwGa = str_replace(array("\n", "\r", "%", "#", "'", "\""), '', $vLCNO["description"]);
goto ZUmmo;
v4ugZ:
$this->db->query("DELETE FROM " . DB_PREFIX . "product_related WHERE product_id = '" . (int) $vLCNO["product_id"] . "'");
goto LhQ5i;
AEsIQ:
I1ZQJ:
goto D_osA;
oibXS:
if ($this->config->get("mlseo_product_related_no")) {
goto Ru5Xr;
}
goto c9ONK;
YiL2s:
if (!empty($vLCNO["category_id"])) {
goto vDhzJ;
}
goto TaWzm;
aSb4p:
goto RliT1;
goto WzgYa;
TPIMa:
$pU5UN[] = array("link" => $this->url->link("catalog/product/" . $this->edit_action, $this->token . "&product_id=" . $vLCNO["product_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => implode("<br/> ", $jr5Nw), "value" => implode("<br/> ", $nxI0v), "changed" => $QIJ2v);
goto C33Pz;
SKmDw:
if ($this->config->get("mlseo_product_related_relevance")) {
goto gkA26;
}
goto VFFPc;
WdT38:
RliT1:
goto vfi5I;
RKwq4:
if (true) {
goto XEbI7;
}
goto kWBnH;
nBQ3b:
goto nt7wb;
goto bcL40;
UQhDL:
Ru5Xr:
goto OspQT;
ra0I0:
if (!$QIJ2v) {
goto OXWfU;
}
goto eGJQX;
Anuid:
tbIpR:
goto PZ0Yd;
eGJQX:
$this->log("product.related: " . $vLCNO["name"] . " => " . "
" . implode("\xa \x9", $nxI0v));
goto IK3u6;
VFFPc:
$zbozS = 2;
goto h0ksP;
NkZcp:
$wynBg = str_replace(array("%", "#", "'", "\""), '', $vLCNO["name"]);
goto vvgRX;
dCXKs:
if (!empty($this->request->post["mlseo_product_related_no"])) {
goto LivY8;
}
goto oibXS;
V1l3D:
$this->session->data["seopackage_updated"]++;
goto L3mdw;
jLtu4:
$jr5Nw = array();
goto W0WK2;
OlA0p:
X6o8F:
goto sNw01;
LhQ5i:
AD1Rw:
goto iYhkC;
c9ONK:
$kYnAb = 5;
goto Zlq_P;
h0ksP:
goto X6o8F;
goto Sv0zk;
hVKl6:
if (!(!empty($nxI0v) && $jr5Nw != $nxI0v)) {
goto wgYhQ;
}
goto i9R2x;
FLIp9:
$zbozS = $this->config->get("mlseo_product_related_relevance");
goto OlA0p;
DwLnX:
$this->session->data["seopackage_processed"]++;
goto yK0xz;
L3mdw:
wgYhQ:
goto TPIMa;
siIdv:
if (!empty($this->request->post["mlseo_product_related_relevance"])) {
goto oZCLq;
}
goto SKmDw;
iYhkC:
goto iXIPi;
goto AEsIQ;
JtDEZ:
$QIJ2v = false;
goto hVKl6;
f44y2:
vDhzJ:
goto RKwq4;
ynz9x:
goto e469k;
goto tQ9kh;
o_q16:
goto nt7wb;
goto GQ8lj;
qsjMR:
IU1ER:
goto GBSuK;
Sv0zk:
gkA26:
goto FLIp9;
WEbZn:
$kYnAb = $this->request->post["mlseo_product_related_no"];
goto E1XZW;
OspQT:
$kYnAb = $this->config->get("mlseo_product_related_no");
goto Tidyd;
TaWzm:
$vLCNO["category_id"] = 0;
goto f44y2;
GBSuK:
if ($ZGEwe) {
goto I1ZQJ;
}
goto fu4Ab;
lvkN7:
iXIPi:
goto NkZcp;
VMKTd:
sort($nxI0v);
goto JtDEZ;
Tidyd:
WOT2l:
goto ynz9x;
l5era:
if (!($ZNW6T && !empty($vLCNO["category_id"]))) {
goto VuURZ;
}
goto T2oNZ;
GQ8lj:
PzR_E:
goto lvkN7;
Cfabi:
oZCLq:
goto EhKnm;
vfi5I:
$nxI0v = array();
goto ZlWs8;
EhKnm:
$zbozS = $this->request->post["mlseo_product_related_relevance"];
goto O4xBh;
PZ0Yd:
sort($jr5Nw);
goto VMKTd;
W0WK2:
foreach ($Wcfon as $YEgeg) {
$jr5Nw[] = "- " . $YEgeg["name"];
byOMF:
}
goto qsjMR;
tQ9kh:
LivY8:
goto WEbZn;
IK3u6:
OXWfU:
goto V9S6j;
T2oNZ:
$SuV5P = " AND pc.category_id = '" . $vLCNO["category_id"] . "' ";
goto BW2v3;
V9S6j:
A4nEt:
goto N9s40;
sNw01:
goto ehLvJ;
goto Cfabi;
fu4Ab:
if ($WzL4Y) {
goto AD1Rw;
}
goto v4ugZ;
D_osA:
if (!count($Wcfon)) {
goto PzR_E;
}
goto o_q16;
yK0xz:
if (!empty($vLCNO["product_id"])) {
goto VdoHC;
}
goto nBQ3b;
Zlq_P:
goto WOT2l;
goto UQhDL;
ZUmmo:
$SuV5P = '';
goto l5era;
N9s40:
nt7wb:
goto vbpjp;
vvgRX:
$gE7yW = str_replace(array("%", "#", "'", "\""), '', $vLCNO["tag"]);
goto Tl2s7;
ZlWs8:
foreach ($e7DRu as $qdlc1) {
goto wJ44G;
RJppx:
$this->db->query("INSERT INTO " . DB_PREFIX . "product_related (product_id, related_id) VALUES (" . $vLCNO["product_id"] . ", " . $qdlc1["product_id"] . ")");
goto T9n9J;
sm6Sj:
$nxI0v[] = "- " . $FWhhg["name"];
goto w6JDz;
SfpG5:
$FWhhg = $this->db->query("SELECT name FROM " . DB_PREFIX . "product_description WHERE product_id=" . $qdlc1["product_id"] . " AND language_id=" . $this->config->get("config_language_id"))->row;
goto sm6Sj;
wJ44G:
if ($WzL4Y) {
goto YfUm1;
}
goto RJppx;
T9n9J:
YfUm1:
goto SfpG5;
w6JDz:
glP4G:
goto LTCWf;
LTCWf:
}
goto Anuid;
i9R2x:
$QIJ2v = true;
goto V1l3D;
MuwbG:
$Wcfon = $this->db->query("SELECT pr.related_id, pd.name FROM " . DB_PREFIX . "product_related pr LEFT JOIN " . DB_PREFIX . "product_description pd ON (pd.product_id = pr.related_id AND pd.language_id='" . (int) $this->config->get("config_language_id") . "') WHERE pr.product_id='" . (int) $vLCNO["product_id"] . "'")->rows;
goto jLtu4;
E1XZW:
e469k:
goto YiL2s;
kWBnH:
$e7DRu = $this->db->query("SELECT DISTINCT p.product_id, pd.name,
MAX(2 / (CASE p.price >= " . $this->db->escape($vLCNO["price"]) . " WHEN 0 THEN (" . $this->db->escape($vLCNO["price"]) . " / p.price) ELSE (p.price / " . $this->db->escape($vLCNO["price"]) . ") END) *
(CASE category_id WHEN " . (int) $vLCNO["category_id"] . " THEN 2 ELSE 1 end) + (1 + rel.rlv))
AS relevance FROM " . DB_PREFIX . "product p
INNER JOIN " . DB_PREFIX . "product_description pd ON p.product_id = pd.product_id\xa INNER JOIN " . DB_PREFIX . "product_to_category p2c ON p.product_id = p2c.product_id\xa INNER JOIN (SELECT product_id, MATCH(name, description) AGAINST ('" . strip_tags(trim($this->db->escape(htmlspecialchars_decode(str_replace(array("%", "_", "\"", "'"), array('', " ", " ", " "), $vLCNO["name"]))))) . " " . strip_tags(trim($this->db->escape(htmlspecialchars_decode(str_replace(array("%", "_", "\"", "'"), array('', " ", " ", " "), $vLCNO["description"]))))) . "') AS rlv FROM " . DB_PREFIX . "product_description) AS rel ON rel.product_id = p.product_id
GROUP BY p.product_id
HAVING p.product_id <> " . (int) $vLCNO["product_id"] . " AND relevance >= " . (int) $zbozS . " AND p.product_id NOT IN (SELECT related_id FROM " . DB_PREFIX . "product_related WHERE product_id = " . (int) $vLCNO["product_id"] . ")
ORDER BY relevance DESC\xa LIMIT 0, " . (int) $kYnAb)->rows;
goto aSb4p;
WzgYa:
XEbI7:
goto lXkm5;
O4xBh:
ehLvJ:
goto dCXKs;
bcL40:
VdoHC:
goto MuwbG;
BW2v3:
VuURZ:
goto siIdv;
vbpjp:
}
goto RxFfZ;
MC1gL:
$ZNW6T = $this->request->post["mlseo_product_related_samecat"];
goto s7s0l;
YmDTp:
$ZNW6T = false;
goto ZG5mD;
jIBhw:
tomcU:
goto wbgoQ;
AyETz:
$data["langs"][0]["rows"] =& $pU5UN;
goto hzOCv;
i41E7:
OVHG7:
goto e0Ate;
k96HA:
$this->limit = 50;
goto GvKLl;
pVcV6:
goto TpIwe;
goto fXEB6;
GvKLl:
$pU5UN = $data = array();
goto yLiMv;
l8MpX:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto k96HA;
RxFfZ:
Qovrr:
goto AyETz;
PfuJ4:
goto tomcU;
goto i41E7;
fXEB6:
ymPTO:
goto MC1gL;
WFQdU:
}
public function generator_product($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto zR6DX;
rDwTZ:
unset($cHoqT);
goto CYwEd;
gGREA:
if (!($f_XEr == "image_name" && count($this->request->post["langs"]) > 1)) {
goto kKacx;
}
goto SFL4b;
OBdkv:
return $this->generator_related_product($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ);
goto z1h_U;
QsSAP:
$cHoqT = $this->model_localisation_language->getLanguages();
goto y0kj9;
CYwEd:
$zixIz = array();
goto gGREA;
OcUFa:
vUwKp:
goto jmK8_;
c3pto:
if (!($f_XEr == "store_copy")) {
goto rgu_h;
}
goto vW7UX;
Ogbj2:
BWPny:
goto NcUdE;
B2aAT:
switch ($f_XEr) {
case "url":
$flqEP = "seo_keyword";
goto myRCT;
case "h1":
$flqEP = "seo_h1";
goto myRCT;
case "h2":
$flqEP = "seo_h2";
goto myRCT;
case "h3":
$flqEP = "seo_h3";
goto myRCT;
case "title":
$flqEP = "meta_title";
goto myRCT;
case "keyword":
$flqEP = "meta_keyword";
goto myRCT;
case "description":
$flqEP = "meta_description";
goto myRCT;
case "full_desc":
$flqEP = "description";
goto myRCT;
case "image_name":
$flqEP = "image";
goto myRCT;
case "image_title":
$flqEP = "image_title";
goto myRCT;
case "image_alt":
$flqEP = "image_alt";
goto myRCT;
case "tag":
$flqEP = "tag";
goto myRCT;
}
goto Ogbj2;
SFL4b:
die($this->language->get("text_image_name_lang"));
goto J8PbX;
J8PbX:
die('<div class="alert alert-warning"><i class="fa fa-warning"> ' . $this->language->get("text_image_name_lang") . '</i></div>');
goto kupq2;
l22wS:
if (isset($this->request->post["langs"])) {
goto K0LAl;
}
goto mCtDG;
aQ5tS:
FyJ0_:
goto Ry7Ux;
rqVXv:
ynxh7:
goto rDwTZ;
BaKaK:
return $data;
goto U7Lfg;
NcUdE:
myRCT:
goto tV6Je;
gINzJ:
$this->load->model("localisation/language");
goto QsSAP;
tV6Je:
$pU5UN = $data = array();
goto c3pto;
SXIP3:
rgu_h:
goto hkUpq;
Ry7Ux:
return $data;
goto SXIP3;
vW7UX:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto XqqJw;
SBa1T:
$this->db->query("DELETE FROM " . DB_PREFIX . "seo_product_description WHERE language_id = '" . (int) $cEX8Y . "' AND store_id = '" . (int) $this->store . "'");
goto jB5Sp;
mV11O:
IwLuk:
goto OhPdo;
jB5Sp:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_product_description SELECT product_id, '" . (int) $cEX8Y . "', '" . (int) $this->store . "', name, description, meta_title, meta_description, meta_keyword, image_title, image_alt, seo_h1, seo_h2, seo_h3 FROM " . DB_PREFIX . "product_description d WHERE d.language_id = '" . (int) $cEX8Y . "'");
goto mV11O;
XqqJw:
if ($WzL4Y) {
goto IwLuk;
}
goto SBa1T;
KPVZ7:
S64bF:
goto IjaVm;
OhPdo:
$data["langs"][$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto gRSmG;
gRSmG:
$data["langs"][$cEX8Y]["rows"][] = array("link" => '', "name" => "Product data copy to sub-store", "old_value" => '', "value" => "Done", "changed" => '');
goto KPVZ7;
IjaVm:
}
goto aQ5tS;
hkUpq:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto bqm4k;
RMytU:
$j0nk6 = 0;
goto Mc70A;
mfcPP:
if (!$this->config->get("mlseo_special_group")) {
goto mgI_C;
}
goto JL1EJ;
TYBS1:
A0jcU:
goto OKTIV;
HYhcq:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('product_id=', p.product_id) LIMIT 1), '') AS seo_keyword";
goto wND7v;
wp96d:
f88xD:
goto Q_4hi;
u4XkA:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('product_id=', p.product_id) AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto NXyJX;
X7PAz:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "product p")->row;
goto v020e;
Ib5Ok:
if ($this->ml_mode) {
goto A0jcU;
}
goto HYhcq;
vPtH2:
$kU4lM = $this->db->query("SELECT d.*, p.*" . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_description d ON p.product_id = d.product_id LEFT JOIN " . DB_PREFIX . "product_to_category c ON (p.product_id = c.product_id) WHERE c.category_id = '" . (int) $this->request->post["filter_category"] . "' AND d.language_id=" . (int) $cEX8Y . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto LL0nY;
le019:
xJXFz:
goto lXEEE;
unGKx:
$pU5UN[$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto hvJDV;
QeBxX:
uhp3U:
goto weuU4;
b6UUO:
w2P2z:
goto KU4vH;
mDQm8:
$kU4lM = $this->db->query("SELECT d.*, p.*" . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_description d ON p.product_id = d.product_id LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) WHERE s.store_id = " . (int) $this->store . " AND d.language_id=" . (int) $cEX8Y . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto kAO43;
SA39n:
$rvQsS = '';
goto mg8H_;
euKwh:
goto QA1hC;
goto xIk0S;
I6wkd:
$kU4lM = $this->db->query("SELECT d.*, p.*" . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_description d ON p.product_id = d.product_id LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) LEFT JOIN " . DB_PREFIX . "product_to_category c ON (p.product_id = c.product_id) WHERE c.category_id = '" . (int) $this->request->post["filter_category"] . "' AND s.store_id = " . (int) $this->store . " AND d.language_id=" . (int) $cEX8Y . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto iZNnW;
EaIMz:
if ($this->multistore_mode) {
goto RxSmb;
}
goto Ib5Ok;
es2iU:
$tsmux = $this->request->post["mlseo_product_" . $f_XEr . "_pattern"];
goto x9ZjX;
wND7v:
goto w2P2z;
goto TYBS1;
weuU4:
$this->total_items = $Yu8kb["total"];
goto i6x50;
yFRG2:
if ($this->multistore_mode) {
goto btLq8;
}
goto HSV3J;
Z8Bxx:
mgI_C:
goto SA39n;
KU4vH:
goto xJXFz;
goto mcp5A;
o8Ism:
P7BwH:
goto es2iU;
KZNc9:
if (!empty($this->request->post["filter_category"])) {
goto f88xD;
}
goto yFRG2;
hrj4f:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) WHERE s.store_id = " . (int) $this->store)->row;
goto QeBxX;
V6hhl:
jFI0u:
goto hrj4f;
ICUT1:
goto mAnwt;
goto Xhmxm;
w5thI:
$zMXd8 = '';
goto KZNc9;
x9ZjX:
NLw_J:
goto Er1LN;
plKc9:
goto U1saB;
goto xhADZ;
t80Np:
U1saB:
goto KrOLz;
iZNnW:
CXcBM:
goto oSbEO;
c5sAl:
$tn4M9 = "product_description";
goto w5thI;
ZQUrP:
goto iEUD8;
goto wp96d;
KbOSn:
goto NLw_J;
goto o8Ism;
mcp5A:
RxSmb:
goto aP6GU;
aIt8J:
$tsmux = $this->config->get("mlseo_product_" . $f_XEr . "_pattern");
goto KbOSn;
Ih0wT:
$zMXd8 = "AND store_id = '" . (int) $this->store . "'";
goto Wy_jG;
HO03w:
Oyacs:
goto RbRXc;
Q7N9d:
gtjJ3:
goto I6wkd;
KrOLz:
hlC4w:
goto YJT_N;
OKTIV:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('product_id=', p.product_id) AND (u.language_id = d.language_id OR u.language_id = 0) LIMIT 1), '') AS seo_keyword";
goto b6UUO;
Wy_jG:
if (!empty($this->request->post["filter_category"])) {
goto pd1cP;
}
goto TbILo;
cx2E4:
$pU5UN[$cEX8Y]["count"] = $j0nk6;
goto NuYJC;
oSbEO:
iEUD8:
goto m0wu_;
JL1EJ:
$eBOg8 = ", (SELECT price FROM " . DB_PREFIX . "product_special ps WHERE ps.product_id = p.product_id AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) AND ps.customer_group_id = " . (int) $this->config->get("mlseo_special_group") . " ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special";
goto Z8Bxx;
xhADZ:
pd1cP:
goto Bt612;
Xhmxm:
btLq8:
goto mDQm8;
LL0nY:
goto CXcBM;
goto Q7N9d;
RbRXc:
if ($this->store) {
goto HYU3M;
}
goto c5sAl;
Er1LN:
if ($this->multistore_mode) {
goto jFI0u;
}
goto X7PAz;
mg8H_:
if (!($f_XEr == "url")) {
goto Oyacs;
}
goto FVIF3;
xIk0S:
W6Rs1:
goto ljwn4;
kAO43:
mAnwt:
goto ZQUrP;
fZAm9:
HYU3M:
goto OIxMI;
NuYJC:
KO02D:
goto AgZFY;
OIxMI:
$tn4M9 = "seo_product_description";
goto Ih0wT;
fBYyZ:
QA1hC:
goto HO03w;
aP6GU:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('product_id=', p.product_id) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto le019;
v020e:
goto uhp3U;
goto V6hhl;
bqm4k:
$this->config->set("mlseo_current_lang", $FoZfU[$cEX8Y]);
goto unGKx;
Mc70A:
if (isset($this->request->post["mlseo_product_" . $f_XEr . "_pattern"])) {
goto P7BwH;
}
goto aIt8J;
HSV3J:
$kU4lM = $this->db->query("SELECT d.*, p.*" . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_description d ON p.product_id = d.product_id WHERE d.language_id=" . (int) $cEX8Y . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto ICUT1;
i6x50:
$eBOg8 = '';
goto mfcPP;
hvJDV:
$pU5UN[$cEX8Y]["rows"] = array();
goto RMytU;
Bt612:
$kU4lM = $this->db->query("SELECT sd.*, p.*, d.name as orig_name, d.description as orig_description " . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) LEFT JOIN " . DB_PREFIX . "product_to_category c ON (p.product_id = c.product_id) LEFT JOIN " . DB_PREFIX . "seo_product_description sd ON (p.product_id = sd.product_id AND sd.language_id=" . (int) $cEX8Y . " AND sd.store_id = s.store_id) LEFT JOIN " . DB_PREFIX . "product_description d ON (p.product_id = d.product_id AND d.language_id = " . (int) $cEX8Y . ") WHERE c.category_id = '" . (int) $this->request->post["filter_category"] . "' AND s.store_id = " . (int) $this->store . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto t80Np;
IE3MA:
W3xeM:
goto u4XkA;
ljwn4:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE `key` = 'product_id' AND `value` = p.product_id AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto fBYyZ;
YJT_N:
foreach ($kU4lM as $vLCNO) {
goto pgh03;
yD61S:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'product_id=" . $vLCNO["product_id"] . "'");
goto oAChA;
xnB9L:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_title = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto FecEK;
S8aNq:
hSiiA:
goto nmV8V;
jryPu:
Vh7XC:
goto vOWm9;
A_zYJ:
if ($WzL4Y) {
goto xQC3r;
}
goto bQwYO;
inNg_:
goto Vh7XC;
goto RtWBe;
yk_NZ:
goto tdkRZ;
goto J8piK;
SgjRf:
if ($WzL4Y) {
goto adcwb;
}
goto xnB9L;
oODqb:
UmmcH:
goto EP3Rk;
wBOV0:
if (!($ZGEwe && trim(strip_tags(html_entity_decode($vLCNO["description"], ENT_QUOTES, "UTF-8"))))) {
goto AE2Xw;
}
goto KGRgA;
zIsyt:
wyyJS:
goto aC2_G;
GITc1:
k5Nmw:
goto kHtMU;
g4YEj:
RLfLY:
goto euk9r;
aSVx3:
$FhDKC = mb_strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto zorRz;
Soek2:
if (!(empty($vLCNO["description"]) && isset($vLCNO["orig_description"]))) {
goto NWuoK;
}
goto Bj0Qb;
zorRz:
gwdYG:
goto WHxYS;
EM9YF:
goto kjbuL;
goto KAx0r;
OtHva:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto i98m8;
rc0iW:
$this->db->query("UPDATE " . DB_PREFIX . "product SET date_modified = NOW() WHERE product_id = '" . (int) $vLCNO["product_id"] . "'");
goto E3TT5;
mv3hT:
KLYx3:
goto r1sTx;
aY9ud:
goto kjbuL;
goto CoBo2;
Bj0Qb:
$vLCNO["description"] = $vLCNO["orig_description"];
goto vblbo;
h1A9f:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto IVbxU;
}
goto AS2Du;
Smhbw:
rr6kF:
goto UrTBJ;
u7Pqs:
uipWq:
goto QZBml;
zbiuQ:
goto kjbuL;
goto mv3hT;
GYxrv:
goto iLCyF;
goto AhRTC;
b6kBK:
if ($f_XEr == "h3") {
goto opH5Q;
}
goto k_QSl;
QMIsZ:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'product_id', `value` = '" . $vLCNO["product_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto EAhOS;
VNbE5:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'product_id=" . $vLCNO["product_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto g4YEj;
DJp6w:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto s9K0p;
}
goto AO_8w;
tAiyc:
opH5Q:
goto MLLNI;
VVCEW:
QdrTy:
goto J9rz3;
lodv1:
$QIJ2v = !($FhDKC === $vLCNO[$flqEP]);
goto QpMkT;
pk5sQ:
P0OrN:
goto lRv72;
VK2DQ:
goto F45Fw;
goto diywj;
FDPyh:
goto kjbuL;
goto PWr6F;
gttXt:
if ($WzL4Y) {
goto VEh66;
}
goto b9ikh;
mhoFK:
goto kjbuL;
goto inNg_;
wNbol:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformProduct($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto jO0J_;
gRspS:
if (!($ZGEwe && $vLCNO["image_alt"])) {
goto XvnHc;
}
goto AMfNh;
v58Wx:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'product_id=" . $vLCNO["product_id"] . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto BdTPv;
q_fjx:
f7bZ9:
goto zdXlp;
r1HXx:
$ifjIK = pathinfo($vLCNO["image"]);
goto qInQc;
b9ikh:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET image_alt = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto WviA_;
QGugk:
if ($WzL4Y) {
goto h4F22;
}
goto LTLAh;
B0AIK:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'product_id' AND `value` = '" . $vLCNO["product_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto WSdhw;
jO0J_:
$aQbRC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "image", '', $cEX8Y, false, true);
goto iUneW;
AO_8w:
goto kjbuL;
goto JfeK2;
vaCGC:
$z0KI2 = $this->config->get("mlseo_remove_" . $cEX8Y);
goto WauUl;
nFoeZ:
cBLu1:
goto qVyo1;
A4wkq:
$z0KI2 = $this->config->get("mlseo_remove_" . $this->config->get("config_language_id"));
goto a6xeb;
FXbEc:
$YaJgC = 1;
goto vHwxu;
i98m8:
$YaJgC++;
goto QPiUu;
mDouh:
if ($cEX8Y) {
goto vTrPO;
}
goto A4wkq;
d18Ef:
if (!($vLCNO["image"] != $FhDKC)) {
goto JOM0u;
}
goto FXbEc;
AQkR2:
if (function_exists("mb_strtolower")) {
goto OYKXQ;
}
goto Z1TRJ;
kyr9O:
C2aXI:
goto hw2_Y;
a6xeb:
goto KmLZL;
goto X8i1g;
AMfNh:
goto kjbuL;
goto XMwzm;
t1Au_:
goto MoAhZ;
goto pk5sQ;
jXxPs:
if (!($ZGEwe && $vLCNO["seo_h1"])) {
goto xSai0;
}
goto suC0l;
SVA5C:
foreach (explode(",", $z0KI2) as $Eftlo) {
$Sf16X[] = "`" . $RxvR0 . preg_quote(trim($Eftlo), "`") . $gO95M . "`";
pKsQY:
}
goto Wkpio;
GuU7Y:
if (version_compare(VERSION, "4", ">=")) {
goto Dd1mg;
}
goto duV4u;
Su9QP:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET description = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto DXFtt;
qK8hF:
if (function_exists("mb_strtolower")) {
goto L6dtR;
}
goto IKZAv;
JWSuE:
goto E0RGZ;
goto z4C5j;
kQi2V:
Foypj:
goto v58Wx;
qVyo1:
goto E0RGZ;
goto ia8If;
b3ts6:
$FhDKC = str_replace(array(" ", " "), ", ", $FhDKC);
goto AQkR2;
dPxMb:
if (@rename(DIR_IMAGE . $vLCNO["image"], DIR_IMAGE . $FhDKC)) {
goto B3pRM;
}
goto mhoFK;
FMliG:
$FhDKC = str_replace(".", ",", $FhDKC);
goto b3ts6;
Bm3vh:
JOM0u:
goto jvZVv;
vIuxA:
goto E0RGZ;
goto aIfPh;
vsunp:
if (defined("SEO_PACKAGE_CLI")) {
goto UmmcH;
}
goto w8lf1;
z8L_c:
zJ_Q2:
goto QCbrR;
X3VqE:
if ($f_XEr == "h2") {
goto H349y;
}
goto b6kBK;
x98Qv:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $sKQqx[0]);
goto wNbol;
Tf0tX:
$FhDKC = preg_replace($Sf16X, "$1$2", $FhDKC);
goto FSnlp;
vdcH1:
tdkRZ:
goto VK2DQ;
Idljd:
xUNbG:
goto FEGjB;
b5rmY:
NDMhJ:
goto YByn0;
JUucU:
if ($f_XEr == "keyword") {
goto HU_tj;
}
goto UxsBv;
WSdhw:
ztOyU:
goto u7Pqs;
xIIhO:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $tsmux);
goto LGQrO;
iBnvD:
Ns7pY:
goto Tul7H;
PU1Y2:
TcOND:
goto oW9in;
o9Ak5:
$zixIz[] = DIR_IMAGE . $FhDKC;
goto HSB2d;
UxsBv:
if ($f_XEr == "description") {
goto hZebw;
}
goto ZtZhG;
gaf7P:
WFOxV:
goto jX1gD;
CHK9U:
$this->db->query("UPDATE " . DB_PREFIX . "product SET image = '" . $this->db->escape($FhDKC) . "' WHERE image = '" . $this->db->escape($vLCNO["image"]) . "'");
goto FYsRi;
Ff5xi:
if (!file_exists(DIR_IMAGE . $FhDKC)) {
goto tMpUS;
}
goto CE9L9;
FecEK:
adcwb:
goto BjD8D;
EJxGH:
$gO95M = "(\s|\.|\,|\!|\?|\(|\)|\'|\"|$)";
goto l1rvp;
swi2j:
R2QHZ:
goto B0AIK;
rxWrj:
$FhDKC = str_replace(array("\"", "'"), '', $FhDKC);
goto yjXKD;
dSKGe:
if (!($ZGEwe && $vLCNO["meta_keyword"])) {
goto pndIz;
}
goto a3Ijj;
Z04a4:
goto kjbuL;
goto HSWVd;
DX1c4:
if ($WzL4Y) {
goto S3lHn;
}
goto D2Ozn;
L52mH:
I7kIa:
goto vZRIy;
RUFoI:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto G9b07;
VDHEX:
if (!$Sf16X) {
goto QTWa0;
}
goto Tf0tX;
X8i1g:
vTrPO:
goto vaCGC;
FSnlp:
QTWa0:
goto QP8n3;
CCDSQ:
foreach ($a08GL as $mzYEq => $AoYbU) {
goto vItxq;
P2tLI:
$MXBEZ = str_replace("[current]", $AoYbU["image"], $dK93s);
goto GHcsN;
Q9Rpf:
goto x63RH;
goto Mbiax;
po_8P:
$MXBEZ = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto U4LVT;
B01oW:
Mjmw6:
goto iDQzw;
xr3hi:
$MXBEZ = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto eX_Kw;
GLG0X:
a1kzI:
goto aQ1v0;
PGS3N:
$MXBEZ = $ifjIK["dirname"] . "/" . $aQbRC . "." . $ifjIK["extension"];
goto Fl2OK;
oVkg8:
i64py:
goto hqKMe;
iDQzw:
if (@rename(DIR_IMAGE . $AoYbU["image"], DIR_IMAGE . $MXBEZ)) {
goto UGoti;
}
goto bW2oA;
ohGpW:
$vLCNO["image"] .= "<br>\342\x80\242 " . $AoYbU["image"];
goto RkdF6;
u3FLJ:
$aQbRC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($MXBEZ, "image", '', $cEX8Y, false, true);
goto PGS3N;
puXMs:
$dK93s = isset($sKQqx[$mzYEq + 1]) ? $sKQqx[$mzYEq + 1] : $sKQqx[0];
goto P2tLI;
vxZOq:
$FhDKC .= "<br>\342\200\xa2 " . $MXBEZ;
goto cYxiY;
hqKMe:
$zixIz[] = DIR_IMAGE . $MXBEZ;
goto Rx6pu;
yh7In:
goto a1kzI;
goto oVkg8;
U4LVT:
$YaJgC++;
goto yh7In;
eX_Kw:
$YaJgC++;
goto tD_iq;
ZXZIl:
$this->db->query("UPDATE " . DB_PREFIX . "product_image SET image = '" . $this->db->escape($MXBEZ) . "' WHERE image = '" . $this->db->escape($AoYbU["image"]) . "'");
goto EunLA;
eiE77:
goto gFgSV;
goto z_by1;
y23PO:
$YaJgC = 1;
goto AwbLd;
yKo3b:
goto Mo7n2;
goto ceFA2;
ceFA2:
Nm1oc:
goto puXMs;
Mbiax:
UGoti:
goto pflqK;
aQ1v0:
if (!(file_exists(DIR_IMAGE . $MXBEZ) || in_array(DIR_IMAGE . $MXBEZ, $zixIz))) {
goto i64py;
}
goto po_8P;
cYxiY:
Mo7n2:
goto rvOUg;
PQBcB:
if (!file_exists(DIR_IMAGE . $MXBEZ)) {
goto Mjmw6;
}
goto xr3hi;
AwbLd:
if ($WzL4Y) {
goto mpVv5;
}
goto Kdm7v;
tD_iq:
goto qiYw9;
goto B01oW;
bW2oA:
goto Mo7n2;
goto Q9Rpf;
EunLA:
x63RH:
goto eiE77;
Fl2OK:
if (!($AoYbU["image"] != $MXBEZ)) {
goto bzSsG;
}
goto y23PO;
Rx6pu:
gFgSV:
goto gN6a_;
gN6a_:
bzSsG:
goto vxZOq;
z_by1:
mpVv5:
goto GLG0X;
RkdF6:
if (!empty($ifjIK["extension"])) {
goto Nm1oc;
}
goto yKo3b;
pflqK:
$this->db->query("UPDATE " . DB_PREFIX . "product SET image = '" . $this->db->escape($MXBEZ) . "' WHERE image = '" . $this->db->escape($AoYbU["image"]) . "'");
goto ZXZIl;
vItxq:
$ifjIK = pathinfo($AoYbU["image"]);
goto ohGpW;
Kdm7v:
qiYw9:
goto PQBcB;
GHcsN:
$MXBEZ = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformProduct($MXBEZ, $cEX8Y, $vLCNO, $this->store);
goto u3FLJ;
rvOUg:
}
goto q_fjx;
SmKCP:
HU_tj:
goto dSKGe;
uTnJL:
iLCyF:
goto aMhNo;
GyzXR:
IVbxU:
goto VNbE5;
k_QSl:
if ($f_XEr == "title") {
goto Ns7pY;
}
goto JUucU;
xnPKI:
if ($f_XEr == "h1") {
goto qc2K9;
}
goto X3VqE;
AhRTC:
Gs9iG:
goto gRspS;
WeG_z:
goto gwdYG;
goto RK0dB;
lRv72:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'product_id=" . $vLCNO["product_id"] . "' AND store_id = " . (int) $this->store);
goto EmgWy;
LTLAh:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h2 = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto SQzL9;
D2Ozn:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h1 = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto hkv26;
QNayV:
goto E0RGZ;
goto iBnvD;
E3TT5:
vGneO:
goto mb7_q;
T2vg0:
$FhDKC = str_replace("\"", '', $FhDKC);
goto jHR9H;
yXBrH:
goto kjbuL;
goto b5rmY;
u1mWK:
goto d0b1L;
goto ochna;
w8lf1:
if (!($vLCNO[$flqEP] && $QIJ2v && $f_XEr == "url" && $this->config->get("mlseo_backup"))) {
goto TcOND;
}
goto e5EWZ;
vblbo:
NWuoK:
goto VmM47;
J8piK:
spHWI:
goto DYgTj;
BjD8D:
goto E0RGZ;
goto SmKCP;
pC8K3:
E0RGZ:
goto lN3ki;
s1Tof:
qc2K9:
goto jXxPs;
ZtZhG:
if ($f_XEr == "full_desc") {
goto AQK_3;
}
goto JWSuE;
pXwPH:
if ($vLCNO["image"]) {
goto IVtvw;
}
goto jzk3l;
FMpCl:
M4PsX:
goto zIsyt;
Ji3rw:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_description = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto nFoeZ;
jHR9H:
if (empty($z0KI2)) {
goto T0F5V;
}
goto M06pp;
aIfPh:
H349y:
goto R3sfV;
BdTPv:
sciO2:
goto t1Au_;
pe4DK:
xQC3r:
goto uTnJL;
Tmvfp:
if (!$this->config->get("mlseo_format_tag")) {
goto WFOxV;
}
goto FMliG;
G9b07:
if ($WzL4Y) {
goto GhKdn;
}
goto tdqU2;
aC2_G:
if (!(file_exists(DIR_IMAGE . $FhDKC) || in_array(DIR_IMAGE . $FhDKC, $zixIz))) {
goto wRTvn;
}
goto OtHva;
RK0dB:
L6dtR:
goto aSVx3;
yjXKD:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto gttXt;
Rbrfu:
GhKdn:
goto GYxrv;
AS2Du:
if ($this->multistore_mode) {
goto P0OrN;
}
goto UnEe4;
CE9L9:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto x0sDu;
Dqs49:
hZebw:
goto gUGG1;
BUtUY:
$this->session->data["seopackage_updated"]++;
goto z8L_c;
QpMkT:
bN60f:
goto vsunp;
H3TkJ:
if ($WzL4Y) {
goto uipWq;
}
goto KWc5r;
YByn0:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto O2jsl;
e5EWZ:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/product/" . $this->edit_action, $this->token . "&product_id=" . $vLCNO["product_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => "[backup url to redirect to new one]", "changed" => false);
goto PU1Y2;
JI4aS:
goto GYqE9;
goto rFOiL;
sXHF2:
pndIz:
goto qK8hF;
WviA_:
VEh66:
goto DW_5T;
HSB2d:
PX3IG:
goto Bm3vh;
UbX5w:
goto kjbuL;
goto aUBH0;
iT4q1:
mhYFb:
goto lodv1;
A5tIs:
Ai0rv:
goto Soek2;
tdqU2:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET image_title = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Rbrfu;
FEGjB:
$j0nk6++;
goto BUtUY;
lnluo:
lRhOQ:
goto gaf7P;
rAOkL:
Gb1uU:
goto QNayV;
Vr6XW:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h3 = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto rAOkL;
DYgTj:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'product_id=" . $vLCNO["product_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto vdcH1;
gUGG1:
if (!($ZGEwe && $vLCNO["meta_description"])) {
goto NDMhJ;
}
goto yXBrH;
RtWBe:
B3pRM:
goto CHK9U;
VJ3mK:
OYKXQ:
goto mJ5f3;
mb7_q:
if (array_key_exists($flqEP, $vLCNO)) {
goto mhYFb;
}
goto fPZ3X;
LuvoJ:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($vLCNO["seo_keyword"]) . "', redirect = 'product/product&product_id=" . (int) $vLCNO["product_id"] . "', language_id = '" . (int) $cEX8Y . "'");
goto Smhbw;
fNFhM:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto DX1c4;
hbWZE:
AE2Xw:
goto vKq10;
HDfjX:
if ($WzL4Y) {
goto C2aXI;
}
goto QUwa_;
Tul7H:
if (!($ZGEwe && $vLCNO["meta_title"])) {
goto hSiiA;
}
goto y4llk;
fPZ3X:
$QIJ2v = false;
goto HUo_T;
v1MAs:
IVtvw:
goto XezOG;
vmSKO:
goto kjbuL;
goto Pk4tL;
GtQXY:
if ($f_XEr == "tag") {
goto o13Re;
}
goto LHU4V;
rFOiL:
tMpUS:
goto dPxMb;
nmV8V:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto SgjRf;
x0sDu:
$YaJgC++;
goto JI4aS;
a5nnu:
if (!($vLCNO["seo_keyword"] && $vLCNO["seo_keyword"] != $FhDKC)) {
goto rr6kF;
}
goto LuvoJ;
lN3ki:
if ($f_XEr == "image_name") {
goto Dz_OD;
}
goto oYdTc;
O2jsl:
if ($WzL4Y) {
goto cBLu1;
}
goto Ji3rw;
I2hKM:
if (!($ZGEwe && $vLCNO["tag"])) {
goto xpSMY;
}
goto vmSKO;
Aw2G1:
if ($this->multistore_mode) {
goto spHWI;
}
goto NdOxC;
Z_k5F:
if (!defined("SEO_PACKAGE_CLI")) {
goto xUNbG;
}
goto y8Ud8;
c93b1:
if ($f_XEr == "image_alt") {
goto Gs9iG;
}
goto GtQXY;
WauUl:
KmLZL:
goto T2vg0;
duV4u:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto SHFNT;
}
goto Aw2G1;
y7mdV:
goto E0RGZ;
goto tAiyc;
M06pp:
$RxvR0 = "(\s|\.|\,|\!|\?|\(|\)|\'|\"|^)";
goto EJxGH;
hw2_Y:
goto E0RGZ;
goto s1Tof;
HUo_T:
goto bN60f;
goto iT4q1;
SeNQH:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'product_id=" . $vLCNO["product_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto MJFcb;
y8Ud8:
$this->log("product." . $f_XEr . ": [" . $FoZfU[$cEX8Y] . "] " . $vLCNO["name"] . " => " . $FhDKC);
goto Idljd;
J9rz3:
if (!($ZGEwe && $vLCNO["image_title"])) {
goto KLYx3;
}
goto zbiuQ;
UnEe4:
if ($this->ml_mode) {
goto Foypj;
}
goto yD61S;
EmgWy:
MoAhZ:
goto TQIq2;
SQzL9:
h4F22:
goto y7mdV;
DXFtt:
oNxTO:
goto pC8K3;
gsCzf:
if (!($b8KpK["count"] > 1)) {
goto V9Q7V;
}
goto UbX5w;
PySfL:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_keyword = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto uF9u1;
oAChA:
goto sciO2;
goto kQi2V;
BJ927:
if (!($f_XEr != "url" && $this->multistore_mode && $this->store && !$WzL4Y && is_null($vLCNO["store_id"]))) {
goto I7kIa;
}
goto cZ7Pw;
iDsw5:
aLRtT:
goto yk_NZ;
ia8If:
AQK_3:
goto wBOV0;
MJFcb:
F45Fw:
goto u1mWK;
D4rEV:
goto iLCyF;
goto VVCEW;
HSWVd:
m0PZI:
goto n32e8;
BIRhL:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'product_id=" . $vLCNO["product_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto INq2m;
aMhNo:
if ($WzL4Y) {
goto vGneO;
}
goto rc0iW;
LGQrO:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformProduct($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto BJ927;
y4llk:
goto kjbuL;
goto S8aNq;
UrTBJ:
vtowz:
goto GuU7Y;
nWXK3:
$sKQqx = explode(";", $tsmux);
goto x98Qv;
dhHFm:
GYqE9:
goto Ff5xi;
oW9in:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/product/" . $this->edit_action, $this->token . "&product_id=" . $vLCNO["product_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => $FhDKC, "changed" => $QIJ2v);
goto oODqb;
NdOxC:
if ($this->ml_mode) {
goto k5Nmw;
}
goto BIRhL;
vax97:
goto lRhOQ;
goto VJ3mK;
XezOG:
$b8KpK = $this->db->query("SELECT COUNT(image) as count FROM " . DB_PREFIX . "product WHERE image='" . $this->db->escape($vLCNO["image"]) . "'")->row;
goto gsCzf;
GoLHx:
o13Re:
goto I2hKM;
Wkpio:
x42zB:
goto VDHEX;
l1rvp:
$Sf16X = array();
goto SVA5C;
TxpmX:
if ($WzL4Y) {
goto Gb1uU;
}
goto Vr6XW;
kHtMU:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'product_id=" . $vLCNO["product_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto iDsw5;
MLLNI:
if (!($ZGEwe && $vLCNO["seo_h3"])) {
goto m0PZI;
}
goto Z04a4;
jzk3l:
goto kjbuL;
goto v1MAs;
IKZAv:
$FhDKC = strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto WeG_z;
FYsRi:
$this->db->query("UPDATE " . DB_PREFIX . "product_image SET image = '" . $this->db->escape($FhDKC) . "' WHERE image = '" . $this->db->escape($vLCNO["image"]) . "'");
goto jryPu;
r1sTx:
$FhDKC = str_replace(array("\"", "'"), '', $FhDKC);
goto RUFoI;
WHxYS:
if ($WzL4Y) {
goto aZyOq;
}
goto PySfL;
YsEFx:
if ($WzL4Y) {
goto oNxTO;
}
goto Su9QP;
diywj:
SHFNT:
goto SeNQH;
KGRgA:
goto kjbuL;
goto hbWZE;
DW_5T:
goto iLCyF;
goto GoLHx;
sngr8:
Dz_OD:
goto pXwPH;
qInQc:
if (!empty($ifjIK["extension"])) {
goto qPe4e;
}
goto EM9YF;
hkv26:
S3lHn:
goto vIuxA;
INq2m:
goto aLRtT;
goto GITc1;
QZBml:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "product", $vLCNO["product_id"], $cEX8Y, $WzL4Y);
goto HDfjX;
uF9u1:
aZyOq:
goto uqb3n;
VmM47:
if (array_key_exists($flqEP, $vLCNO)) {
goto Sgje4;
}
goto FDPyh;
pvMNA:
if (!(empty($vLCNO["name"]) && isset($vLCNO["orig_name"]))) {
goto Ai0rv;
}
goto sQh2B;
iUneW:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "." . $ifjIK["extension"];
goto d18Ef;
JfeK2:
s9K0p:
goto H3TkJ;
p3P_5:
$_SESSION["seopackage_lastItem"] = $vLCNO["product_id"];
goto pvMNA;
PWr6F:
Sgje4:
goto xIIhO;
keDdr:
xSai0:
goto fNFhM;
jvZVv:
$a08GL = $this->db->query("SELECT * FROM " . DB_PREFIX . "product_image WHERE product_id='" . $this->db->escape($vLCNO["product_id"]) . "'")->rows;
goto CCDSQ;
Pk4tL:
xpSMY:
goto mDouh;
QP8n3:
T0F5V:
goto Tmvfp;
xWyAq:
wRTvn:
goto o9Ak5;
aUBH0:
V9Q7V:
goto r1HXx;
sQh2B:
$vLCNO["name"] = $vLCNO["orig_name"];
goto A5tIs;
vOWm9:
goto PX3IG;
goto FMpCl;
mJ5f3:
$FhDKC = trim(mb_strtolower($FhDKC), ", ");
goto lnluo;
TQIq2:
goto RLfLY;
goto GyzXR;
A7XyH:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto QGugk;
uqb3n:
goto E0RGZ;
goto Dqs49;
XMwzm:
XvnHc:
goto rxWrj;
KAx0r:
qPe4e:
goto nWXK3;
QPiUu:
goto wyyJS;
goto xWyAq;
euk9r:
goto ztOyU;
goto swi2j;
CoBo2:
Om6uv:
goto A7XyH;
Z1TRJ:
$FhDKC = trim(strtolower($FhDKC), ", ");
goto vax97;
vKq10:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto YsEFx;
oYdTc:
if ($f_XEr == "image_title") {
goto QdrTy;
}
goto c93b1;
vHwxu:
if ($WzL4Y) {
goto M4PsX;
}
goto dhHFm;
EAhOS:
d0b1L:
goto kyr9O;
gJXeU:
$FhDKC = "\xe2\x80\xa2 " . $FhDKC;
goto D4rEV;
R3sfV:
if (!($ZGEwe && $vLCNO["seo_h2"])) {
goto Om6uv;
}
goto aY9ud;
ochna:
Dd1mg:
goto QMIsZ;
QCbrR:
kjbuL:
goto AfkuO;
jX1gD:
$FhDKC = trim(preg_replace("/(?:,\s*)+/", ",", $FhDKC), ", ");
goto A_zYJ;
pgh03:
$this->session->data["seopackage_processed"]++;
goto p3P_5;
suC0l:
goto kjbuL;
goto keDdr;
a3Ijj:
goto kjbuL;
goto sXHF2;
QUwa_:
if (!$this->config->get("mlseo_backup")) {
goto vtowz;
}
goto a5nnu;
bQwYO:
$this->db->query("UPDATE " . DB_PREFIX . "product_description SET tag = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto pe4DK;
vZRIy:
if ($f_XEr == "url") {
goto Kjef7;
}
goto xnPKI;
cZ7Pw:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_product_description SET product_id = '" . (int) $vLCNO["product_id"] . "', store_id = '" . (int) $this->store . "', language_id = '" . (int) $cEX8Y . "'");
goto L52mH;
z4C5j:
Kjef7:
goto DJp6w;
zdXlp:
$vLCNO["image"] = "\342\x80\xa2 " . $vLCNO["image"];
goto gJXeU;
EP3Rk:
if (!$QIJ2v) {
goto zJ_Q2;
}
goto Z_k5F;
KWc5r:
if (version_compare(VERSION, "4", ">=")) {
goto R2QHZ;
}
goto h1A9f;
LHU4V:
goto iLCyF;
goto sngr8;
n32e8:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto TxpmX;
AfkuO:
}
goto Mxc62;
nweTz:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto W3xeM;
}
goto EaIMz;
NXyJX:
YTJRE:
goto euKwh;
m0wu_:
goto hlC4w;
goto fZAm9;
Mxc62:
ZTyYL:
goto cx2E4;
Q_4hi:
if ($this->multistore_mode) {
goto gtjJ3;
}
goto vPtH2;
lXEEE:
goto YTJRE;
goto IE3MA;
TbILo:
$kU4lM = $this->db->query("SELECT sd.*, p.*, d.name as orig_name, d.description as orig_description " . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) LEFT JOIN " . DB_PREFIX . "seo_product_description sd ON (p.product_id = sd.product_id AND sd.language_id=" . (int) $cEX8Y . " AND sd.store_id = s.store_id) LEFT JOIN " . DB_PREFIX . "product_description d ON (p.product_id = d.product_id AND d.language_id = " . (int) $cEX8Y . ") WHERE s.store_id = " . (int) $this->store . " ORDER BY sd.product_id,sd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto plKc9;
FVIF3:
if (version_compare(VERSION, "4", ">=")) {
goto W6Rs1;
}
goto nweTz;
AgZFY:
}
goto OcUFa;
y0kj9:
foreach ($cHoqT as $nDDFl) {
goto J94lC;
KQvoH:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto C7rWU;
xryj0:
SmQBS:
goto gN5MB;
J94lC:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto d1JvI;
MgyYN:
dRoBw:
goto xryj0;
d1JvI:
if (version_compare(VERSION, "2.2", ">=")) {
goto t707e;
}
goto KQvoH;
slhsO:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto MgyYN;
C7rWU:
goto dRoBw;
goto SYK96;
SYK96:
t707e:
goto slhsO;
gN5MB:
}
goto rqVXv;
agKnZ:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto gINzJ;
kupq2:
kKacx:
goto B2aAT;
jmK8_:
$data["langs"] =& $pU5UN;
goto BaKaK;
zR6DX:
if (!($f_XEr == "related")) {
goto IlU5B;
}
goto OBdkv;
mCtDG:
$data["langs"] = array();
goto jOnk7;
z1h_U:
IlU5B:
goto l22wS;
jOnk7:
die("No language selected");
goto FH4V5;
FH4V5:
K0LAl:
goto agKnZ;
U7Lfg:
}
public function getChildCategories($uN7sB)
{
goto YJ66r;
wjDVu:
khn0Y:
goto oMWNc;
L1Fx2:
$nRxuH = $this->db->query("SELECT category_id FROM " . DB_PREFIX . "category WHERE parent_id = '" . (int) $uN7sB . "'")->rows;
goto WVJW_;
YJ66r:
$gCyDm = array($uN7sB);
goto Q85qq;
KV09d:
izB11:
goto wjDVu;
d9y0_:
CsHbW:
goto KV09d;
Q85qq:
if (!$uN7sB) {
goto khn0Y;
}
goto L1Fx2;
WVJW_:
if (empty($nRxuH)) {
goto izB11;
}
goto AeHiw;
AeHiw:
foreach ($nRxuH as $YLPt7) {
goto DdoNw;
ZanID:
qifSP:
goto YyIx6;
DdoNw:
$gCyDm[] = $YLPt7["category_id"];
goto FhIaM;
FhIaM:
$gCyDm = array_unique(array_merge($gCyDm, $this->getChildCategories($YLPt7["category_id"])));
goto ZanID;
YyIx6:
}
goto d9y0_;
oMWNc:
return $gCyDm;
goto rUSiP;
rUSiP:
}
public function generator_category($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto xq9au;
QB7Fd:
$gCyDm = array();
goto dHXoo;
zn7cO:
JwAxZ:
goto enBq9;
SblPF:
xCFHm:
goto Adzz1;
enBq9:
return $data;
goto gIjgw;
B2WQa:
dv15P:
goto y3xpS;
xq9au:
if (isset($this->request->post["langs"])) {
goto dv15P;
}
goto DXZlM;
QWiTa:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto C1xFM;
ioJb9:
$tn4M9 = "seo_category_description";
goto kUB8_;
ChP5S:
$this->total_items = $Yu8kb["total"];
goto RX_vj;
lRHZM:
XOmaI:
goto Fnlqm;
zquN9:
ERIg_:
goto UFs2f;
z5alK:
lKTVo:
goto pRQad;
norWq:
goto Euv6D;
goto KNNxX;
AEtcZ:
$pU5UN[$cEX8Y]["rows"] = array();
goto koij7;
XRsAb:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('category_id=', d.category_id) LIMIT 1), '') AS seo_keyword";
goto yrvc1;
Fnlqm:
goto ERIg_;
goto lEiXG;
sY0N3:
goto Gs7tg;
goto sRqCI;
wIkZt:
$kU4lM = $this->db->query("SELECT d.*, c.*" . $rvQsS . " FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description d ON c.category_id = d.category_id LEFT JOIN " . DB_PREFIX . "category_to_store s ON (c.category_id = s.category_id) WHERE s.store_id = " . (int) $this->store . " AND d.language_id=" . (int) $cEX8Y . $VpBK8 . " ORDER BY d.category_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto lRHZM;
oUUdI:
if ($this->store) {
goto mSQvR;
}
goto uIsyR;
kYDKc:
Fgu2f:
goto kmmno;
kmmno:
$tsmux = $this->request->post["mlseo_category_" . $f_XEr . "_pattern"];
goto UkqUB;
stoxe:
$zMXd8 = '';
goto iEgwe;
Y2x8r:
if ($this->multistore_mode) {
goto sFUXP;
}
goto G1r0M;
U5Ai4:
goto OvfHl;
goto kYDKc;
yf9jp:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('category_id=', d.category_id) AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto ZhIuW;
q9Sls:
HeYZN:
goto sY0N3;
UFs2f:
foreach ($kU4lM as $vLCNO) {
goto sgIq_;
GNWtD:
goto NOVt3;
goto U76T9;
m5Wdp:
VI0OO:
goto DAFck;
HTo9_:
if (!version_compare(VERSION, "4", ">=")) {
goto uJSg7;
}
goto riu4C;
EZFlJ:
if (!defined("SEO_PACKAGE_CLI")) {
goto HL2j5;
}
goto rnuze;
J1koU:
zL9hx:
goto AOIGN;
LMaZH:
Al6Xj:
goto jMwFw;
noraE:
if ($this->ml_mode) {
goto YHS83;
}
goto rlP6e;
r0sio:
goto NOVt3;
goto W5GcC;
b4tg_:
g_mRZ:
goto yuHID;
h0NNg:
a1TXB:
goto q5Efc;
a36iT:
ehxCk:
goto icKmV;
EUJGj:
$FhDKC = mb_strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto J1koU;
h7PGo:
if (!($vLCNO[$flqEP] && $QIJ2v && $f_XEr == "url" && $this->config->get("mlseo_backup"))) {
goto jCcdt;
}
goto IcQ69;
eKZWb:
uJSg7:
goto x44JU;
Fxf9q:
$QIJ2v = false;
goto cKqej;
dao2A:
vhjzP:
goto Hl1la;
Nb_PR:
AZpgS:
goto jQmlw;
q5Efc:
if (!($ZGEwe && $vLCNO["seo_h1"])) {
goto izrWH;
}
goto ixagD;
iXnma:
izrWH:
goto qJdCP;
xQFVn:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $tsmux);
goto g29UE;
Fg5xh:
mM62k:
goto PkPLH;
zc7_T:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto efBUs;
O1jTe:
teDEP:
goto sgS6T;
XjOJB:
GiAsx:
goto IiAxj;
RAWIA:
HL2j5:
goto W0aDH;
okI0h:
goto NOVt3;
goto h0NNg;
QZ2ow:
goto qsMlZ;
goto Fg5xh;
qTS7w:
goto cuWmf;
goto pzFvk;
Yzu0x:
if (!($ZGEwe && $vLCNO["seo_h3"])) {
goto VHoII;
}
goto znQbz;
pzFvk:
FMvmg:
goto zCvFt;
yY38h:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h2 = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Aab9W;
IiAxj:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'category_id=" . $vLCNO["category_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto lOw5y;
Rj9OX:
if ($f_XEr == "h1") {
goto a1TXB;
}
goto Fh0EX;
CclzX:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'category_id=" . $vLCNO["category_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto xtqiO;
LYdMi:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto tV2tT;
}
goto FvVuK;
gRE8L:
tzzH5:
goto wsRV_;
cvAYF:
$FhDKC = strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto zOL4B;
bwoi1:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "category", $vLCNO["category_id"], $cEX8Y, $WzL4Y);
goto J1zZQ;
XofFO:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto IE9mk;
efBUs:
if ($WzL4Y) {
goto ehxCk;
}
goto fjtmW;
wo5nl:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_title = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Nb_PR;
X7Gh_:
if ($this->ml_mode) {
goto VrthR;
}
goto vVhez;
vVhez:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'category_id=" . $vLCNO["category_id"] . "'");
goto MM_jM;
sgIq_:
$this->session->data["seopackage_processed"]++;
goto rH9Ue;
JSFr3:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($vLCNO["seo_keyword"]) . "', redirect = 'product/category&category_id=" . (int) $vLCNO["category_id"] . "', language_id = '" . (int) $cEX8Y . "'");
goto pyW2_;
E4Qxz:
jCcdt:
goto wAlWa;
iRlnU:
if ($WzL4Y) {
goto MVA8B;
}
goto VOPbn;
R4tXr:
if ($f_XEr == "keyword") {
goto FylRn;
}
goto GaNhw;
HY_eP:
if (array_key_exists($flqEP, $vLCNO)) {
goto yD5q1;
}
goto Fxf9q;
XCvf0:
QQYVx:
goto Czh5e;
x44JU:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto NuPnr;
}
goto zlKxw;
oD63s:
if ($WzL4Y) {
goto zQKo7;
}
goto Dtni2;
AY2LA:
H6uDT:
goto oxbK9;
vwc6k:
goto g_mRZ;
goto pt5P9;
rlP6e:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'category_id=" . $vLCNO["category_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto okqZN;
ggnjS:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_description = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto bq0T1;
lSNHa:
if (function_exists("mb_strtolower")) {
goto A6AjE;
}
goto cvAYF;
W5GcC:
xSECO:
goto lzkd1;
twLyv:
if ($WzL4Y) {
goto N1U3q;
}
goto yY38h;
LB3FQ:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto KtfCx;
jwvf6:
cuWmf:
goto fjW_r;
Qs3d0:
YHS83:
goto YIj3x;
vXq8h:
yD5q1:
goto Z2JoA;
KtfCx:
if ($WzL4Y) {
goto nHiA3;
}
goto ggnjS;
xtqiO:
tY9sq:
goto vwc6k;
PkPLH:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto twLyv;
wk7Hd:
qIPIC:
goto IhL8w;
XPosR:
goto qsMlZ;
goto q9TP2;
lzkd1:
if (!($ZGEwe && trim(strip_tags(html_entity_decode($vLCNO["description"], ENT_QUOTES, "UTF-8"))))) {
goto GVkJI;
}
goto kcReF;
zlKxw:
goto qsMlZ;
goto cpATi;
yuHID:
OyIj7:
goto bwoi1;
DAFck:
if (defined("SEO_PACKAGE_CLI")) {
goto QQYVx;
}
goto h7PGo;
uEziz:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'category_id=" . $vLCNO["category_id"] . "', language_id = '" . $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto zLaah;
VZIxu:
if (version_compare(VERSION, "4", ">=")) {
goto qIPIC;
}
goto LYdMi;
xIJqh:
if ($this->multistore_mode) {
goto FMvmg;
}
goto X7Gh_;
gXsZw:
kNT7b:
goto xQFVn;
MM_jM:
goto VY42I;
goto i1d4p;
riu4C:
$vLCNO["seo_keyword"] = $hnPOp->getCategorySeoV4($vLCNO["category_id"], $cEX8Y, $this->store);
goto eKZWb;
wAlWa:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/category/" . $this->edit_action, $this->token . "&category_id=" . $vLCNO["category_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => $FhDKC, "changed" => $QIJ2v);
goto XCvf0;
QT21x:
if ($WzL4Y) {
goto Eh9QU;
}
goto A3pwa;
sFNIc:
FylRn:
goto qMunO;
IcQ69:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/category/" . $this->edit_action, $this->token . "&category_id=" . $vLCNO["category_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => "[backup url to redirect to new one]", "changed" => false);
goto E4Qxz;
ZqRU1:
if (!($f_XEr != "url" && $this->multistore_mode && $this->store && !$WzL4Y && is_null($vLCNO["store_id"]))) {
goto PnStu;
}
goto MBsJ8;
YWrlN:
uEewF:
goto HTo9_;
aazrW:
goto qsMlZ;
goto Zo9ob;
J1zZQ:
if ($WzL4Y) {
goto PaJdU;
}
goto OYFCc;
pyW2_:
dDmpR:
goto lTojq;
Qfuqx:
$j0nk6++;
goto dao2A;
bq0T1:
nHiA3:
goto r0sio;
Re_zv:
goto r6K25;
goto PEE6W;
PAMIj:
if ($f_XEr == "url") {
goto uEewF;
}
goto Rj9OX;
jeQpB:
ttCyX:
goto CclzX;
Y5IfV:
vvxoa:
goto M3cwP;
PAbcd:
VY42I:
goto qTS7w;
mZ_Z3:
goto NOVt3;
goto qvjwA;
PIV7F:
goto qsMlZ;
goto DDEP9;
qMunO:
if (!($ZGEwe && $vLCNO["meta_keyword"])) {
goto SYdas;
}
goto XPosR;
kcReF:
goto qsMlZ;
goto eeFOG;
Sjobo:
A6AjE:
goto EUJGj;
uDfjI:
$vLCNO["description"] = $vLCNO["orig_description"];
goto gXsZw;
rH9Ue:
if (!(empty($vLCNO["name"]) && isset($vLCNO["orig_name"]))) {
goto tzzH5;
}
goto ihpaK;
ECchW:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'category_id=" . $vLCNO["category_id"] . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto PAbcd;
A3pwa:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h3 = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto dZX8R;
eeFOG:
GVkJI:
goto zc7_T;
q9TP2:
SYdas:
goto lSNHa;
Woiun:
if (!($vLCNO["seo_keyword"] && $vLCNO["seo_keyword"] != $FhDKC)) {
goto dDmpR;
}
goto JSFr3;
ihpaK:
$vLCNO["name"] = $vLCNO["orig_name"];
goto gRE8L;
M3cwP:
goto QdEYM;
goto XjOJB;
MBsJ8:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_category_description SET category_id = '" . (int) $vLCNO["category_id"] . "', store_id = '" . (int) $this->store . "', language_id = '" . (int) $cEX8Y . "'");
goto onlCt;
Y8NrO:
if ($f_XEr == "title") {
goto Jn11H;
}
goto R4tXr;
pt5P9:
no0yY:
goto b4tg_;
lTojq:
V0iMf:
goto VZIxu;
Hl1la:
qsMlZ:
goto I0gbD;
U76T9:
Cd8TB:
goto hAqfl;
Dtni2:
$this->db->query("UPDATE " . DB_PREFIX . "category SET date_modified = NOW() WHERE category_id = '" . (int) $vLCNO["category_id"] . "'");
goto n6EGO;
D11wP:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_keyword = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto LMaZH;
jQmlw:
goto NOVt3;
goto sFNIc;
Aab9W:
N1U3q:
goto BjzaD;
g29UE:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformCategory($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto ZqRU1;
W0aDH:
$this->session->data["seopackage_updated"]++;
goto Qfuqx;
PEE6W:
tV2tT:
goto uEziz;
Qy2YY:
$hnPOp->setCategorySeoV4($vLCNO["category_id"], $FhDKC, $cEX8Y, $this->store);
goto O1jTe;
fjW_r:
goto tY9sq;
goto jeQpB;
udpNH:
goto uwKWc;
goto wk7Hd;
rnuze:
$this->log("category." . $f_XEr . ": [" . $FoZfU[$cEX8Y] . "] " . $vLCNO["name"] . " => " . $FhDKC);
goto RAWIA;
ixagD:
goto qsMlZ;
goto iXnma;
VOPbn:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h1 = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto s9KHB;
icKmV:
NOVt3:
goto oD63s;
onlCt:
PnStu:
goto PAMIj;
qvjwA:
Jn11H:
goto tfu0o;
AOIGN:
if ($WzL4Y) {
goto Al6Xj;
}
goto D11wP;
hAqfl:
if (!($ZGEwe && $vLCNO["seo_h2"])) {
goto mM62k;
}
goto QZ2ow;
BAPSo:
PaJdU:
goto okI0h;
tPdYe:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto QT21x;
OYFCc:
if (!$this->config->get("mlseo_backup")) {
goto V0iMf;
}
goto Woiun;
Czh5e:
if (!$QIJ2v) {
goto vhjzP;
}
goto EZFlJ;
Z2JoA:
$QIJ2v = !($FhDKC === $vLCNO[$flqEP]);
goto m5Wdp;
BjzaD:
goto NOVt3;
goto utgiG;
dZX8R:
Eh9QU:
goto mZ_Z3;
qJdCP:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto iRlnU;
lOw5y:
QdEYM:
goto Re_zv;
IE9mk:
if ($WzL4Y) {
goto AZpgS;
}
goto wo5nl;
zCvFt:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'category_id=" . $vLCNO["category_id"] . "' AND store_id = " . (int) $this->store);
goto jwvf6;
fjtmW:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET description = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto a36iT;
Zo9ob:
YRw5C:
goto XofFO;
WhP4p:
if (version_compare(VERSION, "4", ">=")) {
goto no0yY;
}
goto FCcXx;
GaNhw:
if ($f_XEr == "description") {
goto H6uDT;
}
goto boP7p;
DDEP9:
wKnFK:
goto LB3FQ;
n6EGO:
zQKo7:
goto HY_eP;
FCcXx:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto ttCyX;
}
goto xIJqh;
i1d4p:
VrthR:
goto ECchW;
Fh0EX:
if ($f_XEr == "h2") {
goto Cd8TB;
}
goto g4JU8;
zLaah:
r6K25:
goto udpNH;
zOL4B:
goto zL9hx;
goto Sjobo;
oxbK9:
if (!($ZGEwe && $vLCNO["meta_description"])) {
goto wKnFK;
}
goto PIV7F;
boP7p:
if ($f_XEr == "full_desc") {
goto xSECO;
}
goto KkAVB;
KkAVB:
goto NOVt3;
goto YWrlN;
utgiG:
IZ9Y0:
goto Yzu0x;
YIj3x:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'category_id=" . $vLCNO["category_id"] . "', language_id = '" . $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto Y5IfV;
IhL8w:
if (!($vLCNO["seo_keyword"] != $FhDKC)) {
goto teDEP;
}
goto Qy2YY;
cpATi:
NuPnr:
goto Gmk8A;
okqZN:
goto vvxoa;
goto Qs3d0;
cKqej:
goto VI0OO;
goto vXq8h;
FvVuK:
if ($this->multistore_mode) {
goto GiAsx;
}
goto noraE;
sgS6T:
uwKWc:
goto BAPSo;
s9KHB:
MVA8B:
goto GNWtD;
NdkHa:
VHoII:
goto tPdYe;
jMwFw:
goto NOVt3;
goto AY2LA;
g4JU8:
if ($f_XEr == "h3") {
goto IZ9Y0;
}
goto Y8NrO;
tfu0o:
if (!($ZGEwe && $vLCNO["meta_title"])) {
goto YRw5C;
}
goto aazrW;
Gmk8A:
if ($WzL4Y) {
goto OyIj7;
}
goto WhP4p;
wsRV_:
if (!(empty($vLCNO["description"]) && isset($vLCNO["orig_description"]))) {
goto kNT7b;
}
goto uDfjI;
znQbz:
goto qsMlZ;
goto NdkHa;
I0gbD:
}
goto u5h0Z;
yrvc1:
goto HeYZN;
goto tklrr;
B0OYY:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto eTV_4;
}
goto Y2x8r;
USRFo:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('category_id=', d.category_id) AND (u.language_id = d.language_id OR u.language_id = 0) LIMIT 1), '') AS seo_keyword";
goto q9Sls;
UkqUB:
OvfHl:
goto An9mw;
hGW0L:
$tsmux = $this->config->get("mlseo_category_" . $f_XEr . "_pattern");
goto U5Ai4;
lEiXG:
mSQvR:
goto ioJb9;
u5h0Z:
XqiLx:
goto LPcza;
yIZBl:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('category_id=', d.category_id) AND (u.store_id = s.store_id) LIMIT 1), '') AS seo_keyword";
goto mf5fl;
LPcza:
$pU5UN[$cEX8Y]["count"] = $j0nk6;
goto z5alK;
DNkTw:
ACblp:
goto HdeSs;
QsB4t:
$pU5UN[$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto AEtcZ;
mf5fl:
Gs7tg:
goto norWq;
uIsyR:
$tn4M9 = "category_description";
goto stoxe;
An9mw:
if ($this->multistore_mode) {
goto ACblp;
}
goto b0l1Q;
eUZmR:
$kU4lM = $this->db->query("SELECT d.*, c.*" . $rvQsS . " FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description d ON c.category_id = d.category_id WHERE d.language_id=" . (int) $cEX8Y . $VpBK8 . " ORDER BY d.category_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto vp8_c;
uuQkL:
FLU6i:
goto oUUdI;
XHnrU:
Lf9Ym:
goto by2az;
sRqCI:
sFUXP:
goto yIZBl;
by2az:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE `key` = 'path' AND `value` = d.category_id AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto xcsYT;
vp8_c:
goto XOmaI;
goto xKG2S;
UwvoB:
if (isset($this->request->post["mlseo_category_" . $f_XEr . "_pattern"])) {
goto Fgu2f;
}
goto hGW0L;
pOBLe:
goto a3oKA;
goto XHnrU;
PfW83:
goto rpavY;
goto DNkTw;
aHFru:
if (!($f_XEr == "url")) {
goto FLU6i;
}
goto s86T2;
iEgwe:
if ($this->multistore_mode) {
goto ZBx6o;
}
goto eUZmR;
G1r0M:
if ($this->ml_mode) {
goto h5fRG;
}
goto XRsAb;
tklrr:
h5fRG:
goto USRFo;
xKG2S:
ZBx6o:
goto wIkZt;
kUB8_:
$zMXd8 = "AND store_id = '" . (int) $this->store . "'";
goto LaqUX;
HdeSs:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_to_store s ON (c.category_id = s.category_id) WHERE s.store_id = " . (int) $this->store . $VpBK8)->row;
goto pjqz8;
C1xFM:
$this->config->set("mlseo_current_lang", $FoZfU[$cEX8Y]);
goto QsB4t;
LaqUX:
$kU4lM = $this->db->query("SELECT sd.*, c.*, d.name as orig_name, d.description as orig_description " . $rvQsS . " FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_to_store s ON (c.category_id = s.category_id) LEFT JOIN " . DB_PREFIX . "seo_category_description sd ON (c.category_id = sd.category_id AND sd.language_id=" . (int) $cEX8Y . " AND sd.store_id = s.store_id) LEFT JOIN " . DB_PREFIX . "category_description d ON (c.category_id = d.category_id AND d.language_id=" . (int) $cEX8Y . ") WHERE s.store_id = " . (int) $this->store . " ORDER BY sd.category_id,sd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto zquN9;
xcsYT:
a3oKA:
goto uuQkL;
koij7:
$j0nk6 = 0;
goto UwvoB;
pjqz8:
rpavY:
goto ChP5S;
RX_vj:
$rvQsS = '';
goto aHFru;
b0l1Q:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "category c WHERE 1" . $VpBK8)->row;
goto PfW83;
s86T2:
if (version_compare(VERSION, "4", ">=")) {
goto Lf9Ym;
}
goto B0OYY;
KNNxX:
eTV_4:
goto yf9jp;
ZhIuW:
Euv6D:
goto pOBLe;
pRQad:
}
goto SblPF;
otZku:
goto YOgZf;
goto KOuUI;
PxbCR:
return;
goto B2WQa;
v1gw4:
kWnSp:
goto QWiTa;
DXZlM:
$data["langs"] = array();
goto PxbCR;
PrEIY:
if (!($f_XEr == "store_copy")) {
goto oCVVQ;
}
goto lJ5yc;
UG3Ct:
$VpBK8 = " AND c.category_id = '" . (int) $uN7sB . "'";
goto otZku;
bAc7M:
$cHoqT = $this->model_localisation_language->getLanguages();
goto uNIIF;
LBPd1:
KBz3b:
goto WZG7Y;
MFY45:
unset($cHoqT);
goto wPkwd;
pI2JY:
if (empty($gCyDm)) {
goto VdCvo;
}
goto CR8zR;
uNIIF:
foreach ($cHoqT as $nDDFl) {
goto jH8dk;
jH8dk:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto pCjG2;
btPKf:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto N3Uon;
QMS1n:
Esuzs:
goto btPKf;
N3Uon:
IFMQ0:
goto L7i2O;
pCjG2:
if (version_compare(VERSION, "2.2", ">=")) {
goto Esuzs;
}
goto xZvTM;
L7i2O:
asD3w:
goto HD5zi;
xZvTM:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto YOlBS;
YOlBS:
goto IFMQ0;
goto QMS1n;
HD5zi:
}
goto Mh4uy;
pfspt:
if (empty($this->request->post["filter_cat_category_current"])) {
goto sQse1;
}
goto UG3Ct;
Alz0K:
YxRWc:
goto NvkrT;
v6J1s:
$this->load->model("localisation/language");
goto bAc7M;
Mgy6e:
return $data;
goto LFLHj;
UfkWz:
$this->load->model("catalog/seo_package");
goto OltYB;
gIjgw:
oCVVQ:
goto Nx4zl;
WZG7Y:
$pU5UN = $data = array();
goto PrEIY;
Nr5iN:
VdCvo:
goto HnhQ9;
lJ5yc:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto I89Zo;
TY99m:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_category_description SELECT category_id, '" . (int) $cEX8Y . "', '" . (int) $this->store . "', name, description, meta_title, meta_description, meta_keyword, seo_h1, seo_h2, seo_h3 FROM " . DB_PREFIX . "category_description d WHERE d.language_id = '" . (int) $cEX8Y . "'");
goto SkX0i;
hJghg:
$data["langs"][$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto ABcCF;
SkX0i:
CPHSo:
goto hJghg;
I89Zo:
if ($WzL4Y) {
goto CPHSo;
}
goto jCxQa;
ABcCF:
$data["langs"][$cEX8Y]["rows"][] = array("link" => '', "name" => "Category data copy to sub-store", "old_value" => '', "value" => "Done", "changed" => '');
goto R2rbw;
R2rbw:
m3FI9:
goto v_7FL;
jCxQa:
$this->db->query("DELETE FROM " . DB_PREFIX . "seo_category_description WHERE language_id = '" . (int) $cEX8Y . "' AND store_id = '" . (int) $this->store . "'");
goto TY99m;
v_7FL:
}
goto zn7cO;
Mh4uy:
rligk:
goto MFY45;
PwFVp:
slnBa:
goto LBPd1;
wPkwd:
switch ($f_XEr) {
case "url":
$flqEP = "seo_keyword";
goto KBz3b;
case "h1":
$flqEP = "seo_h1";
goto KBz3b;
case "h2":
$flqEP = "seo_h2";
goto KBz3b;
case "h3":
$flqEP = "seo_h3";
goto KBz3b;
case "title":
$flqEP = "meta_title";
goto KBz3b;
case "keyword":
$flqEP = "meta_keyword";
goto KBz3b;
case "description":
$flqEP = "meta_description";
goto KBz3b;
case "full_desc":
$flqEP = "description";
goto KBz3b;
}
goto PwFVp;
dHXoo:
$uN7sB = $this->request->post["filter_cat_category"];
goto pfspt;
y3xpS:
if (version_compare(VERSION, "4", ">=")) {
goto YxRWc;
}
goto UfkWz;
HZB1i:
aLSLH:
goto ZPvNL;
ULmv4:
goto aLSLH;
goto Alz0K;
KOuUI:
sQse1:
goto WI07p;
WCgAH:
$hnPOp = $this->model_extension_complete_seo_catalog_seo_package;
goto HZB1i;
FhtvE:
if (empty($this->request->post["filter_cat_category"])) {
goto kWnSp;
}
goto QB7Fd;
ZPvNL:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto v6J1s;
CR8zR:
$VpBK8 = " AND c.category_id IN (" . implode(",", $gCyDm) . ")";
goto Nr5iN;
HnhQ9:
YOgZf:
goto v1gw4;
OltYB:
$hnPOp = $this->model_catalog_seo_package;
goto ULmv4;
Adzz1:
$data["langs"] =& $pU5UN;
goto Mgy6e;
Nx4zl:
$VpBK8 = '';
goto FhtvE;
WI07p:
$gCyDm = $this->getChildCategories($uN7sB);
goto pI2JY;
NvkrT:
$this->load->model("extension/complete_seo/catalog/seo_package");
goto WCgAH;
LFLHj:
}
public function generator_information($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto b5Z7_;
hNIB5:
unset($cHoqT);
goto Huy3G;
Q8jmI:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto RDYLo;
RDYLo:
if ($WzL4Y) {
goto aPf0V;
}
goto UOF2o;
Fh_w1:
Vj4qZ:
goto yDDzE;
OHXiP:
$data["langs"][$cEX8Y]["rows"][] = array("link" => '', "name" => "Information data copy to sub-store", "old_value" => '', "value" => "Done", "changed" => '');
goto Fh_w1;
JynaZ:
$data["langs"][$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto OHXiP;
nB9tq:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_information_description SELECT information_id, '" . (int) $cEX8Y . "', '" . (int) $this->store . "', title, description, meta_title, meta_description, meta_keyword, seo_h1, seo_h2, seo_h3 FROM " . DB_PREFIX . "information_description d WHERE d.language_id = '" . (int) $cEX8Y . "'");
goto vx14K;
vx14K:
aPf0V:
goto JynaZ;
UOF2o:
$this->db->query("DELETE FROM " . DB_PREFIX . "seo_information_description WHERE language_id = '" . (int) $cEX8Y . "' AND store_id = '" . (int) $this->store . "'");
goto nB9tq;
yDDzE:
}
goto SCL65;
xIPh2:
UnhDU:
goto fLXvE;
jcF_i:
BT4Cv:
goto lT307;
OcWCp:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto Poeug;
Kv1v8:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE `key` = 'information_id' AND `value` = d.information_id AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto lirDp;
WQAih:
$pU5UN[$cEX8Y]["rows"] = array();
goto qCjo8;
H9yJK:
TIdBe:
goto Kv1v8;
UdUE3:
$pU5UN[$cEX8Y]["count"] = $j0nk6;
goto qIBQ_;
RZVFe:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto U0ovH;
}
goto n9GMi;
w1t43:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('information_id=', d.information_id) LIMIT 1), '') AS seo_keyword";
goto aa51h;
aNGll:
$kU4lM = $this->db->query("SELECT d.*, i.*" . $rvQsS . " FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_description d ON i.information_id = d.information_id WHERE d.language_id=" . (int) $cEX8Y . " ORDER BY d.information_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto H3J5K;
mRMad:
goto Kkm69;
goto w3UHA;
T0Tg2:
JNGt7:
goto ida2E;
n9GMi:
if ($this->multistore_mode) {
goto DqzR9;
}
goto GWDUf;
SIhEJ:
$kU4lM = $this->db->query("SELECT sd.*, i.*, sd.name as title, d.title as orig_title, d.description as orig_description " . $rvQsS . " FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_to_store s ON (i.information_id = s.information_id) LEFT JOIN " . DB_PREFIX . "seo_information_description sd ON (i.information_id = sd.information_id AND sd.language_id=" . (int) $cEX8Y . " AND sd.store_id = s.store_id) LEFT JOIN " . DB_PREFIX . "information_description d ON (i.information_id = d.information_id AND d.language_id=" . (int) $cEX8Y . ") WHERE s.store_id = " . (int) $this->store . " ORDER BY i.information_id,sd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto QbD94;
qIQWu:
kUWye:
goto YpSvR;
w3UHA:
yQ1hS:
goto DMJSF;
MWDIk:
otZm4:
goto lY9LK;
S2gFc:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_to_store s ON (i.information_id = s.information_id) WHERE s.store_id = " . (int) $this->store)->row;
goto MWDIk;
tA28G:
P27JL:
goto UdUE3;
F0hI1:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('information_id=', d.information_id) AND (u.language_id = d.language_id OR u.language_id = 0) LIMIT 1), '') AS seo_keyword";
goto zn3X5;
YpSvR:
goto bowIv;
goto H9yJK;
qCjo8:
$j0nk6 = 0;
goto Kixr3;
N1Rj5:
if ($this->multistore_mode) {
goto v7e3K;
}
goto bEbmC;
qIBQ_:
hop00:
goto MQC9I;
ida2E:
if ($this->store) {
goto yQ1hS;
}
goto uVQmZ;
qxAhE:
goto e3v7A;
goto mUIBh;
SyqYc:
if (version_compare(VERSION, "4", ">=")) {
goto TIdBe;
}
goto RZVFe;
BNJqj:
YFyES:
goto mx3dj;
jmrrr:
U0ovH:
goto Dlt44;
mx3dj:
$kU4lM = $this->db->query("SELECT d.*, i.*" . $rvQsS . " FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_description d ON i.information_id = d.information_id LEFT JOIN " . DB_PREFIX . "information_to_store s ON (i.information_id = s.information_id) WHERE s.store_id = " . (int) $this->store . " AND d.language_id=" . (int) $cEX8Y . " ORDER BY d.information_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto a1lJu;
YC28T:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('information_id=', d.information_id) AND (u.store_id = s.store_id) LIMIT 1), '') AS seo_keyword";
goto NMFMB;
DMJSF:
$tn4M9 = "seo_information_description";
goto R8PUJ;
M30v_:
$tsmux = $this->request->post["mlseo_information_" . $f_XEr . "_pattern"];
goto lLLZE;
mUIBh:
DqzR9:
goto YC28T;
NMFMB:
e3v7A:
goto Qwdyj;
HqI1c:
$tsmux = $this->config->get("mlseo_information_" . $f_XEr . "_pattern");
goto V0vlv;
lirDp:
bowIv:
goto T0Tg2;
EPWPu:
AQQPp:
goto M30v_;
SQanh:
$pU5UN[$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto WQAih;
Xb6GO:
A9qyh:
goto F0hI1;
lLLZE:
pa3JX:
goto N1Rj5;
Poeug:
$this->config->set("mlseo_current_lang", $FoZfU[$cEX8Y]);
goto SQanh;
V0vlv:
goto pa3JX;
goto EPWPu;
zn3X5:
CQ0SC:
goto qxAhE;
cFRlD:
if ($this->multistore_mode) {
goto YFyES;
}
goto aNGll;
j6TJW:
if (!($f_XEr == "url")) {
goto JNGt7;
}
goto SyqYc;
FjUGf:
v7e3K:
goto S2gFc;
a1lJu:
NNrQg:
goto mRMad;
Dlt44:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('information_id=', d.information_id) AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto qIQWu;
aa51h:
goto CQ0SC;
goto Xb6GO;
bEbmC:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "information")->row;
goto FdsOp;
H3J5K:
goto NNrQg;
goto BNJqj;
QbD94:
Kkm69:
goto RDeV8;
lY9LK:
$this->total_items = $Yu8kb["total"];
goto iooIU;
uVQmZ:
$tn4M9 = "information_description";
goto mWfUo;
Qwdyj:
goto kUWye;
goto jmrrr;
Kixr3:
if (isset($this->request->post["mlseo_information_" . $f_XEr . "_pattern"])) {
goto AQQPp;
}
goto HqI1c;
FdsOp:
goto otZm4;
goto FjUGf;
mWfUo:
$zMXd8 = '';
goto cFRlD;
GWDUf:
if ($this->ml_mode) {
goto A9qyh;
}
goto w1t43;
RDeV8:
foreach ($kU4lM as $vLCNO) {
goto ilCwv;
N_Zaa:
goto wj1sn;
goto mttRC;
GCYAE:
JgMpy:
goto WPWY4;
pnMTI:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'information_id=" . $vLCNO["information_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto ss3Y5;
VCpY8:
if (!($vLCNO[$flqEP] && $QIJ2v && $f_XEr == "url" && $this->config->get("mlseo_backup"))) {
goto Rlped;
}
goto ex7Sb;
Gfnsx:
if ($WzL4Y) {
goto FIbCJ;
}
goto o250B;
Kznnu:
goto tpR8G;
goto eiQSe;
YFqqd:
wj1sn:
goto Kznnu;
x37qK:
goto DPNLf;
goto NPd0r;
RVkHy:
OR211:
goto jvbBy;
Ajtaz:
if ($WzL4Y) {
goto zXwPp;
}
goto eebB0;
IZD9K:
Tzmfk:
goto HGGGL;
t8oNL:
goto OR211;
goto RH1Ra;
DO83m:
goto Yo1pv;
goto OtTp5;
TJqjT:
i6_27:
goto n2YQw;
gChJz:
goto ldIBF;
goto PqYi6;
kGipY:
uJqzB:
goto W2p0O;
dLY4a:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'information_id=" . $vLCNO["information_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto YFqqd;
V1f_T:
if ($f_XEr == "full_desc") {
goto fqGuX;
}
goto ZYTeG;
ctTe4:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto yU3P9;
a9M5Q:
iV78t:
goto AEgwv;
A8oBg:
if (!($ZGEwe && $vLCNO["meta_description"])) {
goto pzdCS;
}
goto Q5ygE;
yU3P9:
if ($WzL4Y) {
goto arlGc;
}
goto dsh6H;
AAUwl:
zPut4:
goto jbbrJ;
vVuWC:
$j0nk6++;
goto Ts9xd;
mqM0Z:
UhPSQ:
goto s4dau;
WCaoP:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto pbgkm;
HGGGL:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $tsmux);
goto SJ73V;
dR6tT:
GC9GB:
goto DXQQS;
eiQSe:
mrplU:
goto D3tGq;
dnKFY:
$vLCNO["description"] = $vLCNO["orig_description"];
goto IZD9K;
W2p0O:
if (!$QIJ2v) {
goto Fc8Jj;
}
goto kGcW5;
k2lx3:
u6IKL:
goto ctTe4;
Ts9xd:
Fc8Jj:
goto VNQP9;
WPWY4:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto CmoeV;
}
goto FunEU;
afttI:
$this->session->data["seopackage_updated"]++;
goto vVuWC;
dTDEH:
DPNLf:
goto U3Zsv;
q_Ksh:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_information_description SET information_id = '" . (int) $vLCNO["information_id"] . "', store_id = '" . (int) $this->store . "', language_id = '" . (int) $cEX8Y . "'");
goto fUVtO;
o250B:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h2 = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto taiLM;
M92cI:
if ($f_XEr == "description") {
goto Eoi69;
}
goto V1f_T;
OSxFo:
if (!($ZGEwe && $vLCNO["meta_keyword"])) {
goto TLS1b;
}
goto h_92V;
YJN8c:
pKLVz:
goto x37qK;
WBvBx:
goto rb_iI;
goto N3zdW;
yzOpC:
pvDca:
goto P0gKR;
NKj9F:
O2xw_:
goto q9zXv;
YZa0I:
if (!($f_XEr != "url" && $this->multistore_mode && $this->store && !$WzL4Y && is_null($vLCNO["store_id"]))) {
goto qam18;
}
goto q_Ksh;
hvbZO:
goto WDFjR;
goto IVu2K;
FunEU:
goto rb_iI;
goto obqbx;
h0t1a:
FdeMp:
goto Zss_e;
lN6Bg:
if ($this->ml_mode) {
goto E5eiw;
}
goto elSHE;
jvbBy:
if (array_key_exists($flqEP, $vLCNO)) {
goto szLN9;
}
goto zhdaH;
ZkfWW:
hhN9t:
goto v_bTK;
P0gKR:
iHM8g:
goto wRLTA;
s4dau:
goto OR211;
goto Kd5Qj;
Kd5Qj:
riX3x:
goto OSxFo;
Up8tt:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto SKhh8;
Q5ygE:
goto rb_iI;
goto nyeNc;
Npexb:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto pLBfz;
wRLTA:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "information", $vLCNO["information_id"], $cEX8Y, $WzL4Y);
goto ntGu7;
lo2Si:
if ($WzL4Y) {
goto iHM8g;
}
goto eTDWs;
xWwXu:
goto OR211;
goto TJqjT;
Zss_e:
goto OR211;
goto NKj9F;
n5Nxh:
goto rb_iI;
goto MOvsd;
SlmmC:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'information_id=" . $vLCNO["information_id"] . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto YJN8c;
v_bTK:
goto pvDca;
goto nwBPc;
Pe9qC:
TLS1b:
goto RwI9d;
nwBPc:
uoEpV:
goto D2zZL;
hj19E:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h3 = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto D9xoe;
M4dy1:
if (!$this->config->get("mlseo_backup")) {
goto wDj4I;
}
goto Pec_1;
UQ3i9:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_keyword = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto yHmSk;
QiBBx:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto jA3bY;
}
goto NBfJh;
JI3IW:
wDj4I:
goto WoC1i;
aM0TN:
$QIJ2v = !($FhDKC === $vLCNO[$flqEP]);
goto QCALZ;
DXQQS:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'information_id=" . $vLCNO["information_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto ZkfWW;
mttRC:
jA3bY:
goto dLY4a;
E4Ukq:
szLN9:
goto aM0TN;
ijYM7:
if (!($ZGEwe && trim(strip_tags(html_entity_decode($vLCNO["description"], ENT_QUOTES, "UTF-8"))))) {
goto u6IKL;
}
goto GbbS2;
obqbx:
CmoeV:
goto lo2Si;
oBpWM:
tpR8G:
goto h0t1a;
VNQP9:
rb_iI:
goto A7DTK;
Wyg6O:
goto OR211;
goto Yrdim;
D9xoe:
IjCoT:
goto yHTRX;
yHmSk:
UFVWO:
goto Wyg6O;
Sxqkb:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto GC9GB;
}
goto Gj5eC;
OhmeK:
if ($f_XEr == "h1") {
goto O2xw_;
}
goto GKhKQ;
eyzwl:
iqDJm:
goto mN629;
hJY_K:
goto rb_iI;
goto eyzwl;
niQfQ:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($vLCNO["seo_keyword"]) . "', redirect = 'information/information&information_id=" . (int) $vLCNO["information_id"] . "', language_id = '" . (int) $cEX8Y . "'");
goto FzY49;
Qsluy:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_description = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto cqRlj;
FzY49:
Hjv22:
goto JI3IW;
ANYu5:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'information_id=" . $vLCNO["information_id"] . "' AND store_id = " . (int) $this->store);
goto dTDEH;
AEgwv:
if (!($ZGEwe && $vLCNO["seo_h2"])) {
goto Gu8eL;
}
goto WBvBx;
taiLM:
FIbCJ:
goto xWwXu;
KrBHO:
if ($f_XEr == "url") {
goto JgMpy;
}
goto OhmeK;
WgqSI:
WDFjR:
goto Ruo8q;
Pec_1:
if (!($vLCNO["seo_keyword"] && $vLCNO["seo_keyword"] != $FhDKC)) {
goto Hjv22;
}
goto niQfQ;
wFpiK:
$vLCNO["title"] = $vLCNO["orig_title"];
goto AAUwl;
eTDWs:
if (version_compare(VERSION, "4", ">=")) {
goto uoEpV;
}
goto Sxqkb;
pbgkm:
if ($WzL4Y) {
goto IjCoT;
}
goto hj19E;
cqRlj:
WDFSl:
goto t8oNL;
wV9YH:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'information_id=" . $vLCNO["information_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto ck1Qy;
jbbrJ:
if (!(empty($vLCNO["description"]) && isset($vLCNO["orig_description"]))) {
goto Tzmfk;
}
goto dnKFY;
GcX3h:
E5eiw:
goto SlmmC;
uTAAF:
if ($this->ml_mode) {
goto BJqKa;
}
goto nfyWR;
ilCwv:
$this->session->data["seopackage_processed"]++;
goto sTIzH;
nfyWR:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'information_id=" . $vLCNO["information_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto DO83m;
elSHE:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'information_id=" . $vLCNO["information_id"] . "'");
goto qbYIK;
ozCCO:
$FhDKC = mb_strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto WgqSI;
Yrdim:
Eoi69:
goto A8oBg;
IVu2K:
L_mSG:
goto ozCCO;
SKhh8:
if ($WzL4Y) {
goto WDFSl;
}
goto Qsluy;
RH1Ra:
fqGuX:
goto ijYM7;
kGcW5:
if (!defined("SEO_PACKAGE_CLI")) {
goto wjeJt;
}
goto ugkXa;
eebB0:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h1 = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Qu0OZ;
D2zZL:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'information_id' AND `value` = '" . $vLCNO["information_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto yzOpC;
NPd0r:
n4BtC:
goto ANYu5;
h_92V:
goto rb_iI;
goto Pe9qC;
MOvsd:
mS9oo:
goto WCaoP;
Hu7C0:
goto OR211;
goto a9M5Q;
dsh6H:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET description = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto np6p1;
fUVtO:
qam18:
goto KrBHO;
U3Zsv:
goto hhN9t;
goto dR6tT;
Qu0OZ:
zXwPp:
goto Hu7C0;
izQWu:
wjeJt:
goto afttI;
OtTp5:
BJqKa:
goto pnMTI;
BTO6q:
if (!($ZGEwe && $vLCNO["meta_title"])) {
goto R7xlV;
}
goto lCr0C;
WoC1i:
if (version_compare(VERSION, "4", ">=")) {
goto mrplU;
}
goto QiBBx;
ZYTeG:
goto OR211;
goto GCYAE;
EgTYM:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto Gfnsx;
IIdwO:
Rlped:
goto Oyaqi;
RwI9d:
if (function_exists("mb_strtolower")) {
goto L_mSG;
}
goto kMSzO;
bRq4e:
if (defined("SEO_PACKAGE_CLI")) {
goto uJqzB;
}
goto VCpY8;
q9zXv:
if (!($ZGEwe && $vLCNO["seo_h1"])) {
goto iqDJm;
}
goto hJY_K;
kMSzO:
$FhDKC = strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto hvbZO;
Lp5Rw:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_title = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto mqM0Z;
GKhKQ:
if ($f_XEr == "h2") {
goto iV78t;
}
goto j1gX_;
QCALZ:
Lrax5:
goto bRq4e;
ex7Sb:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/information/" . $this->edit_action, $this->token . "&information_id=" . $vLCNO["information_id"], "SSL"), "name" => $vLCNO["title"], "old_value" => (string) $vLCNO[$flqEP], "value" => "[backup url to redirect to new one]", "changed" => false);
goto IIdwO;
PqYi6:
mUlyN:
goto wV9YH;
yHTRX:
goto OR211;
goto KNDAb;
NBfJh:
if ($this->multistore_mode) {
goto mUlyN;
}
goto uTAAF;
VukLp:
if ($f_XEr == "title") {
goto Im1H6;
}
goto pf526;
qbYIK:
goto pKLVz;
goto GcX3h;
ugkXa:
$this->log("information." . $f_XEr . ": [" . $FoZfU[$cEX8Y] . "] " . $vLCNO["title"] . " => " . $FhDKC);
goto izQWu;
Ruo8q:
if ($WzL4Y) {
goto UFVWO;
}
goto UQ3i9;
np6p1:
arlGc:
goto RVkHy;
uJbIs:
goto Lrax5;
goto E4Ukq;
lCr0C:
goto rb_iI;
goto PBtEU;
nyeNc:
pzdCS:
goto Up8tt;
mN629:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto Ajtaz;
ck1Qy:
ldIBF:
goto N_Zaa;
Gj5eC:
if ($this->multistore_mode) {
goto n4BtC;
}
goto lN6Bg;
Oyaqi:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/information/" . $this->edit_action, $this->token . "&information_id=" . $vLCNO["information_id"], "SSL"), "name" => $vLCNO["title"], "old_value" => (string) $vLCNO[$flqEP], "value" => $FhDKC, "changed" => $QIJ2v);
goto kGipY;
pf526:
if ($f_XEr == "keyword") {
goto riX3x;
}
goto M92cI;
pLBfz:
if ($WzL4Y) {
goto UhPSQ;
}
goto Lp5Rw;
PBtEU:
R7xlV:
goto Npexb;
KNDAb:
Im1H6:
goto BTO6q;
ss3Y5:
Yo1pv:
goto gChJz;
sTIzH:
if (!(empty($vLCNO["title"]) && isset($vLCNO["orig_title"]))) {
goto zPut4;
}
goto wFpiK;
ntGu7:
if ($WzL4Y) {
goto FdeMp;
}
goto M4dy1;
N3zdW:
Gu8eL:
goto EgTYM;
n2YQw:
if (!($ZGEwe && $vLCNO["seo_h3"])) {
goto mS9oo;
}
goto n5Nxh;
zhdaH:
$QIJ2v = false;
goto uJbIs;
SJ73V:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformInformation($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto YZa0I;
D3tGq:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'information_id', `value` = '" . $vLCNO["information_id"] . "', language_id = '" . $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto oBpWM;
j1gX_:
if ($f_XEr == "h3") {
goto i6_27;
}
goto VukLp;
GbbS2:
goto rb_iI;
goto k2lx3;
A7DTK:
}
goto tA28G;
iooIU:
$rvQsS = '';
goto j6TJW;
R8PUJ:
$zMXd8 = "AND store_id = '" . (int) $this->store . "'";
goto SIhEJ;
MQC9I:
}
goto uarrZ;
MrdSD:
$this->load->model("localisation/language");
goto Nrq_1;
t_SA9:
return $data;
goto BaVKG;
hC8pR:
if (!($f_XEr == "store_copy")) {
goto asL77;
}
goto Q8jmI;
lT307:
$pU5UN = $data = array();
goto hC8pR;
uarrZ:
d1Puc:
goto Lc8tr;
Q6GRk:
asL77:
goto OcWCp;
SCL65:
XFz9n:
goto pbb_Y;
KKJzt:
return;
goto xIPh2;
vjUzL:
G4uyK:
goto jcF_i;
fLXvE:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto MrdSD;
Nrq_1:
$cHoqT = $this->model_localisation_language->getLanguages();
goto rfRmO;
rfRmO:
foreach ($cHoqT as $nDDFl) {
goto pNGg8;
xFPJi:
wLdNX:
goto IKN_C;
NYvlY:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto H0oBn;
wl8c0:
CvRKh:
goto ZqHvA;
pA6WO:
if (version_compare(VERSION, "2.2", ">=")) {
goto wLdNX;
}
goto NYvlY;
pNGg8:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto pA6WO;
IKN_C:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto wl8c0;
ZqHvA:
wSbe8:
goto dDQ3u;
H0oBn:
goto CvRKh;
goto xFPJi;
dDQ3u:
}
goto HjP8G;
b5Z7_:
if (isset($this->request->post["langs"])) {
goto UnhDU;
}
goto SHbOv;
HjP8G:
oAIbt:
goto hNIB5;
Huy3G:
switch ($f_XEr) {
case "url":
$flqEP = "seo_keyword";
goto BT4Cv;
case "h1":
$flqEP = "seo_h1";
goto BT4Cv;
case "h2":
$flqEP = "seo_h2";
goto BT4Cv;
case "h3":
$flqEP = "seo_h3";
goto BT4Cv;
case "title":
$flqEP = "meta_title";
goto BT4Cv;
case "keyword":
$flqEP = "meta_keyword";
goto BT4Cv;
case "description":
$flqEP = "meta_description";
goto BT4Cv;
case "full_desc":
$flqEP = "description";
goto BT4Cv;
}
goto vjUzL;
Lc8tr:
$data["langs"] =& $pU5UN;
goto t_SA9;
pbb_Y:
return $data;
goto Q6GRk;
SHbOv:
$data["langs"] = array();
goto KKJzt;
BaVKG:
}
public function generator_manufacturer($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto kpGnI;
R6Xfp:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto AmVfw;
whG2Z:
foreach ($cHoqT as $nDDFl) {
goto mbeli;
AI6qy:
goto P1pET;
goto HAHaf;
eX82c:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto AI6qy;
mbeli:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto C9r47;
ZIfkI:
Gfwgr:
goto dyFEV;
U6Pcl:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto Yr4Vw;
Yr4Vw:
P1pET:
goto ZIfkI;
C9r47:
if (version_compare(VERSION, "2.2", ">=")) {
goto bYGpL;
}
goto eX82c;
HAHaf:
bYGpL:
goto U6Pcl;
dyFEV:
}
goto aPX_B;
GCITR:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto GE107;
JP1DX:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_manufacturer_description SELECT manufacturer_id, '" . (int) $cEX8Y . "', '" . (int) $this->store . "', title, description, meta_title, meta_description, meta_keyword, seo_h1, seo_h2, seo_h3 FROM " . DB_PREFIX . "seo_manufacturer_description d WHERE d.language_id = '" . (int) $cEX8Y . "' AND d.store_id = '0'");
goto aVsOi;
aVsOi:
al1QR:
goto BUJ_w;
BUJ_w:
$data["langs"][$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto GgOv4;
GgOv4:
$data["langs"][$cEX8Y]["rows"][] = array("link" => '', "name" => "manufacturer data copy to sub-store", "old_value" => '', "value" => "Done", "changed" => '');
goto WsgrB;
a9YxD:
$this->db->query("DELETE FROM " . DB_PREFIX . "seo_manufacturer_description WHERE language_id = '" . (int) $cEX8Y . "' AND store_id = '" . (int) $this->store . "'");
goto JP1DX;
WsgrB:
Xb9db:
goto KE5yc;
GE107:
if ($WzL4Y) {
goto al1QR;
}
goto a9YxD;
KE5yc:
}
goto x5V2s;
V9syE:
xzpsm:
goto IfjjF;
o8ovA:
$cHoqT = $this->model_localisation_language->getLanguages();
goto whG2Z;
HoEq4:
if (!($f_XEr == "store_copy")) {
goto nEIDD;
}
goto GCITR;
O_vtk:
$data["langs"] =& $pU5UN;
goto hnzk0;
gj0rO:
return $data;
goto kzbRM;
x5V2s:
csQNc:
goto gj0rO;
LoNQ5:
$data["langs"] = array();
goto ArVo9;
IfjjF:
AGL7K:
goto CqVQc;
aWMY_:
if (isset($this->request->post["langs"])) {
goto zMrbX;
}
goto LoNQ5;
B10sO:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto TaJCh;
R6XAC:
$tsmux = $this->config->get("mlseo_manufacturer_" . $f_XEr . "_pattern");
goto tWvbk;
xFGqC:
$tn4M9 = "seo_manufacturer_description";
goto aCeEs;
E7KmA:
goto wHbRF;
goto K8q2U;
mBuC4:
VCbVk:
goto xqiuS;
csjAT:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('manufacturer_id=', m.manufacturer_id) AND (u.language_id = " . (int) $cEX8Y . " OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto GPriK;
ndHHh:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('manufacturer_id=', m.manufacturer_id) AND (u.language_id = " . (int) $cEX8Y . " OR u.language_id = 0) LIMIT 1), '') AS seo_keyword";
goto M_fkS;
WHryM:
if (isset($this->request->post["mlseo_manufacturer_" . $f_XEr . "_pattern"])) {
goto myUaJ;
}
goto R6XAC;
TaJCh:
$this->config->set("mlseo_current_lang", $FoZfU[$cEX8Y]);
goto pKc74;
VU6ET:
foreach ($kU4lM as $vLCNO) {
goto HSCdD;
XPSzn:
k84zE:
goto vnuHz;
tTKXa:
if ($this->multistore_mode) {
goto Wy1cD;
}
goto flNdz;
gKxDc:
goto eyrHo;
goto q2VW5;
V9KRS:
FzD5l:
goto WFqbc;
V3WnQ:
FYNK1:
goto nZ1Y3;
L1gfQ:
Owo_d:
goto q5j4m;
gwq0G:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto xjOPD;
MHAhn:
goto jFyr6;
goto zv2Vd;
zs4DW:
$FhDKC = mb_strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto Prxmm;
GUZbD:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto pGvBU;
cjr6G:
hoWNV:
goto MHAhn;
uLk6V:
$this->session->data["seopackage_updated"]++;
goto h0kIZ;
zv2Vd:
mDDMx:
goto yuCy1;
lOpk1:
if (!($ZGEwe && $vLCNO["meta_title"])) {
goto jhseA;
}
goto gKxDc;
E0NIm:
if ($WzL4Y) {
goto FYNK1;
}
goto XJ53b;
CZxSc:
x87Hg:
goto nPsey;
ptd7x:
rvnON:
goto drG2K;
vuxr6:
if ($WzL4Y) {
goto sq_Fr;
}
goto QQO3M;
ogEBK:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto MxqV9;
PoYFQ:
if (!(empty($vLCNO["name"]) && isset($vLCNO["orig_name"]))) {
goto aF5yw;
}
goto NSnk_;
KCKCb:
wnay_:
goto GL2ZE;
kmuv4:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto jLfPg;
}
goto n83Sv;
vV51s:
O08d6:
goto Xk7Co;
P0MYK:
if ($f_XEr == "h3") {
goto nUGSC;
}
goto cPtQU;
UAHUm:
a02N1:
goto qKOYw;
zacBu:
goto eyrHo;
goto X_5aF;
kHMK0:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto N3tf4;
QEO14:
Khhfu:
goto NMklP;
w_zH7:
goto rb_3D;
goto fxbzU;
DvLDi:
if (!(!$WzL4Y && is_null($vLCNO["store_id"]))) {
goto QnA9A;
}
goto eUkjr;
NMVYF:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto V9KRS;
sxltL:
if ($f_XEr == "full_desc") {
goto TWAfm;
}
goto PyT3L;
FeJdi:
VTTwV:
goto K_z01;
G12mV:
bp0Uj:
goto uLk6V;
SLz9H:
goto eyrHo;
goto SikiP;
yjYMi:
if (!($ZGEwe && $vLCNO["seo_h2"])) {
goto bhuHu;
}
goto TYOs4;
Qoz2l:
goW3S:
goto X6AWH;
flNdz:
if ($this->ml_mode) {
goto HvI84;
}
goto a4350;
Lm1V2:
if (!($ZGEwe && $vLCNO["seo_h3"])) {
goto X2JTp;
}
goto zacBu;
HthjQ:
if ($this->ml_mode) {
goto bYsPk;
}
goto kwMb5;
yuCy1:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'manufacturer_id' AND `value` = '" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto fSDeg;
nKFkR:
goto eyrHo;
goto p5MfC;
LaPls:
$QIJ2v = false;
goto z3jGL;
UI_3i:
UUe1O:
goto lOpk1;
AJZq1:
goto eyrHo;
goto z3aNZ;
BlxDm:
goto aeYok;
goto CZxSc;
xblnQ:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $tsmux);
goto noxqO;
gYi4_:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto aqCPg;
}
goto AJZq1;
a_R6K:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h3 = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto HNt3W;
Ismpx:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "manufacturer", $vLCNO["manufacturer_id"], $cEX8Y, $WzL4Y);
goto E0NIm;
vdlad:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto Qj3t0;
qmKNR:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_keyword = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto FeJdi;
K_z01:
goto SVh7U;
goto eXagY;
XJ53b:
if (!$this->config->get("mlseo_backup")) {
goto RZ0fP;
}
goto tqqWC;
sIHqx:
if ($f_XEr == "url") {
goto iXRqB;
}
goto zYldN;
Qj3t0:
if ($WzL4Y) {
goto o3xAz;
}
goto a_R6K;
dMil9:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto IJ_Zu;
}
goto tTKXa;
RNwZb:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/manufacturer/" . $this->edit_action, $this->token . "&manufacturer_id=" . $vLCNO["manufacturer_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => "[backup url to redirect to new one]", "changed" => false);
goto PqaHd;
q5j4m:
goto hoWNV;
goto zDptp;
vwEBC:
if (function_exists("mb_strtolower")) {
goto bWrS2;
}
goto VD327;
nv8Uq:
goto eyrHo;
goto bzCrX;
zDptp:
jLfPg:
goto THBYH;
w1tI5:
goto SVh7U;
goto UI_3i;
h0kIZ:
$j0nk6++;
goto y5eM6;
fSDeg:
jFyr6:
goto pVSV0;
le5kA:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($vLCNO["seo_keyword"]) . "', redirect = 'product/manufacturer&manufacturer_id=" . (int) $vLCNO["manufacturer_id"] . "', language_id = '" . (int) $cEX8Y . "'");
goto ptd7x;
Z5ScK:
xmifD:
goto pl4kH;
X_5aF:
X2JTp:
goto vdlad;
VD327:
$FhDKC = strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto xGpwF;
nPsey:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'manufacturer_id', `value` = '" . $vLCNO["manufacturer_id"] . "', language_id = '" . $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto gCdPz;
QQO3M:
if (version_compare(VERSION, "4", ">=")) {
goto mDDMx;
}
goto kmuv4;
UUhd4:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_title = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto XPSzn;
WFqbc:
goto Owo_d;
goto bq_Me;
vZY7I:
goto yFVtz;
goto Dmfac;
NSnk_:
$vLCNO["name"] = $vLCNO["orig_name"];
goto vQAzr;
dyT40:
if (!$QIJ2v) {
goto QYd_m;
}
goto EUIep;
eT3wF:
TWAfm:
goto slEir;
oPAVU:
goto eyrHo;
goto Qoz2l;
vnuHz:
goto SVh7U;
goto QEO14;
HNt3W:
o3xAz:
goto w1tI5;
slEir:
if (!($ZGEwe && trim(strip_tags(html_entity_decode($vLCNO["description"], ENT_QUOTES, "UTF-8"))))) {
goto goW3S;
}
goto oPAVU;
PyT3L:
goto SVh7U;
goto zM1Uy;
cPtQU:
if ($f_XEr == "title") {
goto UUe1O;
}
goto PBQis;
Rb7kW:
if (!($vLCNO[$flqEP] && $QIJ2v && $f_XEr == "url" && $this->config->get("mlseo_backup"))) {
goto YkGP2;
}
goto RNwZb;
BZpMi:
Wy1cD:
goto tlR6d;
kvl3N:
bhuHu:
goto kHMK0;
bzCrX:
hlE5W:
goto vwEBC;
qKOYw:
goto SVh7U;
goto eT3wF;
pGvBU:
yFVtz:
goto BlxDm;
rZS32:
if ($WzL4Y) {
goto xmifD;
}
goto yS4dw;
N3tf4:
if ($WzL4Y) {
goto uGt9I;
}
goto AuS95;
xGpwF:
goto rT0C8;
goto toXgc;
bGHw1:
uGt9I:
goto pjrfe;
fxbzU:
HvI84:
goto MJTKm;
X6AWH:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto aF2Hu;
nZ1Y3:
goto SVh7U;
goto KCKCb;
zM1Uy:
iXRqB:
goto gYi4_;
yS4dw:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h1 = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Z5ScK;
Prxmm:
rT0C8:
goto f6Mc3;
kwMb5:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "'");
goto jee8f;
ngMoi:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET description = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto vV51s;
zYldN:
if ($f_XEr == "h1") {
goto wnay_;
}
goto Kxg8K;
eUkjr:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_manufacturer_description SET manufacturer_id = '" . (int) $vLCNO["manufacturer_id"] . "', store_id = '" . (int) $this->store . "', language_id = '" . (int) $cEX8Y . "'");
goto QVgr3;
tSfo0:
rb_3D:
goto Kpzvo;
MJTKm:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto tSfo0;
TYOs4:
goto eyrHo;
goto kvl3N;
un6gW:
nUGSC:
goto Lm1V2;
xZYkv:
if (!($ZGEwe && $vLCNO["meta_description"])) {
goto gdCwb;
}
goto nKFkR;
apBWM:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store);
goto L1gfQ;
qbxRB:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_description = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto UAHUm;
AuS95:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h2 = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto bGHw1;
y5eM6:
QYd_m:
goto WWbPd;
NMklP:
if (!($ZGEwe && $vLCNO["meta_keyword"])) {
goto hlE5W;
}
goto nv8Uq;
SikiP:
h2U0B:
goto EAHeU;
THBYH:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto cjr6G;
pjrfe:
goto SVh7U;
goto un6gW;
xjOPD:
if ($WzL4Y) {
goto a02N1;
}
goto qbxRB;
PBQis:
if ($f_XEr == "keyword") {
goto Khhfu;
}
goto umL61;
z3aNZ:
aqCPg:
goto vuxr6;
eXagY:
ml1EL:
goto xZYkv;
vQAzr:
aF5yw:
goto xblnQ;
z3jGL:
goto iK3_u;
goto beDYk;
noxqO:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformManufacturer($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto DvLDi;
f6Mc3:
if ($WzL4Y) {
goto VTTwV;
}
goto qmKNR;
umL61:
if ($f_XEr == "description") {
goto ml1EL;
}
goto sxltL;
Dmfac:
IJ_Zu:
goto GUZbD;
Eoufv:
gTzDL:
goto vZY7I;
NFmw9:
bYsPk:
goto NMVYF;
I4IXb:
if (defined("SEO_PACKAGE_CLI")) {
goto DgYvc;
}
goto Rb7kW;
nW7u8:
$this->log("manufacturer." . $f_XEr . ": [" . $FoZfU[$cEX8Y] . "] " . $vLCNO["name"] . " => " . $FhDKC);
goto G12mV;
ZgIvW:
iK3_u:
goto I4IXb;
qv_Rh:
ygrvk:
goto yjYMi;
EAHeU:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto rZS32;
a4350:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto w_zH7;
gCdPz:
aeYok:
goto V3WnQ;
WWbPd:
eyrHo:
goto p3mT9;
drG2K:
RZ0fP:
goto tfhcu;
pl4kH:
goto SVh7U;
goto qv_Rh;
aF2Hu:
if ($WzL4Y) {
goto O08d6;
}
goto ngMoi;
AYUjN:
DgYvc:
goto dyT40;
HSCdD:
$this->session->data["seopackage_processed"]++;
goto PoYFQ;
bq_Me:
FDDnX:
goto apBWM;
tfhcu:
if (version_compare(VERSION, "4", ">=")) {
goto x87Hg;
}
goto dMil9;
n83Sv:
if ($this->multistore_mode) {
goto FDDnX;
}
goto HthjQ;
GL2ZE:
if (!($ZGEwe && $vLCNO["seo_h1"])) {
goto h2U0B;
}
goto SLz9H;
jee8f:
goto FzD5l;
goto NFmw9;
tqqWC:
if (!($vLCNO["seo_keyword"] && $vLCNO["seo_keyword"] != $FhDKC)) {
goto rvnON;
}
goto le5kA;
MxqV9:
if ($WzL4Y) {
goto k84zE;
}
goto UUhd4;
PqaHd:
YkGP2:
goto N72oj;
Kxg8K:
if ($f_XEr == "h2") {
goto ygrvk;
}
goto P0MYK;
EUIep:
if (!defined("SEO_PACKAGE_CLI")) {
goto bp0Uj;
}
goto nW7u8;
Kpzvo:
goto gTzDL;
goto BZpMi;
tlR6d:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto Eoufv;
aYzZD:
$QIJ2v = !($FhDKC === $vLCNO[$flqEP]);
goto ZgIvW;
toXgc:
bWrS2:
goto zs4DW;
QVgr3:
QnA9A:
goto sIHqx;
p5MfC:
gdCwb:
goto gwq0G;
beDYk:
OUd75:
goto aYzZD;
uBGQ2:
if (array_key_exists($flqEP, $vLCNO)) {
goto OUd75;
}
goto LaPls;
pVSV0:
sq_Fr:
goto Ismpx;
N72oj:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/manufacturer/" . $this->edit_action, $this->token . "&manufacturer_id=" . $vLCNO["manufacturer_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => $FhDKC, "changed" => $QIJ2v);
goto AYUjN;
Xk7Co:
SVh7U:
goto uBGQ2;
q2VW5:
jhseA:
goto ogEBK;
p3mT9:
}
goto gqZHb;
GBf2R:
if ($this->multistore_mode) {
goto wVoGa;
}
goto E6UVc;
AJUq6:
goto VCbVk;
goto nRK10;
sFFyz:
if (version_compare(VERSION, "4", ">=")) {
goto zGXBv;
}
goto LrB2Y;
tWvbk:
goto wQyof;
goto Efuzv;
WavYC:
wQyof:
goto uk6Uq;
LrB2Y:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto V_nS6;
}
goto GBf2R;
Zjhzd:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE `key` = 'manufacturer_id' AND `value` = m.manufacturer_id AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto y2SCr;
nDBzm:
I3jff:
goto xFGqC;
Ypfwy:
aUH6s:
goto LbxsQ;
y2SCr:
b3oIV:
goto nDBzm;
GPriK:
RPzvF:
goto Lp9qM;
TaisF:
if (!($f_XEr == "url")) {
goto I3jff;
}
goto sFFyz;
nRK10:
zltED:
goto fosQL;
wx7AT:
iZhbb:
goto cq_ay;
pKc74:
$pU5UN[$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto Fc3gn;
T4Oft:
$tsmux = $this->request->post["mlseo_manufacturer_" . $f_XEr . "_pattern"];
goto WavYC;
k9yG7:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('manufacturer_id=', m.manufacturer_id) LIMIT 1), '') AS seo_keyword";
goto E7KmA;
E6UVc:
if ($this->ml_mode) {
goto vRUh2;
}
goto k9yG7;
fosQL:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "manufacturer m LEFT JOIN " . DB_PREFIX . "manufacturer_to_store s ON (m.manufacturer_id = s.manufacturer_id) WHERE s.store_id = " . (int) $this->store)->row;
goto mBuC4;
dGLLp:
$j0nk6 = 0;
goto WHryM;
R7XAU:
$pU5UN[$cEX8Y]["count"] = $j0nk6;
goto Ypfwy;
PrQvs:
V_nS6:
goto csjAT;
Lp9qM:
goto b3oIV;
goto ENZKs;
ENZKs:
zGXBv:
goto Zjhzd;
K8q2U:
vRUh2:
goto ndHHh;
aCeEs:
$zMXd8 = "AND store_id = '" . (int) $this->store . "'";
goto dxDS2;
xqiuS:
$this->total_items = $Yu8kb["total"];
goto hQcJA;
cq_ay:
goto RPzvF;
goto PrQvs;
Efuzv:
myUaJ:
goto T4Oft;
L_uJx:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "manufacturer")->row;
goto AJUq6;
b6Mf0:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('manufacturer_id=', m.manufacturer_id) AND (u.store_id = s.store_id) LIMIT 1), '') AS seo_keyword";
goto wx7AT;
gqZHb:
fLy8g:
goto R7XAU;
M_fkS:
wHbRF:
goto QmvCv;
hQcJA:
$rvQsS = '';
goto TaisF;
dxDS2:
$kU4lM = $this->db->query("SELECT d.*, m.*, d.name as title, m.name as orig_name " . $rvQsS . " FROM " . DB_PREFIX . "manufacturer m LEFT JOIN " . DB_PREFIX . "manufacturer_to_store s ON (m.manufacturer_id = s.manufacturer_id) LEFT JOIN " . DB_PREFIX . "seo_manufacturer_description d ON (m.manufacturer_id = d.manufacturer_id AND d.language_id=" . (int) $cEX8Y . " AND d.store_id = s.store_id) WHERE s.store_id = " . (int) $this->store . " ORDER BY m.manufacturer_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto VU6ET;
QmvCv:
goto iZhbb;
goto HHwAx;
uk6Uq:
if ($this->multistore_mode) {
goto zltED;
}
goto L_uJx;
HHwAx:
wVoGa:
goto b6Mf0;
Fc3gn:
$pU5UN[$cEX8Y]["rows"] = array();
goto dGLLp;
LbxsQ:
}
goto yWX7e;
yWX7e:
QgGRt:
goto O_vtk;
kpGnI:
if (!version_compare(VERSION, "3", "<")) {
goto TWeio;
}
goto l40Kj;
CqVQc:
$pU5UN = $data = array();
goto HoEq4;
SOWzi:
switch ($f_XEr) {
case "url":
$flqEP = "seo_keyword";
goto AGL7K;
case "h1":
$flqEP = "seo_h1";
goto AGL7K;
case "h2":
$flqEP = "seo_h2";
goto AGL7K;
case "h3":
$flqEP = "seo_h3";
goto AGL7K;
case "title":
$flqEP = "meta_title";
goto AGL7K;
case "keyword":
$flqEP = "meta_keyword";
goto AGL7K;
case "description":
$flqEP = "meta_description";
goto AGL7K;
case "full_desc":
$flqEP = "description";
goto AGL7K;
}
goto V9syE;
kzbRM:
nEIDD:
goto B10sO;
l40Kj:
TWeio:
goto aWMY_;
ArVo9:
return;
goto F7jhX;
WwARM:
unset($cHoqT);
goto SOWzi;
hnzk0:
return $data;
goto YwrYi;
F7jhX:
zMrbX:
goto R6Xfp;
aPX_B:
LLDRu:
goto WwARM;
AmVfw:
$this->load->model("localisation/language");
goto o8ovA;
YwrYi:
}
public function generator_manufacturer_old($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto CmihL;
gvcGN:
$kU4lM = $this->db->query("SELECT name, manufacturer_id, IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('manufacturer_id=',manufacturer_id) LIMIT 1), '') AS seo_keyword FROM " . DB_PREFIX . "manufacturer ORDER BY manufacturer_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto RtEsw;
F7zIr:
$pU5UN["lang_img"] = '';
goto VIpmT;
VIpmT:
$pU5UN["no_old"] = true;
goto PuAXi;
tCKb3:
$pU5UN = $data = array();
goto F7zIr;
M_AEB:
if (isset($this->request->post["mlseo_manufacturer_" . $f_XEr . "_pattern"])) {
goto O3Ae9;
}
goto efkxM;
sfp6n:
$this->total_items = $Yu8kb["total"];
goto pqHrf;
YFV53:
Pqx3w:
goto Tt5RH;
R207u:
$data["langs"][0] =& $pU5UN;
goto tqHdG;
DmClT:
giRfh:
goto R207u;
mE8M2:
O3Ae9:
goto gKUbc;
jPDXc:
j3otG:
goto Rz2yX;
RtEsw:
goto tXDW2;
goto jPDXc;
QO7Y4:
foreach ($kU4lM as $vLCNO) {
goto fL6VA;
MyfRY:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformManufacturer($FhDKC, false, $vLCNO, $this->store);
goto jFOIg;
KiqH9:
goto hpli9;
goto rnNNc;
aFSZY:
goto bQEd9;
goto fZmQ6;
xizts:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', language_id = 0, keyword = '" . $this->db->escape($FhDKC) . "'");
goto rXCS3;
y1B5K:
goto Np5jS;
goto seMLn;
dbcQA:
bQEd9:
goto sh0Dh;
czoUE:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto gs7q8;
CY0vo:
fenAL:
goto dbcQA;
bZZiO:
if (version_compare(VERSION, "3", ">=")) {
goto R_aBh;
}
goto Lkdul;
jFOIg:
if (!($f_XEr == "url")) {
goto Ik8H9;
}
goto LQjt7;
vqG8i:
lDmxK:
goto xizts;
ARRHW:
Zp4tH:
goto tjcoG;
seMLn:
kQlyX:
goto uO_4C;
gs7q8:
hpli9:
goto AZafR;
M8Y2e:
if (version_compare(VERSION, "4", ">=")) {
goto Zp4tH;
}
goto bZZiO;
Ge4B0:
iU5iD:
goto OXqSY;
IS6QD:
Ik8H9:
goto sY42B;
SMCQ5:
$this->log("manufacturer." . $f_XEr . ": " . $vLCNO["name"] . " => " . $FhDKC);
goto CY0vo;
AZafR:
goto iU5iD;
goto ARRHW;
tjcoG:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'manufacturer_id' AND `value` = '" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto Ge4B0;
fZmQ6:
b7t4m:
goto ikR6D;
MaL_I:
if (!defined("SEO_PACKAGE_CLI")) {
goto fenAL;
}
goto SMCQ5;
rXCS3:
Qxks5:
goto y1B5K;
ETfvH:
goto Qxks5;
goto vqG8i;
pS1zy:
gD7nM:
goto MaL_I;
ikR6D:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "manufacturer", $vLCNO["manufacturer_id"], '', $WzL4Y);
goto s6PD7;
uO_4C:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'manufacturer_id', `value` = '" . $vLCNO["manufacturer_id"] . "', language_id = 0, keyword = '" . $this->db->escape($FhDKC) . "'");
goto sZ48k;
fL6VA:
$FhDKC = str_replace("[current]", $vLCNO["seo_keyword"], $tsmux);
goto MyfRY;
OXqSY:
if (version_compare(VERSION, "4", ">=")) {
goto kQlyX;
}
goto LlhKM;
rnNNc:
R_aBh:
goto czoUE;
LlhKM:
if ($this->ml_mode) {
goto lDmxK;
}
goto JAfyn;
s6PD7:
if ($WzL4Y) {
goto l9jwy;
}
goto M8Y2e;
sZ48k:
Np5jS:
goto B2kPS;
LQjt7:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto b7t4m;
}
goto aFSZY;
Lkdul:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "'");
goto KiqH9;
RPhWj:
$pU5UN["rows"][] = array("link" => $this->url->link("catalog/manufacturer/" . $this->edit_action, $this->token . "&manufacturer_id=" . $vLCNO["manufacturer_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => $vLCNO["seo_keyword"], "value" => $FhDKC, "changed" => $vLCNO["seo_keyword"] != $FhDKC);
goto pS1zy;
B2kPS:
l9jwy:
goto IS6QD;
JAfyn:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto ETfvH;
sY42B:
if (defined("SEO_PACKAGE_CLI")) {
goto gD7nM;
}
goto RPhWj;
sh0Dh:
}
goto DmClT;
rUCUS:
goto Pqx3w;
goto mE8M2;
pqHrf:
if (version_compare(VERSION, "4", ">=")) {
goto j3otG;
}
goto gvcGN;
CmihL:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto tCKb3;
PuAXi:
$pU5UN["rows"] = array();
goto M_AEB;
Rz2yX:
$kU4lM = $this->db->query("SELECT name, manufacturer_id, IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'manufacturer_id' AND `value` = manufacturer_id LIMIT 1), '') AS seo_keyword FROM " . DB_PREFIX . "manufacturer ORDER BY manufacturer_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto BX7F7;
BX7F7:
tXDW2:
goto QO7Y4;
tqHdG:
return $data;
goto NGYDu;
gKUbc:
$tsmux = $this->request->post["mlseo_manufacturer_" . $f_XEr . "_pattern"];
goto YFV53;
efkxM:
$tsmux = $this->config->get("mlseo_manufacturer_" . $f_XEr . "_pattern");
goto rUCUS;
Tt5RH:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "manufacturer")->row;
goto sfp6n;
NGYDu:
}
public function generator_redirect($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto k57SY;
r6XyT:
foreach ($cHoqT as $nDDFl) {
goto lx4y6;
lx4y6:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto i7Xug;
i7Xug:
if (version_compare(VERSION, "2.2", ">=")) {
goto MXEi4;
}
goto Shs9g;
G2jKU:
zW0g_:
goto hj4Q0;
cdapl:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto dJsHR;
dJsHR:
pA9K9:
goto G2jKU;
Shs9g:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto ntGnq;
ntGnq:
goto pA9K9;
goto kzmEq;
kzmEq:
MXEi4:
goto cdapl;
hj4Q0:
}
goto Ag7qh;
v0MKs:
$this->load->model("localisation/language");
goto hw6_F;
Ag7qh:
G6FQf:
goto iNcPo;
w0_i9:
return $data;
goto pLxAL;
k57SY:
$data = array();
goto bk3PC;
iNcPo:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto a2ePf;
GsgTV:
require_once DIR_CATALOG . "model/design/seo_url.php";
goto NCf2z;
O60Rf:
$this->config->set("mlseo_cache", false);
goto vGa68;
NCf2z:
dav8G:
goto Pdrow;
IsJMn:
$kU4lM = $this->getCategories(0, '', " LIMIT " . $this->start . "," . $this->limit);
goto DiUnN;
rUHdK:
$data["langs"][$cEX8Y]["lang_img"] = false;
goto u1rXJ;
mYHJX:
if (!($YRwDl == "manufacturer")) {
goto gtJDB;
}
goto rUHdK;
i_AxA:
$YRwDl = $f_XEr;
goto YiFKU;
mNsLk:
$data["langs"][$cEX8Y] = $pU5UN;
goto wwHWi;
bL5cc:
$pU5UN["no_old"] = true;
goto omeZE;
gYNhn:
psezH:
goto mNsLk;
Et_IL:
sIGFg:
goto IsJMn;
YiFKU:
switch ($YRwDl) {
case "information":
goto xIp1W;
VBUp4:
$flqEP = $T7SSU = "information_id";
goto u5SNC;
xIp1W:
$jw1cu = "information/information";
goto VBUp4;
u5SNC:
goto jg3gj;
goto MYRn3;
MYRn3:
case "product":
goto BE_Vf;
BE_Vf:
$jw1cu = "product/product";
goto fQ0h0;
yaPYj:
goto jg3gj;
goto BqK2s;
fQ0h0:
$flqEP = $T7SSU = "product_id";
goto yaPYj;
BqK2s:
case "category":
goto Lb_9u;
sni9m:
goto jg3gj;
goto HDaIy;
WedO1:
$flqEP = "category_id";
goto RoBjO;
RoBjO:
$T7SSU = "path";
goto sni9m;
Lb_9u:
$jw1cu = "product/category";
goto WedO1;
HDaIy:
case "manufacturer":
goto gfw0T;
wZkqZ:
goto jg3gj;
goto Tx0Xe;
gfw0T:
$jw1cu = "product/manufacturer/info";
goto DMbP_;
DMbP_:
$flqEP = $T7SSU = "manufacturer_id";
goto wZkqZ;
Tx0Xe:
}
goto SV6KT;
AL5sX:
$this->total_items = $Yu8kb["total"];
goto S4cKm;
S4cKm:
if ($YRwDl == "category") {
goto sIGFg;
}
goto h27E8;
a2ePf:
$pU5UN = array();
goto ziCW8;
uJayG:
jg3gj:
goto N4F_1;
wwHWi:
$data["langs"][$cEX8Y]["count"] = count($pU5UN["rows"]);
goto mYHJX;
e2w0m:
$this->session->data["language"] = $FoZfU[$cEX8Y];
goto i_AxA;
AUT2P:
if (!version_compare(VERSION, "4", ">=")) {
goto dav8G;
}
goto GsgTV;
Pj2It:
goto vRWAc;
goto Et_IL;
h27E8:
$kU4lM = $this->db->query("SELECT " . $flqEP . " FROM " . DB_PREFIX . $YRwDl . " ORDER BY " . $flqEP . " LIMIT " . $this->start . "," . $this->limit)->rows;
goto Pj2It;
omeZE:
$pU5UN["rows"] = array();
goto O60Rf;
N4F_1:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . $YRwDl)->row;
goto AL5sX;
vGa68:
$this->config->set("config_language_id", (int) $cEX8Y);
goto n3Eff;
n3Eff:
$this->config->set("config_language", $FoZfU[$cEX8Y]);
goto e2w0m;
DiUnN:
vRWAc:
goto AUT2P;
D1CII:
aYf1d:
goto QOOVW;
ziCW8:
$pU5UN["lang_img"] = $Z2o6y[$cEX8Y];
goto bL5cc;
vBHBL:
gtJDB:
goto D1CII;
SV6KT:
TMNYa:
goto uJayG;
u1rXJ:
goto vzhcW;
goto vBHBL;
Pdrow:
foreach ($kU4lM as $vLCNO) {
goto wrdqW;
I9IOv:
$Z5vp1 = $this->front_url->link($jw1cu, $T7SSU . "=" . $vLCNO[$T7SSU]);
goto HlZ2r;
G3cZK:
if (version_compare(VERSION, "4", ">=")) {
goto aF5yJ;
}
goto n9fAc;
n9fAc:
$Z5vp1 = $this->front_url->link($jw1cu, $T7SSU . "=" . $vLCNO[$T7SSU]);
goto zBJkO;
aJxWQ:
if (!(strpos($Z5vp1, "index.php?route=") !== false)) {
goto T2icx;
}
goto PYAw3;
HM_1i:
$this->config->set("config_store_id", $this->store);
goto G3cZK;
fa1Ui:
$QIJ2v = 0;
goto wNtLu;
pVGvU:
aF5yJ:
goto v0Xdk;
wXrTB:
$this->session->data["seopackage_updated"]++;
goto Xj8o0;
PYAw3:
goto V30En;
goto Jiisl;
UnCTT:
$xOGt5 = $this->db->query("SELECT COUNT(*) as count FROM " . DB_PREFIX . "url_redirect WHERE query = '" . $this->db->escape($mlxgN) . "' AND redirect = '" . $this->db->escape($uRsNb) . "' AND language_id = '" . (int) $cEX8Y . "'")->row;
goto aX_ZS;
rC7q_:
if (defined("SEO_PACKAGE_CLI")) {
goto UMKtb;
}
goto Pl4zd;
Jiisl:
T2icx:
goto UnCTT;
V3mc8:
UMKtb:
goto s8ZBK;
wrdqW:
$this->session->data["seopackage_processed"]++;
goto HM_1i;
zBJkO:
goto Y7jv_;
goto pVGvU;
lo1jY:
$mlxgN = str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1);
goto S_S6t;
HZcFk:
$this->db->query("INSERT INTO " . DB_PREFIX . "url_redirect SET query = '" . $this->db->escape($mlxgN) . "', redirect = '" . $this->db->escape($uRsNb) . "', language_id = '" . (int) $cEX8Y . "'");
goto NalpZ;
Xy_Qp:
if (!$QIJ2v) {
goto cMVrG;
}
goto gkXhD;
NijJw:
Y7jv_:
goto lo1jY;
tLp9c:
$QIJ2v = 1;
goto wXrTB;
S_S6t:
$uRsNb = $jw1cu . "&" . $T7SSU . "=" . $vLCNO[$T7SSU];
goto aJxWQ;
HlZ2r:
$this->config->set("application", "Admin");
goto NijJw;
pOiK4:
cMVrG:
goto kpWxx;
kpWxx:
cQje2:
goto RxUr8;
wNtLu:
tK_S2:
goto rC7q_;
AjL8V:
if ($WzL4Y) {
goto wUKxJ;
}
goto HZcFk;
Xj8o0:
goto tK_S2;
goto csERz;
ryGUN:
$this->config->set("application", "Catalog");
goto mXzKY;
RxUr8:
V30En:
goto PHS0e;
Pl4zd:
$pU5UN["rows"][] = array("link" => str_replace(HTTP_SERVER, "../", $Z5vp1), "name" => str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1), "old_value" => '', "value" => $uRsNb, "changed" => $QIJ2v);
goto V3mc8;
aX_ZS:
if ($xOGt5["count"]) {
goto WEs3j;
}
goto AjL8V;
csERz:
WEs3j:
goto fa1Ui;
NalpZ:
wUKxJ:
goto tLp9c;
gkXhD:
$this->log("redirect." . $f_XEr . ": " . $mlxgN . " => " . str_replace(HTTP_SERVER, "../", $Z5vp1));
goto pOiK4;
mXzKY:
$this->load->model("design/seo_url");
goto I9IOv;
s8ZBK:
if (!defined("SEO_PACKAGE_CLI")) {
goto cQje2;
}
goto Xy_Qp;
v0Xdk:
require_once DIR_CATALOG . "model/design/seo_url.php";
goto ryGUN;
PHS0e:
}
goto gYNhn;
QOOVW:
}
goto YLJvq;
hw6_F:
$cHoqT = $this->model_localisation_language->getLanguages();
goto r6XyT;
bk3PC:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto v0MKs;
YLJvq:
vzhcW:
goto w0_i9;
pLxAL:
}
public function generator_report($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto V2igG;
g0EyQ:
S7gDF:
goto QqSAh;
MiKqb:
goto x8QmH;
goto gzlKp;
tSD8K:
$pU5UN["lang_img"] = '';
goto VxhRO;
xXDbj:
$data["col2"] = $this->language->get("text_keyword");
goto PBC_P;
yZKLQ:
goto YTha_;
goto lWq0S;
FOB_6:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode) {
goto GN0Id;
}
goto hHmKO;
v7qRD:
if ($this->ml_mode && $this->config->get("mlseo_duplicate")) {
goto rcxMo;
}
goto lViXx;
QqSAh:
if (version_compare(VERSION, "4", ">=")) {
goto Y8Cfk;
}
goto gnrZR;
oXnzX:
x8QmH:
goto TzgJX;
a4BPI:
$uK3_t = $this->db->query("SELECT `key`, `value`, `keyword` FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = ''")->rows;
goto cRejK;
gLdyj:
$yiAWR = " WHERE store_id = " . (int) $this->store . " ";
goto g0EyQ;
PBC_P:
$data["col3"] = $this->language->get("text_status");
goto N49I5;
h_Teh:
$uK3_t = $this->db->query("SELECT query, keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = ''")->rows;
goto ykh_I;
yy1UA:
gNOZL:
goto oXnzX;
N49I5:
if (version_compare(VERSION, "4", ">=")) {
goto Ffbiv;
}
goto h_Teh;
klsid:
Ffbiv:
goto a4BPI;
Qz8Mm:
YTha_:
goto MiKqb;
ykh_I:
goto EWBsX;
goto klsid;
Z6ZDF:
$pU5UN["rows"] = array();
goto UlJDc;
xOrJc:
goto S7gDF;
goto bwVVM;
UlJDc:
$data["nohidecol"] = true;
goto VViq5;
l3QL6:
goto gNOZL;
goto K3j2K;
gzlKp:
Y8Cfk:
goto v7qRD;
ZgPwf:
$data["col1"] = $this->language->get("text_query");
goto xXDbj;
IUUyJ:
foreach ($uK3_t as $Z5vp1) {
goto d2mx4;
jAOT2:
P2ZWY:
goto k473y;
gu3j6:
$Z5vp1["query"] = $Z5vp1["key"] . "=" . $Z5vp1["value"];
goto jAOT2;
PbRjt:
iNoGt:
goto uUfW0;
d2mx4:
if (!version_compare(VERSION, "4", ">=")) {
goto P2ZWY;
}
goto gu3j6;
k473y:
$pU5UN["rows"][] = array("name" => $Z5vp1["query"], "old_value" => $Z5vp1["keyword"], "value" => '<span style="color:#C94644">' . $this->language->get("text_empty") . '</span>', "changed" => 0);
goto PbRjt;
uUfW0:
}
goto lgOH5;
a2RNo:
$uK3_t = $this->db->query("SELECT count(*) AS count, CONCAT(`key`, `value`) AS query, keyword, language_id FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword, language_id")->rows;
goto yy1UA;
TzgJX:
foreach ($uK3_t as $Z5vp1) {
goto z5zUz;
MBLk1:
$O07pM = $this->db->query("SELECT query, keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = '" . $Z5vp1["keyword"] . "'")->rows;
goto xzKrU;
RfCq8:
$O07pM = $this->db->query("SELECT CONCAT(`key`, `value`) AS query, keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = '" . $Z5vp1["keyword"] . "'")->rows;
goto DWkNU;
hlb52:
i3oBG:
goto RfCq8;
QaeeK:
WCu52:
goto Dm10L;
cUL_Y:
if (version_compare(VERSION, "4", ">=")) {
goto i3oBG;
}
goto MBLk1;
xzKrU:
goto qmETz;
goto hlb52;
DWkNU:
qmETz:
goto PxLmp;
Dm10L:
dqf1e:
goto D2xwm;
D2xwm:
B3o2_:
goto lDhD0;
PxLmp:
foreach ($O07pM as $Ehiro) {
$pU5UN["rows"][] = array("name" => $Ehiro["query"], "old_value" => $Ehiro["keyword"], "value" => '<span style="color:#82669B">' . $this->language->get("text_duplicate") . "</span>", "changed" => 0);
LyTBE:
}
goto QaeeK;
z5zUz:
if (!($Z5vp1["keyword"] && $Z5vp1["count"] > 1)) {
goto dqf1e;
}
goto cUL_Y;
lDhD0:
}
goto aGU4W;
lWq0S:
aypIQ:
goto YfAPy;
pJa0u:
$data["langs"][0] =& $pU5UN;
goto rdb3W;
VViq5:
$data["hidesim"] = true;
goto ZgPwf;
bwVVM:
GN0Id:
goto gLdyj;
K3j2K:
rcxMo:
goto a2RNo;
lgOH5:
M2UQo:
goto FOB_6;
rdb3W:
return $data;
goto f3lLu;
YfAPy:
$uK3_t = $this->db->query("SELECT count(*) AS count, query, keyword, language_id FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword, language_id")->rows;
goto Qz8Mm;
cRejK:
EWBsX:
goto IUUyJ;
hHmKO:
$yiAWR = '';
goto xOrJc;
gnrZR:
if ($this->ml_mode && $this->config->get("mlseo_duplicate")) {
goto aypIQ;
}
goto UuXt2;
lViXx:
$uK3_t = $this->db->query("SELECT count(*) AS count, CONCAT(`key`, `value`) AS query, keyword FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword")->rows;
goto l3QL6;
VxhRO:
$pU5UN["no_old"] = true;
goto Z6ZDF;
UuXt2:
$uK3_t = $this->db->query("SELECT count(*) AS count, query, keyword FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword")->rows;
goto yZKLQ;
aGU4W:
SLWhS:
goto pJa0u;
V2igG:
$pU5UN = $data = array();
goto tSD8K;
f3lLu:
}
public function generator_links($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto nqUiX;
I_Iws:
return $data;
goto v9vEa;
A0m1I:
WZSas:
goto Eq4yB;
RoAyR:
$this->load->model("localisation/language");
goto EFg1W;
m1NJU:
foreach ($cHoqT as $nDDFl) {
goto NdWVS;
NdWVS:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto F81W8;
UpPeq:
IfK3G:
goto T0OKP;
Z5RDh:
H9L8p:
goto UpPeq;
deUfb:
goto H9L8p;
goto sDTs3;
wpbLZ:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto deUfb;
sDTs3:
dcf98:
goto t9mGC;
t9mGC:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto Z5RDh;
F81W8:
if (version_compare(VERSION, "2.2", ">=")) {
goto dcf98;
}
goto wpbLZ;
T0OKP:
}
goto A0m1I;
WKaa7:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto RoAyR;
nqUiX:
$data = array();
goto WKaa7;
u8cYY:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto iPjE2;
r1yXU:
$data["langs"][$cEX8Y] = $pU5UN;
goto Zt3Dy;
ffppE:
goto cYV7E;
goto Pdsq0;
lJ8EC:
vs6d9:
goto ibRB3;
khrUG:
if ($YRwDl == "category") {
goto G0NF6;
}
goto cDLmz;
R1iOM:
goto vs6d9;
goto fp2Z9;
ibRB3:
foreach ($kU4lM as $vLCNO) {
goto WYGzs;
RXOvn:
$this->log("internal_links: " . $Z5vp1 . " => " . implode(", ", $oHbOL));
goto mnxQ0;
b3B7N:
$mlxgN = str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1);
goto LJ1cu;
vCOHQ:
$this->session->data["seopackage_updated"]++;
goto mOfqu;
y0_kZ:
if (!$QIJ2v) {
goto FMcKU;
}
goto RXOvn;
f6vWK:
HqEJj:
goto rZ5eh;
LJ1cu:
if (!empty($vLCNO[$flqEP])) {
goto XUbcX;
}
goto s971j;
mnxQ0:
FMcKU:
goto T9DBJ;
s971j:
goto DIEnc;
goto BqAQH;
sawiu:
uTuzp:
goto lasRz;
BqAQH:
XUbcX:
goto U_ljQ;
QxlHw:
if (!defined("SEO_PACKAGE_CLI")) {
goto kKDU5;
}
goto y0_kZ;
lasRz:
if (!empty($oHbOL)) {
goto HqEJj;
}
goto yETl9;
T9DBJ:
kKDU5:
goto Uu_BY;
Kqr0O:
$this->config->set("config_store_id", $this->store);
goto VOs7W;
VOs7W:
$Z5vp1 = $this->front_url->link($jw1cu, $YRwDl . "_id=" . $vLCNO[$YRwDl . "_id"]);
goto b3B7N;
QwgPq:
$oHbOL = $d2HE3 = array();
goto q7Qyw;
Uu_BY:
DIEnc:
goto aueI4;
U_ljQ:
$QIJ2v = 0;
goto QwgPq;
Bs9ne:
foreach ($n8Uf3 as $qdlc1) {
goto Bbjyx;
N5uFk:
SSjxE:
goto pxpu8;
fly0L:
ZiulA:
goto y_zGm;
zfT2J:
Nmqz9:
goto Sfq4L;
KsfF5:
$oHbOL[] = $qdlc1[$YRwDl . "_id"];
goto l2oLv;
wUjCe:
preg_match_all("/(?:<a.+?>)?\b" . preg_quote($vLCNO[$flqEP], "/") . "\b(?:<\/a>)?/", $upJeN, $nAxei);
goto pwyVi;
pwyVi:
if (!empty($nAxei)) {
goto ZiulA;
}
goto y_zgI;
Bbjyx:
$upJeN = $qdlc1["description"];
goto wUjCe;
y_zGm:
foreach ($nAxei as $kkgBP) {
goto aLBJ4;
YLXbI:
goto fA6cx;
goto bMupe;
bMupe:
BdGD1:
goto eB62U;
eB62U:
$U_eEP = str_replace($kkgBP[0], '<a href="' . $Z5vp1 . '">' . $vLCNO[$flqEP] . "</a>", $upJeN);
goto f2Eog;
aLBJ4:
if (!empty($kkgBP[0])) {
goto BdGD1;
}
goto YLXbI;
f2Eog:
fA6cx:
goto YccJ7;
YccJ7:
}
goto JOza1;
dVYoP:
$this->db->query("UPDATE " . DB_PREFIX . $YRwDl . "_description SET description = '" . $this->db->escape($U_eEP) . "' WHERE " . $YRwDl . "_id = '" . (int) $qdlc1[$YRwDl . "_id"] . "' AND language_id = '" . (int) $cEX8Y . "'");
goto N5uFk;
JOza1:
ePrfo:
goto KsfF5;
AuxZr:
if (!($upJeN != $U_eEP)) {
goto IDQNf;
}
goto XoEZ7;
A32Cg:
IDQNf:
goto zfT2J;
XoEZ7:
if ($WzL4Y) {
goto SSjxE;
}
goto dVYoP;
y_zgI:
goto Nmqz9;
goto fly0L;
pxpu8:
$QIJ2v = 1;
goto A32Cg;
l2oLv:
$d2HE3[] = '<a href="' . $this->url->link("catalog/" . $YRwDl . "/edit", $YRwDl . "_id=" . $qdlc1[$YRwDl . "_id"] . "&" . $this->token) . '">' . $qdlc1[$YRwDl . "_id"] . '</a>';
goto AuxZr;
Sfq4L:
}
goto sawiu;
iV_Mj:
$pU5UN["rows"][] = array("link" => $this->url->link("catalog/" . $YRwDl . "/edit", $YRwDl . "_id=" . $vLCNO[$YRwDl . "_id"] . "&" . $this->token), "name" => $vLCNO["name"], "old_value" => $Z5vp1, "value" => ($QIJ2v ? "Added link into: " : "Link exists into: ") . implode(", ", $d2HE3), "changed" => $QIJ2v);
goto wgE1U;
mOfqu:
e4N9H:
goto oktFz;
oktFz:
if (defined("SEO_PACKAGE_CLI")) {
goto DkJg7;
}
goto iV_Mj;
wgE1U:
DkJg7:
goto QxlHw;
q7Qyw:
$n8Uf3 = $this->db->query("SELECT * FROM " . DB_PREFIX . $YRwDl . "_description WHERE description LIKE '%" . $this->db->escape($vLCNO[$flqEP]) . "%' AND language_id = '" . (int) $cEX8Y . "'")->rows;
goto Bs9ne;
yETl9:
goto DIEnc;
goto f6vWK;
WYGzs:
$this->session->data["seopackage_processed"]++;
goto Kqr0O;
rZ5eh:
if (!$QIJ2v) {
goto e4N9H;
}
goto vCOHQ;
aueI4:
}
goto lGOmu;
Zt3Dy:
$data["langs"][$cEX8Y]["count"] = count($pU5UN["rows"]);
goto S3uum;
OZpLH:
$pU5UN["no_old"] = true;
goto HDnPY;
XGdR1:
$kU4lM = $this->getCategories(0, '', " LIMIT " . $this->start . "," . $this->limit);
goto lJ8EC;
JF158:
$data["langs"][$cEX8Y]["lang_img"] = false;
goto ffppE;
GYVYJ:
QHcri:
goto NsJ9T;
zDqLO:
$this->total_items = $Yu8kb["total"];
goto khrUG;
rhD_9:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . $YRwDl)->row;
goto zDqLO;
Lz9d8:
o3_s1:
goto f2Gr2;
HOmVY:
$this->config->set("config_language_id", (int) $cEX8Y);
goto zL0z4;
F2Vg8:
$YRwDl = $f_XEr;
goto tsnOv;
cDLmz:
$kU4lM = $this->db->query("SELECT * FROM " . DB_PREFIX . $YRwDl . "_description ORDER BY " . $flqEP . " LIMIT " . $this->start . "," . $this->limit)->rows;
goto R1iOM;
bSXxS:
$this->session->data["language"] = $FoZfU[$cEX8Y];
goto F2Vg8;
f2Gr2:
n7ywU:
goto rhD_9;
l33aP:
$this->config->set("mlseo_cache", false);
goto HOmVY;
HDnPY:
$pU5UN["rows"] = array();
goto l33aP;
Pdsq0:
ubWTo:
goto GYVYJ;
zL0z4:
$this->config->set("config_language", $FoZfU[$cEX8Y]);
goto bSXxS;
iPjE2:
$pU5UN = array();
goto MzNIL;
tsnOv:
switch ($YRwDl) {
case "information":
goto Tz6mn;
Tz6mn:
$jw1cu = "information/information";
goto Q9EZj;
Q9EZj:
$flqEP = $T7SSU = "information_id";
goto TF9PD;
TF9PD:
goto n7ywU;
goto k6NI9;
k6NI9:
case "product":
goto KUHSW;
TBPys:
goto n7ywU;
goto A30Ul;
P2YIs:
$flqEP = $T7SSU = "name";
goto TBPys;
KUHSW:
$jw1cu = "product/product";
goto P2YIs;
A30Ul:
case "category":
goto B2AKQ;
MFyee:
goto n7ywU;
goto M4ayj;
B2AKQ:
$jw1cu = "product/category";
goto uqgwB;
uqgwB:
$flqEP = "category_id";
goto FIrId;
FIrId:
$T7SSU = "path";
goto MFyee;
M4ayj:
case "manufacturer":
goto aHKM2;
WigH0:
goto n7ywU;
goto gUM7h;
drHzC:
$flqEP = $T7SSU = "manufacturer_id";
goto WigH0;
aHKM2:
$jw1cu = "product/manufacturer/info";
goto drHzC;
gUM7h:
}
goto Lz9d8;
fp2Z9:
G0NF6:
goto XGdR1;
lGOmu:
YTb4W:
goto r1yXU;
MzNIL:
$pU5UN["lang_img"] = $Z2o6y[$cEX8Y];
goto OZpLH;
S3uum:
if (!($YRwDl == "manufacturer")) {
goto ubWTo;
}
goto JF158;
NsJ9T:
}
goto jsjco;
EFg1W:
$cHoqT = $this->model_localisation_language->getLanguages();
goto m1NJU;
Eq4yB:
$f_XEr = "product";
goto u8cYY;
jsjco:
cYV7E:
goto I_Iws;
v9vEa:
}
public function generator_robots($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto wswes;
heay8:
fmcf2:
goto jlN_q;
vOPSM:
foreach ($NyfhL as $pEZzo) {
goto uDokv;
uDokv:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto UlqFO;
SnOSP:
PewxB:
goto LO8hQ;
w6yD1:
$this->session->data["language"] = $FoZfU[$cEX8Y];
goto PvSMt;
Ydl7F:
$pU5UN["rows"][] = array("name" => '', "old_value" => '', "value" => "Disallow: " . $Z5vp1, "changed" => 0);
goto SnOSP;
UlqFO:
$this->config->set("config_language_id", (int) $cEX8Y);
goto nKiFt;
hDoKo:
$Z5vp1 = str_replace(array(HTTP_CATALOG, HTTPS_CATALOG), "/", $this->front_url->link("product/product", "product_id=" . $pEZzo["product_id"]));
goto KQkR4;
nKiFt:
$this->config->set("config_language", $FoZfU[$cEX8Y]);
goto w6yD1;
MW3Ji:
$this->config->set("config_store_id", $this->store);
goto hDoKo;
PvSMt:
$this->session->data["seopackage_processed"]++;
goto MW3Ji;
KQkR4:
fwrite($mSiFi, "
" . "Disallow: " . $Z5vp1);
goto Ydl7F;
LO8hQ:
}
goto fnfFb;
fnfFb:
v3_4A:
goto Lg0X7;
Lg0X7:
YawPQ:
goto w95xj;
w95xj:
}
goto dxeuV;
vy9Qa:
$this->load->model("localisation/language");
goto JTHIE;
GotZ6:
$pU5UN["lang_img"] = '';
goto ImoTQ;
vDp2J:
$pU5UN["rows"][] = array("name" => '', "old_value" => '', "value" => nl2br($bUZUK), "changed" => 0);
goto cUhpf;
wcviw:
fclose($mSiFi);
goto kp67U;
eHTNM:
$data["col1"] = $this->language->get("text_query");
goto ELu6Y;
CHJQ1:
fwrite($mSiFi, $bUZUK);
goto vTlWS;
kp67U:
hPVWA:
goto GGZAC;
cUhpf:
$NyfhL = $this->db->query("SELECT product_id FROM " . DB_PREFIX . "product WHERE meta_robots IN ('noindex', 'none')")->rows;
goto vOPSM;
wLb0V:
if ($WzL4Y) {
goto YYDzs;
}
goto CHJQ1;
R5eUL:
$data["col3"] = $this->language->get("text_status");
goto vy9Qa;
dxeuV:
TisxJ:
goto A2NMk;
A2NMk:
if ($WzL4Y) {
goto hPVWA;
}
goto wcviw;
f5o3c:
return $data;
goto hyyxi;
m0kmU:
tTuQw:
goto x9rhS;
Y46ck:
$pU5UN["no_main"] = true;
goto wbhrO;
Yyne9:
$data["nohidecol"] = true;
goto fCqoq;
ImoTQ:
$pU5UN["no_old"] = true;
goto Y46ck;
jlN_q:
$bUZUK = "User-agent: *\xaDisallow: /*?route=checkout/
Disallow: /*?route=account/
Disallow: /*?route=affiliate/\xaDisallow: /*?route=product/search
Disallow: /*&limit\xaDisallow: /*?limit\xaDisallow: /*?sort\xaDisallow: /*&sort\xaDisallow: /*?order\xaDisallow: /*&order
Disallow: /*?price
Disallow: /*&price\xaDisallow: /*?mode\xaDisallow: /*&mode
Disallow: /*?cat
Disallow: /*&cat
Disallow: /*?dir\xaDisallow: /*&dir
Disallow: /*?color\xaDisallow: /*&color
Disallow: /*?product_id
Disallow: /*&product_id
Disallow: /*?minprice
Disallow: /*&minprice
Disallow: /*?maxprice\xaDisallow: /*&maxprice
Disallow: /*?page=1\xaDisallow: /*&create=1\xaDisallow: /*?keyword\xaDisallow: /*?av
\xaSitemap: " . HTTP_CATALOG . "sitemap.xml";
goto wLb0V;
x9rhS:
if ($WzL4Y) {
goto fmcf2;
}
goto mqXu9;
I0qId:
foreach ($cHoqT as $nDDFl) {
goto mA4yL;
fg5Xb:
ljarJ:
goto RY7yL;
nrzvR:
goto ljarJ;
goto rPanG;
RY7yL:
wzQ7D:
goto kqkFH;
rPanG:
Um0PB:
goto utfN1;
utfN1:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto fg5Xb;
o7wip:
if (version_compare(VERSION, "2.2", ">=")) {
goto Um0PB;
}
goto dbTlT;
dbTlT:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto nrzvR;
mA4yL:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto o7wip;
kqkFH:
}
goto m0kmU;
wswes:
$pU5UN = $data = array();
goto GotZ6;
ELu6Y:
$data["col2"] = $this->language->get("text_keyword");
goto R5eUL;
GGZAC:
$data["langs"][0] =& $pU5UN;
goto f5o3c;
vTlWS:
YYDzs:
goto vDp2J;
wbhrO:
$pU5UN["rows"] = array();
goto Yyne9;
fCqoq:
$data["hidesim"] = true;
goto eHTNM;
JTHIE:
$cHoqT = $this->model_localisation_language->getLanguages();
goto I0qId;
mqXu9:
$mSiFi = fopen(DIR_CATALOG . "../robots.txt", "w") or die("robots.txt can not be written, please check rights");
goto heay8;
hyyxi:
}
protected function getCategories($DTCMU, $cTqzj = '', $V0uIu = '')
{
goto caxkY;
KVZq0:
$CZPba = array();
goto TJoAJ;
g9R4F:
$T7SSU = "path";
goto KVZq0;
ceSrS:
$flqEP = "category_id";
goto g9R4F;
sS1fo:
foreach ($e7DRu as $GgSL6) {
goto sfrZX;
sfrZX:
if (!$cTqzj) {
goto aVW06;
}
goto dt396;
mOCmQ:
$CZPba[] = array("category_id" => $GgSL6["category_id"], "path" => $mC5EU);
goto aFlWO;
dt396:
$mC5EU = $cTqzj . "_" . $GgSL6["category_id"];
goto ylc_v;
roh42:
qEEDg:
goto KW_Us;
Kr5Ak:
CCiFM:
goto mOCmQ;
aFlWO:
$CZPba = array_merge($CZPba, $this->getCategories($GgSL6["category_id"], $mC5EU));
goto roh42;
n0j0O:
aVW06:
goto MxyAR;
MxyAR:
$mC5EU = $GgSL6["category_id"];
goto Kr5Ak;
ylc_v:
goto CCiFM;
goto n0j0O;
KW_Us:
}
goto j2Th5;
j2Th5:
dtxvY:
goto Xro2_;
caxkY:
$jw1cu = "product/category";
goto ceSrS;
Xro2_:
return $CZPba;
goto g9nP8;
TJoAJ:
$e7DRu = $this->db->query("SELECT category_id FROM " . DB_PREFIX . "category WHERE parent_id = " . (int) $DTCMU . " ORDER BY " . $flqEP . $V0uIu)->rows;
goto sS1fo;
g9nP8:
}
public function generator_cache($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto rTyw5;
hrJg8:
foreach ($cHoqT as $nDDFl) {
goto kl98m;
LY5R2:
CjrVE:
goto guOp7;
kl98m:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto eaxJe;
jUEZR:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto ZhyxW;
ZhyxW:
goto iE1Mf;
goto LY5R2;
eaxJe:
if (version_compare(VERSION, "2.2", ">=")) {
goto CjrVE;
}
goto jUEZR;
t95_d:
iE1Mf:
goto ODQz5;
ODQz5:
QjrsM:
goto Z3ALb;
guOp7:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto t95_d;
Z3ALb:
}
goto Z2JGp;
j4X_9:
return $data;
goto jwXy5;
AdS8w:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto kGx2B;
SO3Bp:
$data["langs"][$cEX8Y] = $pU5UN;
goto qKxqh;
qKxqh:
$data["langs"][$cEX8Y]["count"] = count($pU5UN["rows"]);
goto FogUu;
S4Q8t:
$pU5UN["rows"] = array();
goto lhFos;
FOe7W:
foreach ($pbwyP as $YRwDl) {
goto Kl7Vq;
eQF0d:
$this->total_items += $Yu8kb["total"];
goto eNrWh;
fve2u:
pZgeT:
goto qyD1P;
eNrWh:
$kU4lM = $this->db->query("SELECT " . $flqEP . ", seo_keyword, language_id FROM " . DB_PREFIX . $YRwDl . "_description WHERE language_id=" . (int) $cEX8Y . " ORDER BY " . $flqEP . " LIMIT " . $this->start . "," . $this->limit)->rows;
goto eqJua;
Kl7Vq:
switch ($YRwDl) {
case "information":
goto oGqYC;
MvAnH:
$flqEP = $T7SSU = "information_id";
goto xqhQI;
oGqYC:
$jw1cu = "information/information";
goto MvAnH;
xqhQI:
goto mI3Cm;
goto I6ZYc;
I6ZYc:
case "product":
goto WevxJ;
q2z5r:
$flqEP = $T7SSU = "product_id";
goto PrvCp;
WevxJ:
$jw1cu = "product/product";
goto q2z5r;
PrvCp:
goto mI3Cm;
goto l5YIs;
l5YIs:
case "category":
goto jjagI;
jjagI:
$jw1cu = "product/category";
goto FV8kR;
FV8kR:
$flqEP = "category_id";
goto uiim3;
qgPLR:
goto mI3Cm;
goto bVHpI;
uiim3:
$T7SSU = "path";
goto qgPLR;
bVHpI:
}
goto q3QIL;
eqJua:
foreach ($kU4lM as $vLCNO) {
goto NJIuz;
NJIuz:
$Z5vp1 = $this->front_url->link($jw1cu, $T7SSU . "=" . $vLCNO[$flqEP]);
goto abOfR;
tf9Ly:
nuHcs:
goto uh3fG;
abOfR:
$pU5UN["rows"][] = array("link" => str_replace(HTTP_SERVER, "../", $Z5vp1), "name" => "index.php?route=" . $jw1cu . "&" . $T7SSU . "=" . $vLCNO[$flqEP], "old_value" => '', "value" => str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1), "changed" => 0);
goto sTsFA;
KSVYj:
t0qE_:
goto tf9Ly;
r8lfF:
$UewTa = $this->{self::$MODEL_PATH . "tool_seo_package"}->getFullProductPaths($vLCNO["product_id"]);
goto X45HH;
X45HH:
foreach ($UewTa as $ifjIK) {
goto Il_Ip;
N9w0i:
$pU5UN["rows"][] = array("link" => str_replace(HTTP_SERVER, "../", $Z5vp1), "name" => "index.php?route=product/product&path=" . $ifjIK . "&product_id=" . $vLCNO["product_id"], "old_value" => '', "value" => str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1), "changed" => 0);
goto S59I4;
Il_Ip:
$Z5vp1 = $this->front_url->link("product/product", "path=" . $ifjIK . "&product_id=" . $vLCNO["product_id"]);
goto N9w0i;
S59I4:
VZ3TX:
goto gWQIy;
gWQIy:
}
goto KSVYj;
uh3fG:
Ydbs8:
goto RX0Vd;
sTsFA:
if (!($YRwDl == "product")) {
goto nuHcs;
}
goto r8lfF;
RX0Vd:
}
goto RPp8G;
q3QIL:
VEQ6V:
goto vTtD2;
vTtD2:
mI3Cm:
goto eRBmX;
eRBmX:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . $YRwDl . "_description WHERE language_id=" . (int) $cEX8Y)->row;
goto eQF0d;
RPp8G:
BYnsz:
goto fve2u;
qyD1P:
}
goto neGlw;
xUgWs:
$this->config->set("config_language_id", (int) $cEX8Y);
goto I261k;
S3FAL:
$pbwyP = array("product", "information");
goto Gy0Mf;
xrXrz:
$pU5UN["lang_img"] = $Z2o6y[$cEX8Y];
goto qPEPR;
OzHov:
$this->session->data["language"] = $FoZfU[$cEX8Y];
goto S3FAL;
qPEPR:
$pU5UN["no_old"] = true;
goto S4Q8t;
Gy0Mf:
$this->total_items = 0;
goto FOe7W;
lhFos:
Powercache::delete("seo_rewrite." . (int) $cEX8Y);
goto xUgWs;
FogUu:
ugxAv:
goto vqZeR;
kGx2B:
$pU5UN = array();
goto xrXrz;
neGlw:
FsClq:
goto SO3Bp;
I261k:
$this->config->set("config_language", $FoZfU[$cEX8Y]);
goto OzHov;
vqZeR:
}
goto MQozM;
AMM2e:
$pU5UN = array();
goto HPsWz;
xpemg:
return $data;
goto CbdqA;
W6XKd:
$pU5UN["rows"] = array();
goto LSwWs;
lysZe:
fDdx1:
goto WfYJd;
Z2JGp:
maSHx:
goto wnO5c;
CbdqA:
Kp8F6:
goto TRYZN;
QAF8o:
$this->load->model("localisation/language");
goto Y4s9F;
iLy9C:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto QAF8o;
R_FoT:
$pU5UN["no_old"] = true;
goto W6XKd;
TRYZN:
$data["simulate"] = false;
goto AdS8w;
LSwWs:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto LwW8O;
p3diW:
if (!$qdlc1) {
goto Pd2Nv;
}
goto JKMmP;
zv6On:
Pd2Nv:
goto qcB8p;
qcB8p:
NGE57:
goto Kx2lm;
LwW8O:
$qdlc1 = Powercache::delete("seo_rewrite." . (int) $cEX8Y);
goto p3diW;
JKMmP:
$pU5UN["rows"][] = array("link" => 0, "name" => "/system/cache/pcache.seo_rewrite." . $cEX8Y, "old_value" => '', "value" => $this->language->get("text_deleted"), "changed" => 0);
goto zv6On;
Kx2lm:
}
goto lysZe;
Y4s9F:
$cHoqT = $this->model_localisation_language->getLanguages();
goto hrJg8;
W72Yk:
$data["langs"][$cEX8Y]["count"] = count($pU5UN["rows"]);
goto xpemg;
HPsWz:
$pU5UN["lang_img"] = '';
goto R_FoT;
wnO5c:
if (!($f_XEr == "delete")) {
goto Kp8F6;
}
goto AMM2e;
WfYJd:
$data["langs"][$cEX8Y] = $pU5UN;
goto W72Yk;
MQozM:
oKUyJ:
goto j4X_9;
rTyw5:
$data = array();
goto iLy9C;
jwXy5:
}
public function generator_cleanup($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto JJm2d;
ghT79:
y8JsS:
goto kOpSS;
An72f:
$this->db->query("UPDATE `" . DB_PREFIX . "product_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'product_id=%' AND d.product_id = REPLACE(u.query, 'product_id=', '')");
goto Fv4hY;
yC4NL:
X72y2:
goto WsjMn;
GOHCO:
J0_Pa:
goto mcXO_;
g7_o7:
L5v7F:
goto zxEoV;
RLUCD:
$uANXf = '';
goto EulGq;
QaQHX:
if ($WzL4Y) {
goto WvqzF;
}
goto vNcz5;
cT6vx:
foreach ($uK3_t as $Z5vp1) {
$pU5UN["rows"][] = array("name" => $Z5vp1["query"] . " (" . $Z5vp1["keyword"] . ")", "old_value" => '', "value" => "Fix assigned language ID", "changed" => 0);
IyxvJ:
}
goto en725;
hGoW_:
L6Wig:
goto jDLkt;
I2vmm:
$pU5UN["rows"] = array();
goto hQJF3;
YBZUE:
$uK3_t = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE (query LIKE 'category_id=%' OR query LIKE 'product_id=%' OR query LIKE 'information_id=%' OR query LIKE 'route=%') AND language_id=0")->rows;
goto Rm4nr;
PNf8y:
if (!($f_XEr == "duplicate")) {
goto X72y2;
}
goto QCzT7;
uHmFd:
$pU5UN["lang_img"] = '';
goto ecYr3;
ecYr3:
$pU5UN["no_old"] = true;
goto I2vmm;
Hl0Wj:
nM95Y:
goto cT6vx;
gtdSZ:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode) {
goto x29lA;
}
goto gx_A4;
QB24h:
HbyyR:
goto BptJa;
Ev_Hc:
if (version_compare(VERSION, "4", ">=")) {
goto aGUyX;
}
goto YBZUE;
aoOIA:
if (!(!$WzL4Y && false)) {
goto MelF4;
}
goto An72f;
S5ZVg:
$data["langs"][0]["count"] = count($uK3_t);
goto hGoW_;
xL1wD:
$uANXf = " AND store_id = " . (int) $this->store . " ";
goto ghT79;
WsjMn:
goto L6Wig;
goto QB24h;
P6Y8T:
x29lA:
goto GxnMo;
VsZv1:
ytj6Q:
goto QO7Es;
YtXoB:
$data["col1"] = $this->language->get("text_query");
goto b6GQ9;
Rm4nr:
goto lLv5A;
goto oXm3W;
Fv4hY:
$this->db->query("UPDATE `" . DB_PREFIX . "category_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'category_id=%' AND d.category_id = REPLACE(u.query, 'category_id=', '')");
goto bRB1Q;
Ycy3v:
$this->db->query("UPDATE " . DB_PREFIX . $this->url_alias . " SET language_id = " . (int) $this->config->get("config_language_id") . " WHERE (query LIKE 'category_id=%' OR query LIKE 'product_id=%' OR query LIKE 'information_id=%' OR query LIKE 'route=%') AND language_id=0");
goto OpQp_;
kOpSS:
if ($this->ml_mode) {
goto J0_Pa;
}
goto S2btt;
LcNjg:
$data["col3"] = $this->language->get("text_status");
goto SUrrV;
JJm2d:
$pU5UN = $data = array();
goto uHmFd;
magm4:
MelF4:
goto QaQHX;
Mo9z4:
goto He2ue;
goto GRi34;
wthel:
$uK3_t = array();
goto QwcGO;
BptJa:
if ($this->ml_mode) {
goto cOCMC;
}
goto wthel;
jDLkt:
return $data;
goto HkGrW;
GxnMo:
$yiAWR = " WHERE store_id = " . (int) $this->store . " ";
goto xL1wD;
oXm3W:
aGUyX:
goto vwLON;
bRB1Q:
$this->db->query("UPDATE `" . DB_PREFIX . "information_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'information_id=%' AND d.information_id = REPLACE(u.query, 'information_id=', '')");
goto TOwzc;
EulGq:
goto y8JsS;
goto P6Y8T;
j3Ij6:
$this->db->query("UPDATE `" . DB_PREFIX . "information_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'information_id=%' AND d.information_id = REPLACE(u.query, 'information_id=', '') AND d.language_id = u.language_id");
goto mYo4E;
R9Bac:
$data["langs"][0] =& $pU5UN;
goto S5ZVg;
en725:
FKNC6:
goto aoOIA;
b6GQ9:
$data["col2"] = $this->language->get("text_keyword");
goto LcNjg;
SUrrV:
$FsrVC = 0;
goto gtdSZ;
S2btt:
$uK3_t = $this->db->query("SELECT count(*) AS count, query, keyword FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword")->rows;
goto MR5BN;
QO7Es:
$data["langs"][0] =& $pU5UN;
goto QrevE;
MR5BN:
goto L5v7F;
goto GOHCO;
FqDd9:
$this->db->query("UPDATE `" . DB_PREFIX . "category_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'category_id=%' AND d.category_id = REPLACE(u.query, 'category_id=', '') AND d.language_id = u.language_id");
goto j3Ij6;
mYo4E:
g1S4a:
goto magm4;
QwcGO:
goto nM95Y;
goto xDSnI;
zxEoV:
foreach ($uK3_t as $Z5vp1) {
goto oywVZ;
m9v3k:
$JwId8 = $this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $Z5vp1["query"] . "' AND keyword = '" . $Z5vp1["keyword"] . "' AND language_id = '" . $Z5vp1["language_id"] . "' " . $uANXf . " LIMIT " . ($Z5vp1["count"] - 1));
goto l1KiF;
dgmFS:
$pU5UN["rows"][] = array("name" => $Z5vp1["query"], "old_value" => $Z5vp1["keyword"], "value" => $this->language->get("text_deleted"), "changed" => 0);
goto tvcuX;
eoYwQ:
nG1vF:
goto vvj8a;
hQpRU:
jFFKB:
goto m9v3k;
tvcuX:
$FsrVC++;
goto V5JNL;
AszSt:
exmCi:
goto dgmFS;
l6my7:
lzctF:
goto FKAXW;
Ypo6t:
$JwId8 = $this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = '" . $OkVUP . "' AND `value` = '" . $CGCGs . "' AND keyword = '" . $Z5vp1["keyword"] . "' AND language_id = '" . $Z5vp1["language_id"] . "' " . $uANXf . " LIMIT " . ($Z5vp1["count"] - 1));
goto A6V33;
l1KiF:
UM8Vj:
goto hPy_U;
FKAXW:
list($OkVUP, $CGCGs) = explode("=", $Z5vp1["query"]);
goto Ypo6t;
QhGgh:
if ($WzL4Y) {
goto exmCi;
}
goto Y2ARs;
A6V33:
Pb497:
goto AszSt;
hPy_U:
goto Pb497;
goto l6my7;
V5JNL:
sVaH7:
goto eoYwQ;
oywVZ:
if (!($Z5vp1["count"] > 1)) {
goto sVaH7;
}
goto QhGgh;
WuZL4:
$JwId8 = $this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $Z5vp1["query"] . "' AND keyword = '" . $Z5vp1["keyword"] . "' " . $uANXf . " LIMIT " . ($Z5vp1["count"] - 1));
goto jb2rN;
L6FKs:
if ($this->ml_mode) {
goto jFFKB;
}
goto WuZL4;
Y2ARs:
if (version_compare(VERSION, "4", ">=")) {
goto lzctF;
}
goto L6FKs;
jb2rN:
goto UM8Vj;
goto hQpRU;
vvj8a:
}
goto VsZv1;
QrevE:
$data["langs"][0]["count"] = $FsrVC;
goto yC4NL;
gx_A4:
$yiAWR = '';
goto RLUCD;
kJdIo:
He2ue:
goto kHyaO;
xDSnI:
cOCMC:
goto Ev_Hc;
vNcz5:
if ($this->ml_mode) {
goto HxuXO;
}
goto Mo9z4;
lzQZh:
$this->db->query("UPDATE `" . DB_PREFIX . "product_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'product_id=%' AND d.product_id = REPLACE(u.query, 'product_id=', '') AND d.language_id = u.language_id");
goto FqDd9;
O0UpZ:
if (!version_compare(VERSION, "4", "<")) {
goto rgaWz;
}
goto Ycy3v;
TOwzc:
if (!$this->ml_mode) {
goto g1S4a;
}
goto lzQZh;
kHyaO:
WvqzF:
goto R9Bac;
QCzT7:
$data["nohidecol"] = true;
goto YtXoB;
vwLON:
$uK3_t = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` IN ('path', 'product_id', 'information_id', 'route') AND language_id=0")->rows;
goto qiJlD;
GRi34:
HxuXO:
goto O0UpZ;
mcXO_:
$uK3_t = $this->db->query("SELECT count(*) AS count, query, keyword, language_id FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword, language_id")->rows;
goto g7_o7;
OpQp_:
rgaWz:
goto kJdIo;
qiJlD:
lLv5A:
goto Hl0Wj;
hQJF3:
if ($f_XEr == "url") {
goto HbyyR;
}
goto PNf8y;
HkGrW:
}
public function get_value()
{
goto kng2n;
iv8Gy:
if (empty($vIMyr[$cEX8Y])) {
goto yX2CI;
}
goto eiICm;
FKKir:
if (!$DMfse) {
goto FhGSo;
}
goto mQVTW;
M5zDs:
$zuJcw[] = "description";
goto oRy28;
WD3wC:
return '';
goto bdrHk;
l2jH0:
sB_IQ:
goto XOudO;
b_HJV:
$zuJcw = array("seo_keyword", "seo_h1", "seo_h2", "seo_h3", "image_alt", "image_title", "meta_title", "meta_keyword", "meta_description", "tag");
goto ehSWl;
zYi4e:
foreach ($NyfhL->rows as $fs2GI) {
goto HrlAK;
dgpGN:
goto kitdF;
goto Vlm9Q;
r4uhu:
$this->config->set($fs2GI["key"], unserialize($fs2GI["value"]));
goto ZVWoi;
tIXS3:
Aprb3:
goto dgpGN;
ML0yD:
iNrEw:
goto z37Jm;
nxXJn:
if ($this->OC_V21X) {
goto gu8Vg;
}
goto r4uhu;
FW0bL:
gu8Vg:
goto RsJ7s;
HrlAK:
if (!$fs2GI["serialized"]) {
goto mAUg1;
}
goto nxXJn;
ZVWoi:
goto Aprb3;
goto FW0bL;
GKmyI:
$this->config->set($fs2GI["key"], $fs2GI["value"]);
goto PkFDH;
Vlm9Q:
mAUg1:
goto GKmyI;
PkFDH:
kitdF:
goto ML0yD;
RsJ7s:
$this->config->set($fs2GI["key"], json_decode($fs2GI["value"], true));
goto tIXS3;
z37Jm:
}
goto bWkwg;
kng2n:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto l0mD8;
XOudO:
header("Content-Type: application/json");
goto VenFV;
NRWeo:
goto Q5lMX;
goto skBgC;
NsogE:
YZiqe:
goto ylzvA;
A0owi:
if (!($zuJcw == "all")) {
goto YZiqe;
}
goto BJSeO;
BJSeO:
if ($YRwDl == "product") {
goto IryXj;
}
goto OLVR1;
AE97z:
yX2CI:
goto WsHid;
eFHr3:
exit;
goto YPthV;
VFUSF:
$RlZow = (int) $this->request->get["id"];
goto nF6Ma;
l0mD8:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto duxxr;
nF6Ma:
$DMfse = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto FKKir;
eiICm:
$this->config->set("mlseo_current_lang", $vIMyr[$cEX8Y]);
goto AE97z;
OLVR1:
$zuJcw = array("seo_keyword", "seo_h1", "seo_h2", "seo_h3", "meta_title", "meta_keyword", "meta_description");
goto NRWeo;
em34V:
SBxyp:
goto g_U82;
oRy28:
WSQKO:
goto NsogE;
skBgC:
IryXj:
goto b_HJV;
QVfO1:
$vIMyr = $this->config->get("mlseo_lang_codes");
goto iv8Gy;
WsHid:
if (in_array($YRwDl, array("product", "category", "information", "manufacturer"))) {
goto VuRFN;
}
goto WD3wC;
hXKQg:
FhGSo:
goto QVfO1;
It3gn:
if (!$this->config->get("mlseo_update_description")) {
goto WSQKO;
}
goto M5zDs;
bdrHk:
VuRFN:
goto A0owi;
iVvg3:
$zuJcw = $this->request->get["field"];
goto VFUSF;
ylzvA:
if (!empty($zuJcw)) {
goto SBxyp;
}
goto Vp0GH;
VenFV:
echo json_encode($pU5UN);
goto eFHr3;
duxxr:
$YRwDl = $this->request->get["type"];
goto iVvg3;
Vp0GH:
return '';
goto em34V;
g_U82:
$pU5UN = array();
goto SEfM1;
mQVTW:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . "setting WHERE store_id = '" . $DMfse . "'");
goto zYi4e;
ehSWl:
Q5lMX:
goto It3gn;
SEfM1:
foreach ((array) $zuJcw as $flqEP) {
goto BBHUv;
yNWVn:
goto GGtDl;
goto n1Ryt;
YWhwI:
k7ZDZ:
goto orZJW;
nvFRJ:
$pU5UN["seo_" . $YRwDl . "_description[" . $VzaDn . "][" . $cEX8Y . "][" . $flqEP . "]"] = $FhDKC;
goto vEtd1;
vEtd1:
GGtDl:
goto ybSjy;
uf5bA:
if (!($f_XEr == "keyword")) {
goto TPXUs;
}
goto TsNVF;
uF4GY:
if (!($f_XEr == "full_desc")) {
goto vLPHo;
}
goto FyDfy;
luq7t:
goto punr3;
goto b0xjN;
CFtm1:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto raL2y;
axxEQ:
$FhDKC = mb_strtolower($FhDKC);
goto OAgLy;
zAnBI:
if ($cEX8Y) {
goto BcT_h;
}
goto Axfak;
XwPHs:
x2Jjj:
goto lnA4W;
VmZYu:
if ($YRwDl == "manufacturer") {
goto zC6U0;
}
goto mAvkL;
luFN7:
$tsmux = $this->config->get("mlseo_" . $YRwDl . "_" . $f_XEr . "_pattern");
goto VmZYu;
lnA4W:
SH095:
goto i0pJa;
YU__D:
if (!($flqEP == "seo_keyword")) {
goto NNzcn;
}
goto tivu_;
IPoA5:
y7fN5:
goto EEzmh;
eVNGz:
foreach ($vLCNO[$YRwDl . "_description"] as $ZT9bL => $RLInX) {
goto b9V5L;
b9V5L:
$vLCNO[$YRwDl . "_description"][$ZT9bL]["orig_name"] = '';
goto SXwdm;
vh0ek:
goto M5By1;
goto BDdji;
uKw2I:
$vLCNO[$YRwDl . "_description"][$ZT9bL]["orig_description"] = $vLCNO[$YRwDl . "_description"][$ZT9bL]["description"];
goto nqElA;
BDdji:
uATzy:
goto stVc8;
Y6g09:
MX9Qw:
goto Ud_G0;
DpruS:
if (!isset($vLCNO[$YRwDl . "_description"][$ZT9bL]["title"])) {
goto NkTN0;
}
goto iGP3S;
iGP3S:
$vLCNO[$YRwDl . "_description"][$ZT9bL]["orig_name"] = $vLCNO[$YRwDl . "_description"][$ZT9bL]["title"];
goto NCdLB;
stVc8:
$vLCNO[$YRwDl . "_description"][$ZT9bL]["orig_name"] = $vLCNO[$YRwDl . "_description"][$ZT9bL]["name"];
goto zfJse;
zfJse:
M5By1:
goto uKw2I;
nqElA:
$vLCNO[$YRwDl . "_description"][$ZT9bL] = array_merge($vLCNO[$YRwDl . "_description"][$ZT9bL], array_filter($vLCNO["seo_" . $YRwDl . "_description"][$DMfse][$ZT9bL]));
goto Y6g09;
NCdLB:
NkTN0:
goto vh0ek;
SXwdm:
if (isset($vLCNO[$YRwDl . "_description"][$ZT9bL]["name"])) {
goto uATzy;
}
goto DpruS;
Ud_G0:
}
goto XwPHs;
LDKWz:
if ($VzaDn || $YRwDl == "manufacturer") {
goto CLaSK;
}
goto jHfLG;
jHfLG:
$pU5UN[$YRwDl . "_description[" . $cEX8Y . "][" . $flqEP . "]"] = $FhDKC;
goto yNWVn;
YqPwj:
$FhDKC = str_replace("\"", '', $FhDKC);
goto ekB8Y;
Ngo7c:
$Sf16X = array();
goto kk2nC;
BBHUv:
switch ($flqEP) {
case "seo_keyword":
$f_XEr = "url";
goto jhFm6;
case "seo_h1":
$f_XEr = "h1";
goto jhFm6;
case "seo_h2":
$f_XEr = "h2";
goto jhFm6;
case "seo_h3":
$f_XEr = "h3";
goto jhFm6;
case "meta_title":
$f_XEr = "title";
goto jhFm6;
case "meta_keyword":
$f_XEr = "keyword";
goto jhFm6;
case "meta_description":
$f_XEr = "description";
goto jhFm6;
case "description":
$f_XEr = "full_desc";
goto jhFm6;
case "image":
$f_XEr = "image_name";
goto jhFm6;
case "image_title":
$f_XEr = "image_title";
goto jhFm6;
case "image_alt":
$f_XEr = "image_alt";
goto jhFm6;
case "tag":
$f_XEr = "tag";
goto jhFm6;
}
goto IPoA5;
sfZ6V:
H13t3:
goto n_dHj;
EEzmh:
jhFm6:
goto dOEjQ;
Llw3e:
if (!$Sf16X) {
goto H13t3;
}
goto oS5y0;
j8PKw:
B3cDJ:
goto YU__D;
CU1Vb:
$z0KI2 = $this->config->get("mlseo_remove_" . $cEX8Y);
goto nAelt;
stIvO:
$FhDKC = trim(mb_strtolower($FhDKC), ", ");
goto YWhwI;
raL2y:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->{"transform" . ucfirst($YRwDl)}($tsmux, $cEX8Y, $vLCNO, $DMfse, true);
goto V1TIs;
n1Ryt:
CLaSK:
goto nvFRJ;
JpLPA:
NNzcn:
goto uF4GY;
BT1EU:
goto vD1fq;
goto GI5E7;
zJW8V:
$tsmux = str_replace("[current]", $vLCNO["seo_" . $YRwDl . "_description"][$DMfse][$cEX8Y][$flqEP], $tsmux);
goto lnqaD;
MELRE:
if (!$this->config->get("mlseo_format_tag")) {
goto k7ZDZ;
}
goto E6R3T;
i0pJa:
LUuWK:
goto luFN7;
Axfak:
$z0KI2 = $this->config->get("mlseo_remove_" . $this->config->get("config_language_id"));
goto BT1EU;
Tappa:
$gO95M = "(\s|\.|\,|\!|\?|\(|\)|\'|\"|$)";
goto Ngo7c;
j7U2Q:
goto HXz19;
goto JPImt;
V1TIs:
if (!($flqEP == "tag")) {
goto B3cDJ;
}
goto zAnBI;
TsNVF:
if (function_exists("mb_strtolower")) {
goto PgRge;
}
goto Apz0R;
EeUlQ:
$vLCNO[$YRwDl . "_id"] = $RlZow;
goto D25_S;
kk2nC:
foreach (explode(",", $z0KI2) as $Eftlo) {
$Sf16X[] = "`" . $RxvR0 . preg_quote(trim($Eftlo), "`") . $gO95M . "`";
e48tJ:
}
goto oX8X4;
b0xjN:
zC6U0:
goto zJW8V;
OAgLy:
HXz19:
goto qn_Vx;
ybSjy:
i2tDM:
goto Y8nSA;
n_dHj:
CvAIt:
goto MELRE;
GI5E7:
BcT_h:
goto CU1Vb;
Apz0R:
$FhDKC = strtolower($FhDKC);
goto j7U2Q;
mAvkL:
$tsmux = str_replace("[current]", $vLCNO[$YRwDl . "_description"][$cEX8Y][$flqEP], $tsmux);
goto luq7t;
orZJW:
$FhDKC = trim(preg_replace("/(?:,\s*)+/", ",", $FhDKC), ", ");
goto j8PKw;
oX8X4:
ibOHw:
goto Llw3e;
qn_Vx:
TPXUs:
goto LDKWz;
oS5y0:
$FhDKC = preg_replace($Sf16X, "$1$2", $FhDKC);
goto sfZ6V;
gkE1c:
vLPHo:
goto uf5bA;
ekB8Y:
if (empty($z0KI2)) {
goto CvAIt;
}
goto wdmXb;
dOEjQ:
$vLCNO = $this->request->post;
goto EeUlQ;
nAelt:
vD1fq:
goto YqPwj;
FyDfy:
$FhDKC = nl2br($FhDKC);
goto gkE1c;
tivu_:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, $YRwDl, $vLCNO[$YRwDl . "_id"], $cEX8Y);
goto JpLPA;
rSF9c:
if (!isset($vLCNO[$YRwDl . "_description"])) {
goto SH095;
}
goto eVNGz;
JPImt:
PgRge:
goto axxEQ;
wdmXb:
$RxvR0 = "(\s|\.|\,|\!|\?|\(|\)|\'|\"|^)";
goto Tappa;
lnqaD:
punr3:
goto CFtm1;
giOb2:
$FhDKC = str_replace(array(" ", " "), ", ", $FhDKC);
goto stIvO;
E6R3T:
$FhDKC = str_replace(".", ",", $FhDKC);
goto giOb2;
D25_S:
if (!($DMfse && !empty($vLCNO["seo_" . $YRwDl . "_description"][$DMfse]))) {
goto LUuWK;
}
goto rSF9c;
Y8nSA:
}
goto l2jH0;
bWkwg:
mCczJ:
goto hXKQg;
YPthV:
}
public function generator($YRwDl = '', $f_XEr = '', $VX1uQ = '')
{
goto mWrGx;
Vaqxj:
cuzxt:
goto Tb4tR;
uysW0:
var_dump("time: " . (int) ($pglcV - $this->start_time) / 1000 . "s");
goto EBzTW;
yzhJA:
$this->limit = 100;
goto L1yyc;
lmgWN:
S5nEi:
goto eKM25;
yZ5ee:
exit;
goto IVzie;
TxfhR:
$this->start = 0;
goto qrEMH;
Td2wk:
$data["type"] = $YRwDl;
goto fw3iR;
BHfQr:
$this->store = isset($this->request->get["store"]) ? $this->request->get["store"] : 0;
goto BC26p;
zchiB:
$data["simulate"] = $WzL4Y = true;
goto PwGDv;
r_dM3:
$VZ3xg = $this->start + $this->limit;
goto fOOrZ;
ymYpq:
$data["OC_V2"] = version_compare(VERSION, "2", ">=");
goto AFKz1;
x337p:
nuGAk:
goto TxfhR;
EBzTW:
var_dump("mem peak: " . memory_get_peak_usage() / 1000000);
goto eZqM3;
Ybw__:
echo json_encode(array("success" => 1, "processed" => $VZ3xg, "progress" => $oeLLG, "finished" => $VZ3xg >= $this->total_items, "log" => $qdlc1));
goto yZ5ee;
r_Uso:
if (!(!$f_XEr && !isset($this->request->get["mode"]))) {
goto WausW;
}
goto gAywn;
BC26p:
if ($this->start) {
goto S5nEi;
}
goto YgeJo;
fw3iR:
$data["mode"] = $f_XEr;
goto RSs1P;
Q71T1:
if (!$P8XpA) {
goto tvD0A;
}
goto q0zSc;
YgeJo:
unset($this->session->data["kwCountArray"]);
goto lmgWN;
oc1Ky:
XMp6t:
goto Yln5e;
e_3h2:
$data["empty_only"] = $ZGEwe = !empty($this->request->post["empty_only"]);
goto lL5UP;
Yln5e:
if (!$this->total_items) {
goto Fyr53;
}
goto ghn3T;
s_YF2:
goto pQ1nv;
goto x337p;
cRVd5:
WxBUs:
goto r_Uso;
PwGDv:
G6TIN:
goto e_3h2;
R5DJJ:
vSw_E:
goto Td2wk;
Tb4tR:
header("Content-Type: application/json");
goto Ybw__;
fOOrZ:
if (!($VZ3xg > $this->total_items)) {
goto XMp6t;
}
goto jWvbR;
RSs1P:
$data["simulate"] = $WzL4Y = !empty($this->request->post["simulate"]);
goto a7A2E;
HApFm:
$P8XpA = false;
goto ATw2F;
pzfy4:
$this->start_time = microtime(true) * 1000;
goto ymYpq;
ghn3T:
$oeLLG = round($VZ3xg / $this->total_items * 100);
goto dXYoC;
jKTRK:
$this->start = (int) $this->request->get["start"];
goto s_YF2;
q0zSc:
$pglcV = microtime(true) * 1000;
goto uysW0;
aJNHj:
$oeLLG = 100;
goto Vaqxj;
h2Lbq:
tvD0A:
goto r_dM3;
a7A2E:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto G6TIN;
}
goto zchiB;
mi8Hy:
$data["_url"] = $this->url;
goto EV13I;
mWrGx:
$this->session->data["seopackage_processed"] = 0;
goto WQP4M;
gAywn:
return;
goto vb22O;
xIvXG:
ini_set("memory_limit", -1);
goto iluvT;
psE56:
$data["_language"] = $this->language;
goto IFuMk;
KUzK3:
if ($YRwDl) {
goto TL5lK;
}
goto S02PF;
L1yyc:
LKv7d:
goto a9ZxG;
ATw2F:
if (!$P8XpA) {
goto vwGWi;
}
goto xIvXG;
kVO6x:
pQ1nv:
goto BHfQr;
qrEMH:
$this->limit = 9999999999;
goto kVO6x;
jWvbR:
$VZ3xg = $this->total_items;
goto oc1Ky;
r9KYk:
TL5lK:
goto mzboF;
bWdNn:
if ($VX1uQ) {
goto vSw_E;
}
goto E1Bpv;
eZqM3:
die;
goto h2Lbq;
S02PF:
$YRwDl = $this->request->get["type"];
goto r9KYk;
eKM25:
if (!(!$YRwDl && !isset($this->request->get["type"]))) {
goto WxBUs;
}
goto NnpRg;
NnpRg:
return;
goto cRVd5;
dFSit:
vwGWi:
goto pzfy4;
E1Bpv:
$VX1uQ = !empty($this->request->get["redirect"]) ? $this->request->get["redirect"] : false;
goto R5DJJ;
vb22O:
WausW:
goto KUzK3;
iluvT:
set_time_limit(3600);
goto dFSit;
EV13I:
$data["token"] = $this->token;
goto Q71T1;
WQP4M:
$this->session->data["seopackage_updated"] = 0;
goto HApFm;
dXYoC:
goto cuzxt;
goto VFTS7;
mzboF:
if ($f_XEr) {
goto u9O7g;
}
goto PwYf3;
VFTS7:
Fyr53:
goto aJNHj;
XqNeW:
u9O7g:
goto bWdNn;
PwYf3:
$f_XEr = $this->request->get["mode"];
goto XqNeW;
IFuMk:
$data["_config"] = $this->config;
goto mi8Hy;
lL5UP:
if (!(!defined("SEO_PACKAGE_CLI") && $f_XEr == "related")) {
goto LKv7d;
}
goto yzhJA;
AFKz1:
if (defined("SEO_PACKAGE_CLI")) {
goto nuGAk;
}
goto jKTRK;
a9ZxG:
$qdlc1 = $this->{"generator_" . $YRwDl}($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ);
goto psE56;
IVzie:
}
public function cli($YXEqj = '')
{
goto sl_H2;
pOGng:
fSBpZ:
goto QhR70;
b5sNR:
echo "Process terminated - Processed: " . $this->session->data["seopackage_processed"] . " - Updated: " . $this->session->data["seopackage_updated"] . " - Total time: " . $kSWgV;
goto wL7b0;
QhR70:
if ($JKolL || $vpdcX || $XPUAs) {
goto kCTQk;
}
goto jHusD;
DXfUs:
$kSWgV .= "1 " . $this->language->get("text_seconds");
goto ZX1Le;
vJWU1:
foreach ($cHoqT as $nDDFl) {
$this->request->post["langs"][] = $nDDFl["language_id"];
GjHiH:
}
goto kGIq6;
j5wj4:
Tq81l:
goto MRy5r;
TZ1sF:
if (!count($YXEqj["update"])) {
goto DSzv0;
}
goto PYPO_;
kGIq6:
LiA2K:
goto c_fqE;
Zge2k:
$hlQbU = time();
goto vJWU1;
AIbgR:
$vpdcX = floor(($aHDin - $JKolL * 3600) / 60);
goto Nw3CH;
cq5UN:
foreach (array("product", "category", "information", "manufacturer", "redirect") as $f_XEr) {
goto AKMpX;
AKMpX:
if (empty($_GET[$f_XEr])) {
goto ystb5;
}
goto DF1Gh;
DF1Gh:
$YXEqj["update"][$f_XEr] = (array) $_GET[$f_XEr];
goto b7UyV;
pLhnY:
sdG03:
goto f35Tb;
b7UyV:
ystb5:
goto pLhnY;
f35Tb:
}
goto xvANT;
F92Jx:
DSzv0:
goto YrPBe;
Oesen:
hLmz0:
goto DO4Er;
s03HK:
if (!$JKolL) {
goto eMQiy;
}
goto auk0h;
jHusD:
if ($kSWgV) {
goto tZMmi;
}
goto DXfUs;
NTYYn:
eMQiy:
goto k0ua4;
auk0h:
$kSWgV = $JKolL . " " . $this->language->get("text_hours");
goto NTYYn;
NPYPf:
$JKolL = floor($aHDin / 3600);
goto AIbgR;
zzrGm:
$nVxvq = $SmrIo ? "SIMULATION MODE - " : '';
goto wEw7b;
f0Ms2:
i6xHI:
goto XquJa;
DO4Er:
$SmrIo = isset($YXEqj["simulation"]) && $YXEqj["simulation"];
goto F6Jwo;
c_fqE:
$this->session->data["seopackage_processed"] = 0;
goto q5rA0;
Nw3CH:
$XPUAs = $aHDin - $JKolL * 3600 - $vpdcX * 60;
goto J1MUl;
N8hIZ:
ouWNO:
goto JLbEY;
Mq4OS:
if (isset($_GET["product"]) || isset($_GET["category"]) || isset($_GET["information"]) || isset($_GET["manufacturer"]) || isset($_GET["redirect"])) {
goto uO_n2;
}
goto i8GoN;
J1MUl:
$kSWgV = '';
goto s03HK;
q5rA0:
$this->session->data["seopackage_updated"] = 0;
goto JtBL1;
wEw7b:
$this->log(PHP_EOL . "----------------------------- CLI Request - " . $nVxvq . date("d/m/Y H:i:s") . " - Store " . $this->store . " -----------------------------", "report");
goto cq5UN;
xvANT:
AzHYa:
goto TZ1sF;
N285F:
$kSWgV .= ($JKolL ? ", " : '') . $vpdcX . " " . $this->language->get("text_minutes");
goto pOGng;
nqixo:
if (is_array($YXEqj)) {
goto Tq81l;
}
goto IDUch;
Tb7so:
$this->limit = 9999999999;
goto Qv1Bd;
Qv1Bd:
$this->store = isset($this->request->get["store"]) ? $this->request->get["store"] : 0;
goto PVoVX;
ZX1Le:
tZMmi:
goto MipLH;
k0ua4:
if (!($JKolL || $vpdcX)) {
goto fSBpZ;
}
goto N285F;
MRy5r:
goto hLmz0;
goto j7umw;
Rz5VL:
$YXEqj = $_GET;
goto Oesen;
wL5gu:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . "setting WHERE store_id = '" . $this->store . "'");
goto myUA7;
JLbEY:
DWZRG:
goto VUEXR;
PYPO_:
foreach ($YXEqj["update"] as $YRwDl => $GqKFG) {
goto PvS7M;
PvS7M:
foreach ($GqKFG as $f_XEr) {
$this->{"generator_" . $YRwDl}($f_XEr, $SmrIo, $ZGEwe, '');
fXB69:
}
goto uoHdj;
j6KLw:
lYZWR:
goto EBtmG;
uoHdj:
mEGtT:
goto j6KLw;
EBtmG:
}
goto zEAWd;
sh8b6:
$this->log("- Total updated: " . $this->session->data["seopackage_updated"], "report");
goto fAkSQ;
JtBL1:
$this->start = 0;
goto Tb7so;
XquJa:
$this->log(PHP_EOL . "Process terminated:", "report");
goto Ym7kc;
fAkSQ:
$this->log("- Total process time: " . $kSWgV, "report");
goto dlyTY;
VUEXR:
$YXEqj = $this->config->get("mlseo_cron");
goto Mq4OS;
dlyTY:
$this->log("-------------------------------------------------------------------------------------------------------" . PHP_EOL, "report");
goto b5sNR;
RCdMz:
$kSWgV .= ($vpdcX ? " and " : '') . $XPUAs . " " . $this->language->get("text_seconds");
goto f0Ms2;
i8GoN:
$YXEqj = $this->config->get("mlseo_cron");
goto nqixo;
Ym7kc:
$this->log("- Total items: " . $this->session->data["seopackage_processed"], "report");
goto sh8b6;
zEAWd:
eq2ph:
goto F92Jx;
F6Jwo:
$ZGEwe = isset($YXEqj["empty_only"]) && $YXEqj["empty_only"];
goto zzrGm;
IlNpP:
$cHoqT = $this->model_localisation_language->getLanguages();
goto Zge2k;
YrPBe:
$aHDin = time() - $hlQbU;
goto NPYPf;
Fpxfc:
return;
goto j5wj4;
sl_H2:
$this->load->model("localisation/language");
goto IlNpP;
dJDmf:
kCTQk:
goto RCdMz;
PVoVX:
if (!$this->store) {
goto DWZRG;
}
goto wL5gu;
MipLH:
goto i6xHI;
goto dJDmf;
myUA7:
foreach ($NyfhL->rows as $fs2GI) {
goto uo_lH;
uo_lH:
if (!$fs2GI["serialized"]) {
goto K5yzU;
}
goto yhRnt;
Wtp8B:
GEBVI:
goto LX07q;
UVlLt:
$this->config->set($fs2GI["key"], json_decode($fs2GI["value"], true));
goto vGUok;
oO8sX:
goto giFy4;
goto CiIxk;
MIODm:
giFy4:
goto Wtp8B;
I7c5W:
$this->config->set($fs2GI["key"], unserialize($fs2GI["value"]));
goto gwR7G;
gwR7G:
goto BbPLM;
goto b2gjj;
yhRnt:
if ($this->OC_V21X) {
goto R6BKx;
}
goto I7c5W;
CiIxk:
K5yzU:
goto vl7mC;
vl7mC:
$this->config->set($fs2GI["key"], $fs2GI["value"]);
goto MIODm;
b2gjj:
R6BKx:
goto UVlLt;
vGUok:
BbPLM:
goto oO8sX;
LX07q:
}
goto N8hIZ;
j7umw:
uO_n2:
goto Rz5VL;
IDUch:
echo "No parameters found";
goto Fpxfc;
wL7b0:
}
public function editor_data()
{
goto tiBMB;
w012F:
$B1Gt7[] = array("db" => "title", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto mNVDk;
l1nb2:
$YRwDl = $this->request->get["type"];
goto NO4mA;
PHOjW:
wOpeZ:
goto Ujzd6;
SRKWK:
echo json_encode($this->{self::$MODEL_PATH . "tool_seo_package_editor"}->simple($_GET, $YRwDl, $cEX8Y, $VzaDn, $B1Gt7));
goto aHHIL;
NrpA3:
goto tcTKK;
goto Ke70B;
dqy8Y:
l7oyR:
goto wE1Ij;
oD61W:
$B1Gt7[] = array("db" => "redirect", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto t3HAQ;
bFkEV:
BXb2b:
goto NrpA3;
Z0HA0:
$B1Gt7[] = array("db" => "url_404_id", "dt" => $M1O48++, "formatter" => "editor_404actions");
goto SJMcy;
f44Vt:
if (!in_array($YRwDl, array("product", "category"))) {
goto uBF0h;
}
goto qabgG;
GnEXK:
$B1Gt7[] = array("db" => "meta_keyword", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto MkX5m;
kelWw:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto oD61W;
KuBAC:
$B1Gt7[] = array("db" => $this->url_alias . "_id", "dt" => $M1O48++, "formatter" => "editor_deletebtn");
goto PHOjW;
VR28e:
$B1Gt7[] = array("db" => "name", "dt" => $M1O48++);
goto WH4fo;
qWBE8:
vSk6I:
goto Z5s2A;
Npcjg:
WN_R0:
goto sdQS0;
mWdpp:
$B1Gt7 = array();
goto hMVQs;
IbOsM:
wpQIH:
goto kelWw;
cubl1:
wn06h:
goto JSzlh;
mhrcD:
$B1Gt7[] = array("db" => "redirect", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto ywH2F;
qiOJe:
if ($YRwDl == "autolink") {
goto wpQIH;
}
goto LE9BU;
DP6Gs:
if ($YRwDl == "redirect") {
goto rlK_o;
}
goto qiOJe;
qTfE4:
$B1Gt7[] = array("db" => "seo_h3", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto ESOXA;
ZHukI:
zzJjM:
goto wFboC;
QIRIM:
CP9MM:
goto l1nb2;
dBdWD:
$B1Gt7[] = array("db" => "image_alt", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto dmLmx;
VVdk3:
$B1Gt7[] = array("db" => "redirect", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto Dj3Nd;
fe_qu:
w1_DO:
goto xA1T2;
kgZEd:
$this->load->model("tool/image");
goto u232L;
ESOXA:
uBF0h:
goto zu2UX;
QZ4HB:
$B1Gt7[] = array("db" => "count", "dt" => $M1O48++);
goto Z0HA0;
wE1Ij:
if (isset($this->request->get["lang"])) {
goto CP9MM;
}
goto ovQst;
kGzI3:
$B1Gt7[] = array("db" => $YRwDl . "_id", "dt" => $M1O48++, "table_alias" => "d");
goto wVDij;
wVDij:
tcTKK:
goto SRKWK;
VeUtC:
goto vSk6I;
goto IbOsM;
NUoSI:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto VVdk3;
J2VA6:
$B1Gt7[] = array("db" => "name", "dt" => $M1O48++, "formatter" => "inlineeditor_text", "table_alias" => "d");
goto Npcjg;
LE9BU:
if ($YRwDl == "404") {
goto zzJjM;
}
goto y92fG;
aHHIL:
exit;
goto HWBOH;
NO4mA:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto kuHz3;
bl0d8:
if (in_array($YRwDl, array("common", "special"))) {
goto wn06h;
}
goto DP6Gs;
bzRPv:
$B1Gt7[] = array("db" => "seo_keyword", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto clfoJ;
WH4fo:
$B1Gt7[] = array("db" => "image", "dt" => $M1O48++, "formatter" => "inlineeditor_image_name");
goto dBdWD;
eye6t:
PXVn7:
goto f44Vt;
Ujzd6:
goto BXb2b;
goto fe_qu;
Ut72l:
$B1Gt7[] = array("db" => "related", "dt" => $M1O48++, "formatter" => "inlineeditor_related");
goto eye6t;
ywH2F:
$B1Gt7[] = array("db" => "url_absolute_id", "dt" => $M1O48++, "formatter" => "editor_deletebtn");
goto bFkEV;
kuHz3:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto mWdpp;
ovQst:
return;
goto QIRIM;
tiBMB:
$this->load->model(self::$EXT_PATH . "tool/seo_package_editor");
goto kgZEd;
Dj3Nd:
$B1Gt7[] = array("db" => "url_redirect_id", "dt" => $M1O48++, "formatter" => "editor_deletebtn");
goto B2ZFg;
wFboC:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "editor_404color");
goto ZZmha;
wys1G:
if ($YRwDl == "image") {
goto LX6EI;
}
goto dUfpr;
JSzlh:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "inlineeditor_keyword");
goto Jr1aM;
uZeAw:
$B1Gt7[] = array("db" => "name", "dt" => $M1O48++, "formatter" => "inlineeditor_text", "table_alias" => "d");
goto JGK23;
duFn1:
if (!in_array($YRwDl, array("information"))) {
goto jzXBl;
}
goto ffF9F;
xA1T2:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto mhrcD;
qbhm9:
ehpJj:
goto mhdWW;
Th_45:
$B1Gt7[] = array("db" => "image", "dt" => $M1O48++, "formatter" => "inlineeditor_image");
goto VR28e;
dmLmx:
$B1Gt7[] = array("db" => "image_title", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto TzEWe;
JGK23:
Uy7Dk:
goto duFn1;
ZMqfW:
$B1Gt7[] = array("db" => "image", "dt" => $M1O48++, "formatter" => "inlineeditor_image");
goto uZeAw;
hMVQs:
$M1O48 = 0;
goto wys1G;
ffF9F:
if ($VzaDn) {
goto B8P0F;
}
goto w012F;
wPket:
if (!(in_array($YRwDl, array("product")) && version_compare(VERSION, "1.5.3", ">") && !$VzaDn)) {
goto ehpJj;
}
goto pO2nw;
wE1Hn:
$B1Gt7[] = array("db" => "seo_h2", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto qTfE4;
Jr1aM:
$B1Gt7[] = array("db" => "keyword", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto KuBAC;
MkGeK:
return;
goto dqy8Y;
mhdWW:
if (!(in_array($YRwDl, array("product")) && !$VzaDn)) {
goto PXVn7;
}
goto Ut72l;
mNVDk:
goto WN_R0;
goto Wilc6;
dUfpr:
if ($YRwDl == "absolute") {
goto w1_DO;
}
goto bl0d8;
qabgG:
$B1Gt7[] = array("db" => "seo_h1", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto wE1Hn;
FNCti:
$B1Gt7[] = array("db" => $YRwDl . "_id", "dt" => $M1O48++, "table_alias" => "i");
goto srWga;
SJMcy:
rrAKX:
goto VeUtC;
B2ZFg:
JuGpz:
goto UIp6c;
UIp6c:
goto wOpeZ;
goto cubl1;
Z5s2A:
goto JuGpz;
goto xPGSv;
OC0vU:
if (!true) {
goto t8hlT;
}
goto bzRPv;
u232L:
if (isset($this->request->get["type"])) {
goto l7oyR;
}
goto MkGeK;
srWga:
goto rrAKX;
goto ZHukI;
clfoJ:
$B1Gt7[] = array("db" => "meta_title", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto GnEXK;
ZZmha:
$B1Gt7[] = array("db" => "referer", "dt" => $M1O48++);
goto QZ4HB;
t3HAQ:
$B1Gt7[] = array("db" => "url_autolink_id", "dt" => $M1O48++, "formatter" => "editor_deletebtn");
goto qWBE8;
xPGSv:
rlK_o:
goto NUoSI;
MkX5m:
$B1Gt7[] = array("db" => "meta_description", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto wPket;
zu2UX:
t8hlT:
goto FNCti;
y92fG:
if (!in_array($YRwDl, array("product", "category", "manufacturer"))) {
goto Uy7Dk;
}
goto ZMqfW;
pO2nw:
$B1Gt7[] = array("db" => "tag", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto qbhm9;
sdQS0:
jzXBl:
goto OC0vU;
Wilc6:
B8P0F:
goto J2VA6;
Ke70B:
LX6EI:
goto Th_45;
TzEWe:
$YRwDl = "product";
goto kGzI3;
HWBOH:
}
public function editor_update()
{
goto GfLQU;
qmaw4:
if (!($njXD6 == "image")) {
goto yOQ_2;
}
goto hPeyt;
KXTr6:
if ($YRwDl == "information") {
goto ISP46;
}
goto valHH;
OCXJ0:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto Wy4WZ;
BjLS4:
YE3Jl:
goto qmaw4;
w0hbJ:
$this->db->query("UPDATE " . DB_PREFIX . "url_absolute SET " . $njXD6 . " = '" . $this->db->escape($FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "'");
goto BjTxt;
eoKa8:
goto IAEbV;
goto gVdMU;
pODs8:
goto pRdhP;
goto K0Xvv;
mN9dq:
$FhDKC = pathinfo($FhDKC);
goto BlI1D;
Qfq0U:
if ($this->ml_mode) {
goto dk5Ui;
}
goto Ni0md;
Roljm:
TV0e1:
goto FWNC_;
xM7po:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "." . $ifjIK["extension"];
goto ndBy4;
BqAb9:
$DMfse = 0;
goto p76_j;
I2Hwd:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = '" . $VW4QA . "', `value` = '" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "', language_id = '" . (int) $cEX8Y . "', store_id = '" . (int) $DMfse . "'");
goto uplNV;
vJYO2:
MSunc:
goto VVG4X;
j82lD:
Ze_77:
goto aSb5I;
hPeyt:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto nIaOe;
Y12Mf:
if (!($njXD6 == "related")) {
goto clGeg;
}
goto NUK3x;
n8Bil:
$bqAnG = $this->request->post["pk"];
goto E8Fuo;
PK_g3:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = '" . $VW4QA . "' AND `value` = '" . (int) $bqAnG . "' AND store_id = " . (int) $DMfse . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto I2Hwd;
BjTxt:
f5j2z:
goto NZmyr;
ow51L:
goto dSZB0;
goto luDq8;
eOHVv:
header("Content-Type: application/json");
goto UX4rU;
Fx0K7:
if (!($GIKbk && $GIKbk != $FhDKC)) {
goto Ze_77;
}
goto lBTIm;
yag22:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "' AND store_id = " . (int) $DMfse);
goto oUj6n;
BlI1D:
header("Content-Type: application/json");
goto dZDql;
zjmOd:
if ($YRwDl == "absolute") {
goto IvJWv;
}
goto o216M;
eakQc:
if (version_compare(VERSION, "4", ">=")) {
goto jUIBj;
}
goto D2u2K;
WZBjA:
if ($njXD6 == "seo_keyword") {
goto nnXXz;
}
goto KO_5j;
daezu:
z3ih4:
goto GUT57;
KO_5j:
if (!in_array($YRwDl, array("product", "category", "information", "manufacturer"))) {
goto ueBPr;
}
goto Ji_pY;
dooG2:
e5iFc:
goto imEE6;
IdF1q:
goto MSunc;
goto D7amo;
LLKO4:
bG7zm:
goto yag22;
NgD2x:
$hnPOp = $this->model_extension_complete_seo_catalog_seo_package;
goto QxkiM;
bBK_g:
return;
goto U4noS;
OgqaP:
header("Content-Type: application/json");
goto grps5;
odtrq:
clGeg:
goto YbRHU;
uHCz0:
v8QM4:
goto OgqaP;
Rp7dH:
$VW4QA = "path";
goto VQXvY;
Swxo7:
LHMb5:
goto Y3iuK;
OgnBt:
$DMfse = (int) $this->request->post["store"];
goto VsTPH;
vkxr9:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto wPyh0;
J6LzE:
Zc_xO:
goto Q9aRq;
uplNV:
goto TV0e1;
goto wCqy0;
K4mqA:
io4dv:
goto qJiWw;
c7gJK:
if ($YRwDl == "redirect") {
goto jLEoN;
}
goto zjmOd;
Eq_X9:
if (in_array($YRwDl, array("common", "special"))) {
goto jGQoB;
}
goto c7gJK;
cR3fc:
bwjbA:
goto WZBjA;
wnQkJ:
if ($YRwDl == "redirect") {
goto c5Y0I;
}
goto Ntb3j;
VQXvY:
Zs270:
goto KEr33;
VVG4X:
goto ocUbM;
goto daezu;
m3_Z3:
pRdhP:
goto ow51L;
tjEAs:
if ($jZ1l3) {
goto V01pg;
}
goto e331t;
TbsvQ:
TowCL:
goto vGisT;
cyKqH:
ISP46:
goto QUr9E;
Yd8jf:
CKPYx:
goto k3pJI;
wINTH:
foreach ($isCq0 as $uiFUd) {
$Z6phl[isset($uiFUd["store_id"]) ? $uiFUd["store_id"] : 0][isset($uiFUd["language_id"]) ? $uiFUd["language_id"] : $this->config->get("config_language_id")] = $uiFUd["keyword"];
RJJRK:
}
goto K4mqA;
Ni0md:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "'");
goto KZ3Cj;
KZ3Cj:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $VW4QA . "=" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto LLUkn;
vFF5Z:
if ($YRwDl == "category") {
goto Ad6M1;
}
goto KXTr6;
NUK3x:
$this->db->query("DELETE FROM " . DB_PREFIX . "product_related WHERE product_id = '" . (int) $bqAnG . "'");
goto bQSOI;
GeHqj:
exit;
goto bxxLx;
D2u2K:
$isCq0 = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "'")->rows;
goto Ywx18;
aHk9p:
$FhDKC = ltrim($FhDKC, "/");
goto ROVvx;
mMwQE:
Fkt19:
goto FyS2a;
fg4op:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "' AND store_id = " . (int) $DMfse . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto gfEfc;
o216M:
if (!($YRwDl == "autolink")) {
goto sasJL;
}
goto iPgjl;
t5Ifx:
$ifjIK = pathinfo($on9VW["image"]);
goto g_Sn1;
Ntb3j:
if ($YRwDl == "autolink") {
goto peakO;
}
goto O1thX;
aM_4A:
goto CKPYx;
goto c8flG;
O02h_:
EVyPW:
goto MgD_3;
taMT8:
if (!empty($FhDKC)) {
goto Fs2am;
}
goto WyYd6;
dF9c9:
exit;
goto aS8VR;
RlS4q:
$jw1cu = $YRwDl == "common" && $njXD6 == "query" ? "route=" : '';
goto JKsLX;
E8Fuo:
if (isset($this->request->get["store"])) {
goto nfKN3;
}
goto lR69q;
kzeYI:
jUIBj:
goto v2oox;
nCNU4:
if (!($YRwDl == "image")) {
goto Fkt19;
}
goto bxRPS;
d5Z2_:
goto vC1N8;
goto dooG2;
Kkqn0:
$this->db->query("UPDATE " . DB_PREFIX . "product SET image = '" . $this->db->escape($FhDKC) . "' WHERE image = '" . $this->db->escape($on9VW["image"]) . "'");
goto h3VBi;
mDQrh:
nfKN3:
goto Gcy2a;
LLUkn:
goto lXN39;
goto Hdz2k;
grps5:
echo json_encode(array("status" => "success", "pk" => $bqAnG, "msg" => implode(", ", $u9dCO)));
goto dV5Aj;
p1CNb:
$VW4QA = "url_redirect_id";
goto J6LzE;
ZAp9n:
IyYKZ:
goto mN9dq;
YbRHU:
$VW4QA = $YRwDl . "_id";
goto Eq_X9;
el4uZ:
if (in_array($njXD6, array("title", "name", "seo_keyword", "seo_h1", "seo_h2", "seo_h3", "meta_title", "meta_keyword", "meta_description", "tag", "query", "keyword", "redirect", "related", "image", "image_alt", "image_title"))) {
goto YE3Jl;
}
goto dujBI;
Gcy2a:
$DMfse = (int) $this->request->get["store"];
goto KSfiB;
K0Xvv:
Ad6M1:
goto T8J99;
USpHg:
dKKF7:
goto rQ4kW;
XRcyv:
goto IpxGR;
goto C4K4H;
FK9yQ:
$this->load->model("catalog/seo_package");
goto RzK11;
valHH:
if (!($YRwDl == "manufacturer")) {
goto UfLzJ;
}
goto qILK3;
a1bij:
$VW4QA = "url_absolute_id";
goto Yd8jf;
k3pJI:
goto Zc_xO;
goto HCNxL;
GfLQU:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto Xc12w;
}
goto eOHVv;
C4K4H:
nnXXz:
goto OCXJ0;
xLKXs:
$VW4QA = $this->url_alias . "_id";
goto OvlHd;
DZw76:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto uxM3P;
}
goto Ar8zG;
RNeLT:
header("Content-Type: application/json");
goto JcIwl;
w2s4w:
Is2Vb:
goto IdF1q;
NHjkj:
$FhDKC = $this->request->post["value"];
goto GTKcn;
D7amo:
uxM3P:
goto fg4op;
oUj6n:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $VW4QA . "=" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $DMfse . "'");
goto w2s4w;
qILK3:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($GIKbk) . "', redirect = 'product/manufacturer&manufacturer_id=" . (int) $bqAnG . "', language_id = '" . (int) $cEX8Y . "'");
goto LUHyW;
ycCEy:
$cEX8Y = isset($this->request->post["lang"]) ? $this->request->post["lang"] : '';
goto nCNU4;
VsTPH:
e3ZwG:
goto H02J7;
bxRPS:
$YRwDl = "product";
goto mMwQE;
OvlHd:
rHG9e:
goto LQLpD;
amGSj:
peakO:
goto vpHDF;
e3DZX:
lXN39:
goto NQ893;
fhkxW:
header("Content-Type: application/json");
goto Rvuo8;
ioEDH:
$jZ1l3 = $this->db->query("SELECT * FROM " . DB_PREFIX . $Nz9PV . $YRwDl . "_description WHERE " . $VW4QA . " = '" . (int) $bqAnG . "' AND language_id = '" . (int) $cEX8Y . "'" . $dTasb)->row;
goto tjEAs;
GnqrJ:
if (in_array($YRwDl, array("common", "special"))) {
goto LHMb5;
}
goto wnQkJ;
HLBXW:
if (!$Nz9PV) {
goto TowCL;
}
goto ioEDH;
wCqy0:
dXL2g:
goto VDijb;
H02J7:
goto vld5N;
goto mDQrh;
aSb5I:
l78MZ:
goto G1lOe;
cFe4_:
$YaJgC++;
goto rgK5v;
BYMnV:
ueBPr:
goto XRcyv;
h3VBi:
$this->db->query("UPDATE " . DB_PREFIX . "product_image SET image = '" . $this->db->escape($FhDKC) . "' WHERE image = '" . $this->db->escape($on9VW["image"]) . "'");
goto ZAp9n;
uJ3PZ:
$dTasb = $Nz9PV ? " AND store_id = '" . (int) $DMfse . "'" : '';
goto HLBXW;
dujBI:
return;
goto BjLS4;
VDijb:
if (version_compare(VERSION, "4", ">=")) {
goto e5iFc;
}
goto FK9yQ;
vpHDF:
$this->db->query("UPDATE " . DB_PREFIX . "url_autolink SET " . $njXD6 . " = '" . $this->db->escape($FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "'");
goto RKcqi;
WyYd6:
$FhDKC = array();
goto YKUBi;
KYBk3:
IpxGR:
goto RNeLT;
imEE6:
$this->load->model("extension/complete_seo/catalog/seo_package");
goto NgD2x;
XfcNP:
WK2Cr:
goto OgnBt;
FyS2a:
if (!(empty($bqAnG) || empty($njXD6))) {
goto fbRkd;
}
goto bBK_g;
wGR9Q:
dSZB0:
goto j82lD;
Ar8zG:
if ($this->multistore_mode) {
goto bG7zm;
}
goto Qfq0U;
U4noS:
fbRkd:
goto el4uZ;
XSpdc:
sasJL:
goto aM_4A;
wU83Q:
if (is_string($this->request->post["value"])) {
goto i2e7F;
}
goto NHjkj;
CooJ9:
yOQ_2:
goto Y12Mf;
qJiWw:
$GIKbk = isset($Z6phl[$DMfse][$cEX8Y]) ? $Z6phl[$DMfse][$cEX8Y] : '';
goto Fx0K7;
CuCBW:
xYeK3:
goto pODs8;
KEr33:
$isCq0 = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = '" . $VW4QA . "' AND `value` = '" . (int) $bqAnG . "'")->rows;
goto NApUW;
Q4vJL:
$FhDKC = html_entity_decode($this->request->post["value"], ENT_QUOTES, "UTF-8");
goto gx2Tp;
iJ4YD:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($GIKbk) . "', redirect = 'product/product&product_id=" . (int) $bqAnG . "', language_id = '" . (int) $cEX8Y . "'");
goto wGR9Q;
VuvlH:
BupKK:
goto KsBr2;
rgK5v:
goto BupKK;
goto USpHg;
WQ34A:
IAEbV:
goto srqEL;
NZmyr:
goto a3bcK;
goto amGSj;
gVdMU:
c5Y0I:
goto Fi7FE;
G1lOe:
if (version_compare(VERSION, "4", ">=")) {
goto z3ih4;
}
goto DZw76;
ndBy4:
$YaJgC = 1;
goto VuvlH;
lR69q:
if (isset($this->request->post["store"])) {
goto WK2Cr;
}
goto BqAb9;
e331t:
$this->db->query("INSERT INTO " . DB_PREFIX . $Nz9PV . $YRwDl . "_description SET " . $VW4QA . " = '" . (int) $bqAnG . "', store_id = '" . (int) $DMfse . "', language_id = '" . (int) $cEX8Y . "'");
goto IsFxu;
rQ4kW:
if (!rename(DIR_IMAGE . $on9VW["image"], DIR_IMAGE . $FhDKC)) {
goto IyYKZ;
}
goto Kkqn0;
lBTIm:
if ($YRwDl == "product") {
goto rzaJd;
}
goto vFF5Z;
tMadK:
if (!(empty($on9VW["image"]) || empty($mC5EU["filename"]))) {
goto jriA3;
}
goto fhkxW;
v2oox:
if (!($VW4QA == "category_id")) {
goto Zs270;
}
goto Rp7dH;
gfEfc:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $VW4QA . "=" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "', language_id = '" . (int) $cEX8Y . "', store_id = '" . (int) $DMfse . "'");
goto vJYO2;
qUe0v:
$aQbRC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($mC5EU["filename"], "image", '');
goto xM7po;
Lp2R1:
$njXD6 = $this->request->post["col"];
goto nrwkn;
nIaOe:
$on9VW = $this->db->query("SELECT image FROM " . DB_PREFIX . "product WHERE product_id = '" . (int) $bqAnG . "'")->row;
goto t5Ifx;
aS8VR:
jriA3:
goto qUe0v;
IsFxu:
V01pg:
goto TbsvQ;
d0Fz5:
goto xYeK3;
goto cyKqH;
bxxLx:
Xc12w:
goto n8Bil;
dV5Aj:
exit;
goto odtrq;
QxkiM:
vC1N8:
goto Rs94C;
ZjnEv:
$Z6phl = array();
goto wINTH;
JcIwl:
echo json_encode(array("status" => "success", "msg" => $FhDKC));
goto LSjId;
wZeGf:
exit;
goto CooJ9;
Rvuo8:
echo json_encode(array("status" => "error", "pk" => $bqAnG, "msg" => "Empty value not allowed"));
goto dF9c9;
GUT57:
if ($YRwDl == "category") {
goto dXL2g;
}
goto PK_g3;
Ji_pY:
$Nz9PV = $DMfse || $YRwDl == "manufacturer" ? "seo_" : '';
goto uJ3PZ;
Q9aRq:
goto rHG9e;
goto Msvq7;
srqEL:
goto bwjbA;
goto Swxo7;
vGisT:
$this->db->query("UPDATE " . DB_PREFIX . $Nz9PV . $YRwDl . "_description SET " . $njXD6 . " = '" . $this->db->escape($FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "' AND language_id = '" . (int) $cEX8Y . "'" . $dTasb);
goto BYMnV;
luDq8:
rzaJd:
goto iJ4YD;
Msvq7:
jGQoB:
goto xLKXs;
Fi7FE:
$this->db->query("UPDATE " . DB_PREFIX . "url_redirect SET " . $njXD6 . " = '" . $this->db->escape($FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "'");
goto WQ34A;
RzK11:
$hnPOp = $this->model_catalog_seo_package;
goto d5Z2_;
Hdz2k:
dk5Ui:
goto vkxr9;
bQSOI:
$p3u0R = $u9dCO = array();
goto taMT8;
Y3iuK:
str_replace("route=", '', $FhDKC);
goto RlS4q;
YKUBi:
Fs2am:
goto gqv2p;
KsBr2:
if (!file_exists(DIR_IMAGE . $FhDKC)) {
goto dKKF7;
}
goto ahH5N;
QUr9E:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($GIKbk) . "', redirect = 'information/information&information_id=" . (int) $bqAnG . "', language_id = '" . (int) $cEX8Y . "'");
goto CuCBW;
dZDql:
echo json_encode(array("status" => "success", "pk" => $bqAnG, "msg" => $FhDKC["basename"]));
goto wZeGf;
gqv2p:
foreach ($FhDKC as $svqJA) {
goto jL4xZ;
he_sc:
$on9VW = $this->db->query("SELECT product_id, name FROM " . DB_PREFIX . "product_description WHERE language_id=" . $this->config->get("config_language_id") . " AND product_id = '" . (int) $svqJA . "'")->row;
goto OMVUi;
CNLAr:
fTc6k:
goto A_feM;
YQ_Gy:
if (!(int) $svqJA) {
goto KSp69;
}
goto ef3CN;
jg4w2:
KSp69:
goto CNLAr;
ef3CN:
$this->db->query("INSERT INTO " . DB_PREFIX . "product_related (product_id, related_id) VALUES (" . (int) $bqAnG . ", " . (int) $svqJA . ")");
goto he_sc;
jL4xZ:
$svqJA = (int) $svqJA;
goto YQ_Gy;
OMVUi:
$p3u0R[] = $on9VW["product_id"];
goto oGH4G;
oGH4G:
$u9dCO[] = $on9VW["name"];
goto jg4w2;
A_feM:
}
goto uHCz0;
ROVvx:
$FhDKC = str_replace(array("route=", "index.php?route="), '', $FhDKC);
goto w0hbJ;
p76_j:
goto e3ZwG;
goto XfcNP;
Ywx18:
goto gRsW9;
goto kzeYI;
KSfiB:
vld5N:
goto wU83Q;
wPyh0:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $VW4QA . "=" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "', language_id = '" . (int) $cEX8Y . "'");
goto e3DZX;
NApUW:
gRsW9:
goto ZjnEv;
iPgjl:
$VW4QA = "url_autolink_id";
goto XSpdc;
g_Sn1:
$mC5EU = pathinfo($FhDKC);
goto tMadK;
c8flG:
IvJWv:
goto a1bij;
UX4rU:
echo json_encode(array("status" => "error", "msg" => $this->language->get("error_permission")));
goto GeHqj;
NQ893:
goto Is2Vb;
goto LLKO4;
LSjId:
exit;
goto O02h_;
RKcqi:
a3bcK:
goto eoKa8;
hsWFB:
i2e7F:
goto Q4vJL;
Wy4WZ:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, $YRwDl, $bqAnG, $cEX8Y);
goto XQFFq;
LUHyW:
UfLzJ:
goto d0Fz5;
FWNC_:
ocUbM:
goto KYBk3;
LQLpD:
if (!in_array($YRwDl, array("product", "category", "information", "manufacturer", "common", "special", "redirect", "absolute", "autolink"))) {
goto EVyPW;
}
goto GnqrJ;
nrwkn:
$YRwDl = isset($this->request->post["type"]) ? $this->request->post["type"] : '';
goto ycCEy;
XQFFq:
if (!$this->config->get("mlseo_backup")) {
goto l78MZ;
}
goto eakQc;
ahH5N:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto cFe4_;
JKsLX:
$this->db->query("UPDATE " . DB_PREFIX . $this->url_alias . " SET " . $njXD6 . " = '" . $this->db->escape($jw1cu . $FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "'");
goto cR3fc;
O1thX:
if (!($YRwDl == "absolute")) {
goto f5j2z;
}
goto aHk9p;
HCNxL:
jLEoN:
goto p1CNb;
Rs94C:
$hnPOp->setCategorySeoV4($bqAnG, $FhDKC, $cEX8Y, $DMfse);
goto Roljm;
gx2Tp:
MDXaV:
goto Lp2R1;
GTKcn:
goto MDXaV;
goto hsWFB;
T8J99:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($GIKbk) . "', redirect = 'product/category&category_id=" . (int) $bqAnG . "', language_id = '" . (int) $cEX8Y . "'");
goto m3_Z3;
MgD_3:
}
public function editor_add_alias()
{
goto aM_GV;
MKamM:
L3IAT:
goto D262n;
cARi4:
if ($YRwDl == "autolink") {
goto K_2La;
}
goto Hqgz9;
ym9_D:
if ($this->ml_mode) {
goto t3hdN;
}
goto OPKDE;
L8Uha:
if (!(version_compare(VERSION, "3", ">=") || $this->multistore_mode)) {
goto jPoYl;
}
goto rjqHl;
Y3L3f:
WVVQ5:
goto oxl7D;
Th9N0:
Ol3eQ:
goto cC1eh;
IjXJx:
if (!($YRwDl == "absolute")) {
goto MWwRh;
}
goto NAlMh;
er3zv:
mYTtV:
goto BT8CD;
OPKDE:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $this->db->escape($NyfhL) . "', keyword = '" . $this->db->escape($vHG18) . "'" . $RGTeP);
goto NUQLF;
KX7Qm:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = '" . $this->db->escape($OkVUP) . "', `value` = '" . $this->db->escape($CGCGs) . "', keyword = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'" . $RGTeP);
goto MKamM;
cC1eh:
goto KE6Oi;
goto jQAwF;
fA1ft:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto RNWr9;
NAlMh:
$NyfhL = ltrim($NyfhL, "/");
goto uD6hk;
RNWr9:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto jTQDU;
aM_GV:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto aym61;
}
goto n825A;
JjC99:
$Gd3p9 = "url_alias";
goto l9nle;
rjqHl:
$RGTeP = ", store_id = '" . (int) $VzaDn . "'";
goto o2xav;
gv1f1:
$YRwDl = $this->request->get["type"];
goto fA1ft;
z7Xil:
if ($YRwDl == "redirect" || $YRwDl == "404") {
goto fZFkP;
}
goto cARi4;
RD6wB:
goto chq0a;
goto Y3L3f;
Wbrsq:
list($OkVUP, $CGCGs) = explode("=", $NyfhL);
goto KX7Qm;
l9nle:
if ($YRwDl == "common") {
goto WVVQ5;
}
goto IjXJx;
D262n:
goto Ol3eQ;
goto GMmot;
p1pcu:
MWwRh:
goto RD6wB;
jTQDU:
$NyfhL = $_GET["query"];
goto THff3;
Hqgz9:
if ($YRwDl == "absolute") {
goto NyZjW;
}
goto ckisk;
oxl7D:
$NyfhL = "route=" . str_replace("route=", '', $NyfhL);
goto U_h1O;
Xj12t:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $this->db->escape($NyfhL) . "', keyword = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'" . $RGTeP);
goto er3zv;
sZcee:
goto B3lte;
goto Lqh7Q;
jBqxH:
TJiMb:
goto Wbrsq;
GMmot:
NyZjW:
goto DrQWb;
THff3:
$vHG18 = $_GET["keyword"];
goto JjC99;
DrQWb:
$this->db->query("INSERT INTO " . DB_PREFIX . "url_absolute SET query = '" . $this->db->escape($NyfhL) . "', redirect = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'");
goto Th9N0;
n825A:
return;
goto kZqkN;
NUQLF:
goto mYTtV;
goto TwFtW;
sTHwX:
KE6Oi:
goto sZcee;
sQ2_o:
$this->db->query("INSERT INTO " . DB_PREFIX . "url_redirect SET query = '" . $this->db->escape($NyfhL) . "', redirect = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'");
goto BeL3e;
TwFtW:
t3hdN:
goto Xj12t;
BT8CD:
goto L3IAT;
goto jBqxH;
U_h1O:
chq0a:
goto z7Xil;
kZqkN:
aym61:
goto gv1f1;
BeL3e:
B3lte:
goto qm03x;
jQAwF:
K_2La:
goto WPIaV;
jeNA5:
if (version_compare(VERSION, "4", ">=")) {
goto TJiMb;
}
goto ym9_D;
WPIaV:
$this->db->query("INSERT INTO " . DB_PREFIX . "url_autolink SET query = '" . $this->db->escape($NyfhL) . "', redirect = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'");
goto sTHwX;
ckisk:
$RGTeP = '';
goto L8Uha;
o2xav:
jPoYl:
goto jeNA5;
Lqh7Q:
fZFkP:
goto sQ2_o;
uD6hk:
$NyfhL = str_replace(array("route=", "index.php?route="), '', $NyfhL);
goto p1pcu;
qm03x:
}
public function editor_delete_alias()
{
goto SNYPf;
HE3Pu:
aBsxU:
goto YVZ44;
SNYPf:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto nno_c;
}
goto tqZsX;
KCAcl:
goto DZqV1;
goto HE3Pu;
RQvHC:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto DwTa8;
Fsj07:
DZqV1:
goto ctTvP;
naHyK:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_autolink WHERE url_autolink_id = '" . (int) $BV1je . "'");
goto wm9rY;
eR2KG:
dtHb8:
goto vwFpD;
X9LXu:
if ($YRwDl == "absolute") {
goto wch81;
}
goto OfmfZ;
FMgI6:
$BV1je = $this->request->get["pk"];
goto RQvHC;
ctTvP:
goto dtHb8;
goto adUmy;
DwTa8:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto B8C37;
klTLj:
wch81:
goto wiiIv;
B8C37:
if ($YRwDl == "404") {
goto a2SJJ;
}
goto VfjSN;
wm9rY:
SUPK3:
goto KCAcl;
UsDps:
goto oba4W;
goto klTLj;
VfjSN:
if ($YRwDl == "redirect") {
goto aBsxU;
}
goto IQj0d;
OfmfZ:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $this->url_alias . "_id = '" . (int) $BV1je . "'");
goto UsDps;
TA_5T:
goto SUPK3;
goto Owhg1;
j5aKR:
oba4W:
goto TA_5T;
Pb2_T:
nno_c:
goto c79Ts;
wiiIv:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_absolute WHERE url_absolute_id = '" . (int) $BV1je . "'");
goto j5aKR;
adUmy:
a2SJJ:
goto RBkaX;
c79Ts:
$YRwDl = $this->request->get["type"];
goto FMgI6;
tqZsX:
return;
goto Pb2_T;
IQj0d:
if ($YRwDl == "autolink") {
goto D0PVh;
}
goto X9LXu;
Owhg1:
D0PVh:
goto naHyK;
YVZ44:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_redirect WHERE url_redirect_id = '" . (int) $BV1je . "'");
goto Fsj07;
RBkaX:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_404 WHERE url_404_id = '" . (int) $BV1je . "'");
goto eR2KG;
vwFpD:
}
public function editor_delete_aliases()
{
goto CVgav;
EDXXp:
return;
goto ci0mn;
vo3oe:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_404");
goto bbpef;
bbpef:
goto hM534;
goto qDmw8;
BIYjb:
goto VQugl;
goto uzUMT;
LX7qo:
$YRwDl = $this->request->get["type"];
goto lv49H;
SNbwz:
goto lszy2;
goto mE8Qx;
ZYNGf:
if ($YRwDl == "404") {
goto Ja8vw;
}
goto KJZ75;
YcO6d:
goto DdhIW;
goto SPvit;
bwsBa:
ieR7V:
goto BIYjb;
eMb7N:
lszy2:
goto ZYNGf;
ci0mn:
l1oUU:
goto LX7qo;
DVgo9:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $S88K9);
goto A1wSl;
pTK7W:
goto lszy2;
goto y2ueF;
kLD80:
if ($YRwDl == "autolink") {
goto hdMeu;
}
goto BczYY;
SPvit:
PL89J:
goto GFUyf;
mfCDj:
if ($YRwDl == "special") {
goto tlgBT;
}
goto SNbwz;
qDmw8:
as_pr:
goto jy9dU;
eR7OO:
if (!(version_compare(VERSION, "3", ">=") || $this->multistore_mode)) {
goto DFFTB;
}
goto S5OOP;
mE8Qx:
FU20m:
goto q48rP;
A1wSl:
goto K47nW;
goto c30BS;
q48rP:
$S88K9 = "query LIKE 'route=%'";
goto pTK7W;
lv49H:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto Bw9rp;
lgnCE:
goto jYf5i;
goto kqcnb;
UcyoA:
VQugl:
goto YcO6d;
CVgav:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto l1oUU;
}
goto EDXXp;
kqcnb:
Ja8vw:
goto dOjwY;
ffWEk:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $S88K9 . " AND language_id = '" . (int) $cEX8Y . "'");
goto uaebt;
L1Eh_:
hM534:
goto Bl90E;
Df7L7:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_autolink");
goto UcyoA;
POahY:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_absolute");
goto bwsBa;
BczYY:
if ($YRwDl == "absolute") {
goto e3JTE;
}
goto eR7OO;
uzUMT:
hdMeu:
goto Df7L7;
c30BS:
nrf92:
goto ffWEk;
y2ueF:
tlgBT:
goto A7woU;
vpZzd:
goto ieR7V;
goto y3kQn;
Rqt6Z:
if ($this->ml_mode) {
goto nrf92;
}
goto DVgo9;
S5OOP:
$S88K9 .= " AND store_id = '" . (int) $VzaDn . "'";
goto t5Smf;
Bl90E:
jYf5i:
goto Oq6rE;
dOjwY:
if (!empty($this->request->get["redir_only"])) {
goto as_pr;
}
goto vo3oe;
uaebt:
K47nW:
goto vpZzd;
WQx7E:
if ($YRwDl == "common") {
goto FU20m;
}
goto mfCDj;
KJZ75:
if ($YRwDl == "redirect") {
goto PL89J;
}
goto kLD80;
jy9dU:
$this->db->query("DELETE u FROM " . DB_PREFIX . "url_404 u LEFT JOIN " . DB_PREFIX . "url_redirect r ON (u.query = r.query OR REPLACE(u.query, '" . HTTP_CATALOG . "', '/') = r.query) WHERE r.query IS NOT NULL");
goto L1Eh_;
B5m4h:
DdhIW:
goto lgnCE;
GFUyf:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_redirect");
goto B5m4h;
Bw9rp:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto WQx7E;
A7woU:
$S88K9 = "query NOT LIKE 'route=%'
AND query NOT LIKE 'product_id=%'\xa AND query NOT LIKE 'category_id=%'
AND query NOT LIKE 'information_id=%'
AND query NOT LIKE 'manufacturer_id=%'";
goto eMb7N;
y3kQn:
e3JTE:
goto POahY;
t5Smf:
DFFTB:
goto Rqt6Z;
Oq6rE:
}
public function editor_restore_aliases()
{
goto HTaqg;
HTaqg:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto sVKKA;
}
goto lsl8J;
V_qjQ:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto sOiH4;
nYjo3:
sVKKA:
goto pFvW0;
gMhDm:
foreach ($AXGU9 as $NyfhL => $vHG18) {
goto ICHYV;
x5idt:
bIuOJ:
goto wm_QO;
rNDFB:
if ($this->ml_mode) {
goto gb7jG;
}
goto S0NT2;
a99th:
$vHG18 = URLify::downcode($vHG18, mb_substr($FoZfU, 0, 2));
goto kWP4y;
NtYef:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'route', `value` = '" . $NyfhL . "', keyword = '" . $vHG18 . "', language_id = '" . (int) $cEX8Y . "'" . $RGTeP);
goto rAa2_;
wVixd:
eI2bo:
goto a99th;
ICHYV:
if (!$this->config->get("mlseo_ascii_" . $cEX8Y)) {
goto bIuOJ;
}
goto Klq66;
wm_QO:
if (version_compare(VERSION, "4", ">=")) {
goto YyfDo;
}
goto rNDFB;
Ni3x7:
YyfDo:
goto NtYef;
oBm_N:
goto zj8gQ;
goto Ni3x7;
S0NT2:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'route=" . $NyfhL . "', keyword = '" . $vHG18 . "'" . $RGTeP);
goto FoxFX;
LLVY5:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'route=" . $NyfhL . "', keyword = '" . $vHG18 . "', language_id = '" . (int) $cEX8Y . "'" . $RGTeP);
goto vQvT2;
UoS7S:
zyYe3:
goto GxPyO;
FoxFX:
goto psM_p;
goto HkSnn;
vQvT2:
psM_p:
goto oBm_N;
kWP4y:
bEyIF:
goto x5idt;
rAa2_:
zj8gQ:
goto UoS7S;
Klq66:
include_once DIR_SYSTEM . "library/gkd_urlify.php";
goto QIfK_;
QIfK_:
if (function_exists("mb_substr")) {
goto eI2bo;
}
goto g4trE;
Z47MY:
goto bEyIF;
goto wVixd;
HkSnn:
gb7jG:
goto LLVY5;
g4trE:
$vHG18 = URLify::downcode($vHG18, substr($FoZfU, 0, 2));
goto Z47MY;
GxPyO:
}
goto qJZW7;
czh_6:
$this->editor_delete_aliases();
goto P8Cc0;
Epf9p:
noL_y:
goto czh_6;
lsl8J:
return;
goto nYjo3;
eUrp1:
NSqnc:
goto gMhDm;
DWVCg:
if (!(version_compare(VERSION, "3", ">=") || $this->multistore_mode)) {
goto NSqnc;
}
goto JsHOL;
rc38b:
foreach ($cHoqT as $nDDFl) {
$ji98i[$nDDFl["language_id"]] = $nDDFl["code"];
EQPC2:
}
goto Epf9p;
qJZW7:
lkJQC:
goto QMDns;
UtHBm:
$ji98i = array();
goto rc38b;
sOiH4:
$cHoqT = $this->model_localisation_language->getLanguages();
goto UtHBm;
pFvW0:
$this->load->model(self::$EXT_PATH . "setting/friendlyurls");
goto UgN3G;
UgN3G:
$this->load->model("localisation/language");
goto vTHlv;
P8Cc0:
$AXGU9 = version_compare(VERSION, "4", ">=") ? $this->model_extension_complete_seo_setting_friendlyurls->getFriendlyUrls($FoZfU) : $this->model_setting_friendlyurls->getFriendlyUrls($FoZfU);
goto DWVCg;
PGlah:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto V_qjQ;
vTHlv:
$FoZfU = $this->request->get["lang_code"];
goto PGlah;
JsHOL:
$RGTeP = ", store_id = '" . (int) $VzaDn . "'";
goto eUrp1;
QMDns:
}
public function editor_export_aliases()
{
goto X1UJo;
jJIa2:
$cEX8Y = $this->request->get["lang"];
goto yj9MX;
I9va5:
goto GmBDY;
goto yBe60;
t25M_:
$S88K9 = "query LIKE 'route=%'";
goto iuHfI;
h3Ws7:
n2T9p:
goto hnNTy;
ggBi4:
header("Content-type: text/plain");
goto Br470;
rfjNt:
rUYUs:
goto gfKj5;
ewMpM:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $S88K9);
goto I9va5;
Br470:
header("Content-Disposition: attachment; filename=friendly_export.txt");
goto UyNu7;
yBe60:
WPnZH:
goto GlwyT;
yj9MX:
$FoZfU = $this->request->get["lang_code"];
goto ggBi4;
msiqy:
foreach ($NyfhL->rows as $vLCNO) {
echo "'" . str_replace("route=", '', $vLCNO["query"]) . "' => '" . $vLCNO["keyword"] . "'," . PHP_EOL;
LVeAJ:
}
goto h3Ws7;
Q86Dt:
echo "Language : " . $FoZfU . PHP_EOL . PHP_EOL;
goto KmcMW;
pywWI:
GmBDY:
goto msiqy;
gfKj5:
if ($this->ml_mode) {
goto WPnZH;
}
goto ewMpM;
w0Y5Y:
jpOaS:
goto eRav7;
UyNu7:
echo "You translated friendly urls and want to integrate them in official package?" . PHP_EOL . "Please send this file to [email protected]" . PHP_EOL . PHP_EOL;
goto Q86Dt;
hnNTy:
exit;
goto okG2m;
eRav7:
$S88K9 = "query NOT LIKE 'route=%'
AND query NOT LIKE 'product_id=%'
AND query NOT LIKE 'category_id=%'\xa AND query NOT LIKE 'information_id=%'\xa AND query NOT LIKE 'manufacturer_id=%'";
goto rfjNt;
GlwyT:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $S88K9 . " AND language_id = '" . (int) $cEX8Y . "'");
goto pywWI;
cuocZ:
exit;
goto x9JQJ;
KmcMW:
if ($YRwDl == "common") {
goto GSkAl;
}
goto wh7hT;
X1UJo:
$YRwDl = $this->request->get["type"];
goto jJIa2;
wh7hT:
if ($YRwDl == "special") {
goto jpOaS;
}
goto cuocZ;
iuHfI:
goto rUYUs;
goto w0Y5Y;
x9JQJ:
goto rUYUs;
goto rqLQZ;
rqLQZ:
GSkAl:
goto t25M_;
okG2m:
}
public function modal_related()
{
goto zBORD;
ZpXnm:
die;
goto BchYH;
EPbLl:
echo '</select>\xa<script type="text/javascript">\xa $("select.related-select").select2({
\xa });\xa</script>\xa </div>
</div>\xa </div>';
goto ZpXnm;
zBORD:
$JSF1V = $this->request->post["id"];
goto zVg8l;
zVg8l:
$Wcfon = $this->db->query("SELECT pr.related_id, pd.name FROM " . DB_PREFIX . "product_related pr LEFT JOIN " . DB_PREFIX . "product_description pd ON pd.product_id = pr.related_id WHERE pr.product_id=" . (int) $JSF1V . " AND pd.language_id=" . $this->config->get("config_language_id"))->rows;
goto C5qbl;
C5qbl:
echo '<div class="modal-dialog">
<div class="modal-content">\xa <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">" . $this->language->get("text_seo_mode_related") . "</h4>\xa </div>
<div class="modal-body">
<select class="related-select" multiple="multiple">';
goto fEiCt;
fEiCt:
foreach ($Wcfon as $YEgeg) {
echo '<option value="' . $YEgeg["related_id"] . '">" . $YEgeg["name"] . "</option>';
I2SzH:
}
goto Gnav8;
Gnav8:
YHFGz:
goto EPbLl;
BchYH:
}
public function product_search()
{
goto HUDKr;
IaDZS:
$L_q29 = $this->request->get["q"];
goto KiZ84;
Kjxm8:
exit;
goto pF9j5;
LlNsm:
iEbVM:
goto IaDZS;
sKvss:
lfMsD:
goto S3zpb;
S3zpb:
header("Content-Type: application/json");
goto qaKjd;
J_54y:
echo json_encode(array("results"));
goto Hl95u;
ixI95:
header("Content-Type: application/json");
goto J_54y;
qaKjd:
echo json_encode($Gu0Rj);
goto Kjxm8;
Hl95u:
exit;
goto LlNsm;
HUDKr:
if (isset($this->request->get["q"])) {
goto iEbVM;
}
goto ixI95;
vi8xF:
$t3qCx = $this->db->query("SELECT product_id, name FROM " . DB_PREFIX . "product_description WHERE name LIKE '" . $this->db->escape($L_q29) . "%' AND language_id=" . $this->config->get("config_language_id") . " LIMIT 30")->rows;
goto pPiBl;
xuIen:
foreach ($t3qCx as $pEZzo) {
$Gu0Rj["results"][] = array("id" => $pEZzo["product_id"], "text" => htmlspecialchars_decode($pEZzo["name"]));
aNdJ1:
}
goto sKvss;
I4K6j:
$t3qCx = $this->db->query("SELECT product_id, name FROM " . DB_PREFIX . "product_description WHERE name LIKE '%" . $this->db->escape($L_q29) . "%' AND language_id=" . $this->config->get("config_language_id") . " LIMIT 30")->rows;
goto vjUGc;
KiZ84:
$Gu0Rj = array("results");
goto vi8xF;
pPiBl:
if ($t3qCx) {
goto uPeh2;
}
goto I4K6j;
vjUGc:
uPeh2:
goto xuIen;
pF9j5:
}
public function modal_info()
{
goto zf5_m;
zf5_m:
$R02YI = $this->request->post["info"];
goto Xl90G;
pHFx2:
$EHwb1 = $this->language->get("info_title_" . $R02YI) != "info_title_" . $R02YI ? $this->language->get("info_title_" . $R02YI) : $this->language->get("info_title_default");
goto nQpU6;
UWmNK:
echo '<div class="modal-dialog ' . $C9CiQ . '">
<div class="modal-content">\xa <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title"><i class="fa fa-info-circle"></i> ' . $EHwb1 . '</h4>
</div>\xa <div class="modal-body">' . $QjyJX . '</div>\xa </div>
</div>';
goto BU8cr;
Xl90G:
$C9CiQ = $this->language->get("info_css_" . $R02YI) != "info_css_" . $R02YI ? $this->language->get("info_css_" . $R02YI) : "modal-lg";
goto pHFx2;
BU8cr:
die;
goto BOKcS;
nQpU6:
$QjyJX = $this->language->get("info_msg_" . $R02YI) != "info_msg_" . $R02YI ? $this->language->get("info_msg_" . $R02YI) : $this->language->get("info_msg_default");
goto UWmNK;
BOKcS:
}
public function install($uRsNb = false)
{
goto pco1x;
NkF2r:
klTSI:
goto hVopp;
O0D5g:
if (version_compare(VERSION, "2", ">=")) {
goto klTSI;
}
goto nvppT;
Lf9Fn:
Kuyrz:
goto Mratw;
xSuJK:
goto UK3i5;
goto NkF2r;
TQtT4:
file_put_contents(DIR_CATALOG . "../index.php", $cbmgs);
goto b0PLD;
VmW4i:
if (!(version_compare(VERSION, "3", "<") && is_dir(DIR_APPLICATION . "controller/extension/module"))) {
goto PBbco;
}
goto tVY98;
KbwV1:
fIbRP:
goto iBeSB;
pco1x:
if (!$this->config->get("mlseo_enabled")) {
goto gv4JA;
}
goto cHRAE;
hVW58:
lOkvA:
goto BW2V7;
b0PLD:
jkLUM:
goto Lf9Fn;
onI2p:
gv4JA:
goto VmW4i;
XwHGf:
foreach ($e7DRu as $GgSL6) {
$cHoqT[$GgSL6["code"]] = $GgSL6;
Kknwv:
}
goto KbwV1;
ev0FF:
$e7DRu = $this->model_localisation_language->getLanguages();
goto XwHGf;
qljD5:
if (!(strpos($cbmgs, "new multilingual_seo") === false && strpos($cbmgs, "$languages = array();") !== false)) {
goto jkLUM;
}
goto Th0z_;
NAsOJ:
$this->db_tables();
goto Cl9vn;
Th0z_:
$cbmgs = str_replace("$languages = array();", "$languages = array();" . "
" . "$multilingual = new multilingual_seo($registry); $multilingual->detect();", $cbmgs);
goto TQtT4;
JKRF6:
$cbmgs = file_get_contents(DIR_CATALOG . "../index.php");
goto qljD5;
d9TG0:
if (!is_writable(DIR_CATALOG . "../index.php")) {
goto Kuyrz;
}
goto JKRF6;
Cl9vn:
$this->load->model("localisation/language");
goto QlBGT;
Mratw:
if (!($uRsNb || !empty($this->request->get["redir"]))) {
goto lOkvA;
}
goto O0D5g;
hLmOv:
$this->model_setting_setting->editSetting("mlseo", array("mlseo_whitespace" => "-", "mlseo_extension" => '', "mlseo_hreflang" => true, "mlseo_friendly" => true, "mlseo_lowercase" => true, "mlseo_duplicate" => true, "mlseo_canonical" => true, "mlseo_pagination_fix" => true, "mlseo_default_lang" => $this->config->get("config_language"), "mlseo_insertautotitle" => true, "mlseo_insertautourl" => true, "mlseo_editautourl" => true, "mlseo_insertautometakeyword" => true, "mlseo_editautometakeyword" => true, "mlseo_insertautoseotitle" => true, "mlseo_editautoseotitle" => true, "mlseo_insertautometadesc" => true, "mlseo_editautometadesc" => true, "mlseo_safe_url" => "ext", "mlseo_product_url_pattern" => "[name]", "mlseo_product_h1_pattern" => "[name]", "mlseo_product_h2_pattern" => "[name]", "mlseo_product_h3_pattern" => "[name]", "mlseo_product_image_alt_pattern" => "[name]", "mlseo_product_image_title_pattern" => "[name]", "mlseo_product_image_name_pattern" => "[name]", "mlseo_product_title_pattern" => "[name] - [model]", "mlseo_product_keyword_pattern" => "[name], [model], [category]", "mlseo_product_description_pattern" => "[name] - [model] - [category] - [desc]", "mlseo_product_full_desc_pattern" => "[name] - [model] - [category]", "mlseo_product_tag_pattern" => "[name], [model], [category]", "mlseo_category_url_pattern" => "[name]", "mlseo_category_h1_pattern" => "[name]", "mlseo_category_h2_pattern" => "[name]", "mlseo_category_h3_pattern" => "[name]", "mlseo_category_title_pattern" => "[name]", "mlseo_category_keyword_pattern" => "[name], [desc]", "mlseo_category_description_pattern" => "[name] - [desc]", "mlseo_category_full_desc_pattern" => "[name]", "mlseo_information_url_pattern" => "[name]", "mlseo_information_h1_pattern" => "[name]", "mlseo_information_h2_pattern" => "[name]", "mlseo_information_h3_pattern" => "[name]", "mlseo_information_title_pattern" => "[name]", "mlseo_information_keyword_pattern" => "[name] [desc]", "mlseo_information_description_pattern" => "[name] - [desc]", "mlseo_information_full_desc_pattern" => "[name]", "mlseo_manufacturer_url_pattern" => "[name]", "mlseo_manufacturer_h1_pattern" => "[name]", "mlseo_manufacturer_h2_pattern" => "[name]", "mlseo_manufacturer_h3_pattern" => "[name]", "mlseo_manufacturer_title_pattern" => "[name]", "mlseo_product_related_relevance" => 5, "mlseo_product_related_no" => 5, "mlseo_microdata_data" => array("model" => 1, "desc" => 1, "brand" => 1, "reviews" => 1, "product" => 1, "organization" => 1, "store" => 1, "website" => 1, "breadcrumbs" => 1, "organization_search" => 1, "store_logo" => 1, "store_mail" => 1, "website_search" => 1), "mlseo_tcard_data" => array("desc" => 1), "mlseo_opengraph_data" => array("desc" => 1)));
goto d9TG0;
cHRAE:
return;
goto onI2p;
iBeSB:
$this->load->model("setting/setting");
goto hLmOv;
nvppT:
$this->redirect($this->url->link("module/" . self::MODULE, $this->token, "SSL"));
goto xSuJK;
hVopp:
$this->response->redirect($this->url->link("module/" . self::MODULE, $this->token, "SSL"));
goto Cc_vI;
Cc_vI:
UK3i5:
goto hVW58;
QlBGT:
$cHoqT = array();
goto ev0FF;
tVY98:
PBbco:
goto NAsOJ;
BW2V7:
}
private function log($kV9Yt = '', $f_XEr = "all")
{
goto E3CX1;
q338c:
$p4ySU = $kV9Yt . PHP_EOL;
goto G5Ots;
G5Ots:
file_put_contents($bGAvr, $p4ySU, FILE_APPEND | LOCK_EX);
goto lJZGu;
gNL1o:
j2t_B:
goto fSIjc;
RY2JK:
return;
goto gNL1o;
fSIjc:
if (!($this->config->get("mlseo_cron_log") == "report" && $f_XEr != "report")) {
goto ojAam;
}
goto zKXHp;
wi9rx:
$bGAvr = DIR_LOGS . "seo_package_cli.log";
goto q338c;
zKXHp:
return;
goto qqlpc;
qqlpc:
ojAam:
goto wi9rx;
E3CX1:
if (!($this->config->get("mlseo_cron_log") == "off")) {
goto j2t_B;
}
goto RY2JK;
lJZGu:
}
public function uninstall()
{
goto UklJR;
UklJR:
$Ydf1W = $this->config->get("config_language_id");
goto TFa8k;
m8AmS:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'language_id'")->row) {
goto puyzZ;
}
goto iQNsz;
TFa8k:
if (!version_compare(VERSION, "3", "<")) {
goto IVKjO;
}
goto m8AmS;
ABVDN:
file_put_contents(DIR_CATALOG . "../index.php", $cbmgs);
goto srDDF;
RZJIW:
IVKjO:
goto CUkZM;
CUkZM:
if (!version_compare(VERSION, "2.2", "<")) {
goto MneD9;
}
goto utmBB;
Xy72L:
puyzZ:
goto RZJIW;
utmBB:
$cbmgs = file_get_contents(DIR_CATALOG . "../index.php");
goto JciE5;
Lmlia:
$this->db->query("ALTER TABLE `" . DB_PREFIX . $this->url_alias . "` DROP `language_id`");
goto Xy72L;
iQNsz:
$this->db->query("DELETE FROM `" . DB_PREFIX . $this->url_alias . "` WHERE language_id <> " . $Ydf1W . " AND language_id <> 0");
goto Lmlia;
JciE5:
$cbmgs = str_replace("$multilingual = new multilingual_seo($registry); $multilingual->detect();", '', $cbmgs);
goto ABVDN;
srDDF:
MneD9:
goto ibJ41;
ibJ41:
}
private function validate()
{
goto IePAm;
OrJgH:
A3lEk:
goto hEaXw;
afeiB:
return false;
goto FyG4P;
BJ8Ou:
rdbBO:
goto afeiB;
VvIup:
$this->error["error"] = $this->language->get("error_permission");
goto OrJgH;
IePAm:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto A3lEk;
}
goto VvIup;
hEaXw:
if ($this->error) {
goto rdbBO;
}
goto FSUrb;
FSUrb:
return true;
goto BJ8Ou;
FyG4P:
}
private function db_tables()
{
goto xQ83n;
PnxQd:
$this->db->query("ALTER TABLE `" . DB_PREFIX . $this->url_alias . "` ADD `store_id` INT(11) NOT NULL DEFAULT '0'");
goto M7Kmk;
yFcP_:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description` LIKE 'seo_keyword'")->row) {
goto WzMUH;
}
goto zeNgb;
Ymb00:
if (!$this->config->get("mlseo_multistore")) {
goto Qcj8O;
}
goto s_DCb;
RQuXR:
Qcj8O:
goto zSQDZ;
UhS9v:
WEsBC:
goto QKTxL;
TdhHU:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'seo_h2'")->row) {
goto PaQOx;
}
goto GFxax;
S_noO:
if (!(count($cHoqT) > 1)) {
goto xoymP;
}
goto AIK2p;
yT9ou:
$cHoqT = $this->model_localisation_language->getLanguages();
goto F4CYs;
j21Lv:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product` ADD `seo_canonical` VARCHAR(32) NOT NULL");
goto AeyGe;
xRN4I:
xoymP:
goto JTP_7;
CfmQA:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "category_description` ADD `seo_h2` VARCHAR(255) NOT NULL");
goto UhS9v;
MhE7A:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product_description` ADD `seo_keyword` VARCHAR(255) NOT NULL");
goto lwvTI;
Km1wZ:
JIs1o:
goto fP38B;
AIK2p:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'language_id'")->row) {
goto EzGSE;
}
goto uGWbW;
AXUQ9:
eeRhp:
goto KIS9w;
vRyTy:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'image_title'")->row) {
goto WHLWd;
}
goto Czcpd;
oboU6:
WSq3E:
goto vRyTy;
Y8pyQ:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'seo_h1'")->row) {
goto dXF0w;
}
goto CLyve;
tpHyV:
foreach (array("product", "category", "information") as $YRwDl) {
goto blgi6;
blgi6:
$aveZd = $this->db->query("SELECT CHARACTER_MAXIMUM_LENGTH AS length FROM information_schema.columns WHERE table_schema = DATABASE() AND table_name = '" . DB_PREFIX . $YRwDl . "_description' AND COLUMN_NAME = 'seo_keyword'")->row;
goto nJ6WM;
Gi3e3:
XANVi:
goto V7Ng6;
MH80C:
$this->db->query("ALTER TABLE `" . DB_PREFIX . $YRwDl . "_description` MODIFY COLUMN `seo_keyword` VARCHAR(255) NOT NULL");
goto FeBWS;
nJ6WM:
if (!($aveZd["length"] < 255)) {
goto cXuS4;
}
goto MH80C;
FeBWS:
cXuS4:
goto Gi3e3;
V7Ng6:
}
goto MK64c;
F4CYs:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product` LIKE 'meta_robots'")->row) {
goto fH1SM;
}
goto gUrJM;
QKTxL:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description` LIKE 'seo_h3'")->row) {
goto VWTTI;
}
goto Wxfm0;
CLyve:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "information_description` ADD `seo_h1` VARCHAR(255) NOT NULL");
goto E1_wI;
eHRA9:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product` ADD `meta_robots` VARCHAR(40) NOT NULL");
goto SewNx;
z8oWl:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product_description` ADD `meta_title` VARCHAR(255) NOT NULL");
goto MT1PH;
bnbtw:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'seo_keyword'")->row) {
goto ZXn51;
}
goto t31eD;
Vd6pJ:
WzMUH:
goto qxolL;
uGWbW:
$this->db->query("ALTER TABLE `" . DB_PREFIX . $this->url_alias . "` ADD `language_id` INT(11) NOT NULL DEFAULT '0'");
goto KmqVt;
zeNgb:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "category_description` ADD `seo_keyword` VARCHAR(255) NOT NULL");
goto Vd6pJ;
THWP4:
vebsb:
goto DrpZw;
X9wDy:
RhhG2:
goto qVOik;
SewNx:
fH1SM:
goto rO2Q0;
RKFVA:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product_description` ADD `seo_h3` VARCHAR(255) NOT NULL");
goto oboU6;
d3wsC:
$this->db->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "url_redirect` (
`url_redirect_id` int(11) NOT NULL AUTO_INCREMENT,\xa `query` varchar(1000) NOT NULL,\xa `redirect` varchar(1000) NOT NULL,\xa `language_id` int(3) NOT NULL DEFAULT '0',
`date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, \xa PRIMARY KEY (`url_redirect_id`),
KEY `query` (`query`),\xa KEY `redirect` (`redirect`)\xa ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;");
goto CfGEL;
tKjCK:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "information_description` ADD `meta_title` VARCHAR(255) NOT NULL");
goto XAC3t;
QN5L9:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "url_404` ADD `referer` VARCHAR(1000) NOT NULL");
goto car1o;
xQ83n:
$this->load->model("localisation/language");
goto yT9ou;
mdyZy:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "information_description` CHANGE `seo_title` `meta_title` VARCHAR(255) NOT NULL");
goto THWP4;
MhrGf:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'seo_h2'")->row) {
goto JIs1o;
}
goto C_bdn;
MK64c:
or6kB:
goto p49dk;
hCAN8:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'seo_h3'")->row) {
goto WSq3E;
}
goto RKFVA;
l9KBt:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "category_description` ADD `seo_h1` VARCHAR(255) NOT NULL");
goto X9wDy;
Vv0Nj:
YXtPE:
goto rG2WT;
t31eD:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "information_description` ADD `seo_keyword` VARCHAR(255) NOT NULL");
goto FwxUg;
Yj1iT:
try {
goto SSIgd;
SSIgd:
if ($this->db->query("SHOW INDEX FROM " . DB_PREFIX . "product_description WHERE Key_name='related_generator'")->row) {
goto aoqdl;
}
goto mKth5;
mKth5:
$this->db->query("CREATE FULLTEXT INDEX related_generator ON " . DB_PREFIX . "product_description (name, description)");
goto AeNm4;
AeNm4:
aoqdl:
goto xdKDg;
xdKDg:
} catch (Exception $rHcZl) {
}
goto Ymb00;
iF1EG:
if (!($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'seo_title'")->row && !$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'meta_title'")->row)) {
goto eeRhp;
}
goto rIFre;
H186g:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information` LIKE 'meta_robots'")->row) {
goto acgXn;
}
goto IFpdA;
KmqVt:
EzGSE:
goto UnMyu;
WsnKN:
oTLbP:
goto H186g;
LZ4aO:
$this->db->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "seo_information_description` (\xa `information_id` int(11) NOT NULL,\xa `language_id` int(11) NOT NULL DEFAULT 0,\xa `store_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(255) NOT NULL DEFAULT '',\xa `description` text NOT NULL DEFAULT '',
`meta_title` varchar(255) NOT NULL DEFAULT '',\xa `meta_description` varchar(255) NOT NULL DEFAULT '',
`meta_keyword` varchar(255) NOT NULL DEFAULT '',
`seo_h1` varchar(255) NOT NULL DEFAULT '',
`seo_h2` varchar(255) NOT NULL DEFAULT '',
`seo_h3` varchar(255) NOT NULL DEFAULT '',\xa PRIMARY KEY (`information_id`,`language_id`,`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;");
goto RQuXR;
iGaeG:
WHLWd:
goto QM8Nb;
epmU4:
mhJEF:
goto GHWFl;
IFpdA:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "information` ADD `meta_robots` VARCHAR(40) NOT NULL");
goto I2zkJ;
MT1PH:
tu0OP:
goto JUYxI;
CfGEL:
$this->db->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "url_404` (\xa `url_404_id` int(11) NOT NULL AUTO_INCREMENT,\xa `query` varchar(1000) NOT NULL,\xa `referer` varchar(1000) NOT NULL,\xa `count` int(11) NOT NULL DEFAULT '0',
`date_accessed` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`url_404_id`),
KEY `query` (`query`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;");
goto rEQ4s;
Qq8Zo:
if (!($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'seo_title'")->row && !$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'meta_title'")->row)) {
goto vebsb;
}
goto mdyZy;
C_bdn:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "information_description` ADD `seo_h2` VARCHAR(255) NOT NULL");
goto Km1wZ;
DkXC4:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "information_description` ADD `seo_h3` VARCHAR(255) NOT NULL");
goto Vv0Nj;
M7Kmk:
Hfsoi:
goto f0LoX;
rEQ4s:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "url_404` LIKE 'referer'")->row) {
goto JImDx;
}
goto QN5L9;
Czcpd:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product_description` ADD `image_title` VARCHAR(255) NOT NULL");
goto iGaeG;
E6YFu:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product_description` ADD `image_alt` VARCHAR(255) NOT NULL");
goto bRMnl;
xXnPv:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "category_description` ADD `meta_title` VARCHAR(255) NOT NULL");
goto nweYN;
f0LoX:
$this->db->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "seo_product_description` (
`product_id` int(11) NOT NULL,
`language_id` int(11) NOT NULL DEFAULT 0,\xa `store_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(255) NOT NULL DEFAULT '',\xa `description` text NOT NULL DEFAULT '',\xa `meta_title` varchar(255) NOT NULL DEFAULT '',\xa `meta_description` varchar(255) NOT NULL DEFAULT '',\xa `meta_keyword` varchar(255) NOT NULL DEFAULT '',
`image_title` varchar(255) NOT NULL DEFAULT '',\xa `image_alt` varchar(255) NOT NULL DEFAULT '',
`seo_h1` varchar(255) NOT NULL DEFAULT '',\xa `seo_h2` varchar(255) NOT NULL DEFAULT '',
`seo_h3` varchar(255) NOT NULL DEFAULT '',\xa PRIMARY KEY (`product_id`,`language_id`,`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;");
goto cn1Hf;
cn1Hf:
$this->db->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "seo_category_description` (\xa `category_id` int(11) NOT NULL,\xa `language_id` int(11) NOT NULL DEFAULT 0,\xa `store_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(255) NOT NULL DEFAULT '',\xa `description` text NOT NULL DEFAULT '',
`meta_title` varchar(255) NOT NULL DEFAULT '',\xa `meta_description` varchar(255) NOT NULL DEFAULT '',\xa `meta_keyword` varchar(255) NOT NULL DEFAULT '',
`seo_h1` varchar(255) NOT NULL DEFAULT '',\xa `seo_h2` varchar(255) NOT NULL DEFAULT '',\xa `seo_h3` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`category_id`,`language_id`,`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;");
goto LZ4aO;
DrpZw:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'meta_title'")->row) {
goto tu0OP;
}
goto z8oWl;
GFxax:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product_description` ADD `seo_h2` VARCHAR(255) NOT NULL");
goto bnxe0;
xJwpZ:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'meta_description'")->row) {
goto mhJEF;
}
goto gbFK2;
lwvTI:
GLl28:
goto rVDvj;
rIFre:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product_description` CHANGE `seo_title` `meta_title` VARCHAR(255) NOT NULL");
goto AXUQ9;
k1AVH:
WtOE2:
goto Qq8Zo;
E1_wI:
dXF0w:
goto MhrGf;
nweYN:
HkiP8:
goto snJW2;
c35TT:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "information_description` ADD `meta_keyword` VARCHAR(255) NOT NULL");
goto l22TF;
BI7GT:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "category_description` CHANGE `seo_title` `meta_title` VARCHAR(255) NOT NULL");
goto k1AVH;
I2zkJ:
acgXn:
goto CTvYy;
XAC3t:
GLtwU:
goto xJwpZ;
car1o:
JImDx:
goto tpHyV;
snJW2:
e6AjH:
goto LYAAs;
CTvYy:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product` LIKE 'seo_canonical'")->row) {
goto x8l47;
}
goto j21Lv;
tEAio:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product_description` ADD `seo_h1` VARCHAR(255) NOT NULL");
goto Sqi3a;
ZsLIR:
$this->db->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "url_absolute` (
`url_absolute_id` int(11) NOT NULL AUTO_INCREMENT,
`query` varchar(1000) NOT NULL,
`redirect` varchar(1000) NOT NULL,\xa `language_id` int(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`url_absolute_id`),\xa KEY `query` (`query`),
KEY `redirect` (`redirect`)\xa ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;");
goto RO3kB;
t9WeZ:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description` LIKE 'meta_title'")->row) {
goto HkiP8;
}
goto xXnPv;
JTP_7:
VC3Dg:
goto Yj1iT;
Sqi3a:
o0zsn:
goto TdhHU;
bRMnl:
h_4oV:
goto bnbtw;
bnxe0:
PaQOx:
goto hCAN8;
KIS9w:
if (!($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description` LIKE 'seo_title'")->row && !$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description` LIKE 'meta_title'")->row)) {
goto WtOE2;
}
goto BI7GT;
l22TF:
E4R0g:
goto t9WeZ;
FwxUg:
ZXn51:
goto yFcP_;
gUrJM:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product` CHANGE `date_available` `date_available` DATE NULL");
goto eHRA9;
gbFK2:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "information_description` ADD `meta_description` VARCHAR(255) NOT NULL");
goto epmU4;
LYAAs:
if (!version_compare(VERSION, "3", "<")) {
goto VC3Dg;
}
goto S_noO;
s_DCb:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'store_id'")->row) {
goto Hfsoi;
}
goto PnxQd;
Wxfm0:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "category_description` ADD `seo_h3` VARCHAR(255) NOT NULL");
goto b9W73;
qVOik:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description` LIKE 'seo_h2'")->row) {
goto WEsBC;
}
goto CfmQA;
JUYxI:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'meta_title'")->row) {
goto GLtwU;
}
goto tKjCK;
fP38B:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'seo_h3'")->row) {
goto YXtPE;
}
goto DkXC4;
QM8Nb:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'image_alt'")->row) {
goto h_4oV;
}
goto E6YFu;
rG2WT:
if (version_compare(VERSION, "2", ">=")) {
goto e6AjH;
}
goto iF1EG;
rVDvj:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'seo_h1'")->row) {
goto o0zsn;
}
goto tEAio;
AeyGe:
x8l47:
goto rhrgp;
rO2Q0:
if ($this->db->query("SHOW COLUMNS FROM " . DB_PREFIX . "category LIKE 'meta_robots'")->row) {
goto oTLbP;
}
goto EOt1b;
b9W73:
VWTTI:
goto Y8pyQ;
zSQDZ:
$this->db->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "seo_manufacturer_description` (\xa `manufacturer_id` int(11) NOT NULL,\xa `language_id` int(11) NOT NULL DEFAULT 0,
`store_id` int(11) NOT NULL DEFAULT 0,
`name` varchar(255) NOT NULL DEFAULT '',
`description` text NOT NULL DEFAULT '',\xa `meta_title` varchar(255) NOT NULL DEFAULT '',
`meta_description` varchar(255) NOT NULL DEFAULT '',\xa `meta_keyword` varchar(255) NOT NULL DEFAULT '',\xa `seo_h1` varchar(255) NOT NULL DEFAULT '',
`seo_h2` varchar(255) NOT NULL DEFAULT '',\xa `seo_h3` varchar(255) NOT NULL DEFAULT '',\xa PRIMARY KEY (`manufacturer_id`,`language_id`,`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;");
goto ZsLIR;
qxolL:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description` LIKE 'seo_h1'")->row) {
goto RhhG2;
}
goto l9KBt;
rhrgp:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'seo_keyword'")->row) {
goto GLl28;
}
goto MhE7A;
UnMyu:
$this->db->query("UPDATE " . DB_PREFIX . $this->url_alias . " SET language_id = " . (int) $this->config->get("config_language_id") . " WHERE (query LIKE 'category_id=%' OR query LIKE 'product_id=%' OR query LIKE 'information_id=%' OR query LIKE 'route=%') AND language_id=0");
goto xRN4I;
GHWFl:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'meta_keyword'")->row) {
goto E4R0g;
}
goto c35TT;
EOt1b:
$this->db->query("ALTER TABLE " . DB_PREFIX . "category ADD meta_robots VARCHAR(40) NOT NULL");
goto WsnKN;
RO3kB:
$this->db->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "url_autolink` (
`url_autolink_id` int(11) NOT NULL AUTO_INCREMENT,\xa `query` varchar(256) NOT NULL,\xa `redirect` varchar(1000) NOT NULL,\xa `language_id` int(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`url_autolink_id`),\xa KEY `query` (`query`),\xa KEY `redirect` (`redirect`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;");
goto d3wsC;
p49dk:
}
public function report()
{
goto ZYY_5;
iZsMr:
I3PLc:
goto enDtn;
HgFK5:
JuZrj:
goto woyNH;
IMfAG:
echo "<h3>URL ALIAS report</h3>";
goto a7fg9;
enDtn:
die;
goto INeqX;
ZeyTq:
echo "<td>query</td>\xa <td>keyword</td>\xa <td>Issue</td>";
goto Aik7f;
VMXnC:
foreach ($uK3_t as $Z5vp1) {
goto tWMyo;
Q9yh4:
AQ4Im:
goto vaePG;
acL1y:
$O07pM = $this->db->query("SELECT query, keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = '" . $Z5vp1["keyword"] . "' ")->rows;
goto pqVK1;
vaePG:
gEUqD:
goto q0exA;
q0exA:
FqzfT:
goto y0TuB;
tWMyo:
if (!($Z5vp1["keyword"] && $Z5vp1["count"] > 1)) {
goto gEUqD;
}
goto acL1y;
pqVK1:
foreach ($O07pM as $Ehiro) {
echo "<tr>\xa <td>" . $Ehiro["query"] . "</td>
<td>" . $Ehiro["keyword"] . "</td>\xa <td>" . (!$Ehiro["keyword"] ? '<span style="color:red">empty</span>' : '<span style="color:orange">duplicate</span>') . '</td>\xa </tr>';
HJI1N:
}
goto Q9yh4;
y0TuB:
}
goto iZsMr;
woyNH:
$uK3_t = $this->db->query("SELECT count(*) AS count, query, keyword FROM " . DB_PREFIX . $this->url_alias . " GROUP BY keyword ")->rows;
goto VMXnC;
hranA:
foreach ($uK3_t as $Z5vp1) {
echo "<tr>
<td>" . $Z5vp1["query"] . "</td>\xa <td>" . $Z5vp1["keyword"] . '</td>
<td><span style="color:red">empty</span></td>\xa </tr>';
rqo3l:
}
goto HgFK5;
ZYY_5:
set_time_limit(600);
goto IMfAG;
a7fg9:
echo '<table border="1" cellpadding="10" style="border-collapse:collapse;"><tr style="font-weight:bold">';
goto ZeyTq;
Aik7f:
$uK3_t = $this->db->query("SELECT query, keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = '' ")->rows;
goto hranA;
INeqX:
}
private function sortByName($L9Gvf, $AgcCt)
{
return strcmp($L9Gvf["name"], $AgcCt["name"]);
}
public function backup()
{
goto q09Ro;
J74Gk:
header("Content-Type: application/octet-stream");
goto Y9uPw;
AcFfH:
$kU4lM = $this->db->query("SELECT * FROM " . DB_PREFIX . "setting WHERE code = 'mlseo'")->rows;
goto xHQnd;
z4hr2:
header("Expires: 0");
goto gFzM8;
posHv:
foreach ($kU4lM as $vLCNO) {
goto Yve21;
SxZyN:
Htk0C:
goto djgIP;
c1Ntp:
echo "(" . $vLCNO["store_id"] . ", 'mlseo', '" . $vLCNO["key"] . "', '" . $vLCNO["value"] . "', " . $vLCNO["serialized"] . ");\xa";
goto SxZyN;
Yve21:
echo "INSERT INTO " . DB_PREFIX . "setting (`store_id`, `code`, `key`, `value`, `serialized`) VALUES ";
goto c1Ntp;
djgIP:
}
goto xtqYq;
Q79Vr:
header("Content-Transfer-Encoding: binary");
goto AcFfH;
gFzM8:
header("Content-Description: File Transfer");
goto J74Gk;
Y9uPw:
header('Content-Disposition: attachment; filename="complete_seo_' . date("Y-m-d", time()) . '_backup.sql"');
goto Q79Vr;
PLWFD:
die;
goto YRgmp;
xtqYq:
hNiIA:
goto PLWFD;
xHQnd:
echo "DELETE FROM " . DB_PREFIX . "setting WHERE code = 'mlseo';\xa
";
goto posHv;
q09Ro:
header("Pragma: public");
goto z4hr2;
YRgmp:
}
public function upgrade()
{
goto bdA2q;
tTetq:
if ($this->request->post["module"] == "backpack") {
goto OdwVR;
}
goto R13nf;
Z4hAb:
$data["info"] = array();
goto prfrF;
UhtCA:
$data["info"][] = "Store SEO correctly transferred";
goto GPnAY;
X4jQo:
$this->db->query("UPDATE `" . DB_PREFIX . "url_alias` SET language_id = 0 WHERE query LIKE 'manufacturer_id=%'");
goto a2Jnh;
MiG01:
$this->db->query("UPDATE `" . DB_PREFIX . "product_description` SET `image_title` = `title_image`");
goto HHKaD;
fjo04:
$this->db->query("ALTER TABLE `" . DB_PREFIX . $this->url_alias . "` DROP `smp_language_id`");
goto ApUEs;
V_zFM:
O79d3:
goto y8XVw;
Mzadp:
if (version_compare(VERSION, "2", ">=")) {
goto ywtnA;
}
goto T6TpP;
ex3Zv:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'alt_image'")->row) {
goto z2Zr3;
}
goto cJmMP;
HHKaD:
ejtaa:
goto ex3Zv;
yh5A6:
$this->db->query("RENAME TABLE " . DB_PREFIX . "url_redirect TO " . DB_PREFIX . "url_redirect_seopackpro");
goto ETKsE;
gBzRz:
if (!$this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "url_redirect'")->row) {
goto UNh_P;
}
goto qQBH1;
vpeQm:
BI4LB:
goto kgWRg;
AKZ3Z:
u1G70:
goto MF0h4;
v4K1D:
$this->db->query("INSERT INTO `" . DB_PREFIX . $this->url_alias . "` (query, keyword, language_id) SELECT query, keyword, language_id FROM `" . DB_PREFIX . "seo_url_alias`");
goto VT_S7;
XH7FY:
$this->response->setOutput(str_replace(array("view/javascript/jquery/jquery-1.6.1.min.js", "view/javascript/jquery/jquery-1.7.1.min.js", "https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"), self::$ASSET_PATH . "jquery.min.js", $this->render()));
goto Psc31;
TP9TW:
z2Zr3:
goto WaPKE;
N1CSR:
if (!$this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "seo_manufacturer_description'")->row) {
goto TT0G0;
}
goto y3Po5;
ATeql:
UNh_P:
goto FEFtR;
rzdyK:
mMTnb:
goto T1qgI;
MF0h4:
if ($this->request->post["module"] == "seo_pack_pro") {
goto mMTnb;
}
goto ds6aw;
VT_S7:
b8rea:
goto jFWO9;
mkYcm:
$Wo6hD = $this->model_setting_setting->getSetting("mlseo");
goto anfrm;
nz2jm:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "manufacturer_description` LIKE 'manufacturer_id'")->row) {
goto YIw2b;
}
goto VawnC;
xcghT:
M5Gj9:
goto zoj_k;
qQBH1:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "url_redirect` LIKE 'oldurl'")->row) {
goto iShgD;
}
goto yh5A6;
iiDyh:
XO2eL:
goto B_n6F;
Z0mn1:
$CX6a0 = $this->config->get("config_meta_description");
goto nXL05;
ETKsE:
iShgD:
goto ATeql;
FqD8B:
$data["info"][] = "Redirections correctly transferred";
goto V_zFM;
kV3SS:
$this->data =& $data;
goto I3uil;
nPXxL:
cLzSF:
goto gBzRz;
r_oSz:
rBOqf:
goto arI57;
cpDJo:
$this->db->query("UPDATE `" . DB_PREFIX . "url_alias` SET query = CONCAT('route=', query) WHERE auto_gen = 'STAN_urls'");
goto j34Lj;
jFWO9:
FWTp6:
goto IeSJ5;
IeSJ5:
goto LDWyG;
goto PKj1s;
VKDAj:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description` LIKE 'seo_title'")->row) {
goto Aj4A5;
}
goto Diu5M;
BSNh3:
YIw2b:
goto UYQb0;
rjWbU:
$data["footer"] = $this->load->controller("common/footer");
goto MFtQv;
WaPKE:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'lang'")->row) {
goto u1G70;
}
goto Kd22C;
a2Jnh:
if (!version_compare(VERSION, "4", "<")) {
goto zzwbD;
}
goto cpDJo;
eb8z1:
X64Jm:
goto BjBZ1;
hqw8y:
$this->db->query("UPDATE `" . DB_PREFIX . "product_description` SET `meta_title` = `seo_title`");
goto RNV3H;
uzydL:
$this->db->query("DELETE FROM `" . DB_PREFIX . "url_alias` WHERE query LIKE 'manufacturer_id=%' AND auto_gen = 'CPBI_urls'");
goto X4jQo;
hS30n:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description_seo` LIKE 'custom_h1'")->row) {
goto RXC7d;
}
goto cvVa0;
Psc31:
goto rNFQ0;
goto Ygbj_;
Kd22C:
$this->db->query("UPDATE `" . DB_PREFIX . $this->url_alias . "` SET `language_id` = `lang`");
goto AKZ3Z;
T6TpP:
$data["column_left"] = '';
goto kV3SS;
y8XVw:
goto FWTp6;
goto kQsLm;
s6qxm:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto rBOqf;
}
goto cklyk;
T1qgI:
foreach (array("canonicals", "clickfix", "custom_alt_generator", "custom_h1_generator", "custom_h2_generator", "autolinks", "keywords_generator", "mlseo", "not_found_report", "bot_report", "redirect", "rename_files", "richsnippets", "seoedit", "seoeditor", "seoimages", "seopagination", "seoreplacer", "custom_title_generator", "custom_imgtitle_generator", "extendedseo", "l", "meta_description_generator", "rp_generator", "seopack", "seoreport", "table_edit_ajax", "tag_generator") as $KLzC6) {
@rename(DIR_APPLICATION . "controller/extension/extension/" . $KLzC6 . ".php", DIR_APPLICATION . "controller/extension/extension/" . $KLzC6 . ".php.bak");
mZS7s:
}
goto g99Np;
tHq4s:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'smp_language_id'")->row) {
goto rsyTZ;
}
goto fjo04;
RXlyV:
goto Kiw2W;
goto Qb1ig;
Ict7I:
$data["column_left"] = $this->load->controller("common/column_left");
goto rjWbU;
EReHe:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'title_image'")->row) {
goto ejtaa;
}
goto MiG01;
DY70H:
eeG3F:
goto y03B0;
j34Lj:
zzwbD:
goto oQSBd;
Vrxuz:
$data["upgrade"] = true;
goto T69u1;
L9_eS:
if (!($this->request->post["module"] == "webkul_advanced_seo")) {
goto w3ij1;
}
goto IcJE1;
FE2o4:
$W9wVt = $this->config->get("config_meta_title");
goto Z0mn1;
FKT24:
$data["info"][] = "SEO img titles, img alt, H1, H2, manufacturers correctly transferred";
goto uhjPO;
utF3D:
foreach (array("0") as $VzaDn) {
goto cPHGT;
rckmd:
foreach ($W9wVt as $nDDFl => $FhDKC) {
$Wo6hD["mlseo_store"][$VzaDn . $nDDFl]["seo_title"] = $FhDKC;
Iu9q_:
}
goto df3XR;
V_4tS:
YmIZf:
goto xPW7E;
aUSs3:
aK0YN:
goto F46LU;
cPHGT:
if (!is_array($W9wVt)) {
goto oFDfa;
}
goto rckmd;
scdJx:
oFDfa:
goto sfhyl;
FCSe6:
HulTW:
goto V_4tS;
sfhyl:
if (!is_array($CX6a0)) {
goto B2bgh;
}
goto BcpC0;
BcpC0:
foreach ($CX6a0 as $nDDFl => $FhDKC) {
$Wo6hD["mlseo_store"][$VzaDn . $nDDFl]["description"] = $FhDKC;
oFcAo:
}
goto aUSs3;
xPW7E:
BaDDC:
goto ssDRT;
CoxMH:
foreach ($qIXtL as $nDDFl => $FhDKC) {
$Wo6hD["mlseo_store"][$VzaDn . $nDDFl]["keywords"] = $FhDKC;
A8VMA:
}
goto FCSe6;
cl3Ui:
if (!is_array($qIXtL)) {
goto YmIZf;
}
goto CoxMH;
df3XR:
IYGtp:
goto scdJx;
F46LU:
B2bgh:
goto cl3Ui;
ssDRT:
}
goto lWtIs;
ds6aw:
if ($this->request->post["module"] == "paladin") {
goto hiW8u;
}
goto tTetq;
fKi1W:
BGw6F:
goto gYRAW;
jfNWv:
Gc0RR:
goto EReHe;
zoj_k:
if (!$this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "category_description_seo'")->row) {
goto B_KxX;
}
goto fwOb8;
Qb1ig:
M4uvI:
goto Rx5Wm;
OUAcg:
$data["cancel"] = $this->url->link(self::$LINK, $this->token, "SSL");
goto Mzadp;
p5Joi:
$this->db->query("TRUNCATE `" . DB_PREFIX . $this->url_alias . "`");
goto v4K1D;
E0SlS:
Kiw2W:
goto IzWcu;
a0CAG:
$this->response->setOutput($this->load->view("module/complete_seo", $data));
goto E0SlS;
UYQb0:
Zxzvt:
goto FKT24;
RgQl1:
Aj4A5:
goto ZDc44;
g99Np:
qeXmk:
goto MrlsY;
gBXym:
$this->db->query("UPDATE `" . DB_PREFIX . "category_description` d, `" . DB_PREFIX . "category_description_seo` u SET d.seo_h1 = u.custom_h1, d.seo_h2 = u.custom_h2 WHERE d.category_id = u.category_id AND d.language_id = u.language_id");
goto zoV3i;
MrlsY:
$data["info"][] = "Disabled unecessary seo pack pro files";
goto FE2o4;
I3uil:
$this->template = "module/complete_seo.tpl";
goto v34GH;
GPnAY:
if (!$this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "product_description_seo'")->row) {
goto M5Gj9;
}
goto bbg43;
yzyKU:
goto ZiGGn;
goto rzdyK;
IcJE1:
$this->db->query("INSERT INTO `" . DB_PREFIX . $this->url_alias . "` (query, keyword, language_id) SELECT CONCAT('route=', route), keyword, language_id FROM `" . DB_PREFIX . "wkseo_sef`");
goto Apc6l;
R13nf:
if ($this->request->post["module"] == "mega_kit") {
goto xWqVc;
}
goto L9_eS;
prfrF:
$data["info"][] = "SEO URLs correctly transferred";
goto sBV13;
IUPU0:
f3nqH:
goto qRvwY;
v9mvq:
$this->db->query("UPDATE `" . DB_PREFIX . "information_description` SET `meta_title` = `seo_title`");
goto qO49z;
dgYEU:
goto O79d3;
goto PlWq4;
ct4UO:
$kU4lM = $this->db->query("SELECT * FROM " . DB_PREFIX . "error")->rows;
goto Q5Xeh;
v34GH:
$this->children = array("common/header", "common/footer");
goto XH7FY;
L2X7K:
Svtzp:
goto xcghT;
CfMig:
dICRH:
goto Oetad;
gYRAW:
$this->model_setting_setting->editSetting("mlseo", $Wo6hD);
goto JVxr5;
yppZq:
end:
goto mpb25;
oQSBd:
LDWyG:
goto yzyKU;
sEE_Y:
$this->model_setting_event->deleteEventByCode("isenselabs_seo");
goto DY70H;
MFtQv:
if (version_compare(VERSION, "3", ">=")) {
goto M4uvI;
}
goto S0Npa;
BjBZ1:
if (empty($this->request->post["ext"])) {
goto Gc0RR;
}
goto m0nb6;
IzWcu:
rNFQ0:
goto xCMlT;
Rzt1z:
TT0G0:
goto p69U9;
uhjPO:
ZiGGn:
goto yppZq;
Rx5Wm:
$this->config->set("template_engine", "template");
goto a0CAG;
anfrm:
foreach ((array) $TmpCg as $VzaDn) {
goto Gx3oH;
tSGup:
s6MeX:
goto ExPDI;
RbFKG:
hrM0i:
goto tihoC;
HP35X:
foreach ($VzaDn["keywords"] as $nDDFl => $FhDKC) {
$Wo6hD["mlseo_store"][$VzaDn . $nDDFl]["keywords"] = $FhDKC;
wodfR:
}
goto iarIE;
xgS_3:
mLbtP:
goto HP35X;
iarIE:
NMotR:
goto RbFKG;
ExPDI:
foreach ($VzaDn["description"] as $nDDFl => $FhDKC) {
$Wo6hD["mlseo_store"][$VzaDn . $nDDFl]["description"] = $FhDKC;
yfSs7:
}
goto xgS_3;
Gx3oH:
foreach ($VzaDn["title"] as $nDDFl => $FhDKC) {
$Wo6hD["mlseo_store"][$VzaDn . $nDDFl]["seo_title"] = $FhDKC;
Y0DOi:
}
goto tSGup;
tihoC:
}
goto fKi1W;
arI57:
$this->load->model("setting/setting");
goto Z4hAb;
ZDc44:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'seo_title'")->row) {
goto V_NPQ;
}
goto v9mvq;
zoV3i:
qSOsV:
goto Xdnqa;
PlWq4:
xWqVc:
goto ecRch;
ApUEs:
rsyTZ:
goto iiDyh;
B_n6F:
$TmpCg = $this->config->get("smp_meta_stores");
goto mkYcm;
UrV1G:
$Wo6hD = $this->model_setting_setting->getSetting("mlseo");
goto utF3D;
m0nb6:
$this->db->query("UPDATE " . DB_PREFIX . $this->url_alias . " SET keyword = REPLACE(keyword, '" . $this->db->escape($this->request->post["ext"]) . "', '')");
goto jfNWv;
qO49z:
V_NPQ:
goto uzydL;
mU3Ej:
$this->db->query("UPDATE `" . DB_PREFIX . "product_description` d, `" . DB_PREFIX . "product_description_seo` u SET d.image_title = u.custom_imgtitle, d.image_alt = u.custom_alt, d.seo_h1 = u.custom_h1, d.seo_h2 = u.custom_h2 WHERE d.product_id = u.product_id AND d.language_id = u.language_id");
goto L2X7K;
cvVa0:
$this->db->query("UPDATE `" . DB_PREFIX . "information_description` d, `" . DB_PREFIX . "information_description_seo` u SET d.seo_h1 = u.custom_h1, d.seo_h2 = u.custom_h2 WHERE d.information_id = u.information_id AND d.language_id = u.language_id");
goto XJACd;
p69U9:
if (!$this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "seo_product_description'")->row) {
goto BI4LB;
}
goto s3Gp9;
FEFtR:
if (!$this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "manufacturer_description'")->row) {
goto Zxzvt;
}
goto nz2jm;
T69u1:
$data["action"] = $this->url->link(self::$LINK_SEP . "upgrade", $this->token, "SSL");
goto OUAcg;
cklyk:
die("Not allowed");
goto r_oSz;
mpb25:
$data["upgrade_complete"] = true;
goto CfMig;
Ebt4e:
$this->load->model("setting/event");
goto sEE_Y;
y3Po5:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "seo_manufacturer_description` RENAME TO " . DB_PREFIX . "seo_manufacturer_description_isense");
goto Rzt1z;
IR3uD:
if (!$this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "information_description_seo'")->row) {
goto cLzSF;
}
goto hS30n;
Q5Xeh:
foreach ($kU4lM as $vLCNO) {
$this->db->query("INSERT INTO `" . DB_PREFIX . "url_redirect` SET `query` = '" . $this->db->escape(urldecode($vLCNO["error"])) . "', `redirect` = '" . $this->db->escape($vLCNO["redirect"]) . "'");
zL52I:
}
goto IUPU0;
yJnGG:
$this->model_setting_setting->editSetting("mlseo", $Wo6hD);
goto UhtCA;
Diu5M:
$this->db->query("UPDATE `" . DB_PREFIX . "category_description` SET `meta_title` = `seo_title`");
goto RgQl1;
D2vhx:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'seo_title'")->row) {
goto A8crz;
}
goto hqw8y;
Xdnqa:
B_KxX:
goto IR3uD;
kgWRg:
if (!version_compare(VERSION, "2.2", ">=")) {
goto eeG3F;
}
goto Ebt4e;
s3Gp9:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "seo_product_description` RENAME TO " . DB_PREFIX . "seo_product_description_isense");
goto CBl4h;
Apc6l:
w3ij1:
goto dgYEU;
XJACd:
RXC7d:
goto nPXxL;
VawnC:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_manufacturer_description (manufacturer_id, language_id, store_id, name, description, meta_title, meta_description, meta_keyword, seo_h1, seo_h2, seo_h3)\xa SELECT md.manufacturer_id, md.language_id, '0', '', md.description, md.custom_title, md.meta_description, md.meta_keyword, '', '', '' FROM " . DB_PREFIX . "manufacturer_description md\xa LEFT JOIN " . DB_PREFIX . "manufacturer_to_store ms ON (ms.manufacturer_id = md.manufacturer_id)");
goto BSNh3;
lWtIs:
sGoaB:
goto yJnGG;
nXL05:
$qIXtL = $this->config->get("config_meta_keyword");
goto UrV1G;
qRvwY:
goto end;
goto eb8z1;
JVxr5:
$data["info"][] = "Store SEO correctly transferred";
goto ZjQHW;
fwOb8:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description_seo` LIKE 'custom_h1'")->row) {
goto qSOsV;
}
goto gBXym;
y03B0:
if (!$this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "seo_url_alias'")->row) {
goto b8rea;
}
goto p5Joi;
kQsLm:
OdwVR:
goto N1CSR;
S0Npa:
$this->response->setOutput($this->load->view("module/complete_seo.tpl", $data));
goto RXlyV;
bbg43:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description_seo` LIKE 'custom_h1'")->row) {
goto Svtzp;
}
goto mU3Ej;
ZjQHW:
$this->db->query("INSERT INTO `" . DB_PREFIX . "url_redirect` (query, redirect) SELECT broken_link, new_link FROM `" . DB_PREFIX . "redirects_smp`");
goto FqD8B;
PKj1s:
hiW8u:
goto D2vhx;
sBV13:
if (!($this->request->post["module"] == "broken_link_manager")) {
goto X64Jm;
}
goto ct4UO;
ecRch:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'smp_language_id'")->row) {
goto XO2eL;
}
goto asJQs;
Oetad:
$this->document->setTitle("SEO Package Upgrade Tool");
goto Vrxuz;
Ygbj_:
ywtnA:
goto vdDtF;
asJQs:
$this->db->query("UPDATE `" . DB_PREFIX . $this->url_alias . "` SET language_id = smp_language_id");
goto tHq4s;
CBl4h:
$this->db->query("UPDATE `" . DB_PREFIX . "product_description` d, `" . DB_PREFIX . "seo_product_description_isense` u SET d.seo_h1 = u.h1, d.seo_h2 = u.h2 WHERE d.product_id = u.product_id AND d.language_id = u.language_id");
goto vpeQm;
RNV3H:
A8crz:
goto VKDAj;
vdDtF:
$data["header"] = $this->load->controller("common/header");
goto Ict7I;
cJmMP:
$this->db->query("UPDATE `" . DB_PREFIX . "product_description` SET `image_alt` = `alt_image`");
goto TP9TW;
bdA2q:
if (!($this->request->server["REQUEST_METHOD"] == "POST")) {
goto dICRH;
}
goto s6qxm;
xCMlT:
}
public function category_autocomplete()
{
goto m5ymS;
BEBg1:
$gZqfu = array("filter_name" => $this->request->get["filter_name"], "sort" => "name", "order" => "ASC", "start" => 0, "limit" => 20);
goto qKjFK;
AtOkj:
array_multisort($g0w07, SORT_ASC, $Gu0Rj);
goto sm5vp;
FK9Ll:
$this->response->setOutput(json_encode($Gu0Rj));
goto m_jmA;
khoO7:
$g0w07 = array();
goto FAJhZ;
m5ymS:
$Gu0Rj = array();
goto bvwyk;
FAJhZ:
foreach ($Gu0Rj as $ISD_z => $FhDKC) {
$g0w07[$ISD_z] = $FhDKC["name"];
fDDi6:
}
goto ydpSQ;
xQPA4:
$this->load->model("catalog/category");
goto BEBg1;
Xojwy:
xkRW1:
goto khoO7;
TeZ47:
foreach ($e7DRu as $GgSL6) {
$Gu0Rj[] = array("category_id" => $GgSL6["category_id"], "name" => strip_tags(html_entity_decode($GgSL6["name"], ENT_QUOTES, "UTF-8")));
p4MGM:
}
goto UDzlZ;
qKjFK:
$e7DRu = $this->model_catalog_category->getCategories($gZqfu);
goto TeZ47;
ydpSQ:
L53Lh:
goto AtOkj;
sm5vp:
$this->response->addHeader("Content-Type: application/json");
goto FK9Ll;
UDzlZ:
Rwg39:
goto Xojwy;
bvwyk:
if (!isset($this->request->get["filter_name"])) {
goto xkRW1;
}
goto xQPA4;
m_jmA:
}
} ?>
Did this file decode correctly?
Original Code
<?php
class ControllerModuleCompleteSeo extends Controller
{
const MODULE = "complete_seo";
const PREFIX = "mlseo";
const MOD_FILE = "seo_package";
const LINK = "module/complete_seo";
const EXT_PATH = "extension/complete_seo/";
const OCID = 9486;
static $EXT_PATH = '';
static $MODEL_PATH = "model_";
static $LINK = "module/complete_seo";
static $LINK_SEP = "module/complete_seo/";
static $ASSET_PATH = "view/seo_package/";
private $error = array();
private $OC_VERSION;
private $OC_V2;
private $OC_V21X;
private $OC_V22X;
private $OC_V23X;
private $EXT_23X = '';
private $OC_V151;
private $ml_mode = false;
private $multistore_mode = false;
private $start;
private $limit = 500;
private $start_time;
private $token;
private $url_alias;
private $front_url;
private $total_items;
private $store;
private $edit_action = "edit";
public function __construct($pISbH)
{
goto sFRrp;
ZJ7y0:
m58H_:
goto jHOAX;
Meysf:
lPHhz:
goto mYU8b;
SyhBk:
$this->load->language("extension/" . self::$LINK);
goto wMBnu;
k01Zi:
qOOM3:
goto SyhBk;
KOP1e:
EvnX4:
goto VYkKn;
ucdY8:
$this->url_alias = "url_alias";
goto M5etS;
O5fIV:
$this->ml_mode = true;
goto TGi_6;
qPE6b:
EWtJi:
goto dnpTt;
qJVh6:
if (!$this->OC_V23X) {
goto RppqM;
}
goto rEeht;
A7q52:
RppqM:
goto Krsck;
VFUtq:
require_once \VQMod::modCheck($I3nJ2);
goto enzkH;
jHOAX:
$this->front_url->addRewrite($SBG6r);
goto mB59W;
XV2Pq:
uQfNh:
goto tdj3D;
mF0nR:
self::$LINK = self::EXT_PATH . self::$LINK;
goto u9iOU;
v2B6Y:
require_once $jc9p9->modCheck($I3nJ2);
goto FE97a;
NN9UY:
require_once VQMod::modCheck(modification($I3nJ2), $I3nJ2);
goto XV2Pq;
UHcys:
$this->token = isset($this->session->data["user_token"]) ? "user_token=" . $this->session->data["user_token"] : "token=" . $this->session->data["token"];
goto T2Vwh;
h3jfm:
o5l8J:
goto qPP9n;
F6OP7:
if (class_exists("VQMod")) {
goto DJA7D;
}
goto XKSCS;
rUWU3:
$I3nJ2 = DIR_SYSTEM . "../catalog/controller/common/seo_url.php";
goto omeGZ;
WR82P:
g3BqJ:
goto v2B6Y;
FiGq8:
CEulp:
goto S3QaZ;
Krsck:
if (version_compare(VERSION, "2", ">=")) {
goto Z8Iyv;
}
goto qEnSl;
KCW1_:
goto fyo4j;
goto h3jfm;
wMBnu:
fFALm:
goto i1ZBz;
ZBNhs:
defined("HTTP_CATALOG") ?: define("HTTP_CATALOG", $this->config->get("site_url"));
goto XaBeO;
mB59W:
bkrSh:
goto pkFkg;
T2Vwh:
FMEjr:
goto G2wRR;
awqFJ:
$this->url_alias = "seo_url";
goto est16;
Qo3KK:
if (version_compare(VERSION, "2.2", ">=")) {
goto o5l8J;
}
goto iruk4;
SFqRx:
HMzNi:
goto NPswK;
yYU0K:
require_once modification($I3nJ2);
goto UZEGC;
a6PQR:
$this->OC_V23X = version_compare(VERSION, "2.3", ">=");
goto qJVh6;
h5bME:
goto unsS7;
goto VTEXy;
est16:
bMbFh:
goto WqwIl;
mXQTC:
gMS5Q:
goto yYU0K;
VLZF7:
self::$EXT_PATH = "extension/" . self::MODULE . "/";
goto BXUcu;
iruk4:
$SBG6r = new ControllerCommonSeoUrl($this->registry);
goto KCW1_;
pkFkg:
if (version_compare(VERSION, "3", ">=") && version_compare(VERSION, "4", "<")) {
goto qOOM3;
}
goto f3l4z;
G2wRR:
if (version_compare(VERSION, "3", ">=")) {
goto tFjjX;
}
goto ucdY8;
Nywil:
$this->front_url = new Url(HTTP_CATALOG, $this->config->get("config_secure") ? HTTP_CATALOG : HTTPS_CATALOG);
goto s9kuX;
XKSCS:
require_once $I3nJ2;
goto h5bME;
f3l4z:
$this->load->language(self::$LINK);
goto LkUW4;
eWtYS:
if (defined("SEO_PACKAGE_CLI")) {
goto FMEjr;
}
goto UHcys;
BXUcu:
self::$MODEL_PATH = "model_extension_" . self::MODULE . "_";
goto boIfP;
LkLVz:
if (class_exists("VQMod") && function_exists("modification")) {
goto wLw46;
}
goto VGq1U;
NPswK:
$SBG6r = new \Opencart\Catalog\Controller\Startup\SeoUrl($this->registry);
goto ZJ7y0;
VTEXy:
DJA7D:
goto VFUtq;
qEnSl:
$this->edit_action = "update";
goto jXkY2;
vz0p6:
goto mAkEE;
goto mXQTC;
w8GFG:
if (version_compare(VERSION, "2.2", ">=")) {
goto S4Zv9;
}
goto rUWU3;
JQ2YV:
wLw46:
goto NN9UY;
S3QaZ:
if (version_compare(VERSION, "4", ">=")) {
goto lPHhz;
}
goto Nywil;
qPP9n:
$SBG6r = new ControllerStartupSeoUrl($this->registry);
goto A5XCv;
sFRrp:
ini_set("memory_limit", -1);
goto cEcWN;
omeGZ:
goto EWtJi;
goto cjhZd;
cjhZd:
S4Zv9:
goto vrJKf;
cEcWN:
$this->OC_VERSION = (int) str_replace(".", '', substr(VERSION, 0, 5));
goto GNQ6m;
u9iOU:
self::$LINK_SEP = self::$LINK . (version_compare(VERSION, "4", "<") ? "/" : "|");
goto VLZF7;
TGi_6:
QqluM:
goto H3Xme;
UbQSm:
$this->OC_V22X = version_compare(VERSION, "2.2", ">=");
goto a6PQR;
mYU8b:
$this->front_url = new \Opencart\System\Library\Url($this->config->get("site_url"));
goto ZBNhs;
rEeht:
$this->EXT_23X = "extension/";
goto A7q52;
A5XCv:
fyo4j:
goto Ut4eB;
GNQ6m:
$this->OC_V2 = version_compare(VERSION, "2", ">=");
goto EATls;
UZEGC:
mAkEE:
goto H8v0x;
enzkH:
unsS7:
goto vz0p6;
FE97a:
c53Pv:
goto Z28Wn;
Po0Jc:
tFjjX:
goto awqFJ;
boIfP:
self::$ASSET_PATH = "../extension/" . self::MODULE . "/admin/" . self::$ASSET_PATH;
goto KOP1e;
tdj3D:
goto c53Pv;
goto WR82P;
XaBeO:
defined("HTTPS_CATALOG") ?: define("HTTPS_CATALOG", $this->config->get("site_url"));
goto mF0nR;
wTebE:
$this->OC_V21X = version_compare(VERSION, "2.1", ">=");
goto UbQSm;
VYkKn:
if (!$this->config->get("config_seo_url")) {
goto bkrSh;
}
goto w8GFG;
WqwIl:
if (!$this->config->get("mlseo_ml_mode")) {
goto QqluM;
}
goto O5fIV;
dnpTt:
if (isset($jc9p9)) {
goto g3BqJ;
}
goto LkLVz;
EATls:
$this->OC_V151 = substr(VERSION, 0, 5) == "1.5.1";
goto wTebE;
vrJKf:
$I3nJ2 = DIR_SYSTEM . "../catalog/controller/startup/seo_url.php";
goto qPE6b;
TfHhZ:
$this->multistore_mode = true;
goto FiGq8;
s9kuX:
goto EvnX4;
goto Meysf;
Z28Wn:
if (version_compare(VERSION, "4", ">=")) {
goto HMzNi;
}
goto Qo3KK;
M5etS:
goto bMbFh;
goto Po0Jc;
LkUW4:
goto fFALm;
goto k01Zi;
H3Xme:
if (!$this->config->get("mlseo_multistore")) {
goto CEulp;
}
goto TfHhZ;
jXkY2:
Z8Iyv:
goto Zt8Rm;
H8v0x:
goto uQfNh;
goto JQ2YV;
Zt8Rm:
parent::__construct($pISbH);
goto eWtYS;
Ut4eB:
goto m58H_;
goto SFqRx;
VGq1U:
if (function_exists("modification")) {
goto gMS5Q;
}
goto F6OP7;
i1ZBz:
}
public function save()
{
goto ejhtf;
bqGh5:
@unlink(DIR_OPENCART . "vqmod/mods.cache");
goto cOD9K;
ix9_N:
goto QvExh;
goto qDjWo;
cOD9K:
array_map("unlink", glob(DIR_OPENCART . "vqmod/vqcache/*.*"));
goto vRqTR;
w1_Ia:
rename(DIR_EXTENSION . self::MODULE . "/seo_package.xml_", DIR_EXTENSION . self::MODULE . "/seo_package.xml");
goto AFhyE;
KCQ5l:
QvExh:
goto ZxnH2;
MYgzn:
sxqHT:
goto BYLK3;
LkOgj:
$this->request->post["mlseo_lang_to_store"] = $BfGT9;
goto zHyzC;
aFYvJ:
zUTLf:
goto r7G7D;
BYLK3:
$this->load->model("setting/store");
goto BlvRI;
c4ghX:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto y0p07;
}
goto pgKL5;
zHyzC:
unset($this->request->post["langs"], $this->request->post["simulate"], $this->request->post["empty_only"], $this->request->post["redirect_mode"]);
goto IrGPX;
v2407:
goto CCpQN;
goto SJ8Nb;
PJuM0:
if (!(isset($this->request->get["store_id"]) && $this->request->get["store_id"])) {
goto mXgcr;
}
goto BqP38;
ejhtf:
$iXMyN = isset($_SERVER["HTTP_X_REQUESTED_WITH"]) && $_SERVER["HTTP_X_REQUESTED_WITH"] == "XMLHttpRequest";
goto EDh70;
j5Ck_:
foreach ($this->request->post["mlseo_flag_custom"] as $fJoKn => $Rr6LW) {
goto kAR1S;
CQXGN:
Ubfdu:
goto MA1Rw;
Yx4G0:
$Rr6LW = '';
goto F6uoD;
bwUqN:
if (!empty($Ur8AP["seo_url_id"])) {
goto RHjx3;
}
goto PPM7d;
MA1Rw:
bPejZ:
goto iOz1m;
kAR1S:
$Ur8AP = $this->db->query("SELECT * FROM `" . DB_PREFIX . "seo_url` WHERE `key` = 'language' AND `value` = '" . $this->db->escape($fJoKn) . "'")->row;
goto p48B9;
lMi9d:
$this->db->query("UPDATE `" . DB_PREFIX . "seo_url` SET `keyword` = '" . $this->db->escape($Rr6LW) . "', `sort_order` = '" . ($Rr6LW ? "-10" : '') . "' WHERE `seo_url_id` = '" . (int) $Ur8AP["seo_url_id"] . "'");
goto CQXGN;
F6uoD:
Rn2vX:
goto bwUqN;
bfnrj:
goto Ubfdu;
goto TSZkH;
TSZkH:
RHjx3:
goto lMi9d;
PPM7d:
$this->db->query("INSERT INTO `" . DB_PREFIX . "seo_url` SET `store_id` = '" . (int) $DMfse . "', `language_id` = '" . (int) $ffgGV[$fJoKn] . "', `key` = 'language', `value` = '" . $this->db->escape($fJoKn) . "', `keyword` = '" . $this->db->escape($Rr6LW) . "', `sort_order` = '" . ($Rr6LW ? "-10" : '') . "'");
goto bfnrj;
p48B9:
if (!($this->request->post["mlseo_flag_mode"] != "tag")) {
goto Rn2vX;
}
goto Yx4G0;
iOz1m:
}
goto dXKOc;
HoMql:
if (empty($Gu0Rj["error"]["warning"])) {
goto QWbBG;
}
goto DJbl5;
rRkx1:
@unlink(DIR_OPENCART . "vqmod/mods.cache");
goto za2G7;
hMQSW:
if ($iXMyN) {
goto CN24Q;
}
goto HoMql;
SwH4G:
$this->request->post["mlseo_lang_codes"] = $JJcK4;
goto LkOgj;
r7G7D:
if (!version_compare(VERSION, "4", ">=")) {
goto OzsUQ;
}
goto j5Ck_;
wzKKc:
$cHoqT = $this->model_localisation_language->getLanguages();
goto tMIAb;
COVa5:
foreach ($data["stores"] as $VzaDn) {
goto MUmJy;
MUmJy:
$sX9xf = $this->model_setting_setting->getSetting("config", $VzaDn["store_id"]);
goto Q15nu;
ZWErn:
kGjMT:
goto LN4Rr;
ar2xu:
$BfGT9[$sX9xf["config_language"]] = array("config_url" => !empty($sX9xf["config_url"]) ? rtrim($sX9xf["config_url"], "/") : rtrim(HTTP_CATALOG, "/"), "config_ssl" => !empty($sX9xf["config_ssl"]) ? rtrim($sX9xf["config_ssl"], "/") : rtrim(HTTPS_CATALOG, "/"));
goto ZWErn;
Q15nu:
if (empty($sX9xf["config_language"])) {
goto kGjMT;
}
goto ar2xu;
LN4Rr:
uv5oO:
goto S5IVw;
S5IVw:
}
goto aFYvJ;
A317J:
$UG7Px = '';
goto rJulP;
lNYjN:
$data["stores"][] = array("store_id" => 0, "name" => $this->config->get("config_name"));
goto T7amW;
jv4xH:
$this->model_setting_setting->editSetting("module_" . self::MODULE, array("module_" . self::MODULE . "_status" => !empty($this->request->post["mlseo_enabled"])));
goto xYAKa;
ewwMX:
$this->response->setOutput(json_encode($Gu0Rj));
goto jdSJj;
S0lxg:
$BfGT9 = array();
goto COVa5;
BqP38:
$data["store_id"] = $DMfse = (int) $this->request->get["store_id"];
goto uHQgm;
jJ_Rh:
$DMfse = 0;
goto PJuM0;
za2G7:
array_map("unlink", glob(DIR_OPENCART . "vqmod/vqcache/*.*"));
goto KCQ5l;
xiLAZ:
rename(DIR_EXTENSION . self::MODULE . "/seo_package.xml", DIR_EXTENSION . self::MODULE . "/seo_package.xml_");
goto cQV2h;
TOrM4:
if (!(defined("DIR_EXTENSION") && empty($this->request->post["mlseo_enabled"]) && is_file(DIR_EXTENSION . self::MODULE . "/seo_package.xml"))) {
goto bujfp;
}
goto xiLAZ;
ZxnH2:
$Gu0Rj["success"] = $this->language->get("text_success");
goto gTdw7;
jdSJj:
CCpQN:
goto F5NOz;
IF1U1:
Ct3Go:
goto jJ_Rh;
moyH3:
QWbBG:
goto nao3c;
EIRM_:
ChhW2:
goto jv4xH;
tMIAb:
$JJcK4 = array();
goto NE6Bs;
BlvRI:
$data["stores"] = array();
goto lNYjN;
MNok5:
M7Osw:
goto S0lxg;
AFhyE:
@unlink(DIR_OPENCART . "vqmod/checked.cache");
goto rRkx1;
gTdw7:
fePnH:
goto hMQSW;
KZM2S:
$this->response->addHeader("Content-Type: application/json");
goto ewwMX;
M3StJ:
OzsUQ:
goto i1En2;
pgKL5:
$Gu0Rj["error"]["warning"] = $this->language->get("error_permission");
goto MD3gF;
EDh70:
$Gu0Rj = [];
goto c4ghX;
uHQgm:
mXgcr:
goto A317J;
NE6Bs:
$bGfQe = array();
goto qs_d9;
jE0BU:
foreach ($O5Rxc as $VzaDn) {
goto UvEo0;
UvEo0:
$IEB4b = array();
goto u2Dst;
u2Dst:
$data["stores"][] = array("store_id" => $VzaDn["store_id"], "name" => $VzaDn["name"]);
goto LPHWe;
LPHWe:
uEpGq:
goto JgGfM;
JgGfM:
}
goto IF1U1;
vRqTR:
bujfp:
goto ix9_N;
MD3gF:
y0p07:
goto Grby4;
pvJcb:
return $this->index();
goto moyH3;
xYAKa:
$this->model_setting_setting->editSetting("mlseo", $this->request->post, $DMfse);
goto VQo6t;
Thp6l:
$this->load->model("setting/setting");
goto t8m_P;
t8m_P:
$this->load->model("localisation/language");
goto wzKKc;
IrGPX:
foreach ($cHoqT as $cEX8Y) {
goto aNOJ0;
aNOJ0:
if (!isset($this->request->post["mlseo_urls_" . $cEX8Y["code"]])) {
goto R9zAN;
}
goto lwTIw;
lwTIw:
$this->request->post["mlseo_urls_" . $cEX8Y["code"]] = array_combine($this->request->post["mlseo_urls_" . $cEX8Y["code"]]["keys"], $this->request->post["mlseo_urls_" . $cEX8Y["code"]]["values"]);
goto VSvAE;
eUiC4:
BLAZ0:
goto bKbCg;
VSvAE:
R9zAN:
goto eUiC4;
bKbCg:
}
goto EIRM_;
cQV2h:
@unlink(DIR_OPENCART . "vqmod/checked.cache");
goto bqGh5;
nao3c:
$this->session->data["success"] = $this->language->get("text_success");
goto e1hbQ;
DJbl5:
$this->session->data["error"] = $this->language->get($Gu0Rj["error"]["warning"]);
goto pvJcb;
Ty9jW:
$UG7Px = "&store_id=" . $DMfse;
goto MNok5;
i1En2:
$this->request->post["mlseo_ml_mode"] = count($cHoqT) > 1;
goto SwH4G;
SJ8Nb:
CN24Q:
goto KZM2S;
Grby4:
if ($Gu0Rj) {
goto fePnH;
}
goto Thp6l;
e1hbQ:
$this->response->redirect($this->url->link(self::$LINK, $this->token, "SSL"));
goto v2407;
rJulP:
if (!$DMfse) {
goto M7Osw;
}
goto Ty9jW;
T7amW:
$O5Rxc = $this->model_setting_store->getStores();
goto jE0BU;
qs_d9:
foreach ($cHoqT as $A5i57 => $nDDFl) {
goto vDjBQ;
WhbhU:
bGNhl:
goto AeAho;
vvcqK:
$JJcK4[$nDDFl["language_id"]] = $nDDFl["code"];
goto s0vZi;
bis3h:
JQK9z:
goto WhbhU;
s0vZi:
$ffgGV[$nDDFl["code"]] = $nDDFl["language_id"];
goto bis3h;
vDjBQ:
if (!$nDDFl["status"]) {
goto JQK9z;
}
goto vvcqK;
AeAho:
}
goto MYgzn;
VQo6t:
if (defined("DIR_EXTENSION") && !empty($this->request->post["mlseo_enabled"]) && is_file(DIR_EXTENSION . self::MODULE . "/seo_package.xml_")) {
goto S13hG;
}
goto TOrM4;
qDjWo:
S13hG:
goto w1_Ia;
dXKOc:
v5TX5:
goto M3StJ;
F5NOz:
}
public function index()
{
goto X4xqu;
u7f6Q:
$qJhNs = [];
goto Z1olc;
YVlH_:
$O5Rxc = $this->model_setting_store->getStores();
goto LFfxD;
fwsl3:
goto d6X01;
goto boJPt;
kUOD6:
goto X4buG;
goto ZlZUn;
VJoet:
mNTEX:
goto FxnP9;
uEMMg:
$this->session->data["error"] = $this->language->get("error_module_disabled");
goto OEd6C;
L4Iq0:
$this->session->data["error"] .= '<br/><br/>Also make sureto install this package: <a href="https\:\/\/geekodev\.com\/easy-vqmod-installer">https://geekodev.com/easy-vqmod-installer</a>';
goto fwsl3;
Z2xdq:
$this->session->data["error"] .= "<br/><br/>If you have opencart v2.x or 3.x and don't know what is vqmod or ocmod, then install ocmod version";
goto teAB6;
Sb9rC:
K6vZ7:
goto gpdZu;
Vl0kz:
$data["style_scoped"] = file_get_contents(self::$ASSET_PATH . "bootstrap.min.css");
goto Iz_wz;
uaZKK:
iU87m:
goto QUSjy;
XSPPp:
gEVbA:
goto u7f6Q;
pF4XT:
$data["error"] = $this->error["error"];
goto rUpwA;
Vp9FR:
if (!(version_compare(VERSION, "2", "<") && is_dir(DIR_APPLICATION . "controller/extension/module"))) {
goto du8oO;
}
goto dDDmK;
azH0a:
$PeczM[] = $zHFql . "categories";
goto wwZ4i;
crc0W:
if (empty($LBEmR)) {
goto xlkFZ;
}
goto vsdn6;
Nyek0:
unset($this->session->data["error"]);
goto ag93R;
e1kSj:
$PeczM[] = $zHFql . "noprodbreadcrumb";
goto JJ0q7;
XzN3b:
if (version_compare(VERSION, "2", "<")) {
goto IyHaK;
}
goto QsiZa;
lHrer:
$data["button_add_module"] = $this->language->get("button_add_module");
goto qMYpv;
fzlN9:
qtWPQ:
goto fELXV;
xuItm:
$this->load->model("setting/extension");
goto M_Uds;
yKLrx:
$JJcK4 = array();
goto HDzcX;
HSkoa:
$ZLA_2 = "mlseo_";
goto ZZg6k;
XEVkK:
YmZ4p:
goto AtKWg;
bTZDO:
BdLr7:
goto Ehbl7;
un6AP:
E9Khp:
goto l_6Ud;
RB6qH:
$hfenD = str_replace("RewriteRule ^(?:(?:(\w{2})(?:/|\z))?(?:/|\z)?)?(?:([^?]*))? index.php?_route_=$2&site_language=$1 [L,QSA]", '', $hfenD);
goto DJBPY;
TAklq:
zuKUf:
goto LaXVL;
doAWP:
$data["journal_active"] = is_dir(DIR_APPLICATION . "model/journal2") || is_dir(DIR_APPLICATION . "model/journal3");
goto mC3QY;
h4oUR:
J2HpY:
goto lNkrh;
sBXBV:
foreach ($NyfhL->rows as $fs2GI) {
goto l2jGi;
E2F2n:
goto QHGLG;
goto F65Jy;
pFSCh:
$this->config->set($fs2GI["key"], json_decode($fs2GI["value"], true));
goto rwlVt;
d0WIp:
a92Ua:
goto RUh9C;
auDV7:
$this->config->set($fs2GI["key"], unserialize($fs2GI["value"]));
goto E2F2n;
rwlVt:
QHGLG:
goto JIiRf;
b2kxQ:
if ($this->OC_V21X) {
goto IXKcK;
}
goto auDV7;
F65Jy:
IXKcK:
goto pFSCh;
RIU0n:
AM99d:
goto ucWKh;
RUh9C:
$this->config->set($fs2GI["key"], $fs2GI["value"]);
goto Jy5VU;
Jy5VU:
V5YAi:
goto RIU0n;
l2jGi:
if (!$fs2GI["serialized"]) {
goto a92Ua;
}
goto b2kxQ;
JIiRf:
goto V5YAi;
goto d0WIp;
ucWKh:
}
goto LGjuL;
kpKX7:
kCz3I:
goto aM3u_;
JN7XO:
foreach ($data["stores"] as $VzaDn) {
goto tDJo3;
KZxD1:
H1onC:
goto yI98U;
huCTQ:
if (empty($sX9xf["config_language"])) {
goto H1onC;
}
goto JJtzL;
yI98U:
hWDLv:
goto wNWme;
tDJo3:
$sX9xf = $this->model_setting_setting->getSetting("config", $VzaDn["store_id"]);
goto huCTQ;
JJtzL:
$BfGT9[$sX9xf["config_language"]] = array("config_url" => !empty($sX9xf["config_url"]) ? rtrim($sX9xf["config_url"], "/") : rtrim(HTTP_CATALOG, "/"), "config_ssl" => !empty($sX9xf["config_ssl"]) ? rtrim($sX9xf["config_ssl"], "/") : rtrim(HTTPS_CATALOG, "/"));
goto KZxD1;
wNWme:
}
goto o7LyO;
rSlw8:
if (isset($this->session->data["error"])) {
goto OLn97;
}
goto cOuxS;
TUvOK:
hRdgS:
goto Luhdo;
D6XjB:
goto j1UA5;
goto vrMws;
nmhcx:
goto WnbC7;
goto J7Kg5;
maEne:
$data["stores"][] = array("store_id" => 0, "name" => $this->config->get("config_name"));
goto YVlH_;
dDuiu:
goto m7l4r;
goto kpKX7;
M_Uds:
$oKsZT = $this->model_setting_extension->getInstalled("feed");
goto cyRGm;
zjFGW:
$data["module"] = self::MODULE;
goto u3OOH;
A_YNl:
goto Vi4MY;
goto tdqCK;
TRgWY:
hTADH:
goto pF4XT;
nqyeT:
$this->session->data["currentTab"] = $this->request->get["tab"];
goto Sb9rC;
stY3P:
goto h7FrL;
goto zbuBt;
oUMb1:
if (!(!$this->config->get("mlseo_ml_mode") && count($cHoqT) > 1)) {
goto l3wg5;
}
goto CN7Y9;
oJ2QT:
goto jyBgd;
goto lQPw6;
mtDn0:
uVDRb:
goto ljriF;
adl3G:
v4Y7k:
goto tt34r;
Rzr9X:
eERMB:
goto ebOUL;
Q6nPq:
X4buG:
goto vWVrt;
e_Uhf:
if (!(strpos(strtolower($_SERVER["SERVER_SOFTWARE"]), "apache") !== false && !is_file(DIR_CATALOG . "../.htaccess"))) {
goto aIR0t;
}
goto vxvqH;
Y7bGP:
nIwQR:
goto No3Av;
bUuAH:
$this->document->addStyle(self::$ASSET_PATH . "awesome/css/font-awesome.min.css");
goto CNeuH;
DNQXb:
$UG7Px = '';
goto FSSml;
D5JfA:
if (is_writable(DIR_CATALOG . "../.htaccess")) {
goto aCwPl;
}
goto XGgAl;
af0W6:
$this->document->addScript(self::$ASSET_PATH . "itoggle.js");
goto ofWe5;
fELXV:
$data["token"] = $this->token;
goto tibRc;
qZRE8:
$iCBfq = 0;
goto Rzr9X;
yKI31:
goto N37q0;
goto AJPKU;
K8pzz:
$data["OCID"] = self::OCID;
goto zjFGW;
KjLAT:
$modification_active = false;
goto gBSfM;
qHzKp:
$data["_config"] =& $this->config;
goto Pqfki;
FxjA0:
QzKGq:
goto e5e1W;
zOh2F:
$data["categories"] = $this->model_catalog_category->getCategories(array());
goto AqfdE;
BqUPI:
$data["style_radial_meter"] = file_get_contents(self::$ASSET_PATH . "radial-meter.css");
goto plwU6;
MOV2p:
goto Etfld;
goto SOtTp;
o_0iY:
uO28L:
goto DDTZI;
DDTZI:
$this->document->setTitle(strip_tags($this->language->get("heading_title")));
goto XW5RD;
FSSml:
if (!$DMfse) {
goto LQnW6;
}
goto Id9mw;
plwU6:
if (version_compare(VERSION, "4", ">")) {
goto m75m6;
}
goto XzN3b;
VtTKP:
$hfenD = str_replace("#RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]", "RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]", $hfenD);
goto RB6qH;
ZlZUn:
Kzdq7:
goto uQU9a;
dDDmK:
if (!(version_compare(VERSION, "2", "<") && is_dir(DIR_APPLICATION . "controller/extension/module"))) {
goto uJWaE;
}
goto LYgCU;
RjjLo:
if (version_compare(VERSION, "2.3", ">=")) {
goto Kzdq7;
}
goto hVz1C;
K5iGb:
$data["OC_V151"] = $this->OC_V151;
goto K8pzz;
XtSgd:
if (version_compare(VERSION, "4", "<")) {
goto rkRS9;
}
goto L4Iq0;
K0sv8:
$this->session->data["error"] = "On ocStore you must select Default SEO Url engine in System > Settings > Server in order to Complete SEO to work";
goto rtieG;
wwZ4i:
$PeczM[] = $zHFql . "slash";
goto C1RXN;
KM2KR:
jyBgd:
goto fzlN9;
rDmLD:
$this->document->addStyle(self::$ASSET_PATH . "jquery.dataTables.min.css");
goto GxNL1;
ukBcy:
$data["link_sitemap"] = $this->url->link("feed/advanced_sitemap", $this->token, "SSL");
goto myZBI;
jg1nG:
$data["link_sitemap"] = $this->url->link("feed/advanced_sitemap", $this->token, "SSL");
goto dDuiu;
Vpfs3:
$data["success"] = $this->session->data["success"];
goto kXNSd;
OvYlN:
kwwMU:
goto Yllde;
BWfsx:
$this->response->setOutput($this->load->view("module/complete_seo.tpl", $data));
goto MOV2p;
new98:
$data["breadcrumbs"][] = array("text" => strip_tags($this->language->get("heading_title")), "href" => $this->url->link(self::$LINK, $this->token, "SSL"), "separator" => " :: ");
goto yCkty;
uhveK:
$this->error["warning"] = "Warning : both vqmod and ocmod version are installed<br/>- delete /vqmod/xml/" . self::MOD_FILE . ".xml if you want to use ocmod version<br/>- or delete /system/" . self::MOD_FILE . ".ocmod.xml if you want to use vqmod version";
goto un6AP;
xz_sp:
$data["languages"] = $cHoqT;
goto Nr8d7;
hnvwB:
$PeczM[] = $zHFql . "depth";
goto ss5sR;
IB73w:
$oKsZT = $this->model_extension_extension->getInstalled("feed");
goto ahWVg;
AqfdE:
usort($data["categories"], array($this, "sortByName"));
goto wrxC_;
tibRc:
$data["_language"] =& $this->language;
goto qHzKp;
Z1olc:
$this->load->model("setting/extension");
goto u7W2V;
mStnM:
$data["style_scoped"] = file_get_contents(self::$ASSET_PATH . "bootstrap.min.css");
goto yQebr;
yCkty:
if (version_compare(VERSION, "4", ">=")) {
goto gEVbA;
}
goto B_D7I;
p6Gyp:
if (!($JJcK4 !== $this->config->get("mlseo_lang_codes"))) {
goto v4Y7k;
}
goto lqLbS;
neWsg:
if ($this->config->get("mlseo_enabled")) {
goto nKPpq;
}
goto uEMMg;
O9kTF:
$this->load->model("localisation/language");
goto rtaKn;
jDjXy:
m7l4r:
goto dtx2N;
oddAy:
if (version_compare(VERSION, "4", ">=")) {
goto HgH2C;
}
goto YA93I;
bLI55:
Ch31l:
goto WS6dE;
o7LyO:
vf5fR:
goto i0iZ2;
acfRx:
aN4Is:
goto HnQQy;
B_D7I:
if (version_compare(VERSION, "3", ">=")) {
goto aZtrc;
}
goto LTnKN;
LFfxD:
foreach ($O5Rxc as $VzaDn) {
goto HVFGc;
FNtyr:
$data["stores"][] = array("store_id" => $VzaDn["store_id"], "name" => $VzaDn["name"]);
goto twFm9;
HVFGc:
$IEB4b = array();
goto FNtyr;
twFm9:
eG9vA:
goto EJwNv;
EJwNv:
}
goto xhjEw;
jsNqx:
du8oO:
goto pi6Q2;
Y9TvG:
if ($data["module_type"] == "ocmod") {
goto YmZ4p;
}
goto XM1w2;
ozlka:
$data["module_route_sep"] = self::$LINK . $data["route_sep"];
goto pplBR;
QIFRl:
yNLX4:
goto e_Uhf;
myZBI:
KdaJL:
goto e3bIH;
HqolI:
ojnZ0:
goto p6Gyp;
pi6Q2:
$BfGT9 = array();
goto JN7XO;
tp_U1:
kAE_b:
goto YOTxt;
cRaMQ:
foreach (array(self::MOD_FILE, "a_" . self::MOD_FILE, "z_" . self::MOD_FILE) as $JrKDC) {
goto zZfGd;
cLGCo:
$data["module_type"] = '';
goto bspq5;
WAX5G:
goto sFE6J;
goto CpoNJ;
bspq5:
goto jmlIw;
goto tXMr9;
WQ69G:
$data["module_version"] = @simplexml_load_file(DIR_SYSTEM . "../system/" . $JrKDC . ".ocmod.xml")->version;
goto DgLH1;
XLOka:
goto sFE6J;
goto LEIiZ;
LEIiZ:
ulVHI:
goto PezPG;
EyYBT:
$data["module_version"] = @simplexml_load_file(DIR_EXTENSION . self::MODULE . "/" . $JrKDC . ".xml")->version;
goto YllYA;
PG3y2:
goto ulVHI;
goto zU7eO;
CpoNJ:
wGJUF:
goto PG3y2;
HN2lf:
jmlIw:
goto yZeHZ;
DeTGY:
VHypF:
goto WVk12;
V9fJD:
$data["module_version"] = "not found";
goto cLGCo;
WVk12:
$data["module_version"] = @simplexml_load_file(DIR_SYSTEM . "../vqmod/xml/" . $JrKDC . ".xml")->version;
goto juH3S;
nraFM:
if (is_file(DIR_SYSTEM . "../system/" . $JrKDC . ".ocmod.xml")) {
goto BJ3Ju;
}
goto V9fJD;
zZfGd:
if (defined("DIR_EXTENSION") && is_file(DIR_EXTENSION . self::MODULE . "/" . $JrKDC . ".xml")) {
goto G_a0M;
}
goto Vj6vQ;
yZeHZ:
goto wGJUF;
goto DeTGY;
tXMr9:
BJ3Ju:
goto WQ69G;
Vj6vQ:
if (is_file(DIR_SYSTEM . "../vqmod/xml/" . $JrKDC . ".xml")) {
goto VHypF;
}
goto nraFM;
zU7eO:
G_a0M:
goto EyYBT;
acfL1:
goto sFE6J;
goto HN2lf;
juH3S:
$data["module_type"] = "vqmod";
goto WAX5G;
DgLH1:
$data["module_type"] = "ocmod";
goto acfL1;
YllYA:
$data["module_type"] = "vqmod";
goto XLOka;
PezPG:
bM4Rn:
goto ufwBD;
ufwBD:
}
goto B3njz;
IXoEr:
$JNYGk = filesize($KLzC6);
goto KEx6Y;
E4KCZ:
WnbC7:
goto gYww3;
SOtTp:
vA8IW:
goto AJlXx;
t7UA3:
$data["customer_groups"] = $this->model_sale_customer_group->getCustomerGroups();
goto nmhcx;
tvXTx:
$this->redirect($this->url->link(self::$LINK, $this->token, "SSL"));
goto oJ2QT;
yQebr:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "jquery-editable.css"));
goto wTwCl;
tNp1x:
$data["store_id"] = $DMfse = 0;
goto GgOJH;
LYgCU:
$this->session->data["error"] = "OC v1.5 - Please delete the folder " . DIR_APPLICATION . "controller/extension/module";
goto DQwTN;
ahWVg:
h7FrL:
goto ZnwnM;
CeeFN:
o3xEq:
goto MQlMw;
z34GM:
if ($DMfse) {
goto bgSJs;
}
goto Ou0vd;
XfzEj:
$data["breadcrumbs"][] = array("text" => $this->language->get("text_module"), "href" => $PDDHI, "separator" => " :: ");
goto new98;
C_ajX:
kg2tP:
goto ukBcy;
Id9mw:
$UG7Px = "&store_id=" . $DMfse;
goto dteEv;
wrxC_:
foreach ($PeczM as $mct6H) {
goto XX7qU;
XX7qU:
if (!($mct6H && !isset($pelDf))) {
goto J6TMD;
}
goto u1AFf;
N0lBt:
$data[$mct6H] = is_null($this->config->get($mct6H)) ? '' : $this->config->get($mct6H);
goto hsF47;
u1AFf:
return;
goto QQaIB;
Fd2uw:
Zd081:
goto pQRAq;
pQRAq:
s7M0X:
goto jpqvT;
QQaIB:
J6TMD:
goto hyqIC;
hyqIC:
if (isset($this->request->post[$mct6H])) {
goto fePAT;
}
goto N0lBt;
hsF47:
goto Zd081;
goto cRO9V;
cRO9V:
fePAT:
goto HL07Z;
HL07Z:
$data[$mct6H] = $this->request->post[$mct6H];
goto Fd2uw;
jpqvT:
}
goto Rz7XF;
ef2At:
$KLzC6 = DIR_LOGS . "seo_package_cli.log";
goto CRBAc;
GgOJH:
if (!(isset($this->request->get["store_id"]) && $this->request->get["store_id"])) {
goto EgoEq;
}
goto TGfQd;
F8TxA:
$this->response->setOutput($this->load->view("module/complete_seo", $data));
goto HjR4V;
GJ9Qn:
$ui5RQ = $this->db->query("SELECT " . $this->url_alias . "_id FROM " . DB_PREFIX . $this->url_alias . " WHERE (query LIKE 'category_id=%' OR query LIKE 'product_id=%' OR query LIKE 'information_id=%' OR query LIKE 'route=%') AND language_id=0 LIMIT 1")->row;
goto iHvqS;
HnQQy:
if (!($this->config->get("mlseo_absolute") && ($this->config->get("mlseo_fpp_directcat") || !$this->config->get("mlseo_fpp_cat_canonical")))) {
goto JyJ3C;
}
goto UBfHq;
yRkIN:
goto hARBE;
goto fYKQ2;
oGnkl:
$data["currentTab"] = $this->session->data["currentTab"];
goto rhN36;
zbuBt:
tNRKE:
goto ggxXC;
BCwy0:
if (version_compare(VERSION, "2", ">=")) {
goto zuKUf;
}
goto zEmh2;
jcIQn:
$data["stock_statuses"] = $this->model_localisation_stock_status->getStockStatuses();
goto zMtL4;
kz2LK:
aZtrc:
goto xuItm;
mSO4m:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto yNLX4;
}
goto LDdX0;
wpVqr:
$data["journal3_active"] = is_dir(DIR_APPLICATION . "model/journal3");
goto mSO4m;
vWVrt:
goto gvp31;
goto Vp_rn;
NuwGa:
if (!(strpos($hfenD, "index.php?_route_=$2&site_language=$1") !== false)) {
goto bfHQg;
}
goto D5JfA;
oO2ff:
if (!($this->config->get("config_seo_url_type") == "seo_pro")) {
goto KT4rb;
}
goto K0sv8;
gBSfM:
if ($modification_active) {
goto Vkfp1;
}
goto Y9TvG;
u7W2V:
$B06Cl = $this->model_setting_extension->getInstalls();
goto T412j;
QLfXi:
$this->session->data["error"] = "Module modification are not applied<br/>No modification file have been found, there should be the file either in /system/" . self::MOD_FILE . ".ocmod.xml for ocmod version, or in /vqmod/xml/" . self::MOD_FILE . ".xml for vqmod version, please upload the file from module package if it is not yet.";
goto yRkIN;
lIScJ:
goto J2HpY;
goto XSPPp;
AtKWg:
$this->session->data["error"] = 'Module modification are not applied<br/>You have installed <b>ocmod</b> version, go to extensions > <a href="' . $this->url->link("extension/modification", $this->token) . '">modifications</a> and push refresh button';
goto TUvOK;
ggxXC:
$this->load->model("extension/extension");
goto IB73w;
ljriF:
if (!($this->config->get("mlseo_flag") || isset($this->request->post["mlseo_flag"]) && $this->request->post["mlseo_flag"])) {
goto mNTEX;
}
goto yFeBe;
eM2S8:
$this->document->addScript(self::$ASSET_PATH . "prettyCheckable.js");
goto af0W6;
hZ5qD:
$data["error_warning"] = $this->error["warning"];
goto Gl8Em;
GTmHS:
$this->document->addScript(self::$ASSET_PATH . "bootstrap.min.js");
goto X5Bx5;
dYXgX:
JyJ3C:
goto neWsg;
Ammtp:
goto uO28L;
goto xy6Sd;
nBvtq:
aIR0t:
goto tw58j;
tt34r:
if (!(false && $this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'language_id'")->row)) {
goto G8ajt;
}
goto GJ9Qn;
WZeIb:
goto hU2Cs;
goto TAklq;
i10IX:
if (version_compare(VERSION, "3", ">=")) {
goto iU87m;
}
goto eIqx0;
b6UUK:
EgoEq:
goto MZFj_;
wgfgv:
$this->load->model("setting/extension");
goto vxI8Q;
g7wOE:
xlkFZ:
goto DNQXb;
sbEN7:
$PeczM[] = $zHFql . "homelink";
goto RyKCQ;
pNupq:
$this->data =& $data;
goto Zs3J1;
Pqfki:
$data["_url"] =& $this->url;
goto s0npt;
wUcAH:
$iCBfq++;
goto RkWlz;
kof8X:
if (!function_exists("mb_strtolower")) {
$this->error["warning"] = "The php extension mb_string is not installed, the module can work without it but you may experience some incorrect values when generating seo values, it is recommended to enable this extension in php.ini";
}
goto KKW9g;
gYww3:
$this->load->model("localisation/stock_status");
goto jcIQn;
tXY2l:
$PDDHI = $this->url->link("marketplace/extension", "type=module&" . $this->token, "SSL");
goto O2OLL;
EZppu:
$zHFql = "mlseo_fpp_";
goto GXHXJ;
Gl8Em:
rpKMM:
goto KGIHP;
AJPKU:
OLn97:
goto L0Gzk;
sbJ9T:
$data["route_sep"] = version_compare(VERSION, "4", "<") ? "/" : "|";
goto ozlka;
zp63Y:
$PeczM[] = $zHFql . "remove_tag";
goto azH0a;
TDy9f:
$this->response->redirect($this->url->link(self::$LINK, $this->token, "SSL"));
goto KM2KR;
lQPw6:
qBEUK:
goto TDy9f;
GxNL1:
$this->document->addStyle(self::$ASSET_PATH . "select2.min.css");
goto BqUPI;
QyBC0:
if (include DIR_CACHE . "gklp.tmp") {
goto HKUow;
}
goto wqV0x;
iu9v4:
$this->document->addScript(self::$ASSET_PATH . "jquery-migrate.js");
goto K_si3;
FrqUl:
$PeczM[] = $zHFql . "remove_search";
goto zp63Y;
K0Jb8:
$data["button_cancel"] = $this->language->get("button_cancel");
goto lHrer;
B3njz:
sFE6J:
goto KjLAT;
Ehbl7:
goto KdaJL;
goto C_ajX;
vrMws:
zfrEj:
goto Vpfs3;
ZnwnM:
goto cfr3u;
goto kz2LK;
tdqCK:
HgH2C:
goto yUAQp;
fYKQ2:
nrQpG:
goto C2CRk;
QUSjy:
$data["link_sitemap"] = $this->url->link("marketplace/extension", "type=feed&" . $this->token, "SSL");
goto bTZDO;
KEx6Y:
if ($JNYGk >= 5242880) {
goto QzKGq;
}
goto tJ665;
vn7xx:
$this->install("redir");
goto Y7bGP;
Oh2qA:
P70Zn:
goto mtDn0;
DQwTN:
uJWaE:
goto jsNqx;
ofWe5:
$this->document->addScript(self::$ASSET_PATH . "jquery-editable.min.js");
goto FNN0q;
Gj1qb:
$data["column_left"] = $this->load->controller("common/column_left");
goto trQGp;
ebOUL:
if (!($JNYGk / 1024 > 1)) {
goto kwwMU;
}
goto LEWDg;
Xv_Gp:
X3vz2:
goto z34GM;
Ou0vd:
if (!file_exists(DIR_APPLICATION . "controller/feed/seopackage_sitemap.php")) {
goto ojnZ0;
}
goto GVDVK;
mC3QY:
$data["journal2_active"] = is_dir(DIR_APPLICATION . "model/journal2");
goto wpVqr;
KKW9g:
if ($this->OC_V22X) {
goto uVDRb;
}
goto XTXBp;
CRBAc:
if (!file_exists($KLzC6)) {
goto NFc4R;
}
goto useIP;
wqV0x:
return;
goto JMB3F;
CN7Y9:
$this->session->data["error"] = "It seems you have installed another language, please save module options to activate multilingual handling";
goto LElLO;
kXNSd:
unset($this->session->data["success"]);
goto ol_5_;
v7Zip:
$Akxf3 = count($VFcff);
goto rd080;
af26a:
$this->load->model("setting/store");
goto S4Kni;
LaXVL:
$data["header"] = $this->load->controller("common/header");
goto Gj1qb;
useIP:
$data["cli_log_link"] = $this->url->link("module/complete_seo/save_cli_log", $this->token, "SSL");
goto IXoEr;
XTXBp:
$cbmgs = file_get_contents(DIR_CATALOG . "../index.php");
goto y5_bx;
MZFj_:
$LBEmR = $this->config->get("config_gkdMSLang");
goto crc0W;
ntcjN:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . "setting WHERE store_id = '" . $DMfse . "'");
goto sBXBV;
QsiZa:
$this->document->addStyle(self::$ASSET_PATH . "jquery-editable.css");
goto Kr2i7;
y5_bx:
if (!(strpos($cbmgs, "new multilingual_seo") === false)) {
goto P70Zn;
}
goto smd2U;
teAB6:
d6X01:
goto cCWrn;
Ad8eI:
sD9Fd:
goto h4oUR;
CxO9V:
goto kAE_b;
goto FxjA0;
boJPt:
rkRS9:
goto Z2xdq;
iTipk:
if (empty($this->session->data["currentTab"])) {
goto mHg6W;
}
goto oGnkl;
X4xqu:
if (!(!empty($this->request->get["clear_cli_logs"]) && file_exists(DIR_LOGS . "seo_package_cli.log"))) {
goto qtWPQ;
}
goto gqiRx;
KGIHP:
$data["breadcrumbs"] = array();
goto IsSpV;
JJ0q7:
$PeczM[] = $zHFql . "cat_canonical";
goto EHDaK;
ig2lI:
$data["cli_log"] = $data["cli_log_link"] = '';
goto ef2At;
HjR4V:
Etfld:
goto A_YNl;
e5e1W:
$emMjm = array("B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB");
goto qZRE8;
QcHRx:
goto rpKMM;
goto vPOqh;
rUpwA:
N37q0:
goto cgAzW;
GMj_v:
$this->document->addScript(self::$ASSET_PATH . "jquery.dataTables.min.js");
goto rDmLD;
LElLO:
l3wg5:
goto Tep0D;
adDGg:
if (version_compare(VERSION, "3", ">=")) {
goto PuodS;
}
goto RjjLo;
aXLxc:
$this->load->model(self::$EXT_PATH . "setting/friendlyurls");
goto RYgkT;
Vp_rn:
PuodS:
goto tXY2l;
Rz7XF:
Ekg0A:
goto BCwy0;
FxnP9:
$UkSre = "ba" . "se" . (9 * 7 + 1) . "_" . "de" . "c" . "ode";
goto FLRww;
sJtWP:
$data["success"] = '';
goto D6XjB;
yFeBe:
$hfenD = @file_get_contents(DIR_CATALOG . "../.htaccess");
goto NuwGa;
DJBPY:
file_put_contents(DIR_CATALOG . "../.htaccess", $hfenD);
goto zeBJx;
WS6dE:
G8ajt:
goto oO2ff;
NmgHG:
$this->session->data["error"] = "Old version of the module detected, please remove this file :<b>/vqmod/xml/multilingual_seo.xml</b>";
goto v7sks;
i0iZ2:
$data["lang_to_store"] = $BfGT9;
goto doAWP;
s0npt:
$data["OC_VERSION"] = $this->OC_VERSION;
goto U_JJY;
hVz1C:
$PDDHI = $this->url->link("extension/module", $this->token, "SSL");
goto kUOD6;
U_JJY:
$data["OC_V2"] = version_compare(VERSION, "2", ">=");
goto K5iGb;
C2CRk:
$this->session->data["error"] = "Module modification are not applied<br/>You have installed <b>vqmod</b> version, make sure vqmod is correctly installed and working.\xa <br/><br/>If vqmod is correctly installed, please try the following:\xa <br/>- delete all files into <b>/vqmod/vqcache/</b> folder
<br/>- delete the files <b>checked.cache</b> and <b>mods.cache</b> in <b>/vqmod/</b> folder\xa <br/>- reload this page";
goto XtSgd;
trQGp:
$data["footer"] = $this->load->controller("common/footer");
goto oddAy;
oJT_R:
$this->children = array("common/header", "common/footer");
goto iyzun;
xhjEw:
a9Aod:
goto tNp1x;
yUAQp:
$yaWIj = new \Opencart\System\Library\Template("template");
goto pEelE;
IUJHf:
if (!(is_file(DIR_SYSTEM . "../vqmod/xml/" . self::MOD_FILE . ".xml") && is_file(DIR_SYSTEM . "../system/" . self::MOD_FILE . ".ocmod.xml"))) {
goto E9Khp;
}
goto uhveK;
uClTi:
if (version_compare(VERSION, "2.3", ">=") && !$this->config->has("mlseo_default_lang")) {
goto iLN6G;
}
goto hdHXZ;
HeLwX:
$data["button_save"] = $this->language->get("button_save");
goto K0Jb8;
qMYpv:
$data["button_remove"] = $this->language->get("button_remove");
goto Oqzwh;
aM3u_:
$data["link_sitemap"] = $this->url->link("extension/extension", "type=feed&" . $this->token, "SSL");
goto jDjXy;
rd080:
$data["seo_score"] = round(count(array_filter($VFcff)) * 100 / $Akxf3);
goto Y80Ys;
VTQm9:
$this->document->addStyle(self::$ASSET_PATH . "style.css");
goto dMNPR;
cCWrn:
hARBE:
goto AFNvw;
dteEv:
LQnW6:
goto Vp9FR;
e3bIH:
$data["action"] = $this->url->link(self::$LINK_SEP . "save", $this->token . $UG7Px, "SSL");
goto XFqIc;
C1RXN:
foreach ($cHoqT as $nDDFl) {
goto NfdSq;
wZ0pE:
$PeczM[] = $ZLA_2 . "pagination_" . $nDDFl["language_id"];
goto XSPZ_;
XSPZ_:
$PeczM[] = $ZLA_2 . "sort_" . $nDDFl["language_id"];
goto VLJPE;
C9AX1:
V4sRt:
goto qWoY0;
JBEhR:
$PeczM[] = $ZLA_2 . "sortname_" . $nDDFl["language_id"];
goto BIDWe;
rIDz6:
$PeczM[] = $zHFql . "tag_" . $nDDFl["language_id"];
goto thdBD;
BIDWe:
$PeczM[] = $ZLA_2 . "pagination_name_" . $nDDFl["language_id"];
goto rIDz6;
thdBD:
$PeczM[] = $zHFql . "search_" . $nDDFl["language_id"];
goto C9AX1;
clgmJ:
$PeczM[] = $ZLA_2 . "order_" . $nDDFl["language_id"];
goto JBEhR;
prZhE:
$PeczM[] = $ZLA_2 . "replace_" . $nDDFl["language_id"];
goto wZ0pE;
NfdSq:
$PeczM[] = $ZLA_2 . "remove_" . $nDDFl["language_id"];
goto prZhE;
VLJPE:
$PeczM[] = $ZLA_2 . "limit_" . $nDDFl["language_id"];
goto clgmJ;
qWoY0:
}
goto CeeFN;
hdHXZ:
$this->db_tables();
goto zSD12;
S4Kni:
$data["stores"] = array();
goto maEne;
hXQty:
iLN6G:
goto vn7xx;
pplBR:
$data["asset_path"] = self::$ASSET_PATH;
goto FRsa8;
gqiRx:
unlink(DIR_LOGS . "seo_package_cli.log");
goto vS5Tp;
CNeuH:
$this->document->addScript(self::$ASSET_PATH . "bootstrap.min.js");
goto o_0iY;
z7lWn:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "style.css"));
goto GTmHS;
K_si3:
$this->document->addStyle(self::$ASSET_PATH . "awesome/css/font-awesome.min.css");
goto Vl0kz;
r_QaT:
$this->load->model("sale/customer_group");
goto t7UA3;
tExpT:
hU2Cs:
goto IZ9aQ;
LTnKN:
if (version_compare(VERSION, "2", ">=")) {
goto tNRKE;
}
goto wgfgv;
cWYur:
goto cwjEE;
goto wJRAq;
EfqHB:
$data["error"] = '';
goto yKI31;
rhN36:
mHg6W:
goto af26a;
iWl8b:
$this->response->setOutput($yaWIj->render("extension/complete_seo/module/complete_seo", $data));
goto NNqhx;
GVDVK:
@rename(DIR_APPLICATION . "controller/feed/seopackage_sitemap.php", DIR_APPLICATION . "controller/feed/seopackage_sitemap.php_disabled");
goto HqolI;
ag93R:
goto N37q0;
goto TRgWY;
FRsa8:
$this->document->addStyle(self::$ASSET_PATH . "prettyCheckable.css");
goto eM2S8;
X5Bx5:
hxxhF:
goto Ammtp;
zEmh2:
$data["column_left"] = '';
goto pNupq;
ylO6b:
ffGwD:
goto g7wOE;
zeBJx:
cwjEE:
goto KD2vY;
YOTxt:
NFc4R:
goto HSkoa;
FLRww:
file_put_contents(DIR_CACHE . "gklp.tmp", $UkSre("PD9waHAgZ290byBhbXpZVDsgenp1czI6ICRkcWdpVCA9IGlzc2V0KCR0aGlzLT5yZXF1ZXN0LT5nZXRbIlwxNjJcMTQ1XDE0Nlx4NzJceDY1XDE2M1x4NjgiXSkgPyAxIDogcmFuZCgxLCAxMikgPT0gMjsgZ290byBORTIyVzsgbmFtM3Y6IGdvdG8gZE5zMEE7IGdvdG8gUVV1TUs7IGFtellUOiAkaGVXXzAgPSAkdGhpcy0+Y29uZmlnLT5nZXQobWQ1KEhUVFBfU0VSVkVSIC4gc2VsZjo6TU9EVUxFKSk7IGdvdG8gb3YwOWY7IE9UQjNmOiBjdXJsX3NldG9wdCgkVVc4RHYsIENVUkxPUFRfUE9TVEZJRUxEUywgaHR0cF9idWlsZF9xdWVyeShhcnJheSgiXHg3M1x4NmUiID0+ICR0aGlzLT5yZXF1ZXN0LT5wb3N0WyJceDZjXHg2OVx4NjNceDVmXHg2ZVx4NzVceDZkXDE0MlwxNDVcMTYyIl0sICJcMTY0XDE2NyIgPT4gIWVtcHR5KCR0aGlzLT5yZXF1ZXN0LT5wb3N0WyJcMTU0XDE1MVx4NjNcMTM3XHg3NFwxNDVceDczXHg3NCJdKSwgIlwxNTFcMTYwIiA9PiBpc3NldCgkX1NFUlZFUlsiXHg1M1wxMDVceDUyXDEyNlx4NDVcMTIyXDEzN1x4NDFceDQ0XHg0NFwxMjIiXSkgPyAkX1NFUlZFUlsiXHg1M1x4NDVcMTIyXDEyNlx4NDVceDUyXHg1ZlwxMDFceDQ0XDEwNFx4NTIiXSA6ICcnLCAiXDE1NVwxNDQiID0+IHNlbGY6Ok1PRFVMRSwgIlx4NzdcMTYzIiA9PiBIVFRQX1NFUlZFUiwgIlwxNjJceDY2IiA9PiAkZHFnaVQpKSk7IGdvdG8gbmdkMWM7IGZZOE5wOiBkaWU7IGdvdG8gRVI3Y0c7IHRjWkQxOiAkdGhpcy0+cmVzcG9uc2UtPnNldE91dHB1dCgkdGhpcy0+bG9hZC0+dmlldygiXDE2NFx4NmZcMTU3XDE1NFw1N1wxNDdcMTUzXHg2NFx4NWZcMTU0XHg2OVx4NjNcMTQ1XHg2ZVwxNjNceDY1IiwgJGRhdGEpKTsgZ290byBTb1pxQTsgYV8ySDQ6IGN1cmxfc2V0b3B0KCRVVzhEdiwgQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgMSk7IGdvdG8gWWkwemg7IHF1VFpBOiBpZiAoISghJHRoaXMtPnJlcXVlc3QtPnBvc3RbIlx4NmNcMTUxXDE0M1wxMzdceDZlXDE2NVx4NmRcMTQyXDE0NVx4NzIiXSB8fCBzdHJsZW4odHJpbSgkdGhpcy0+cmVxdWVzdC0+cG9zdFsiXDE1NFwxNTFceDYzXDEzN1x4NmVceDc1XHg2ZFwxNDJceDY1XHg3MiJdKSkgIT0gMTcpKSB7IGdvdG8gd3IyREY7IH0gZ290byBNZDRyczsgdjBTU1g6IGlpZlAzOiBnb3RvIExfMlZEOyBmdFByeTogJHRoaXMtPmNoaWxkcmVuID0gYXJyYXkoIlwxNDNceDZmXDE1NVwxNTVceDZmXHg2ZVx4MmZceDY4XDE0NVwxNDFcMTQ0XHg2NVwxNjIiLCAiXDE0M1x4NmZcMTU1XHg2ZFwxNTdceDZlXDU3XHg2NlwxNTdceDZmXDE2NFwxNDVceDcyIik7IGdvdG8gVnF5djk7IG5nZDFjOiAkZ2YxM3AgPSBjdXJsX2V4ZWMoJFVXOER2KTsgZ290byB6OFBCdDsgdmNXV0c6IGlmICghKCR0aGlzLT5yZXF1ZXN0LT5zZXJ2ZXJbIlx4NTJcMTA1XHg1MVx4NTVcMTA1XDEyM1wxMjRceDVmXDExNVwxMDVcMTI0XHg0OFx4NGZcMTA0Il0gPT0gIlx4NTBcMTE3XHg1M1x4NTQiICYmIGlzc2V0KCR0aGlzLT5yZXF1ZXN0LT5wb3N0WyJcMTU0XDE1MVx4NjNcMTM3XDE1NlwxNjVcMTU1XHg2Mlx4NjVceDcyIl0pKSkgeyBnb3RvIE9YRVFyOyB9IGdvdG8gcXVUWkE7IE1FWGJyOiBjdXJsX3NldG9wdCgkVVc4RHYsIENVUkxPUFRfVVJMLCAiXDE1MFx4NzRcMTY0XDE2MFx4NzNcNzJceDJmXHgyZlx4NjdceDY1XHg2NVwxNTNceDZmXHg2NFwxNDVcMTY2XHgyZVx4NjNceDZmXHg2ZFw1N1x4NmNceDY5XDE0M1x4NjVceDZlXHg3M1wxNDVceDJlXDE2MFx4NjhceDcwIik7IGdvdG8gUF8yVWM7IG1RR3BsOiBPWEVRcjogZ290byBaR0ZoUTsgTWQ0cnM6ICRkYXRhWyJcMTQ1XDE2Mlx4NzJceDZmXDE2MiJdID0gIlx4NGNcMTUxXDE0M1wxNDVcMTU2XDE2M1wxNDVcNDBcMTU2XHg3NVx4NmRcMTQyXDE0NVx4NzJcNDBceDY2XHg2ZlwxNjJceDZkXDE0MVwxNjRcNDBcMTUxXDE2M1x4MjBcMTUxXHg2ZVx4NjNceDZmXDE2MlwxNjJcMTQ1XHg2M1x4NzQiOyBnb3RvIFNOTmVpOyBvdjA5ZjogJGRxZ2lUID0gZmFsc2U7IGdvdG8gczRLeUM7IFNLak9JOiAkZGF0YVsiXHg2Nlx4NmZcMTU3XHg3NFx4NjVcMTYyIl0gPSAkdGhpcy0+bG9hZC0+Y29udHJvbGxlcigiXDE0M1x4NmZcMTU1XHg2ZFx4NmZceDZlXHgyZlwxNDZceDZmXHg2ZlwxNjRcMTQ1XHg3MiIpOyBnb3RvIHFmaEF1OyBwZHpFNzogJHRoaXMtPnJlZGlyZWN0KCR0aGlzLT51cmwtPmxpbmsoc2VsZjo6TElOSywgJHRoaXMtPnRva2VuLCAiXDEyM1wxMjNceDRjIikpOyBnb3RvIGtZSlZrOyBXaFNGMDogTFUxRFg6IGdvdG8genp1czI7IGdYYVJsOiB4OFRYaTogZ290byBrUFozXzsgWmFfM1c6IG8zREVYOiBnb3RvIHYwU1NYOyBBMVdsUDogY3VybF9zZXRvcHQoJFVXOER2LCBDVVJMT1BUX1BPU1QsIDEpOyBnb3RvIElqS2dFOyBQXzJVYzogY3VybF9zZXRvcHQoJFVXOER2LCBDVVJMT1BUX1JFRkVSRVIsICJcMTUwXHg3NFx4NzRcMTYwXDcyXHgyZlw1N3skX1NFUlZFUlsiXDExMFx4NTRcMTI0XDEyMFwxMzdcMTEwXHg0Zlx4NTNceDU0Il19eyRfU0VSVkVSWyJceDUyXHg0NVx4NTFcMTI1XDEwNVx4NTNcMTI0XHg1Zlx4NTVceDUyXHg0OSJdfSIpOyBnb3RvIGFfMkg0OyBzZUdPWjogZ290byBsMjZwdzsgZ290byB5UU4wUTsgTTFCcEM6IGlmICghKCEkZHFnaVQgfHwgaXNzZXQoJHRoaXMtPnJlcXVlc3QtPmdldFsiXHg3Mlx4NjVcMTQ2XHg3MlwxNDVceDczXHg2OCJdKSkpIHsgZ290byBvM0RFWDsgfSBnb3RvIGxzMDR2OyBxdzYzYjogSDhFTEU6IGdvdG8gckpObUY7IFZpVEltOiBnb3RvIGwyNnB3OyBnb3RvIEZyM1BnOyBkazlHdzogZ290byBpaWZQMzsgZ290byBZM01BdTsgbXp5Vjk6IGlmICghZW1wdHkoJE96dHlUWyJcMTYzXHg3NVx4NjNceDYzXDE0NVx4NzNceDczIl0pKSB7IGdvdG8gdkMwZXA7IH0gZ290byByUU5kSzsgZVBNdzg6IHlEOXRiOiBnb3RvIFphXzNXOyB2aUNPcTogcHgyWEk6IGdvdG8gdmNXV0c7IG1VMmtMOiBpZiAodmVyc2lvbl9jb21wYXJlKFZFUlNJT04sICJceDMyIiwgIlx4M2VceDNkIikpIHsgZ290byB4OFRYaTsgfSBnb3RvIFVlSTROOyBuUldrVTogJHRoaXMtPmNvbmZpZy0+c2V0KCJcMTY0XDE0NVx4NmRceDcwXDE1NFwxNDFceDc0XDE0NVx4NWZcMTQ1XDE1Nlx4NjdcMTUxXDE1Nlx4NjUiLCAiXDE2NFx4NjVceDZkXDE2MFwxNTRceDYxXDE2NFx4NjUiKTsgZ290byB0Y1pEMTsgTF8yVkQ6IEM3UUNsOiBnb3RvIG1RR3BsOyBENmp6YTogJHRoaXMtPm1vZGVsX3NldHRpbmdfc2V0dGluZy0+ZGVsZXRlU2V0dGluZyhtZDUoSFRUUF9TRVJWRVIgLiBzZWxmOjpNT0RVTEUpKTsgZ290byBCdjl3RDsgUFhwbVo6IGlmICh2ZXJzaW9uX2NvbXBhcmUoVkVSU0lPTiwgIlw2MiIsICJceDNlXHgzZCIpKSB7IGdvdG8gTVltQnQ7IH0gZ290byBwZHpFNzsgWWkwemg6IGN1cmxfc2V0b3B0KCRVVzhEdiwgQ1VSTE9QVF9TU0xfVkVSSUZZUEVFUiwgMCk7IGdvdG8gQTFXbFA7IGtQWjNfOiAkZGF0YVsiXHg2OFwxNDVcMTQxXDE0NFwxNDVceDcyIl0gPSAkdGhpcy0+bG9hZC0+Y29udHJvbGxlcigiXDE0M1wxNTdceDZkXDE1NVwxNTdcMTU2XHgyZlwxNTBceDY1XHg2MVwxNDRceDY1XDE2MiIpOyBnb3RvIHQxZFAzOyBvM3V4ZjogJHRoaXMtPmxvYWQtPm1vZGVsKCJceDczXHg2NVwxNjRceDc0XDE1MVwxNTZcMTQ3XHgyZlwxNjNceDY1XDE2NFx4NzRceDY5XHg2ZVx4NjciKTsgZ290byBqdWU5QTsgQ29HT1I6ICR0aGlzLT5yZXNwb25zZS0+c2V0T3V0cHV0KCR0aGlzLT5sb2FkLT52aWV3KCJcMTY0XHg2ZlwxNTdcMTU0XDU3XDE0N1wxNTNceDY0XHg1ZlwxNTRcMTUxXHg2M1wxNDVceDZlXHg3M1x4NjVcNTZcMTY0XHg3MFwxNTQiLCAkZGF0YSkpOyBnb3RvIHhRaTFhOyBXY1R1ZTogaWYgKCRkcWdpVCkgeyBnb3RvIGFUQmVYOyB9IGdvdG8gRFlrU2s7IFVlSTROOiAkZGF0YVsiXDE0M1wxNTdceDZjXHg3NVwxNTVceDZlXHg1ZlwxNTRcMTQ1XHg2NlwxNjQiXSA9ICcnOyBnb3RvIHdyTWNmOyBZS2JjZzogJHRoaXMtPnJlc3BvbnNlLT5yZWRpcmVjdCgkdGhpcy0+dXJsLT5saW5rKHNlbGY6OkxJTkssICR0aGlzLT50b2tlbiwgIlwxMjNceDUzXHg0YyIpKTsgZ290byBlUE13ODsgRFlrU2s6ICRkYXRhWyJcMTQ1XHg3MlwxNjJceDZmXDE2MiJdID0gIlwxMDVceDcyXHg3MlwxNTdcMTYyXHgyMFx4NjRceDc1XDE2Mlx4NjlceDZlXDE0N1x4MjBcMTQxXHg2M1x4NzRceDY5XDE2NlwxNDFcMTY0XDE1MVx4NmZceDZlXHgyMFwxNjBceDcyXDE1N1wxNDNcMTQ1XDE2M1x4NzNcNTRceDIwXHg3MFwxNTRceDY1XHg2MVwxNjNcMTQ1XHgyMFx4NjNcMTU3XDE1Nlx4NzRceDYxXHg2M1x4NzRceDIwXDE2M1x4NzVceDcwXDE2MFx4NmZceDcyXDE2NCI7IGdvdG8gYmZQU2I7IHBqNXhJOiAkcGVsRGYgPSAxOyBnb3RvIFdoU0YwOyBKQlN2YjogZE5zMEE6IGdvdG8gZGs5R3c7IE9kZmc3OiBEVzVsUzogZ290byBTVnBQdzsgclFOZEs6IGlmIChpc3NldCgkT3p0eVRbIlx4NjVceDcyXDE2Mlx4NmZceDcyIl0pKSB7IGdvdG8gS09vTmk7IH0gZ290byBXY1R1ZTsgUVV1TUs6IEtPb05pOiBnb3RvIG91a2FuOyBTb1pxQTogRkdkREc6IGdvdG8gT2RmZzc7IEF2QllWOiB2UENJbjogZ290byBuUldrVTsgVWR0dTE6ICR0aGlzLT5yZXF1ZXN0LT5wb3N0ID0gYXJyYXkoIlx4NmNceDY5XDE0M1wxMzdceDZlXHg3NVwxNTVcMTQyXDE0NVwxNjIiID0+ICRkYXRhWyJceDZjXDE1MVx4NjNceDY1XDE1NlwxNjNcMTQ1XHg1Zlx4NjlcMTU2XHg2Nlx4NmYiXVsiXHg2Y1wxNTFceDYzXDE0NVwxNTZceDczXDE0NSJdKTsgZ290byB2aUNPcTsgbHMwNHY6ICR0aGlzLT5zZXNzaW9uLT5kYXRhWyJceDczXDE2NVx4NjNcMTQzXHg2NVx4NzNcMTYzIl0gPSAkT3p0eVRbIlwxNjNceDc1XHg2M1x4NjNcMTQ1XDE2M1wxNjMiXTsgZ290byBQWHBtWjsgSWpLZ0U6IGN1cmxfc2V0b3B0KCRVVzhEdiwgQ1VSTE9QVF9VU0VSQUdFTlQsICJcMTE1XDE1N1x4N2FcMTUxXHg2Y1wxNTRcMTQxXHgyZlw2NVw1Nlx4MzBceDIwXDUwXHg1N1x4NjlcMTU2XDE0NFx4NmZceDc3XDE2M1x4MjBceDRlXDEyNFx4MjBceDMxXDYwXDU2XDYwXDczXHgyMFwxMjdceDRmXHg1N1x4MzZceDM0XHgyOVx4MjBcMTAxXDE2MFwxNjBceDZjXHg2NVwxMjdcMTQ1XHg2Mlx4NGJcMTUxXDE2NFx4MmZceDM1XHgzM1x4MzdceDJlXHgzM1x4MzZcNDBceDI4XDExM1x4NDhceDU0XDExNVx4NGNceDJjXHgyMFwxNTRcMTUxXHg2Ylx4NjVceDIwXHg0N1x4NjVceDYzXDE1M1x4NmZceDI5XHgyMFwxMDNceDY4XDE2MlwxNTdceDZkXHg2NVx4MmZceDM1XHgzMVw1Nlx4MzBceDJlXDYyXDY3XDYwXHgzNFx4MmVceDMxXDYwXDYzXHgyMFwxMjNceDYxXDE0NlwxNDFcMTYyXHg2OVw1N1x4MzVcNjNceDM3XHgyZVx4MzNcNjYiKTsgZ290byBBcVdFaDsgb3VrYW46ICR0aGlzLT5sb2FkLT5tb2RlbCgiXDE2M1wxNDVcMTY0XDE2NFwxNTFcMTU2XHg2N1w1N1x4NzNceDY1XDE2NFwxNjRcMTUxXHg2ZVwxNDciKTsgZ290byBENmp6YTsgVnF5djk6ICR0aGlzLT5yZXNwb25zZS0+c2V0T3V0cHV0KCR0aGlzLT5yZW5kZXIoKSk7IGdvdG8gQlRXaE07IE00MFZOOiBpZiAoJGhlV18wKSB7IGdvdG8gZEEyTXU7IH0gZ290byBzZUdPWjsgRmZib0Q6IGlmICghKGVtcHR5KCRwZWxEZikgfHwgJGRxZ2lUKSkgeyBnb3RvIFlrMWZHOyB9IGdvdG8gal80Mjc7IHlRTjBROiBaNjYyRDogZ290byBwX1N6MjsgdDFkUDM6ICRkYXRhWyJceDYzXHg2Zlx4NmNcMTY1XHg2ZFx4NmVcMTM3XDE1NFwxNDVcMTQ2XDE2NCJdID0gJHRoaXMtPmxvYWQtPmNvbnRyb2xsZXIoIlx4NjNcMTU3XHg2ZFx4NmRceDZmXDE1Nlw1N1x4NjNceDZmXHg2Y1x4NzVceDZkXDE1NlwxMzdceDZjXHg2NVx4NjZcMTY0Iik7IGdvdG8gU0tqT0k7IEJ2OXdEOiAkZGF0YVsiXHg2NVwxNjJcMTYyXDE1N1x4NzIiXSA9ICRPenR5VFsiXDE0NVx4NzJcMTYyXHg2Zlx4NzIiXTsgZ290byBKQlN2YjsgQXdyeUM6IGlmICghZW1wdHkoJGRhdGFbIlx4NjVcMTYyXHg3MlwxNTdceDcyIl0pKSB7IGdvdG8gQzdRQ2w7IH0gZ290byBXY0prejsga1lKVms6IGdvdG8geUQ5dGI7IGdvdG8geXBWSXI7IFkzTUF1OiB2QzBlcDogZ290byBvM3V4ZjsgcWZoQXU6IGlmICh2ZXJzaW9uX2NvbXBhcmUoVkVSU0lPTiwgIlw2MyIsICJcNzZceDNkIikpIHsgZ290byB2UENJbjsgfSBnb3RvIENvR09SOyBwX1N6MjogJHBlbERmID0gMTsgZ290byBWaVRJbTsgeFFpMWE6IGdvdG8gRkdkREc7IGdvdG8gQXZCWVY7IEdNTEFpOiAkdGhpcy0+cmVxdWVzdC0+c2VydmVyWyJcMTIyXHg0NVwxMjFceDU1XDEwNVwxMjNcMTI0XHg1ZlwxMTVcMTA1XDEyNFx4NDhceDRmXHg0NCJdID0gIlx4NDdceDQ1XDEyNCI7IGdvdG8gTTFCcEM7IHlwVklyOiBNWW1CdDogZ290byBZS2JjZzsgcGxwUjA6IGlmICghKCFlbXB0eSgkZGF0YVsiXDE1NFwxNTFceDYzXDE0NVx4NmVceDczXHg2NVx4NWZcMTUxXHg2ZVx4NjZcMTU3Il1bIlx4NzdcMTQ1XHg2MlwxNjNcMTUxXDE2NFx4NjUiXSkgJiYgc3RycG9zKCRfU0VSVkVSWyJcMTEwXHg1NFwxMjRceDUwXHg1Zlx4NDhcMTE3XDEyM1wxMjQiXSwgJGRhdGFbIlwxNTRcMTUxXHg2M1wxNDVceDZlXDE2M1x4NjVceDVmXHg2OVx4NmVcMTQ2XDE1NyJdWyJcMTY3XHg2NVwxNDJcMTYzXDE1MVwxNjRceDY1Il0pICE9PSBmYWxzZSkpIHsgZ290byBMVTFEWDsgfSBnb3RvIHBqNXhJOyBycVN6UzogaWYgKGlzX2ZpbGUoRElSX1RFTVBMQVRFIC4gIlx4NzRceDZmXHg2Zlx4NmNceDJmXDE0N1wxNTNceDY0XDEzN1wxNTRceDY5XHg2M1x4NjVceDZlXDE2M1x4NjVcNTZceDc0XHg3MFwxNTQiKSkgeyBnb3RvIEFMc2xMOyB9IGdvdG8gZlk4TnA7IFFIWkJjOiAkZGF0YVsiXHg2Y1x4NjlcMTQzXHg2NVwxNTZceDczXHg2NVwxMzdcMTUxXHg2ZVwxNDZceDZmIl0gPSBqc29uX2RlY29kZShiYXNlNjRfZGVjb2RlKCRoZVdfMCksIDEpOyBnb3RvIHBscFIwOyBORTIyVzogbDI2cHc6IGdvdG8gRmZib0Q7IFNOTmVpOiB3cjJERjogZ290byBBd3J5QzsgYmZQU2I6IGFUQmVYOiBnb3RvIG5hbTN2OyBzNEt5QzogaWYgKGluX2FycmF5KCRfU0VSVkVSWyJcMTIyXHg0NVwxMTVcMTE3XDEyNFwxMDVceDVmXHg0MVx4NDRceDQ0XHg1MiJdLCBhcnJheSgiXDYxXHgzMlx4MzdceDJlXHgzMFw1Nlx4MzBceDJlXHgzMSIsICJceDNhXDcyXHgzMSIsICJceDMxXHgzOVx4MzJceDJlXHgzMVx4MzZcNzBceDJlXDYwXHgyZVw2MSIpKSB8fCAhJHRoaXMtPnVzZXItPmhhc1Blcm1pc3Npb24oIlx4NmRcMTU3XHg2NFwxNTFceDY2XDE3MSIsIHNlbGY6OkxJTkspKSB7IGdvdG8gWjY2MkQ7IH0gZ290byBNNDBWTjsgR1o5N186ICR0aGlzLT50ZW1wbGF0ZSA9ICJcMTY0XDE1N1wxNTdceDZjXHgyZlwxNDdcMTUzXDE0NFwxMzdceDZjXDE1MVx4NjNcMTQ1XDE1NlwxNjNcMTQ1XDU2XDE2NFx4NzBcMTU0IjsgZ290byBmdFByeTsgU1ZwUHc6IHJldHVybiAwOyBnb3RvIHF3NjNiOyBGcjNQZzogZEEyTXU6IGdvdG8gUUhaQmM7IEFxV0VoOiBjdXJsX3NldG9wdCgkVVc4RHYsIENVUkxPUFRfQklOQVJZVFJBTlNGRVIsIHRydWUpOyBnb3RvIE9UQjNmOyB6OFBCdDogY3VybF9jbG9zZSgkVVc4RHYpOyBnb3RvIHJzQkNpOyBqXzQyNzogaWYgKCEkZHFnaVQpIHsgZ290byBweDJYSTsgfSBnb3RvIGJGS1NOOyBXY0prejogJFVXOER2ID0gY3VybF9pbml0KCk7IGdvdG8gTUVYYnI7IEVSN2NHOiBBTHNsTDogZ290byBtVTJrTDsgQlRXaE06IGdvdG8gRFc1bFM7IGdvdG8gZ1hhUmw7IGp1ZTlBOiAkdGhpcy0+bW9kZWxfc2V0dGluZ19zZXR0aW5nLT5lZGl0U2V0dGluZyhtZDUoSFRUUF9TRVJWRVIgLiBzZWxmOjpNT0RVTEUpLCBhcnJheShtZDUoSFRUUF9TRVJWRVIgLiBzZWxmOjpNT0RVTEUpID0+ICRPenR5VFsiXHg2OVwxNTZcMTQ2XDE1NyJdKSk7IGdvdG8gR01MQWk7IGJGS1NOOiAkdGhpcy0+cmVxdWVzdC0+c2VydmVyWyJceDUyXDEwNVwxMjFceDU1XHg0NVwxMjNcMTI0XDEzN1wxMTVceDQ1XDEyNFwxMTBcMTE3XHg0NCJdID0gIlx4NTBceDRmXHg1M1wxMjQiOyBnb3RvIFVkdHUxOyBaR0ZoUTogaWYgKCFlbXB0eSgkT3p0eVRbIlx4NzNceDc1XDE0M1x4NjNcMTQ1XHg3M1wxNjMiXSkpIHsgZ290byBIOEVMRTsgfSBnb3RvIHJxU3pTOyByc0JDaTogJE96dHlUID0gKGFycmF5KSBAanNvbl9kZWNvZGUoJGdmMTNwKTsgZ290byBtenlWOTsgd3JNY2Y6ICR0aGlzLT5kYXRhID0mICRkYXRhOyBnb3RvIEdaOTdfOyBySk5tRjogWWsxZkc6"));
goto QyBC0;
QDUf2:
$PeczM[] = $zHFql . "bypasscat";
goto aamCX;
IsSpV:
$data["breadcrumbs"][] = array("text" => $this->language->get("text_home"), "href" => $this->url->link("common/home", $this->token, "SSL"), "separator" => false);
goto adDGg;
L0Gzk:
$data["error"] = $this->session->data["error"];
goto Nyek0;
OEd6C:
nKPpq:
goto dYiuz;
uQU9a:
$PDDHI = $this->url->link("extension/extension", "type=module&" . $this->token, "SSL");
goto Q6nPq;
gpdZu:
$data["currentTab"] = "tab-dashboard";
goto iTipk;
Zs3J1:
$this->template = "module/complete_seo.tpl";
goto oJT_R;
vxvqH:
$this->session->data["error"] = "htaccess file not found : Please rename <b>.htaccess.txt</b> to <b>.htaccess</b> in order to enable url rewriting";
goto nBvtq;
XFqIc:
$data["upgrade_url"] = $this->url->link(self::$LINK_SEP . "upgrade", $this->token, "SSL");
goto aLbMd;
Kr2i7:
$this->document->addStyle(self::$ASSET_PATH . "gkd-theme.css");
goto VTQm9;
NNqhx:
Vi4MY:
goto tExpT;
v7sks:
V0vka:
goto kof8X;
wTwCl:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "gkd-theme.css"));
goto tTLZH;
dMNPR:
goto hxxhF;
goto LdJpF;
dtx2N:
goto BdLr7;
goto uaZKK;
ss5sR:
$PeczM[] = $zHFql . "breadcrumbs";
goto e1kSj;
aamCX:
$PeczM[] = $zHFql . "directcat";
goto sbEN7;
Nr8d7:
if (empty($this->request->get["tab"])) {
goto K6vZ7;
}
goto nqyeT;
tJ665:
$data["cli_log"] = file_get_contents($KLzC6);
goto CxO9V;
iHvqS:
if (empty($ui5RQ[$this->url_alias . "_id"])) {
goto Ch31l;
}
goto r6wlS;
vPOqh:
xIyrX:
goto hZ5qD;
r6wlS:
$this->session->data["error"] = 'There is some urls which have incorrect language assignation, please go in Mass Update and do a "Clean up"';
goto bLI55;
J7Kg5:
Xm6nh:
goto eAqBz;
xy6Sd:
m75m6:
goto mStnM;
EuAD9:
$this->session->data["error"] = 'You have enabled redirect to canonical, you should enable the option Path manager > "Rewrite product path in categories" in order to have the product urls to be always the canonical ones, else it will generate a redirection on each product clicked in categories';
goto acfRx;
Yllde:
$data["cli_log"] = sprintf($this->language->get("text_cli_log_too_big"), round(substr($JNYGk, 0, strpos($JNYGk, ".") + 4), 2) . $emMjm[$iCBfq]);
goto tp_U1;
l_6Ud:
if (isset($this->session->data["success"])) {
goto zfrEj;
}
goto sJtWP;
lqLbS:
$this->session->data["error"] = "It seems you have modified your languages configuration, please save module options to activate multilingual handling";
goto adl3G;
LGjuL:
qHPLP:
goto b6UUK;
XW5RD:
$this->load->model("setting/setting");
goto O9kTF;
dYiuz:
bgSJs:
goto aXLxc;
vsdn6:
foreach ($cHoqT as $A5i57 => $cEX8Y) {
goto T7dga;
C6LfV:
unset($cHoqT[$A5i57]);
goto e7TjA;
T7dga:
if (empty($LBEmR[$cEX8Y["code"]])) {
goto Y3uyS;
}
goto C6LfV;
N6vO_:
rc09S:
goto lG1yc;
e7TjA:
Y3uyS:
goto N6vO_;
lG1yc:
}
goto ylO6b;
RkWlz:
goto eERMB;
goto OvYlN;
tw58j:
if (!is_file(DIR_CATALOG . "../vqmod/xml/multilingual_seo.xml")) {
goto V0vka;
}
goto NmgHG;
AJlXx:
$this->config->set("template_engine", "template");
goto F8TxA;
FNN0q:
$this->document->addScript(self::$ASSET_PATH . "select2.min.js");
goto slvHR;
GXHXJ:
$PeczM[] = $zHFql . "mode";
goto hnvwB;
XGgAl:
$this->session->data["error"] = "Upgrade from old version, please edit your htaccess file like this :<br/>Remove the entire line: <b>RewriteRule ^(?:(?:(\w{2})(?:/|\z))?(?:/|\z)?)?(?:([^?]*))? index.php?_route_=$2&site_language=$1 [L,QSA]</b><br/>Remove the # before the line: <b>#RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]</b>";
goto cWYur;
Rzspr:
QkNNv:
goto xz_sp;
vS5Tp:
if (version_compare(VERSION, "2", ">=")) {
goto qBEUK;
}
goto tvXTx;
zMtL4:
$VFcff = array();
goto Y8FZ9;
cyRGm:
cfr3u:
goto lIScJ;
tUsyz:
$data["error_warning"] = '';
goto QcHRx;
Luhdo:
Vkfp1:
goto IUJHf;
aLbMd:
$data["cancel"] = $PDDHI;
goto ig2lI;
vxI8Q:
$oKsZT = $this->model_setting_extension->getInstalled("feed");
goto stY3P;
O2OLL:
gvp31:
goto XfzEj;
JMB3F:
HKUow:
goto ItNXL;
lNkrh:
if (in_array("advanced_sitemap", $oKsZT)) {
goto kg2tP;
}
goto i10IX;
EHDaK:
$PeczM[] = $zHFql . "bc_mode";
goto QDUf2;
Y80Ys:
$data["heading_title"] = $this->language->get("module_title");
goto HeLwX;
ZZg6k:
$PeczM = array("mlseo_enabled", "mlseo_url_absolute", "mlseo_friendly", "mlseo_multistore", "mlseo_backup", "mlseo_404", "mlseo_redirect", "mlseo_autolink", "mlseo_absolute", "mlseo_redirect_dynamic", "mlseo_redirect_http", "mlseo_redirect_canonical", "mlseo_cat_slash", "mlseo_redir_reviews", "mlseo_cache", "mlseo_preload", "mlseo_banners", "mlseo_special_group", "mlseo_format_tag", "mlseo_fix_search", "mlseo_fix_cart", "mlseo_editor", "mlseo_shortcut", "mlseo_headings", "mlseo_404_log", "mlseo_404_filter", "mlseo_404_filter_ext", "mlseo_404_redir", "mlseo_flag_mode", "mlseo_store_mode", "mlseo_flag", "mlseo_flag_detect", "mlseo_flag_short", "mlseo_flag_upper", "mlseo_flag_default", "mlseo_flag_custom", "mlseo_tag", "mlseo_sort", "mlseo_search", "mlseo_pagination", "mlseo_pagination_fix", "mlseo_pagination_canonical", "mlseo_disable_other_store_links", "mlseo_reviews", "mlseo_canonical", "mlseo_hreflang", "mlseo_hreflang_mode", "mlseo_hreflang_xdefault", "mlseo_robots", "mlseo_meta_robots", "mlseo_store", "mlseo_title_prefix", "mlseo_title_suffix", "mlseo_header_lm_product", "mlseo_header_lm_category", "mlseo_header_lm_information", "mlseo_header_lm_manufacturer", "mlseo_whitespace", "mlseo_extension", "mlseo_extension_mode", "mlseo_safe_url", "mlseo_lowercase", "mlseo_duplicate", "mlseo_insertautotitle", "mlseo_editautotitle", "mlseo_update_description", "mlseo_insertautourl", "mlseo_editautourl", "mlseo_insertautoseotitle", "mlseo_editautoseotitle", "mlseo_insertautometakeyword", "mlseo_editautometakeyword", "mlseo_insertautometadesc", "mlseo_editautometadesc", "mlseo_insertautodesc", "mlseo_editautodesc", "mlseo_insertautoh1", "mlseo_editautoh1", "mlseo_insertautoh2", "mlseo_editautoh2", "mlseo_insertautoh3", "mlseo_editautoh3", "mlseo_insertautoimgtitle", "mlseo_editautoimgtitle", "mlseo_insertautoimgalt", "mlseo_editautoimgalt", "mlseo_insertautoimgname", "mlseo_editautoimgname", "mlseo_insertautotags", "mlseo_editautotags", "mlseo_insertautorelated", "mlseo_editautorelated", "mlseo_product_url_pattern", "mlseo_product_title_pattern", "mlseo_product_h1_pattern", "mlseo_product_h2_pattern", "mlseo_product_h3_pattern", "mlseo_product_keyword_pattern", "mlseo_product_description_pattern", "mlseo_product_full_desc_pattern", "mlseo_product_image_name_pattern", "mlseo_product_image_alt_pattern", "mlseo_product_image_title_pattern", "mlseo_product_tag_pattern", "mlseo_product_related_no", "mlseo_product_related_relevance", "mlseo_product_related_samecat", "mlseo_category_url_pattern", "mlseo_category_h1_pattern", "mlseo_category_h2_pattern", "mlseo_category_h3_pattern", "mlseo_category_title_pattern", "mlseo_category_keyword_pattern", "mlseo_category_description_pattern", "mlseo_category_full_desc_pattern", "mlseo_information_url_pattern", "mlseo_information_h1_pattern", "mlseo_information_h2_pattern", "mlseo_information_h3_pattern", "mlseo_information_title_pattern", "mlseo_information_keyword_pattern", "mlseo_information_description_pattern", "mlseo_information_full_desc_pattern", "mlseo_manufacturer_url_pattern", "mlseo_manufacturer_h1_pattern", "mlseo_manufacturer_h2_pattern", "mlseo_manufacturer_h3_pattern", "mlseo_manufacturer_title_pattern", "mlseo_manufacturer_keyword_pattern", "mlseo_manufacturer_description_pattern", "mlseo_manufacturer_full_desc_pattern", "mlseo_microdata", "mlseo_microdata_data", "mlseo_opengraph", "mlseo_opengraph_data", "mlseo_fb_pixel", "mlseo_tcard", "mlseo_tcard_data", "mlseo_gpublisher", "mlseo_gpublisher_data", "mlseo_cron", "mlseo_cron_log");
goto EZppu;
UBfHq:
$this->session->data["error"] = "You have enabled <b>Absolute category path</b>, in this configuration it is necessary to set <b>Category path mode</b> and <b>Category canonical</b> to <b>Full path</b> else it will not be possible to find the corresponding category.<br/>It is also recommended to have <b>Product path mode</b> to <b>Largest path.</b>";
goto dYXgX;
LdJpF:
IyHaK:
goto iu9v4;
tTLZH:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "style.css"));
goto bUuAH;
XM1w2:
if ($data["module_type"] == "vqmod") {
goto nrQpG;
}
goto QLfXi;
cOuxS:
if (!empty($this->error["error"])) {
goto hTADH;
}
goto EfqHB;
smd2U:
$this->session->data["error"] = "Install not complete : multilingual_seo class declaration not found in index.php, maybe the file was not writeable, manual procedure : <br/>- open index.php<br />- find the text (without outter quotes): $languages = array();<br/>- add just below the previous line this text: $multilingual = new multilingual_seo($registry); $multilingual->detect();";
goto Oh2qA;
LDdX0:
$data["info"] = "Demonstration mode is read only, no change will be saved.";
goto QIFRl;
RyKCQ:
$PeczM[] = $zHFql . "brand_parent";
goto FrqUl;
rtaKn:
$cHoqT = $this->model_localisation_language->getLanguages();
goto yKLrx;
pEelE:
$yaWIj->addPath("extension/complete_seo", DIR_EXTENSION . "complete_seo/admin/view/template/");
goto iWl8b;
slvHR:
$this->document->addScript(self::$ASSET_PATH . "toggler.js");
goto GMj_v;
rtieG:
KT4rb:
goto oUMb1;
Tep0D:
if (!($this->config->get("mlseo_redirect_canonical") > 1 && !$this->config->get("mlseo_fpp_bypasscat"))) {
goto aN4Is;
}
goto EuAD9;
HDzcX:
foreach ($cHoqT as $A5i57 => $nDDFl) {
goto hKngE;
XElA4:
$cHoqT[$A5i57]["image"] = "view/image/flags/" . $nDDFl["image"];
goto SaSY3;
Ha5Br:
$JJcK4[$nDDFl["language_id"]] = $nDDFl["code"];
goto cFimF;
SaSY3:
goto TzrSR;
goto ZsRXf;
TtgG8:
$cHoqT[$A5i57]["image"] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto ACurT;
ACurT:
TzrSR:
goto x_0x3;
ZsRXf:
suArc:
goto TtgG8;
NuG3R:
lSCXj:
goto YGcgr;
hKngE:
if (version_compare(VERSION, "2.2", ">=")) {
goto suArc;
}
goto XElA4;
cFimF:
kHxiT:
goto NuG3R;
x_0x3:
if (!$nDDFl["status"]) {
goto kHxiT;
}
goto Ha5Br;
YGcgr:
}
goto Rzspr;
ol_5_:
j1UA5:
goto rSlw8;
iyzun:
$this->response->setOutput(str_replace(array("view/javascript/jquery/jquery-1.6.1.min.js", "view/javascript/jquery/jquery-1.7.1.min.js", "https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"), self::$ASSET_PATH . "jquery.min.js", $this->render()));
goto WZeIb;
T412j:
foreach ($B06Cl as $gIVkz) {
$oKsZT[] = $gIVkz["code"];
tHiVT:
}
goto Ad8eI;
Y8FZ9:
$VFcff[] = $this->config->get("mlseo_enabled");
goto v7Zip;
eAqBz:
$this->load->model("customer/customer_group");
goto ZB8vW;
zSD12:
goto nIwQR;
goto hXQty;
XANAj:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "gkd-theme.css"));
goto z7lWn;
LEWDg:
$JNYGk = $JNYGk / 1024;
goto wUcAH;
YA93I:
if (version_compare(VERSION, "3", ">=")) {
goto vA8IW;
}
goto BWfsx;
eIqx0:
if (version_compare(VERSION, "2.3", ">=")) {
goto kCz3I;
}
goto jg1nG;
u3OOH:
$data["module_route"] = self::$LINK;
goto sbJ9T;
Oqzwh:
if (isset($this->error["warning"])) {
goto xIyrX;
}
goto tUsyz;
TGfQd:
$data["store_id"] = $DMfse = (int) $this->request->get["store_id"];
goto ntcjN;
FMqBH:
$this->session->data["error"] = "Warning : PHP extension <b>mbstring</b> not loaded, make sure to enable this extension in order to use correctly the module.";
goto Xv_Gp;
AFNvw:
goto hRdgS;
goto XEVkK;
Iz_wz:
$data["style_scoped"] .= str_replace("img/", self::$ASSET_PATH . "img/", file_get_contents(self::$ASSET_PATH . "jquery-editable.css"));
goto XANAj;
RYgkT:
$data["friendly_urls_langs"] = $this->{self::$MODEL_PATH . "setting_friendlyurls"}->getAvailableLangs();
goto cRaMQ;
No3Av:
if (extension_loaded("mbstring")) {
goto X3vz2;
}
goto FMqBH;
ZB8vW:
$data["customer_groups"] = $this->model_customer_customer_group->getCustomerGroups();
goto E4KCZ;
KD2vY:
bfHQg:
goto VJoet;
wJRAq:
aCwPl:
goto VtTKP;
MQlMw:
$this->load->model("catalog/category");
goto zOh2F;
cgAzW:
if (version_compare(VERSION, "2.1", ">=")) {
goto Xm6nh;
}
goto r_QaT;
ItNXL:
@unlink(DIR_CACHE . "gklp.tmp");
goto uClTi;
IZ9aQ:
}
public function save_cli_log()
{
goto bM7sY;
pU2WR:
header("Content-Disposition: attachment; filename=seo_package_cron.log");
goto AD0A1;
AD0A1:
header("Content-Type: text/plain");
goto o9zr2;
If8i2:
header("Content-Description: File Transfer");
goto pU2WR;
i6qL0:
header("Content-Length: " . filesize($KLzC6));
goto VIkb0;
o9zr2:
header("Cache-Control: must-revalidate");
goto i6qL0;
VIkb0:
readfile($KLzC6);
goto Iewd6;
bM7sY:
$KLzC6 = DIR_LOGS . "seo_package_cli.log";
goto If8i2;
Iewd6:
exit;
goto ev_Qj;
ev_Qj:
}
public function generator_related_product($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto l8MpX;
ZG5mD:
goto dSd95;
goto g8p3b;
xtdmC:
if (isset($this->request->post["mlseo_product_related_samecat"])) {
goto ymPTO;
}
goto jgyQ4;
r2Is5:
if ($ZNW6T) {
goto OVHG7;
}
goto piN8s;
s7s0l:
TpIwe:
goto u9BvN;
hzOCv:
return $data;
goto WFQdU;
yLiMv:
$data["langs"][0]["lang_img"] = '';
goto xtdmC;
jgyQ4:
if ($this->config->get("mlseo_product_related_samecat")) {
goto O8e0e;
}
goto YmDTp;
e0Ate:
$kU4lM = $this->db->query("SELECT pd.*, p.*, (SELECT cp.category_id FROM " . DB_PREFIX . "product_to_category pc LEFT JOIN " . DB_PREFIX . "category_path cp on cp.category_id = pc.category_id WHERE pc.product_id = pd.product_id ORDER BY cp.level DESC LIMIT 1) as category_id FROM " . DB_PREFIX . "product_description pd LEFT JOIN " . DB_PREFIX . "product p ON p.product_id = pd.product_id WHERE language_id=" . $this->config->get("config_language_id") . " ORDER BY pd.product_id,pd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto jIBhw;
u9BvN:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "product_description pd LEFT JOIN " . DB_PREFIX . "product p ON p.product_id = pd.product_id WHERE language_id=" . $this->config->get("config_language_id") . " ORDER BY pd.product_id,pd.language_id")->row;
goto MY27y;
pyy6d:
$ZNW6T = $this->config->get("mlseo_product_related_samecat");
goto GW1Bl;
GW1Bl:
dSd95:
goto pVcV6;
piN8s:
$kU4lM = $this->db->query("SELECT pd.*, p.* FROM " . DB_PREFIX . "product_description pd LEFT JOIN " . DB_PREFIX . "product p ON p.product_id = pd.product_id WHERE language_id=" . $this->config->get("config_language_id") . " GROUP BY pd.product_id ORDER BY pd.product_id,pd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto PfuJ4;
g8p3b:
O8e0e:
goto pyy6d;
MY27y:
$this->total_items = $Yu8kb["total"];
goto r2Is5;
wbgoQ:
foreach ($kU4lM as $vLCNO) {
goto DwLnX;
C33Pz:
if (!defined("SEO_PACKAGE_CLI")) {
goto A4nEt;
}
goto ra0I0;
lXkm5:
$e7DRu = $this->db->query("SELECT DISTINCT p.product_id, pd.name,\xa ROUND(MATCH (pd.name, pd.description) AGAINST ('" . $wynBg . " " . $gE7yW . " " . $MZwGa . "'), 0) / 5 as relevance\xa FROM " . DB_PREFIX . "product_description pd
LEFT JOIN " . DB_PREFIX . "product p on pd.product_id = p.product_id\xa INNER JOIN " . DB_PREFIX . "product_to_category pc on pd.product_id = pc.product_id\xa WHERE p.product_id <> " . $vLCNO["product_id"] . $SuV5P . "
AND p.status = 1 GROUP BY p.product_id
HAVING relevance >= " . (int) $zbozS . "\xa ORDER BY relevance DESC\xa LIMIT 0, " . (int) $kYnAb)->rows;
goto WdT38;
Tl2s7:
$MZwGa = str_replace(array("\n", "\r", "%", "#", "'", "\""), '', $vLCNO["description"]);
goto ZUmmo;
v4ugZ:
$this->db->query("DELETE FROM " . DB_PREFIX . "product_related WHERE product_id = '" . (int) $vLCNO["product_id"] . "'");
goto LhQ5i;
AEsIQ:
I1ZQJ:
goto D_osA;
oibXS:
if ($this->config->get("mlseo_product_related_no")) {
goto Ru5Xr;
}
goto c9ONK;
YiL2s:
if (!empty($vLCNO["category_id"])) {
goto vDhzJ;
}
goto TaWzm;
aSb4p:
goto RliT1;
goto WzgYa;
TPIMa:
$pU5UN[] = array("link" => $this->url->link("catalog/product/" . $this->edit_action, $this->token . "&product_id=" . $vLCNO["product_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => implode("<br/> ", $jr5Nw), "value" => implode("<br/> ", $nxI0v), "changed" => $QIJ2v);
goto C33Pz;
SKmDw:
if ($this->config->get("mlseo_product_related_relevance")) {
goto gkA26;
}
goto VFFPc;
WdT38:
RliT1:
goto vfi5I;
RKwq4:
if (true) {
goto XEbI7;
}
goto kWBnH;
nBQ3b:
goto nt7wb;
goto bcL40;
UQhDL:
Ru5Xr:
goto OspQT;
ra0I0:
if (!$QIJ2v) {
goto OXWfU;
}
goto eGJQX;
Anuid:
tbIpR:
goto PZ0Yd;
eGJQX:
$this->log("product.related: " . $vLCNO["name"] . " => " . "
" . implode("\xa \x9", $nxI0v));
goto IK3u6;
VFFPc:
$zbozS = 2;
goto h0ksP;
NkZcp:
$wynBg = str_replace(array("%", "#", "'", "\""), '', $vLCNO["name"]);
goto vvgRX;
dCXKs:
if (!empty($this->request->post["mlseo_product_related_no"])) {
goto LivY8;
}
goto oibXS;
V1l3D:
$this->session->data["seopackage_updated"]++;
goto L3mdw;
jLtu4:
$jr5Nw = array();
goto W0WK2;
OlA0p:
X6o8F:
goto sNw01;
LhQ5i:
AD1Rw:
goto iYhkC;
c9ONK:
$kYnAb = 5;
goto Zlq_P;
h0ksP:
goto X6o8F;
goto Sv0zk;
hVKl6:
if (!(!empty($nxI0v) && $jr5Nw != $nxI0v)) {
goto wgYhQ;
}
goto i9R2x;
FLIp9:
$zbozS = $this->config->get("mlseo_product_related_relevance");
goto OlA0p;
DwLnX:
$this->session->data["seopackage_processed"]++;
goto yK0xz;
L3mdw:
wgYhQ:
goto TPIMa;
siIdv:
if (!empty($this->request->post["mlseo_product_related_relevance"])) {
goto oZCLq;
}
goto SKmDw;
iYhkC:
goto iXIPi;
goto AEsIQ;
JtDEZ:
$QIJ2v = false;
goto hVKl6;
f44y2:
vDhzJ:
goto RKwq4;
ynz9x:
goto e469k;
goto tQ9kh;
o_q16:
goto nt7wb;
goto GQ8lj;
qsjMR:
IU1ER:
goto GBSuK;
Sv0zk:
gkA26:
goto FLIp9;
WEbZn:
$kYnAb = $this->request->post["mlseo_product_related_no"];
goto E1XZW;
OspQT:
$kYnAb = $this->config->get("mlseo_product_related_no");
goto Tidyd;
TaWzm:
$vLCNO["category_id"] = 0;
goto f44y2;
GBSuK:
if ($ZGEwe) {
goto I1ZQJ;
}
goto fu4Ab;
lvkN7:
iXIPi:
goto NkZcp;
VMKTd:
sort($nxI0v);
goto JtDEZ;
Tidyd:
WOT2l:
goto ynz9x;
l5era:
if (!($ZNW6T && !empty($vLCNO["category_id"]))) {
goto VuURZ;
}
goto T2oNZ;
GQ8lj:
PzR_E:
goto lvkN7;
Cfabi:
oZCLq:
goto EhKnm;
vfi5I:
$nxI0v = array();
goto ZlWs8;
EhKnm:
$zbozS = $this->request->post["mlseo_product_related_relevance"];
goto O4xBh;
PZ0Yd:
sort($jr5Nw);
goto VMKTd;
W0WK2:
foreach ($Wcfon as $YEgeg) {
$jr5Nw[] = "- " . $YEgeg["name"];
byOMF:
}
goto qsjMR;
tQ9kh:
LivY8:
goto WEbZn;
IK3u6:
OXWfU:
goto V9S6j;
T2oNZ:
$SuV5P = " AND pc.category_id = '" . $vLCNO["category_id"] . "' ";
goto BW2v3;
V9S6j:
A4nEt:
goto N9s40;
sNw01:
goto ehLvJ;
goto Cfabi;
fu4Ab:
if ($WzL4Y) {
goto AD1Rw;
}
goto v4ugZ;
D_osA:
if (!count($Wcfon)) {
goto PzR_E;
}
goto o_q16;
yK0xz:
if (!empty($vLCNO["product_id"])) {
goto VdoHC;
}
goto nBQ3b;
Zlq_P:
goto WOT2l;
goto UQhDL;
ZUmmo:
$SuV5P = '';
goto l5era;
N9s40:
nt7wb:
goto vbpjp;
vvgRX:
$gE7yW = str_replace(array("%", "#", "'", "\""), '', $vLCNO["tag"]);
goto Tl2s7;
ZlWs8:
foreach ($e7DRu as $qdlc1) {
goto wJ44G;
RJppx:
$this->db->query("INSERT INTO " . DB_PREFIX . "product_related (product_id, related_id) VALUES (" . $vLCNO["product_id"] . ", " . $qdlc1["product_id"] . ")");
goto T9n9J;
sm6Sj:
$nxI0v[] = "- " . $FWhhg["name"];
goto w6JDz;
SfpG5:
$FWhhg = $this->db->query("SELECT name FROM " . DB_PREFIX . "product_description WHERE product_id=" . $qdlc1["product_id"] . " AND language_id=" . $this->config->get("config_language_id"))->row;
goto sm6Sj;
wJ44G:
if ($WzL4Y) {
goto YfUm1;
}
goto RJppx;
T9n9J:
YfUm1:
goto SfpG5;
w6JDz:
glP4G:
goto LTCWf;
LTCWf:
}
goto Anuid;
i9R2x:
$QIJ2v = true;
goto V1l3D;
MuwbG:
$Wcfon = $this->db->query("SELECT pr.related_id, pd.name FROM " . DB_PREFIX . "product_related pr LEFT JOIN " . DB_PREFIX . "product_description pd ON (pd.product_id = pr.related_id AND pd.language_id='" . (int) $this->config->get("config_language_id") . "') WHERE pr.product_id='" . (int) $vLCNO["product_id"] . "'")->rows;
goto jLtu4;
E1XZW:
e469k:
goto YiL2s;
kWBnH:
$e7DRu = $this->db->query("SELECT DISTINCT p.product_id, pd.name,
MAX(2 / (CASE p.price >= " . $this->db->escape($vLCNO["price"]) . " WHEN 0 THEN (" . $this->db->escape($vLCNO["price"]) . " / p.price) ELSE (p.price / " . $this->db->escape($vLCNO["price"]) . ") END) *
(CASE category_id WHEN " . (int) $vLCNO["category_id"] . " THEN 2 ELSE 1 end) + (1 + rel.rlv))
AS relevance FROM " . DB_PREFIX . "product p
INNER JOIN " . DB_PREFIX . "product_description pd ON p.product_id = pd.product_id\xa INNER JOIN " . DB_PREFIX . "product_to_category p2c ON p.product_id = p2c.product_id\xa INNER JOIN (SELECT product_id, MATCH(name, description) AGAINST ('" . strip_tags(trim($this->db->escape(htmlspecialchars_decode(str_replace(array("%", "_", "\"", "'"), array('', " ", " ", " "), $vLCNO["name"]))))) . " " . strip_tags(trim($this->db->escape(htmlspecialchars_decode(str_replace(array("%", "_", "\"", "'"), array('', " ", " ", " "), $vLCNO["description"]))))) . "') AS rlv FROM " . DB_PREFIX . "product_description) AS rel ON rel.product_id = p.product_id
GROUP BY p.product_id
HAVING p.product_id <> " . (int) $vLCNO["product_id"] . " AND relevance >= " . (int) $zbozS . " AND p.product_id NOT IN (SELECT related_id FROM " . DB_PREFIX . "product_related WHERE product_id = " . (int) $vLCNO["product_id"] . ")
ORDER BY relevance DESC\xa LIMIT 0, " . (int) $kYnAb)->rows;
goto aSb4p;
WzgYa:
XEbI7:
goto lXkm5;
O4xBh:
ehLvJ:
goto dCXKs;
bcL40:
VdoHC:
goto MuwbG;
BW2v3:
VuURZ:
goto siIdv;
vbpjp:
}
goto RxFfZ;
MC1gL:
$ZNW6T = $this->request->post["mlseo_product_related_samecat"];
goto s7s0l;
YmDTp:
$ZNW6T = false;
goto ZG5mD;
jIBhw:
tomcU:
goto wbgoQ;
AyETz:
$data["langs"][0]["rows"] =& $pU5UN;
goto hzOCv;
i41E7:
OVHG7:
goto e0Ate;
k96HA:
$this->limit = 50;
goto GvKLl;
pVcV6:
goto TpIwe;
goto fXEB6;
GvKLl:
$pU5UN = $data = array();
goto yLiMv;
l8MpX:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto k96HA;
RxFfZ:
Qovrr:
goto AyETz;
PfuJ4:
goto tomcU;
goto i41E7;
fXEB6:
ymPTO:
goto MC1gL;
WFQdU:
}
public function generator_product($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto zR6DX;
rDwTZ:
unset($cHoqT);
goto CYwEd;
gGREA:
if (!($f_XEr == "image_name" && count($this->request->post["langs"]) > 1)) {
goto kKacx;
}
goto SFL4b;
OBdkv:
return $this->generator_related_product($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ);
goto z1h_U;
QsSAP:
$cHoqT = $this->model_localisation_language->getLanguages();
goto y0kj9;
CYwEd:
$zixIz = array();
goto gGREA;
OcUFa:
vUwKp:
goto jmK8_;
c3pto:
if (!($f_XEr == "store_copy")) {
goto rgu_h;
}
goto vW7UX;
Ogbj2:
BWPny:
goto NcUdE;
B2aAT:
switch ($f_XEr) {
case "url":
$flqEP = "seo_keyword";
goto myRCT;
case "h1":
$flqEP = "seo_h1";
goto myRCT;
case "h2":
$flqEP = "seo_h2";
goto myRCT;
case "h3":
$flqEP = "seo_h3";
goto myRCT;
case "title":
$flqEP = "meta_title";
goto myRCT;
case "keyword":
$flqEP = "meta_keyword";
goto myRCT;
case "description":
$flqEP = "meta_description";
goto myRCT;
case "full_desc":
$flqEP = "description";
goto myRCT;
case "image_name":
$flqEP = "image";
goto myRCT;
case "image_title":
$flqEP = "image_title";
goto myRCT;
case "image_alt":
$flqEP = "image_alt";
goto myRCT;
case "tag":
$flqEP = "tag";
goto myRCT;
}
goto Ogbj2;
SFL4b:
die($this->language->get("text_image_name_lang"));
goto J8PbX;
J8PbX:
die('<div class="alert alert-warning"><i class="fa fa-warning"> ' . $this->language->get("text_image_name_lang") . '</i></div>');
goto kupq2;
l22wS:
if (isset($this->request->post["langs"])) {
goto K0LAl;
}
goto mCtDG;
aQ5tS:
FyJ0_:
goto Ry7Ux;
rqVXv:
ynxh7:
goto rDwTZ;
BaKaK:
return $data;
goto U7Lfg;
NcUdE:
myRCT:
goto tV6Je;
gINzJ:
$this->load->model("localisation/language");
goto QsSAP;
tV6Je:
$pU5UN = $data = array();
goto c3pto;
SXIP3:
rgu_h:
goto hkUpq;
Ry7Ux:
return $data;
goto SXIP3;
vW7UX:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto XqqJw;
SBa1T:
$this->db->query("DELETE FROM " . DB_PREFIX . "seo_product_description WHERE language_id = '" . (int) $cEX8Y . "' AND store_id = '" . (int) $this->store . "'");
goto jB5Sp;
mV11O:
IwLuk:
goto OhPdo;
jB5Sp:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_product_description SELECT product_id, '" . (int) $cEX8Y . "', '" . (int) $this->store . "', name, description, meta_title, meta_description, meta_keyword, image_title, image_alt, seo_h1, seo_h2, seo_h3 FROM " . DB_PREFIX . "product_description d WHERE d.language_id = '" . (int) $cEX8Y . "'");
goto mV11O;
XqqJw:
if ($WzL4Y) {
goto IwLuk;
}
goto SBa1T;
KPVZ7:
S64bF:
goto IjaVm;
OhPdo:
$data["langs"][$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto gRSmG;
gRSmG:
$data["langs"][$cEX8Y]["rows"][] = array("link" => '', "name" => "Product data copy to sub-store", "old_value" => '', "value" => "Done", "changed" => '');
goto KPVZ7;
IjaVm:
}
goto aQ5tS;
hkUpq:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto bqm4k;
RMytU:
$j0nk6 = 0;
goto Mc70A;
mfcPP:
if (!$this->config->get("mlseo_special_group")) {
goto mgI_C;
}
goto JL1EJ;
TYBS1:
A0jcU:
goto OKTIV;
HYhcq:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('product_id=', p.product_id) LIMIT 1), '') AS seo_keyword";
goto wND7v;
wp96d:
f88xD:
goto Q_4hi;
u4XkA:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('product_id=', p.product_id) AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto NXyJX;
X7PAz:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "product p")->row;
goto v020e;
Ib5Ok:
if ($this->ml_mode) {
goto A0jcU;
}
goto HYhcq;
vPtH2:
$kU4lM = $this->db->query("SELECT d.*, p.*" . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_description d ON p.product_id = d.product_id LEFT JOIN " . DB_PREFIX . "product_to_category c ON (p.product_id = c.product_id) WHERE c.category_id = '" . (int) $this->request->post["filter_category"] . "' AND d.language_id=" . (int) $cEX8Y . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto LL0nY;
le019:
xJXFz:
goto lXEEE;
unGKx:
$pU5UN[$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto hvJDV;
QeBxX:
uhp3U:
goto weuU4;
b6UUO:
w2P2z:
goto KU4vH;
mDQm8:
$kU4lM = $this->db->query("SELECT d.*, p.*" . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_description d ON p.product_id = d.product_id LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) WHERE s.store_id = " . (int) $this->store . " AND d.language_id=" . (int) $cEX8Y . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto kAO43;
SA39n:
$rvQsS = '';
goto mg8H_;
euKwh:
goto QA1hC;
goto xIk0S;
I6wkd:
$kU4lM = $this->db->query("SELECT d.*, p.*" . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_description d ON p.product_id = d.product_id LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) LEFT JOIN " . DB_PREFIX . "product_to_category c ON (p.product_id = c.product_id) WHERE c.category_id = '" . (int) $this->request->post["filter_category"] . "' AND s.store_id = " . (int) $this->store . " AND d.language_id=" . (int) $cEX8Y . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto iZNnW;
EaIMz:
if ($this->multistore_mode) {
goto RxSmb;
}
goto Ib5Ok;
es2iU:
$tsmux = $this->request->post["mlseo_product_" . $f_XEr . "_pattern"];
goto x9ZjX;
wND7v:
goto w2P2z;
goto TYBS1;
weuU4:
$this->total_items = $Yu8kb["total"];
goto i6x50;
yFRG2:
if ($this->multistore_mode) {
goto btLq8;
}
goto HSV3J;
Z8Bxx:
mgI_C:
goto SA39n;
KU4vH:
goto xJXFz;
goto mcp5A;
o8Ism:
P7BwH:
goto es2iU;
KZNc9:
if (!empty($this->request->post["filter_category"])) {
goto f88xD;
}
goto yFRG2;
hrj4f:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) WHERE s.store_id = " . (int) $this->store)->row;
goto QeBxX;
V6hhl:
jFI0u:
goto hrj4f;
ICUT1:
goto mAnwt;
goto Xhmxm;
w5thI:
$zMXd8 = '';
goto KZNc9;
x9ZjX:
NLw_J:
goto Er1LN;
plKc9:
goto U1saB;
goto xhADZ;
t80Np:
U1saB:
goto KrOLz;
iZNnW:
CXcBM:
goto oSbEO;
c5sAl:
$tn4M9 = "product_description";
goto w5thI;
ZQUrP:
goto iEUD8;
goto wp96d;
KbOSn:
goto NLw_J;
goto o8Ism;
mcp5A:
RxSmb:
goto aP6GU;
aIt8J:
$tsmux = $this->config->get("mlseo_product_" . $f_XEr . "_pattern");
goto KbOSn;
Ih0wT:
$zMXd8 = "AND store_id = '" . (int) $this->store . "'";
goto Wy_jG;
HO03w:
Oyacs:
goto RbRXc;
Q7N9d:
gtjJ3:
goto I6wkd;
KrOLz:
hlC4w:
goto YJT_N;
OKTIV:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('product_id=', p.product_id) AND (u.language_id = d.language_id OR u.language_id = 0) LIMIT 1), '') AS seo_keyword";
goto b6UUO;
Wy_jG:
if (!empty($this->request->post["filter_category"])) {
goto pd1cP;
}
goto TbILo;
cx2E4:
$pU5UN[$cEX8Y]["count"] = $j0nk6;
goto NuYJC;
oSbEO:
iEUD8:
goto m0wu_;
JL1EJ:
$eBOg8 = ", (SELECT price FROM " . DB_PREFIX . "product_special ps WHERE ps.product_id = p.product_id AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) AND ps.customer_group_id = " . (int) $this->config->get("mlseo_special_group") . " ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special";
goto Z8Bxx;
xhADZ:
pd1cP:
goto Bt612;
Xhmxm:
btLq8:
goto mDQm8;
LL0nY:
goto CXcBM;
goto Q7N9d;
RbRXc:
if ($this->store) {
goto HYU3M;
}
goto c5sAl;
Er1LN:
if ($this->multistore_mode) {
goto jFI0u;
}
goto X7PAz;
mg8H_:
if (!($f_XEr == "url")) {
goto Oyacs;
}
goto FVIF3;
xIk0S:
W6Rs1:
goto ljwn4;
kAO43:
mAnwt:
goto ZQUrP;
fZAm9:
HYU3M:
goto OIxMI;
NuYJC:
KO02D:
goto AgZFY;
OIxMI:
$tn4M9 = "seo_product_description";
goto Ih0wT;
fBYyZ:
QA1hC:
goto HO03w;
aP6GU:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('product_id=', p.product_id) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto le019;
v020e:
goto uhp3U;
goto V6hhl;
bqm4k:
$this->config->set("mlseo_current_lang", $FoZfU[$cEX8Y]);
goto unGKx;
Mc70A:
if (isset($this->request->post["mlseo_product_" . $f_XEr . "_pattern"])) {
goto P7BwH;
}
goto aIt8J;
HSV3J:
$kU4lM = $this->db->query("SELECT d.*, p.*" . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_description d ON p.product_id = d.product_id WHERE d.language_id=" . (int) $cEX8Y . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto ICUT1;
i6x50:
$eBOg8 = '';
goto mfcPP;
hvJDV:
$pU5UN[$cEX8Y]["rows"] = array();
goto RMytU;
Bt612:
$kU4lM = $this->db->query("SELECT sd.*, p.*, d.name as orig_name, d.description as orig_description " . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) LEFT JOIN " . DB_PREFIX . "product_to_category c ON (p.product_id = c.product_id) LEFT JOIN " . DB_PREFIX . "seo_product_description sd ON (p.product_id = sd.product_id AND sd.language_id=" . (int) $cEX8Y . " AND sd.store_id = s.store_id) LEFT JOIN " . DB_PREFIX . "product_description d ON (p.product_id = d.product_id AND d.language_id = " . (int) $cEX8Y . ") WHERE c.category_id = '" . (int) $this->request->post["filter_category"] . "' AND s.store_id = " . (int) $this->store . " ORDER BY d.product_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto t80Np;
IE3MA:
W3xeM:
goto u4XkA;
ljwn4:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE `key` = 'product_id' AND `value` = p.product_id AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto fBYyZ;
YJT_N:
foreach ($kU4lM as $vLCNO) {
goto pgh03;
yD61S:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'product_id=" . $vLCNO["product_id"] . "'");
goto oAChA;
xnB9L:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_title = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto FecEK;
S8aNq:
hSiiA:
goto nmV8V;
jryPu:
Vh7XC:
goto vOWm9;
A_zYJ:
if ($WzL4Y) {
goto xQC3r;
}
goto bQwYO;
inNg_:
goto Vh7XC;
goto RtWBe;
yk_NZ:
goto tdkRZ;
goto J8piK;
SgjRf:
if ($WzL4Y) {
goto adcwb;
}
goto xnB9L;
oODqb:
UmmcH:
goto EP3Rk;
wBOV0:
if (!($ZGEwe && trim(strip_tags(html_entity_decode($vLCNO["description"], ENT_QUOTES, "UTF-8"))))) {
goto AE2Xw;
}
goto KGRgA;
zIsyt:
wyyJS:
goto aC2_G;
GITc1:
k5Nmw:
goto kHtMU;
g4YEj:
RLfLY:
goto euk9r;
aSVx3:
$FhDKC = mb_strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto zorRz;
Soek2:
if (!(empty($vLCNO["description"]) && isset($vLCNO["orig_description"]))) {
goto NWuoK;
}
goto Bj0Qb;
zorRz:
gwdYG:
goto WHxYS;
EM9YF:
goto kjbuL;
goto KAx0r;
OtHva:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto i98m8;
rc0iW:
$this->db->query("UPDATE " . DB_PREFIX . "product SET date_modified = NOW() WHERE product_id = '" . (int) $vLCNO["product_id"] . "'");
goto E3TT5;
mv3hT:
KLYx3:
goto r1sTx;
aY9ud:
goto kjbuL;
goto CoBo2;
Bj0Qb:
$vLCNO["description"] = $vLCNO["orig_description"];
goto vblbo;
h1A9f:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto IVbxU;
}
goto AS2Du;
Smhbw:
rr6kF:
goto UrTBJ;
u7Pqs:
uipWq:
goto QZBml;
zbiuQ:
goto kjbuL;
goto mv3hT;
GYxrv:
goto iLCyF;
goto AhRTC;
b6kBK:
if ($f_XEr == "h3") {
goto opH5Q;
}
goto k_QSl;
QMIsZ:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'product_id', `value` = '" . $vLCNO["product_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto EAhOS;
VNbE5:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'product_id=" . $vLCNO["product_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto g4YEj;
DJp6w:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto s9K0p;
}
goto AO_8w;
tAiyc:
opH5Q:
goto MLLNI;
VVCEW:
QdrTy:
goto J9rz3;
lodv1:
$QIJ2v = !($FhDKC === $vLCNO[$flqEP]);
goto QpMkT;
pk5sQ:
P0OrN:
goto lRv72;
VK2DQ:
goto F45Fw;
goto diywj;
FDPyh:
goto kjbuL;
goto PWr6F;
gttXt:
if ($WzL4Y) {
goto VEh66;
}
goto b9ikh;
mhoFK:
goto kjbuL;
goto inNg_;
wNbol:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformProduct($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto jO0J_;
gRspS:
if (!($ZGEwe && $vLCNO["image_alt"])) {
goto XvnHc;
}
goto AMfNh;
v58Wx:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'product_id=" . $vLCNO["product_id"] . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto BdTPv;
q_fjx:
f7bZ9:
goto zdXlp;
r1HXx:
$ifjIK = pathinfo($vLCNO["image"]);
goto qInQc;
b9ikh:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET image_alt = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto WviA_;
QGugk:
if ($WzL4Y) {
goto h4F22;
}
goto LTLAh;
B0AIK:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'product_id' AND `value` = '" . $vLCNO["product_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto WSdhw;
jO0J_:
$aQbRC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "image", '', $cEX8Y, false, true);
goto iUneW;
AO_8w:
goto kjbuL;
goto JfeK2;
vaCGC:
$z0KI2 = $this->config->get("mlseo_remove_" . $cEX8Y);
goto WauUl;
nFoeZ:
cBLu1:
goto qVyo1;
A4wkq:
$z0KI2 = $this->config->get("mlseo_remove_" . $this->config->get("config_language_id"));
goto a6xeb;
FXbEc:
$YaJgC = 1;
goto vHwxu;
i98m8:
$YaJgC++;
goto QPiUu;
mDouh:
if ($cEX8Y) {
goto vTrPO;
}
goto A4wkq;
d18Ef:
if (!($vLCNO["image"] != $FhDKC)) {
goto JOM0u;
}
goto FXbEc;
AQkR2:
if (function_exists("mb_strtolower")) {
goto OYKXQ;
}
goto Z1TRJ;
kyr9O:
C2aXI:
goto hw2_Y;
a6xeb:
goto KmLZL;
goto X8i1g;
AMfNh:
goto kjbuL;
goto XMwzm;
t1Au_:
goto MoAhZ;
goto pk5sQ;
jXxPs:
if (!($ZGEwe && $vLCNO["seo_h1"])) {
goto xSai0;
}
goto suC0l;
SVA5C:
foreach (explode(",", $z0KI2) as $Eftlo) {
$Sf16X[] = "`" . $RxvR0 . preg_quote(trim($Eftlo), "`") . $gO95M . "`";
pKsQY:
}
goto Wkpio;
GuU7Y:
if (version_compare(VERSION, "4", ">=")) {
goto Dd1mg;
}
goto duV4u;
Su9QP:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET description = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto DXFtt;
qK8hF:
if (function_exists("mb_strtolower")) {
goto L6dtR;
}
goto IKZAv;
JWSuE:
goto E0RGZ;
goto z4C5j;
kQi2V:
Foypj:
goto v58Wx;
qVyo1:
goto E0RGZ;
goto ia8If;
b3ts6:
$FhDKC = str_replace(array(" ", " "), ", ", $FhDKC);
goto AQkR2;
dPxMb:
if (@rename(DIR_IMAGE . $vLCNO["image"], DIR_IMAGE . $FhDKC)) {
goto B3pRM;
}
goto mhoFK;
FMliG:
$FhDKC = str_replace(".", ",", $FhDKC);
goto b3ts6;
Bm3vh:
JOM0u:
goto jvZVv;
vIuxA:
goto E0RGZ;
goto aIfPh;
vsunp:
if (defined("SEO_PACKAGE_CLI")) {
goto UmmcH;
}
goto w8lf1;
z8L_c:
zJ_Q2:
goto QCbrR;
X3VqE:
if ($f_XEr == "h2") {
goto H349y;
}
goto b6kBK;
x98Qv:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $sKQqx[0]);
goto wNbol;
Tf0tX:
$FhDKC = preg_replace($Sf16X, "$1$2", $FhDKC);
goto FSnlp;
vdcH1:
tdkRZ:
goto VK2DQ;
Idljd:
xUNbG:
goto FEGjB;
b5rmY:
NDMhJ:
goto YByn0;
JUucU:
if ($f_XEr == "keyword") {
goto HU_tj;
}
goto UxsBv;
WSdhw:
ztOyU:
goto u7Pqs;
xIIhO:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $tsmux);
goto LGQrO;
iBnvD:
Ns7pY:
goto Tul7H;
PU1Y2:
TcOND:
goto oW9in;
o9Ak5:
$zixIz[] = DIR_IMAGE . $FhDKC;
goto HSB2d;
UxsBv:
if ($f_XEr == "description") {
goto hZebw;
}
goto ZtZhG;
gaf7P:
WFOxV:
goto jX1gD;
CHK9U:
$this->db->query("UPDATE " . DB_PREFIX . "product SET image = '" . $this->db->escape($FhDKC) . "' WHERE image = '" . $this->db->escape($vLCNO["image"]) . "'");
goto FYsRi;
Ff5xi:
if (!file_exists(DIR_IMAGE . $FhDKC)) {
goto tMpUS;
}
goto CE9L9;
FecEK:
adcwb:
goto BjD8D;
EJxGH:
$gO95M = "(\s|\.|\,|\!|\?|\(|\)|\'|\"|$)";
goto l1rvp;
swi2j:
R2QHZ:
goto B0AIK;
rxWrj:
$FhDKC = str_replace(array("\"", "'"), '', $FhDKC);
goto yjXKD;
dSKGe:
if (!($ZGEwe && $vLCNO["meta_keyword"])) {
goto pndIz;
}
goto a3Ijj;
Z04a4:
goto kjbuL;
goto HSWVd;
DX1c4:
if ($WzL4Y) {
goto S3lHn;
}
goto D2Ozn;
L52mH:
I7kIa:
goto vZRIy;
RUFoI:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto G9b07;
VDHEX:
if (!$Sf16X) {
goto QTWa0;
}
goto Tf0tX;
X8i1g:
vTrPO:
goto vaCGC;
FSnlp:
QTWa0:
goto QP8n3;
CCDSQ:
foreach ($a08GL as $mzYEq => $AoYbU) {
goto vItxq;
P2tLI:
$MXBEZ = str_replace("[current]", $AoYbU["image"], $dK93s);
goto GHcsN;
Q9Rpf:
goto x63RH;
goto Mbiax;
po_8P:
$MXBEZ = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto U4LVT;
B01oW:
Mjmw6:
goto iDQzw;
xr3hi:
$MXBEZ = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto eX_Kw;
GLG0X:
a1kzI:
goto aQ1v0;
PGS3N:
$MXBEZ = $ifjIK["dirname"] . "/" . $aQbRC . "." . $ifjIK["extension"];
goto Fl2OK;
oVkg8:
i64py:
goto hqKMe;
iDQzw:
if (@rename(DIR_IMAGE . $AoYbU["image"], DIR_IMAGE . $MXBEZ)) {
goto UGoti;
}
goto bW2oA;
ohGpW:
$vLCNO["image"] .= "<br>\342\x80\242 " . $AoYbU["image"];
goto RkdF6;
u3FLJ:
$aQbRC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($MXBEZ, "image", '', $cEX8Y, false, true);
goto PGS3N;
puXMs:
$dK93s = isset($sKQqx[$mzYEq + 1]) ? $sKQqx[$mzYEq + 1] : $sKQqx[0];
goto P2tLI;
vxZOq:
$FhDKC .= "<br>\342\200\xa2 " . $MXBEZ;
goto cYxiY;
hqKMe:
$zixIz[] = DIR_IMAGE . $MXBEZ;
goto Rx6pu;
yh7In:
goto a1kzI;
goto oVkg8;
U4LVT:
$YaJgC++;
goto yh7In;
eX_Kw:
$YaJgC++;
goto tD_iq;
ZXZIl:
$this->db->query("UPDATE " . DB_PREFIX . "product_image SET image = '" . $this->db->escape($MXBEZ) . "' WHERE image = '" . $this->db->escape($AoYbU["image"]) . "'");
goto EunLA;
eiE77:
goto gFgSV;
goto z_by1;
y23PO:
$YaJgC = 1;
goto AwbLd;
yKo3b:
goto Mo7n2;
goto ceFA2;
ceFA2:
Nm1oc:
goto puXMs;
Mbiax:
UGoti:
goto pflqK;
aQ1v0:
if (!(file_exists(DIR_IMAGE . $MXBEZ) || in_array(DIR_IMAGE . $MXBEZ, $zixIz))) {
goto i64py;
}
goto po_8P;
cYxiY:
Mo7n2:
goto rvOUg;
PQBcB:
if (!file_exists(DIR_IMAGE . $MXBEZ)) {
goto Mjmw6;
}
goto xr3hi;
AwbLd:
if ($WzL4Y) {
goto mpVv5;
}
goto Kdm7v;
tD_iq:
goto qiYw9;
goto B01oW;
bW2oA:
goto Mo7n2;
goto Q9Rpf;
EunLA:
x63RH:
goto eiE77;
Fl2OK:
if (!($AoYbU["image"] != $MXBEZ)) {
goto bzSsG;
}
goto y23PO;
Rx6pu:
gFgSV:
goto gN6a_;
gN6a_:
bzSsG:
goto vxZOq;
z_by1:
mpVv5:
goto GLG0X;
RkdF6:
if (!empty($ifjIK["extension"])) {
goto Nm1oc;
}
goto yKo3b;
pflqK:
$this->db->query("UPDATE " . DB_PREFIX . "product SET image = '" . $this->db->escape($MXBEZ) . "' WHERE image = '" . $this->db->escape($AoYbU["image"]) . "'");
goto ZXZIl;
vItxq:
$ifjIK = pathinfo($AoYbU["image"]);
goto ohGpW;
Kdm7v:
qiYw9:
goto PQBcB;
GHcsN:
$MXBEZ = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformProduct($MXBEZ, $cEX8Y, $vLCNO, $this->store);
goto u3FLJ;
rvOUg:
}
goto q_fjx;
SmKCP:
HU_tj:
goto dSKGe;
uTnJL:
iLCyF:
goto aMhNo;
GyzXR:
IVbxU:
goto VNbE5;
k_QSl:
if ($f_XEr == "title") {
goto Ns7pY;
}
goto JUucU;
xnPKI:
if ($f_XEr == "h1") {
goto qc2K9;
}
goto X3VqE;
AhRTC:
Gs9iG:
goto gRspS;
WeG_z:
goto gwdYG;
goto RK0dB;
lRv72:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'product_id=" . $vLCNO["product_id"] . "' AND store_id = " . (int) $this->store);
goto EmgWy;
LTLAh:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h2 = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto SQzL9;
D2Ozn:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h1 = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto hkv26;
QNayV:
goto E0RGZ;
goto iBnvD;
E3TT5:
vGneO:
goto mb7_q;
T2vg0:
$FhDKC = str_replace("\"", '', $FhDKC);
goto jHR9H;
yXBrH:
goto kjbuL;
goto b5rmY;
u1mWK:
goto d0b1L;
goto ochna;
w8lf1:
if (!($vLCNO[$flqEP] && $QIJ2v && $f_XEr == "url" && $this->config->get("mlseo_backup"))) {
goto TcOND;
}
goto e5EWZ;
vblbo:
NWuoK:
goto VmM47;
J8piK:
spHWI:
goto DYgTj;
BjD8D:
goto E0RGZ;
goto SmKCP;
pC8K3:
E0RGZ:
goto lN3ki;
s1Tof:
qc2K9:
goto jXxPs;
ZtZhG:
if ($f_XEr == "full_desc") {
goto AQK_3;
}
goto JWSuE;
pXwPH:
if ($vLCNO["image"]) {
goto IVtvw;
}
goto jzk3l;
FMpCl:
M4PsX:
goto zIsyt;
Ji3rw:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_description = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto nFoeZ;
jHR9H:
if (empty($z0KI2)) {
goto T0F5V;
}
goto M06pp;
aIfPh:
H349y:
goto R3sfV;
BdTPv:
sciO2:
goto t1Au_;
pe4DK:
xQC3r:
goto uTnJL;
Tmvfp:
if (!$this->config->get("mlseo_format_tag")) {
goto WFOxV;
}
goto FMliG;
G9b07:
if ($WzL4Y) {
goto GhKdn;
}
goto tdqU2;
aC2_G:
if (!(file_exists(DIR_IMAGE . $FhDKC) || in_array(DIR_IMAGE . $FhDKC, $zixIz))) {
goto wRTvn;
}
goto OtHva;
RK0dB:
L6dtR:
goto aSVx3;
yjXKD:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto gttXt;
Rbrfu:
GhKdn:
goto GYxrv;
AS2Du:
if ($this->multistore_mode) {
goto P0OrN;
}
goto UnEe4;
CE9L9:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto x0sDu;
Dqs49:
hZebw:
goto gUGG1;
BUtUY:
$this->session->data["seopackage_updated"]++;
goto z8L_c;
QpMkT:
bN60f:
goto vsunp;
H3TkJ:
if ($WzL4Y) {
goto uipWq;
}
goto KWc5r;
YByn0:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto O2jsl;
e5EWZ:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/product/" . $this->edit_action, $this->token . "&product_id=" . $vLCNO["product_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => "[backup url to redirect to new one]", "changed" => false);
goto PU1Y2;
JI4aS:
goto GYqE9;
goto rFOiL;
sXHF2:
pndIz:
goto qK8hF;
WviA_:
VEh66:
goto DW_5T;
HSB2d:
PX3IG:
goto Bm3vh;
UbX5w:
goto kjbuL;
goto aUBH0;
iT4q1:
mhYFb:
goto lodv1;
A5tIs:
Ai0rv:
goto Soek2;
tdqU2:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET image_title = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Rbrfu;
FEGjB:
$j0nk6++;
goto BUtUY;
lnluo:
lRhOQ:
goto gaf7P;
rAOkL:
Gb1uU:
goto QNayV;
Vr6XW:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h3 = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto rAOkL;
DYgTj:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'product_id=" . $vLCNO["product_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto vdcH1;
gUGG1:
if (!($ZGEwe && $vLCNO["meta_description"])) {
goto NDMhJ;
}
goto yXBrH;
RtWBe:
B3pRM:
goto CHK9U;
VJ3mK:
OYKXQ:
goto mJ5f3;
mb7_q:
if (array_key_exists($flqEP, $vLCNO)) {
goto mhYFb;
}
goto fPZ3X;
LuvoJ:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($vLCNO["seo_keyword"]) . "', redirect = 'product/product&product_id=" . (int) $vLCNO["product_id"] . "', language_id = '" . (int) $cEX8Y . "'");
goto Smhbw;
fNFhM:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto DX1c4;
hbWZE:
AE2Xw:
goto vKq10;
HDfjX:
if ($WzL4Y) {
goto C2aXI;
}
goto QUwa_;
Tul7H:
if (!($ZGEwe && $vLCNO["meta_title"])) {
goto hSiiA;
}
goto y4llk;
fPZ3X:
$QIJ2v = false;
goto HUo_T;
v1MAs:
IVtvw:
goto XezOG;
vmSKO:
goto kjbuL;
goto Pk4tL;
GtQXY:
if ($f_XEr == "tag") {
goto o13Re;
}
goto LHU4V;
rFOiL:
tMpUS:
goto dPxMb;
nmV8V:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto SgjRf;
x0sDu:
$YaJgC++;
goto JI4aS;
a5nnu:
if (!($vLCNO["seo_keyword"] && $vLCNO["seo_keyword"] != $FhDKC)) {
goto rr6kF;
}
goto LuvoJ;
lN3ki:
if ($f_XEr == "image_name") {
goto Dz_OD;
}
goto oYdTc;
O2jsl:
if ($WzL4Y) {
goto cBLu1;
}
goto Ji3rw;
I2hKM:
if (!($ZGEwe && $vLCNO["tag"])) {
goto xpSMY;
}
goto vmSKO;
Aw2G1:
if ($this->multistore_mode) {
goto spHWI;
}
goto NdOxC;
Z_k5F:
if (!defined("SEO_PACKAGE_CLI")) {
goto xUNbG;
}
goto y8Ud8;
c93b1:
if ($f_XEr == "image_alt") {
goto Gs9iG;
}
goto GtQXY;
WauUl:
KmLZL:
goto T2vg0;
duV4u:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto SHFNT;
}
goto Aw2G1;
y7mdV:
goto E0RGZ;
goto tAiyc;
M06pp:
$RxvR0 = "(\s|\.|\,|\!|\?|\(|\)|\'|\"|^)";
goto EJxGH;
hw2_Y:
goto E0RGZ;
goto s1Tof;
HUo_T:
goto bN60f;
goto iT4q1;
SeNQH:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'product_id=" . $vLCNO["product_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto MJFcb;
y8Ud8:
$this->log("product." . $f_XEr . ": [" . $FoZfU[$cEX8Y] . "] " . $vLCNO["name"] . " => " . $FhDKC);
goto Idljd;
J9rz3:
if (!($ZGEwe && $vLCNO["image_title"])) {
goto KLYx3;
}
goto zbiuQ;
UnEe4:
if ($this->ml_mode) {
goto Foypj;
}
goto yD61S;
EmgWy:
MoAhZ:
goto TQIq2;
SQzL9:
h4F22:
goto y7mdV;
DXFtt:
oNxTO:
goto pC8K3;
gsCzf:
if (!($b8KpK["count"] > 1)) {
goto V9Q7V;
}
goto UbX5w;
PySfL:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_keyword = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto uF9u1;
oAChA:
goto sciO2;
goto kQi2V;
BJ927:
if (!($f_XEr != "url" && $this->multistore_mode && $this->store && !$WzL4Y && is_null($vLCNO["store_id"]))) {
goto I7kIa;
}
goto cZ7Pw;
iDsw5:
aLRtT:
goto yk_NZ;
ia8If:
AQK_3:
goto wBOV0;
MJFcb:
F45Fw:
goto u1mWK;
D4rEV:
goto iLCyF;
goto VVCEW;
HSWVd:
m0PZI:
goto n32e8;
BIRhL:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'product_id=" . $vLCNO["product_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto INq2m;
aMhNo:
if ($WzL4Y) {
goto vGneO;
}
goto rc0iW;
LGQrO:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformProduct($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto BJ927;
y4llk:
goto kjbuL;
goto S8aNq;
UrTBJ:
vtowz:
goto GuU7Y;
nWXK3:
$sKQqx = explode(";", $tsmux);
goto x98Qv;
dhHFm:
GYqE9:
goto Ff5xi;
oW9in:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/product/" . $this->edit_action, $this->token . "&product_id=" . $vLCNO["product_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => $FhDKC, "changed" => $QIJ2v);
goto oODqb;
NdOxC:
if ($this->ml_mode) {
goto k5Nmw;
}
goto BIRhL;
vax97:
goto lRhOQ;
goto VJ3mK;
XezOG:
$b8KpK = $this->db->query("SELECT COUNT(image) as count FROM " . DB_PREFIX . "product WHERE image='" . $this->db->escape($vLCNO["image"]) . "'")->row;
goto gsCzf;
GoLHx:
o13Re:
goto I2hKM;
Wkpio:
x42zB:
goto VDHEX;
l1rvp:
$Sf16X = array();
goto SVA5C;
TxpmX:
if ($WzL4Y) {
goto Gb1uU;
}
goto Vr6XW;
kHtMU:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'product_id=" . $vLCNO["product_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto iDsw5;
MLLNI:
if (!($ZGEwe && $vLCNO["seo_h3"])) {
goto m0PZI;
}
goto Z04a4;
jzk3l:
goto kjbuL;
goto v1MAs;
IKZAv:
$FhDKC = strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto WeG_z;
FYsRi:
$this->db->query("UPDATE " . DB_PREFIX . "product_image SET image = '" . $this->db->escape($FhDKC) . "' WHERE image = '" . $this->db->escape($vLCNO["image"]) . "'");
goto jryPu;
r1sTx:
$FhDKC = str_replace(array("\"", "'"), '', $FhDKC);
goto RUFoI;
WHxYS:
if ($WzL4Y) {
goto aZyOq;
}
goto PySfL;
YsEFx:
if ($WzL4Y) {
goto oNxTO;
}
goto Su9QP;
diywj:
SHFNT:
goto SeNQH;
KGRgA:
goto kjbuL;
goto hbWZE;
DW_5T:
goto iLCyF;
goto GoLHx;
sngr8:
Dz_OD:
goto pXwPH;
qInQc:
if (!empty($ifjIK["extension"])) {
goto qPe4e;
}
goto EM9YF;
hkv26:
S3lHn:
goto vIuxA;
INq2m:
goto aLRtT;
goto GITc1;
QZBml:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "product", $vLCNO["product_id"], $cEX8Y, $WzL4Y);
goto HDfjX;
uF9u1:
aZyOq:
goto uqb3n;
VmM47:
if (array_key_exists($flqEP, $vLCNO)) {
goto Sgje4;
}
goto FDPyh;
pvMNA:
if (!(empty($vLCNO["name"]) && isset($vLCNO["orig_name"]))) {
goto Ai0rv;
}
goto sQh2B;
iUneW:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "." . $ifjIK["extension"];
goto d18Ef;
JfeK2:
s9K0p:
goto H3TkJ;
p3P_5:
$_SESSION["seopackage_lastItem"] = $vLCNO["product_id"];
goto pvMNA;
PWr6F:
Sgje4:
goto xIIhO;
keDdr:
xSai0:
goto fNFhM;
jvZVv:
$a08GL = $this->db->query("SELECT * FROM " . DB_PREFIX . "product_image WHERE product_id='" . $this->db->escape($vLCNO["product_id"]) . "'")->rows;
goto CCDSQ;
Pk4tL:
xpSMY:
goto mDouh;
QP8n3:
T0F5V:
goto Tmvfp;
xWyAq:
wRTvn:
goto o9Ak5;
aUBH0:
V9Q7V:
goto r1HXx;
sQh2B:
$vLCNO["name"] = $vLCNO["orig_name"];
goto A5tIs;
vOWm9:
goto PX3IG;
goto FMpCl;
mJ5f3:
$FhDKC = trim(mb_strtolower($FhDKC), ", ");
goto lnluo;
TQIq2:
goto RLfLY;
goto GyzXR;
A7XyH:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto QGugk;
uqb3n:
goto E0RGZ;
goto Dqs49;
XMwzm:
XvnHc:
goto rxWrj;
KAx0r:
qPe4e:
goto nWXK3;
QPiUu:
goto wyyJS;
goto xWyAq;
euk9r:
goto ztOyU;
goto swi2j;
CoBo2:
Om6uv:
goto A7XyH;
Z1TRJ:
$FhDKC = trim(strtolower($FhDKC), ", ");
goto vax97;
vKq10:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto YsEFx;
oYdTc:
if ($f_XEr == "image_title") {
goto QdrTy;
}
goto c93b1;
vHwxu:
if ($WzL4Y) {
goto M4PsX;
}
goto dhHFm;
EAhOS:
d0b1L:
goto kyr9O;
gJXeU:
$FhDKC = "\xe2\x80\xa2 " . $FhDKC;
goto D4rEV;
R3sfV:
if (!($ZGEwe && $vLCNO["seo_h2"])) {
goto Om6uv;
}
goto aY9ud;
ochna:
Dd1mg:
goto QMIsZ;
QCbrR:
kjbuL:
goto AfkuO;
jX1gD:
$FhDKC = trim(preg_replace("/(?:,\s*)+/", ",", $FhDKC), ", ");
goto A_zYJ;
pgh03:
$this->session->data["seopackage_processed"]++;
goto p3P_5;
suC0l:
goto kjbuL;
goto keDdr;
a3Ijj:
goto kjbuL;
goto sXHF2;
QUwa_:
if (!$this->config->get("mlseo_backup")) {
goto vtowz;
}
goto a5nnu;
bQwYO:
$this->db->query("UPDATE " . DB_PREFIX . "product_description SET tag = '" . $this->db->escape($FhDKC) . "' WHERE product_id = '" . $vLCNO["product_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto pe4DK;
vZRIy:
if ($f_XEr == "url") {
goto Kjef7;
}
goto xnPKI;
cZ7Pw:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_product_description SET product_id = '" . (int) $vLCNO["product_id"] . "', store_id = '" . (int) $this->store . "', language_id = '" . (int) $cEX8Y . "'");
goto L52mH;
z4C5j:
Kjef7:
goto DJp6w;
zdXlp:
$vLCNO["image"] = "\342\x80\xa2 " . $vLCNO["image"];
goto gJXeU;
EP3Rk:
if (!$QIJ2v) {
goto zJ_Q2;
}
goto Z_k5F;
KWc5r:
if (version_compare(VERSION, "4", ">=")) {
goto R2QHZ;
}
goto h1A9f;
LHU4V:
goto iLCyF;
goto sngr8;
n32e8:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto TxpmX;
AfkuO:
}
goto Mxc62;
nweTz:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto W3xeM;
}
goto EaIMz;
NXyJX:
YTJRE:
goto euKwh;
m0wu_:
goto hlC4w;
goto fZAm9;
Mxc62:
ZTyYL:
goto cx2E4;
Q_4hi:
if ($this->multistore_mode) {
goto gtjJ3;
}
goto vPtH2;
lXEEE:
goto YTJRE;
goto IE3MA;
TbILo:
$kU4lM = $this->db->query("SELECT sd.*, p.*, d.name as orig_name, d.description as orig_description " . $eBOg8 . $rvQsS . " FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_to_store s ON (p.product_id = s.product_id) LEFT JOIN " . DB_PREFIX . "seo_product_description sd ON (p.product_id = sd.product_id AND sd.language_id=" . (int) $cEX8Y . " AND sd.store_id = s.store_id) LEFT JOIN " . DB_PREFIX . "product_description d ON (p.product_id = d.product_id AND d.language_id = " . (int) $cEX8Y . ") WHERE s.store_id = " . (int) $this->store . " ORDER BY sd.product_id,sd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto plKc9;
FVIF3:
if (version_compare(VERSION, "4", ">=")) {
goto W6Rs1;
}
goto nweTz;
AgZFY:
}
goto OcUFa;
y0kj9:
foreach ($cHoqT as $nDDFl) {
goto J94lC;
KQvoH:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto C7rWU;
xryj0:
SmQBS:
goto gN5MB;
J94lC:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto d1JvI;
MgyYN:
dRoBw:
goto xryj0;
d1JvI:
if (version_compare(VERSION, "2.2", ">=")) {
goto t707e;
}
goto KQvoH;
slhsO:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto MgyYN;
C7rWU:
goto dRoBw;
goto SYK96;
SYK96:
t707e:
goto slhsO;
gN5MB:
}
goto rqVXv;
agKnZ:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto gINzJ;
kupq2:
kKacx:
goto B2aAT;
jmK8_:
$data["langs"] =& $pU5UN;
goto BaKaK;
zR6DX:
if (!($f_XEr == "related")) {
goto IlU5B;
}
goto OBdkv;
mCtDG:
$data["langs"] = array();
goto jOnk7;
z1h_U:
IlU5B:
goto l22wS;
jOnk7:
die("No language selected");
goto FH4V5;
FH4V5:
K0LAl:
goto agKnZ;
U7Lfg:
}
public function getChildCategories($uN7sB)
{
goto YJ66r;
wjDVu:
khn0Y:
goto oMWNc;
L1Fx2:
$nRxuH = $this->db->query("SELECT category_id FROM " . DB_PREFIX . "category WHERE parent_id = '" . (int) $uN7sB . "'")->rows;
goto WVJW_;
YJ66r:
$gCyDm = array($uN7sB);
goto Q85qq;
KV09d:
izB11:
goto wjDVu;
d9y0_:
CsHbW:
goto KV09d;
Q85qq:
if (!$uN7sB) {
goto khn0Y;
}
goto L1Fx2;
WVJW_:
if (empty($nRxuH)) {
goto izB11;
}
goto AeHiw;
AeHiw:
foreach ($nRxuH as $YLPt7) {
goto DdoNw;
ZanID:
qifSP:
goto YyIx6;
DdoNw:
$gCyDm[] = $YLPt7["category_id"];
goto FhIaM;
FhIaM:
$gCyDm = array_unique(array_merge($gCyDm, $this->getChildCategories($YLPt7["category_id"])));
goto ZanID;
YyIx6:
}
goto d9y0_;
oMWNc:
return $gCyDm;
goto rUSiP;
rUSiP:
}
public function generator_category($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto xq9au;
QB7Fd:
$gCyDm = array();
goto dHXoo;
zn7cO:
JwAxZ:
goto enBq9;
SblPF:
xCFHm:
goto Adzz1;
enBq9:
return $data;
goto gIjgw;
B2WQa:
dv15P:
goto y3xpS;
xq9au:
if (isset($this->request->post["langs"])) {
goto dv15P;
}
goto DXZlM;
QWiTa:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto C1xFM;
ioJb9:
$tn4M9 = "seo_category_description";
goto kUB8_;
ChP5S:
$this->total_items = $Yu8kb["total"];
goto RX_vj;
lRHZM:
XOmaI:
goto Fnlqm;
zquN9:
ERIg_:
goto UFs2f;
z5alK:
lKTVo:
goto pRQad;
norWq:
goto Euv6D;
goto KNNxX;
AEtcZ:
$pU5UN[$cEX8Y]["rows"] = array();
goto koij7;
XRsAb:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('category_id=', d.category_id) LIMIT 1), '') AS seo_keyword";
goto yrvc1;
Fnlqm:
goto ERIg_;
goto lEiXG;
sY0N3:
goto Gs7tg;
goto sRqCI;
wIkZt:
$kU4lM = $this->db->query("SELECT d.*, c.*" . $rvQsS . " FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description d ON c.category_id = d.category_id LEFT JOIN " . DB_PREFIX . "category_to_store s ON (c.category_id = s.category_id) WHERE s.store_id = " . (int) $this->store . " AND d.language_id=" . (int) $cEX8Y . $VpBK8 . " ORDER BY d.category_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto lRHZM;
oUUdI:
if ($this->store) {
goto mSQvR;
}
goto uIsyR;
kYDKc:
Fgu2f:
goto kmmno;
kmmno:
$tsmux = $this->request->post["mlseo_category_" . $f_XEr . "_pattern"];
goto UkqUB;
stoxe:
$zMXd8 = '';
goto iEgwe;
Y2x8r:
if ($this->multistore_mode) {
goto sFUXP;
}
goto G1r0M;
U5Ai4:
goto OvfHl;
goto kYDKc;
yf9jp:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('category_id=', d.category_id) AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto ZhIuW;
q9Sls:
HeYZN:
goto sY0N3;
UFs2f:
foreach ($kU4lM as $vLCNO) {
goto sgIq_;
GNWtD:
goto NOVt3;
goto U76T9;
m5Wdp:
VI0OO:
goto DAFck;
HTo9_:
if (!version_compare(VERSION, "4", ">=")) {
goto uJSg7;
}
goto riu4C;
EZFlJ:
if (!defined("SEO_PACKAGE_CLI")) {
goto HL2j5;
}
goto rnuze;
J1koU:
zL9hx:
goto AOIGN;
LMaZH:
Al6Xj:
goto jMwFw;
noraE:
if ($this->ml_mode) {
goto YHS83;
}
goto rlP6e;
r0sio:
goto NOVt3;
goto W5GcC;
b4tg_:
g_mRZ:
goto yuHID;
h0NNg:
a1TXB:
goto q5Efc;
a36iT:
ehxCk:
goto icKmV;
EUJGj:
$FhDKC = mb_strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto J1koU;
h7PGo:
if (!($vLCNO[$flqEP] && $QIJ2v && $f_XEr == "url" && $this->config->get("mlseo_backup"))) {
goto jCcdt;
}
goto IcQ69;
eKZWb:
uJSg7:
goto x44JU;
Fxf9q:
$QIJ2v = false;
goto cKqej;
dao2A:
vhjzP:
goto Hl1la;
Nb_PR:
AZpgS:
goto jQmlw;
q5Efc:
if (!($ZGEwe && $vLCNO["seo_h1"])) {
goto izrWH;
}
goto ixagD;
iXnma:
izrWH:
goto qJdCP;
xQFVn:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $tsmux);
goto g29UE;
Fg5xh:
mM62k:
goto PkPLH;
zc7_T:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto efBUs;
O1jTe:
teDEP:
goto sgS6T;
XjOJB:
GiAsx:
goto IiAxj;
RAWIA:
HL2j5:
goto W0aDH;
okI0h:
goto NOVt3;
goto h0NNg;
QZ2ow:
goto qsMlZ;
goto Fg5xh;
qTS7w:
goto cuWmf;
goto pzFvk;
Yzu0x:
if (!($ZGEwe && $vLCNO["seo_h3"])) {
goto VHoII;
}
goto znQbz;
pzFvk:
FMvmg:
goto zCvFt;
yY38h:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h2 = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Aab9W;
IiAxj:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'category_id=" . $vLCNO["category_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto lOw5y;
Rj9OX:
if ($f_XEr == "h1") {
goto a1TXB;
}
goto Fh0EX;
CclzX:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'category_id=" . $vLCNO["category_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto xtqiO;
LYdMi:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto tV2tT;
}
goto FvVuK;
gRE8L:
tzzH5:
goto wsRV_;
cvAYF:
$FhDKC = strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto zOL4B;
bwoi1:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "category", $vLCNO["category_id"], $cEX8Y, $WzL4Y);
goto J1zZQ;
XofFO:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto IE9mk;
efBUs:
if ($WzL4Y) {
goto ehxCk;
}
goto fjtmW;
wo5nl:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_title = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Nb_PR;
X7Gh_:
if ($this->ml_mode) {
goto VrthR;
}
goto vVhez;
vVhez:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'category_id=" . $vLCNO["category_id"] . "'");
goto MM_jM;
sgIq_:
$this->session->data["seopackage_processed"]++;
goto rH9Ue;
JSFr3:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($vLCNO["seo_keyword"]) . "', redirect = 'product/category&category_id=" . (int) $vLCNO["category_id"] . "', language_id = '" . (int) $cEX8Y . "'");
goto pyW2_;
E4Qxz:
jCcdt:
goto wAlWa;
iRlnU:
if ($WzL4Y) {
goto MVA8B;
}
goto VOPbn;
R4tXr:
if ($f_XEr == "keyword") {
goto FylRn;
}
goto GaNhw;
HY_eP:
if (array_key_exists($flqEP, $vLCNO)) {
goto yD5q1;
}
goto Fxf9q;
XCvf0:
QQYVx:
goto Czh5e;
x44JU:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto NuPnr;
}
goto zlKxw;
oD63s:
if ($WzL4Y) {
goto zQKo7;
}
goto Dtni2;
AY2LA:
H6uDT:
goto oxbK9;
vwc6k:
goto g_mRZ;
goto pt5P9;
rlP6e:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'category_id=" . $vLCNO["category_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto okqZN;
ggnjS:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_description = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto bq0T1;
lSNHa:
if (function_exists("mb_strtolower")) {
goto A6AjE;
}
goto cvAYF;
W5GcC:
xSECO:
goto lzkd1;
twLyv:
if ($WzL4Y) {
goto N1U3q;
}
goto yY38h;
LB3FQ:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto KtfCx;
jwvf6:
cuWmf:
goto fjW_r;
Qs3d0:
YHS83:
goto YIj3x;
vXq8h:
yD5q1:
goto Z2JoA;
KtfCx:
if ($WzL4Y) {
goto nHiA3;
}
goto ggnjS;
xtqiO:
tY9sq:
goto vwc6k;
PkPLH:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto twLyv;
wk7Hd:
qIPIC:
goto IhL8w;
XPosR:
goto qsMlZ;
goto q9TP2;
lzkd1:
if (!($ZGEwe && trim(strip_tags(html_entity_decode($vLCNO["description"], ENT_QUOTES, "UTF-8"))))) {
goto GVkJI;
}
goto kcReF;
zlKxw:
goto qsMlZ;
goto cpATi;
yuHID:
OyIj7:
goto bwoi1;
DAFck:
if (defined("SEO_PACKAGE_CLI")) {
goto QQYVx;
}
goto h7PGo;
uEziz:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'category_id=" . $vLCNO["category_id"] . "', language_id = '" . $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto zLaah;
VZIxu:
if (version_compare(VERSION, "4", ">=")) {
goto qIPIC;
}
goto LYdMi;
xIJqh:
if ($this->multistore_mode) {
goto FMvmg;
}
goto X7Gh_;
gXsZw:
kNT7b:
goto xQFVn;
MM_jM:
goto VY42I;
goto i1d4p;
riu4C:
$vLCNO["seo_keyword"] = $hnPOp->getCategorySeoV4($vLCNO["category_id"], $cEX8Y, $this->store);
goto eKZWb;
wAlWa:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/category/" . $this->edit_action, $this->token . "&category_id=" . $vLCNO["category_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => $FhDKC, "changed" => $QIJ2v);
goto XCvf0;
QT21x:
if ($WzL4Y) {
goto Eh9QU;
}
goto A3pwa;
sFNIc:
FylRn:
goto qMunO;
IcQ69:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/category/" . $this->edit_action, $this->token . "&category_id=" . $vLCNO["category_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => "[backup url to redirect to new one]", "changed" => false);
goto E4Qxz;
ZqRU1:
if (!($f_XEr != "url" && $this->multistore_mode && $this->store && !$WzL4Y && is_null($vLCNO["store_id"]))) {
goto PnStu;
}
goto MBsJ8;
YWrlN:
uEewF:
goto HTo9_;
aazrW:
goto qsMlZ;
goto Zo9ob;
J1zZQ:
if ($WzL4Y) {
goto PaJdU;
}
goto OYFCc;
pyW2_:
dDmpR:
goto lTojq;
Qfuqx:
$j0nk6++;
goto dao2A;
bq0T1:
nHiA3:
goto r0sio;
Re_zv:
goto r6K25;
goto PEE6W;
PAMIj:
if ($f_XEr == "url") {
goto uEewF;
}
goto Rj9OX;
jeQpB:
ttCyX:
goto CclzX;
Y5IfV:
vvxoa:
goto M3cwP;
PAbcd:
VY42I:
goto qTS7w;
mZ_Z3:
goto NOVt3;
goto qvjwA;
PIV7F:
goto qsMlZ;
goto DDEP9;
qMunO:
if (!($ZGEwe && $vLCNO["meta_keyword"])) {
goto SYdas;
}
goto XPosR;
kcReF:
goto qsMlZ;
goto eeFOG;
Sjobo:
A6AjE:
goto EUJGj;
uDfjI:
$vLCNO["description"] = $vLCNO["orig_description"];
goto gXsZw;
rH9Ue:
if (!(empty($vLCNO["name"]) && isset($vLCNO["orig_name"]))) {
goto tzzH5;
}
goto ihpaK;
ECchW:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'category_id=" . $vLCNO["category_id"] . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto PAbcd;
A3pwa:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h3 = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto dZX8R;
eeFOG:
GVkJI:
goto zc7_T;
q9TP2:
SYdas:
goto lSNHa;
Woiun:
if (!($vLCNO["seo_keyword"] && $vLCNO["seo_keyword"] != $FhDKC)) {
goto dDmpR;
}
goto JSFr3;
ihpaK:
$vLCNO["name"] = $vLCNO["orig_name"];
goto gRE8L;
M3cwP:
goto QdEYM;
goto XjOJB;
MBsJ8:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_category_description SET category_id = '" . (int) $vLCNO["category_id"] . "', store_id = '" . (int) $this->store . "', language_id = '" . (int) $cEX8Y . "'");
goto onlCt;
Y8NrO:
if ($f_XEr == "title") {
goto Jn11H;
}
goto R4tXr;
pt5P9:
no0yY:
goto b4tg_;
lTojq:
V0iMf:
goto VZIxu;
Hl1la:
qsMlZ:
goto I0gbD;
U76T9:
Cd8TB:
goto hAqfl;
Dtni2:
$this->db->query("UPDATE " . DB_PREFIX . "category SET date_modified = NOW() WHERE category_id = '" . (int) $vLCNO["category_id"] . "'");
goto n6EGO;
D11wP:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_keyword = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto LMaZH;
jQmlw:
goto NOVt3;
goto sFNIc;
Aab9W:
N1U3q:
goto BjzaD;
g29UE:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformCategory($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto ZqRU1;
W0aDH:
$this->session->data["seopackage_updated"]++;
goto Qfuqx;
PEE6W:
tV2tT:
goto uEziz;
Qy2YY:
$hnPOp->setCategorySeoV4($vLCNO["category_id"], $FhDKC, $cEX8Y, $this->store);
goto O1jTe;
fjW_r:
goto tY9sq;
goto jeQpB;
udpNH:
goto uwKWc;
goto wk7Hd;
rnuze:
$this->log("category." . $f_XEr . ": [" . $FoZfU[$cEX8Y] . "] " . $vLCNO["name"] . " => " . $FhDKC);
goto RAWIA;
ixagD:
goto qsMlZ;
goto iXnma;
VOPbn:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h1 = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto s9KHB;
icKmV:
NOVt3:
goto oD63s;
onlCt:
PnStu:
goto PAMIj;
qvjwA:
Jn11H:
goto tfu0o;
AOIGN:
if ($WzL4Y) {
goto Al6Xj;
}
goto D11wP;
hAqfl:
if (!($ZGEwe && $vLCNO["seo_h2"])) {
goto mM62k;
}
goto QZ2ow;
BAPSo:
PaJdU:
goto okI0h;
tPdYe:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto QT21x;
OYFCc:
if (!$this->config->get("mlseo_backup")) {
goto V0iMf;
}
goto Woiun;
Czh5e:
if (!$QIJ2v) {
goto vhjzP;
}
goto EZFlJ;
Z2JoA:
$QIJ2v = !($FhDKC === $vLCNO[$flqEP]);
goto m5Wdp;
BjzaD:
goto NOVt3;
goto utgiG;
dZX8R:
Eh9QU:
goto mZ_Z3;
qJdCP:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto iRlnU;
lOw5y:
QdEYM:
goto Re_zv;
IE9mk:
if ($WzL4Y) {
goto AZpgS;
}
goto wo5nl;
zCvFt:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'category_id=" . $vLCNO["category_id"] . "' AND store_id = " . (int) $this->store);
goto jwvf6;
fjtmW:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET description = '" . $this->db->escape($FhDKC) . "' WHERE category_id = '" . $vLCNO["category_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto a36iT;
Zo9ob:
YRw5C:
goto XofFO;
WhP4p:
if (version_compare(VERSION, "4", ">=")) {
goto no0yY;
}
goto FCcXx;
GaNhw:
if ($f_XEr == "description") {
goto H6uDT;
}
goto boP7p;
DDEP9:
wKnFK:
goto LB3FQ;
n6EGO:
zQKo7:
goto HY_eP;
FCcXx:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto ttCyX;
}
goto xIJqh;
i1d4p:
VrthR:
goto ECchW;
Fh0EX:
if ($f_XEr == "h2") {
goto Cd8TB;
}
goto g4JU8;
zLaah:
r6K25:
goto udpNH;
zOL4B:
goto zL9hx;
goto Sjobo;
oxbK9:
if (!($ZGEwe && $vLCNO["meta_description"])) {
goto wKnFK;
}
goto PIV7F;
boP7p:
if ($f_XEr == "full_desc") {
goto xSECO;
}
goto KkAVB;
KkAVB:
goto NOVt3;
goto YWrlN;
utgiG:
IZ9Y0:
goto Yzu0x;
YIj3x:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'category_id=" . $vLCNO["category_id"] . "', language_id = '" . $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto Y5IfV;
IhL8w:
if (!($vLCNO["seo_keyword"] != $FhDKC)) {
goto teDEP;
}
goto Qy2YY;
cpATi:
NuPnr:
goto Gmk8A;
okqZN:
goto vvxoa;
goto Qs3d0;
cKqej:
goto VI0OO;
goto vXq8h;
FvVuK:
if ($this->multistore_mode) {
goto GiAsx;
}
goto noraE;
sgS6T:
uwKWc:
goto BAPSo;
s9KHB:
MVA8B:
goto GNWtD;
NdkHa:
VHoII:
goto tPdYe;
jMwFw:
goto NOVt3;
goto AY2LA;
g4JU8:
if ($f_XEr == "h3") {
goto IZ9Y0;
}
goto Y8NrO;
tfu0o:
if (!($ZGEwe && $vLCNO["meta_title"])) {
goto YRw5C;
}
goto aazrW;
Gmk8A:
if ($WzL4Y) {
goto OyIj7;
}
goto WhP4p;
wsRV_:
if (!(empty($vLCNO["description"]) && isset($vLCNO["orig_description"]))) {
goto kNT7b;
}
goto uDfjI;
znQbz:
goto qsMlZ;
goto NdkHa;
I0gbD:
}
goto u5h0Z;
yrvc1:
goto HeYZN;
goto tklrr;
B0OYY:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto eTV_4;
}
goto Y2x8r;
USRFo:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('category_id=', d.category_id) AND (u.language_id = d.language_id OR u.language_id = 0) LIMIT 1), '') AS seo_keyword";
goto q9Sls;
UkqUB:
OvfHl:
goto An9mw;
hGW0L:
$tsmux = $this->config->get("mlseo_category_" . $f_XEr . "_pattern");
goto U5Ai4;
lEiXG:
mSQvR:
goto ioJb9;
u5h0Z:
XqiLx:
goto LPcza;
yIZBl:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('category_id=', d.category_id) AND (u.store_id = s.store_id) LIMIT 1), '') AS seo_keyword";
goto mf5fl;
LPcza:
$pU5UN[$cEX8Y]["count"] = $j0nk6;
goto z5alK;
DNkTw:
ACblp:
goto HdeSs;
QsB4t:
$pU5UN[$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto AEtcZ;
mf5fl:
Gs7tg:
goto norWq;
uIsyR:
$tn4M9 = "category_description";
goto stoxe;
An9mw:
if ($this->multistore_mode) {
goto ACblp;
}
goto b0l1Q;
eUZmR:
$kU4lM = $this->db->query("SELECT d.*, c.*" . $rvQsS . " FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description d ON c.category_id = d.category_id WHERE d.language_id=" . (int) $cEX8Y . $VpBK8 . " ORDER BY d.category_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto vp8_c;
uuQkL:
FLU6i:
goto oUUdI;
XHnrU:
Lf9Ym:
goto by2az;
sRqCI:
sFUXP:
goto yIZBl;
by2az:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE `key` = 'path' AND `value` = d.category_id AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto xcsYT;
vp8_c:
goto XOmaI;
goto xKG2S;
UwvoB:
if (isset($this->request->post["mlseo_category_" . $f_XEr . "_pattern"])) {
goto Fgu2f;
}
goto hGW0L;
pOBLe:
goto a3oKA;
goto XHnrU;
PfW83:
goto rpavY;
goto DNkTw;
aHFru:
if (!($f_XEr == "url")) {
goto FLU6i;
}
goto s86T2;
iEgwe:
if ($this->multistore_mode) {
goto ZBx6o;
}
goto eUZmR;
G1r0M:
if ($this->ml_mode) {
goto h5fRG;
}
goto XRsAb;
tklrr:
h5fRG:
goto USRFo;
xKG2S:
ZBx6o:
goto wIkZt;
kUB8_:
$zMXd8 = "AND store_id = '" . (int) $this->store . "'";
goto LaqUX;
HdeSs:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_to_store s ON (c.category_id = s.category_id) WHERE s.store_id = " . (int) $this->store . $VpBK8)->row;
goto pjqz8;
C1xFM:
$this->config->set("mlseo_current_lang", $FoZfU[$cEX8Y]);
goto QsB4t;
LaqUX:
$kU4lM = $this->db->query("SELECT sd.*, c.*, d.name as orig_name, d.description as orig_description " . $rvQsS . " FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_to_store s ON (c.category_id = s.category_id) LEFT JOIN " . DB_PREFIX . "seo_category_description sd ON (c.category_id = sd.category_id AND sd.language_id=" . (int) $cEX8Y . " AND sd.store_id = s.store_id) LEFT JOIN " . DB_PREFIX . "category_description d ON (c.category_id = d.category_id AND d.language_id=" . (int) $cEX8Y . ") WHERE s.store_id = " . (int) $this->store . " ORDER BY sd.category_id,sd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto zquN9;
xcsYT:
a3oKA:
goto uuQkL;
koij7:
$j0nk6 = 0;
goto UwvoB;
pjqz8:
rpavY:
goto ChP5S;
RX_vj:
$rvQsS = '';
goto aHFru;
b0l1Q:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "category c WHERE 1" . $VpBK8)->row;
goto PfW83;
s86T2:
if (version_compare(VERSION, "4", ">=")) {
goto Lf9Ym;
}
goto B0OYY;
KNNxX:
eTV_4:
goto yf9jp;
ZhIuW:
Euv6D:
goto pOBLe;
pRQad:
}
goto SblPF;
otZku:
goto YOgZf;
goto KOuUI;
PxbCR:
return;
goto B2WQa;
v1gw4:
kWnSp:
goto QWiTa;
DXZlM:
$data["langs"] = array();
goto PxbCR;
PrEIY:
if (!($f_XEr == "store_copy")) {
goto oCVVQ;
}
goto lJ5yc;
UG3Ct:
$VpBK8 = " AND c.category_id = '" . (int) $uN7sB . "'";
goto otZku;
bAc7M:
$cHoqT = $this->model_localisation_language->getLanguages();
goto uNIIF;
LBPd1:
KBz3b:
goto WZG7Y;
MFY45:
unset($cHoqT);
goto wPkwd;
pI2JY:
if (empty($gCyDm)) {
goto VdCvo;
}
goto CR8zR;
uNIIF:
foreach ($cHoqT as $nDDFl) {
goto jH8dk;
jH8dk:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto pCjG2;
btPKf:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto N3Uon;
QMS1n:
Esuzs:
goto btPKf;
N3Uon:
IFMQ0:
goto L7i2O;
pCjG2:
if (version_compare(VERSION, "2.2", ">=")) {
goto Esuzs;
}
goto xZvTM;
L7i2O:
asD3w:
goto HD5zi;
xZvTM:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto YOlBS;
YOlBS:
goto IFMQ0;
goto QMS1n;
HD5zi:
}
goto Mh4uy;
pfspt:
if (empty($this->request->post["filter_cat_category_current"])) {
goto sQse1;
}
goto UG3Ct;
Alz0K:
YxRWc:
goto NvkrT;
v6J1s:
$this->load->model("localisation/language");
goto bAc7M;
Mgy6e:
return $data;
goto LFLHj;
UfkWz:
$this->load->model("catalog/seo_package");
goto OltYB;
gIjgw:
oCVVQ:
goto Nx4zl;
WZG7Y:
$pU5UN = $data = array();
goto PrEIY;
Nr5iN:
VdCvo:
goto HnhQ9;
lJ5yc:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto I89Zo;
TY99m:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_category_description SELECT category_id, '" . (int) $cEX8Y . "', '" . (int) $this->store . "', name, description, meta_title, meta_description, meta_keyword, seo_h1, seo_h2, seo_h3 FROM " . DB_PREFIX . "category_description d WHERE d.language_id = '" . (int) $cEX8Y . "'");
goto SkX0i;
hJghg:
$data["langs"][$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto ABcCF;
SkX0i:
CPHSo:
goto hJghg;
I89Zo:
if ($WzL4Y) {
goto CPHSo;
}
goto jCxQa;
ABcCF:
$data["langs"][$cEX8Y]["rows"][] = array("link" => '', "name" => "Category data copy to sub-store", "old_value" => '', "value" => "Done", "changed" => '');
goto R2rbw;
R2rbw:
m3FI9:
goto v_7FL;
jCxQa:
$this->db->query("DELETE FROM " . DB_PREFIX . "seo_category_description WHERE language_id = '" . (int) $cEX8Y . "' AND store_id = '" . (int) $this->store . "'");
goto TY99m;
v_7FL:
}
goto zn7cO;
Mh4uy:
rligk:
goto MFY45;
PwFVp:
slnBa:
goto LBPd1;
wPkwd:
switch ($f_XEr) {
case "url":
$flqEP = "seo_keyword";
goto KBz3b;
case "h1":
$flqEP = "seo_h1";
goto KBz3b;
case "h2":
$flqEP = "seo_h2";
goto KBz3b;
case "h3":
$flqEP = "seo_h3";
goto KBz3b;
case "title":
$flqEP = "meta_title";
goto KBz3b;
case "keyword":
$flqEP = "meta_keyword";
goto KBz3b;
case "description":
$flqEP = "meta_description";
goto KBz3b;
case "full_desc":
$flqEP = "description";
goto KBz3b;
}
goto PwFVp;
dHXoo:
$uN7sB = $this->request->post["filter_cat_category"];
goto pfspt;
y3xpS:
if (version_compare(VERSION, "4", ">=")) {
goto YxRWc;
}
goto UfkWz;
HZB1i:
aLSLH:
goto ZPvNL;
ULmv4:
goto aLSLH;
goto Alz0K;
KOuUI:
sQse1:
goto WI07p;
WCgAH:
$hnPOp = $this->model_extension_complete_seo_catalog_seo_package;
goto HZB1i;
FhtvE:
if (empty($this->request->post["filter_cat_category"])) {
goto kWnSp;
}
goto QB7Fd;
ZPvNL:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto v6J1s;
CR8zR:
$VpBK8 = " AND c.category_id IN (" . implode(",", $gCyDm) . ")";
goto Nr5iN;
HnhQ9:
YOgZf:
goto v1gw4;
OltYB:
$hnPOp = $this->model_catalog_seo_package;
goto ULmv4;
Adzz1:
$data["langs"] =& $pU5UN;
goto Mgy6e;
Nx4zl:
$VpBK8 = '';
goto FhtvE;
WI07p:
$gCyDm = $this->getChildCategories($uN7sB);
goto pI2JY;
NvkrT:
$this->load->model("extension/complete_seo/catalog/seo_package");
goto WCgAH;
LFLHj:
}
public function generator_information($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto b5Z7_;
hNIB5:
unset($cHoqT);
goto Huy3G;
Q8jmI:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto RDYLo;
RDYLo:
if ($WzL4Y) {
goto aPf0V;
}
goto UOF2o;
Fh_w1:
Vj4qZ:
goto yDDzE;
OHXiP:
$data["langs"][$cEX8Y]["rows"][] = array("link" => '', "name" => "Information data copy to sub-store", "old_value" => '', "value" => "Done", "changed" => '');
goto Fh_w1;
JynaZ:
$data["langs"][$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto OHXiP;
nB9tq:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_information_description SELECT information_id, '" . (int) $cEX8Y . "', '" . (int) $this->store . "', title, description, meta_title, meta_description, meta_keyword, seo_h1, seo_h2, seo_h3 FROM " . DB_PREFIX . "information_description d WHERE d.language_id = '" . (int) $cEX8Y . "'");
goto vx14K;
vx14K:
aPf0V:
goto JynaZ;
UOF2o:
$this->db->query("DELETE FROM " . DB_PREFIX . "seo_information_description WHERE language_id = '" . (int) $cEX8Y . "' AND store_id = '" . (int) $this->store . "'");
goto nB9tq;
yDDzE:
}
goto SCL65;
xIPh2:
UnhDU:
goto fLXvE;
jcF_i:
BT4Cv:
goto lT307;
OcWCp:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto Poeug;
Kv1v8:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE `key` = 'information_id' AND `value` = d.information_id AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto lirDp;
WQAih:
$pU5UN[$cEX8Y]["rows"] = array();
goto qCjo8;
H9yJK:
TIdBe:
goto Kv1v8;
UdUE3:
$pU5UN[$cEX8Y]["count"] = $j0nk6;
goto qIBQ_;
RZVFe:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto U0ovH;
}
goto n9GMi;
w1t43:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('information_id=', d.information_id) LIMIT 1), '') AS seo_keyword";
goto aa51h;
aNGll:
$kU4lM = $this->db->query("SELECT d.*, i.*" . $rvQsS . " FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_description d ON i.information_id = d.information_id WHERE d.language_id=" . (int) $cEX8Y . " ORDER BY d.information_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto H3J5K;
mRMad:
goto Kkm69;
goto w3UHA;
T0Tg2:
JNGt7:
goto ida2E;
n9GMi:
if ($this->multistore_mode) {
goto DqzR9;
}
goto GWDUf;
SIhEJ:
$kU4lM = $this->db->query("SELECT sd.*, i.*, sd.name as title, d.title as orig_title, d.description as orig_description " . $rvQsS . " FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_to_store s ON (i.information_id = s.information_id) LEFT JOIN " . DB_PREFIX . "seo_information_description sd ON (i.information_id = sd.information_id AND sd.language_id=" . (int) $cEX8Y . " AND sd.store_id = s.store_id) LEFT JOIN " . DB_PREFIX . "information_description d ON (i.information_id = d.information_id AND d.language_id=" . (int) $cEX8Y . ") WHERE s.store_id = " . (int) $this->store . " ORDER BY i.information_id,sd.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto QbD94;
qIQWu:
kUWye:
goto YpSvR;
w3UHA:
yQ1hS:
goto DMJSF;
MWDIk:
otZm4:
goto lY9LK;
S2gFc:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_to_store s ON (i.information_id = s.information_id) WHERE s.store_id = " . (int) $this->store)->row;
goto MWDIk;
tA28G:
P27JL:
goto UdUE3;
F0hI1:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('information_id=', d.information_id) AND (u.language_id = d.language_id OR u.language_id = 0) LIMIT 1), '') AS seo_keyword";
goto zn3X5;
YpSvR:
goto bowIv;
goto H9yJK;
qCjo8:
$j0nk6 = 0;
goto Kixr3;
N1Rj5:
if ($this->multistore_mode) {
goto v7e3K;
}
goto bEbmC;
qIBQ_:
hop00:
goto MQC9I;
ida2E:
if ($this->store) {
goto yQ1hS;
}
goto uVQmZ;
qxAhE:
goto e3v7A;
goto mUIBh;
SyqYc:
if (version_compare(VERSION, "4", ">=")) {
goto TIdBe;
}
goto RZVFe;
BNJqj:
YFyES:
goto mx3dj;
jmrrr:
U0ovH:
goto Dlt44;
mx3dj:
$kU4lM = $this->db->query("SELECT d.*, i.*" . $rvQsS . " FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_description d ON i.information_id = d.information_id LEFT JOIN " . DB_PREFIX . "information_to_store s ON (i.information_id = s.information_id) WHERE s.store_id = " . (int) $this->store . " AND d.language_id=" . (int) $cEX8Y . " ORDER BY d.information_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto a1lJu;
YC28T:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('information_id=', d.information_id) AND (u.store_id = s.store_id) LIMIT 1), '') AS seo_keyword";
goto NMFMB;
DMJSF:
$tn4M9 = "seo_information_description";
goto R8PUJ;
M30v_:
$tsmux = $this->request->post["mlseo_information_" . $f_XEr . "_pattern"];
goto lLLZE;
mUIBh:
DqzR9:
goto YC28T;
NMFMB:
e3v7A:
goto Qwdyj;
HqI1c:
$tsmux = $this->config->get("mlseo_information_" . $f_XEr . "_pattern");
goto V0vlv;
lirDp:
bowIv:
goto T0Tg2;
EPWPu:
AQQPp:
goto M30v_;
SQanh:
$pU5UN[$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto WQAih;
Xb6GO:
A9qyh:
goto F0hI1;
lLLZE:
pa3JX:
goto N1Rj5;
Poeug:
$this->config->set("mlseo_current_lang", $FoZfU[$cEX8Y]);
goto SQanh;
V0vlv:
goto pa3JX;
goto EPWPu;
zn3X5:
CQ0SC:
goto qxAhE;
cFRlD:
if ($this->multistore_mode) {
goto YFyES;
}
goto aNGll;
j6TJW:
if (!($f_XEr == "url")) {
goto JNGt7;
}
goto SyqYc;
FjUGf:
v7e3K:
goto S2gFc;
a1lJu:
NNrQg:
goto mRMad;
Dlt44:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('information_id=', d.information_id) AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto qIQWu;
aa51h:
goto CQ0SC;
goto Xb6GO;
bEbmC:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "information")->row;
goto FdsOp;
H3J5K:
goto NNrQg;
goto BNJqj;
QbD94:
Kkm69:
goto RDeV8;
lY9LK:
$this->total_items = $Yu8kb["total"];
goto iooIU;
uVQmZ:
$tn4M9 = "information_description";
goto mWfUo;
Qwdyj:
goto kUWye;
goto jmrrr;
Kixr3:
if (isset($this->request->post["mlseo_information_" . $f_XEr . "_pattern"])) {
goto AQQPp;
}
goto HqI1c;
FdsOp:
goto otZm4;
goto FjUGf;
mWfUo:
$zMXd8 = '';
goto cFRlD;
GWDUf:
if ($this->ml_mode) {
goto A9qyh;
}
goto w1t43;
RDeV8:
foreach ($kU4lM as $vLCNO) {
goto ilCwv;
N_Zaa:
goto wj1sn;
goto mttRC;
GCYAE:
JgMpy:
goto WPWY4;
pnMTI:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'information_id=" . $vLCNO["information_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto ss3Y5;
VCpY8:
if (!($vLCNO[$flqEP] && $QIJ2v && $f_XEr == "url" && $this->config->get("mlseo_backup"))) {
goto Rlped;
}
goto ex7Sb;
Gfnsx:
if ($WzL4Y) {
goto FIbCJ;
}
goto o250B;
Kznnu:
goto tpR8G;
goto eiQSe;
YFqqd:
wj1sn:
goto Kznnu;
x37qK:
goto DPNLf;
goto NPd0r;
RVkHy:
OR211:
goto jvbBy;
Ajtaz:
if ($WzL4Y) {
goto zXwPp;
}
goto eebB0;
IZD9K:
Tzmfk:
goto HGGGL;
t8oNL:
goto OR211;
goto RH1Ra;
DO83m:
goto Yo1pv;
goto OtTp5;
TJqjT:
i6_27:
goto n2YQw;
gChJz:
goto ldIBF;
goto PqYi6;
kGipY:
uJqzB:
goto W2p0O;
dLY4a:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'information_id=" . $vLCNO["information_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto YFqqd;
V1f_T:
if ($f_XEr == "full_desc") {
goto fqGuX;
}
goto ZYTeG;
ctTe4:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto yU3P9;
a9M5Q:
iV78t:
goto AEgwv;
A8oBg:
if (!($ZGEwe && $vLCNO["meta_description"])) {
goto pzdCS;
}
goto Q5ygE;
yU3P9:
if ($WzL4Y) {
goto arlGc;
}
goto dsh6H;
AAUwl:
zPut4:
goto jbbrJ;
vVuWC:
$j0nk6++;
goto Ts9xd;
mqM0Z:
UhPSQ:
goto s4dau;
WCaoP:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto pbgkm;
HGGGL:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $tsmux);
goto SJ73V;
dR6tT:
GC9GB:
goto DXQQS;
eiQSe:
mrplU:
goto D3tGq;
dnKFY:
$vLCNO["description"] = $vLCNO["orig_description"];
goto IZD9K;
W2p0O:
if (!$QIJ2v) {
goto Fc8Jj;
}
goto kGcW5;
k2lx3:
u6IKL:
goto ctTe4;
Ts9xd:
Fc8Jj:
goto VNQP9;
WPWY4:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto CmoeV;
}
goto FunEU;
afttI:
$this->session->data["seopackage_updated"]++;
goto vVuWC;
dTDEH:
DPNLf:
goto U3Zsv;
q_Ksh:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_information_description SET information_id = '" . (int) $vLCNO["information_id"] . "', store_id = '" . (int) $this->store . "', language_id = '" . (int) $cEX8Y . "'");
goto fUVtO;
o250B:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h2 = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto taiLM;
M92cI:
if ($f_XEr == "description") {
goto Eoi69;
}
goto V1f_T;
OSxFo:
if (!($ZGEwe && $vLCNO["meta_keyword"])) {
goto TLS1b;
}
goto h_92V;
YJN8c:
pKLVz:
goto x37qK;
WBvBx:
goto rb_iI;
goto N3zdW;
yzOpC:
pvDca:
goto P0gKR;
NKj9F:
O2xw_:
goto q9zXv;
YZa0I:
if (!($f_XEr != "url" && $this->multistore_mode && $this->store && !$WzL4Y && is_null($vLCNO["store_id"]))) {
goto qam18;
}
goto q_Ksh;
hvbZO:
goto WDFjR;
goto IVu2K;
FunEU:
goto rb_iI;
goto obqbx;
h0t1a:
FdeMp:
goto Zss_e;
lN6Bg:
if ($this->ml_mode) {
goto E5eiw;
}
goto elSHE;
jvbBy:
if (array_key_exists($flqEP, $vLCNO)) {
goto szLN9;
}
goto zhdaH;
ZkfWW:
hhN9t:
goto v_bTK;
P0gKR:
iHM8g:
goto wRLTA;
s4dau:
goto OR211;
goto Kd5Qj;
Kd5Qj:
riX3x:
goto OSxFo;
Up8tt:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto SKhh8;
Q5ygE:
goto rb_iI;
goto nyeNc;
Npexb:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto pLBfz;
wRLTA:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "information", $vLCNO["information_id"], $cEX8Y, $WzL4Y);
goto ntGu7;
lo2Si:
if ($WzL4Y) {
goto iHM8g;
}
goto eTDWs;
xWwXu:
goto OR211;
goto TJqjT;
Zss_e:
goto OR211;
goto NKj9F;
n5Nxh:
goto rb_iI;
goto MOvsd;
SlmmC:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'information_id=" . $vLCNO["information_id"] . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto YJN8c;
v_bTK:
goto pvDca;
goto nwBPc;
Pe9qC:
TLS1b:
goto RwI9d;
nwBPc:
uoEpV:
goto D2zZL;
hj19E:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h3 = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto D9xoe;
M4dy1:
if (!$this->config->get("mlseo_backup")) {
goto wDj4I;
}
goto Pec_1;
UQ3i9:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_keyword = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto yHmSk;
QiBBx:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto jA3bY;
}
goto NBfJh;
JI3IW:
wDj4I:
goto WoC1i;
aM0TN:
$QIJ2v = !($FhDKC === $vLCNO[$flqEP]);
goto QCALZ;
DXQQS:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'information_id=" . $vLCNO["information_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto ZkfWW;
mttRC:
jA3bY:
goto dLY4a;
E4Ukq:
szLN9:
goto aM0TN;
ijYM7:
if (!($ZGEwe && trim(strip_tags(html_entity_decode($vLCNO["description"], ENT_QUOTES, "UTF-8"))))) {
goto u6IKL;
}
goto GbbS2;
obqbx:
CmoeV:
goto lo2Si;
oBpWM:
tpR8G:
goto h0t1a;
VNQP9:
rb_iI:
goto A7DTK;
Wyg6O:
goto OR211;
goto Yrdim;
D9xoe:
IjCoT:
goto yHTRX;
yHmSk:
UFVWO:
goto Wyg6O;
Sxqkb:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto GC9GB;
}
goto Gj5eC;
OhmeK:
if ($f_XEr == "h1") {
goto O2xw_;
}
goto GKhKQ;
eyzwl:
iqDJm:
goto mN629;
hJY_K:
goto rb_iI;
goto eyzwl;
niQfQ:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($vLCNO["seo_keyword"]) . "', redirect = 'information/information&information_id=" . (int) $vLCNO["information_id"] . "', language_id = '" . (int) $cEX8Y . "'");
goto FzY49;
Qsluy:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_description = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto cqRlj;
FzY49:
Hjv22:
goto JI3IW;
ANYu5:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'information_id=" . $vLCNO["information_id"] . "' AND store_id = " . (int) $this->store);
goto dTDEH;
AEgwv:
if (!($ZGEwe && $vLCNO["seo_h2"])) {
goto Gu8eL;
}
goto WBvBx;
taiLM:
FIbCJ:
goto xWwXu;
KrBHO:
if ($f_XEr == "url") {
goto JgMpy;
}
goto OhmeK;
WgqSI:
WDFjR:
goto Ruo8q;
Pec_1:
if (!($vLCNO["seo_keyword"] && $vLCNO["seo_keyword"] != $FhDKC)) {
goto Hjv22;
}
goto niQfQ;
wFpiK:
$vLCNO["title"] = $vLCNO["orig_title"];
goto AAUwl;
eTDWs:
if (version_compare(VERSION, "4", ">=")) {
goto uoEpV;
}
goto Sxqkb;
pbgkm:
if ($WzL4Y) {
goto IjCoT;
}
goto hj19E;
cqRlj:
WDFSl:
goto t8oNL;
wV9YH:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'information_id=" . $vLCNO["information_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto ck1Qy;
jbbrJ:
if (!(empty($vLCNO["description"]) && isset($vLCNO["orig_description"]))) {
goto Tzmfk;
}
goto dnKFY;
GcX3h:
E5eiw:
goto SlmmC;
uTAAF:
if ($this->ml_mode) {
goto BJqKa;
}
goto nfyWR;
ilCwv:
$this->session->data["seopackage_processed"]++;
goto sTIzH;
nfyWR:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'information_id=" . $vLCNO["information_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto DO83m;
elSHE:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'information_id=" . $vLCNO["information_id"] . "'");
goto qbYIK;
ozCCO:
$FhDKC = mb_strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto WgqSI;
Yrdim:
Eoi69:
goto A8oBg;
IVu2K:
L_mSG:
goto ozCCO;
SKhh8:
if ($WzL4Y) {
goto WDFSl;
}
goto Qsluy;
RH1Ra:
fqGuX:
goto ijYM7;
kGcW5:
if (!defined("SEO_PACKAGE_CLI")) {
goto wjeJt;
}
goto ugkXa;
eebB0:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h1 = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Qu0OZ;
D2zZL:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'information_id' AND `value` = '" . $vLCNO["information_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto yzOpC;
NPd0r:
n4BtC:
goto ANYu5;
h_92V:
goto rb_iI;
goto Pe9qC;
MOvsd:
mS9oo:
goto WCaoP;
Hu7C0:
goto OR211;
goto a9M5Q;
dsh6H:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET description = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto np6p1;
fUVtO:
qam18:
goto KrBHO;
U3Zsv:
goto hhN9t;
goto dR6tT;
Qu0OZ:
zXwPp:
goto Hu7C0;
izQWu:
wjeJt:
goto afttI;
OtTp5:
BJqKa:
goto pnMTI;
BTO6q:
if (!($ZGEwe && $vLCNO["meta_title"])) {
goto R7xlV;
}
goto lCr0C;
WoC1i:
if (version_compare(VERSION, "4", ">=")) {
goto mrplU;
}
goto QiBBx;
ZYTeG:
goto OR211;
goto GCYAE;
EgTYM:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto Gfnsx;
IIdwO:
Rlped:
goto Oyaqi;
RwI9d:
if (function_exists("mb_strtolower")) {
goto L_mSG;
}
goto kMSzO;
bRq4e:
if (defined("SEO_PACKAGE_CLI")) {
goto uJqzB;
}
goto VCpY8;
q9zXv:
if (!($ZGEwe && $vLCNO["seo_h1"])) {
goto iqDJm;
}
goto hJY_K;
kMSzO:
$FhDKC = strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto hvbZO;
Lp5Rw:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_title = '" . $this->db->escape($FhDKC) . "' WHERE information_id = '" . $vLCNO["information_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto mqM0Z;
GKhKQ:
if ($f_XEr == "h2") {
goto iV78t;
}
goto j1gX_;
QCALZ:
Lrax5:
goto bRq4e;
ex7Sb:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/information/" . $this->edit_action, $this->token . "&information_id=" . $vLCNO["information_id"], "SSL"), "name" => $vLCNO["title"], "old_value" => (string) $vLCNO[$flqEP], "value" => "[backup url to redirect to new one]", "changed" => false);
goto IIdwO;
PqYi6:
mUlyN:
goto wV9YH;
yHTRX:
goto OR211;
goto KNDAb;
NBfJh:
if ($this->multistore_mode) {
goto mUlyN;
}
goto uTAAF;
VukLp:
if ($f_XEr == "title") {
goto Im1H6;
}
goto pf526;
qbYIK:
goto pKLVz;
goto GcX3h;
ugkXa:
$this->log("information." . $f_XEr . ": [" . $FoZfU[$cEX8Y] . "] " . $vLCNO["title"] . " => " . $FhDKC);
goto izQWu;
Ruo8q:
if ($WzL4Y) {
goto UFVWO;
}
goto UQ3i9;
np6p1:
arlGc:
goto RVkHy;
uJbIs:
goto Lrax5;
goto E4Ukq;
lCr0C:
goto rb_iI;
goto PBtEU;
nyeNc:
pzdCS:
goto Up8tt;
mN629:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto Ajtaz;
ck1Qy:
ldIBF:
goto N_Zaa;
Gj5eC:
if ($this->multistore_mode) {
goto n4BtC;
}
goto lN6Bg;
Oyaqi:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/information/" . $this->edit_action, $this->token . "&information_id=" . $vLCNO["information_id"], "SSL"), "name" => $vLCNO["title"], "old_value" => (string) $vLCNO[$flqEP], "value" => $FhDKC, "changed" => $QIJ2v);
goto kGipY;
pf526:
if ($f_XEr == "keyword") {
goto riX3x;
}
goto M92cI;
pLBfz:
if ($WzL4Y) {
goto UhPSQ;
}
goto Lp5Rw;
PBtEU:
R7xlV:
goto Npexb;
KNDAb:
Im1H6:
goto BTO6q;
ss3Y5:
Yo1pv:
goto gChJz;
sTIzH:
if (!(empty($vLCNO["title"]) && isset($vLCNO["orig_title"]))) {
goto zPut4;
}
goto wFpiK;
ntGu7:
if ($WzL4Y) {
goto FdeMp;
}
goto M4dy1;
N3zdW:
Gu8eL:
goto EgTYM;
n2YQw:
if (!($ZGEwe && $vLCNO["seo_h3"])) {
goto mS9oo;
}
goto n5Nxh;
zhdaH:
$QIJ2v = false;
goto uJbIs;
SJ73V:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformInformation($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto YZa0I;
D3tGq:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'information_id', `value` = '" . $vLCNO["information_id"] . "', language_id = '" . $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto oBpWM;
j1gX_:
if ($f_XEr == "h3") {
goto i6_27;
}
goto VukLp;
GbbS2:
goto rb_iI;
goto k2lx3;
A7DTK:
}
goto tA28G;
iooIU:
$rvQsS = '';
goto j6TJW;
R8PUJ:
$zMXd8 = "AND store_id = '" . (int) $this->store . "'";
goto SIhEJ;
MQC9I:
}
goto uarrZ;
MrdSD:
$this->load->model("localisation/language");
goto Nrq_1;
t_SA9:
return $data;
goto BaVKG;
hC8pR:
if (!($f_XEr == "store_copy")) {
goto asL77;
}
goto Q8jmI;
lT307:
$pU5UN = $data = array();
goto hC8pR;
uarrZ:
d1Puc:
goto Lc8tr;
Q6GRk:
asL77:
goto OcWCp;
SCL65:
XFz9n:
goto pbb_Y;
KKJzt:
return;
goto xIPh2;
vjUzL:
G4uyK:
goto jcF_i;
fLXvE:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto MrdSD;
Nrq_1:
$cHoqT = $this->model_localisation_language->getLanguages();
goto rfRmO;
rfRmO:
foreach ($cHoqT as $nDDFl) {
goto pNGg8;
xFPJi:
wLdNX:
goto IKN_C;
NYvlY:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto H0oBn;
wl8c0:
CvRKh:
goto ZqHvA;
pA6WO:
if (version_compare(VERSION, "2.2", ">=")) {
goto wLdNX;
}
goto NYvlY;
pNGg8:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto pA6WO;
IKN_C:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto wl8c0;
ZqHvA:
wSbe8:
goto dDQ3u;
H0oBn:
goto CvRKh;
goto xFPJi;
dDQ3u:
}
goto HjP8G;
b5Z7_:
if (isset($this->request->post["langs"])) {
goto UnhDU;
}
goto SHbOv;
HjP8G:
oAIbt:
goto hNIB5;
Huy3G:
switch ($f_XEr) {
case "url":
$flqEP = "seo_keyword";
goto BT4Cv;
case "h1":
$flqEP = "seo_h1";
goto BT4Cv;
case "h2":
$flqEP = "seo_h2";
goto BT4Cv;
case "h3":
$flqEP = "seo_h3";
goto BT4Cv;
case "title":
$flqEP = "meta_title";
goto BT4Cv;
case "keyword":
$flqEP = "meta_keyword";
goto BT4Cv;
case "description":
$flqEP = "meta_description";
goto BT4Cv;
case "full_desc":
$flqEP = "description";
goto BT4Cv;
}
goto vjUzL;
Lc8tr:
$data["langs"] =& $pU5UN;
goto t_SA9;
pbb_Y:
return $data;
goto Q6GRk;
SHbOv:
$data["langs"] = array();
goto KKJzt;
BaVKG:
}
public function generator_manufacturer($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto kpGnI;
R6Xfp:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto AmVfw;
whG2Z:
foreach ($cHoqT as $nDDFl) {
goto mbeli;
AI6qy:
goto P1pET;
goto HAHaf;
eX82c:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto AI6qy;
mbeli:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto C9r47;
ZIfkI:
Gfwgr:
goto dyFEV;
U6Pcl:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto Yr4Vw;
Yr4Vw:
P1pET:
goto ZIfkI;
C9r47:
if (version_compare(VERSION, "2.2", ">=")) {
goto bYGpL;
}
goto eX82c;
HAHaf:
bYGpL:
goto U6Pcl;
dyFEV:
}
goto aPX_B;
GCITR:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto GE107;
JP1DX:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_manufacturer_description SELECT manufacturer_id, '" . (int) $cEX8Y . "', '" . (int) $this->store . "', title, description, meta_title, meta_description, meta_keyword, seo_h1, seo_h2, seo_h3 FROM " . DB_PREFIX . "seo_manufacturer_description d WHERE d.language_id = '" . (int) $cEX8Y . "' AND d.store_id = '0'");
goto aVsOi;
aVsOi:
al1QR:
goto BUJ_w;
BUJ_w:
$data["langs"][$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto GgOv4;
GgOv4:
$data["langs"][$cEX8Y]["rows"][] = array("link" => '', "name" => "manufacturer data copy to sub-store", "old_value" => '', "value" => "Done", "changed" => '');
goto WsgrB;
a9YxD:
$this->db->query("DELETE FROM " . DB_PREFIX . "seo_manufacturer_description WHERE language_id = '" . (int) $cEX8Y . "' AND store_id = '" . (int) $this->store . "'");
goto JP1DX;
WsgrB:
Xb9db:
goto KE5yc;
GE107:
if ($WzL4Y) {
goto al1QR;
}
goto a9YxD;
KE5yc:
}
goto x5V2s;
V9syE:
xzpsm:
goto IfjjF;
o8ovA:
$cHoqT = $this->model_localisation_language->getLanguages();
goto whG2Z;
HoEq4:
if (!($f_XEr == "store_copy")) {
goto nEIDD;
}
goto GCITR;
O_vtk:
$data["langs"] =& $pU5UN;
goto hnzk0;
gj0rO:
return $data;
goto kzbRM;
x5V2s:
csQNc:
goto gj0rO;
LoNQ5:
$data["langs"] = array();
goto ArVo9;
IfjjF:
AGL7K:
goto CqVQc;
aWMY_:
if (isset($this->request->post["langs"])) {
goto zMrbX;
}
goto LoNQ5;
B10sO:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto TaJCh;
R6XAC:
$tsmux = $this->config->get("mlseo_manufacturer_" . $f_XEr . "_pattern");
goto tWvbk;
xFGqC:
$tn4M9 = "seo_manufacturer_description";
goto aCeEs;
E7KmA:
goto wHbRF;
goto K8q2U;
mBuC4:
VCbVk:
goto xqiuS;
csjAT:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('manufacturer_id=', m.manufacturer_id) AND (u.language_id = " . (int) $cEX8Y . " OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto GPriK;
ndHHh:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('manufacturer_id=', m.manufacturer_id) AND (u.language_id = " . (int) $cEX8Y . " OR u.language_id = 0) LIMIT 1), '') AS seo_keyword";
goto M_fkS;
WHryM:
if (isset($this->request->post["mlseo_manufacturer_" . $f_XEr . "_pattern"])) {
goto myUaJ;
}
goto R6XAC;
TaJCh:
$this->config->set("mlseo_current_lang", $FoZfU[$cEX8Y]);
goto pKc74;
VU6ET:
foreach ($kU4lM as $vLCNO) {
goto HSCdD;
XPSzn:
k84zE:
goto vnuHz;
tTKXa:
if ($this->multistore_mode) {
goto Wy1cD;
}
goto flNdz;
gKxDc:
goto eyrHo;
goto q2VW5;
V9KRS:
FzD5l:
goto WFqbc;
V3WnQ:
FYNK1:
goto nZ1Y3;
L1gfQ:
Owo_d:
goto q5j4m;
gwq0G:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto xjOPD;
MHAhn:
goto jFyr6;
goto zv2Vd;
zs4DW:
$FhDKC = mb_strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto Prxmm;
GUZbD:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto pGvBU;
cjr6G:
hoWNV:
goto MHAhn;
uLk6V:
$this->session->data["seopackage_updated"]++;
goto h0kIZ;
zv2Vd:
mDDMx:
goto yuCy1;
lOpk1:
if (!($ZGEwe && $vLCNO["meta_title"])) {
goto jhseA;
}
goto gKxDc;
E0NIm:
if ($WzL4Y) {
goto FYNK1;
}
goto XJ53b;
CZxSc:
x87Hg:
goto nPsey;
ptd7x:
rvnON:
goto drG2K;
vuxr6:
if ($WzL4Y) {
goto sq_Fr;
}
goto QQO3M;
ogEBK:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto MxqV9;
PoYFQ:
if (!(empty($vLCNO["name"]) && isset($vLCNO["orig_name"]))) {
goto aF5yw;
}
goto NSnk_;
KCKCb:
wnay_:
goto GL2ZE;
kmuv4:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto jLfPg;
}
goto n83Sv;
vV51s:
O08d6:
goto Xk7Co;
P0MYK:
if ($f_XEr == "h3") {
goto nUGSC;
}
goto cPtQU;
UAHUm:
a02N1:
goto qKOYw;
zacBu:
goto eyrHo;
goto X_5aF;
kHMK0:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto N3tf4;
QEO14:
Khhfu:
goto NMklP;
w_zH7:
goto rb_3D;
goto fxbzU;
DvLDi:
if (!(!$WzL4Y && is_null($vLCNO["store_id"]))) {
goto QnA9A;
}
goto eUkjr;
NMVYF:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto V9KRS;
sxltL:
if ($f_XEr == "full_desc") {
goto TWAfm;
}
goto PyT3L;
FeJdi:
VTTwV:
goto K_z01;
G12mV:
bp0Uj:
goto uLk6V;
SLz9H:
goto eyrHo;
goto SikiP;
yjYMi:
if (!($ZGEwe && $vLCNO["seo_h2"])) {
goto bhuHu;
}
goto TYOs4;
Qoz2l:
goW3S:
goto X6AWH;
flNdz:
if ($this->ml_mode) {
goto HvI84;
}
goto a4350;
Lm1V2:
if (!($ZGEwe && $vLCNO["seo_h3"])) {
goto X2JTp;
}
goto zacBu;
HthjQ:
if ($this->ml_mode) {
goto bYsPk;
}
goto kwMb5;
yuCy1:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'manufacturer_id' AND `value` = '" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto fSDeg;
nKFkR:
goto eyrHo;
goto p5MfC;
LaPls:
$QIJ2v = false;
goto z3jGL;
UI_3i:
UUe1O:
goto lOpk1;
AJZq1:
goto eyrHo;
goto z3aNZ;
BlxDm:
goto aeYok;
goto CZxSc;
xblnQ:
$FhDKC = str_replace("[current]", $vLCNO[$flqEP], $tsmux);
goto noxqO;
gYi4_:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto aqCPg;
}
goto AJZq1;
a_R6K:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h3 = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto HNt3W;
Ismpx:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "manufacturer", $vLCNO["manufacturer_id"], $cEX8Y, $WzL4Y);
goto E0NIm;
vdlad:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto Qj3t0;
qmKNR:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_keyword = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto FeJdi;
K_z01:
goto SVh7U;
goto eXagY;
XJ53b:
if (!$this->config->get("mlseo_backup")) {
goto RZ0fP;
}
goto tqqWC;
sIHqx:
if ($f_XEr == "url") {
goto iXRqB;
}
goto zYldN;
Qj3t0:
if ($WzL4Y) {
goto o3xAz;
}
goto a_R6K;
dMil9:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto IJ_Zu;
}
goto tTKXa;
RNwZb:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/manufacturer/" . $this->edit_action, $this->token . "&manufacturer_id=" . $vLCNO["manufacturer_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => "[backup url to redirect to new one]", "changed" => false);
goto PqaHd;
q5j4m:
goto hoWNV;
goto zDptp;
vwEBC:
if (function_exists("mb_strtolower")) {
goto bWrS2;
}
goto VD327;
nv8Uq:
goto eyrHo;
goto bzCrX;
zDptp:
jLfPg:
goto THBYH;
w1tI5:
goto SVh7U;
goto UI_3i;
h0kIZ:
$j0nk6++;
goto y5eM6;
fSDeg:
jFyr6:
goto pVSV0;
le5kA:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($vLCNO["seo_keyword"]) . "', redirect = 'product/manufacturer&manufacturer_id=" . (int) $vLCNO["manufacturer_id"] . "', language_id = '" . (int) $cEX8Y . "'");
goto ptd7x;
Z5ScK:
xmifD:
goto pl4kH;
X_5aF:
X2JTp:
goto vdlad;
VD327:
$FhDKC = strtolower(htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8"));
goto xGpwF;
nPsey:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'manufacturer_id', `value` = '" . $vLCNO["manufacturer_id"] . "', language_id = '" . $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto gCdPz;
QQO3M:
if (version_compare(VERSION, "4", ">=")) {
goto mDDMx;
}
goto kmuv4;
UUhd4:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_title = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto XPSzn;
WFqbc:
goto Owo_d;
goto bq_Me;
vZY7I:
goto yFVtz;
goto Dmfac;
NSnk_:
$vLCNO["name"] = $vLCNO["orig_name"];
goto vQAzr;
dyT40:
if (!$QIJ2v) {
goto QYd_m;
}
goto EUIep;
eT3wF:
TWAfm:
goto slEir;
oPAVU:
goto eyrHo;
goto Qoz2l;
vnuHz:
goto SVh7U;
goto QEO14;
HNt3W:
o3xAz:
goto w1tI5;
slEir:
if (!($ZGEwe && trim(strip_tags(html_entity_decode($vLCNO["description"], ENT_QUOTES, "UTF-8"))))) {
goto goW3S;
}
goto oPAVU;
PyT3L:
goto SVh7U;
goto zM1Uy;
cPtQU:
if ($f_XEr == "title") {
goto UUe1O;
}
goto PBQis;
Rb7kW:
if (!($vLCNO[$flqEP] && $QIJ2v && $f_XEr == "url" && $this->config->get("mlseo_backup"))) {
goto YkGP2;
}
goto RNwZb;
BZpMi:
Wy1cD:
goto tlR6d;
kvl3N:
bhuHu:
goto kHMK0;
bzCrX:
hlE5W:
goto vwEBC;
qKOYw:
goto SVh7U;
goto eT3wF;
pGvBU:
yFVtz:
goto BlxDm;
rZS32:
if ($WzL4Y) {
goto xmifD;
}
goto yS4dw;
N3tf4:
if ($WzL4Y) {
goto uGt9I;
}
goto AuS95;
xGpwF:
goto rT0C8;
goto toXgc;
bGHw1:
uGt9I:
goto pjrfe;
fxbzU:
HvI84:
goto MJTKm;
X6AWH:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto aF2Hu;
nZ1Y3:
goto SVh7U;
goto KCKCb;
zM1Uy:
iXRqB:
goto gYi4_;
yS4dw:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h1 = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto Z5ScK;
Prxmm:
rT0C8:
goto f6Mc3;
kwMb5:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "'");
goto jee8f;
ngMoi:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET description = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto vV51s;
zYldN:
if ($f_XEr == "h1") {
goto wnay_;
}
goto Kxg8K;
eUkjr:
$this->db->query("INSERT INTO " . DB_PREFIX . "seo_manufacturer_description SET manufacturer_id = '" . (int) $vLCNO["manufacturer_id"] . "', store_id = '" . (int) $this->store . "', language_id = '" . (int) $cEX8Y . "'");
goto QVgr3;
tSfo0:
rb_3D:
goto Kpzvo;
MJTKm:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', language_id = '" . (int) $cEX8Y . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto tSfo0;
TYOs4:
goto eyrHo;
goto kvl3N;
un6gW:
nUGSC:
goto Lm1V2;
xZYkv:
if (!($ZGEwe && $vLCNO["meta_description"])) {
goto gdCwb;
}
goto nKFkR;
apBWM:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store);
goto L1gfQ;
qbxRB:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET meta_description = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto UAHUm;
AuS95:
$this->db->query("UPDATE " . DB_PREFIX . $tn4M9 . " SET seo_h2 = '" . $this->db->escape($FhDKC) . "' WHERE manufacturer_id = '" . $vLCNO["manufacturer_id"] . "' AND language_id = '" . (int) $cEX8Y . "' " . $zMXd8);
goto bGHw1;
y5eM6:
QYd_m:
goto WWbPd;
NMklP:
if (!($ZGEwe && $vLCNO["meta_keyword"])) {
goto hlE5W;
}
goto nv8Uq;
SikiP:
h2U0B:
goto EAHeU;
THBYH:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto cjr6G;
pjrfe:
goto SVh7U;
goto un6gW;
xjOPD:
if ($WzL4Y) {
goto a02N1;
}
goto qbxRB;
PBQis:
if ($f_XEr == "keyword") {
goto Khhfu;
}
goto umL61;
z3aNZ:
aqCPg:
goto vuxr6;
eXagY:
ml1EL:
goto xZYkv;
vQAzr:
aF5yw:
goto xblnQ;
z3jGL:
goto iK3_u;
goto beDYk;
noxqO:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformManufacturer($FhDKC, $cEX8Y, $vLCNO, $this->store);
goto DvLDi;
f6Mc3:
if ($WzL4Y) {
goto VTTwV;
}
goto qmKNR;
umL61:
if ($f_XEr == "description") {
goto ml1EL;
}
goto sxltL;
Dmfac:
IJ_Zu:
goto GUZbD;
Eoufv:
gTzDL:
goto vZY7I;
NFmw9:
bYsPk:
goto NMVYF;
I4IXb:
if (defined("SEO_PACKAGE_CLI")) {
goto DgYvc;
}
goto Rb7kW;
nW7u8:
$this->log("manufacturer." . $f_XEr . ": [" . $FoZfU[$cEX8Y] . "] " . $vLCNO["name"] . " => " . $FhDKC);
goto G12mV;
ZgIvW:
iK3_u:
goto I4IXb;
qv_Rh:
ygrvk:
goto yjYMi;
EAHeU:
$FhDKC = htmlspecialchars($FhDKC, ENT_COMPAT, "UTF-8");
goto rZS32;
a4350:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto w_zH7;
gCdPz:
aeYok:
goto V3WnQ;
WWbPd:
eyrHo:
goto p3mT9;
drG2K:
RZ0fP:
goto tfhcu;
pl4kH:
goto SVh7U;
goto qv_Rh;
aF2Hu:
if ($WzL4Y) {
goto O08d6;
}
goto ngMoi;
AYUjN:
DgYvc:
goto dyT40;
HSCdD:
$this->session->data["seopackage_processed"]++;
goto PoYFQ;
bq_Me:
FDDnX:
goto apBWM;
tfhcu:
if (version_compare(VERSION, "4", ">=")) {
goto x87Hg;
}
goto dMil9;
n83Sv:
if ($this->multistore_mode) {
goto FDDnX;
}
goto HthjQ;
GL2ZE:
if (!($ZGEwe && $vLCNO["seo_h1"])) {
goto h2U0B;
}
goto SLz9H;
jee8f:
goto FzD5l;
goto NFmw9;
tqqWC:
if (!($vLCNO["seo_keyword"] && $vLCNO["seo_keyword"] != $FhDKC)) {
goto rvnON;
}
goto le5kA;
MxqV9:
if ($WzL4Y) {
goto k84zE;
}
goto UUhd4;
PqaHd:
YkGP2:
goto N72oj;
Kxg8K:
if ($f_XEr == "h2") {
goto ygrvk;
}
goto P0MYK;
EUIep:
if (!defined("SEO_PACKAGE_CLI")) {
goto bp0Uj;
}
goto nW7u8;
Kpzvo:
goto gTzDL;
goto BZpMi;
tlR6d:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $this->store . "'");
goto Eoufv;
aYzZD:
$QIJ2v = !($FhDKC === $vLCNO[$flqEP]);
goto ZgIvW;
toXgc:
bWrS2:
goto zs4DW;
QVgr3:
QnA9A:
goto sIHqx;
p5MfC:
gdCwb:
goto gwq0G;
beDYk:
OUd75:
goto aYzZD;
uBGQ2:
if (array_key_exists($flqEP, $vLCNO)) {
goto OUd75;
}
goto LaPls;
pVSV0:
sq_Fr:
goto Ismpx;
N72oj:
$pU5UN[$cEX8Y]["rows"][] = array("link" => $this->url->link("catalog/manufacturer/" . $this->edit_action, $this->token . "&manufacturer_id=" . $vLCNO["manufacturer_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => (string) $vLCNO[$flqEP], "value" => $FhDKC, "changed" => $QIJ2v);
goto AYUjN;
Xk7Co:
SVh7U:
goto uBGQ2;
q2VW5:
jhseA:
goto ogEBK;
p3mT9:
}
goto gqZHb;
GBf2R:
if ($this->multistore_mode) {
goto wVoGa;
}
goto E6UVc;
AJUq6:
goto VCbVk;
goto nRK10;
sFFyz:
if (version_compare(VERSION, "4", ">=")) {
goto zGXBv;
}
goto LrB2Y;
tWvbk:
goto wQyof;
goto Efuzv;
WavYC:
wQyof:
goto uk6Uq;
LrB2Y:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto V_nS6;
}
goto GBf2R;
Zjhzd:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE `key` = 'manufacturer_id' AND `value` = m.manufacturer_id AND (u.language_id = d.language_id OR u.language_id = 0) AND (u.store_id = " . (int) $this->store . ") LIMIT 1), '') AS seo_keyword";
goto y2SCr;
nDBzm:
I3jff:
goto xFGqC;
Ypfwy:
aUH6s:
goto LbxsQ;
y2SCr:
b3oIV:
goto nDBzm;
GPriK:
RPzvF:
goto Lp9qM;
TaisF:
if (!($f_XEr == "url")) {
goto I3jff;
}
goto sFFyz;
nRK10:
zltED:
goto fosQL;
wx7AT:
iZhbb:
goto cq_ay;
pKc74:
$pU5UN[$cEX8Y]["lang_img"] = $Z2o6y[$cEX8Y];
goto Fc3gn;
T4Oft:
$tsmux = $this->request->post["mlseo_manufacturer_" . $f_XEr . "_pattern"];
goto WavYC;
k9yG7:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('manufacturer_id=', m.manufacturer_id) LIMIT 1), '') AS seo_keyword";
goto E7KmA;
E6UVc:
if ($this->ml_mode) {
goto vRUh2;
}
goto k9yG7;
fosQL:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "manufacturer m LEFT JOIN " . DB_PREFIX . "manufacturer_to_store s ON (m.manufacturer_id = s.manufacturer_id) WHERE s.store_id = " . (int) $this->store)->row;
goto mBuC4;
dGLLp:
$j0nk6 = 0;
goto WHryM;
R7XAU:
$pU5UN[$cEX8Y]["count"] = $j0nk6;
goto Ypfwy;
PrQvs:
V_nS6:
goto csjAT;
Lp9qM:
goto b3oIV;
goto ENZKs;
ENZKs:
zGXBv:
goto Zjhzd;
K8q2U:
vRUh2:
goto ndHHh;
aCeEs:
$zMXd8 = "AND store_id = '" . (int) $this->store . "'";
goto dxDS2;
xqiuS:
$this->total_items = $Yu8kb["total"];
goto hQcJA;
cq_ay:
goto RPzvF;
goto PrQvs;
Efuzv:
myUaJ:
goto T4Oft;
L_uJx:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "manufacturer")->row;
goto AJUq6;
b6Mf0:
$rvQsS = ",IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " u WHERE query = CONCAT('manufacturer_id=', m.manufacturer_id) AND (u.store_id = s.store_id) LIMIT 1), '') AS seo_keyword";
goto wx7AT;
gqZHb:
fLy8g:
goto R7XAU;
M_fkS:
wHbRF:
goto QmvCv;
hQcJA:
$rvQsS = '';
goto TaisF;
dxDS2:
$kU4lM = $this->db->query("SELECT d.*, m.*, d.name as title, m.name as orig_name " . $rvQsS . " FROM " . DB_PREFIX . "manufacturer m LEFT JOIN " . DB_PREFIX . "manufacturer_to_store s ON (m.manufacturer_id = s.manufacturer_id) LEFT JOIN " . DB_PREFIX . "seo_manufacturer_description d ON (m.manufacturer_id = d.manufacturer_id AND d.language_id=" . (int) $cEX8Y . " AND d.store_id = s.store_id) WHERE s.store_id = " . (int) $this->store . " ORDER BY m.manufacturer_id,d.language_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto VU6ET;
QmvCv:
goto iZhbb;
goto HHwAx;
uk6Uq:
if ($this->multistore_mode) {
goto zltED;
}
goto L_uJx;
HHwAx:
wVoGa:
goto b6Mf0;
Fc3gn:
$pU5UN[$cEX8Y]["rows"] = array();
goto dGLLp;
LbxsQ:
}
goto yWX7e;
yWX7e:
QgGRt:
goto O_vtk;
kpGnI:
if (!version_compare(VERSION, "3", "<")) {
goto TWeio;
}
goto l40Kj;
CqVQc:
$pU5UN = $data = array();
goto HoEq4;
SOWzi:
switch ($f_XEr) {
case "url":
$flqEP = "seo_keyword";
goto AGL7K;
case "h1":
$flqEP = "seo_h1";
goto AGL7K;
case "h2":
$flqEP = "seo_h2";
goto AGL7K;
case "h3":
$flqEP = "seo_h3";
goto AGL7K;
case "title":
$flqEP = "meta_title";
goto AGL7K;
case "keyword":
$flqEP = "meta_keyword";
goto AGL7K;
case "description":
$flqEP = "meta_description";
goto AGL7K;
case "full_desc":
$flqEP = "description";
goto AGL7K;
}
goto V9syE;
kzbRM:
nEIDD:
goto B10sO;
l40Kj:
TWeio:
goto aWMY_;
ArVo9:
return;
goto F7jhX;
WwARM:
unset($cHoqT);
goto SOWzi;
hnzk0:
return $data;
goto YwrYi;
F7jhX:
zMrbX:
goto R6Xfp;
aPX_B:
LLDRu:
goto WwARM;
AmVfw:
$this->load->model("localisation/language");
goto o8ovA;
YwrYi:
}
public function generator_manufacturer_old($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto CmihL;
gvcGN:
$kU4lM = $this->db->query("SELECT name, manufacturer_id, IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE query = CONCAT('manufacturer_id=',manufacturer_id) LIMIT 1), '') AS seo_keyword FROM " . DB_PREFIX . "manufacturer ORDER BY manufacturer_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto RtEsw;
F7zIr:
$pU5UN["lang_img"] = '';
goto VIpmT;
VIpmT:
$pU5UN["no_old"] = true;
goto PuAXi;
tCKb3:
$pU5UN = $data = array();
goto F7zIr;
M_AEB:
if (isset($this->request->post["mlseo_manufacturer_" . $f_XEr . "_pattern"])) {
goto O3Ae9;
}
goto efkxM;
sfp6n:
$this->total_items = $Yu8kb["total"];
goto pqHrf;
YFV53:
Pqx3w:
goto Tt5RH;
R207u:
$data["langs"][0] =& $pU5UN;
goto tqHdG;
DmClT:
giRfh:
goto R207u;
mE8M2:
O3Ae9:
goto gKUbc;
jPDXc:
j3otG:
goto Rz2yX;
RtEsw:
goto tXDW2;
goto jPDXc;
QO7Y4:
foreach ($kU4lM as $vLCNO) {
goto fL6VA;
MyfRY:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->transformManufacturer($FhDKC, false, $vLCNO, $this->store);
goto jFOIg;
KiqH9:
goto hpli9;
goto rnNNc;
aFSZY:
goto bQEd9;
goto fZmQ6;
xizts:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', language_id = 0, keyword = '" . $this->db->escape($FhDKC) . "'");
goto rXCS3;
y1B5K:
goto Np5jS;
goto seMLn;
dbcQA:
bQEd9:
goto sh0Dh;
czoUE:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto gs7q8;
CY0vo:
fenAL:
goto dbcQA;
bZZiO:
if (version_compare(VERSION, "3", ">=")) {
goto R_aBh;
}
goto Lkdul;
jFOIg:
if (!($f_XEr == "url")) {
goto Ik8H9;
}
goto LQjt7;
vqG8i:
lDmxK:
goto xizts;
ARRHW:
Zp4tH:
goto tjcoG;
seMLn:
kQlyX:
goto uO_4C;
gs7q8:
hpli9:
goto AZafR;
M8Y2e:
if (version_compare(VERSION, "4", ">=")) {
goto Zp4tH;
}
goto bZZiO;
Ge4B0:
iU5iD:
goto OXqSY;
IS6QD:
Ik8H9:
goto sY42B;
SMCQ5:
$this->log("manufacturer." . $f_XEr . ": " . $vLCNO["name"] . " => " . $FhDKC);
goto CY0vo;
AZafR:
goto iU5iD;
goto ARRHW;
tjcoG:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'manufacturer_id' AND `value` = '" . $vLCNO["manufacturer_id"] . "' AND store_id = " . (int) $this->store . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto Ge4B0;
fZmQ6:
b7t4m:
goto ikR6D;
MaL_I:
if (!defined("SEO_PACKAGE_CLI")) {
goto fenAL;
}
goto SMCQ5;
rXCS3:
Qxks5:
goto y1B5K;
ETfvH:
goto Qxks5;
goto vqG8i;
pS1zy:
gD7nM:
goto MaL_I;
ikR6D:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, "manufacturer", $vLCNO["manufacturer_id"], '', $WzL4Y);
goto s6PD7;
uO_4C:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'manufacturer_id', `value` = '" . $vLCNO["manufacturer_id"] . "', language_id = 0, keyword = '" . $this->db->escape($FhDKC) . "'");
goto sZ48k;
fL6VA:
$FhDKC = str_replace("[current]", $vLCNO["seo_keyword"], $tsmux);
goto MyfRY;
OXqSY:
if (version_compare(VERSION, "4", ">=")) {
goto kQlyX;
}
goto LlhKM;
rnNNc:
R_aBh:
goto czoUE;
LlhKM:
if ($this->ml_mode) {
goto lDmxK;
}
goto JAfyn;
s6PD7:
if ($WzL4Y) {
goto l9jwy;
}
goto M8Y2e;
sZ48k:
Np5jS:
goto B2kPS;
LQjt7:
if (!($ZGEwe && $vLCNO["seo_keyword"])) {
goto b7t4m;
}
goto aFSZY;
Lkdul:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "'");
goto KiqH9;
RPhWj:
$pU5UN["rows"][] = array("link" => $this->url->link("catalog/manufacturer/" . $this->edit_action, $this->token . "&manufacturer_id=" . $vLCNO["manufacturer_id"], "SSL"), "name" => $vLCNO["name"], "old_value" => $vLCNO["seo_keyword"], "value" => $FhDKC, "changed" => $vLCNO["seo_keyword"] != $FhDKC);
goto pS1zy;
B2kPS:
l9jwy:
goto IS6QD;
JAfyn:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'manufacturer_id=" . $vLCNO["manufacturer_id"] . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto ETfvH;
sY42B:
if (defined("SEO_PACKAGE_CLI")) {
goto gD7nM;
}
goto RPhWj;
sh0Dh:
}
goto DmClT;
rUCUS:
goto Pqx3w;
goto mE8M2;
pqHrf:
if (version_compare(VERSION, "4", ">=")) {
goto j3otG;
}
goto gvcGN;
CmihL:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto tCKb3;
PuAXi:
$pU5UN["rows"] = array();
goto M_AEB;
Rz2yX:
$kU4lM = $this->db->query("SELECT name, manufacturer_id, IFNULL((SELECT keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = 'manufacturer_id' AND `value` = manufacturer_id LIMIT 1), '') AS seo_keyword FROM " . DB_PREFIX . "manufacturer ORDER BY manufacturer_id LIMIT " . $this->start . "," . $this->limit)->rows;
goto BX7F7;
BX7F7:
tXDW2:
goto QO7Y4;
tqHdG:
return $data;
goto NGYDu;
gKUbc:
$tsmux = $this->request->post["mlseo_manufacturer_" . $f_XEr . "_pattern"];
goto YFV53;
efkxM:
$tsmux = $this->config->get("mlseo_manufacturer_" . $f_XEr . "_pattern");
goto rUCUS;
Tt5RH:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . "manufacturer")->row;
goto sfp6n;
NGYDu:
}
public function generator_redirect($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto k57SY;
r6XyT:
foreach ($cHoqT as $nDDFl) {
goto lx4y6;
lx4y6:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto i7Xug;
i7Xug:
if (version_compare(VERSION, "2.2", ">=")) {
goto MXEi4;
}
goto Shs9g;
G2jKU:
zW0g_:
goto hj4Q0;
cdapl:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto dJsHR;
dJsHR:
pA9K9:
goto G2jKU;
Shs9g:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto ntGnq;
ntGnq:
goto pA9K9;
goto kzmEq;
kzmEq:
MXEi4:
goto cdapl;
hj4Q0:
}
goto Ag7qh;
v0MKs:
$this->load->model("localisation/language");
goto hw6_F;
Ag7qh:
G6FQf:
goto iNcPo;
w0_i9:
return $data;
goto pLxAL;
k57SY:
$data = array();
goto bk3PC;
iNcPo:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto a2ePf;
GsgTV:
require_once DIR_CATALOG . "model/design/seo_url.php";
goto NCf2z;
O60Rf:
$this->config->set("mlseo_cache", false);
goto vGa68;
NCf2z:
dav8G:
goto Pdrow;
IsJMn:
$kU4lM = $this->getCategories(0, '', " LIMIT " . $this->start . "," . $this->limit);
goto DiUnN;
rUHdK:
$data["langs"][$cEX8Y]["lang_img"] = false;
goto u1rXJ;
mYHJX:
if (!($YRwDl == "manufacturer")) {
goto gtJDB;
}
goto rUHdK;
i_AxA:
$YRwDl = $f_XEr;
goto YiFKU;
mNsLk:
$data["langs"][$cEX8Y] = $pU5UN;
goto wwHWi;
bL5cc:
$pU5UN["no_old"] = true;
goto omeZE;
gYNhn:
psezH:
goto mNsLk;
Et_IL:
sIGFg:
goto IsJMn;
YiFKU:
switch ($YRwDl) {
case "information":
goto xIp1W;
VBUp4:
$flqEP = $T7SSU = "information_id";
goto u5SNC;
xIp1W:
$jw1cu = "information/information";
goto VBUp4;
u5SNC:
goto jg3gj;
goto MYRn3;
MYRn3:
case "product":
goto BE_Vf;
BE_Vf:
$jw1cu = "product/product";
goto fQ0h0;
yaPYj:
goto jg3gj;
goto BqK2s;
fQ0h0:
$flqEP = $T7SSU = "product_id";
goto yaPYj;
BqK2s:
case "category":
goto Lb_9u;
sni9m:
goto jg3gj;
goto HDaIy;
WedO1:
$flqEP = "category_id";
goto RoBjO;
RoBjO:
$T7SSU = "path";
goto sni9m;
Lb_9u:
$jw1cu = "product/category";
goto WedO1;
HDaIy:
case "manufacturer":
goto gfw0T;
wZkqZ:
goto jg3gj;
goto Tx0Xe;
gfw0T:
$jw1cu = "product/manufacturer/info";
goto DMbP_;
DMbP_:
$flqEP = $T7SSU = "manufacturer_id";
goto wZkqZ;
Tx0Xe:
}
goto SV6KT;
AL5sX:
$this->total_items = $Yu8kb["total"];
goto S4cKm;
S4cKm:
if ($YRwDl == "category") {
goto sIGFg;
}
goto h27E8;
a2ePf:
$pU5UN = array();
goto ziCW8;
uJayG:
jg3gj:
goto N4F_1;
wwHWi:
$data["langs"][$cEX8Y]["count"] = count($pU5UN["rows"]);
goto mYHJX;
e2w0m:
$this->session->data["language"] = $FoZfU[$cEX8Y];
goto i_AxA;
AUT2P:
if (!version_compare(VERSION, "4", ">=")) {
goto dav8G;
}
goto GsgTV;
Pj2It:
goto vRWAc;
goto Et_IL;
h27E8:
$kU4lM = $this->db->query("SELECT " . $flqEP . " FROM " . DB_PREFIX . $YRwDl . " ORDER BY " . $flqEP . " LIMIT " . $this->start . "," . $this->limit)->rows;
goto Pj2It;
omeZE:
$pU5UN["rows"] = array();
goto O60Rf;
N4F_1:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . $YRwDl)->row;
goto AL5sX;
vGa68:
$this->config->set("config_language_id", (int) $cEX8Y);
goto n3Eff;
n3Eff:
$this->config->set("config_language", $FoZfU[$cEX8Y]);
goto e2w0m;
DiUnN:
vRWAc:
goto AUT2P;
D1CII:
aYf1d:
goto QOOVW;
ziCW8:
$pU5UN["lang_img"] = $Z2o6y[$cEX8Y];
goto bL5cc;
vBHBL:
gtJDB:
goto D1CII;
SV6KT:
TMNYa:
goto uJayG;
u1rXJ:
goto vzhcW;
goto vBHBL;
Pdrow:
foreach ($kU4lM as $vLCNO) {
goto wrdqW;
I9IOv:
$Z5vp1 = $this->front_url->link($jw1cu, $T7SSU . "=" . $vLCNO[$T7SSU]);
goto HlZ2r;
G3cZK:
if (version_compare(VERSION, "4", ">=")) {
goto aF5yJ;
}
goto n9fAc;
n9fAc:
$Z5vp1 = $this->front_url->link($jw1cu, $T7SSU . "=" . $vLCNO[$T7SSU]);
goto zBJkO;
aJxWQ:
if (!(strpos($Z5vp1, "index.php?route=") !== false)) {
goto T2icx;
}
goto PYAw3;
HM_1i:
$this->config->set("config_store_id", $this->store);
goto G3cZK;
fa1Ui:
$QIJ2v = 0;
goto wNtLu;
pVGvU:
aF5yJ:
goto v0Xdk;
wXrTB:
$this->session->data["seopackage_updated"]++;
goto Xj8o0;
PYAw3:
goto V30En;
goto Jiisl;
UnCTT:
$xOGt5 = $this->db->query("SELECT COUNT(*) as count FROM " . DB_PREFIX . "url_redirect WHERE query = '" . $this->db->escape($mlxgN) . "' AND redirect = '" . $this->db->escape($uRsNb) . "' AND language_id = '" . (int) $cEX8Y . "'")->row;
goto aX_ZS;
rC7q_:
if (defined("SEO_PACKAGE_CLI")) {
goto UMKtb;
}
goto Pl4zd;
Jiisl:
T2icx:
goto UnCTT;
V3mc8:
UMKtb:
goto s8ZBK;
wrdqW:
$this->session->data["seopackage_processed"]++;
goto HM_1i;
zBJkO:
goto Y7jv_;
goto pVGvU;
lo1jY:
$mlxgN = str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1);
goto S_S6t;
HZcFk:
$this->db->query("INSERT INTO " . DB_PREFIX . "url_redirect SET query = '" . $this->db->escape($mlxgN) . "', redirect = '" . $this->db->escape($uRsNb) . "', language_id = '" . (int) $cEX8Y . "'");
goto NalpZ;
Xy_Qp:
if (!$QIJ2v) {
goto cMVrG;
}
goto gkXhD;
NijJw:
Y7jv_:
goto lo1jY;
tLp9c:
$QIJ2v = 1;
goto wXrTB;
S_S6t:
$uRsNb = $jw1cu . "&" . $T7SSU . "=" . $vLCNO[$T7SSU];
goto aJxWQ;
HlZ2r:
$this->config->set("application", "Admin");
goto NijJw;
pOiK4:
cMVrG:
goto kpWxx;
kpWxx:
cQje2:
goto RxUr8;
wNtLu:
tK_S2:
goto rC7q_;
AjL8V:
if ($WzL4Y) {
goto wUKxJ;
}
goto HZcFk;
Xj8o0:
goto tK_S2;
goto csERz;
ryGUN:
$this->config->set("application", "Catalog");
goto mXzKY;
RxUr8:
V30En:
goto PHS0e;
Pl4zd:
$pU5UN["rows"][] = array("link" => str_replace(HTTP_SERVER, "../", $Z5vp1), "name" => str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1), "old_value" => '', "value" => $uRsNb, "changed" => $QIJ2v);
goto V3mc8;
aX_ZS:
if ($xOGt5["count"]) {
goto WEs3j;
}
goto AjL8V;
csERz:
WEs3j:
goto fa1Ui;
NalpZ:
wUKxJ:
goto tLp9c;
gkXhD:
$this->log("redirect." . $f_XEr . ": " . $mlxgN . " => " . str_replace(HTTP_SERVER, "../", $Z5vp1));
goto pOiK4;
mXzKY:
$this->load->model("design/seo_url");
goto I9IOv;
s8ZBK:
if (!defined("SEO_PACKAGE_CLI")) {
goto cQje2;
}
goto Xy_Qp;
v0Xdk:
require_once DIR_CATALOG . "model/design/seo_url.php";
goto ryGUN;
PHS0e:
}
goto gYNhn;
QOOVW:
}
goto YLJvq;
hw6_F:
$cHoqT = $this->model_localisation_language->getLanguages();
goto r6XyT;
bk3PC:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto v0MKs;
YLJvq:
vzhcW:
goto w0_i9;
pLxAL:
}
public function generator_report($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto V2igG;
g0EyQ:
S7gDF:
goto QqSAh;
MiKqb:
goto x8QmH;
goto gzlKp;
tSD8K:
$pU5UN["lang_img"] = '';
goto VxhRO;
xXDbj:
$data["col2"] = $this->language->get("text_keyword");
goto PBC_P;
yZKLQ:
goto YTha_;
goto lWq0S;
FOB_6:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode) {
goto GN0Id;
}
goto hHmKO;
v7qRD:
if ($this->ml_mode && $this->config->get("mlseo_duplicate")) {
goto rcxMo;
}
goto lViXx;
QqSAh:
if (version_compare(VERSION, "4", ">=")) {
goto Y8Cfk;
}
goto gnrZR;
oXnzX:
x8QmH:
goto TzgJX;
a4BPI:
$uK3_t = $this->db->query("SELECT `key`, `value`, `keyword` FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = ''")->rows;
goto cRejK;
gLdyj:
$yiAWR = " WHERE store_id = " . (int) $this->store . " ";
goto g0EyQ;
PBC_P:
$data["col3"] = $this->language->get("text_status");
goto N49I5;
h_Teh:
$uK3_t = $this->db->query("SELECT query, keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = ''")->rows;
goto ykh_I;
yy1UA:
gNOZL:
goto oXnzX;
N49I5:
if (version_compare(VERSION, "4", ">=")) {
goto Ffbiv;
}
goto h_Teh;
klsid:
Ffbiv:
goto a4BPI;
Qz8Mm:
YTha_:
goto MiKqb;
ykh_I:
goto EWBsX;
goto klsid;
Z6ZDF:
$pU5UN["rows"] = array();
goto UlJDc;
xOrJc:
goto S7gDF;
goto bwVVM;
UlJDc:
$data["nohidecol"] = true;
goto VViq5;
l3QL6:
goto gNOZL;
goto K3j2K;
gzlKp:
Y8Cfk:
goto v7qRD;
ZgPwf:
$data["col1"] = $this->language->get("text_query");
goto xXDbj;
IUUyJ:
foreach ($uK3_t as $Z5vp1) {
goto d2mx4;
jAOT2:
P2ZWY:
goto k473y;
gu3j6:
$Z5vp1["query"] = $Z5vp1["key"] . "=" . $Z5vp1["value"];
goto jAOT2;
PbRjt:
iNoGt:
goto uUfW0;
d2mx4:
if (!version_compare(VERSION, "4", ">=")) {
goto P2ZWY;
}
goto gu3j6;
k473y:
$pU5UN["rows"][] = array("name" => $Z5vp1["query"], "old_value" => $Z5vp1["keyword"], "value" => '<span style="color:#C94644">' . $this->language->get("text_empty") . '</span>', "changed" => 0);
goto PbRjt;
uUfW0:
}
goto lgOH5;
a2RNo:
$uK3_t = $this->db->query("SELECT count(*) AS count, CONCAT(`key`, `value`) AS query, keyword, language_id FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword, language_id")->rows;
goto yy1UA;
TzgJX:
foreach ($uK3_t as $Z5vp1) {
goto z5zUz;
MBLk1:
$O07pM = $this->db->query("SELECT query, keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = '" . $Z5vp1["keyword"] . "'")->rows;
goto xzKrU;
RfCq8:
$O07pM = $this->db->query("SELECT CONCAT(`key`, `value`) AS query, keyword FROM " . DB_PREFIX . $this->url_alias . " WHERE keyword = '" . $Z5vp1["keyword"] . "'")->rows;
goto DWkNU;
hlb52:
i3oBG:
goto RfCq8;
QaeeK:
WCu52:
goto Dm10L;
cUL_Y:
if (version_compare(VERSION, "4", ">=")) {
goto i3oBG;
}
goto MBLk1;
xzKrU:
goto qmETz;
goto hlb52;
DWkNU:
qmETz:
goto PxLmp;
Dm10L:
dqf1e:
goto D2xwm;
D2xwm:
B3o2_:
goto lDhD0;
PxLmp:
foreach ($O07pM as $Ehiro) {
$pU5UN["rows"][] = array("name" => $Ehiro["query"], "old_value" => $Ehiro["keyword"], "value" => '<span style="color:#82669B">' . $this->language->get("text_duplicate") . "</span>", "changed" => 0);
LyTBE:
}
goto QaeeK;
z5zUz:
if (!($Z5vp1["keyword"] && $Z5vp1["count"] > 1)) {
goto dqf1e;
}
goto cUL_Y;
lDhD0:
}
goto aGU4W;
lWq0S:
aypIQ:
goto YfAPy;
pJa0u:
$data["langs"][0] =& $pU5UN;
goto rdb3W;
VViq5:
$data["hidesim"] = true;
goto ZgPwf;
bwVVM:
GN0Id:
goto gLdyj;
K3j2K:
rcxMo:
goto a2RNo;
lgOH5:
M2UQo:
goto FOB_6;
rdb3W:
return $data;
goto f3lLu;
YfAPy:
$uK3_t = $this->db->query("SELECT count(*) AS count, query, keyword, language_id FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword, language_id")->rows;
goto Qz8Mm;
cRejK:
EWBsX:
goto IUUyJ;
hHmKO:
$yiAWR = '';
goto xOrJc;
gnrZR:
if ($this->ml_mode && $this->config->get("mlseo_duplicate")) {
goto aypIQ;
}
goto UuXt2;
lViXx:
$uK3_t = $this->db->query("SELECT count(*) AS count, CONCAT(`key`, `value`) AS query, keyword FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword")->rows;
goto l3QL6;
VxhRO:
$pU5UN["no_old"] = true;
goto Z6ZDF;
UuXt2:
$uK3_t = $this->db->query("SELECT count(*) AS count, query, keyword FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword")->rows;
goto yZKLQ;
aGU4W:
SLWhS:
goto pJa0u;
V2igG:
$pU5UN = $data = array();
goto tSD8K;
f3lLu:
}
public function generator_links($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto nqUiX;
I_Iws:
return $data;
goto v9vEa;
A0m1I:
WZSas:
goto Eq4yB;
RoAyR:
$this->load->model("localisation/language");
goto EFg1W;
m1NJU:
foreach ($cHoqT as $nDDFl) {
goto NdWVS;
NdWVS:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto F81W8;
UpPeq:
IfK3G:
goto T0OKP;
Z5RDh:
H9L8p:
goto UpPeq;
deUfb:
goto H9L8p;
goto sDTs3;
wpbLZ:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto deUfb;
sDTs3:
dcf98:
goto t9mGC;
t9mGC:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto Z5RDh;
F81W8:
if (version_compare(VERSION, "2.2", ">=")) {
goto dcf98;
}
goto wpbLZ;
T0OKP:
}
goto A0m1I;
WKaa7:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto RoAyR;
nqUiX:
$data = array();
goto WKaa7;
u8cYY:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto iPjE2;
r1yXU:
$data["langs"][$cEX8Y] = $pU5UN;
goto Zt3Dy;
ffppE:
goto cYV7E;
goto Pdsq0;
lJ8EC:
vs6d9:
goto ibRB3;
khrUG:
if ($YRwDl == "category") {
goto G0NF6;
}
goto cDLmz;
R1iOM:
goto vs6d9;
goto fp2Z9;
ibRB3:
foreach ($kU4lM as $vLCNO) {
goto WYGzs;
RXOvn:
$this->log("internal_links: " . $Z5vp1 . " => " . implode(", ", $oHbOL));
goto mnxQ0;
b3B7N:
$mlxgN = str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1);
goto LJ1cu;
vCOHQ:
$this->session->data["seopackage_updated"]++;
goto mOfqu;
y0_kZ:
if (!$QIJ2v) {
goto FMcKU;
}
goto RXOvn;
f6vWK:
HqEJj:
goto rZ5eh;
LJ1cu:
if (!empty($vLCNO[$flqEP])) {
goto XUbcX;
}
goto s971j;
mnxQ0:
FMcKU:
goto T9DBJ;
s971j:
goto DIEnc;
goto BqAQH;
sawiu:
uTuzp:
goto lasRz;
BqAQH:
XUbcX:
goto U_ljQ;
QxlHw:
if (!defined("SEO_PACKAGE_CLI")) {
goto kKDU5;
}
goto y0_kZ;
lasRz:
if (!empty($oHbOL)) {
goto HqEJj;
}
goto yETl9;
T9DBJ:
kKDU5:
goto Uu_BY;
Kqr0O:
$this->config->set("config_store_id", $this->store);
goto VOs7W;
VOs7W:
$Z5vp1 = $this->front_url->link($jw1cu, $YRwDl . "_id=" . $vLCNO[$YRwDl . "_id"]);
goto b3B7N;
QwgPq:
$oHbOL = $d2HE3 = array();
goto q7Qyw;
Uu_BY:
DIEnc:
goto aueI4;
U_ljQ:
$QIJ2v = 0;
goto QwgPq;
Bs9ne:
foreach ($n8Uf3 as $qdlc1) {
goto Bbjyx;
N5uFk:
SSjxE:
goto pxpu8;
fly0L:
ZiulA:
goto y_zGm;
zfT2J:
Nmqz9:
goto Sfq4L;
KsfF5:
$oHbOL[] = $qdlc1[$YRwDl . "_id"];
goto l2oLv;
wUjCe:
preg_match_all("/(?:<a.+?>)?\b" . preg_quote($vLCNO[$flqEP], "/") . "\b(?:<\/a>)?/", $upJeN, $nAxei);
goto pwyVi;
pwyVi:
if (!empty($nAxei)) {
goto ZiulA;
}
goto y_zgI;
Bbjyx:
$upJeN = $qdlc1["description"];
goto wUjCe;
y_zGm:
foreach ($nAxei as $kkgBP) {
goto aLBJ4;
YLXbI:
goto fA6cx;
goto bMupe;
bMupe:
BdGD1:
goto eB62U;
eB62U:
$U_eEP = str_replace($kkgBP[0], '<a href="' . $Z5vp1 . '">' . $vLCNO[$flqEP] . "</a>", $upJeN);
goto f2Eog;
aLBJ4:
if (!empty($kkgBP[0])) {
goto BdGD1;
}
goto YLXbI;
f2Eog:
fA6cx:
goto YccJ7;
YccJ7:
}
goto JOza1;
dVYoP:
$this->db->query("UPDATE " . DB_PREFIX . $YRwDl . "_description SET description = '" . $this->db->escape($U_eEP) . "' WHERE " . $YRwDl . "_id = '" . (int) $qdlc1[$YRwDl . "_id"] . "' AND language_id = '" . (int) $cEX8Y . "'");
goto N5uFk;
JOza1:
ePrfo:
goto KsfF5;
AuxZr:
if (!($upJeN != $U_eEP)) {
goto IDQNf;
}
goto XoEZ7;
A32Cg:
IDQNf:
goto zfT2J;
XoEZ7:
if ($WzL4Y) {
goto SSjxE;
}
goto dVYoP;
y_zgI:
goto Nmqz9;
goto fly0L;
pxpu8:
$QIJ2v = 1;
goto A32Cg;
l2oLv:
$d2HE3[] = '<a href="' . $this->url->link("catalog/" . $YRwDl . "/edit", $YRwDl . "_id=" . $qdlc1[$YRwDl . "_id"] . "&" . $this->token) . '">' . $qdlc1[$YRwDl . "_id"] . '</a>';
goto AuxZr;
Sfq4L:
}
goto sawiu;
iV_Mj:
$pU5UN["rows"][] = array("link" => $this->url->link("catalog/" . $YRwDl . "/edit", $YRwDl . "_id=" . $vLCNO[$YRwDl . "_id"] . "&" . $this->token), "name" => $vLCNO["name"], "old_value" => $Z5vp1, "value" => ($QIJ2v ? "Added link into: " : "Link exists into: ") . implode(", ", $d2HE3), "changed" => $QIJ2v);
goto wgE1U;
mOfqu:
e4N9H:
goto oktFz;
oktFz:
if (defined("SEO_PACKAGE_CLI")) {
goto DkJg7;
}
goto iV_Mj;
wgE1U:
DkJg7:
goto QxlHw;
q7Qyw:
$n8Uf3 = $this->db->query("SELECT * FROM " . DB_PREFIX . $YRwDl . "_description WHERE description LIKE '%" . $this->db->escape($vLCNO[$flqEP]) . "%' AND language_id = '" . (int) $cEX8Y . "'")->rows;
goto Bs9ne;
yETl9:
goto DIEnc;
goto f6vWK;
WYGzs:
$this->session->data["seopackage_processed"]++;
goto Kqr0O;
rZ5eh:
if (!$QIJ2v) {
goto e4N9H;
}
goto vCOHQ;
aueI4:
}
goto lGOmu;
Zt3Dy:
$data["langs"][$cEX8Y]["count"] = count($pU5UN["rows"]);
goto S3uum;
OZpLH:
$pU5UN["no_old"] = true;
goto HDnPY;
XGdR1:
$kU4lM = $this->getCategories(0, '', " LIMIT " . $this->start . "," . $this->limit);
goto lJ8EC;
JF158:
$data["langs"][$cEX8Y]["lang_img"] = false;
goto ffppE;
GYVYJ:
QHcri:
goto NsJ9T;
zDqLO:
$this->total_items = $Yu8kb["total"];
goto khrUG;
rhD_9:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . $YRwDl)->row;
goto zDqLO;
Lz9d8:
o3_s1:
goto f2Gr2;
HOmVY:
$this->config->set("config_language_id", (int) $cEX8Y);
goto zL0z4;
F2Vg8:
$YRwDl = $f_XEr;
goto tsnOv;
cDLmz:
$kU4lM = $this->db->query("SELECT * FROM " . DB_PREFIX . $YRwDl . "_description ORDER BY " . $flqEP . " LIMIT " . $this->start . "," . $this->limit)->rows;
goto R1iOM;
bSXxS:
$this->session->data["language"] = $FoZfU[$cEX8Y];
goto F2Vg8;
f2Gr2:
n7ywU:
goto rhD_9;
l33aP:
$this->config->set("mlseo_cache", false);
goto HOmVY;
HDnPY:
$pU5UN["rows"] = array();
goto l33aP;
Pdsq0:
ubWTo:
goto GYVYJ;
zL0z4:
$this->config->set("config_language", $FoZfU[$cEX8Y]);
goto bSXxS;
iPjE2:
$pU5UN = array();
goto MzNIL;
tsnOv:
switch ($YRwDl) {
case "information":
goto Tz6mn;
Tz6mn:
$jw1cu = "information/information";
goto Q9EZj;
Q9EZj:
$flqEP = $T7SSU = "information_id";
goto TF9PD;
TF9PD:
goto n7ywU;
goto k6NI9;
k6NI9:
case "product":
goto KUHSW;
TBPys:
goto n7ywU;
goto A30Ul;
P2YIs:
$flqEP = $T7SSU = "name";
goto TBPys;
KUHSW:
$jw1cu = "product/product";
goto P2YIs;
A30Ul:
case "category":
goto B2AKQ;
MFyee:
goto n7ywU;
goto M4ayj;
B2AKQ:
$jw1cu = "product/category";
goto uqgwB;
uqgwB:
$flqEP = "category_id";
goto FIrId;
FIrId:
$T7SSU = "path";
goto MFyee;
M4ayj:
case "manufacturer":
goto aHKM2;
WigH0:
goto n7ywU;
goto gUM7h;
drHzC:
$flqEP = $T7SSU = "manufacturer_id";
goto WigH0;
aHKM2:
$jw1cu = "product/manufacturer/info";
goto drHzC;
gUM7h:
}
goto Lz9d8;
fp2Z9:
G0NF6:
goto XGdR1;
lGOmu:
YTb4W:
goto r1yXU;
MzNIL:
$pU5UN["lang_img"] = $Z2o6y[$cEX8Y];
goto OZpLH;
S3uum:
if (!($YRwDl == "manufacturer")) {
goto ubWTo;
}
goto JF158;
NsJ9T:
}
goto jsjco;
EFg1W:
$cHoqT = $this->model_localisation_language->getLanguages();
goto m1NJU;
Eq4yB:
$f_XEr = "product";
goto u8cYY;
jsjco:
cYV7E:
goto I_Iws;
v9vEa:
}
public function generator_robots($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto wswes;
heay8:
fmcf2:
goto jlN_q;
vOPSM:
foreach ($NyfhL as $pEZzo) {
goto uDokv;
uDokv:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto UlqFO;
SnOSP:
PewxB:
goto LO8hQ;
w6yD1:
$this->session->data["language"] = $FoZfU[$cEX8Y];
goto PvSMt;
Ydl7F:
$pU5UN["rows"][] = array("name" => '', "old_value" => '', "value" => "Disallow: " . $Z5vp1, "changed" => 0);
goto SnOSP;
UlqFO:
$this->config->set("config_language_id", (int) $cEX8Y);
goto nKiFt;
hDoKo:
$Z5vp1 = str_replace(array(HTTP_CATALOG, HTTPS_CATALOG), "/", $this->front_url->link("product/product", "product_id=" . $pEZzo["product_id"]));
goto KQkR4;
nKiFt:
$this->config->set("config_language", $FoZfU[$cEX8Y]);
goto w6yD1;
MW3Ji:
$this->config->set("config_store_id", $this->store);
goto hDoKo;
PvSMt:
$this->session->data["seopackage_processed"]++;
goto MW3Ji;
KQkR4:
fwrite($mSiFi, "
" . "Disallow: " . $Z5vp1);
goto Ydl7F;
LO8hQ:
}
goto fnfFb;
fnfFb:
v3_4A:
goto Lg0X7;
Lg0X7:
YawPQ:
goto w95xj;
w95xj:
}
goto dxeuV;
vy9Qa:
$this->load->model("localisation/language");
goto JTHIE;
GotZ6:
$pU5UN["lang_img"] = '';
goto ImoTQ;
vDp2J:
$pU5UN["rows"][] = array("name" => '', "old_value" => '', "value" => nl2br($bUZUK), "changed" => 0);
goto cUhpf;
wcviw:
fclose($mSiFi);
goto kp67U;
eHTNM:
$data["col1"] = $this->language->get("text_query");
goto ELu6Y;
CHJQ1:
fwrite($mSiFi, $bUZUK);
goto vTlWS;
kp67U:
hPVWA:
goto GGZAC;
cUhpf:
$NyfhL = $this->db->query("SELECT product_id FROM " . DB_PREFIX . "product WHERE meta_robots IN ('noindex', 'none')")->rows;
goto vOPSM;
wLb0V:
if ($WzL4Y) {
goto YYDzs;
}
goto CHJQ1;
R5eUL:
$data["col3"] = $this->language->get("text_status");
goto vy9Qa;
dxeuV:
TisxJ:
goto A2NMk;
A2NMk:
if ($WzL4Y) {
goto hPVWA;
}
goto wcviw;
f5o3c:
return $data;
goto hyyxi;
m0kmU:
tTuQw:
goto x9rhS;
Y46ck:
$pU5UN["no_main"] = true;
goto wbhrO;
Yyne9:
$data["nohidecol"] = true;
goto fCqoq;
ImoTQ:
$pU5UN["no_old"] = true;
goto Y46ck;
jlN_q:
$bUZUK = "User-agent: *\xaDisallow: /*?route=checkout/
Disallow: /*?route=account/
Disallow: /*?route=affiliate/\xaDisallow: /*?route=product/search
Disallow: /*&limit\xaDisallow: /*?limit\xaDisallow: /*?sort\xaDisallow: /*&sort\xaDisallow: /*?order\xaDisallow: /*&order
Disallow: /*?price
Disallow: /*&price\xaDisallow: /*?mode\xaDisallow: /*&mode
Disallow: /*?cat
Disallow: /*&cat
Disallow: /*?dir\xaDisallow: /*&dir
Disallow: /*?color\xaDisallow: /*&color
Disallow: /*?product_id
Disallow: /*&product_id
Disallow: /*?minprice
Disallow: /*&minprice
Disallow: /*?maxprice\xaDisallow: /*&maxprice
Disallow: /*?page=1\xaDisallow: /*&create=1\xaDisallow: /*?keyword\xaDisallow: /*?av
\xaSitemap: " . HTTP_CATALOG . "sitemap.xml";
goto wLb0V;
x9rhS:
if ($WzL4Y) {
goto fmcf2;
}
goto mqXu9;
I0qId:
foreach ($cHoqT as $nDDFl) {
goto mA4yL;
fg5Xb:
ljarJ:
goto RY7yL;
nrzvR:
goto ljarJ;
goto rPanG;
RY7yL:
wzQ7D:
goto kqkFH;
rPanG:
Um0PB:
goto utfN1;
utfN1:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto fg5Xb;
o7wip:
if (version_compare(VERSION, "2.2", ">=")) {
goto Um0PB;
}
goto dbTlT;
dbTlT:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto nrzvR;
mA4yL:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto o7wip;
kqkFH:
}
goto m0kmU;
wswes:
$pU5UN = $data = array();
goto GotZ6;
ELu6Y:
$data["col2"] = $this->language->get("text_keyword");
goto R5eUL;
GGZAC:
$data["langs"][0] =& $pU5UN;
goto f5o3c;
vTlWS:
YYDzs:
goto vDp2J;
wbhrO:
$pU5UN["rows"] = array();
goto Yyne9;
fCqoq:
$data["hidesim"] = true;
goto eHTNM;
JTHIE:
$cHoqT = $this->model_localisation_language->getLanguages();
goto I0qId;
mqXu9:
$mSiFi = fopen(DIR_CATALOG . "../robots.txt", "w") or die("robots.txt can not be written, please check rights");
goto heay8;
hyyxi:
}
protected function getCategories($DTCMU, $cTqzj = '', $V0uIu = '')
{
goto caxkY;
KVZq0:
$CZPba = array();
goto TJoAJ;
g9R4F:
$T7SSU = "path";
goto KVZq0;
ceSrS:
$flqEP = "category_id";
goto g9R4F;
sS1fo:
foreach ($e7DRu as $GgSL6) {
goto sfrZX;
sfrZX:
if (!$cTqzj) {
goto aVW06;
}
goto dt396;
mOCmQ:
$CZPba[] = array("category_id" => $GgSL6["category_id"], "path" => $mC5EU);
goto aFlWO;
dt396:
$mC5EU = $cTqzj . "_" . $GgSL6["category_id"];
goto ylc_v;
roh42:
qEEDg:
goto KW_Us;
Kr5Ak:
CCiFM:
goto mOCmQ;
aFlWO:
$CZPba = array_merge($CZPba, $this->getCategories($GgSL6["category_id"], $mC5EU));
goto roh42;
n0j0O:
aVW06:
goto MxyAR;
MxyAR:
$mC5EU = $GgSL6["category_id"];
goto Kr5Ak;
ylc_v:
goto CCiFM;
goto n0j0O;
KW_Us:
}
goto j2Th5;
j2Th5:
dtxvY:
goto Xro2_;
caxkY:
$jw1cu = "product/category";
goto ceSrS;
Xro2_:
return $CZPba;
goto g9nP8;
TJoAJ:
$e7DRu = $this->db->query("SELECT category_id FROM " . DB_PREFIX . "category WHERE parent_id = " . (int) $DTCMU . " ORDER BY " . $flqEP . $V0uIu)->rows;
goto sS1fo;
g9nP8:
}
public function generator_cache($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto rTyw5;
hrJg8:
foreach ($cHoqT as $nDDFl) {
goto kl98m;
LY5R2:
CjrVE:
goto guOp7;
kl98m:
$FoZfU[$nDDFl["language_id"]] = $nDDFl["code"];
goto eaxJe;
jUEZR:
$Z2o6y[$nDDFl["language_id"]] = "view/image/flags/" . $nDDFl["image"];
goto ZhyxW;
ZhyxW:
goto iE1Mf;
goto LY5R2;
eaxJe:
if (version_compare(VERSION, "2.2", ">=")) {
goto CjrVE;
}
goto jUEZR;
t95_d:
iE1Mf:
goto ODQz5;
ODQz5:
QjrsM:
goto Z3ALb;
guOp7:
$Z2o6y[$nDDFl["language_id"]] = "language/" . $nDDFl["code"] . "/" . $nDDFl["code"] . ".png";
goto t95_d;
Z3ALb:
}
goto Z2JGp;
j4X_9:
return $data;
goto jwXy5;
AdS8w:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto kGx2B;
SO3Bp:
$data["langs"][$cEX8Y] = $pU5UN;
goto qKxqh;
qKxqh:
$data["langs"][$cEX8Y]["count"] = count($pU5UN["rows"]);
goto FogUu;
S4Q8t:
$pU5UN["rows"] = array();
goto lhFos;
FOe7W:
foreach ($pbwyP as $YRwDl) {
goto Kl7Vq;
eQF0d:
$this->total_items += $Yu8kb["total"];
goto eNrWh;
fve2u:
pZgeT:
goto qyD1P;
eNrWh:
$kU4lM = $this->db->query("SELECT " . $flqEP . ", seo_keyword, language_id FROM " . DB_PREFIX . $YRwDl . "_description WHERE language_id=" . (int) $cEX8Y . " ORDER BY " . $flqEP . " LIMIT " . $this->start . "," . $this->limit)->rows;
goto eqJua;
Kl7Vq:
switch ($YRwDl) {
case "information":
goto oGqYC;
MvAnH:
$flqEP = $T7SSU = "information_id";
goto xqhQI;
oGqYC:
$jw1cu = "information/information";
goto MvAnH;
xqhQI:
goto mI3Cm;
goto I6ZYc;
I6ZYc:
case "product":
goto WevxJ;
q2z5r:
$flqEP = $T7SSU = "product_id";
goto PrvCp;
WevxJ:
$jw1cu = "product/product";
goto q2z5r;
PrvCp:
goto mI3Cm;
goto l5YIs;
l5YIs:
case "category":
goto jjagI;
jjagI:
$jw1cu = "product/category";
goto FV8kR;
FV8kR:
$flqEP = "category_id";
goto uiim3;
qgPLR:
goto mI3Cm;
goto bVHpI;
uiim3:
$T7SSU = "path";
goto qgPLR;
bVHpI:
}
goto q3QIL;
eqJua:
foreach ($kU4lM as $vLCNO) {
goto NJIuz;
NJIuz:
$Z5vp1 = $this->front_url->link($jw1cu, $T7SSU . "=" . $vLCNO[$flqEP]);
goto abOfR;
tf9Ly:
nuHcs:
goto uh3fG;
abOfR:
$pU5UN["rows"][] = array("link" => str_replace(HTTP_SERVER, "../", $Z5vp1), "name" => "index.php?route=" . $jw1cu . "&" . $T7SSU . "=" . $vLCNO[$flqEP], "old_value" => '', "value" => str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1), "changed" => 0);
goto sTsFA;
KSVYj:
t0qE_:
goto tf9Ly;
r8lfF:
$UewTa = $this->{self::$MODEL_PATH . "tool_seo_package"}->getFullProductPaths($vLCNO["product_id"]);
goto X45HH;
X45HH:
foreach ($UewTa as $ifjIK) {
goto Il_Ip;
N9w0i:
$pU5UN["rows"][] = array("link" => str_replace(HTTP_SERVER, "../", $Z5vp1), "name" => "index.php?route=product/product&path=" . $ifjIK . "&product_id=" . $vLCNO["product_id"], "old_value" => '', "value" => str_replace(array(HTTP_SERVER, HTTP_CATALOG), "/", $Z5vp1), "changed" => 0);
goto S59I4;
Il_Ip:
$Z5vp1 = $this->front_url->link("product/product", "path=" . $ifjIK . "&product_id=" . $vLCNO["product_id"]);
goto N9w0i;
S59I4:
VZ3TX:
goto gWQIy;
gWQIy:
}
goto KSVYj;
uh3fG:
Ydbs8:
goto RX0Vd;
sTsFA:
if (!($YRwDl == "product")) {
goto nuHcs;
}
goto r8lfF;
RX0Vd:
}
goto RPp8G;
q3QIL:
VEQ6V:
goto vTtD2;
vTtD2:
mI3Cm:
goto eRBmX;
eRBmX:
$Yu8kb = $this->db->query("SELECT COUNT(*) as total FROM " . DB_PREFIX . $YRwDl . "_description WHERE language_id=" . (int) $cEX8Y)->row;
goto eQF0d;
RPp8G:
BYnsz:
goto fve2u;
qyD1P:
}
goto neGlw;
xUgWs:
$this->config->set("config_language_id", (int) $cEX8Y);
goto I261k;
S3FAL:
$pbwyP = array("product", "information");
goto Gy0Mf;
xrXrz:
$pU5UN["lang_img"] = $Z2o6y[$cEX8Y];
goto qPEPR;
OzHov:
$this->session->data["language"] = $FoZfU[$cEX8Y];
goto S3FAL;
qPEPR:
$pU5UN["no_old"] = true;
goto S4Q8t;
Gy0Mf:
$this->total_items = 0;
goto FOe7W;
lhFos:
Powercache::delete("seo_rewrite." . (int) $cEX8Y);
goto xUgWs;
FogUu:
ugxAv:
goto vqZeR;
kGx2B:
$pU5UN = array();
goto xrXrz;
neGlw:
FsClq:
goto SO3Bp;
I261k:
$this->config->set("config_language", $FoZfU[$cEX8Y]);
goto OzHov;
vqZeR:
}
goto MQozM;
AMM2e:
$pU5UN = array();
goto HPsWz;
xpemg:
return $data;
goto CbdqA;
W6XKd:
$pU5UN["rows"] = array();
goto LSwWs;
lysZe:
fDdx1:
goto WfYJd;
Z2JGp:
maSHx:
goto wnO5c;
CbdqA:
Kp8F6:
goto TRYZN;
QAF8o:
$this->load->model("localisation/language");
goto Y4s9F;
iLy9C:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto QAF8o;
R_FoT:
$pU5UN["no_old"] = true;
goto W6XKd;
TRYZN:
$data["simulate"] = false;
goto AdS8w;
LSwWs:
foreach ($this->request->post["langs"] as $cEX8Y) {
goto LwW8O;
p3diW:
if (!$qdlc1) {
goto Pd2Nv;
}
goto JKMmP;
zv6On:
Pd2Nv:
goto qcB8p;
qcB8p:
NGE57:
goto Kx2lm;
LwW8O:
$qdlc1 = Powercache::delete("seo_rewrite." . (int) $cEX8Y);
goto p3diW;
JKMmP:
$pU5UN["rows"][] = array("link" => 0, "name" => "/system/cache/pcache.seo_rewrite." . $cEX8Y, "old_value" => '', "value" => $this->language->get("text_deleted"), "changed" => 0);
goto zv6On;
Kx2lm:
}
goto lysZe;
Y4s9F:
$cHoqT = $this->model_localisation_language->getLanguages();
goto hrJg8;
W72Yk:
$data["langs"][$cEX8Y]["count"] = count($pU5UN["rows"]);
goto xpemg;
HPsWz:
$pU5UN["lang_img"] = '';
goto R_FoT;
wnO5c:
if (!($f_XEr == "delete")) {
goto Kp8F6;
}
goto AMM2e;
WfYJd:
$data["langs"][$cEX8Y] = $pU5UN;
goto W72Yk;
MQozM:
oKUyJ:
goto j4X_9;
rTyw5:
$data = array();
goto iLy9C;
jwXy5:
}
public function generator_cleanup($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ)
{
goto JJm2d;
ghT79:
y8JsS:
goto kOpSS;
An72f:
$this->db->query("UPDATE `" . DB_PREFIX . "product_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'product_id=%' AND d.product_id = REPLACE(u.query, 'product_id=', '')");
goto Fv4hY;
yC4NL:
X72y2:
goto WsjMn;
GOHCO:
J0_Pa:
goto mcXO_;
g7_o7:
L5v7F:
goto zxEoV;
RLUCD:
$uANXf = '';
goto EulGq;
QaQHX:
if ($WzL4Y) {
goto WvqzF;
}
goto vNcz5;
cT6vx:
foreach ($uK3_t as $Z5vp1) {
$pU5UN["rows"][] = array("name" => $Z5vp1["query"] . " (" . $Z5vp1["keyword"] . ")", "old_value" => '', "value" => "Fix assigned language ID", "changed" => 0);
IyxvJ:
}
goto en725;
hGoW_:
L6Wig:
goto jDLkt;
I2vmm:
$pU5UN["rows"] = array();
goto hQJF3;
YBZUE:
$uK3_t = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE (query LIKE 'category_id=%' OR query LIKE 'product_id=%' OR query LIKE 'information_id=%' OR query LIKE 'route=%') AND language_id=0")->rows;
goto Rm4nr;
PNf8y:
if (!($f_XEr == "duplicate")) {
goto X72y2;
}
goto QCzT7;
uHmFd:
$pU5UN["lang_img"] = '';
goto ecYr3;
ecYr3:
$pU5UN["no_old"] = true;
goto I2vmm;
Hl0Wj:
nM95Y:
goto cT6vx;
gtdSZ:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode) {
goto x29lA;
}
goto gx_A4;
QB24h:
HbyyR:
goto BptJa;
Ev_Hc:
if (version_compare(VERSION, "4", ">=")) {
goto aGUyX;
}
goto YBZUE;
aoOIA:
if (!(!$WzL4Y && false)) {
goto MelF4;
}
goto An72f;
S5ZVg:
$data["langs"][0]["count"] = count($uK3_t);
goto hGoW_;
xL1wD:
$uANXf = " AND store_id = " . (int) $this->store . " ";
goto ghT79;
WsjMn:
goto L6Wig;
goto QB24h;
P6Y8T:
x29lA:
goto GxnMo;
VsZv1:
ytj6Q:
goto QO7Es;
YtXoB:
$data["col1"] = $this->language->get("text_query");
goto b6GQ9;
Rm4nr:
goto lLv5A;
goto oXm3W;
Fv4hY:
$this->db->query("UPDATE `" . DB_PREFIX . "category_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'category_id=%' AND d.category_id = REPLACE(u.query, 'category_id=', '')");
goto bRB1Q;
Ycy3v:
$this->db->query("UPDATE " . DB_PREFIX . $this->url_alias . " SET language_id = " . (int) $this->config->get("config_language_id") . " WHERE (query LIKE 'category_id=%' OR query LIKE 'product_id=%' OR query LIKE 'information_id=%' OR query LIKE 'route=%') AND language_id=0");
goto OpQp_;
kOpSS:
if ($this->ml_mode) {
goto J0_Pa;
}
goto S2btt;
LcNjg:
$data["col3"] = $this->language->get("text_status");
goto SUrrV;
JJm2d:
$pU5UN = $data = array();
goto uHmFd;
magm4:
MelF4:
goto QaQHX;
Mo9z4:
goto He2ue;
goto GRi34;
wthel:
$uK3_t = array();
goto QwcGO;
BptJa:
if ($this->ml_mode) {
goto cOCMC;
}
goto wthel;
jDLkt:
return $data;
goto HkGrW;
GxnMo:
$yiAWR = " WHERE store_id = " . (int) $this->store . " ";
goto xL1wD;
oXm3W:
aGUyX:
goto vwLON;
bRB1Q:
$this->db->query("UPDATE `" . DB_PREFIX . "information_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'information_id=%' AND d.information_id = REPLACE(u.query, 'information_id=', '')");
goto TOwzc;
EulGq:
goto y8JsS;
goto P6Y8T;
j3Ij6:
$this->db->query("UPDATE `" . DB_PREFIX . "information_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'information_id=%' AND d.information_id = REPLACE(u.query, 'information_id=', '') AND d.language_id = u.language_id");
goto mYo4E;
R9Bac:
$data["langs"][0] =& $pU5UN;
goto S5ZVg;
en725:
FKNC6:
goto aoOIA;
b6GQ9:
$data["col2"] = $this->language->get("text_keyword");
goto LcNjg;
SUrrV:
$FsrVC = 0;
goto gtdSZ;
S2btt:
$uK3_t = $this->db->query("SELECT count(*) AS count, query, keyword FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword")->rows;
goto MR5BN;
QO7Es:
$data["langs"][0] =& $pU5UN;
goto QrevE;
MR5BN:
goto L5v7F;
goto GOHCO;
FqDd9:
$this->db->query("UPDATE `" . DB_PREFIX . "category_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'category_id=%' AND d.category_id = REPLACE(u.query, 'category_id=', '') AND d.language_id = u.language_id");
goto j3Ij6;
mYo4E:
g1S4a:
goto magm4;
QwcGO:
goto nM95Y;
goto xDSnI;
zxEoV:
foreach ($uK3_t as $Z5vp1) {
goto oywVZ;
m9v3k:
$JwId8 = $this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $Z5vp1["query"] . "' AND keyword = '" . $Z5vp1["keyword"] . "' AND language_id = '" . $Z5vp1["language_id"] . "' " . $uANXf . " LIMIT " . ($Z5vp1["count"] - 1));
goto l1KiF;
dgmFS:
$pU5UN["rows"][] = array("name" => $Z5vp1["query"], "old_value" => $Z5vp1["keyword"], "value" => $this->language->get("text_deleted"), "changed" => 0);
goto tvcuX;
eoYwQ:
nG1vF:
goto vvj8a;
hQpRU:
jFFKB:
goto m9v3k;
tvcuX:
$FsrVC++;
goto V5JNL;
AszSt:
exmCi:
goto dgmFS;
l6my7:
lzctF:
goto FKAXW;
Ypo6t:
$JwId8 = $this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = '" . $OkVUP . "' AND `value` = '" . $CGCGs . "' AND keyword = '" . $Z5vp1["keyword"] . "' AND language_id = '" . $Z5vp1["language_id"] . "' " . $uANXf . " LIMIT " . ($Z5vp1["count"] - 1));
goto A6V33;
l1KiF:
UM8Vj:
goto hPy_U;
FKAXW:
list($OkVUP, $CGCGs) = explode("=", $Z5vp1["query"]);
goto Ypo6t;
QhGgh:
if ($WzL4Y) {
goto exmCi;
}
goto Y2ARs;
A6V33:
Pb497:
goto AszSt;
hPy_U:
goto Pb497;
goto l6my7;
V5JNL:
sVaH7:
goto eoYwQ;
oywVZ:
if (!($Z5vp1["count"] > 1)) {
goto sVaH7;
}
goto QhGgh;
WuZL4:
$JwId8 = $this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $Z5vp1["query"] . "' AND keyword = '" . $Z5vp1["keyword"] . "' " . $uANXf . " LIMIT " . ($Z5vp1["count"] - 1));
goto jb2rN;
L6FKs:
if ($this->ml_mode) {
goto jFFKB;
}
goto WuZL4;
Y2ARs:
if (version_compare(VERSION, "4", ">=")) {
goto lzctF;
}
goto L6FKs;
jb2rN:
goto UM8Vj;
goto hQpRU;
vvj8a:
}
goto VsZv1;
QrevE:
$data["langs"][0]["count"] = $FsrVC;
goto yC4NL;
gx_A4:
$yiAWR = '';
goto RLUCD;
kJdIo:
He2ue:
goto kHyaO;
xDSnI:
cOCMC:
goto Ev_Hc;
vNcz5:
if ($this->ml_mode) {
goto HxuXO;
}
goto Mo9z4;
lzQZh:
$this->db->query("UPDATE `" . DB_PREFIX . "product_description` d, `" . DB_PREFIX . $this->url_alias . "` u SET d.seo_keyword = u.keyword WHERE u.query LIKE 'product_id=%' AND d.product_id = REPLACE(u.query, 'product_id=', '') AND d.language_id = u.language_id");
goto FqDd9;
O0UpZ:
if (!version_compare(VERSION, "4", "<")) {
goto rgaWz;
}
goto Ycy3v;
TOwzc:
if (!$this->ml_mode) {
goto g1S4a;
}
goto lzQZh;
kHyaO:
WvqzF:
goto R9Bac;
QCzT7:
$data["nohidecol"] = true;
goto YtXoB;
vwLON:
$uK3_t = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` IN ('path', 'product_id', 'information_id', 'route') AND language_id=0")->rows;
goto qiJlD;
GRi34:
HxuXO:
goto O0UpZ;
mcXO_:
$uK3_t = $this->db->query("SELECT count(*) AS count, query, keyword, language_id FROM " . DB_PREFIX . $this->url_alias . $yiAWR . " GROUP BY query, keyword, language_id")->rows;
goto g7_o7;
OpQp_:
rgaWz:
goto kJdIo;
qiJlD:
lLv5A:
goto Hl0Wj;
hQJF3:
if ($f_XEr == "url") {
goto HbyyR;
}
goto PNf8y;
HkGrW:
}
public function get_value()
{
goto kng2n;
iv8Gy:
if (empty($vIMyr[$cEX8Y])) {
goto yX2CI;
}
goto eiICm;
FKKir:
if (!$DMfse) {
goto FhGSo;
}
goto mQVTW;
M5zDs:
$zuJcw[] = "description";
goto oRy28;
WD3wC:
return '';
goto bdrHk;
l2jH0:
sB_IQ:
goto XOudO;
b_HJV:
$zuJcw = array("seo_keyword", "seo_h1", "seo_h2", "seo_h3", "image_alt", "image_title", "meta_title", "meta_keyword", "meta_description", "tag");
goto ehSWl;
zYi4e:
foreach ($NyfhL->rows as $fs2GI) {
goto HrlAK;
dgpGN:
goto kitdF;
goto Vlm9Q;
r4uhu:
$this->config->set($fs2GI["key"], unserialize($fs2GI["value"]));
goto ZVWoi;
tIXS3:
Aprb3:
goto dgpGN;
ML0yD:
iNrEw:
goto z37Jm;
nxXJn:
if ($this->OC_V21X) {
goto gu8Vg;
}
goto r4uhu;
FW0bL:
gu8Vg:
goto RsJ7s;
HrlAK:
if (!$fs2GI["serialized"]) {
goto mAUg1;
}
goto nxXJn;
ZVWoi:
goto Aprb3;
goto FW0bL;
GKmyI:
$this->config->set($fs2GI["key"], $fs2GI["value"]);
goto PkFDH;
Vlm9Q:
mAUg1:
goto GKmyI;
PkFDH:
kitdF:
goto ML0yD;
RsJ7s:
$this->config->set($fs2GI["key"], json_decode($fs2GI["value"], true));
goto tIXS3;
z37Jm:
}
goto bWkwg;
kng2n:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto l0mD8;
XOudO:
header("Content-Type: application/json");
goto VenFV;
NRWeo:
goto Q5lMX;
goto skBgC;
NsogE:
YZiqe:
goto ylzvA;
A0owi:
if (!($zuJcw == "all")) {
goto YZiqe;
}
goto BJSeO;
BJSeO:
if ($YRwDl == "product") {
goto IryXj;
}
goto OLVR1;
AE97z:
yX2CI:
goto WsHid;
eFHr3:
exit;
goto YPthV;
VFUSF:
$RlZow = (int) $this->request->get["id"];
goto nF6Ma;
l0mD8:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto duxxr;
nF6Ma:
$DMfse = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto FKKir;
eiICm:
$this->config->set("mlseo_current_lang", $vIMyr[$cEX8Y]);
goto AE97z;
OLVR1:
$zuJcw = array("seo_keyword", "seo_h1", "seo_h2", "seo_h3", "meta_title", "meta_keyword", "meta_description");
goto NRWeo;
em34V:
SBxyp:
goto g_U82;
oRy28:
WSQKO:
goto NsogE;
skBgC:
IryXj:
goto b_HJV;
QVfO1:
$vIMyr = $this->config->get("mlseo_lang_codes");
goto iv8Gy;
WsHid:
if (in_array($YRwDl, array("product", "category", "information", "manufacturer"))) {
goto VuRFN;
}
goto WD3wC;
hXKQg:
FhGSo:
goto QVfO1;
It3gn:
if (!$this->config->get("mlseo_update_description")) {
goto WSQKO;
}
goto M5zDs;
bdrHk:
VuRFN:
goto A0owi;
iVvg3:
$zuJcw = $this->request->get["field"];
goto VFUSF;
ylzvA:
if (!empty($zuJcw)) {
goto SBxyp;
}
goto Vp0GH;
VenFV:
echo json_encode($pU5UN);
goto eFHr3;
duxxr:
$YRwDl = $this->request->get["type"];
goto iVvg3;
Vp0GH:
return '';
goto em34V;
g_U82:
$pU5UN = array();
goto SEfM1;
mQVTW:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . "setting WHERE store_id = '" . $DMfse . "'");
goto zYi4e;
ehSWl:
Q5lMX:
goto It3gn;
SEfM1:
foreach ((array) $zuJcw as $flqEP) {
goto BBHUv;
yNWVn:
goto GGtDl;
goto n1Ryt;
YWhwI:
k7ZDZ:
goto orZJW;
nvFRJ:
$pU5UN["seo_" . $YRwDl . "_description[" . $VzaDn . "][" . $cEX8Y . "][" . $flqEP . "]"] = $FhDKC;
goto vEtd1;
vEtd1:
GGtDl:
goto ybSjy;
uf5bA:
if (!($f_XEr == "keyword")) {
goto TPXUs;
}
goto TsNVF;
uF4GY:
if (!($f_XEr == "full_desc")) {
goto vLPHo;
}
goto FyDfy;
luq7t:
goto punr3;
goto b0xjN;
CFtm1:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto raL2y;
axxEQ:
$FhDKC = mb_strtolower($FhDKC);
goto OAgLy;
zAnBI:
if ($cEX8Y) {
goto BcT_h;
}
goto Axfak;
XwPHs:
x2Jjj:
goto lnA4W;
VmZYu:
if ($YRwDl == "manufacturer") {
goto zC6U0;
}
goto mAvkL;
luFN7:
$tsmux = $this->config->get("mlseo_" . $YRwDl . "_" . $f_XEr . "_pattern");
goto VmZYu;
lnA4W:
SH095:
goto i0pJa;
YU__D:
if (!($flqEP == "seo_keyword")) {
goto NNzcn;
}
goto tivu_;
IPoA5:
y7fN5:
goto EEzmh;
eVNGz:
foreach ($vLCNO[$YRwDl . "_description"] as $ZT9bL => $RLInX) {
goto b9V5L;
b9V5L:
$vLCNO[$YRwDl . "_description"][$ZT9bL]["orig_name"] = '';
goto SXwdm;
vh0ek:
goto M5By1;
goto BDdji;
uKw2I:
$vLCNO[$YRwDl . "_description"][$ZT9bL]["orig_description"] = $vLCNO[$YRwDl . "_description"][$ZT9bL]["description"];
goto nqElA;
BDdji:
uATzy:
goto stVc8;
Y6g09:
MX9Qw:
goto Ud_G0;
DpruS:
if (!isset($vLCNO[$YRwDl . "_description"][$ZT9bL]["title"])) {
goto NkTN0;
}
goto iGP3S;
iGP3S:
$vLCNO[$YRwDl . "_description"][$ZT9bL]["orig_name"] = $vLCNO[$YRwDl . "_description"][$ZT9bL]["title"];
goto NCdLB;
stVc8:
$vLCNO[$YRwDl . "_description"][$ZT9bL]["orig_name"] = $vLCNO[$YRwDl . "_description"][$ZT9bL]["name"];
goto zfJse;
zfJse:
M5By1:
goto uKw2I;
nqElA:
$vLCNO[$YRwDl . "_description"][$ZT9bL] = array_merge($vLCNO[$YRwDl . "_description"][$ZT9bL], array_filter($vLCNO["seo_" . $YRwDl . "_description"][$DMfse][$ZT9bL]));
goto Y6g09;
NCdLB:
NkTN0:
goto vh0ek;
SXwdm:
if (isset($vLCNO[$YRwDl . "_description"][$ZT9bL]["name"])) {
goto uATzy;
}
goto DpruS;
Ud_G0:
}
goto XwPHs;
LDKWz:
if ($VzaDn || $YRwDl == "manufacturer") {
goto CLaSK;
}
goto jHfLG;
jHfLG:
$pU5UN[$YRwDl . "_description[" . $cEX8Y . "][" . $flqEP . "]"] = $FhDKC;
goto yNWVn;
YqPwj:
$FhDKC = str_replace("\"", '', $FhDKC);
goto ekB8Y;
Ngo7c:
$Sf16X = array();
goto kk2nC;
BBHUv:
switch ($flqEP) {
case "seo_keyword":
$f_XEr = "url";
goto jhFm6;
case "seo_h1":
$f_XEr = "h1";
goto jhFm6;
case "seo_h2":
$f_XEr = "h2";
goto jhFm6;
case "seo_h3":
$f_XEr = "h3";
goto jhFm6;
case "meta_title":
$f_XEr = "title";
goto jhFm6;
case "meta_keyword":
$f_XEr = "keyword";
goto jhFm6;
case "meta_description":
$f_XEr = "description";
goto jhFm6;
case "description":
$f_XEr = "full_desc";
goto jhFm6;
case "image":
$f_XEr = "image_name";
goto jhFm6;
case "image_title":
$f_XEr = "image_title";
goto jhFm6;
case "image_alt":
$f_XEr = "image_alt";
goto jhFm6;
case "tag":
$f_XEr = "tag";
goto jhFm6;
}
goto IPoA5;
sfZ6V:
H13t3:
goto n_dHj;
EEzmh:
jhFm6:
goto dOEjQ;
Llw3e:
if (!$Sf16X) {
goto H13t3;
}
goto oS5y0;
j8PKw:
B3cDJ:
goto YU__D;
CU1Vb:
$z0KI2 = $this->config->get("mlseo_remove_" . $cEX8Y);
goto nAelt;
stIvO:
$FhDKC = trim(mb_strtolower($FhDKC), ", ");
goto YWhwI;
raL2y:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->{"transform" . ucfirst($YRwDl)}($tsmux, $cEX8Y, $vLCNO, $DMfse, true);
goto V1TIs;
n1Ryt:
CLaSK:
goto nvFRJ;
JpLPA:
NNzcn:
goto uF4GY;
BT1EU:
goto vD1fq;
goto GI5E7;
zJW8V:
$tsmux = str_replace("[current]", $vLCNO["seo_" . $YRwDl . "_description"][$DMfse][$cEX8Y][$flqEP], $tsmux);
goto lnqaD;
MELRE:
if (!$this->config->get("mlseo_format_tag")) {
goto k7ZDZ;
}
goto E6R3T;
i0pJa:
LUuWK:
goto luFN7;
Axfak:
$z0KI2 = $this->config->get("mlseo_remove_" . $this->config->get("config_language_id"));
goto BT1EU;
Tappa:
$gO95M = "(\s|\.|\,|\!|\?|\(|\)|\'|\"|$)";
goto Ngo7c;
j7U2Q:
goto HXz19;
goto JPImt;
V1TIs:
if (!($flqEP == "tag")) {
goto B3cDJ;
}
goto zAnBI;
TsNVF:
if (function_exists("mb_strtolower")) {
goto PgRge;
}
goto Apz0R;
EeUlQ:
$vLCNO[$YRwDl . "_id"] = $RlZow;
goto D25_S;
kk2nC:
foreach (explode(",", $z0KI2) as $Eftlo) {
$Sf16X[] = "`" . $RxvR0 . preg_quote(trim($Eftlo), "`") . $gO95M . "`";
e48tJ:
}
goto oX8X4;
b0xjN:
zC6U0:
goto zJW8V;
OAgLy:
HXz19:
goto qn_Vx;
ybSjy:
i2tDM:
goto Y8nSA;
n_dHj:
CvAIt:
goto MELRE;
GI5E7:
BcT_h:
goto CU1Vb;
Apz0R:
$FhDKC = strtolower($FhDKC);
goto j7U2Q;
mAvkL:
$tsmux = str_replace("[current]", $vLCNO[$YRwDl . "_description"][$cEX8Y][$flqEP], $tsmux);
goto luq7t;
orZJW:
$FhDKC = trim(preg_replace("/(?:,\s*)+/", ",", $FhDKC), ", ");
goto j8PKw;
oX8X4:
ibOHw:
goto Llw3e;
qn_Vx:
TPXUs:
goto LDKWz;
oS5y0:
$FhDKC = preg_replace($Sf16X, "$1$2", $FhDKC);
goto sfZ6V;
gkE1c:
vLPHo:
goto uf5bA;
ekB8Y:
if (empty($z0KI2)) {
goto CvAIt;
}
goto wdmXb;
dOEjQ:
$vLCNO = $this->request->post;
goto EeUlQ;
nAelt:
vD1fq:
goto YqPwj;
FyDfy:
$FhDKC = nl2br($FhDKC);
goto gkE1c;
tivu_:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, $YRwDl, $vLCNO[$YRwDl . "_id"], $cEX8Y);
goto JpLPA;
rSF9c:
if (!isset($vLCNO[$YRwDl . "_description"])) {
goto SH095;
}
goto eVNGz;
JPImt:
PgRge:
goto axxEQ;
wdmXb:
$RxvR0 = "(\s|\.|\,|\!|\?|\(|\)|\'|\"|^)";
goto Tappa;
lnqaD:
punr3:
goto CFtm1;
giOb2:
$FhDKC = str_replace(array(" ", " "), ", ", $FhDKC);
goto stIvO;
E6R3T:
$FhDKC = str_replace(".", ",", $FhDKC);
goto giOb2;
D25_S:
if (!($DMfse && !empty($vLCNO["seo_" . $YRwDl . "_description"][$DMfse]))) {
goto LUuWK;
}
goto rSF9c;
Y8nSA:
}
goto l2jH0;
bWkwg:
mCczJ:
goto hXKQg;
YPthV:
}
public function generator($YRwDl = '', $f_XEr = '', $VX1uQ = '')
{
goto mWrGx;
Vaqxj:
cuzxt:
goto Tb4tR;
uysW0:
var_dump("time: " . (int) ($pglcV - $this->start_time) / 1000 . "s");
goto EBzTW;
yzhJA:
$this->limit = 100;
goto L1yyc;
lmgWN:
S5nEi:
goto eKM25;
yZ5ee:
exit;
goto IVzie;
TxfhR:
$this->start = 0;
goto qrEMH;
Td2wk:
$data["type"] = $YRwDl;
goto fw3iR;
BHfQr:
$this->store = isset($this->request->get["store"]) ? $this->request->get["store"] : 0;
goto BC26p;
zchiB:
$data["simulate"] = $WzL4Y = true;
goto PwGDv;
r_dM3:
$VZ3xg = $this->start + $this->limit;
goto fOOrZ;
ymYpq:
$data["OC_V2"] = version_compare(VERSION, "2", ">=");
goto AFKz1;
x337p:
nuGAk:
goto TxfhR;
EBzTW:
var_dump("mem peak: " . memory_get_peak_usage() / 1000000);
goto eZqM3;
Ybw__:
echo json_encode(array("success" => 1, "processed" => $VZ3xg, "progress" => $oeLLG, "finished" => $VZ3xg >= $this->total_items, "log" => $qdlc1));
goto yZ5ee;
r_Uso:
if (!(!$f_XEr && !isset($this->request->get["mode"]))) {
goto WausW;
}
goto gAywn;
BC26p:
if ($this->start) {
goto S5nEi;
}
goto YgeJo;
fw3iR:
$data["mode"] = $f_XEr;
goto RSs1P;
Q71T1:
if (!$P8XpA) {
goto tvD0A;
}
goto q0zSc;
YgeJo:
unset($this->session->data["kwCountArray"]);
goto lmgWN;
oc1Ky:
XMp6t:
goto Yln5e;
e_3h2:
$data["empty_only"] = $ZGEwe = !empty($this->request->post["empty_only"]);
goto lL5UP;
Yln5e:
if (!$this->total_items) {
goto Fyr53;
}
goto ghn3T;
s_YF2:
goto pQ1nv;
goto x337p;
cRVd5:
WxBUs:
goto r_Uso;
PwGDv:
G6TIN:
goto e_3h2;
R5DJJ:
vSw_E:
goto Td2wk;
Tb4tR:
header("Content-Type: application/json");
goto Ybw__;
fOOrZ:
if (!($VZ3xg > $this->total_items)) {
goto XMp6t;
}
goto jWvbR;
RSs1P:
$data["simulate"] = $WzL4Y = !empty($this->request->post["simulate"]);
goto a7A2E;
HApFm:
$P8XpA = false;
goto ATw2F;
pzfy4:
$this->start_time = microtime(true) * 1000;
goto ymYpq;
ghn3T:
$oeLLG = round($VZ3xg / $this->total_items * 100);
goto dXYoC;
jKTRK:
$this->start = (int) $this->request->get["start"];
goto s_YF2;
q0zSc:
$pglcV = microtime(true) * 1000;
goto uysW0;
aJNHj:
$oeLLG = 100;
goto Vaqxj;
h2Lbq:
tvD0A:
goto r_dM3;
a7A2E:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto G6TIN;
}
goto zchiB;
mi8Hy:
$data["_url"] = $this->url;
goto EV13I;
mWrGx:
$this->session->data["seopackage_processed"] = 0;
goto WQP4M;
gAywn:
return;
goto vb22O;
xIvXG:
ini_set("memory_limit", -1);
goto iluvT;
psE56:
$data["_language"] = $this->language;
goto IFuMk;
KUzK3:
if ($YRwDl) {
goto TL5lK;
}
goto S02PF;
L1yyc:
LKv7d:
goto a9ZxG;
ATw2F:
if (!$P8XpA) {
goto vwGWi;
}
goto xIvXG;
kVO6x:
pQ1nv:
goto BHfQr;
qrEMH:
$this->limit = 9999999999;
goto kVO6x;
jWvbR:
$VZ3xg = $this->total_items;
goto oc1Ky;
r9KYk:
TL5lK:
goto mzboF;
bWdNn:
if ($VX1uQ) {
goto vSw_E;
}
goto E1Bpv;
eZqM3:
die;
goto h2Lbq;
S02PF:
$YRwDl = $this->request->get["type"];
goto r9KYk;
eKM25:
if (!(!$YRwDl && !isset($this->request->get["type"]))) {
goto WxBUs;
}
goto NnpRg;
NnpRg:
return;
goto cRVd5;
dFSit:
vwGWi:
goto pzfy4;
E1Bpv:
$VX1uQ = !empty($this->request->get["redirect"]) ? $this->request->get["redirect"] : false;
goto R5DJJ;
vb22O:
WausW:
goto KUzK3;
iluvT:
set_time_limit(3600);
goto dFSit;
EV13I:
$data["token"] = $this->token;
goto Q71T1;
WQP4M:
$this->session->data["seopackage_updated"] = 0;
goto HApFm;
dXYoC:
goto cuzxt;
goto VFTS7;
mzboF:
if ($f_XEr) {
goto u9O7g;
}
goto PwYf3;
VFTS7:
Fyr53:
goto aJNHj;
XqNeW:
u9O7g:
goto bWdNn;
PwYf3:
$f_XEr = $this->request->get["mode"];
goto XqNeW;
IFuMk:
$data["_config"] = $this->config;
goto mi8Hy;
lL5UP:
if (!(!defined("SEO_PACKAGE_CLI") && $f_XEr == "related")) {
goto LKv7d;
}
goto yzhJA;
AFKz1:
if (defined("SEO_PACKAGE_CLI")) {
goto nuGAk;
}
goto jKTRK;
a9ZxG:
$qdlc1 = $this->{"generator_" . $YRwDl}($f_XEr, $WzL4Y, $ZGEwe, $VX1uQ);
goto psE56;
IVzie:
}
public function cli($YXEqj = '')
{
goto sl_H2;
pOGng:
fSBpZ:
goto QhR70;
b5sNR:
echo "Process terminated - Processed: " . $this->session->data["seopackage_processed"] . " - Updated: " . $this->session->data["seopackage_updated"] . " - Total time: " . $kSWgV;
goto wL7b0;
QhR70:
if ($JKolL || $vpdcX || $XPUAs) {
goto kCTQk;
}
goto jHusD;
DXfUs:
$kSWgV .= "1 " . $this->language->get("text_seconds");
goto ZX1Le;
vJWU1:
foreach ($cHoqT as $nDDFl) {
$this->request->post["langs"][] = $nDDFl["language_id"];
GjHiH:
}
goto kGIq6;
j5wj4:
Tq81l:
goto MRy5r;
TZ1sF:
if (!count($YXEqj["update"])) {
goto DSzv0;
}
goto PYPO_;
kGIq6:
LiA2K:
goto c_fqE;
Zge2k:
$hlQbU = time();
goto vJWU1;
AIbgR:
$vpdcX = floor(($aHDin - $JKolL * 3600) / 60);
goto Nw3CH;
cq5UN:
foreach (array("product", "category", "information", "manufacturer", "redirect") as $f_XEr) {
goto AKMpX;
AKMpX:
if (empty($_GET[$f_XEr])) {
goto ystb5;
}
goto DF1Gh;
DF1Gh:
$YXEqj["update"][$f_XEr] = (array) $_GET[$f_XEr];
goto b7UyV;
pLhnY:
sdG03:
goto f35Tb;
b7UyV:
ystb5:
goto pLhnY;
f35Tb:
}
goto xvANT;
F92Jx:
DSzv0:
goto YrPBe;
Oesen:
hLmz0:
goto DO4Er;
s03HK:
if (!$JKolL) {
goto eMQiy;
}
goto auk0h;
jHusD:
if ($kSWgV) {
goto tZMmi;
}
goto DXfUs;
NTYYn:
eMQiy:
goto k0ua4;
auk0h:
$kSWgV = $JKolL . " " . $this->language->get("text_hours");
goto NTYYn;
NPYPf:
$JKolL = floor($aHDin / 3600);
goto AIbgR;
zzrGm:
$nVxvq = $SmrIo ? "SIMULATION MODE - " : '';
goto wEw7b;
f0Ms2:
i6xHI:
goto XquJa;
DO4Er:
$SmrIo = isset($YXEqj["simulation"]) && $YXEqj["simulation"];
goto F6Jwo;
c_fqE:
$this->session->data["seopackage_processed"] = 0;
goto q5rA0;
Nw3CH:
$XPUAs = $aHDin - $JKolL * 3600 - $vpdcX * 60;
goto J1MUl;
N8hIZ:
ouWNO:
goto JLbEY;
Mq4OS:
if (isset($_GET["product"]) || isset($_GET["category"]) || isset($_GET["information"]) || isset($_GET["manufacturer"]) || isset($_GET["redirect"])) {
goto uO_n2;
}
goto i8GoN;
J1MUl:
$kSWgV = '';
goto s03HK;
q5rA0:
$this->session->data["seopackage_updated"] = 0;
goto JtBL1;
wEw7b:
$this->log(PHP_EOL . "----------------------------- CLI Request - " . $nVxvq . date("d/m/Y H:i:s") . " - Store " . $this->store . " -----------------------------", "report");
goto cq5UN;
xvANT:
AzHYa:
goto TZ1sF;
N285F:
$kSWgV .= ($JKolL ? ", " : '') . $vpdcX . " " . $this->language->get("text_minutes");
goto pOGng;
nqixo:
if (is_array($YXEqj)) {
goto Tq81l;
}
goto IDUch;
Tb7so:
$this->limit = 9999999999;
goto Qv1Bd;
Qv1Bd:
$this->store = isset($this->request->get["store"]) ? $this->request->get["store"] : 0;
goto PVoVX;
ZX1Le:
tZMmi:
goto MipLH;
k0ua4:
if (!($JKolL || $vpdcX)) {
goto fSBpZ;
}
goto N285F;
MRy5r:
goto hLmz0;
goto j7umw;
Rz5VL:
$YXEqj = $_GET;
goto Oesen;
wL5gu:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . "setting WHERE store_id = '" . $this->store . "'");
goto myUA7;
JLbEY:
DWZRG:
goto VUEXR;
PYPO_:
foreach ($YXEqj["update"] as $YRwDl => $GqKFG) {
goto PvS7M;
PvS7M:
foreach ($GqKFG as $f_XEr) {
$this->{"generator_" . $YRwDl}($f_XEr, $SmrIo, $ZGEwe, '');
fXB69:
}
goto uoHdj;
j6KLw:
lYZWR:
goto EBtmG;
uoHdj:
mEGtT:
goto j6KLw;
EBtmG:
}
goto zEAWd;
sh8b6:
$this->log("- Total updated: " . $this->session->data["seopackage_updated"], "report");
goto fAkSQ;
JtBL1:
$this->start = 0;
goto Tb7so;
XquJa:
$this->log(PHP_EOL . "Process terminated:", "report");
goto Ym7kc;
fAkSQ:
$this->log("- Total process time: " . $kSWgV, "report");
goto dlyTY;
VUEXR:
$YXEqj = $this->config->get("mlseo_cron");
goto Mq4OS;
dlyTY:
$this->log("-------------------------------------------------------------------------------------------------------" . PHP_EOL, "report");
goto b5sNR;
RCdMz:
$kSWgV .= ($vpdcX ? " and " : '') . $XPUAs . " " . $this->language->get("text_seconds");
goto f0Ms2;
i8GoN:
$YXEqj = $this->config->get("mlseo_cron");
goto nqixo;
Ym7kc:
$this->log("- Total items: " . $this->session->data["seopackage_processed"], "report");
goto sh8b6;
zEAWd:
eq2ph:
goto F92Jx;
F6Jwo:
$ZGEwe = isset($YXEqj["empty_only"]) && $YXEqj["empty_only"];
goto zzrGm;
IlNpP:
$cHoqT = $this->model_localisation_language->getLanguages();
goto Zge2k;
YrPBe:
$aHDin = time() - $hlQbU;
goto NPYPf;
Fpxfc:
return;
goto j5wj4;
sl_H2:
$this->load->model("localisation/language");
goto IlNpP;
dJDmf:
kCTQk:
goto RCdMz;
PVoVX:
if (!$this->store) {
goto DWZRG;
}
goto wL5gu;
MipLH:
goto i6xHI;
goto dJDmf;
myUA7:
foreach ($NyfhL->rows as $fs2GI) {
goto uo_lH;
uo_lH:
if (!$fs2GI["serialized"]) {
goto K5yzU;
}
goto yhRnt;
Wtp8B:
GEBVI:
goto LX07q;
UVlLt:
$this->config->set($fs2GI["key"], json_decode($fs2GI["value"], true));
goto vGUok;
oO8sX:
goto giFy4;
goto CiIxk;
MIODm:
giFy4:
goto Wtp8B;
I7c5W:
$this->config->set($fs2GI["key"], unserialize($fs2GI["value"]));
goto gwR7G;
gwR7G:
goto BbPLM;
goto b2gjj;
yhRnt:
if ($this->OC_V21X) {
goto R6BKx;
}
goto I7c5W;
CiIxk:
K5yzU:
goto vl7mC;
vl7mC:
$this->config->set($fs2GI["key"], $fs2GI["value"]);
goto MIODm;
b2gjj:
R6BKx:
goto UVlLt;
vGUok:
BbPLM:
goto oO8sX;
LX07q:
}
goto N8hIZ;
j7umw:
uO_n2:
goto Rz5VL;
IDUch:
echo "No parameters found";
goto Fpxfc;
wL7b0:
}
public function editor_data()
{
goto tiBMB;
w012F:
$B1Gt7[] = array("db" => "title", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto mNVDk;
l1nb2:
$YRwDl = $this->request->get["type"];
goto NO4mA;
PHOjW:
wOpeZ:
goto Ujzd6;
SRKWK:
echo json_encode($this->{self::$MODEL_PATH . "tool_seo_package_editor"}->simple($_GET, $YRwDl, $cEX8Y, $VzaDn, $B1Gt7));
goto aHHIL;
NrpA3:
goto tcTKK;
goto Ke70B;
dqy8Y:
l7oyR:
goto wE1Ij;
oD61W:
$B1Gt7[] = array("db" => "redirect", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto t3HAQ;
bFkEV:
BXb2b:
goto NrpA3;
Z0HA0:
$B1Gt7[] = array("db" => "url_404_id", "dt" => $M1O48++, "formatter" => "editor_404actions");
goto SJMcy;
f44Vt:
if (!in_array($YRwDl, array("product", "category"))) {
goto uBF0h;
}
goto qabgG;
GnEXK:
$B1Gt7[] = array("db" => "meta_keyword", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto MkX5m;
kelWw:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto oD61W;
KuBAC:
$B1Gt7[] = array("db" => $this->url_alias . "_id", "dt" => $M1O48++, "formatter" => "editor_deletebtn");
goto PHOjW;
VR28e:
$B1Gt7[] = array("db" => "name", "dt" => $M1O48++);
goto WH4fo;
qWBE8:
vSk6I:
goto Z5s2A;
Npcjg:
WN_R0:
goto sdQS0;
mWdpp:
$B1Gt7 = array();
goto hMVQs;
IbOsM:
wpQIH:
goto kelWw;
cubl1:
wn06h:
goto JSzlh;
mhrcD:
$B1Gt7[] = array("db" => "redirect", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto ywH2F;
qiOJe:
if ($YRwDl == "autolink") {
goto wpQIH;
}
goto LE9BU;
DP6Gs:
if ($YRwDl == "redirect") {
goto rlK_o;
}
goto qiOJe;
qTfE4:
$B1Gt7[] = array("db" => "seo_h3", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto ESOXA;
ZHukI:
zzJjM:
goto wFboC;
QIRIM:
CP9MM:
goto l1nb2;
dBdWD:
$B1Gt7[] = array("db" => "image_alt", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto dmLmx;
VVdk3:
$B1Gt7[] = array("db" => "redirect", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto Dj3Nd;
fe_qu:
w1_DO:
goto xA1T2;
kgZEd:
$this->load->model("tool/image");
goto u232L;
ESOXA:
uBF0h:
goto zu2UX;
QZ4HB:
$B1Gt7[] = array("db" => "count", "dt" => $M1O48++);
goto Z0HA0;
wE1Ij:
if (isset($this->request->get["lang"])) {
goto CP9MM;
}
goto ovQst;
kGzI3:
$B1Gt7[] = array("db" => $YRwDl . "_id", "dt" => $M1O48++, "table_alias" => "d");
goto wVDij;
wVDij:
tcTKK:
goto SRKWK;
VeUtC:
goto vSk6I;
goto IbOsM;
NUoSI:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto VVdk3;
J2VA6:
$B1Gt7[] = array("db" => "name", "dt" => $M1O48++, "formatter" => "inlineeditor_text", "table_alias" => "d");
goto Npcjg;
LE9BU:
if ($YRwDl == "404") {
goto zzJjM;
}
goto y92fG;
aHHIL:
exit;
goto HWBOH;
NO4mA:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto kuHz3;
bl0d8:
if (in_array($YRwDl, array("common", "special"))) {
goto wn06h;
}
goto DP6Gs;
bzRPv:
$B1Gt7[] = array("db" => "seo_keyword", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto clfoJ;
WH4fo:
$B1Gt7[] = array("db" => "image", "dt" => $M1O48++, "formatter" => "inlineeditor_image_name");
goto dBdWD;
eye6t:
PXVn7:
goto f44Vt;
Ujzd6:
goto BXb2b;
goto fe_qu;
Ut72l:
$B1Gt7[] = array("db" => "related", "dt" => $M1O48++, "formatter" => "inlineeditor_related");
goto eye6t;
ywH2F:
$B1Gt7[] = array("db" => "url_absolute_id", "dt" => $M1O48++, "formatter" => "editor_deletebtn");
goto bFkEV;
kuHz3:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto mWdpp;
ovQst:
return;
goto QIRIM;
tiBMB:
$this->load->model(self::$EXT_PATH . "tool/seo_package_editor");
goto kgZEd;
Dj3Nd:
$B1Gt7[] = array("db" => "url_redirect_id", "dt" => $M1O48++, "formatter" => "editor_deletebtn");
goto B2ZFg;
wFboC:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "editor_404color");
goto ZZmha;
wys1G:
if ($YRwDl == "image") {
goto LX6EI;
}
goto dUfpr;
JSzlh:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "inlineeditor_keyword");
goto Jr1aM;
uZeAw:
$B1Gt7[] = array("db" => "name", "dt" => $M1O48++, "formatter" => "inlineeditor_text", "table_alias" => "d");
goto JGK23;
duFn1:
if (!in_array($YRwDl, array("information"))) {
goto jzXBl;
}
goto ffF9F;
xA1T2:
$B1Gt7[] = array("db" => "query", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto mhrcD;
qbhm9:
ehpJj:
goto mhdWW;
Th_45:
$B1Gt7[] = array("db" => "image", "dt" => $M1O48++, "formatter" => "inlineeditor_image");
goto VR28e;
dmLmx:
$B1Gt7[] = array("db" => "image_title", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto TzEWe;
JGK23:
Uy7Dk:
goto duFn1;
ZMqfW:
$B1Gt7[] = array("db" => "image", "dt" => $M1O48++, "formatter" => "inlineeditor_image");
goto uZeAw;
hMVQs:
$M1O48 = 0;
goto wys1G;
ffF9F:
if ($VzaDn) {
goto B8P0F;
}
goto w012F;
wPket:
if (!(in_array($YRwDl, array("product")) && version_compare(VERSION, "1.5.3", ">") && !$VzaDn)) {
goto ehpJj;
}
goto pO2nw;
wE1Hn:
$B1Gt7[] = array("db" => "seo_h2", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto qTfE4;
Jr1aM:
$B1Gt7[] = array("db" => "keyword", "dt" => $M1O48++, "formatter" => "inlineeditor_text");
goto KuBAC;
MkGeK:
return;
goto dqy8Y;
mhdWW:
if (!(in_array($YRwDl, array("product")) && !$VzaDn)) {
goto PXVn7;
}
goto Ut72l;
mNVDk:
goto WN_R0;
goto Wilc6;
dUfpr:
if ($YRwDl == "absolute") {
goto w1_DO;
}
goto bl0d8;
qabgG:
$B1Gt7[] = array("db" => "seo_h1", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto wE1Hn;
FNCti:
$B1Gt7[] = array("db" => $YRwDl . "_id", "dt" => $M1O48++, "table_alias" => "i");
goto srWga;
SJMcy:
rrAKX:
goto VeUtC;
B2ZFg:
JuGpz:
goto UIp6c;
UIp6c:
goto wOpeZ;
goto cubl1;
Z5s2A:
goto JuGpz;
goto xPGSv;
OC0vU:
if (!true) {
goto t8hlT;
}
goto bzRPv;
u232L:
if (isset($this->request->get["type"])) {
goto l7oyR;
}
goto MkGeK;
srWga:
goto rrAKX;
goto ZHukI;
clfoJ:
$B1Gt7[] = array("db" => "meta_title", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto GnEXK;
ZZmha:
$B1Gt7[] = array("db" => "referer", "dt" => $M1O48++);
goto QZ4HB;
t3HAQ:
$B1Gt7[] = array("db" => "url_autolink_id", "dt" => $M1O48++, "formatter" => "editor_deletebtn");
goto qWBE8;
xPGSv:
rlK_o:
goto NUoSI;
MkX5m:
$B1Gt7[] = array("db" => "meta_description", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto wPket;
zu2UX:
t8hlT:
goto FNCti;
y92fG:
if (!in_array($YRwDl, array("product", "category", "manufacturer"))) {
goto Uy7Dk;
}
goto ZMqfW;
pO2nw:
$B1Gt7[] = array("db" => "tag", "dt" => $M1O48++, "formatter" => "inlineeditor_textarea");
goto qbhm9;
sdQS0:
jzXBl:
goto OC0vU;
Wilc6:
B8P0F:
goto J2VA6;
Ke70B:
LX6EI:
goto Th_45;
TzEWe:
$YRwDl = "product";
goto kGzI3;
HWBOH:
}
public function editor_update()
{
goto GfLQU;
qmaw4:
if (!($njXD6 == "image")) {
goto yOQ_2;
}
goto hPeyt;
KXTr6:
if ($YRwDl == "information") {
goto ISP46;
}
goto valHH;
OCXJ0:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto Wy4WZ;
BjLS4:
YE3Jl:
goto qmaw4;
w0hbJ:
$this->db->query("UPDATE " . DB_PREFIX . "url_absolute SET " . $njXD6 . " = '" . $this->db->escape($FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "'");
goto BjTxt;
eoKa8:
goto IAEbV;
goto gVdMU;
pODs8:
goto pRdhP;
goto K0Xvv;
mN9dq:
$FhDKC = pathinfo($FhDKC);
goto BlI1D;
Qfq0U:
if ($this->ml_mode) {
goto dk5Ui;
}
goto Ni0md;
Roljm:
TV0e1:
goto FWNC_;
xM7po:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "." . $ifjIK["extension"];
goto ndBy4;
BqAb9:
$DMfse = 0;
goto p76_j;
I2Hwd:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = '" . $VW4QA . "', `value` = '" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "', language_id = '" . (int) $cEX8Y . "', store_id = '" . (int) $DMfse . "'");
goto uplNV;
vJYO2:
MSunc:
goto VVG4X;
j82lD:
Ze_77:
goto aSb5I;
hPeyt:
$this->load->model(self::$EXT_PATH . "tool/seo_package");
goto nIaOe;
Y12Mf:
if (!($njXD6 == "related")) {
goto clGeg;
}
goto NUK3x;
n8Bil:
$bqAnG = $this->request->post["pk"];
goto E8Fuo;
PK_g3:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = '" . $VW4QA . "' AND `value` = '" . (int) $bqAnG . "' AND store_id = " . (int) $DMfse . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto I2Hwd;
BjTxt:
f5j2z:
goto NZmyr;
ow51L:
goto dSZB0;
goto luDq8;
eOHVv:
header("Content-Type: application/json");
goto UX4rU;
Fx0K7:
if (!($GIKbk && $GIKbk != $FhDKC)) {
goto Ze_77;
}
goto lBTIm;
yag22:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "' AND store_id = " . (int) $DMfse);
goto oUj6n;
BlI1D:
header("Content-Type: application/json");
goto dZDql;
zjmOd:
if ($YRwDl == "absolute") {
goto IvJWv;
}
goto o216M;
eakQc:
if (version_compare(VERSION, "4", ">=")) {
goto jUIBj;
}
goto D2u2K;
WZBjA:
if ($njXD6 == "seo_keyword") {
goto nnXXz;
}
goto KO_5j;
daezu:
z3ih4:
goto GUT57;
KO_5j:
if (!in_array($YRwDl, array("product", "category", "information", "manufacturer"))) {
goto ueBPr;
}
goto Ji_pY;
dooG2:
e5iFc:
goto imEE6;
IdF1q:
goto MSunc;
goto D7amo;
LLKO4:
bG7zm:
goto yag22;
NgD2x:
$hnPOp = $this->model_extension_complete_seo_catalog_seo_package;
goto QxkiM;
bBK_g:
return;
goto U4noS;
OgqaP:
header("Content-Type: application/json");
goto grps5;
odtrq:
clGeg:
goto YbRHU;
uHCz0:
v8QM4:
goto OgqaP;
Rp7dH:
$VW4QA = "path";
goto VQXvY;
Swxo7:
LHMb5:
goto Y3iuK;
OgnBt:
$DMfse = (int) $this->request->post["store"];
goto VsTPH;
vkxr9:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "' AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto wPyh0;
J6LzE:
Zc_xO:
goto Q9aRq;
uplNV:
goto TV0e1;
goto wCqy0;
K4mqA:
io4dv:
goto qJiWw;
c7gJK:
if ($YRwDl == "redirect") {
goto jLEoN;
}
goto zjmOd;
Eq_X9:
if (in_array($YRwDl, array("common", "special"))) {
goto jGQoB;
}
goto c7gJK;
cR3fc:
bwjbA:
goto WZBjA;
wnQkJ:
if ($YRwDl == "redirect") {
goto c5Y0I;
}
goto Ntb3j;
VQXvY:
Zs270:
goto KEr33;
VVG4X:
goto ocUbM;
goto daezu;
m3_Z3:
pRdhP:
goto ow51L;
tjEAs:
if ($jZ1l3) {
goto V01pg;
}
goto e331t;
TbsvQ:
TowCL:
goto vGisT;
cyKqH:
ISP46:
goto QUr9E;
Yd8jf:
CKPYx:
goto k3pJI;
wINTH:
foreach ($isCq0 as $uiFUd) {
$Z6phl[isset($uiFUd["store_id"]) ? $uiFUd["store_id"] : 0][isset($uiFUd["language_id"]) ? $uiFUd["language_id"] : $this->config->get("config_language_id")] = $uiFUd["keyword"];
RJJRK:
}
goto K4mqA;
Ni0md:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "'");
goto KZ3Cj;
KZ3Cj:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $VW4QA . "=" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "'");
goto LLUkn;
vFF5Z:
if ($YRwDl == "category") {
goto Ad6M1;
}
goto KXTr6;
NUK3x:
$this->db->query("DELETE FROM " . DB_PREFIX . "product_related WHERE product_id = '" . (int) $bqAnG . "'");
goto bQSOI;
GeHqj:
exit;
goto bxxLx;
D2u2K:
$isCq0 = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "'")->rows;
goto Ywx18;
aHk9p:
$FhDKC = ltrim($FhDKC, "/");
goto ROVvx;
mMwQE:
Fkt19:
goto FyS2a;
fg4op:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE query = '" . $VW4QA . "=" . (int) $bqAnG . "' AND store_id = " . (int) $DMfse . " AND language_id IN (" . (int) $cEX8Y . ", 0)");
goto gfEfc;
o216M:
if (!($YRwDl == "autolink")) {
goto sasJL;
}
goto iPgjl;
t5Ifx:
$ifjIK = pathinfo($on9VW["image"]);
goto g_Sn1;
Ntb3j:
if ($YRwDl == "autolink") {
goto peakO;
}
goto O1thX;
aM_4A:
goto CKPYx;
goto c8flG;
O02h_:
EVyPW:
goto MgD_3;
taMT8:
if (!empty($FhDKC)) {
goto Fs2am;
}
goto WyYd6;
dF9c9:
exit;
goto aS8VR;
RlS4q:
$jw1cu = $YRwDl == "common" && $njXD6 == "query" ? "route=" : '';
goto JKsLX;
E8Fuo:
if (isset($this->request->get["store"])) {
goto nfKN3;
}
goto lR69q;
kzeYI:
jUIBj:
goto v2oox;
nCNU4:
if (!($YRwDl == "image")) {
goto Fkt19;
}
goto bxRPS;
d5Z2_:
goto vC1N8;
goto dooG2;
Kkqn0:
$this->db->query("UPDATE " . DB_PREFIX . "product SET image = '" . $this->db->escape($FhDKC) . "' WHERE image = '" . $this->db->escape($on9VW["image"]) . "'");
goto h3VBi;
mDQrh:
nfKN3:
goto Gcy2a;
LLUkn:
goto lXN39;
goto Hdz2k;
grps5:
echo json_encode(array("status" => "success", "pk" => $bqAnG, "msg" => implode(", ", $u9dCO)));
goto dV5Aj;
p1CNb:
$VW4QA = "url_redirect_id";
goto J6LzE;
ZAp9n:
IyYKZ:
goto mN9dq;
YbRHU:
$VW4QA = $YRwDl . "_id";
goto Eq_X9;
el4uZ:
if (in_array($njXD6, array("title", "name", "seo_keyword", "seo_h1", "seo_h2", "seo_h3", "meta_title", "meta_keyword", "meta_description", "tag", "query", "keyword", "redirect", "related", "image", "image_alt", "image_title"))) {
goto YE3Jl;
}
goto dujBI;
Gcy2a:
$DMfse = (int) $this->request->get["store"];
goto KSfiB;
K0Xvv:
Ad6M1:
goto T8J99;
USpHg:
dKKF7:
goto rQ4kW;
XRcyv:
goto IpxGR;
goto C4K4H;
FK9yQ:
$this->load->model("catalog/seo_package");
goto RzK11;
valHH:
if (!($YRwDl == "manufacturer")) {
goto UfLzJ;
}
goto qILK3;
a1bij:
$VW4QA = "url_absolute_id";
goto Yd8jf;
k3pJI:
goto Zc_xO;
goto HCNxL;
GfLQU:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto Xc12w;
}
goto eOHVv;
C4K4H:
nnXXz:
goto OCXJ0;
xLKXs:
$VW4QA = $this->url_alias . "_id";
goto OvlHd;
DZw76:
if (version_compare(VERSION, "3", ">=") || $this->multistore_mode && $this->ml_mode) {
goto uxM3P;
}
goto Ar8zG;
RNeLT:
header("Content-Type: application/json");
goto JcIwl;
w2s4w:
Is2Vb:
goto IdF1q;
NHjkj:
$FhDKC = $this->request->post["value"];
goto GTKcn;
D7amo:
uxM3P:
goto fg4op;
oUj6n:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $VW4QA . "=" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "', store_id = '" . (int) $DMfse . "'");
goto w2s4w;
qILK3:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($GIKbk) . "', redirect = 'product/manufacturer&manufacturer_id=" . (int) $bqAnG . "', language_id = '" . (int) $cEX8Y . "'");
goto LUHyW;
ycCEy:
$cEX8Y = isset($this->request->post["lang"]) ? $this->request->post["lang"] : '';
goto nCNU4;
VsTPH:
e3ZwG:
goto H02J7;
bxRPS:
$YRwDl = "product";
goto mMwQE;
OvlHd:
rHG9e:
goto LQLpD;
amGSj:
peakO:
goto vpHDF;
e3DZX:
lXN39:
goto NQ893;
fhkxW:
header("Content-Type: application/json");
goto Rvuo8;
ioEDH:
$jZ1l3 = $this->db->query("SELECT * FROM " . DB_PREFIX . $Nz9PV . $YRwDl . "_description WHERE " . $VW4QA . " = '" . (int) $bqAnG . "' AND language_id = '" . (int) $cEX8Y . "'" . $dTasb)->row;
goto tjEAs;
GnqrJ:
if (in_array($YRwDl, array("common", "special"))) {
goto LHMb5;
}
goto wnQkJ;
HLBXW:
if (!$Nz9PV) {
goto TowCL;
}
goto ioEDH;
wCqy0:
dXL2g:
goto VDijb;
H02J7:
goto vld5N;
goto mDQrh;
aSb5I:
l78MZ:
goto G1lOe;
cFe4_:
$YaJgC++;
goto rgK5v;
BYMnV:
ueBPr:
goto XRcyv;
h3VBi:
$this->db->query("UPDATE " . DB_PREFIX . "product_image SET image = '" . $this->db->escape($FhDKC) . "' WHERE image = '" . $this->db->escape($on9VW["image"]) . "'");
goto ZAp9n;
uJ3PZ:
$dTasb = $Nz9PV ? " AND store_id = '" . (int) $DMfse . "'" : '';
goto HLBXW;
dujBI:
return;
goto BjLS4;
VDijb:
if (version_compare(VERSION, "4", ">=")) {
goto e5iFc;
}
goto FK9yQ;
vpHDF:
$this->db->query("UPDATE " . DB_PREFIX . "url_autolink SET " . $njXD6 . " = '" . $this->db->escape($FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "'");
goto RKcqi;
WyYd6:
$FhDKC = array();
goto YKUBi;
KYBk3:
IpxGR:
goto RNeLT;
imEE6:
$this->load->model("extension/complete_seo/catalog/seo_package");
goto NgD2x;
XfcNP:
WK2Cr:
goto OgnBt;
FyS2a:
if (!(empty($bqAnG) || empty($njXD6))) {
goto fbRkd;
}
goto bBK_g;
wGR9Q:
dSZB0:
goto j82lD;
Ar8zG:
if ($this->multistore_mode) {
goto bG7zm;
}
goto Qfq0U;
U4noS:
fbRkd:
goto el4uZ;
XSpdc:
sasJL:
goto aM_4A;
wU83Q:
if (is_string($this->request->post["value"])) {
goto i2e7F;
}
goto NHjkj;
CooJ9:
yOQ_2:
goto Y12Mf;
qJiWw:
$GIKbk = isset($Z6phl[$DMfse][$cEX8Y]) ? $Z6phl[$DMfse][$cEX8Y] : '';
goto Fx0K7;
CuCBW:
xYeK3:
goto pODs8;
KEr33:
$isCq0 = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE `key` = '" . $VW4QA . "' AND `value` = '" . (int) $bqAnG . "'")->rows;
goto NApUW;
Q4vJL:
$FhDKC = html_entity_decode($this->request->post["value"], ENT_QUOTES, "UTF-8");
goto gx2Tp;
iJ4YD:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($GIKbk) . "', redirect = 'product/product&product_id=" . (int) $bqAnG . "', language_id = '" . (int) $cEX8Y . "'");
goto wGR9Q;
VuvlH:
BupKK:
goto KsBr2;
rgK5v:
goto BupKK;
goto USpHg;
WQ34A:
IAEbV:
goto srqEL;
NZmyr:
goto a3bcK;
goto amGSj;
gVdMU:
c5Y0I:
goto Fi7FE;
G1lOe:
if (version_compare(VERSION, "4", ">=")) {
goto z3ih4;
}
goto DZw76;
ndBy4:
$YaJgC = 1;
goto VuvlH;
lR69q:
if (isset($this->request->post["store"])) {
goto WK2Cr;
}
goto BqAb9;
e331t:
$this->db->query("INSERT INTO " . DB_PREFIX . $Nz9PV . $YRwDl . "_description SET " . $VW4QA . " = '" . (int) $bqAnG . "', store_id = '" . (int) $DMfse . "', language_id = '" . (int) $cEX8Y . "'");
goto IsFxu;
rQ4kW:
if (!rename(DIR_IMAGE . $on9VW["image"], DIR_IMAGE . $FhDKC)) {
goto IyYKZ;
}
goto Kkqn0;
lBTIm:
if ($YRwDl == "product") {
goto rzaJd;
}
goto vFF5Z;
tMadK:
if (!(empty($on9VW["image"]) || empty($mC5EU["filename"]))) {
goto jriA3;
}
goto fhkxW;
v2oox:
if (!($VW4QA == "category_id")) {
goto Zs270;
}
goto Rp7dH;
gfEfc:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $VW4QA . "=" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "', language_id = '" . (int) $cEX8Y . "', store_id = '" . (int) $DMfse . "'");
goto vJYO2;
qUe0v:
$aQbRC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($mC5EU["filename"], "image", '');
goto xM7po;
Lp2R1:
$njXD6 = $this->request->post["col"];
goto nrwkn;
nIaOe:
$on9VW = $this->db->query("SELECT image FROM " . DB_PREFIX . "product WHERE product_id = '" . (int) $bqAnG . "'")->row;
goto t5Ifx;
aS8VR:
jriA3:
goto qUe0v;
IsFxu:
V01pg:
goto TbsvQ;
d0Fz5:
goto xYeK3;
goto cyKqH;
bxxLx:
Xc12w:
goto n8Bil;
dV5Aj:
exit;
goto odtrq;
QxkiM:
vC1N8:
goto Rs94C;
ZjnEv:
$Z6phl = array();
goto wINTH;
JcIwl:
echo json_encode(array("status" => "success", "msg" => $FhDKC));
goto LSjId;
wZeGf:
exit;
goto CooJ9;
Rvuo8:
echo json_encode(array("status" => "error", "pk" => $bqAnG, "msg" => "Empty value not allowed"));
goto dF9c9;
GUT57:
if ($YRwDl == "category") {
goto dXL2g;
}
goto PK_g3;
Ji_pY:
$Nz9PV = $DMfse || $YRwDl == "manufacturer" ? "seo_" : '';
goto uJ3PZ;
Q9aRq:
goto rHG9e;
goto Msvq7;
srqEL:
goto bwjbA;
goto Swxo7;
vGisT:
$this->db->query("UPDATE " . DB_PREFIX . $Nz9PV . $YRwDl . "_description SET " . $njXD6 . " = '" . $this->db->escape($FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "' AND language_id = '" . (int) $cEX8Y . "'" . $dTasb);
goto BYMnV;
luDq8:
rzaJd:
goto iJ4YD;
Msvq7:
jGQoB:
goto xLKXs;
Fi7FE:
$this->db->query("UPDATE " . DB_PREFIX . "url_redirect SET " . $njXD6 . " = '" . $this->db->escape($FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "'");
goto WQ34A;
RzK11:
$hnPOp = $this->model_catalog_seo_package;
goto d5Z2_;
Hdz2k:
dk5Ui:
goto vkxr9;
bQSOI:
$p3u0R = $u9dCO = array();
goto taMT8;
Y3iuK:
str_replace("route=", '', $FhDKC);
goto RlS4q;
YKUBi:
Fs2am:
goto gqv2p;
KsBr2:
if (!file_exists(DIR_IMAGE . $FhDKC)) {
goto dKKF7;
}
goto ahH5N;
QUr9E:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($GIKbk) . "', redirect = 'information/information&information_id=" . (int) $bqAnG . "', language_id = '" . (int) $cEX8Y . "'");
goto CuCBW;
dZDql:
echo json_encode(array("status" => "success", "pk" => $bqAnG, "msg" => $FhDKC["basename"]));
goto wZeGf;
gqv2p:
foreach ($FhDKC as $svqJA) {
goto jL4xZ;
he_sc:
$on9VW = $this->db->query("SELECT product_id, name FROM " . DB_PREFIX . "product_description WHERE language_id=" . $this->config->get("config_language_id") . " AND product_id = '" . (int) $svqJA . "'")->row;
goto OMVUi;
CNLAr:
fTc6k:
goto A_feM;
YQ_Gy:
if (!(int) $svqJA) {
goto KSp69;
}
goto ef3CN;
jg4w2:
KSp69:
goto CNLAr;
ef3CN:
$this->db->query("INSERT INTO " . DB_PREFIX . "product_related (product_id, related_id) VALUES (" . (int) $bqAnG . ", " . (int) $svqJA . ")");
goto he_sc;
jL4xZ:
$svqJA = (int) $svqJA;
goto YQ_Gy;
OMVUi:
$p3u0R[] = $on9VW["product_id"];
goto oGH4G;
oGH4G:
$u9dCO[] = $on9VW["name"];
goto jg4w2;
A_feM:
}
goto uHCz0;
ROVvx:
$FhDKC = str_replace(array("route=", "index.php?route="), '', $FhDKC);
goto w0hbJ;
p76_j:
goto e3ZwG;
goto XfcNP;
Ywx18:
goto gRsW9;
goto kzeYI;
KSfiB:
vld5N:
goto wU83Q;
wPyh0:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $VW4QA . "=" . (int) $bqAnG . "', keyword = '" . $this->db->escape($FhDKC) . "', language_id = '" . (int) $cEX8Y . "'");
goto e3DZX;
NApUW:
gRsW9:
goto ZjnEv;
iPgjl:
$VW4QA = "url_autolink_id";
goto XSpdc;
g_Sn1:
$mC5EU = pathinfo($FhDKC);
goto tMadK;
c8flG:
IvJWv:
goto a1bij;
UX4rU:
echo json_encode(array("status" => "error", "msg" => $this->language->get("error_permission")));
goto GeHqj;
NQ893:
goto Is2Vb;
goto LLKO4;
LSjId:
exit;
goto O02h_;
RKcqi:
a3bcK:
goto eoKa8;
hsWFB:
i2e7F:
goto Q4vJL;
Wy4WZ:
$FhDKC = $this->{self::$MODEL_PATH . "tool_seo_package"}->filter_seo($FhDKC, $YRwDl, $bqAnG, $cEX8Y);
goto XQFFq;
LUHyW:
UfLzJ:
goto d0Fz5;
FWNC_:
ocUbM:
goto KYBk3;
LQLpD:
if (!in_array($YRwDl, array("product", "category", "information", "manufacturer", "common", "special", "redirect", "absolute", "autolink"))) {
goto EVyPW;
}
goto GnqrJ;
nrwkn:
$YRwDl = isset($this->request->post["type"]) ? $this->request->post["type"] : '';
goto ycCEy;
XQFFq:
if (!$this->config->get("mlseo_backup")) {
goto l78MZ;
}
goto eakQc;
ahH5N:
$FhDKC = $ifjIK["dirname"] . "/" . $aQbRC . "-" . $YaJgC . "." . $ifjIK["extension"];
goto cFe4_;
JKsLX:
$this->db->query("UPDATE " . DB_PREFIX . $this->url_alias . " SET " . $njXD6 . " = '" . $this->db->escape($jw1cu . $FhDKC) . "' WHERE " . $VW4QA . " = '" . (int) $bqAnG . "'");
goto cR3fc;
O1thX:
if (!($YRwDl == "absolute")) {
goto f5j2z;
}
goto aHk9p;
HCNxL:
jLEoN:
goto p1CNb;
Rs94C:
$hnPOp->setCategorySeoV4($bqAnG, $FhDKC, $cEX8Y, $DMfse);
goto Roljm;
gx2Tp:
MDXaV:
goto Lp2R1;
GTKcn:
goto MDXaV;
goto hsWFB;
T8J99:
$this->db->query("INSERT IGNORE INTO " . DB_PREFIX . "url_redirect SET query = '/" . $this->db->escape($GIKbk) . "', redirect = 'product/category&category_id=" . (int) $bqAnG . "', language_id = '" . (int) $cEX8Y . "'");
goto m3_Z3;
MgD_3:
}
public function editor_add_alias()
{
goto aM_GV;
MKamM:
L3IAT:
goto D262n;
cARi4:
if ($YRwDl == "autolink") {
goto K_2La;
}
goto Hqgz9;
ym9_D:
if ($this->ml_mode) {
goto t3hdN;
}
goto OPKDE;
L8Uha:
if (!(version_compare(VERSION, "3", ">=") || $this->multistore_mode)) {
goto jPoYl;
}
goto rjqHl;
Y3L3f:
WVVQ5:
goto oxl7D;
Th9N0:
Ol3eQ:
goto cC1eh;
IjXJx:
if (!($YRwDl == "absolute")) {
goto MWwRh;
}
goto NAlMh;
er3zv:
mYTtV:
goto BT8CD;
OPKDE:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $this->db->escape($NyfhL) . "', keyword = '" . $this->db->escape($vHG18) . "'" . $RGTeP);
goto NUQLF;
KX7Qm:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = '" . $this->db->escape($OkVUP) . "', `value` = '" . $this->db->escape($CGCGs) . "', keyword = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'" . $RGTeP);
goto MKamM;
cC1eh:
goto KE6Oi;
goto jQAwF;
fA1ft:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto RNWr9;
NAlMh:
$NyfhL = ltrim($NyfhL, "/");
goto uD6hk;
RNWr9:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto jTQDU;
aM_GV:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto aym61;
}
goto n825A;
JjC99:
$Gd3p9 = "url_alias";
goto l9nle;
rjqHl:
$RGTeP = ", store_id = '" . (int) $VzaDn . "'";
goto o2xav;
gv1f1:
$YRwDl = $this->request->get["type"];
goto fA1ft;
z7Xil:
if ($YRwDl == "redirect" || $YRwDl == "404") {
goto fZFkP;
}
goto cARi4;
RD6wB:
goto chq0a;
goto Y3L3f;
Wbrsq:
list($OkVUP, $CGCGs) = explode("=", $NyfhL);
goto KX7Qm;
l9nle:
if ($YRwDl == "common") {
goto WVVQ5;
}
goto IjXJx;
D262n:
goto Ol3eQ;
goto GMmot;
p1pcu:
MWwRh:
goto RD6wB;
jTQDU:
$NyfhL = $_GET["query"];
goto THff3;
Hqgz9:
if ($YRwDl == "absolute") {
goto NyZjW;
}
goto ckisk;
oxl7D:
$NyfhL = "route=" . str_replace("route=", '', $NyfhL);
goto U_h1O;
Xj12t:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $this->db->escape($NyfhL) . "', keyword = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'" . $RGTeP);
goto er3zv;
sZcee:
goto B3lte;
goto Lqh7Q;
jBqxH:
TJiMb:
goto Wbrsq;
GMmot:
NyZjW:
goto DrQWb;
THff3:
$vHG18 = $_GET["keyword"];
goto JjC99;
DrQWb:
$this->db->query("INSERT INTO " . DB_PREFIX . "url_absolute SET query = '" . $this->db->escape($NyfhL) . "', redirect = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'");
goto Th9N0;
n825A:
return;
goto kZqkN;
NUQLF:
goto mYTtV;
goto TwFtW;
sTHwX:
KE6Oi:
goto sZcee;
sQ2_o:
$this->db->query("INSERT INTO " . DB_PREFIX . "url_redirect SET query = '" . $this->db->escape($NyfhL) . "', redirect = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'");
goto BeL3e;
TwFtW:
t3hdN:
goto Xj12t;
BT8CD:
goto L3IAT;
goto jBqxH;
U_h1O:
chq0a:
goto z7Xil;
kZqkN:
aym61:
goto gv1f1;
BeL3e:
B3lte:
goto qm03x;
jQAwF:
K_2La:
goto WPIaV;
jeNA5:
if (version_compare(VERSION, "4", ">=")) {
goto TJiMb;
}
goto ym9_D;
WPIaV:
$this->db->query("INSERT INTO " . DB_PREFIX . "url_autolink SET query = '" . $this->db->escape($NyfhL) . "', redirect = '" . $this->db->escape($vHG18) . "', language_id = '" . (int) $cEX8Y . "'");
goto sTHwX;
ckisk:
$RGTeP = '';
goto L8Uha;
o2xav:
jPoYl:
goto jeNA5;
Lqh7Q:
fZFkP:
goto sQ2_o;
uD6hk:
$NyfhL = str_replace(array("route=", "index.php?route="), '', $NyfhL);
goto p1pcu;
qm03x:
}
public function editor_delete_alias()
{
goto SNYPf;
HE3Pu:
aBsxU:
goto YVZ44;
SNYPf:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto nno_c;
}
goto tqZsX;
KCAcl:
goto DZqV1;
goto HE3Pu;
RQvHC:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto DwTa8;
Fsj07:
DZqV1:
goto ctTvP;
naHyK:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_autolink WHERE url_autolink_id = '" . (int) $BV1je . "'");
goto wm9rY;
eR2KG:
dtHb8:
goto vwFpD;
X9LXu:
if ($YRwDl == "absolute") {
goto wch81;
}
goto OfmfZ;
FMgI6:
$BV1je = $this->request->get["pk"];
goto RQvHC;
ctTvP:
goto dtHb8;
goto adUmy;
DwTa8:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto B8C37;
klTLj:
wch81:
goto wiiIv;
B8C37:
if ($YRwDl == "404") {
goto a2SJJ;
}
goto VfjSN;
wm9rY:
SUPK3:
goto KCAcl;
UsDps:
goto oba4W;
goto klTLj;
VfjSN:
if ($YRwDl == "redirect") {
goto aBsxU;
}
goto IQj0d;
OfmfZ:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $this->url_alias . "_id = '" . (int) $BV1je . "'");
goto UsDps;
TA_5T:
goto SUPK3;
goto Owhg1;
j5aKR:
oba4W:
goto TA_5T;
Pb2_T:
nno_c:
goto c79Ts;
wiiIv:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_absolute WHERE url_absolute_id = '" . (int) $BV1je . "'");
goto j5aKR;
adUmy:
a2SJJ:
goto RBkaX;
c79Ts:
$YRwDl = $this->request->get["type"];
goto FMgI6;
tqZsX:
return;
goto Pb2_T;
IQj0d:
if ($YRwDl == "autolink") {
goto D0PVh;
}
goto X9LXu;
Owhg1:
D0PVh:
goto naHyK;
YVZ44:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_redirect WHERE url_redirect_id = '" . (int) $BV1je . "'");
goto Fsj07;
RBkaX:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_404 WHERE url_404_id = '" . (int) $BV1je . "'");
goto eR2KG;
vwFpD:
}
public function editor_delete_aliases()
{
goto CVgav;
EDXXp:
return;
goto ci0mn;
vo3oe:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_404");
goto bbpef;
bbpef:
goto hM534;
goto qDmw8;
BIYjb:
goto VQugl;
goto uzUMT;
LX7qo:
$YRwDl = $this->request->get["type"];
goto lv49H;
SNbwz:
goto lszy2;
goto mE8Qx;
ZYNGf:
if ($YRwDl == "404") {
goto Ja8vw;
}
goto KJZ75;
YcO6d:
goto DdhIW;
goto SPvit;
bwsBa:
ieR7V:
goto BIYjb;
eMb7N:
lszy2:
goto ZYNGf;
ci0mn:
l1oUU:
goto LX7qo;
DVgo9:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $S88K9);
goto A1wSl;
pTK7W:
goto lszy2;
goto y2ueF;
kLD80:
if ($YRwDl == "autolink") {
goto hdMeu;
}
goto BczYY;
SPvit:
PL89J:
goto GFUyf;
mfCDj:
if ($YRwDl == "special") {
goto tlgBT;
}
goto SNbwz;
qDmw8:
as_pr:
goto jy9dU;
eR7OO:
if (!(version_compare(VERSION, "3", ">=") || $this->multistore_mode)) {
goto DFFTB;
}
goto S5OOP;
mE8Qx:
FU20m:
goto q48rP;
A1wSl:
goto K47nW;
goto c30BS;
q48rP:
$S88K9 = "query LIKE 'route=%'";
goto pTK7W;
lv49H:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto Bw9rp;
lgnCE:
goto jYf5i;
goto kqcnb;
UcyoA:
VQugl:
goto YcO6d;
CVgav:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto l1oUU;
}
goto EDXXp;
kqcnb:
Ja8vw:
goto dOjwY;
ffWEk:
$this->db->query("DELETE FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $S88K9 . " AND language_id = '" . (int) $cEX8Y . "'");
goto uaebt;
L1Eh_:
hM534:
goto Bl90E;
Df7L7:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_autolink");
goto UcyoA;
POahY:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_absolute");
goto bwsBa;
BczYY:
if ($YRwDl == "absolute") {
goto e3JTE;
}
goto eR7OO;
uzUMT:
hdMeu:
goto Df7L7;
c30BS:
nrf92:
goto ffWEk;
y2ueF:
tlgBT:
goto A7woU;
vpZzd:
goto ieR7V;
goto y3kQn;
Rqt6Z:
if ($this->ml_mode) {
goto nrf92;
}
goto DVgo9;
S5OOP:
$S88K9 .= " AND store_id = '" . (int) $VzaDn . "'";
goto t5Smf;
Bl90E:
jYf5i:
goto Oq6rE;
dOjwY:
if (!empty($this->request->get["redir_only"])) {
goto as_pr;
}
goto vo3oe;
uaebt:
K47nW:
goto vpZzd;
WQx7E:
if ($YRwDl == "common") {
goto FU20m;
}
goto mfCDj;
KJZ75:
if ($YRwDl == "redirect") {
goto PL89J;
}
goto kLD80;
jy9dU:
$this->db->query("DELETE u FROM " . DB_PREFIX . "url_404 u LEFT JOIN " . DB_PREFIX . "url_redirect r ON (u.query = r.query OR REPLACE(u.query, '" . HTTP_CATALOG . "', '/') = r.query) WHERE r.query IS NOT NULL");
goto L1Eh_;
B5m4h:
DdhIW:
goto lgnCE;
GFUyf:
$this->db->query("DELETE FROM " . DB_PREFIX . "url_redirect");
goto B5m4h;
Bw9rp:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto WQx7E;
A7woU:
$S88K9 = "query NOT LIKE 'route=%'
AND query NOT LIKE 'product_id=%'\xa AND query NOT LIKE 'category_id=%'
AND query NOT LIKE 'information_id=%'
AND query NOT LIKE 'manufacturer_id=%'";
goto eMb7N;
y3kQn:
e3JTE:
goto POahY;
t5Smf:
DFFTB:
goto Rqt6Z;
Oq6rE:
}
public function editor_restore_aliases()
{
goto HTaqg;
HTaqg:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto sVKKA;
}
goto lsl8J;
V_qjQ:
$VzaDn = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0;
goto sOiH4;
nYjo3:
sVKKA:
goto pFvW0;
gMhDm:
foreach ($AXGU9 as $NyfhL => $vHG18) {
goto ICHYV;
x5idt:
bIuOJ:
goto wm_QO;
rNDFB:
if ($this->ml_mode) {
goto gb7jG;
}
goto S0NT2;
a99th:
$vHG18 = URLify::downcode($vHG18, mb_substr($FoZfU, 0, 2));
goto kWP4y;
NtYef:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = 'route', `value` = '" . $NyfhL . "', keyword = '" . $vHG18 . "', language_id = '" . (int) $cEX8Y . "'" . $RGTeP);
goto rAa2_;
wVixd:
eI2bo:
goto a99th;
ICHYV:
if (!$this->config->get("mlseo_ascii_" . $cEX8Y)) {
goto bIuOJ;
}
goto Klq66;
wm_QO:
if (version_compare(VERSION, "4", ">=")) {
goto YyfDo;
}
goto rNDFB;
Ni3x7:
YyfDo:
goto NtYef;
oBm_N:
goto zj8gQ;
goto Ni3x7;
S0NT2:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'route=" . $NyfhL . "', keyword = '" . $vHG18 . "'" . $RGTeP);
goto FoxFX;
LLVY5:
$this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = 'route=" . $NyfhL . "', keyword = '" . $vHG18 . "', language_id = '" . (int) $cEX8Y . "'" . $RGTeP);
goto vQvT2;
UoS7S:
zyYe3:
goto GxPyO;
FoxFX:
goto psM_p;
goto HkSnn;
vQvT2:
psM_p:
goto oBm_N;
kWP4y:
bEyIF:
goto x5idt;
rAa2_:
zj8gQ:
goto UoS7S;
Klq66:
include_once DIR_SYSTEM . "library/gkd_urlify.php";
goto QIfK_;
QIfK_:
if (function_exists("mb_substr")) {
goto eI2bo;
}
goto g4trE;
Z47MY:
goto bEyIF;
goto wVixd;
HkSnn:
gb7jG:
goto LLVY5;
g4trE:
$vHG18 = URLify::downcode($vHG18, substr($FoZfU, 0, 2));
goto Z47MY;
GxPyO:
}
goto qJZW7;
czh_6:
$this->editor_delete_aliases();
goto P8Cc0;
Epf9p:
noL_y:
goto czh_6;
lsl8J:
return;
goto nYjo3;
eUrp1:
NSqnc:
goto gMhDm;
DWVCg:
if (!(version_compare(VERSION, "3", ">=") || $this->multistore_mode)) {
goto NSqnc;
}
goto JsHOL;
rc38b:
foreach ($cHoqT as $nDDFl) {
$ji98i[$nDDFl["language_id"]] = $nDDFl["code"];
EQPC2:
}
goto Epf9p;
qJZW7:
lkJQC:
goto QMDns;
UtHBm:
$ji98i = array();
goto rc38b;
sOiH4:
$cHoqT = $this->model_localisation_language->getLanguages();
goto UtHBm;
pFvW0:
$this->load->model(self::$EXT_PATH . "setting/friendlyurls");
goto UgN3G;
UgN3G:
$this->load->model("localisation/language");
goto vTHlv;
P8Cc0:
$AXGU9 = version_compare(VERSION, "4", ">=") ? $this->model_extension_complete_seo_setting_friendlyurls->getFriendlyUrls($FoZfU) : $this->model_setting_friendlyurls->getFriendlyUrls($FoZfU);
goto DWVCg;
PGlah:
$cEX8Y = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0;
goto V_qjQ;
vTHlv:
$FoZfU = $this->request->get["lang_code"];
goto PGlah;
JsHOL:
$RGTeP = ", store_id = '" . (int) $VzaDn . "'";
goto eUrp1;
QMDns:
}
public function editor_export_aliases()
{
goto X1UJo;
jJIa2:
$cEX8Y = $this->request->get["lang"];
goto yj9MX;
I9va5:
goto GmBDY;
goto yBe60;
t25M_:
$S88K9 = "query LIKE 'route=%'";
goto iuHfI;
h3Ws7:
n2T9p:
goto hnNTy;
ggBi4:
header("Content-type: text/plain");
goto Br470;
rfjNt:
rUYUs:
goto gfKj5;
ewMpM:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $S88K9);
goto I9va5;
Br470:
header("Content-Disposition: attachment; filename=friendly_export.txt");
goto UyNu7;
yBe60:
WPnZH:
goto GlwyT;
yj9MX:
$FoZfU = $this->request->get["lang_code"];
goto ggBi4;
msiqy:
foreach ($NyfhL->rows as $vLCNO) {
echo "'" . str_replace("route=", '', $vLCNO["query"]) . "' => '" . $vLCNO["keyword"] . "'," . PHP_EOL;
LVeAJ:
}
goto h3Ws7;
Q86Dt:
echo "Language : " . $FoZfU . PHP_EOL . PHP_EOL;
goto KmcMW;
pywWI:
GmBDY:
goto msiqy;
gfKj5:
if ($this->ml_mode) {
goto WPnZH;
}
goto ewMpM;
w0Y5Y:
jpOaS:
goto eRav7;
UyNu7:
echo "You translated friendly urls and want to integrate them in official package?" . PHP_EOL . "Please send this file to [email protected]" . PHP_EOL . PHP_EOL;
goto Q86Dt;
hnNTy:
exit;
goto okG2m;
eRav7:
$S88K9 = "query NOT LIKE 'route=%'
AND query NOT LIKE 'product_id=%'
AND query NOT LIKE 'category_id=%'\xa AND query NOT LIKE 'information_id=%'\xa AND query NOT LIKE 'manufacturer_id=%'";
goto rfjNt;
GlwyT:
$NyfhL = $this->db->query("SELECT * FROM " . DB_PREFIX . $this->url_alias . " WHERE " . $S88K9 . " AND language_id = '" . (int) $cEX8Y . "'");
goto pywWI;
cuocZ:
exit;
goto x9JQJ;
KmcMW:
if ($YRwDl == "common") {
goto GSkAl;
}
goto wh7hT;
X1UJo:
$YRwDl = $this->request->get["type"];
goto jJIa2;
wh7hT:
if ($YRwDl == "special") {
goto jpOaS;
}
goto cuocZ;
iuHfI:
goto rUYUs;
goto w0Y5Y;
x9JQJ:
goto rUYUs;
goto rqLQZ;
rqLQZ:
GSkAl:
goto t25M_;
okG2m:
}
public function modal_related()
{
goto zBORD;
ZpXnm:
die;
goto BchYH;
EPbLl:
echo '</select>\xa<script type="text/javascript">\xa $("select.related-select").select2({
\xa });\xa</script>\xa </div>
</div>\xa </div>';
goto ZpXnm;
zBORD:
$JSF1V = $this->request->post["id"];
goto zVg8l;
zVg8l:
$Wcfon = $this->db->query("SELECT pr.related_id, pd.name FROM " . DB_PREFIX . "product_related pr LEFT JOIN " . DB_PREFIX . "product_description pd ON pd.product_id = pr.related_id WHERE pr.product_id=" . (int) $JSF1V . " AND pd.language_id=" . $this->config->get("config_language_id"))->rows;
goto C5qbl;
C5qbl:
echo '<div class="modal-dialog">
<div class="modal-content">\xa <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">" . $this->language->get("text_seo_mode_related") . "</h4>\xa </div>
<div class="modal-body">
<select class="related-select" multiple="multiple">';
goto fEiCt;
fEiCt:
foreach ($Wcfon as $YEgeg) {
echo '<option value="' . $YEgeg["related_id"] . '">" . $YEgeg["name"] . "</option>';
I2SzH:
}
goto Gnav8;
Gnav8:
YHFGz:
goto EPbLl;
BchYH:
}
public function product_search()
{
goto HUDKr;
IaDZS:
$L_q29 = $this->request->get["q"];
goto KiZ84;
Kjxm8:
exit;
goto pF9j5;
LlNsm:
iEbVM:
goto IaDZS;
sKvss:
lfMsD:
goto S3zpb;
S3zpb:
header("Content-Type: application/json");
goto qaKjd;
J_54y:
echo json_encode(array("results"));
goto Hl95u;
ixI95:
header("Content-Type: application/json");
goto J_54y;
qaKjd:
echo json_encode($Gu0Rj);
goto Kjxm8;
Hl95u:
exit;
goto LlNsm;
HUDKr:
if (isset($this->request->get["q"])) {
goto iEbVM;
}
goto ixI95;
vi8xF:
$t3qCx = $this->db->query("SELECT product_id, name FROM " . DB_PREFIX . "product_description WHERE name LIKE '" . $this->db->escape($L_q29) . "%' AND language_id=" . $this->config->get("config_language_id") . " LIMIT 30")->rows;
goto pPiBl;
xuIen:
foreach ($t3qCx as $pEZzo) {
$Gu0Rj["results"][] = array("id" => $pEZzo["product_id"], "text" => htmlspecialchars_decode($pEZzo["name"]));
aNdJ1:
}
goto sKvss;
I4K6j:
$t3qCx = $this->db->query("SELECT product_id, name FROM " . DB_PREFIX . "product_description WHERE name LIKE '%" . $this->db->escape($L_q29) . "%' AND language_id=" . $this->config->get("config_language_id") . " LIMIT 30")->rows;
goto vjUGc;
KiZ84:
$Gu0Rj = array("results");
goto vi8xF;
pPiBl:
if ($t3qCx) {
goto uPeh2;
}
goto I4K6j;
vjUGc:
uPeh2:
goto xuIen;
pF9j5:
}
public function modal_info()
{
goto zf5_m;
zf5_m:
$R02YI = $this->request->post["info"];
goto Xl90G;
pHFx2:
$EHwb1 = $this->language->get("info_title_" . $R02YI) != "info_title_" . $R02YI ? $this->language->get("info_title_" . $R02YI) : $this->language->get("info_title_default");
goto nQpU6;
UWmNK:
echo '<div class="modal-dialog ' . $C9CiQ . '">
<div class="modal-content">\xa <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title"><i class="fa fa-info-circle"></i> ' . $EHwb1 . '</h4>
</div>\xa <div class="modal-body">' . $QjyJX . '</div>\xa </div>
</div>';
goto BU8cr;
Xl90G:
$C9CiQ = $this->language->get("info_css_" . $R02YI) != "info_css_" . $R02YI ? $this->language->get("info_css_" . $R02YI) : "modal-lg";
goto pHFx2;
BU8cr:
die;
goto BOKcS;
nQpU6:
$QjyJX = $this->language->get("info_msg_" . $R02YI) != "info_msg_" . $R02YI ? $this->language->get("info_msg_" . $R02YI) : $this->language->get("info_msg_default");
goto UWmNK;
BOKcS:
}
public function install($uRsNb = false)
{
goto pco1x;
NkF2r:
klTSI:
goto hVopp;
O0D5g:
if (version_compare(VERSION, "2", ">=")) {
goto klTSI;
}
goto nvppT;
Lf9Fn:
Kuyrz:
goto Mratw;
xSuJK:
goto UK3i5;
goto NkF2r;
TQtT4:
file_put_contents(DIR_CATALOG . "../index.php", $cbmgs);
goto b0PLD;
VmW4i:
if (!(version_compare(VERSION, "3", "<") && is_dir(DIR_APPLICATION . "controller/extension/module"))) {
goto PBbco;
}
goto tVY98;
KbwV1:
fIbRP:
goto iBeSB;
pco1x:
if (!$this->config->get("mlseo_enabled")) {
goto gv4JA;
}
goto cHRAE;
hVW58:
lOkvA:
goto BW2V7;
b0PLD:
jkLUM:
goto Lf9Fn;
onI2p:
gv4JA:
goto VmW4i;
XwHGf:
foreach ($e7DRu as $GgSL6) {
$cHoqT[$GgSL6["code"]] = $GgSL6;
Kknwv:
}
goto KbwV1;
ev0FF:
$e7DRu = $this->model_localisation_language->getLanguages();
goto XwHGf;
qljD5:
if (!(strpos($cbmgs, "new multilingual_seo") === false && strpos($cbmgs, "$languages = array();") !== false)) {
goto jkLUM;
}
goto Th0z_;
NAsOJ:
$this->db_tables();
goto Cl9vn;
Th0z_:
$cbmgs = str_replace("$languages = array();", "$languages = array();" . "
" . "$multilingual = new multilingual_seo($registry); $multilingual->detect();", $cbmgs);
goto TQtT4;
JKRF6:
$cbmgs = file_get_contents(DIR_CATALOG . "../index.php");
goto qljD5;
d9TG0:
if (!is_writable(DIR_CATALOG . "../index.php")) {
goto Kuyrz;
}
goto JKRF6;
Cl9vn:
$this->load->model("localisation/language");
goto QlBGT;
Mratw:
if (!($uRsNb || !empty($this->request->get["redir"]))) {
goto lOkvA;
}
goto O0D5g;
hLmOv:
$this->model_setting_setting->editSetting("mlseo", array("mlseo_whitespace" => "-", "mlseo_extension" => '', "mlseo_hreflang" => true, "mlseo_friendly" => true, "mlseo_lowercase" => true, "mlseo_duplicate" => true, "mlseo_canonical" => true, "mlseo_pagination_fix" => true, "mlseo_default_lang" => $this->config->get("config_language"), "mlseo_insertautotitle" => true, "mlseo_insertautourl" => true, "mlseo_editautourl" => true, "mlseo_insertautometakeyword" => true, "mlseo_editautometakeyword" => true, "mlseo_insertautoseotitle" => true, "mlseo_editautoseotitle" => true, "mlseo_insertautometadesc" => true, "mlseo_editautometadesc" => true, "mlseo_safe_url" => "ext", "mlseo_product_url_pattern" => "[name]", "mlseo_product_h1_pattern" => "[name]", "mlseo_product_h2_pattern" => "[name]", "mlseo_product_h3_pattern" => "[name]", "mlseo_product_image_alt_pattern" => "[name]", "mlseo_product_image_title_pattern" => "[name]", "mlseo_product_image_name_pattern" => "[name]", "mlseo_product_title_pattern" => "[name] - [model]", "mlseo_product_keyword_pattern" => "[name], [model], [category]", "mlseo_product_description_pattern" => "[name] - [model] - [category] - [desc]", "mlseo_product_full_desc_pattern" => "[name] - [model] - [category]", "mlseo_product_tag_pattern" => "[name], [model], [category]", "mlseo_category_url_pattern" => "[name]", "mlseo_category_h1_pattern" => "[name]", "mlseo_category_h2_pattern" => "[name]", "mlseo_category_h3_pattern" => "[name]", "mlseo_category_title_pattern" => "[name]", "mlseo_category_keyword_pattern" => "[name], [desc]", "mlseo_category_description_pattern" => "[name] - [desc]", "mlseo_category_full_desc_pattern" => "[name]", "mlseo_information_url_pattern" => "[name]", "mlseo_information_h1_pattern" => "[name]", "mlseo_information_h2_pattern" => "[name]", "mlseo_information_h3_pattern" => "[name]", "mlseo_information_title_pattern" => "[name]", "mlseo_information_keyword_pattern" => "[name] [desc]", "mlseo_information_description_pattern" => "[name] - [desc]", "mlseo_information_full_desc_pattern" => "[name]", "mlseo_manufacturer_url_pattern" => "[name]", "mlseo_manufacturer_h1_pattern" => "[name]", "mlseo_manufacturer_h2_pattern" => "[name]", "mlseo_manufacturer_h3_pattern" => "[name]", "mlseo_manufacturer_title_pattern" => "[name]", "mlseo_product_related_relevance" => 5, "mlseo_product_related_no" => 5, "mlseo_microdata_data" => array("model" => 1, "desc" => 1, "brand" => 1, "reviews" => 1, "product" => 1, "organization" => 1, "store" => 1, "website" => 1, "breadcrumbs" => 1, "organization_search" => 1, "store_logo" => 1, "store_mail" => 1, "website_search" => 1), "mlseo_tcard_data" => array("desc" => 1), "mlseo_opengraph_data" => array("desc" => 1)));
goto d9TG0;
cHRAE:
return;
goto onI2p;
iBeSB:
$this->load->model("setting/setting");
goto hLmOv;
nvppT:
$this->redirect($this->url->link("module/" . self::MODULE, $this->token, "SSL"));
goto xSuJK;
hVopp:
$this->response->redirect($this->url->link("module/" . self::MODULE, $this->token, "SSL"));
goto Cc_vI;
Cc_vI:
UK3i5:
goto hVW58;
QlBGT:
$cHoqT = array();
goto ev0FF;
tVY98:
PBbco:
goto NAsOJ;
BW2V7:
}
private function log($kV9Yt = '', $f_XEr = "all")
{
goto E3CX1;
q338c:
$p4ySU = $kV9Yt . PHP_EOL;
goto G5Ots;
G5Ots:
file_put_contents($bGAvr, $p4ySU, FILE_APPEND | LOCK_EX);
goto lJZGu;
gNL1o:
j2t_B:
goto fSIjc;
RY2JK:
return;
goto gNL1o;
fSIjc:
if (!($this->config->get("mlseo_cron_log") == "report" && $f_XEr != "report")) {
goto ojAam;
}
goto zKXHp;
wi9rx:
$bGAvr = DIR_LOGS . "seo_package_cli.log";
goto q338c;
zKXHp:
return;
goto qqlpc;
qqlpc:
ojAam:
goto wi9rx;
E3CX1:
if (!($this->config->get("mlseo_cron_log") == "off")) {
goto j2t_B;
}
goto RY2JK;
lJZGu:
}
public function uninstall()
{
goto UklJR;
UklJR:
$Ydf1W = $this->config->get("config_language_id");
goto TFa8k;
m8AmS:
if (!$this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'language_id'")->row) {
goto puyzZ;
}
goto iQNsz;
TFa8k:
if (!version_compare(VERSION, "3", "<")) {
goto IVKjO;
}
goto m8AmS;
ABVDN:
file_put_contents(DIR_CATALOG . "../index.php", $cbmgs);
goto srDDF;
RZJIW:
IVKjO:
goto CUkZM;
CUkZM:
if (!version_compare(VERSION, "2.2", "<")) {
goto MneD9;
}
goto utmBB;
Xy72L:
puyzZ:
goto RZJIW;
utmBB:
$cbmgs = file_get_contents(DIR_CATALOG . "../index.php");
goto JciE5;
Lmlia:
$this->db->query("ALTER TABLE `" . DB_PREFIX . $this->url_alias . "` DROP `language_id`");
goto Xy72L;
iQNsz:
$this->db->query("DELETE FROM `" . DB_PREFIX . $this->url_alias . "` WHERE language_id <> " . $Ydf1W . " AND language_id <> 0");
goto Lmlia;
JciE5:
$cbmgs = str_replace("$multilingual = new multilingual_seo($registry); $multilingual->detect();", '', $cbmgs);
goto ABVDN;
srDDF:
MneD9:
goto ibJ41;
ibJ41:
}
private function validate()
{
goto IePAm;
OrJgH:
A3lEk:
goto hEaXw;
afeiB:
return false;
goto FyG4P;
BJ8Ou:
rdbBO:
goto afeiB;
VvIup:
$this->error["error"] = $this->language->get("error_permission");
goto OrJgH;
IePAm:
if ($this->user->hasPermission("modify", self::$LINK)) {
goto A3lEk;
}
goto VvIup;
hEaXw:
if ($this->error) {
goto rdbBO;
}
goto FSUrb;
FSUrb:
return true;
goto BJ8Ou;
FyG4P:
}
private function db_tables()
{
goto xQ83n;
PnxQd:
$this->db->query("ALTER TABLE `" . DB_PREFIX . $this->url_alias . "` ADD `store_id` INT(11) NOT NULL DEFAULT '0'");
goto M7Kmk;
yFcP_:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "category_description` LIKE 'seo_keyword'")->row) {
goto WzMUH;
}
goto zeNgb;
Ymb00:
if (!$this->config->get("mlseo_multistore")) {
goto Qcj8O;
}
goto s_DCb;
RQuXR:
Qcj8O:
goto zSQDZ;
UhS9v:
WEsBC:
goto QKTxL;
TdhHU:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'seo_h2'")->row) {
goto PaQOx;
}
goto GFxax;
S_noO:
if (!(count($cHoqT) > 1)) {
goto xoymP;
}
goto AIK2p;
yT9ou:
$cHoqT = $this->model_localisation_language->getLanguages();
goto F4CYs;
j21Lv:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product` ADD `seo_canonical` VARCHAR(32) NOT NULL");
goto AeyGe;
xRN4I:
xoymP:
goto JTP_7;
CfmQA:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "category_description` ADD `seo_h2` VARCHAR(255) NOT NULL");
goto UhS9v;
MhE7A:
$this->db->query("ALTER TABLE `" . DB_PREFIX . "product_description` ADD `seo_keyword` VARCHAR(255) NOT NULL");
goto lwvTI;
Km1wZ:
JIs1o:
goto fP38B;
AIK2p:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . $this->url_alias . "` LIKE 'language_id'")->row) {
goto EzGSE;
}
goto uGWbW;
AXUQ9:
eeRhp:
goto KIS9w;
vRyTy:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "product_description` LIKE 'image_title'")->row) {
goto WHLWd;
}
goto Czcpd;
oboU6:
WSq3E:
goto vRyTy;
Y8pyQ:
if ($this->db->query("SHOW COLUMNS FROM `" . DB_PREFIX . "information_description` LIKE 'seo_h1'")->row) {
goto dXF0w;
}
goto CLyve;
tpHyV:
foreach (array("product", "category", "information") as $YRwDl) {
goto blgi6;
blgi6:
$aveZd = $this->db->query("SELECT CHARACTER_MAXIMUM_LENGTH AS length FROM information_schema.columns WHERE table_schema = DATABASE() AND table_name = '" . DB_PREFIX . $YRwDl . "_description' AND COLUMN_NAME = 'seo_keyword'")->row;
goto nJ6WM;
Gi3e3:
XANVi:
goto V7Ng6;
MH80C:
$this->db->query("ALTER TABLE `" . DB_PREFIX . $YRwDl . "_description` MODIFY COLUMN `seo_keyword` VARCHAR(255) NOT NULL");
goto FeBWS;
nJ6WM:
if (!($aveZd["length"] < 255)) {
goto cXuS4;
}
goto MH80C;
FeBWS: