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 use Tygh\Registry; use Tygh\Settings; use Tygh\SoftSolid\SsVendorFiltering\Logg..
Decoded Output download
<?php
use Tygh\Registry;
use Tygh\Settings;
use Tygh\SoftSolid\SsVendorFiltering\LoggerAddons;
use Tygh\SoftSolid\SsVendorFiltering\LicenseAddons;
use Tygh\Languages\Languages;
goto rrDvk;
Zkx8Y:
function fn_settings_actions_addons_post_ss_vendor_filtering($status)
{
goto G7NDE;
G7NDE:
if (!($status == "A")) {
goto yvVQb;
}
goto kvpge;
hnKo4: yvVQb:
goto fh9zd;
kvpge:
$_SESSION[$_REQUEST["id"]] = "A";
goto hnKo4;
fh9zd:
}
goto SKmX2;
Nwdck:
function fn_ss_vendor_filtering_get_main_categories_for_vendor($company_id)
{
goto eW7q4;
eW7q4:
$addon_params = Registry::get("addons.ss_vendor_filtering");
goto U_Kb9;
h55q3:
$categories_plan = db_get_field("SELECT categories FROM ?:vendor_plans WHERE plan_id = ?i", $plan_id);
goto zk6mf;
OY3kY:
goto cKjli;
goto jTCoW;
JsyQ7:
foreach ($categories as $key => $category) {
goto dm3X_;
S7efg: YZMlr:
goto f9DEq;
lp86p: mrJ8l:
goto S7efg;
wRhY0:
array_push($category_ids, $id_path[$addon_params["ss_vendor_filtering_category_level"] - 1]);
goto lp86p;
ouvTs:
if (!isset($id_path[$addon_params["ss_vendor_filtering_category_level"] - 1])) {
goto mrJ8l;
}
goto wRhY0;
dm3X_:
$id_path = preg_split("/\//", $category["id_path"]);
goto ouvTs;
f9DEq:
}
goto MGjjD;
MqpND:
goto QcHJx;
goto kDk23;
U_Kb9:
$category_ids = array();
goto J1QyX;
EvgQE:
$conditions = '';
goto g3ODl;
V6naT: RjMJk:
goto W7sMk;
CZgas: ZhcbX:
goto ieXMv;
d8ilu: kbly1:
goto OY3kY;
OrlYO:
$plan_id = db_get_field("SELECT plan_id FROM ?:companies WHERE company_id = ?i", $company_id);
goto QHnhi;
zk6mf:
if (!empty($categories_plan)) {
goto XwCSa;
}
goto sWpBV;
ZVV7N:
$category_ids = array_unique($category_ids);
goto LMuPA;
R3xuz:
$conditions .= db_quote(" AND p.status = ?s", "A");
goto FP48p;
g3ODl:
if (!($addon_params["ss_vendor_filtering_only_active"] == "Y")) {
goto nqypF;
}
goto R3xuz;
mzR9k:
if (!(isset($company_id) && $company_id > 0)) {
goto DzTRI;
}
goto OrlYO;
l_P2P: XwCSa:
goto XGID7;
q9Fiz:
if ($addon_params["ss_vendor_filtering_level_logic"] == "only_selected") {
goto dUlwo;
}
goto W9nz7;
J1QyX:
if ($addon_params["ss_vendor_filtering_category"] == "category_from_plan") {
goto gYpBq;
}
goto EvgQE;
DjSjP:
foreach ($categories as $key => $category) {
goto NEZq5;
zPUTx: WKtPo:
goto OPbJc;
TooUB: EmM22:
goto DK72N;
h3F_T:
$i = $addon_params["ss_vendor_filtering_category_level"] - 1;
goto zPUTx;
OPbJc:
if (!($i >= 0)) {
goto EmM22;
}
goto LKKSF;
wy3lI: CxrYI:
goto Ddbei;
QJUDL:
array_push($category_ids, $id_path[$i]);
goto cTMSB;
Ix8jo:
goto WKtPo;
goto TooUB;
LKKSF:
if (!isset($id_path[$i])) {
goto rxtPF;
}
goto QJUDL;
cTMSB: rxtPF:
goto wy3lI;
DK72N: tDfjh:
goto Z3Gog;
Ddbei:
$i--;
goto Ix8jo;
NEZq5:
$id_path = preg_split("/\//", $category["id_path"]);
goto h3F_T;
Z3Gog:
}
goto d8ilu;
MGjjD: OeeGf:
goto uqxXN;
ieXMv:
foreach ($categories_plan_array as $category_id) {
goto yoq4t;
cm4s_:
array_push($category_ids, $category_id);
goto I1d2k;
tQNaY: vwZGt:
goto cm4s_;
RPm3n:
$id_path = preg_split("/\//", $category_data["id_path"]);
goto HSuWY;
I1d2k: cbS0s:
goto u2Dw9;
yoq4t:
$category_data = db_get_row("SELECT * FROM ?:categories WHERE category_id = ?i", $category_id);
goto s8UDz;
HSuWY:
$category_id = array_shift($id_path);
goto tQNaY;
s8UDz:
if (!(isset($category_data) && !empty($category_data) && $category_data["parent_id"] > 0)) {
goto vwZGt;
}
goto RPm3n;
u2Dw9:
}
goto bY0im;
QMXvj:
$categories_id = db_get_fields("SELECT DISTINCT pc.category_id FROM ?:products_categories AS pc\xa LEFT JOIN ?:products AS p ON pc.product_id = p.product_id
LEFT JOIN ?:categories AS c ON c.category_id = pc.category_id\xa WHERE p.company_id = ?i AND c.status = ?s ?p", $company_id, "A", $conditions);
goto B6R7y;
jTCoW: dUlwo:
goto JsyQ7;
Hw5Lr: DzTRI:
goto SyTu2;
QHnhi:
if (!(isset($plan_id) && $plan_id > 0)) {
goto vusd1;
}
goto h55q3;
r7oml: vusd1:
goto Hw5Lr;
LMuPA: g6Qra:
goto MqpND;
XGID7:
$categories_plan_array = explode(",", $categories_plan);
goto CZgas;
kDk23: gYpBq:
goto mzR9k;
sWpBV:
$categories_plan_array = db_get_fields("SELECT category_id FROM ?:categories WHERE parent_id = ?i", 0);
goto WhQJ7;
FP48p: nqypF:
goto QMXvj;
dC8qM:
$categories = db_get_array("SELECT * FROM ?:categories WHERE category_id IN (?a)", $categories_id);
goto q9Fiz;
ZuvXQ:
return $category_ids;
goto um56I;
W9nz7:
if ($addon_params["ss_vendor_filtering_level_logic"] == "selected_and_below") {
goto RjMJk;
}
goto DjSjP;
WhQJ7:
goto ZhcbX;
goto l_P2P;
EBluJ: cKjli:
goto ZVV7N;
W7sMk:
foreach ($categories as $key => $category) {
goto nzSeW;
nzSeW:
$id_path = preg_split("/\//", $category["id_path"]);
goto cbA6q;
pMNdG: XYoeQ:
goto WvzJV;
fb04u: B43Xp:
goto pMNdG;
gvFED: tuxwY:
goto zkmT8;
zkmT8:
$i++;
goto ZMaOb;
uMBcp:
if (!($i <= count($id_path) - 1)) {
goto B43Xp;
}
goto r7qlh;
bfSWM: EvXX1:
goto uMBcp;
ZMaOb:
goto EvXX1;
goto fb04u;
r7qlh:
array_push($category_ids, $id_path[$i]);
goto gvFED;
cbA6q:
$i = $addon_params["ss_vendor_filtering_category_level"] - 1;
goto bfSWM;
WvzJV:
}
goto tTU2k;
SyTu2: QcHJx:
goto ZuvXQ;
tTU2k: HNcDb:
goto EBluJ;
bY0im: PLkTC:
goto r7oml;
B6R7y:
if (empty($categories_id)) {
goto g6Qra;
}
goto dC8qM;
uqxXN:
goto cKjli;
goto V6naT;
um56I:
}
goto MZEfe;
rrDvk:
require_once "hooks.php";
goto dqUX_;
qXSyG:
function fn_ss_vendor_filtering_get_stats()
{
goto Pk0kd;
OZhfP:
if (class_exists("\Tygh\SoftSolid\SsVendorFiltering\LicenseAddons")) {
goto QTiQF;
}
goto kSeQA;
kSeQA:
$stats = "<div style="float:center;font-size:16px">" . __("{addon_id}_stats_no_activity") . "</div>";
goto SHq65;
H6UeM: QTiQF:
goto SJnCS;
cPEoE: Ked3Y:
goto ZUIa2;
SHq65:
goto Ked3Y;
goto H6UeM;
SJnCS:
$stats = LicenseAddons::instance()->getStats();
goto cPEoE;
Pk0kd:
$stats = array();
goto OZhfP;
ZUIa2:
return $stats;
goto MsiZa;
MsiZa:
}
goto NZxML;
U9haq:
function fn_ss_vendor_filtering_get_vendor_features($empty_param)
{
$features = db_get_array("SELECT f.ss_vendor_filtering_feature_fields_id, fd.name
FROM ?:ss_vendor_filtering_feature_fields AS f\xa LEFT JOIN ?:ss_vendor_filtering_feature_fields_descriptions AS fd
ON f.ss_vendor_filtering_feature_fields_id = fd.ss_vendor_filtering_feature_fields_id
WHERE f.status = ?s AND f.feature_type = ?s AND fd.lang_code = ?s", "A", "V", DESCR_SL);
return $features;
}
goto A7KFH;
gRij0:
function fn_ss_vendor_filtering_assign_features($feature_fields_ids = array(), $company_ids = array())
{
goto gdHZ2;
bwaw3: VZ02L:
goto YbUnz;
gdHZ2:
$addon_params = Registry::get("addons.ss_vendor_filtering");
goto Nu_yb;
YbUnz:
if (!empty($feature_fields_ids)) {
goto lQqLZ;
}
goto aHGAg;
ZS6Mk:
return true;
goto Zhi1S;
FUOVY: lQqLZ:
goto CGDaO;
ck7gh:
if (!(count(Languages::getAll()) > 1 && $ss_vendor_filtering_feature["feature_type"] != "V")) {
goto NfQJW;
}
goto g50OQ;
g50OQ:
fn_ss_vendor_filtering_update_lang_version($company_id);
goto baKVH;
NdbFG:
foreach ($feature_fields_ids as $key => $ss_vendor_filtering_feature_fields_id) {
goto jUqiD;
jUqiD:
$feature_code = db_get_field("SELECT feature_code FROM ?:ss_vendor_filtering_feature_fields WHERE ss_vendor_filtering_feature_fields_id = ?i", $ss_vendor_filtering_feature_fields_id);
goto k38kv;
k38kv:
if (empty($feature_code)) {
goto AYFcI;
}
goto tZX2P;
vI6iT: AYFcI:
goto cEGbs;
tZX2P:
$feature_id = db_get_field("SELECT feature_id FROM ?:product_features WHERE feature_code = ?s", $feature_code);
goto Yz7Zs;
fxcWw:
fn_delete_product_feature_variants($feature_id);
goto UM7Im;
UM7Im: QmF3b:
goto vI6iT;
cEGbs: jLqdE:
goto YUUz7;
Yz7Zs:
if (!isset($feature_id)) {
goto QmF3b;
}
goto fxcWw;
YUUz7:
}
goto Idvke;
AiSUx:
foreach ($company_ids as $company_id) {
goto hrR4i;
ftmYV: i5Pmi:
goto Rn_99;
bia1M: EC_Eg:
goto b7XJc;
wNmqZ:
foreach ($feature_fields_ids as $ss_vendor_filtering_feature_fields_id) {
goto Q2hU5;
Y9AUJ: OGWf0:
goto ArSO3;
HImy1:
$filter_id = fn_ss_vendor_filtering_create_filter($feature_id, 0);
goto zTcL6;
dk1ik: MYNvu:
goto yq00V;
MDYs7:
$field_ids = trim($field_ids);
goto Jtnba;
i_tmd:
$variant_id = db_get_field("SELECT pfv.variant_id FROM ?:product_feature_variant_descriptions AS pfvd LEFT JOIN ?:product_feature_variants AS pfv
ON pfvd.variant_id = pfv.variant_id AND pfv.feature_id = ?i\xa WHERE variant = ?s AND lang_code = ?s", $feature_id, $feature_variant_value, "en");
goto w2NVl;
OQK4Q: okiye:
goto NeyU2;
giqj4:
foreach ($field_ids_split as $key => $field_id) {
goto F0DSn;
IYe9c: SMZXb:
goto TRqHG;
wiqIl:
foreach (Languages::getAll() as $lang_code => $v) {
goto bUDRQ;
igii8: QNTqU:
goto CuG9n;
bUDRQ:
$product_features_values = array("feature_id" => $feature_id, "product_id" => $vendor_product_id, "variant_id" => $variant_id, "lang_code" => $lang_code);
goto pb_I7;
pb_I7:
db_query("REPLACE INTO ?:product_features_values ?e", $product_features_values);
goto igii8;
CuG9n:
}
goto VgAGf;
T1uS_: qCCXz:
goto v5Fr6;
F0DSn:
$field_id = trim($field_id);
goto XXIAd;
XXIAd:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_id, $ss_vendor_filtering_feature_fields_id, $company_id, $ss_vendor_filtering_feature["feature_type"]);
goto qUsyW;
VgAGf: fAGsZ:
goto T1uS_;
qUsyW:
if (!$feature_id) {
goto JcdJW;
}
goto VqxWA;
RSI0i:
$set_feature = db_get_field("SELECT {$field_id} FROM ?:companies WHERE company_id = ?i", $company_id);
goto nodbu;
nodbu:
if (!($set_feature == "Y" && isset($variant_id) && $variant_id > 0)) {
goto qCCXz;
}
goto wiqIl;
v5Fr6: JcdJW:
goto IYe9c;
VqxWA:
$variant_id = db_get_field("SELECT pfv.variant_id FROM ?:product_feature_variant_descriptions AS pfvd LEFT JOIN ?:product_feature_variants AS pfv\xa ON pfvd.variant_id = pfv.variant_id AND pfv.feature_id = ?i\xa WHERE variant = ?s AND lang_code = ?s", $feature_id, $feature_variant_value, "en");
goto RSI0i;
TRqHG:
}
goto M9F2w;
BaA3_:
foreach (unserialize($svfv_feature_fields) as $ss_vendor_filtering_feature_fields_id_local => $flag) {
goto e9Giv;
CPlCd:
$feature_id_from = db_get_field("SELECT feature_id FROM ?:product_filters WHERE filter_id = ?i", $filter_id);
goto V4s1i;
FgvSY:
foreach (Languages::getAll() as $lang_code => $v) {
goto W9ddF;
W9ddF:
$product_features_values = array("feature_id" => $feature_id, "product_id" => $vendor_product_id, "value" => $flag, "lang_code" => $lang_code);
goto c3GA1;
S0_5L: iiu_Z:
goto wgAGS;
c3GA1:
db_query("REPLACE INTO ?:product_features_values ?e", $product_features_values);
goto S0_5L;
wgAGS:
}
goto nCEd6;
V4s1i:
if (!($feature_id == $feature_id_from)) {
goto g531P;
}
goto FgvSY;
gK_7i: KnDhD:
goto c5_qS;
e9Giv:
$filter_id = db_get_field("SELECT filter_id FROM ?:ss_vendor_filtering_feature_fields WHERE ss_vendor_filtering_feature_fields_id = ?i", $ss_vendor_filtering_feature_fields_id_local);
goto CPlCd;
nCEd6: u6CVi:
goto Z3Fv0;
Z3Fv0: g531P:
goto gK_7i;
c5_qS:
}
goto Tm0e9;
m0sF5:
db_query("DELETE FROM ?:product_features_values WHERE product_id = ?i AND feature_id = ?i", $vendor_product_id, $feature_id);
goto SZFxb;
SFXBR:
foreach (Languages::getAll() as $lang_code => $v) {
goto Wm43Q;
pzwmO: k3Ngc:
goto RGpZ3;
Y02WA:
db_query("REPLACE INTO ?:product_features_values ?e", $product_features_values);
goto pzwmO;
Wm43Q:
$product_features_values = array("feature_id" => $feature_id, "product_id" => $vendor_product_id, "variant_id" => $variant_id, "lang_code" => $lang_code);
goto Y02WA;
RGpZ3:
}
goto JsdWC;
uZrcC:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, "V");
goto gZL8q;
pLbye: xh7Ag:
goto kye3I;
kye3I:
$field_ids_split = preg_split("/\,/", $field_ids);
goto giqj4;
ejl_v: hbvJV:
goto MDYs7;
gB3nU:
if (empty($field_ids)) {
goto tEkRK;
}
goto Pf6R8;
NeyU2:
goto HaEo0;
goto pLbye;
v8yz_: L8xZC:
goto T_mId;
Q2hU5:
$ss_vendor_filtering_feature = db_get_row("SELECT * FROM ?:ss_vendor_filtering_feature_fields WHERE ss_vendor_filtering_feature_fields_id = ?i", $ss_vendor_filtering_feature_fields_id);
goto Nyjne;
yweLa:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, "V");
goto yPLny;
M9F2w: r62U6:
goto apznH;
abB5b:
foreach ($feature_variant_value as $key => $feature_value) {
goto y7Mnj;
ZksKf:
if (!(isset($variant_id) && $variant_id > 0)) {
goto URHwG;
}
goto NJcEI;
y7Mnj:
$variant_id = db_get_field("SELECT pfv.variant_id FROM ?:product_feature_variant_descriptions AS pfvd LEFT JOIN ?:product_feature_variants AS pfv\xa ON pfvd.variant_id = pfv.variant_id AND pfv.feature_id = ?i\xa WHERE variant = ?s AND lang_code = ?s", $feature_id, $feature_value, "en");
goto ZksKf;
rm9Gx: VtCtK:
goto z1dyR;
z1dyR: URHwG:
goto CezC6;
NJcEI:
foreach (Languages::getAll() as $lang_code => $v) {
goto VKxDR;
xx72c: k5948:
goto jl8sH;
JUhuG:
db_query("REPLACE INTO ?:product_features_values ?e", $product_features_values);
goto xx72c;
VKxDR:
$product_features_values = array("feature_id" => $feature_id, "product_id" => $vendor_product_id, "variant_id" => $variant_id, "lang_code" => $lang_code);
goto JUhuG;
jl8sH:
}
goto rm9Gx;
CezC6: ijx34:
goto nq3Hg;
nq3Hg:
}
goto v8yz_;
i1qwF:
$field_ids = trim($field_ids);
goto xsc9S;
UsnyU:
goto MYNvu;
goto gnHCw;
h55XG:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, $ss_vendor_filtering_feature["feature_type"]);
goto ZYg_f;
JsdWC: aDg2G:
goto rqR95;
SZFxb:
if (!$feature_id) {
goto F8J9w;
}
goto Qz8hh;
Pf6R8:
if (preg_match("/\,/", $field_ids) && $ss_vendor_filtering_feature["feature_type"] == "M") {
goto xh7Ag;
}
goto YbBJb;
Tm0e9: mKzXq:
goto UsnyU;
xsc9S:
$count_feature_code = db_get_field("SELECT COUNT(*) FROM ?:ss_vendor_filtering_feature_fields WHERE feature_code = ?s", $ss_vendor_filtering_feature["feature_code"]);
goto QeYCx;
VkTHY:
if (!(isset($variant_id) && $variant_id > 0)) {
goto Rrxxn;
}
goto SFXBR;
gZL8q:
$svfv_feature_fields = db_get_field("SELECT ss_vendor_filtering_vendor_feature_fields FROM ?:companies WHERE company_id = ?i", $company_id);
goto BaA3_;
rqR95: Rrxxn:
goto OQK4Q;
yPLny:
$svfv_feature_fields = db_get_field("SELECT ss_vendor_filtering_vendor_feature_fields FROM ?:companies WHERE company_id = ?i", $company_id);
goto i_tmd;
ArSO3: tEkRK:
goto y9HI7;
aUVkI:
db_query("UPDATE ?:ss_vendor_filtering_feature_fields SET ?u WHERE ss_vendor_filtering_feature_fields_id = ?i", array("filter_id" => $filter_id), $ss_vendor_filtering_feature_fields_id);
goto Y9AUJ;
YbBJb:
if (!preg_match("/\,/", $field_ids) && $ss_vendor_filtering_feature["feature_type"] == "M") {
goto hbvJV;
}
goto Vuju1;
GOtjH:
$field_ids = trim($field_ids);
goto h55XG;
QeYCx:
if ($count_feature_code > 1) {
goto Ftwnz;
}
goto uZrcC;
kaRjb: LBX9S:
goto i1qwF;
Jtnba:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, $ss_vendor_filtering_feature["feature_type"]);
goto m0sF5;
apznH:
goto HaEo0;
goto ejl_v;
Nyjne:
$field_ids = $ss_vendor_filtering_feature["field_ids"];
goto gB3nU;
y9HI7: S_ENA:
goto RMReA;
yq00V: HaEo0:
goto HImy1;
GWQUE:
$variant_id = db_get_field("SELECT pfv.variant_id FROM ?:product_feature_variant_descriptions AS pfvd LEFT JOIN ?:product_feature_variants AS pfv
ON pfvd.variant_id = pfv.variant_id AND pfv.feature_id = ?i
WHERE variant = ?s AND lang_code = ?s", $feature_id, $feature_variant_value, "en");
goto VkTHY;
h0EXk: B8oNO:
goto dk1ik;
T_mId: ppYi0:
goto asAXd;
ZYg_f:
if (!$feature_id) {
goto okiye;
}
goto GWQUE;
gnHCw: Ftwnz:
goto yweLa;
zTcL6:
if (!(isset($filter_id) && $filter_id > 0)) {
goto OGWf0;
}
goto aUVkI;
Vuju1:
if ($ss_vendor_filtering_feature["feature_type"] == "V") {
goto LBX9S;
}
goto GOtjH;
Qz8hh:
if (empty($feature_variant_value)) {
goto ppYi0;
}
goto abB5b;
asAXd: F8J9w:
goto xM1u9;
xM1u9:
goto HaEo0;
goto kaRjb;
w2NVl:
foreach (unserialize($svfv_feature_fields) as $ss_vendor_filtering_feature_fields_id => $flag) {
goto idu_z;
Til1s: FYTxz:
goto Vq2Aw;
MhlqT:
$feature_variant_value_from = db_get_field("SELECT name FROM ?:ss_vendor_filtering_feature_fields_descriptions WHERE ss_vendor_filtering_feature_fields_id = ?i AND lang_code = ?s", $ss_vendor_filtering_feature_fields_id, "en");
goto lZZNr;
lZZNr:
if (!($feature_variant_value_from == $feature_variant_value)) {
goto FmTiv;
}
goto eYRVO;
IvIHj:
db_query("DELETE FROM ?:product_features_values WHERE feature_id = ?i AND product_id = ?i AND variant_id = ?i", $feature_id, $vendor_product_id, $variant_id);
goto CdxTS;
eYRVO:
if ($flag == "Y" && isset($variant_id) && $variant_id > 0) {
goto Rh87V;
}
goto IvIHj;
CdxTS:
goto C20JY;
goto uI4If;
Krsob:
goto B8oNO;
goto v1rHE;
idu_z:
$filter_id = db_get_field("SELECT filter_id FROM ?:ss_vendor_filtering_feature_fields WHERE ss_vendor_filtering_feature_fields_id = ?i", $ss_vendor_filtering_feature_fields_id);
goto hN7rV;
v1rHE: C20JY:
goto PcdoN;
PcdoN: FmTiv:
goto Til1s;
wvpUV:
foreach (Languages::getAll() as $lang_code => $v) {
goto caBu2;
caBu2:
$product_features_values = array("feature_id" => $feature_id, "product_id" => $vendor_product_id, "variant_id" => $variant_id, "lang_code" => $lang_code);
goto v6Bfi;
v6Bfi:
db_query("REPLACE INTO ?:product_features_values ?e", $product_features_values);
goto Q1ZCf;
Q1ZCf: GTIot:
goto vx17q;
vx17q:
}
goto Xkthz;
uI4If: Rh87V:
goto wvpUV;
hN7rV:
$feature_id_from = db_get_field("SELECT feature_id FROM ?:product_filters WHERE filter_id = ?i", $filter_id);
goto MhlqT;
Xkthz: Pb5HI:
goto Krsob;
Vq2Aw:
}
goto h0EXk;
RMReA:
}
goto ftmYV;
hrR4i:
$vendor_product_id = db_get_field("SELECT ss_vendor_filtering_vendor_product_id FROM ?:companies WHERE company_id = ?i", $company_id);
goto lyfYH;
lyfYH:
if (!(isset($vendor_product_id) && $vendor_product_id > 0)) {
goto M_9TY;
}
goto wNmqZ;
Rn_99: M_9TY:
goto bia1M;
b7XJc:
}
goto FMR46;
baKVH: NfQJW:
goto XAia4;
Ko9v_:
if (!(isset($feature_fields_ids) && is_array($feature_fields_ids))) {
goto hWwy_;
}
goto NdbFG;
CGDaO:
if (!empty($company_ids)) {
goto oMgt_;
}
goto Ko9v_;
Ca9gX: wJ5OF:
goto AiSUx;
XAia4:
fn_clear_cache();
goto ZS6Mk;
bnorO:
$company_ids = db_get_fields("SELECT company_id FROM ?:companies WHERE status = ?s", "A");
goto Ca9gX;
sifWg: oMgt_:
goto GpJS1;
aHGAg:
$feature_fields_ids = db_get_fields("SELECT ss_vendor_filtering_feature_fields_id FROM ?:ss_vendor_filtering_feature_fields WHERE status = ?s", "A");
goto FUOVY;
Nu_yb:
if (!(empty($addon_params["ss_vendor_filtering_category_id"]) || $addon_params["ss_vendor_filtering_category_id"] == 0)) {
goto VZ02L;
}
goto cUKMW;
Idvke: z8ENW:
goto i_ZUl;
GpJS1:
if (!empty($company_ids)) {
goto wJ5OF;
}
goto bnorO;
cUKMW:
return false;
goto bwaw3;
FMR46: w9dJq:
goto ck7gh;
i_ZUl: hWwy_:
goto sifWg;
Zhi1S:
}
goto i29Ja;
N4t3_:
die("Access denied");
goto mtV43;
A7KFH:
function fn_ss_vendor_filtering_get_fields_info($company_id)
{
goto zmpVP;
yh7jA:
return $table_of_names;
goto vrukv;
zmpVP:
$table_of_names = array();
goto Dj6Dy;
LieWP:
foreach ($fields as $field) {
goto s5Rfd;
z8evo: CpMIX:
goto bDyll;
A9qmt:
$plan_id = db_get_field("SELECT plan_id FROM ?:companies WHERE company_id = ?i", $company_id);
goto pjTCd;
GFGEM:
if ($field["field_type"] == "I") {
goto HBc7C;
}
goto lqxul;
Eh2Zw: I0MPn:
goto DKZ3V;
NLkxa:
$name = '';
goto aYWU6;
HlsGT: MV_TE:
goto p36Iz;
pBx40:
goto tz793;
goto E22z1;
neO9a: wOIl1:
goto A9qmt;
z_6jn:
if ($column_name == "state" || $column_name == "b_state" || $column_name == "s_state") {
goto uPlaB;
}
goto bvniT;
GwrbL:
$name = $field_direct_name . ": " . $field_value;
goto DywT8;
bvniT:
if (!db_get_field("SHOW COLUMNS FROM ?:companies LIKE ?l", $column_name)) {
goto NKmVC;
}
goto lQLrB;
Oi3ja:
$name = $value_name;
goto N4CmT;
mL6Qc:
$column_name = db_get_field("SELECT field_name FROM ?:profile_fields WHERE field_id = ?i AND profile_type = ?s", $field_id, "S");
goto UewEI;
UewEI:
if ($column_name == "plan_id") {
goto wOIl1;
}
goto z_6jn;
HLoW3:
$state_code = db_get_field("SELECT {$column_name} FROM ?:companies WHERE company_id = ?i", $company_id);
goto gto3s;
IJggJ:
goto MV_TE;
goto g4Wvv;
jYLpM:
print "1";
goto gAm8U;
Peu5I:
print "3";
goto GwrbL;
pjTCd:
$name = db_get_field("SELECT plan FROM ?:vendor_plan_descriptions WHERE plan_id = ?i AND lang_code = ?s", $plan_id, CART_LANGUAGE);
goto PHw83;
lqxul:
$value_name = db_get_field("SELECT description FROM ?:profile_field_descriptions WHERE object_id = ?i AND object_type = ?s AND lang_code = ?s", $field_value, "V", CART_LANGUAGE);
goto ucXL9;
g4Wvv: uPlaB:
goto HLoW3;
vkyxe: HBc7C:
goto wGbzu;
s5Rfd:
$field_id = $field["field_id"];
goto NLkxa;
XBkJG: NKmVC:
goto IJggJ;
Btyvs: jgNvZ:
goto bzd6f;
aYWU6:
$field_value = db_get_field("SELECT value FROM ?:profile_fields_data WHERE object_id = ?i AND object_type = ?s AND field_id = ?i", $company_id, "S", $field_id);
goto c1HL9;
ucXL9:
if (!empty($value_name) && !empty($field_direct_name)) {
goto ohNa1;
}
goto TmiiY;
gIO8d:
if (!(isset($name) && $name != '')) {
goto CpMIX;
}
goto D2DvS;
Pa4c7:
print "2";
goto Oi3ja;
bDyll: pJ_E9:
goto vQv2b;
PHw83: lLuye:
goto pBx40;
N4CmT: MNPXw:
goto i6E17;
uMTus:
$name = db_get_field("SELECT state FROM ?:state_descriptions WHERE state_id = ?i AND lang_code = ?s", $state_id, CART_LANGUAGE);
goto HlsGT;
TmiiY:
if (!empty($value_name)) {
goto PA0pC;
}
goto Peu5I;
wGbzu:
$name = $field_direct_name . ": " . $field_value;
goto Eh2Zw;
i6E17:
goto jgNvZ;
goto bupXl;
c1HL9:
if (isset($field_value) && ($field_value > 0 || $field_value != '')) {
goto iXgmq;
}
goto mL6Qc;
D2DvS:
array_push($table_of_names, $name);
goto z8evo;
bupXl: ohNa1:
goto jYLpM;
gto3s:
$state_id = db_get_field("SELECT state_id FROM ?:states WHERE code = ?s", $state_code);
goto uMTus;
p36Iz:
goto lLuye;
goto neO9a;
DywT8:
goto MNPXw;
goto rMd97;
lQLrB:
$name = db_get_field("SELECT {$column_name} FROM ?:companies WHERE company_id = ?i", $company_id);
goto XBkJG;
bzd6f:
goto I0MPn;
goto vkyxe;
rMd97: PA0pC:
goto Pa4c7;
gAm8U:
$name = $field_direct_name . ": " . $value_name;
goto Btyvs;
X05De:
$field_direct_name = db_get_field("SELECT description FROM ?:profile_field_descriptions WHERE object_id = ?i AND object_type = ?s AND lang_code = ?s", $field_id, "F", CART_LANGUAGE);
goto GFGEM;
DKZ3V: tz793:
goto gIO8d;
E22z1: iXgmq:
goto X05De;
vQv2b:
}
goto GP8pP;
GP8pP: jGUUg:
goto yh7jA;
Dj6Dy:
$fields = db_get_array("SELECT * FROM ?:profile_fields WHERE ss_vendor_filtering_display = ?s", "Y");
goto LieWP;
vrukv:
}
goto NqrLT;
NZxML:
function fn_ss_vendor_filtering_cron_info()
{
goto UnFz9;
X7ZP_:
$url = $protocol . Registry::get("config.http_host") . Registry::get("config.http_path") . "/index.php?dispatch=ss_vendor_filtering.cron";
goto zZUfg;
wTwS0:
$protocol = "https://";
goto df1n4;
zZUfg:
return "\xa <div id="container_addon_option_ss_vendor_filtering_ss_vendor_filtering_cron_info" class="control-group setting-wide ss_vendor_filtering">
<label for="addon_option_ss_vendor_filtering_ss_vendor_filtering_cron_info" class="control-label ">" . __("ss_vendor_filtering_cron_info") . ":</label>
<div class="controls">
<p style="color:red;font-weight:bold;">" . $url . "</p></br>" . __("ss_vendor_filtering_cron_info_tooltip") . "</div>\xa </div>";
goto uNpop;
QUkId: aXi0f:
goto wTwS0;
df1n4: YpC6c:
goto X7ZP_;
UnFz9:
if (isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && $_SERVER["HTTP_X_FORWARDED_PROTO"] == "https" || isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {
goto aXi0f;
}
goto RYyxb;
RYyxb:
$protocol = "http://";
goto bHJXx;
bHJXx:
goto YpC6c;
goto QUkId;
uNpop:
}
goto U9haq;
MYV2v:
function fn_ss_vendor_filtering_delete_vendor_product($company_id)
{
$vendor_product_id = db_get_field("SELECT ss_vendor_filtering_vendor_product_id FROM ?:companies WHERE company_id = ?i", $company_id);
fn_delete_product($vendor_product_id);
}
goto swPiF;
LktX6:
function fn_ss_vendor_filtering_count_vendors()
{
goto FJ81t;
qMY2v:
db_query("UPDATE ?:categories SET ?u WHERE default_view = ?s", array("product_count" => $vendors_count), "vendor_list_template");
goto KWXct;
FJ81t:
$vendors_count = db_get_field("SELECT COUNT(*) FROM ?:companies");
goto qMY2v;
KWXct:
return true;
goto mBD_m;
mBD_m:
}
goto Nwdck;
JJSUC:
require_once "ss_vendor_filtering_logger.php";
goto RmCZE;
em4Ry:
function fn_ss_vendor_filtering_get_category_id($id = 0)
{
goto wnEQA;
HbI4V:
goto YtMx_;
goto kDNmq;
kDNmq: WdPzZ:
goto IYvf7;
XvxIr: YtMx_:
goto fIto0;
RjWtB:
$category_id = db_get_field("SELECT category_id FROM ?:category_descriptions WHERE category = ?s AND lang_code = ?s", VENDORS_CATEGORY, "en");
goto HbI4V;
wnEQA:
$addon_params = Registry::get("addons.ss_vendor_filtering");
goto xQFZM;
xQFZM:
if (isset($addon_params["ss_vendor_filtering_category_id"]) && $addon_params["ss_vendor_filtering_category_id"] != '' && $addon_params["ss_vendor_filtering_category_id"] > 0) {
goto WdPzZ;
}
goto RjWtB;
fIto0:
return $category_id;
goto DB3EE;
IYvf7:
$category_id = $addon_params["ss_vendor_filtering_category_id"];
goto XvxIr;
DB3EE:
}
goto gaxWH;
oLnfC:
function fn_ss_vendor_filtering_search_info()
{
return true;
}
goto LktX6;
i29Ja:
function fn_ss_vendor_filtering_prepare_feature_new($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, $feature_type)
{
LoggerAddons::instance()->log("Cecha pojedyncza", "INFO", 0, '', serialize(array("field_ids" => $field_ids, "filtering_feature_id" => $ss_vendor_filtering_feature_fields_id, "company_id" => $company_id, "feature_type" => $feature_type)));
}
goto J1jpz;
mtV43: UZm_Q:
goto Zkx8Y;
gnO_g:
function fn_ss_vendor_filtering_install()
{
goto PSaGZ;
Hex8B:
foreach (Languages::getAll() as $_data["lang_code"] => $v) {
goto dpKXZ;
M5wEV:
db_query("INSERT INTO ?:product_features_descriptions ?e", $feature_desc_structure);
goto eP6r8;
dpKXZ:
$feature_desc_structure = array("feature_id" => $feature_id, "description" => "Vendors group", "lang_code" => $_data["lang_code"]);
goto M5wEV;
eP6r8: FXAbz:
goto TWbUy;
TWbUy:
}
goto UVsWd;
UVsWd: YjQFk:
goto NINJd;
PSaGZ:
LicenseAddons::instance()->checkLicense("INSTALLED");
goto tfGAZ;
BSeoC:
$category_id = db_query("INSERT INTO ?:categories ?e", $category_structure);
goto Bx6_M;
HNbrM:
$companies = db_get_fields("SELECT company_id FROM ?:companies");
goto rE77c;
NINJd:
db_query("UPDATE ?:static_data SET ?u WHERE param = ?s", array("param" => "categories.view&category_id=" . $category_id . "&sorting=vendor"), "companies.catalog");
goto QkiBc;
IVTyx: ix2ea:
goto WZtPx;
tfGAZ:
$category_structure = array("parent_id" => 0, "status" => "H", "default_view" => "vendor_list_template", "selected_views" => "a:1:{s:20:"vendor_list_template";s:20:"vendor_list_template";}");
goto BSeoC;
QzHJ6: BhCSS:
goto ZgtlL;
WZtPx:
$feature_structure = array("feature_code" => VENDORS_FEATURE_GROUP_NAME, "feature_type" => "G", "display_on_product" => "N");
goto tihgn;
ZgtlL:
fn_ss_vendor_filtering_count_vendors();
goto HNbrM;
Bx6_M:
db_query("UPDATE ?:categories SET ?u WHERE category_id = ?i", array("id_path" => $category_id), $category_id);
goto KB9vH;
rE77c:
foreach ($companies as $key => $company_id) {
fn_ss_vendor_filtering_create_vendor_product($company_id, $category_id);
a8doX:
}
goto IVTyx;
KB9vH:
foreach (Languages::getAll() as $_data["lang_code"] => $v) {
goto S_7jB;
CMc2h:
db_query("INSERT INTO ?:category_descriptions ?e", $cat_desc_structure);
goto BhB5v;
S_7jB:
$cat_desc_structure = array("category_id" => $category_id, "lang_code" => $_data["lang_code"], "category" => VENDORS_CATEGORY, "is_trash" => "Y");
goto CMc2h;
BhB5v: b2f_1:
goto hO0T5;
hO0T5:
}
goto QzHJ6;
tihgn:
$feature_id = db_query("INSERT INTO ?:product_features ?e", $feature_structure);
goto Hex8B;
QkiBc:
}
goto ozGA0;
NqrLT:
function fn_ss_vendor_filtering_update_lang_version()
{
goto UgUqW;
UgUqW:
$feature_fields = db_get_array("SELECT * FROM ?:ss_vendor_filtering_feature_fields WHERE status = ?s", "A");
goto R908b;
R908b:
foreach ($feature_fields as $f_key => $fields) {
goto cPoTv;
E4E4m: f4U60:
goto TLslm;
MgTkj: Y1lUe:
goto E4E4m;
T4lMB:
foreach (Languages::getAll() as $lang_code => $v) {
goto az5gX;
ZGodj:
$filter_id = db_get_field("SELECT filter_id FROM ?:product_filters WHERE feature_id = ?i", $feature_id);
goto MevM2;
MevM2:
db_query("UPDATE ?:product_filter_descriptions SET ?u WHERE filter_id = ?i AND lang_code = ?s", array("filter" => $name), $filter_id, $lang_code);
goto Uued5;
Uued5: kgz4G:
goto s_d4i;
Hp9eT:
db_query("UPDATE ?:product_features_descriptions SET ?u WHERE feature_id = ?i AND lang_code = ?s", array("description" => $name), $feature_id, $lang_code);
goto ZGodj;
az5gX:
$name = db_get_field("SELECT name FROM ?:ss_vendor_filtering_feature_fields_descriptions WHERE ss_vendor_filtering_feature_fields_id = ?i AND lang_code = ?s", $fields["ss_vendor_filtering_feature_fields_id"], $lang_code);
goto Hp9eT;
s_d4i:
}
goto etpwe;
n8jaV:
foreach ($variant_ids as $v_key => $variant_id) {
goto QV2GP;
OT8ht:
if (isset($variant) && !empty($variant) && $fields["feature_type"] == "M" && !empty($fields["reference_table"]) && !empty($fields["field_with_key"])) {
goto V1mXw;
}
goto odJyb;
PIy1j:
$category_id = db_get_field("SELECT category_id FROM ?:category_descriptions WHERE category = ?s AND lang_code = ?s", $variant, "en");
goto Lp7Z6;
sZnlk: WffAn:
goto JXnfK;
Lp7Z6:
foreach (Languages::getAll() as $lang_code => $v) {
goto SOAfv;
ZrzD4: LozLR:
goto DlXzu;
SOAfv:
$category = db_get_field("SELECT category FROM ?:category_descriptions WHERE category_id = ?i AND lang_code = ?s", $category_id, $lang_code);
goto hJtyG;
hJtyG:
db_query("UPDATE ?:product_feature_variant_descriptions SET ?u WHERE variant_id = ?i AND lang_code = ?s", array("variant" => $category), $variant_id, $lang_code);
goto ZrzD4;
DlXzu:
}
goto VM3fQ;
VM3fQ: sgbqm:
goto JHJy8;
GoO28:
if (isset($variant) && !empty($variant) && $fields["feature_code"] == "categories_vendor") {
goto sWZZl;
}
goto zhYru;
bqeHJ:
foreach (Languages::getAll() as $lang_code => $v) {
goto bjdks;
zvQpK:
goto VX1oe;
goto WmwXk;
ihTsu:
db_query("UPDATE ?:product_feature_variant_descriptions SET ?u WHERE variant_id = ?i AND lang_code = ?s", array("variant" => $variant), $variant_id, $lang_code);
goto zvQpK;
WmwXk: R0ji8:
goto PUMx_;
PUMx_:
db_query("UPDATE ?:product_feature_variant_descriptions SET ?u WHERE variant_id = ?i AND lang_code = ?s", array("variant" => $variant_name), $variant_id, $lang_code);
goto k_rxA;
bjdks:
$field_with_key = db_get_field("SELECT " . $fields["field_with_key"] . " FROM ?:" . $fields["reference_table"] . " WHERE " . $fields["field_with_data"] . " = ?s AND lang_code = ?s", $variant, "en");
goto oPmDl;
k_rxA: VX1oe:
goto X_xYB;
o9xJS:
if (!empty($variant_name)) {
goto R0ji8;
}
goto ihTsu;
oPmDl:
$variant_name = db_get_field("SELECT " . $fields["field_with_data"] . " FROM ?:" . $fields["reference_table"] . " WHERE " . $fields["field_with_key"] . " = ?i AND lang_code = ?s", $field_with_key, $lang_code);
goto o9xJS;
X_xYB: UyZ92:
goto EWRZn;
EWRZn:
}
goto Pd1_N;
JXnfK: f686F:
goto VMGwA;
PuZWQ:
foreach (Languages::getAll() as $lang_code => $v) {
goto yiezX;
yiezX:
$country = db_get_field("SELECT country FROM ?:country_descriptions WHERE code = ?s AND lang_code = ?s", $code, $lang_code);
goto Vnz9c;
Vnz9c:
db_query("UPDATE ?:product_feature_variant_descriptions SET ?u WHERE variant_id = ?i AND lang_code = ?s", array("variant" => $country), $variant_id, $lang_code);
goto exU2y;
exU2y: rdyve:
goto q2Hc9;
q2Hc9:
}
goto ZH3z3;
fYxkh:
goto WffAn;
goto oN7yN;
JHJy8:
goto WffAn;
goto HHxRN;
HHxRN: d637y:
goto RMdEO;
oN7yN: V1mXw:
goto bqeHJ;
Pd1_N: l17Wp:
goto sZnlk;
odJyb:
goto WffAn;
goto Py665;
zhYru:
if (isset($variant) && !empty($variant) && $fields["feature_code"] == "country") {
goto d637y;
}
goto OT8ht;
Py665: sWZZl:
goto PIy1j;
ZH3z3: EU7wE:
goto fYxkh;
RMdEO:
$code = db_get_field("SELECT code FROM ?:country_descriptions WHERE country = ?s AND lang_code = ?s", $variant, "en");
goto PuZWQ;
QV2GP:
$variant = db_get_field("SELECT variant FROM ?:product_feature_variant_descriptions WHERE variant_id = ?i AND lang_code = ?s", $variant_id, "en");
goto GoO28;
VMGwA:
}
goto IF35R;
VJnAR:
$variant_ids = db_get_fields("SELECT variant_id FROM ?:product_feature_variants WHERE feature_id = ?i", $feature_id);
goto jMQJx;
jMQJx:
if (empty($variant_ids)) {
goto o68jr;
}
goto n8jaV;
U3Goz: L4Q1l:
goto DubMC;
DubMC: o68jr:
goto MgTkj;
kHrEn:
if (!(isset($feature_id) && $feature_id > 0)) {
goto Y1lUe;
}
goto VJnAR;
etpwe: k_S17:
goto kHrEn;
IF35R: TCymR:
goto SDIMn;
SDIMn:
foreach ($variant_ids as $v_key => $variant_id) {
goto tmg6O;
NjctR:
if (isset($variant) && !empty($variant) && $field_profile["field_type"] == "S" || $field_profile["field_type"] == "R") {
goto yW5K5;
}
goto iMq1d;
iMq1d:
if (isset($variant) && !empty($variant) && $field_profile["field_type"] == "I") {
goto CRc9P;
}
goto MyUFE;
MIDW2:
$object_id = db_get_field("SELECT object_id FROM ?:profile_fields_data WHERE value = ?s AND object_type = ?s AND field_id = ?i", $variant, "S", $field_profile["field_id"]);
goto VBfSY;
EA48M: WGXv8:
goto Lymuo;
bZ8Xz: jwJKJ:
goto vX3Zc;
kLxe3:
$field_profile = db_get_row("SELECT * FROM ?:profile_fields WHERE field_name = ?s", $fields["feature_code"]);
goto r6eD1;
MyUFE:
goto Yvot8;
goto jNgSr;
q7mn0: Yvot8:
goto EA48M;
wsHMv:
$object_id = db_get_field("SELECT object_id FROM ?:profile_field_descriptions WHERE description = ?s AND object_type = ?s AND lang_code = ?s", $variant, "V", "en");
goto a3jMR;
vX3Zc:
goto Yvot8;
goto d0mOP;
a3jMR:
foreach (Languages::getAll() as $lang_code => $v) {
goto B36yT;
Hidbf:
db_query("UPDATE ?:product_feature_variant_descriptions SET ?u WHERE variant_id = ?i AND lang_code = ?s", array("variant" => $field_value), $variant_id, $lang_code);
goto MDsa3;
MDsa3: GuEA6:
goto O6HeR;
B36yT:
$field_value = db_get_field("SELECT description FROM ?:profile_field_descriptions WHERE object_id = ?i AND object_type = ?s AND lang_code = ?s", $object_id, "V", $lang_code);
goto Hidbf;
O6HeR:
}
goto bZ8Xz;
tmg6O:
$variant = db_get_field("SELECT variant FROM ?:product_feature_variant_descriptions WHERE variant_id = ?i AND lang_code = ?s", $variant_id, "en");
goto kLxe3;
d0mOP: CRc9P:
goto MIDW2;
Lymuo: ludhi:
goto s7H08;
VRaFD: zY23b:
goto q7mn0;
VBfSY:
foreach (Languages::getAll() as $lang_code => $v) {
goto RsIjx;
RsIjx:
$field_value = db_get_field("SELECT value FROM ?:profile_fields_data WHERE object_id = ?i AND object_type = ?s AND field_id = ?i", $object_id, "S", $field_profile["field_id"]);
goto uhcLd;
ZxquN: IJlmi:
goto WPBPW;
uhcLd:
db_query("UPDATE ?:product_feature_variant_descriptions SET ?u WHERE variant_id = ?i AND lang_code = ?s", array("variant" => $field_value), $variant_id, $lang_code);
goto ZxquN;
WPBPW:
}
goto VRaFD;
jNgSr: yW5K5:
goto wsHMv;
r6eD1:
if (!($fields["feature_type"] == "F")) {
goto WGXv8;
}
goto NjctR;
s7H08:
}
goto U3Goz;
cPoTv:
$feature_id = db_get_field("SELECT feature_id FROM ?:product_features WHERE feature_code = ?s", $fields["feature_code"]);
goto T4lMB;
TLslm:
}
goto dJ9bb;
dJ9bb: qlJMa:
goto d1P49;
d1P49:
}
goto em4Ry;
RmCZE:
if (defined("BOOTSTRAP")) {
goto UZm_Q;
}
goto N4t3_;
dqUX_:
require_once "ss_vendor_filtering_feature_fields.php";
goto JJSUC;
swPiF:
function fn_ss_vendor_filtering_create_vendor_product($company_id = 0, $category_id = 0)
{
goto OdW5k;
M2GTv: ZRS_J:
goto A3YGO;
OdW5k:
if (!(isset($company_id) && $company_id > 0)) {
goto aTpMU;
}
goto tUL0r;
wB4M5:
$product_id = db_query("INSERT INTO ?:products ?e", $product_structure);
goto OjhYk;
lyLPr:
$company_name = db_get_field("SELECT company FROM ?:companies WHERE company_id = ?i", $company_id);
goto M6Ezc;
s_D5s:
$product_structure = array("status" => "A", "company_id" => $company_id, "amount" => 1);
goto wB4M5;
GdZ9a:
if (!($category_id == 0)) {
goto tMrtT;
}
goto UPs4X;
A3YGO: aTpMU:
goto u0eWn;
o5WXh:
$product_categories = array("product_id" => $product_id, "category_id" => $category_id, "link_type" => "M", "position" => 0);
goto sjcZm;
TT9s8:
foreach (Languages::getAll() as $_data["lang_code"] => $v) {
goto pQSBe;
ylb6Y:
db_query("INSERT INTO ?:product_descriptions ?e", $product_description);
goto FaMIP;
FaMIP: FSXVm:
goto z3cD6;
pQSBe:
$product_description = array("product_id" => $product_id, "lang_code" => $_data["lang_code"], "product" => $company_name);
goto ylb6Y;
z3cD6:
}
goto SxoD6;
N54Oc: vk23L:
goto COkKd;
tUL0r:
$vendor_product_id = db_get_field("SELECT ss_vendor_filtering_vendor_product_id FROM ?:companies WHERE company_id = ?i", $company_id);
goto zPvkq;
UPs4X:
$category_id = fn_ss_vendor_filtering_get_category_id();
goto hhEsV;
zPvkq:
if ($vendor_product_id == 0) {
goto vk23L;
}
goto lyLPr;
COkKd:
$company_name = db_get_field("SELECT company FROM ?:companies WHERE company_id = ?i", $company_id);
goto s_D5s;
hhEsV: tMrtT:
goto R8bCK;
R8bCK:
db_query("INSERT INTO ?:product_prices ?e", $product_prices);
goto o5WXh;
OjhYk:
db_query("UPDATE ?:companies SET ?u WHERE company_id = ?i", array("ss_vendor_filtering_vendor_product_id" => $product_id), $company_id);
goto KBBkr;
SxoD6: fV3QF:
goto M2GTv;
sjcZm:
db_query("INSERT INTO ?:products_categories ?e", $product_categories);
goto TT9s8;
M6Ezc:
db_query("UPDATE ?:product_descriptions SET ?u WHERE product_id = ?i", array("product" => $company_name), $vendor_product_id);
goto ms7jn;
ms7jn:
goto ZRS_J;
goto N54Oc;
KBBkr:
$product_prices = array("product_id" => $product_id, "price" => 0.0, "lower_limit" => 1);
goto GdZ9a;
u0eWn:
}
goto gnO_g;
J1jpz:
function fn_ss_vendor_filtering_create_filter($feature_id, $company_id = 0)
{
goto Sz4ZU;
oRxGN: E3b5s:
goto aelQc;
G9ndx:
$feature_descriptions = db_get_array("SELECT description,lang_code FROM ?:product_features_descriptions WHERE feature_id = ?i", $feature_id);
goto WnEUn;
eqLEY:
$display_filter = db_get_field("SELECT display FROM ?:ss_vendor_filtering_feature_fields WHERE feature_code = ?s", $feature_code);
goto y7Aaa;
GK22c:
$filter_id = db_query("INSERT INTO ?:product_filters ?e", $filter_structure);
goto G9ndx;
Uk1JY:
if (!(isset($filter_id) && $filter_id > 0)) {
goto E3b5s;
}
goto vpCKO;
Sz4ZU:
$feature_data = db_get_row("SELECT * FROM ?:product_features WHERE feature_id = ?i", $feature_id);
goto Xqz_c;
VfC_y: wiam_:
goto Uk1JY;
WnEUn:
foreach ($feature_descriptions as $key => $description) {
goto pHvn7;
ijA6h:
db_query("INSERT INTO ?:product_filter_descriptions ?e", $filter_description);
goto h1Pxt;
pHvn7:
$filter_description = array("filter_id" => $filter_id, "lang_code" => $description["lang_code"], "filter" => $description["description"]);
goto ijA6h;
h1Pxt: Oyfu3:
goto bj4lN;
bj4lN:
}
goto H8lIU;
Xqz_c:
$filter_id = db_get_field("SELECT filter_id FROM ?:product_filters WHERE feature_id = ?i", $feature_id);
goto UZ6CO;
y7Aaa:
if (!($filter_id == 0 && $feature_data["feature_type"] != "T")) {
goto wiam_;
}
goto xf4vX;
xf4vX:
$filter_structure = array("categories_path" => $feature_data["categories_path"] ? $feature_data["categories_path"] : '', "company_id" => $company_id, "feature_id" => $feature_id, "position" => 0, "field_type" => '', "status" => "A", "round_to" => 0.01, "display_count" => 10, "display" => $display_filter);
goto GK22c;
AqQ_i:
$filter_name = db_get_field("SELECT filter FROM ?:product_filter_descriptions WHERE filter_id = ?i AND lang_code = ?s", $filter_id, DESCR_SL);
goto VfC_y;
aelQc:
return 0;
goto wbLFL;
vpCKO:
return $filter_id;
goto oRxGN;
UZ6CO:
$feature_code = db_get_field("SELECT feature_code FROM ?:product_features WHERE feature_id = ?i", $feature_id);
goto eqLEY;
H8lIU: WAXy6:
goto AqQ_i;
wbLFL:
}
goto MYV2v;
SKmX2:
function fn_ss_vendor_filtering_get_settings_objects($addon_id)
{
goto mlvG_;
wH1i0:
$settings_objects = db_get_array("SELECT * FROM ?:settings_objects WHERE name LIKE ?l", $addon_id . "%");
goto bS3D2;
lz3bw:
$settings_serialize = serialize($settings);
goto AljRY;
vQg22: w2Wdo:
goto vYrQ5;
AljRY:
$_REQUEST["settings_serialize"] = $settings_serialize;
goto vQg22;
mlvG_:
if (!fn_allowed_for("MULTIVENDOR")) {
goto w2Wdo;
}
goto wH1i0;
jkjga: p6CNQ:
goto lz3bw;
igYU_:
foreach ($settings_objects as $object) {
goto kFRqE;
JHwoX:
if (!$condition) {
goto ouXqG;
}
goto oNWmx;
oNWmx:
$records = db_get_array("SELECT * FROM ?:settings_vendor_values WHERE object_id = ?i", $object["object_id"]);
goto fnUS0;
H9t9F: jvVIe:
goto qUtjL;
hTP7b: Sdrbx:
goto kMtO4;
kFRqE:
$condition = db_get_field("SELECT COUNT(*) FROM ?:settings_vendor_values WHERE object_id = ?i", $object["object_id"]);
goto JHwoX;
kMtO4: ouXqG:
goto H9t9F;
fnUS0:
foreach ($records as $record) {
goto XgSJh;
XgSJh:
$record["name"] = $object["name"];
goto MBmi_;
MBmi_:
$settings[] = $record;
goto iSttO;
iSttO: Vc5fS:
goto IcHwq;
IcHwq:
}
goto hTP7b;
qUtjL:
}
goto jkjga;
bS3D2:
$settings = array();
goto igYU_;
vYrQ5:
}
goto qXSyG;
MZEfe:
function fn_ss_vendor_filtering_prepare_feature($field_id, $ss_vendor_filtering_feature_fields_id, $company_id, $feature_type)
{
goto kiLLa;
THkuH:
$feature_variant_value = __("{$field_id}");
goto mtEnU;
CvytH:
$feature_variant_value = db_get_field("SELECT value FROM ?:profile_fields_data WHERE object_id = ?i AND object_type = ?s AND field_id = ?i", $company_id, "S", $field_profile["field_id"]);
goto KAQPX;
QqULi:
foreach ($feature_variant_value as $key_variant => $value_variant) {
goto B9hbm;
B9hbm:
$variants[$index] = array("variant" => $value_variant);
goto l6o1d;
l6o1d:
$index++;
goto DeMo3;
DeMo3: qA6pv:
goto XYwJF;
XYwJF:
}
goto hrcdt;
X1001:
if (empty($feature_fields["reference_table"])) {
goto zi1OI;
}
goto Di6uG;
d0FBL:
$feature_variant_value = db_get_field("SELECT {$field_id} FROM ?:companies WHERE company_id = ?i", $company_id);
goto X1001;
vct5U: r2Nm2:
goto Uhfi0;
d4czU: tlboT:
goto y6cuX;
UFj_Y:
$flag = false;
goto x3QGx;
p_FEg:
if ($field_profile["field_type"] == "S" || $field_profile["field_type"] == "R") {
goto lHkQi;
}
goto IVjdb;
y6cuX:
goto m1UwE;
goto VNNnJ;
Pm18I:
$index = 1;
goto QqULi;
IVjdb:
if ($field_profile["field_type"] == "I" || $field_profile["field_type"] == "C" || $field_profile["field_type"] == "P" || $field_profile["field_type"] == "Z" || $field_profile["field_type"] == "D" || $field_profile["field_type"] == "E") {
goto Y1nEA;
}
goto lgZwF;
CgZ1X: ed3Rh:
goto LCSLH;
u5gMY: SCFpL:
goto NqkcU;
LfCtx: DXvSY:
goto llWeh;
tMGOq: M6Zwa:
goto d0FBL;
jFH0O:
$variants = array(1 => array("variant" => $feature_variant_value));
goto R5CwI;
yUn3K: NHl3n:
goto wJiO_;
eji1f:
$feature_variant_value = __("{$field_id}");
goto Sq67I;
mcEth: K4XvB:
goto koZM2;
GiY47:
goto ci_Yb;
goto kHekp;
rOvZr:
$feature_data["status"] = "A";
goto vVWfk;
kiLLa:
$feature_type_save = $feature_type;
goto c5xTy;
x3QGx:
$feature_id = db_get_field("SELECT feature_id FROM ?:product_features WHERE feature_code = ?s", $feature_data["feature_code"]);
goto m8WbD;
vrHrX:
if (!empty($feature_fields["reference_table"])) {
goto caTTz;
}
goto eji1f;
iupPF:
$feature_id = 0;
goto aR_aP;
Uhfi0:
$feature_id = fn_update_product_feature($feature_data, $feature_id);
goto EdJPm;
Hx58n:
$feature_variant_value = db_get_field("SELECT descr.state FROM ?:states AS main LEFT JOIN ?:state_descriptions AS descr ON main.state_id = descr.state_id WHERE main.code = ?s AND main.country_code = ?s AND descr.lang_code = ?s", $feature_variant_value, $company_country, "en");
goto t6cLN;
uWVtf:
$feature_type = "M";
goto PWiN9;
edDtI:
$feature_type = "M";
goto hWAWm;
bzumf:
if ($feature_type == "E") {
goto M6Zwa;
}
goto X3LN8;
G3SfL:
$feature_variant_value = fn_ss_vendor_filtering_get_main_categories_for_vendor($company_id);
goto lArcs;
lArcs:
foreach ($feature_variant_value as $key => &$category_id) {
$feature_variant_value[$key] = db_get_field("SELECT category FROM ?:category_descriptions WHERE category_id = ?i AND lang_code = ?s", $category_id, "en");
WOJCP:
}
goto RnSBl;
NqkcU:
if ($feature_type_save == "V" && $feature_type == "M") {
goto Cila_;
}
goto oYtTM;
OIQME:
$feature_data["parent_id"] = db_get_field("SELECT feature_id FROM ?:product_features WHERE feature_code = ?s AND parent_id = ?i", VENDORS_FEATURE_GROUP_NAME, 0);
goto rOvZr;
N1TIH:
$count_feature_code = db_get_field("SELECT COUNT(*) FROM ?:ss_vendor_filtering_feature_fields WHERE feature_code = ?s", $feature_fields["feature_code"]);
goto z1aHN;
VNNnJ: Y1nEA:
goto CvytH;
z52NH: caTTz:
goto bxxiL;
uBfnA: tvgmx:
goto T7iZG;
z1aHN:
if ($count_feature_code > 1) {
goto L8r3g;
}
goto THkuH;
Ear85:
$feature_data["feature_code"] = $feature_code;
goto aCKhA;
KAQPX: m1UwE:
goto uWVtf;
a7Sf8:
return array(0, '');
goto w5oQ2;
RnSBl: z0pbY:
goto uBfnA;
aR_aP:
$feature_id = db_get_field("SELECT feature_id FROM ?:product_features WHERE feature_code = ?s", $feature_code);
goto bzumf;
uwB9C: zi1OI:
goto D2x0Q;
U0wD1:
if (is_array($feature_variant_value)) {
goto qzGJD;
}
goto jFH0O;
ZDbYn: XNOxe:
goto Ear85;
hLCDG: Cila_:
goto o9_Hi;
PWiN9:
goto SCFpL;
goto AugIo;
Q_2gN:
$flag = true;
goto tLuge;
llWeh:
goto tvgmx;
goto UQ2Do;
g5DOK:
$feature_data["variants"] = $variants;
goto UFj_Y;
ClQdh: RY7q3:
goto g5DOK;
lgZwF:
goto m1UwE;
goto mKSSV;
NMjeD:
$company_country = db_get_field("SELECT country FROM ?:companies WHERE company_id = ?i", $company_id);
goto Hx58n;
hWAWm: ci_Yb:
goto u5gMY;
mtEnU:
$feature_type = "C";
goto GiY47;
X3LN8:
if ($feature_type == "F") {
goto ed3Rh;
}
goto c40fh;
EqMDb:
$feature_variant_value = $feature_names["name"];
goto edDtI;
T7iZG:
goto SCFpL;
goto tMGOq;
mKSSV: lHkQi:
goto fZr3P;
Di6uG:
if ($field_id == "state") {
goto Xmdbu;
}
goto PfR4P;
wJiO_:
$feature_data = array();
goto PzKUB;
Yfhif: aLnJU:
goto zOUV2;
zjc1q:
$variants = array();
goto Pm18I;
D2x0Q:
goto SCFpL;
goto CgZ1X;
Sq67I:
goto DXvSY;
goto z52NH;
o9_Hi:
$feature_data["description"] = $feature_code;
goto ZDbYn;
bxxiL:
$feature_variant_value = db_get_fields("SELECT " . $feature_fields["field_with_data"] . " FROM ?:" . $feature_fields["reference_table"] . " WHERE " . $feature_fields["key_table"] . " = ?i AND lang_code = ?s", $company_id, "en");
goto LfCtx;
zOUV2:
foreach ($feature_data["variants"] as $variant) {
goto jX7Mw;
AhuC7: nJbtr:
goto exH7n;
jX7Mw:
$variant_db = db_get_field("SELECT variant FROM ?:product_feature_variant_descriptions WHERE variant = ?s", $variant["variant"]);
goto MtiD2;
vScU_:
$flag = true;
goto c9LFb;
MtiD2:
if (isset($variant_db) && !empty($variant_db)) {
goto nJbtr;
}
goto vScU_;
K86pb: A4Vxb:
goto YPRv1;
c9LFb:
goto CiLHh;
goto AhuC7;
exH7n: CiLHh:
goto K86pb;
YPRv1:
}
goto Jt4Yl;
oYtTM:
$feature_data["description"] = $feature_names["name"];
goto Bjwz0;
AIkG7: qzGJD:
goto zjc1q;
Bjwz0:
goto XNOxe;
goto hLCDG;
NBNTR:
$feature_variant_value = db_get_field("SELECT description FROM ?:profile_field_descriptions WHERE object_id = ?i AND object_type = ?s AND lang_code = ?s", $value, "V", "en");
goto d4czU;
OnLQQ:
$feature_fields = db_get_row("SELECT * FROM ?:ss_vendor_filtering_feature_fields WHERE ss_vendor_filtering_feature_fields_id = ?s", $ss_vendor_filtering_feature_fields_id);
goto K6VIy;
R5CwI:
goto RY7q3;
goto AIkG7;
aCKhA:
$feature_data["feature_type"] = $feature_type;
goto OIQME;
beAIc:
goto K1_Ap;
goto ybHE9;
m8WbD:
if (isset($feature_id) && $feature_id > 0) {
goto aLnJU;
}
goto Q_2gN;
oJO0l:
if ($field_exists->num_rows) {
goto NHl3n;
}
goto a7Sf8;
LCSLH:
$field_profile = db_get_row("SELECT * FROM ?:profile_fields WHERE field_name = ?s", $feature_fields["feature_code"]);
goto p_FEg;
Sc7Cc:
$value = db_get_field("SELECT value FROM ?:profile_fields_data WHERE field_id = ?i AND object_id = ?i AND object_type = ?s", $field_profile["field_id"], $company_id, "S");
goto NBNTR;
hrcdt: AQlFI:
goto ClQdh;
AugIo: wAs6Z:
goto N1TIH;
K6VIy:
$feature_code = $feature_fields["feature_code"];
goto iupPF;
UQ2Do: wNyck:
goto G3SfL;
PzKUB:
$feature_names = db_get_row("SELECT * FROM ?:ss_vendor_filtering_feature_fields_descriptions WHERE ss_vendor_filtering_feature_fields_id = ?i AND lang_code = ?s", $ss_vendor_filtering_feature_fields_id, "en");
goto OnLQQ;
t6cLN: K1_Ap:
goto uwB9C;
c40fh:
if ($feature_type == "V") {
goto wAs6Z;
}
goto IGVhS;
vVWfk:
$feature_data["variants"] = array();
goto U0wD1;
kHekp: L8r3g:
goto EqMDb;
Jt4Yl: RskcT:
goto vct5U;
c5xTy:
$field_exists = db_query("SHOW COLUMNS FROM ?:companies LIKE ?s", $field_id);
goto oJO0l;
fZr3P:
if (!(isset($field_profile["field_id"]) && $field_profile["field_id"] > 0)) {
goto tlboT;
}
goto Sc7Cc;
w5oQ2:
goto K4XvB;
goto yUn3K;
IGVhS:
if ($feature_code == "categories_vendor") {
goto wNyck;
}
goto vrHrX;
PfR4P:
$feature_variant_value = db_get_field("SELECT " . $feature_fields["field_with_data"] . " FROM ?:" . $feature_fields["reference_table"] . " WHERE " . $feature_fields["key_table"] . " = ?s AND lang_code = ?s", $feature_variant_value, "en");
goto beAIc;
ybHE9: Xmdbu:
goto NMjeD;
tLuge:
goto r2Nm2;
goto Yfhif;
EdJPm:
return array($feature_id, $feature_variant_value);
goto mcEth;
koZM2:
}
goto gRij0;
gaxWH:
function fn_ss_vendor_filtering_search()
{
goto u7Wus;
BU31W:
$product_ids = array("534534535464764");
goto qWN6A;
dxLU7:
$conditions .= db_quote(" c.company LIKE ?l", "%" . $q . "%");
goto xcApg;
XHN4w:
if (!empty($product_ids)) {
goto ahaEt;
}
goto BU31W;
qWN6A: ahaEt:
goto Du5PW;
NHdLa:
return $product_ids;
goto l_Bjb;
n4v5T:
$conditions = '';
goto dxLU7;
u7Wus:
$product_ids = array();
goto xwU91;
xcApg:
$conditions .= db_quote(" OR cd.company_description LIKE ?l", "%" . $q . "%");
goto Nd308;
Du5PW: IZq4h:
goto NHdLa;
xwU91:
if (empty($_REQUEST["query"])) {
goto IZq4h;
}
goto hvxCb;
Nd308:
$product_ids = db_get_fields("SELECT ss_vendor_filtering_vendor_product_id FROM ?:companies AS c LEFT JOIN ?:company_descriptions AS cd ON c.company_id = cd.company_id WHERE ({$conditions}) AND cd.lang_code = ?s GROUP BY ss_vendor_filtering_vendor_product_id", "en");
goto XHN4w;
hvxCb:
$q = $_REQUEST["query"];
goto n4v5T;
l_Bjb:
}
goto oLnfC;
ozGA0:
function fn_ss_vendor_filtering_uninstall()
{
goto U9Eh7;
qi5b2:
$feature_id_groups = db_get_fields("SELECT feature_id FROM ?:product_features WHERE parent_id = ?s", $feature_id);
goto Sw0r5;
Sw0r5:
db_query("DELETE FROM ?:product_features WHERE feature_id IN (?n)", $feature_id_groups);
goto qKRHh;
iyOAE:
db_query("DELETE FROM ?:product_feature_variant_descriptions WHERE variant_id IN (?n)", $variant_ids);
goto cYBvb;
LLWyE:
db_query("DELETE FROM ?:product_features_values WHERE feature_id IN (?n)", $feature_id_groups);
goto Onjqi;
qKRHh:
db_query("DELETE FROM ?:product_features_descriptions WHERE feature_id IN (?n)", $feature_id_groups);
goto LLWyE;
wzu9z:
db_query("DELETE FROM ?:product_filters WHERE filter_id IN (?n)", $filter_ids);
goto rd7ke;
cYBvb:
$filter_ids = db_get_fields("SELECT filter_id FROM ?:product_filters WHERE feature_id IN (?n)", $feature_id_groups);
goto wzu9z;
a0hu8:
db_query("DELETE FROM ?:product_features_descriptions WHERE feature_id = ?i", $feature_id);
goto qi5b2;
U9Eh7:
LicenseAddons::instance()->checkLicense("UNINSTALLED");
goto OCcPN;
HoAgw:
db_query("DELETE FROM ?:product_features WHERE feature_id = ?i", $feature_id);
goto a0hu8;
rd7ke:
db_query("DELETE FROM ?:product_filter_descriptions WHERE filter_id IN (?n)", $filter_ids);
goto KXSle;
yEPAg:
$vendors_category = db_get_field("SELECT category_id FROM ?:products_categories WHERE product_id = ?i", $vendor_products_ids[0]);
goto dbf1m;
iwt8A: CjMuq:
goto uoD85;
epZJQ:
db_query("DELETE FROM ?:product_feature_variants WHERE variant_id IN (?n)", $variant_ids);
goto iyOAE;
KXSle:
db_query("UPDATE ?:static_data SET ?u WHERE param = ?s", array("param" => "companies.catalog"), "categories.view&category_id=" . $vendors_category . "&sorting=vendor");
goto Q0mxN;
OCcPN:
$vendor_products_ids = db_get_fields("SELECT ss_vendor_filtering_vendor_product_id FROM ?:companies");
goto yEPAg;
DyxSD:
foreach ($vendor_products_ids as $key => $vendor_product_id) {
fn_delete_product($vendor_product_id);
F3HpA:
}
goto iwt8A;
Onjqi:
$variant_ids = db_get_fields("SELECT variant_id FROM ?:product_feature_variants WHERE feature_id IN (?n)", $feature_id_groups);
goto epZJQ;
dbf1m:
fn_delete_category($vendors_category);
goto DyxSD;
uoD85:
$feature_id = db_get_field("SELECT feature_id FROM ?:product_features WHERE feature_code = ?s", VENDORS_FEATURE_GROUP_NAME);
goto HoAgw;
Q0mxN:
} ?>
Did this file decode correctly?
Original Code
<?php
use Tygh\Registry;
use Tygh\Settings;
use Tygh\SoftSolid\SsVendorFiltering\LoggerAddons;
use Tygh\SoftSolid\SsVendorFiltering\LicenseAddons;
use Tygh\Languages\Languages;
goto rrDvk;
Zkx8Y:
function fn_settings_actions_addons_post_ss_vendor_filtering($status)
{
goto G7NDE;
G7NDE:
if (!($status == "\101")) {
goto yvVQb;
}
goto kvpge;
hnKo4: yvVQb:
goto fh9zd;
kvpge:
$_SESSION[$_REQUEST["\151\144"]] = "\x41";
goto hnKo4;
fh9zd:
}
goto SKmX2;
Nwdck:
function fn_ss_vendor_filtering_get_main_categories_for_vendor($company_id)
{
goto eW7q4;
eW7q4:
$addon_params = Registry::get("\x61\x64\144\x6f\x6e\x73\56\x73\163\137\166\145\x6e\144\x6f\162\137\x66\x69\154\x74\145\162\151\x6e\x67");
goto U_Kb9;
h55q3:
$categories_plan = db_get_field("\123\x45\114\x45\x43\x54\x20\143\141\x74\x65\x67\x6f\x72\x69\145\x73\x20\x46\122\x4f\x4d\x20\x3f\72\166\x65\x6e\x64\x6f\x72\137\160\x6c\141\x6e\x73\x20\x57\x48\105\x52\105\x20\160\154\141\x6e\x5f\x69\x64\x20\75\40\77\151", $plan_id);
goto zk6mf;
OY3kY:
goto cKjli;
goto jTCoW;
JsyQ7:
foreach ($categories as $key => $category) {
goto dm3X_;
S7efg: YZMlr:
goto f9DEq;
lp86p: mrJ8l:
goto S7efg;
wRhY0:
array_push($category_ids, $id_path[$addon_params["\x73\x73\137\x76\x65\x6e\x64\x6f\x72\137\146\151\x6c\x74\x65\162\151\156\x67\x5f\143\x61\164\x65\147\157\162\171\137\154\x65\x76\x65\x6c"] - 1]);
goto lp86p;
ouvTs:
if (!isset($id_path[$addon_params["\163\x73\137\166\145\x6e\x64\x6f\x72\137\146\151\x6c\164\x65\162\x69\x6e\147\x5f\x63\141\164\x65\x67\x6f\x72\x79\137\x6c\x65\x76\x65\154"] - 1])) {
goto mrJ8l;
}
goto wRhY0;
dm3X_:
$id_path = preg_split("\x2f\134\57\57", $category["\x69\x64\x5f\x70\141\164\150"]);
goto ouvTs;
f9DEq:
}
goto MGjjD;
MqpND:
goto QcHJx;
goto kDk23;
U_Kb9:
$category_ids = array();
goto J1QyX;
EvgQE:
$conditions = '';
goto g3ODl;
V6naT: RjMJk:
goto W7sMk;
CZgas: ZhcbX:
goto ieXMv;
d8ilu: kbly1:
goto OY3kY;
OrlYO:
$plan_id = db_get_field("\x53\105\x4c\x45\103\x54\x20\x70\x6c\x61\x6e\137\x69\144\x20\x46\x52\117\x4d\40\77\x3a\143\x6f\155\160\141\x6e\x69\145\x73\40\x57\110\105\x52\x45\40\x63\157\155\x70\141\x6e\x79\137\x69\x64\x20\x3d\40\x3f\x69", $company_id);
goto QHnhi;
zk6mf:
if (!empty($categories_plan)) {
goto XwCSa;
}
goto sWpBV;
ZVV7N:
$category_ids = array_unique($category_ids);
goto LMuPA;
R3xuz:
$conditions .= db_quote("\x20\101\x4e\x44\x20\160\56\x73\164\x61\x74\x75\163\x20\75\x20\x3f\x73", "\101");
goto FP48p;
g3ODl:
if (!($addon_params["\x73\x73\137\x76\145\x6e\x64\157\x72\137\146\151\x6c\164\145\x72\151\x6e\147\137\157\x6e\154\171\x5f\141\x63\164\151\x76\145"] == "\131")) {
goto nqypF;
}
goto R3xuz;
mzR9k:
if (!(isset($company_id) && $company_id > 0)) {
goto DzTRI;
}
goto OrlYO;
l_P2P: XwCSa:
goto XGID7;
q9Fiz:
if ($addon_params["\x73\x73\137\166\145\x6e\x64\x6f\162\x5f\x66\x69\x6c\164\x65\162\151\156\147\137\x6c\x65\166\145\x6c\x5f\x6c\x6f\x67\x69\143"] == "\x6f\156\x6c\x79\x5f\x73\145\154\145\x63\164\145\x64") {
goto dUlwo;
}
goto W9nz7;
J1QyX:
if ($addon_params["\163\x73\x5f\x76\x65\x6e\144\157\x72\137\146\x69\x6c\164\145\162\x69\156\147\x5f\143\x61\x74\x65\147\x6f\x72\171"] == "\143\x61\x74\x65\147\x6f\162\171\x5f\146\162\157\155\137\160\x6c\141\156") {
goto gYpBq;
}
goto EvgQE;
DjSjP:
foreach ($categories as $key => $category) {
goto NEZq5;
zPUTx: WKtPo:
goto OPbJc;
TooUB: EmM22:
goto DK72N;
h3F_T:
$i = $addon_params["\x73\x73\137\x76\x65\x6e\144\x6f\x72\137\x66\x69\x6c\164\x65\x72\x69\x6e\x67\x5f\x63\141\x74\x65\x67\x6f\x72\171\x5f\x6c\x65\x76\145\154"] - 1;
goto zPUTx;
OPbJc:
if (!($i >= 0)) {
goto EmM22;
}
goto LKKSF;
wy3lI: CxrYI:
goto Ddbei;
QJUDL:
array_push($category_ids, $id_path[$i]);
goto cTMSB;
Ix8jo:
goto WKtPo;
goto TooUB;
LKKSF:
if (!isset($id_path[$i])) {
goto rxtPF;
}
goto QJUDL;
cTMSB: rxtPF:
goto wy3lI;
DK72N: tDfjh:
goto Z3Gog;
Ddbei:
$i--;
goto Ix8jo;
NEZq5:
$id_path = preg_split("\x2f\x5c\57\57", $category["\151\x64\137\160\x61\x74\150"]);
goto h3F_T;
Z3Gog:
}
goto d8ilu;
MGjjD: OeeGf:
goto uqxXN;
ieXMv:
foreach ($categories_plan_array as $category_id) {
goto yoq4t;
cm4s_:
array_push($category_ids, $category_id);
goto I1d2k;
tQNaY: vwZGt:
goto cm4s_;
RPm3n:
$id_path = preg_split("\57\x5c\57\x2f", $category_data["\151\144\137\x70\x61\x74\150"]);
goto HSuWY;
I1d2k: cbS0s:
goto u2Dw9;
yoq4t:
$category_data = db_get_row("\x53\x45\x4c\105\x43\124\40\x2a\x20\106\122\117\115\x20\x3f\72\x63\141\164\145\x67\157\x72\x69\145\x73\x20\x57\110\x45\x52\x45\x20\x63\141\x74\145\x67\x6f\162\171\x5f\x69\x64\40\75\40\x3f\151", $category_id);
goto s8UDz;
HSuWY:
$category_id = array_shift($id_path);
goto tQNaY;
s8UDz:
if (!(isset($category_data) && !empty($category_data) && $category_data["\x70\x61\x72\145\156\x74\x5f\151\x64"] > 0)) {
goto vwZGt;
}
goto RPm3n;
u2Dw9:
}
goto bY0im;
QMXvj:
$categories_id = db_get_fields("\x53\105\114\x45\103\124\x20\104\x49\123\x54\111\116\103\x54\x20\x70\x63\56\143\141\x74\145\147\157\x72\171\137\x69\x64\40\x46\x52\x4f\x4d\40\x3f\72\160\x72\x6f\144\165\143\x74\163\137\143\x61\x74\x65\x67\157\x72\151\145\x73\x20\x41\x53\x20\x70\143\xa\x20\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\40\x20\x20\114\x45\106\124\40\x4a\117\111\116\40\x3f\72\160\162\x6f\x64\x75\143\164\163\x20\101\x53\40\160\40\117\116\x20\x70\x63\56\x70\x72\157\x64\165\143\164\x5f\x69\x64\40\x3d\x20\160\56\160\x72\x6f\144\x75\143\x74\x5f\x69\x64\12\x20\40\x20\40\x20\x20\40\40\40\x20\x20\40\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\40\40\40\40\40\40\40\x20\x20\x4c\x45\106\124\40\x4a\x4f\111\x4e\40\77\72\143\141\164\x65\147\x6f\162\151\x65\163\40\x41\123\40\x63\40\x4f\x4e\40\143\56\143\141\x74\x65\x67\157\x72\171\x5f\x69\144\x20\75\40\x70\x63\x2e\143\141\164\x65\147\x6f\162\x79\x5f\x69\144\xa\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\40\x20\40\x20\40\40\40\40\40\x20\40\x20\40\40\x20\40\x20\x57\110\105\122\105\40\x70\x2e\x63\157\x6d\x70\141\x6e\171\x5f\151\144\40\75\40\x3f\x69\40\101\x4e\104\x20\143\56\x73\x74\141\x74\165\x73\x20\75\40\77\x73\40\x3f\x70", $company_id, "\x41", $conditions);
goto B6R7y;
jTCoW: dUlwo:
goto JsyQ7;
Hw5Lr: DzTRI:
goto SyTu2;
QHnhi:
if (!(isset($plan_id) && $plan_id > 0)) {
goto vusd1;
}
goto h55q3;
r7oml: vusd1:
goto Hw5Lr;
LMuPA: g6Qra:
goto MqpND;
XGID7:
$categories_plan_array = explode("\x2c", $categories_plan);
goto CZgas;
kDk23: gYpBq:
goto mzR9k;
sWpBV:
$categories_plan_array = db_get_fields("\123\105\114\105\103\x54\40\143\141\x74\145\147\157\162\171\x5f\151\144\40\106\x52\117\x4d\x20\77\x3a\143\141\164\145\147\157\x72\151\145\163\x20\127\110\105\122\105\40\x70\141\162\x65\x6e\x74\137\151\144\40\x3d\x20\x3f\x69", 0);
goto WhQJ7;
FP48p: nqypF:
goto QMXvj;
dC8qM:
$categories = db_get_array("\x53\x45\x4c\x45\x43\124\40\x2a\40\106\x52\x4f\115\40\77\72\143\x61\x74\x65\x67\157\x72\x69\x65\x73\40\127\x48\x45\x52\105\40\143\x61\164\145\147\x6f\x72\x79\x5f\x69\x64\x20\111\x4e\x20\x28\x3f\x61\x29", $categories_id);
goto q9Fiz;
ZuvXQ:
return $category_ids;
goto um56I;
W9nz7:
if ($addon_params["\x73\x73\137\x76\145\x6e\144\x6f\162\137\x66\151\x6c\x74\x65\162\x69\156\147\x5f\154\x65\166\145\154\137\154\x6f\147\x69\143"] == "\163\145\x6c\145\143\164\145\x64\137\x61\156\x64\137\x62\145\154\157\167") {
goto RjMJk;
}
goto DjSjP;
WhQJ7:
goto ZhcbX;
goto l_P2P;
EBluJ: cKjli:
goto ZVV7N;
W7sMk:
foreach ($categories as $key => $category) {
goto nzSeW;
nzSeW:
$id_path = preg_split("\x2f\134\57\57", $category["\151\144\137\x70\141\x74\x68"]);
goto cbA6q;
pMNdG: XYoeQ:
goto WvzJV;
fb04u: B43Xp:
goto pMNdG;
gvFED: tuxwY:
goto zkmT8;
zkmT8:
$i++;
goto ZMaOb;
uMBcp:
if (!($i <= count($id_path) - 1)) {
goto B43Xp;
}
goto r7qlh;
bfSWM: EvXX1:
goto uMBcp;
ZMaOb:
goto EvXX1;
goto fb04u;
r7qlh:
array_push($category_ids, $id_path[$i]);
goto gvFED;
cbA6q:
$i = $addon_params["\163\x73\137\x76\x65\x6e\144\x6f\162\x5f\x66\151\154\x74\145\x72\151\156\147\x5f\x63\141\164\x65\147\x6f\x72\x79\137\x6c\x65\x76\x65\x6c"] - 1;
goto bfSWM;
WvzJV:
}
goto tTU2k;
SyTu2: QcHJx:
goto ZuvXQ;
tTU2k: HNcDb:
goto EBluJ;
bY0im: PLkTC:
goto r7oml;
B6R7y:
if (empty($categories_id)) {
goto g6Qra;
}
goto dC8qM;
uqxXN:
goto cKjli;
goto V6naT;
um56I:
}
goto MZEfe;
rrDvk:
require_once "\150\x6f\x6f\153\163\56\160\x68\x70";
goto dqUX_;
qXSyG:
function fn_ss_vendor_filtering_get_stats()
{
goto Pk0kd;
OZhfP:
if (class_exists("\x5c\124\171\147\x68\134\x53\x6f\x66\164\x53\x6f\x6c\x69\144\134\x53\163\126\x65\156\x64\x6f\162\x46\151\x6c\x74\x65\162\x69\x6e\x67\x5c\114\x69\143\145\x6e\x73\x65\101\x64\144\157\x6e\x73")) {
goto QTiQF;
}
goto kSeQA;
kSeQA:
$stats = "\74\x64\151\x76\40\163\x74\x79\154\x65\75\x22\x66\154\157\141\164\x3a\143\x65\x6e\164\145\162\73\x66\x6f\x6e\164\55\x73\151\172\x65\x3a\61\x36\160\170\x22\x3e" . __("\x7b\141\144\144\x6f\156\x5f\151\144\175\x5f\163\x74\x61\164\163\x5f\x6e\x6f\x5f\141\143\164\151\x76\151\x74\171") . "\74\x2f\144\x69\166\76";
goto SHq65;
H6UeM: QTiQF:
goto SJnCS;
cPEoE: Ked3Y:
goto ZUIa2;
SHq65:
goto Ked3Y;
goto H6UeM;
SJnCS:
$stats = LicenseAddons::instance()->getStats();
goto cPEoE;
Pk0kd:
$stats = array();
goto OZhfP;
ZUIa2:
return $stats;
goto MsiZa;
MsiZa:
}
goto NZxML;
U9haq:
function fn_ss_vendor_filtering_get_vendor_features($empty_param)
{
$features = db_get_array("\x53\105\x4c\105\x43\x54\40\146\x2e\163\x73\x5f\166\145\x6e\144\157\x72\x5f\146\x69\x6c\x74\x65\x72\151\x6e\147\x5f\146\x65\141\x74\165\x72\x65\x5f\x66\x69\x65\154\144\163\x5f\151\144\x2c\x20\x66\x64\56\156\141\x6d\145\12\x20\x20\x20\40\x20\40\x20\40\x46\122\x4f\x4d\40\77\x3a\x73\x73\137\166\145\x6e\144\x6f\162\x5f\x66\151\154\x74\x65\162\x69\x6e\147\x5f\x66\145\141\164\165\x72\x65\137\x66\x69\145\x6c\144\163\40\x41\123\40\x66\xa\40\40\x20\x20\40\40\x20\x20\114\x45\x46\124\x20\112\117\x49\116\x20\77\72\163\163\137\166\145\x6e\x64\157\162\137\x66\151\154\x74\x65\x72\x69\x6e\x67\137\x66\145\x61\164\165\x72\145\137\x66\x69\145\154\x64\163\x5f\x64\145\163\x63\162\x69\x70\x74\151\x6f\156\163\40\101\x53\40\146\144\12\x20\x20\x20\40\40\x20\x20\40\117\116\x20\x66\x2e\x73\x73\137\x76\145\156\x64\x6f\x72\x5f\x66\151\x6c\164\x65\x72\x69\x6e\147\x5f\x66\145\141\164\x75\x72\x65\x5f\146\151\x65\x6c\144\163\x5f\151\x64\x20\x3d\40\x66\144\x2e\163\x73\x5f\x76\145\156\144\157\162\x5f\x66\151\x6c\x74\145\x72\151\x6e\147\137\x66\x65\141\x74\x75\x72\x65\x5f\146\x69\145\154\x64\163\137\151\x64\12\x20\40\40\40\x20\x20\x20\x20\127\110\x45\x52\x45\40\x66\x2e\163\x74\x61\x74\165\x73\40\x3d\40\x3f\x73\x20\101\x4e\x44\40\x66\56\146\x65\141\x74\x75\x72\145\137\x74\171\160\x65\40\x3d\40\77\x73\x20\101\x4e\x44\40\x66\x64\x2e\x6c\x61\156\147\x5f\143\x6f\144\145\40\x3d\40\77\x73", "\101", "\126", DESCR_SL);
return $features;
}
goto A7KFH;
gRij0:
function fn_ss_vendor_filtering_assign_features($feature_fields_ids = array(), $company_ids = array())
{
goto gdHZ2;
bwaw3: VZ02L:
goto YbUnz;
gdHZ2:
$addon_params = Registry::get("\141\144\144\157\156\x73\56\163\x73\x5f\x76\x65\156\144\157\x72\x5f\x66\x69\x6c\x74\x65\x72\151\156\147");
goto Nu_yb;
YbUnz:
if (!empty($feature_fields_ids)) {
goto lQqLZ;
}
goto aHGAg;
ZS6Mk:
return true;
goto Zhi1S;
FUOVY: lQqLZ:
goto CGDaO;
ck7gh:
if (!(count(Languages::getAll()) > 1 && $ss_vendor_filtering_feature["\x66\x65\141\164\165\162\x65\137\x74\171\160\145"] != "\126")) {
goto NfQJW;
}
goto g50OQ;
g50OQ:
fn_ss_vendor_filtering_update_lang_version($company_id);
goto baKVH;
NdbFG:
foreach ($feature_fields_ids as $key => $ss_vendor_filtering_feature_fields_id) {
goto jUqiD;
jUqiD:
$feature_code = db_get_field("\x53\105\x4c\105\x43\124\x20\146\145\141\x74\165\x72\x65\x5f\x63\x6f\144\145\x20\x46\x52\117\115\40\x3f\72\163\x73\137\x76\x65\x6e\144\157\162\137\x66\x69\x6c\x74\145\162\151\x6e\147\137\x66\x65\141\x74\x75\x72\x65\137\x66\x69\145\x6c\x64\163\40\127\110\105\122\x45\40\163\163\x5f\166\x65\156\x64\x6f\162\x5f\146\151\x6c\x74\145\x72\151\x6e\147\x5f\x66\x65\141\164\x75\162\145\137\x66\151\x65\154\144\163\x5f\151\x64\x20\75\x20\77\x69", $ss_vendor_filtering_feature_fields_id);
goto k38kv;
k38kv:
if (empty($feature_code)) {
goto AYFcI;
}
goto tZX2P;
vI6iT: AYFcI:
goto cEGbs;
tZX2P:
$feature_id = db_get_field("\x53\105\x4c\x45\x43\x54\x20\x66\x65\x61\x74\165\162\x65\137\x69\x64\x20\x46\122\117\x4d\40\x3f\72\160\x72\157\144\165\143\x74\137\x66\145\141\x74\x75\162\145\x73\40\127\110\105\122\105\40\x66\x65\x61\164\165\x72\145\x5f\x63\157\144\145\x20\75\x20\77\x73", $feature_code);
goto Yz7Zs;
fxcWw:
fn_delete_product_feature_variants($feature_id);
goto UM7Im;
UM7Im: QmF3b:
goto vI6iT;
cEGbs: jLqdE:
goto YUUz7;
Yz7Zs:
if (!isset($feature_id)) {
goto QmF3b;
}
goto fxcWw;
YUUz7:
}
goto Idvke;
AiSUx:
foreach ($company_ids as $company_id) {
goto hrR4i;
ftmYV: i5Pmi:
goto Rn_99;
bia1M: EC_Eg:
goto b7XJc;
wNmqZ:
foreach ($feature_fields_ids as $ss_vendor_filtering_feature_fields_id) {
goto Q2hU5;
Y9AUJ: OGWf0:
goto ArSO3;
HImy1:
$filter_id = fn_ss_vendor_filtering_create_filter($feature_id, 0);
goto zTcL6;
dk1ik: MYNvu:
goto yq00V;
MDYs7:
$field_ids = trim($field_ids);
goto Jtnba;
i_tmd:
$variant_id = db_get_field("\123\x45\x4c\x45\x43\124\40\x70\146\166\56\166\x61\x72\x69\141\x6e\164\137\151\x64\40\x46\x52\117\x4d\x20\77\72\x70\x72\x6f\144\165\x63\x74\x5f\146\x65\x61\164\165\x72\x65\137\x76\141\x72\x69\141\156\164\137\144\145\x73\x63\162\x69\x70\x74\x69\157\x6e\163\x20\101\x53\40\x70\x66\x76\144\x20\x4c\105\106\124\40\x4a\x4f\x49\x4e\x20\x3f\72\x70\x72\x6f\x64\165\x63\164\137\x66\145\141\164\x75\x72\145\137\166\x61\x72\x69\141\x6e\164\x73\x20\x41\x53\40\160\146\x76\12\40\x20\40\x20\x20\40\40\40\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\40\x20\40\40\x4f\x4e\40\160\x66\166\144\56\166\x61\x72\x69\x61\x6e\164\137\151\144\x20\x3d\40\160\x66\x76\56\x76\x61\x72\151\141\156\x74\x5f\151\144\40\101\x4e\104\40\160\x66\x76\x2e\x66\x65\141\164\x75\162\145\137\151\x64\40\x3d\40\x3f\151\xa\40\40\x20\x20\x20\x20\x20\x20\40\40\40\40\40\40\40\40\x20\40\40\40\x20\x20\x20\40\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\127\x48\x45\122\x45\40\x76\x61\162\x69\x61\x6e\x74\40\75\x20\x3f\163\40\101\x4e\104\x20\154\141\156\147\137\143\x6f\x64\145\40\x3d\40\77\x73", $feature_id, $feature_variant_value, "\x65\x6e");
goto w2NVl;
OQK4Q: okiye:
goto NeyU2;
giqj4:
foreach ($field_ids_split as $key => $field_id) {
goto F0DSn;
IYe9c: SMZXb:
goto TRqHG;
wiqIl:
foreach (Languages::getAll() as $lang_code => $v) {
goto bUDRQ;
igii8: QNTqU:
goto CuG9n;
bUDRQ:
$product_features_values = array("\x66\x65\141\x74\x75\x72\145\x5f\151\x64" => $feature_id, "\160\162\x6f\144\165\x63\164\137\x69\144" => $vendor_product_id, "\166\x61\162\x69\x61\x6e\164\137\x69\x64" => $variant_id, "\x6c\141\156\147\x5f\143\157\144\145" => $lang_code);
goto pb_I7;
pb_I7:
db_query("\122\105\120\114\x41\103\x45\x20\111\x4e\x54\x4f\40\x3f\x3a\160\162\157\144\x75\x63\164\137\x66\x65\x61\x74\x75\x72\x65\163\137\x76\x61\x6c\165\145\163\x20\77\x65", $product_features_values);
goto igii8;
CuG9n:
}
goto VgAGf;
T1uS_: qCCXz:
goto v5Fr6;
F0DSn:
$field_id = trim($field_id);
goto XXIAd;
XXIAd:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_id, $ss_vendor_filtering_feature_fields_id, $company_id, $ss_vendor_filtering_feature["\x66\x65\x61\164\x75\162\x65\137\x74\x79\160\145"]);
goto qUsyW;
VgAGf: fAGsZ:
goto T1uS_;
qUsyW:
if (!$feature_id) {
goto JcdJW;
}
goto VqxWA;
RSI0i:
$set_feature = db_get_field("\123\x45\114\x45\103\x54\x20{$field_id}\40\106\122\x4f\115\x20\x3f\x3a\143\157\x6d\x70\x61\x6e\151\145\x73\x20\127\x48\105\x52\x45\x20\x63\x6f\x6d\x70\141\x6e\x79\x5f\151\x64\x20\x3d\40\x3f\x69", $company_id);
goto nodbu;
nodbu:
if (!($set_feature == "\131" && isset($variant_id) && $variant_id > 0)) {
goto qCCXz;
}
goto wiqIl;
v5Fr6: JcdJW:
goto IYe9c;
VqxWA:
$variant_id = db_get_field("\123\x45\114\x45\103\x54\40\x70\x66\166\56\166\141\162\151\x61\x6e\164\x5f\151\x64\40\106\122\117\115\x20\x3f\x3a\160\x72\x6f\x64\165\143\164\137\x66\145\x61\x74\165\162\145\137\x76\x61\162\x69\141\156\164\137\144\145\x73\x63\162\151\x70\164\x69\157\x6e\163\40\101\x53\40\160\146\166\144\x20\x4c\x45\106\x54\x20\112\117\111\116\40\77\72\x70\162\157\x64\165\143\x74\x5f\x66\x65\x61\164\165\162\x65\137\166\x61\x72\151\141\x6e\x74\163\x20\x41\123\40\160\x66\x76\xa\x20\x20\x20\x20\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\x20\40\x20\40\40\x20\x20\40\40\x20\x20\x20\117\116\40\160\146\166\x64\56\x76\x61\x72\151\x61\156\x74\x5f\151\x64\40\x3d\x20\160\146\166\x2e\x76\x61\x72\x69\141\156\164\x5f\151\x64\40\x41\x4e\x44\x20\x70\x66\166\x2e\146\x65\141\x74\165\x72\x65\x5f\x69\144\40\75\x20\x3f\x69\xa\x20\40\40\40\40\40\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\127\110\x45\122\x45\40\166\141\x72\x69\x61\x6e\x74\40\x3d\x20\x3f\x73\40\101\116\x44\40\x6c\141\x6e\147\x5f\143\157\x64\145\x20\75\40\x3f\163", $feature_id, $feature_variant_value, "\145\x6e");
goto RSI0i;
TRqHG:
}
goto M9F2w;
BaA3_:
foreach (unserialize($svfv_feature_fields) as $ss_vendor_filtering_feature_fields_id_local => $flag) {
goto e9Giv;
CPlCd:
$feature_id_from = db_get_field("\x53\105\x4c\x45\103\124\40\146\145\141\164\165\162\x65\137\151\x64\40\x46\x52\117\115\x20\77\x3a\160\162\x6f\144\165\x63\164\137\x66\151\x6c\x74\x65\x72\x73\x20\x57\x48\x45\122\105\x20\146\151\154\x74\145\x72\x5f\151\x64\x20\x3d\40\x3f\x69", $filter_id);
goto V4s1i;
FgvSY:
foreach (Languages::getAll() as $lang_code => $v) {
goto W9ddF;
W9ddF:
$product_features_values = array("\x66\x65\141\x74\165\162\x65\137\151\144" => $feature_id, "\x70\162\x6f\x64\x75\x63\164\x5f\x69\144" => $vendor_product_id, "\166\x61\154\x75\x65" => $flag, "\154\x61\x6e\147\137\143\157\144\145" => $lang_code);
goto c3GA1;
S0_5L: iiu_Z:
goto wgAGS;
c3GA1:
db_query("\122\105\120\114\x41\103\105\x20\111\x4e\x54\x4f\40\x3f\72\x70\x72\157\144\165\143\x74\x5f\x66\x65\x61\164\165\162\145\163\x5f\166\x61\x6c\x75\145\x73\40\77\145", $product_features_values);
goto S0_5L;
wgAGS:
}
goto nCEd6;
V4s1i:
if (!($feature_id == $feature_id_from)) {
goto g531P;
}
goto FgvSY;
gK_7i: KnDhD:
goto c5_qS;
e9Giv:
$filter_id = db_get_field("\123\x45\x4c\105\x43\x54\40\x66\x69\x6c\164\x65\x72\x5f\x69\x64\x20\x46\x52\117\x4d\40\77\72\163\x73\137\166\x65\156\144\157\x72\x5f\x66\x69\154\164\145\x72\151\x6e\147\137\146\x65\x61\164\x75\x72\145\137\146\151\x65\154\x64\x73\x20\x57\110\105\x52\x45\40\163\163\x5f\166\145\156\x64\157\x72\137\x66\151\x6c\164\x65\162\151\156\x67\137\146\145\x61\164\165\162\x65\x5f\x66\151\145\x6c\144\163\x5f\151\144\40\x3d\x20\x3f\x69", $ss_vendor_filtering_feature_fields_id_local);
goto CPlCd;
nCEd6: u6CVi:
goto Z3Fv0;
Z3Fv0: g531P:
goto gK_7i;
c5_qS:
}
goto Tm0e9;
m0sF5:
db_query("\104\105\x4c\x45\124\x45\40\x46\x52\117\115\40\x3f\72\160\x72\157\x64\165\x63\x74\x5f\146\145\x61\x74\x75\x72\145\x73\x5f\x76\x61\154\x75\145\x73\40\127\x48\x45\x52\x45\x20\160\162\157\x64\x75\x63\164\x5f\151\144\x20\x3d\x20\77\x69\x20\101\116\x44\40\x66\x65\x61\x74\165\162\x65\137\x69\x64\x20\x3d\40\77\151", $vendor_product_id, $feature_id);
goto SZFxb;
SFXBR:
foreach (Languages::getAll() as $lang_code => $v) {
goto Wm43Q;
pzwmO: k3Ngc:
goto RGpZ3;
Y02WA:
db_query("\x52\x45\120\x4c\101\x43\105\x20\x49\x4e\x54\117\x20\x3f\72\x70\162\157\x64\x75\143\x74\x5f\x66\145\x61\x74\x75\x72\145\x73\137\166\141\154\x75\145\x73\40\77\x65", $product_features_values);
goto pzwmO;
Wm43Q:
$product_features_values = array("\146\x65\141\164\165\x72\145\x5f\x69\144" => $feature_id, "\160\162\x6f\x64\x75\x63\164\137\x69\x64" => $vendor_product_id, "\166\x61\162\151\141\156\x74\137\x69\x64" => $variant_id, "\154\x61\x6e\x67\137\x63\x6f\x64\x65" => $lang_code);
goto Y02WA;
RGpZ3:
}
goto JsdWC;
uZrcC:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, "\126");
goto gZL8q;
pLbye: xh7Ag:
goto kye3I;
kye3I:
$field_ids_split = preg_split("\57\134\x2c\57", $field_ids);
goto giqj4;
ejl_v: hbvJV:
goto MDYs7;
gB3nU:
if (empty($field_ids)) {
goto tEkRK;
}
goto Pf6R8;
NeyU2:
goto HaEo0;
goto pLbye;
v8yz_: L8xZC:
goto T_mId;
Q2hU5:
$ss_vendor_filtering_feature = db_get_row("\x53\x45\x4c\105\103\124\40\52\40\106\122\117\x4d\40\77\72\163\163\137\166\145\156\x64\x6f\162\x5f\x66\151\x6c\x74\x65\x72\x69\156\x67\137\x66\x65\141\164\165\x72\x65\137\x66\x69\145\154\144\x73\40\127\110\x45\x52\x45\40\x73\x73\137\x76\x65\x6e\144\157\x72\x5f\x66\x69\154\164\x65\x72\151\156\147\137\x66\145\141\x74\x75\162\145\137\x66\151\x65\x6c\x64\x73\137\151\144\40\75\x20\x3f\151", $ss_vendor_filtering_feature_fields_id);
goto Nyjne;
yweLa:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, "\126");
goto yPLny;
M9F2w: r62U6:
goto apznH;
abB5b:
foreach ($feature_variant_value as $key => $feature_value) {
goto y7Mnj;
ZksKf:
if (!(isset($variant_id) && $variant_id > 0)) {
goto URHwG;
}
goto NJcEI;
y7Mnj:
$variant_id = db_get_field("\x53\105\114\105\103\x54\x20\x70\x66\166\56\166\141\162\151\x61\156\164\137\x69\144\40\x46\x52\x4f\x4d\40\x3f\x3a\160\162\x6f\x64\x75\x63\x74\137\146\145\141\x74\165\162\x65\137\166\x61\162\x69\141\x6e\164\137\x64\145\163\143\162\151\160\x74\151\x6f\156\163\40\x41\123\x20\160\x66\x76\x64\40\114\105\106\x54\40\112\117\111\116\x20\x3f\72\x70\162\157\144\x75\143\164\137\x66\x65\141\164\x75\x72\x65\137\x76\141\162\151\141\x6e\x74\x73\x20\101\x53\x20\x70\x66\166\xa\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\40\40\40\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\x4f\116\x20\160\146\166\x64\56\166\x61\162\151\141\156\x74\137\151\144\x20\75\x20\x70\x66\x76\x2e\x76\141\162\151\141\156\164\x5f\151\144\x20\x41\116\104\40\x70\x66\166\x2e\x66\x65\141\x74\x75\162\x65\x5f\151\x64\x20\75\x20\x3f\x69\xa\40\40\x20\40\40\40\40\40\40\40\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\40\x20\127\110\x45\122\105\x20\166\x61\162\x69\141\x6e\x74\x20\x3d\x20\x3f\x73\40\101\x4e\x44\40\154\141\156\147\x5f\x63\157\144\x65\x20\x3d\x20\x3f\x73", $feature_id, $feature_value, "\x65\x6e");
goto ZksKf;
rm9Gx: VtCtK:
goto z1dyR;
z1dyR: URHwG:
goto CezC6;
NJcEI:
foreach (Languages::getAll() as $lang_code => $v) {
goto VKxDR;
xx72c: k5948:
goto jl8sH;
JUhuG:
db_query("\122\105\120\114\x41\x43\x45\x20\x49\116\124\x4f\40\x3f\x3a\x70\162\157\x64\165\x63\164\x5f\x66\145\141\x74\165\162\x65\163\137\x76\141\x6c\x75\145\163\x20\x3f\x65", $product_features_values);
goto xx72c;
VKxDR:
$product_features_values = array("\x66\145\x61\x74\165\x72\145\x5f\x69\144" => $feature_id, "\x70\162\x6f\x64\x75\x63\164\x5f\x69\144" => $vendor_product_id, "\x76\141\162\x69\141\x6e\164\137\x69\x64" => $variant_id, "\x6c\x61\x6e\147\137\x63\x6f\144\145" => $lang_code);
goto JUhuG;
jl8sH:
}
goto rm9Gx;
CezC6: ijx34:
goto nq3Hg;
nq3Hg:
}
goto v8yz_;
i1qwF:
$field_ids = trim($field_ids);
goto xsc9S;
UsnyU:
goto MYNvu;
goto gnHCw;
h55XG:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, $ss_vendor_filtering_feature["\x66\145\141\164\165\x72\x65\x5f\x74\x79\x70\145"]);
goto ZYg_f;
JsdWC: aDg2G:
goto rqR95;
SZFxb:
if (!$feature_id) {
goto F8J9w;
}
goto Qz8hh;
Pf6R8:
if (preg_match("\57\x5c\x2c\57", $field_ids) && $ss_vendor_filtering_feature["\x66\145\141\164\165\162\145\137\x74\x79\160\145"] == "\115") {
goto xh7Ag;
}
goto YbBJb;
Tm0e9: mKzXq:
goto UsnyU;
xsc9S:
$count_feature_code = db_get_field("\x53\105\x4c\105\103\124\40\x43\x4f\125\x4e\x54\50\52\x29\40\106\122\117\x4d\x20\x3f\72\x73\163\x5f\x76\145\x6e\x64\x6f\x72\x5f\146\151\x6c\164\x65\162\151\156\x67\137\x66\145\141\164\165\162\x65\137\146\x69\145\154\x64\163\40\127\x48\x45\x52\105\x20\x66\145\x61\x74\165\162\x65\137\143\157\144\145\40\75\40\77\x73", $ss_vendor_filtering_feature["\146\x65\141\164\165\x72\x65\137\143\x6f\x64\x65"]);
goto QeYCx;
VkTHY:
if (!(isset($variant_id) && $variant_id > 0)) {
goto Rrxxn;
}
goto SFXBR;
gZL8q:
$svfv_feature_fields = db_get_field("\x53\x45\x4c\105\x43\124\40\163\163\x5f\x76\x65\x6e\x64\x6f\162\137\146\x69\x6c\164\x65\x72\151\x6e\147\x5f\x76\x65\156\144\157\162\x5f\x66\x65\x61\164\165\162\145\137\146\151\x65\154\x64\x73\x20\106\122\x4f\x4d\40\77\x3a\143\x6f\155\x70\x61\156\x69\145\x73\40\127\x48\105\x52\x45\40\143\x6f\155\160\141\156\x79\x5f\151\x64\x20\75\x20\x3f\151", $company_id);
goto BaA3_;
rqR95: Rrxxn:
goto OQK4Q;
yPLny:
$svfv_feature_fields = db_get_field("\123\x45\114\x45\x43\124\x20\x73\163\x5f\x76\145\156\144\157\162\137\146\151\x6c\x74\145\162\151\156\147\x5f\x76\145\x6e\x64\157\162\x5f\x66\145\x61\x74\165\x72\x65\x5f\x66\x69\145\154\144\163\40\106\122\x4f\x4d\40\x3f\x3a\143\x6f\x6d\x70\141\156\151\x65\163\x20\127\x48\105\122\x45\40\143\x6f\155\x70\141\x6e\x79\x5f\x69\144\x20\75\40\77\x69", $company_id);
goto i_tmd;
ArSO3: tEkRK:
goto y9HI7;
aUVkI:
db_query("\x55\x50\x44\x41\x54\x45\x20\77\72\x73\163\x5f\x76\x65\x6e\144\x6f\x72\x5f\x66\151\154\x74\145\162\151\156\147\137\x66\145\x61\164\165\x72\145\137\x66\151\145\154\144\163\40\x53\x45\x54\40\77\165\x20\127\x48\x45\122\x45\40\x73\x73\x5f\166\145\x6e\144\157\x72\137\x66\151\x6c\x74\145\x72\151\156\x67\137\146\x65\x61\x74\x75\162\145\x5f\146\151\145\x6c\144\x73\137\x69\144\40\75\x20\77\151", array("\146\151\154\x74\x65\x72\x5f\151\x64" => $filter_id), $ss_vendor_filtering_feature_fields_id);
goto Y9AUJ;
YbBJb:
if (!preg_match("\x2f\134\54\57", $field_ids) && $ss_vendor_filtering_feature["\146\145\x61\164\165\x72\145\x5f\164\171\x70\x65"] == "\115") {
goto hbvJV;
}
goto Vuju1;
GOtjH:
$field_ids = trim($field_ids);
goto h55XG;
QeYCx:
if ($count_feature_code > 1) {
goto Ftwnz;
}
goto uZrcC;
kaRjb: LBX9S:
goto i1qwF;
Jtnba:
list($feature_id, $feature_variant_value) = fn_ss_vendor_filtering_prepare_feature($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, $ss_vendor_filtering_feature["\146\145\141\164\x75\162\145\137\164\x79\160\x65"]);
goto m0sF5;
apznH:
goto HaEo0;
goto ejl_v;
Nyjne:
$field_ids = $ss_vendor_filtering_feature["\146\x69\145\154\144\x5f\x69\x64\x73"];
goto gB3nU;
y9HI7: S_ENA:
goto RMReA;
yq00V: HaEo0:
goto HImy1;
GWQUE:
$variant_id = db_get_field("\x53\x45\x4c\x45\x43\124\x20\160\146\166\x2e\166\x61\162\151\141\x6e\x74\137\151\x64\40\106\x52\117\115\x20\x3f\x3a\x70\162\157\144\x75\143\x74\137\x66\145\141\x74\x75\162\x65\137\166\x61\162\x69\x61\156\x74\x5f\144\x65\163\x63\x72\x69\160\x74\151\x6f\x6e\163\x20\x41\123\x20\x70\146\x76\x64\40\114\105\x46\124\x20\112\x4f\x49\116\x20\x3f\72\160\162\157\144\165\x63\x74\137\146\145\x61\x74\x75\162\145\137\x76\x61\162\x69\x61\156\x74\163\40\101\123\x20\160\146\166\12\x20\x20\x20\40\40\x20\x20\40\40\x20\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\40\40\40\40\40\x20\40\40\40\x4f\x4e\40\160\x66\166\144\56\x76\x61\162\x69\x61\x6e\x74\x5f\x69\144\x20\75\40\x70\x66\x76\x2e\166\141\x72\x69\x61\x6e\164\137\151\x64\40\x41\x4e\x44\x20\160\x66\x76\x2e\146\x65\x61\x74\165\x72\x65\137\151\x64\x20\x3d\40\77\x69\12\40\40\40\40\40\x20\40\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\127\x48\105\x52\x45\x20\166\x61\x72\x69\141\156\x74\40\x3d\40\x3f\x73\40\x41\x4e\x44\40\x6c\141\x6e\x67\137\x63\157\144\145\x20\75\x20\x3f\163", $feature_id, $feature_variant_value, "\145\x6e");
goto VkTHY;
h0EXk: B8oNO:
goto dk1ik;
T_mId: ppYi0:
goto asAXd;
ZYg_f:
if (!$feature_id) {
goto okiye;
}
goto GWQUE;
gnHCw: Ftwnz:
goto yweLa;
zTcL6:
if (!(isset($filter_id) && $filter_id > 0)) {
goto OGWf0;
}
goto aUVkI;
Vuju1:
if ($ss_vendor_filtering_feature["\146\x65\141\x74\165\x72\145\x5f\x74\171\x70\145"] == "\x56") {
goto LBX9S;
}
goto GOtjH;
Qz8hh:
if (empty($feature_variant_value)) {
goto ppYi0;
}
goto abB5b;
asAXd: F8J9w:
goto xM1u9;
xM1u9:
goto HaEo0;
goto kaRjb;
w2NVl:
foreach (unserialize($svfv_feature_fields) as $ss_vendor_filtering_feature_fields_id => $flag) {
goto idu_z;
Til1s: FYTxz:
goto Vq2Aw;
MhlqT:
$feature_variant_value_from = db_get_field("\123\x45\114\105\103\124\40\x6e\x61\155\145\x20\x46\122\117\x4d\x20\x3f\x3a\163\163\x5f\x76\x65\x6e\144\157\x72\137\146\x69\154\164\145\162\x69\x6e\x67\137\x66\145\141\164\165\162\145\x5f\146\151\145\154\x64\x73\x5f\144\145\x73\x63\x72\151\x70\x74\151\x6f\x6e\x73\x20\127\110\105\x52\x45\40\163\163\137\166\x65\156\144\157\x72\x5f\146\x69\x6c\x74\145\162\x69\x6e\147\x5f\146\x65\x61\164\x75\162\x65\x5f\146\x69\145\x6c\144\163\137\x69\144\x20\x3d\40\77\151\40\101\x4e\x44\40\154\x61\156\x67\x5f\x63\x6f\x64\145\40\75\40\77\x73", $ss_vendor_filtering_feature_fields_id, "\x65\x6e");
goto lZZNr;
lZZNr:
if (!($feature_variant_value_from == $feature_variant_value)) {
goto FmTiv;
}
goto eYRVO;
IvIHj:
db_query("\104\x45\114\105\x54\105\40\106\x52\117\x4d\40\x3f\72\x70\x72\157\144\x75\143\x74\137\146\x65\141\164\x75\x72\145\163\x5f\x76\141\x6c\x75\145\163\x20\127\110\x45\122\x45\x20\146\x65\x61\x74\x75\162\145\137\x69\144\40\75\x20\77\x69\40\101\116\104\40\160\x72\157\144\165\x63\x74\137\x69\x64\x20\75\40\77\x69\40\101\116\x44\40\166\141\162\151\x61\x6e\x74\x5f\151\144\40\75\40\x3f\151", $feature_id, $vendor_product_id, $variant_id);
goto CdxTS;
eYRVO:
if ($flag == "\x59" && isset($variant_id) && $variant_id > 0) {
goto Rh87V;
}
goto IvIHj;
CdxTS:
goto C20JY;
goto uI4If;
Krsob:
goto B8oNO;
goto v1rHE;
idu_z:
$filter_id = db_get_field("\123\105\114\x45\103\124\x20\146\151\x6c\x74\145\162\137\151\144\40\x46\x52\x4f\115\40\77\72\163\163\x5f\166\x65\156\x64\x6f\x72\x5f\146\x69\154\x74\x65\162\x69\x6e\147\x5f\146\x65\x61\x74\x75\x72\x65\x5f\x66\x69\145\x6c\x64\x73\x20\x57\110\x45\x52\x45\x20\163\x73\137\x76\x65\x6e\144\157\x72\137\x66\x69\x6c\x74\145\162\151\156\147\x5f\x66\x65\141\164\x75\162\x65\137\x66\151\145\154\144\x73\x5f\x69\144\x20\x3d\40\x3f\151", $ss_vendor_filtering_feature_fields_id);
goto hN7rV;
v1rHE: C20JY:
goto PcdoN;
PcdoN: FmTiv:
goto Til1s;
wvpUV:
foreach (Languages::getAll() as $lang_code => $v) {
goto caBu2;
caBu2:
$product_features_values = array("\146\145\x61\x74\165\162\145\137\151\144" => $feature_id, "\160\x72\x6f\144\165\x63\x74\137\151\144" => $vendor_product_id, "\x76\x61\x72\151\x61\156\164\x5f\151\x64" => $variant_id, "\x6c\141\x6e\147\x5f\x63\x6f\x64\x65" => $lang_code);
goto v6Bfi;
v6Bfi:
db_query("\122\x45\120\x4c\101\x43\105\40\x49\116\124\117\40\77\x3a\x70\x72\157\144\165\143\164\137\146\145\x61\164\x75\162\145\x73\x5f\x76\141\154\x75\x65\163\40\x3f\x65", $product_features_values);
goto Q1ZCf;
Q1ZCf: GTIot:
goto vx17q;
vx17q:
}
goto Xkthz;
uI4If: Rh87V:
goto wvpUV;
hN7rV:
$feature_id_from = db_get_field("\x53\105\x4c\105\x43\124\x20\146\x65\141\164\x75\x72\x65\x5f\x69\144\x20\x46\122\117\x4d\40\x3f\x3a\160\162\x6f\x64\x75\143\x74\x5f\x66\151\154\x74\145\x72\163\x20\x57\x48\105\122\x45\x20\x66\151\x6c\164\x65\x72\x5f\151\x64\x20\75\40\77\151", $filter_id);
goto MhlqT;
Xkthz: Pb5HI:
goto Krsob;
Vq2Aw:
}
goto h0EXk;
RMReA:
}
goto ftmYV;
hrR4i:
$vendor_product_id = db_get_field("\123\105\x4c\x45\x43\124\40\x73\x73\x5f\166\x65\x6e\144\x6f\x72\x5f\x66\151\154\164\x65\162\151\156\147\x5f\x76\x65\156\144\x6f\x72\x5f\160\162\157\x64\x75\x63\164\x5f\151\x64\x20\x46\x52\x4f\x4d\40\77\x3a\x63\x6f\155\160\141\156\x69\x65\x73\40\x57\110\105\122\105\x20\143\x6f\155\160\141\156\x79\137\x69\x64\40\75\x20\77\x69", $company_id);
goto lyfYH;
lyfYH:
if (!(isset($vendor_product_id) && $vendor_product_id > 0)) {
goto M_9TY;
}
goto wNmqZ;
Rn_99: M_9TY:
goto bia1M;
b7XJc:
}
goto FMR46;
baKVH: NfQJW:
goto XAia4;
Ko9v_:
if (!(isset($feature_fields_ids) && is_array($feature_fields_ids))) {
goto hWwy_;
}
goto NdbFG;
CGDaO:
if (!empty($company_ids)) {
goto oMgt_;
}
goto Ko9v_;
Ca9gX: wJ5OF:
goto AiSUx;
XAia4:
fn_clear_cache();
goto ZS6Mk;
bnorO:
$company_ids = db_get_fields("\x53\x45\114\105\x43\x54\40\143\157\155\x70\x61\156\171\137\x69\144\40\x46\122\x4f\115\x20\x3f\72\143\157\x6d\160\141\x6e\x69\x65\x73\40\x57\110\105\122\105\40\163\x74\141\164\165\163\x20\x3d\40\77\x73", "\101");
goto Ca9gX;
sifWg: oMgt_:
goto GpJS1;
aHGAg:
$feature_fields_ids = db_get_fields("\x53\105\114\105\x43\124\40\x73\163\137\x76\145\156\x64\157\162\137\146\x69\x6c\164\x65\162\151\156\147\x5f\146\145\x61\164\x75\162\x65\x5f\x66\x69\145\154\x64\x73\137\x69\x64\40\x46\122\x4f\x4d\x20\x3f\x3a\163\x73\137\166\x65\156\x64\x6f\162\137\x66\151\154\164\x65\162\x69\x6e\x67\137\x66\x65\141\x74\165\x72\x65\x5f\146\151\145\x6c\144\x73\40\127\110\105\x52\x45\x20\163\x74\x61\164\165\x73\x20\x3d\40\x3f\163", "\101");
goto FUOVY;
Nu_yb:
if (!(empty($addon_params["\x73\163\137\166\x65\x6e\x64\157\162\x5f\x66\x69\154\164\145\162\151\156\x67\137\143\141\x74\145\147\x6f\x72\171\137\x69\x64"]) || $addon_params["\163\x73\137\166\145\156\x64\157\162\137\146\151\154\164\x65\x72\x69\156\x67\137\143\x61\x74\x65\x67\x6f\x72\171\137\151\x64"] == 0)) {
goto VZ02L;
}
goto cUKMW;
Idvke: z8ENW:
goto i_ZUl;
GpJS1:
if (!empty($company_ids)) {
goto wJ5OF;
}
goto bnorO;
cUKMW:
return false;
goto bwaw3;
FMR46: w9dJq:
goto ck7gh;
i_ZUl: hWwy_:
goto sifWg;
Zhi1S:
}
goto i29Ja;
N4t3_:
die("\101\143\x63\x65\x73\x73\x20\x64\x65\156\x69\145\144");
goto mtV43;
A7KFH:
function fn_ss_vendor_filtering_get_fields_info($company_id)
{
goto zmpVP;
yh7jA:
return $table_of_names;
goto vrukv;
zmpVP:
$table_of_names = array();
goto Dj6Dy;
LieWP:
foreach ($fields as $field) {
goto s5Rfd;
z8evo: CpMIX:
goto bDyll;
A9qmt:
$plan_id = db_get_field("\x53\x45\x4c\105\103\124\40\x70\154\x61\x6e\x5f\x69\144\40\106\x52\117\x4d\40\x3f\72\143\157\155\x70\141\x6e\x69\x65\x73\x20\x57\110\x45\122\105\x20\143\157\155\160\x61\x6e\171\x5f\151\x64\x20\75\40\77\x69", $company_id);
goto pjTCd;
GFGEM:
if ($field["\146\x69\x65\154\x64\137\164\x79\x70\145"] == "\111") {
goto HBc7C;
}
goto lqxul;
Eh2Zw: I0MPn:
goto DKZ3V;
NLkxa:
$name = '';
goto aYWU6;
HlsGT: MV_TE:
goto p36Iz;
pBx40:
goto tz793;
goto E22z1;
neO9a: wOIl1:
goto A9qmt;
z_6jn:
if ($column_name == "\163\x74\x61\x74\145" || $column_name == "\x62\137\163\164\141\x74\145" || $column_name == "\x73\x5f\x73\x74\x61\164\145") {
goto uPlaB;
}
goto bvniT;
GwrbL:
$name = $field_direct_name . "\72\x20" . $field_value;
goto DywT8;
bvniT:
if (!db_get_field("\x53\110\x4f\127\x20\103\x4f\114\x55\x4d\x4e\x53\40\106\x52\x4f\115\40\x3f\x3a\143\x6f\155\x70\141\156\151\x65\x73\40\114\x49\113\x45\40\x3f\x6c", $column_name)) {
goto NKmVC;
}
goto lQLrB;
Oi3ja:
$name = $value_name;
goto N4CmT;
mL6Qc:
$column_name = db_get_field("\123\x45\114\x45\103\124\40\x66\151\145\x6c\x64\137\x6e\x61\x6d\x65\40\x46\122\117\115\40\77\x3a\160\162\x6f\x66\151\154\x65\137\146\151\x65\154\x64\163\40\x57\x48\105\122\x45\40\x66\151\145\x6c\x64\x5f\151\x64\x20\x3d\40\77\x69\40\101\116\x44\40\x70\x72\x6f\x66\x69\x6c\145\137\x74\171\160\x65\x20\x3d\x20\x3f\x73", $field_id, "\x53");
goto UewEI;
UewEI:
if ($column_name == "\x70\x6c\x61\156\x5f\151\144") {
goto wOIl1;
}
goto z_6jn;
HLoW3:
$state_code = db_get_field("\x53\x45\x4c\105\103\x54\40{$column_name}\x20\106\x52\117\115\40\77\x3a\143\x6f\x6d\x70\x61\x6e\151\145\x73\40\127\110\105\122\x45\x20\143\x6f\155\x70\x61\156\171\x5f\151\x64\40\x3d\40\x3f\151", $company_id);
goto gto3s;
IJggJ:
goto MV_TE;
goto g4Wvv;
jYLpM:
print "\61";
goto gAm8U;
Peu5I:
print "\63";
goto GwrbL;
pjTCd:
$name = db_get_field("\x53\x45\x4c\x45\x43\124\40\x70\x6c\x61\156\x20\106\x52\117\115\x20\77\72\166\145\x6e\x64\157\162\x5f\160\154\x61\156\137\144\145\163\143\x72\151\160\164\151\157\156\163\40\x57\110\105\122\x45\40\x70\154\141\x6e\x5f\x69\x64\40\75\x20\77\151\40\x41\116\x44\40\x6c\x61\156\x67\x5f\143\157\144\145\40\x3d\40\77\x73", $plan_id, CART_LANGUAGE);
goto PHw83;
lqxul:
$value_name = db_get_field("\x53\105\x4c\x45\x43\x54\40\144\x65\x73\143\162\151\160\x74\x69\x6f\156\x20\x46\x52\117\x4d\x20\x3f\72\160\x72\157\x66\x69\154\145\137\x66\151\x65\x6c\144\137\144\145\x73\x63\162\x69\160\x74\151\157\x6e\163\40\127\110\x45\122\x45\x20\x6f\x62\152\x65\143\x74\x5f\151\x64\40\75\40\x3f\151\40\101\x4e\x44\40\157\142\x6a\145\143\164\137\x74\171\x70\145\x20\75\x20\x3f\x73\x20\101\x4e\x44\40\x6c\141\x6e\x67\x5f\143\x6f\144\145\40\75\40\77\163", $field_value, "\126", CART_LANGUAGE);
goto ucXL9;
g4Wvv: uPlaB:
goto HLoW3;
vkyxe: HBc7C:
goto wGbzu;
s5Rfd:
$field_id = $field["\146\151\x65\x6c\144\x5f\x69\144"];
goto NLkxa;
XBkJG: NKmVC:
goto IJggJ;
Btyvs: jgNvZ:
goto bzd6f;
aYWU6:
$field_value = db_get_field("\123\x45\114\105\103\124\40\x76\x61\154\x75\x65\x20\x46\122\x4f\115\40\77\x3a\x70\x72\157\146\x69\154\x65\x5f\146\151\145\x6c\144\x73\x5f\144\141\x74\x61\x20\127\x48\x45\122\105\x20\x6f\142\x6a\145\143\x74\x5f\x69\144\x20\75\x20\77\151\x20\101\116\x44\x20\x6f\142\152\x65\x63\x74\x5f\164\x79\160\x65\x20\x3d\x20\x3f\163\x20\101\x4e\x44\x20\x66\151\145\x6c\144\x5f\151\x64\x20\75\x20\77\x69", $company_id, "\123", $field_id);
goto c1HL9;
ucXL9:
if (!empty($value_name) && !empty($field_direct_name)) {
goto ohNa1;
}
goto TmiiY;
gIO8d:
if (!(isset($name) && $name != '')) {
goto CpMIX;
}
goto D2DvS;
Pa4c7:
print "\62";
goto Oi3ja;
bDyll: pJ_E9:
goto vQv2b;
PHw83: lLuye:
goto pBx40;
N4CmT: MNPXw:
goto i6E17;
uMTus:
$name = db_get_field("\123\105\x4c\x45\x43\124\40\163\164\141\164\x65\x20\x46\x52\x4f\115\40\77\x3a\x73\164\x61\164\145\x5f\144\145\x73\143\x72\x69\x70\164\151\x6f\x6e\163\40\127\110\x45\x52\105\40\x73\x74\141\164\x65\137\151\x64\x20\x3d\x20\x3f\151\x20\x41\x4e\x44\40\154\x61\156\x67\x5f\143\x6f\x64\145\x20\75\40\77\163", $state_id, CART_LANGUAGE);
goto HlsGT;
TmiiY:
if (!empty($value_name)) {
goto PA0pC;
}
goto Peu5I;
wGbzu:
$name = $field_direct_name . "\x3a\40" . $field_value;
goto Eh2Zw;
i6E17:
goto jgNvZ;
goto bupXl;
c1HL9:
if (isset($field_value) && ($field_value > 0 || $field_value != '')) {
goto iXgmq;
}
goto mL6Qc;
D2DvS:
array_push($table_of_names, $name);
goto z8evo;
bupXl: ohNa1:
goto jYLpM;
gto3s:
$state_id = db_get_field("\123\105\114\x45\x43\x54\40\x73\x74\141\164\x65\137\151\x64\40\106\x52\x4f\115\40\x3f\x3a\163\164\141\164\x65\163\40\127\110\x45\122\x45\x20\x63\157\x64\145\x20\75\x20\x3f\x73", $state_code);
goto uMTus;
p36Iz:
goto lLuye;
goto neO9a;
DywT8:
goto MNPXw;
goto rMd97;
lQLrB:
$name = db_get_field("\x53\105\114\105\103\x54\40{$column_name}\x20\x46\x52\x4f\115\x20\x3f\72\x63\x6f\155\160\141\x6e\151\x65\x73\40\x57\110\x45\x52\x45\x20\x63\157\155\160\x61\x6e\171\x5f\151\144\x20\75\40\77\151", $company_id);
goto XBkJG;
bzd6f:
goto I0MPn;
goto vkyxe;
rMd97: PA0pC:
goto Pa4c7;
gAm8U:
$name = $field_direct_name . "\72\x20" . $value_name;
goto Btyvs;
X05De:
$field_direct_name = db_get_field("\x53\105\114\x45\x43\x54\x20\x64\145\x73\143\x72\x69\x70\164\151\x6f\156\40\106\122\117\115\x20\x3f\x3a\160\162\157\146\151\x6c\x65\137\146\x69\145\x6c\144\x5f\x64\x65\163\143\162\151\x70\x74\x69\157\156\x73\x20\127\110\105\x52\x45\x20\x6f\x62\152\145\x63\164\x5f\x69\x64\40\x3d\x20\x3f\151\x20\101\x4e\x44\x20\157\x62\x6a\x65\x63\x74\x5f\x74\171\x70\x65\x20\x3d\40\77\x73\x20\101\116\104\40\154\141\x6e\x67\x5f\x63\x6f\x64\145\x20\75\x20\77\163", $field_id, "\106", CART_LANGUAGE);
goto GFGEM;
DKZ3V: tz793:
goto gIO8d;
E22z1: iXgmq:
goto X05De;
vQv2b:
}
goto GP8pP;
GP8pP: jGUUg:
goto yh7jA;
Dj6Dy:
$fields = db_get_array("\123\x45\114\x45\103\124\40\52\x20\x46\x52\x4f\115\x20\77\72\160\162\157\146\x69\x6c\145\x5f\x66\151\x65\154\x64\163\x20\x57\110\x45\x52\x45\40\163\163\137\166\x65\156\144\157\162\137\146\x69\x6c\x74\145\x72\151\x6e\x67\137\144\x69\163\x70\x6c\x61\x79\40\75\40\77\163", "\131");
goto LieWP;
vrukv:
}
goto NqrLT;
NZxML:
function fn_ss_vendor_filtering_cron_info()
{
goto UnFz9;
X7ZP_:
$url = $protocol . Registry::get("\143\x6f\x6e\x66\x69\147\x2e\150\164\x74\x70\x5f\x68\157\163\164") . Registry::get("\143\157\156\x66\151\147\56\150\x74\x74\160\x5f\x70\x61\164\150") . "\x2f\151\156\144\145\170\56\160\150\x70\77\x64\x69\x73\160\141\x74\x63\150\x3d\x73\x73\x5f\166\145\x6e\x64\157\x72\x5f\x66\151\x6c\x74\x65\162\x69\156\147\56\143\x72\157\156";
goto zZUfg;
wTwS0:
$protocol = "\150\164\164\x70\x73\x3a\x2f\x2f";
goto df1n4;
zZUfg:
return "\xa\x20\x20\x20\x20\x20\40\40\40\x3c\x64\x69\166\x20\151\x64\75\42\143\x6f\x6e\164\x61\x69\x6e\145\162\137\141\x64\x64\157\x6e\x5f\157\160\x74\151\x6f\156\x5f\x73\x73\x5f\166\x65\x6e\x64\x6f\x72\137\x66\151\154\164\145\162\x69\x6e\x67\137\x73\x73\x5f\x76\x65\156\144\x6f\x72\137\x66\x69\154\164\145\162\151\156\147\137\x63\x72\x6f\x6e\137\x69\x6e\146\157\42\x20\143\x6c\141\163\x73\75\x22\x63\157\x6e\x74\x72\157\x6c\55\147\x72\x6f\x75\160\x20\x73\x65\x74\x74\x69\x6e\x67\x2d\x77\151\x64\x65\40\163\163\137\x76\x65\156\144\x6f\x72\x5f\x66\x69\x6c\164\145\162\x69\x6e\147\x22\x3e\12\40\40\40\40\x20\40\40\40\40\40\x20\x20\x3c\154\141\142\x65\x6c\x20\146\x6f\162\75\42\141\x64\144\157\156\x5f\157\x70\164\x69\157\x6e\x5f\x73\163\137\x76\x65\x6e\x64\x6f\x72\137\146\151\154\x74\x65\x72\x69\x6e\147\137\163\163\137\x76\x65\x6e\x64\157\x72\137\146\151\154\x74\x65\x72\x69\x6e\x67\x5f\143\x72\x6f\x6e\x5f\151\x6e\146\157\42\x20\143\154\141\163\163\75\x22\x63\x6f\x6e\164\x72\157\x6c\x2d\x6c\x61\x62\145\154\x20\x22\x3e" . __("\x73\163\x5f\166\145\156\x64\157\162\137\x66\x69\154\164\145\x72\x69\156\147\137\x63\x72\157\x6e\x5f\x69\156\146\157") . "\72\x3c\57\x6c\141\142\145\154\x3e\12\40\40\40\x20\x20\40\40\40\x20\x20\x20\40\74\x64\151\x76\40\143\x6c\x61\x73\x73\x3d\x22\x63\x6f\156\164\162\157\154\x73\x22\76\12\x20\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\40\40\40\x3c\x70\x20\163\x74\171\x6c\145\x3d\42\143\x6f\x6c\157\x72\x3a\162\145\x64\73\146\x6f\x6e\x74\x2d\167\145\151\x67\150\164\x3a\142\157\x6c\x64\73\x22\x3e" . $url . "\x3c\57\x70\76\74\57\x62\x72\x3e" . __("\x73\163\x5f\166\145\x6e\x64\x6f\162\137\x66\151\154\164\145\x72\x69\156\147\137\143\162\x6f\x6e\x5f\x69\156\146\x6f\x5f\164\x6f\157\154\x74\x69\160") . "\74\57\144\151\x76\76\xa\40\x20\40\x20\x20\40\x20\40\x3c\x2f\144\151\x76\x3e";
goto uNpop;
QUkId: aXi0f:
goto wTwS0;
df1n4: YpC6c:
goto X7ZP_;
UnFz9:
if (isset($_SERVER["\110\x54\124\120\x5f\x58\137\106\117\122\127\x41\122\x44\x45\104\137\120\122\117\124\117"]) && $_SERVER["\x48\124\x54\120\x5f\130\x5f\106\x4f\x52\x57\101\122\104\x45\104\137\x50\x52\117\124\117"] == "\150\164\164\160\x73" || isset($_SERVER["\110\124\124\120\x53"]) && $_SERVER["\x48\124\x54\x50\123"] == "\157\156") {
goto aXi0f;
}
goto RYyxb;
RYyxb:
$protocol = "\150\164\x74\x70\x3a\x2f\x2f";
goto bHJXx;
bHJXx:
goto YpC6c;
goto QUkId;
uNpop:
}
goto U9haq;
MYV2v:
function fn_ss_vendor_filtering_delete_vendor_product($company_id)
{
$vendor_product_id = db_get_field("\123\x45\x4c\105\103\x54\40\163\163\x5f\x76\145\156\144\x6f\x72\137\x66\x69\154\x74\x65\162\151\x6e\x67\137\x76\145\156\x64\157\x72\137\x70\162\x6f\144\x75\143\x74\x5f\151\144\x20\x46\x52\117\115\x20\x3f\72\143\157\x6d\160\141\156\x69\145\x73\40\127\110\105\x52\105\x20\x63\157\155\x70\141\156\x79\137\x69\x64\x20\75\40\x3f\x69", $company_id);
fn_delete_product($vendor_product_id);
}
goto swPiF;
LktX6:
function fn_ss_vendor_filtering_count_vendors()
{
goto FJ81t;
qMY2v:
db_query("\x55\120\x44\101\124\105\x20\x3f\x3a\x63\x61\x74\145\147\157\x72\x69\x65\163\40\x53\105\124\x20\x3f\x75\x20\x57\110\105\x52\105\x20\x64\x65\x66\141\x75\x6c\164\137\x76\x69\x65\x77\40\75\x20\77\163", array("\160\162\157\x64\165\x63\164\137\143\x6f\x75\156\x74" => $vendors_count), "\x76\x65\x6e\x64\x6f\162\137\x6c\151\x73\164\x5f\164\x65\x6d\x70\154\x61\164\145");
goto KWXct;
FJ81t:
$vendors_count = db_get_field("\x53\105\114\105\x43\124\x20\x43\x4f\125\x4e\124\x28\x2a\51\40\x46\x52\117\115\x20\77\x3a\143\157\155\160\141\x6e\x69\145\163");
goto qMY2v;
KWXct:
return true;
goto mBD_m;
mBD_m:
}
goto Nwdck;
JJSUC:
require_once "\163\163\137\166\x65\x6e\144\157\162\137\x66\x69\x6c\164\x65\162\x69\156\147\x5f\x6c\x6f\147\147\145\x72\x2e\x70\150\160";
goto RmCZE;
em4Ry:
function fn_ss_vendor_filtering_get_category_id($id = 0)
{
goto wnEQA;
HbI4V:
goto YtMx_;
goto kDNmq;
kDNmq: WdPzZ:
goto IYvf7;
XvxIr: YtMx_:
goto fIto0;
RjWtB:
$category_id = db_get_field("\123\105\114\105\x43\x54\x20\143\x61\x74\145\x67\x6f\x72\x79\137\151\x64\40\x46\122\117\115\x20\x3f\x3a\143\x61\x74\145\x67\x6f\162\x79\x5f\144\145\163\143\162\x69\160\x74\151\157\x6e\163\x20\127\x48\x45\x52\x45\x20\x63\141\x74\145\147\157\x72\x79\40\75\40\77\x73\40\x41\116\x44\40\x6c\141\156\x67\137\143\x6f\x64\145\40\75\40\77\x73", VENDORS_CATEGORY, "\x65\156");
goto HbI4V;
wnEQA:
$addon_params = Registry::get("\x61\x64\x64\157\156\163\56\163\x73\x5f\166\145\156\144\x6f\162\137\146\x69\x6c\x74\145\x72\x69\x6e\x67");
goto xQFZM;
xQFZM:
if (isset($addon_params["\x73\x73\x5f\166\x65\156\x64\x6f\x72\137\146\151\x6c\x74\x65\162\x69\156\147\x5f\143\141\x74\145\x67\x6f\x72\171\137\151\144"]) && $addon_params["\163\x73\137\166\145\x6e\x64\157\162\137\146\x69\x6c\x74\145\162\x69\x6e\147\x5f\x63\x61\164\x65\x67\x6f\x72\171\137\x69\x64"] != '' && $addon_params["\x73\x73\x5f\166\x65\x6e\144\x6f\162\137\146\x69\154\x74\x65\162\x69\156\147\137\143\x61\x74\145\x67\x6f\162\x79\x5f\x69\x64"] > 0) {
goto WdPzZ;
}
goto RjWtB;
fIto0:
return $category_id;
goto DB3EE;
IYvf7:
$category_id = $addon_params["\163\x73\x5f\x76\x65\156\144\x6f\x72\x5f\x66\151\x6c\164\145\x72\151\156\147\x5f\x63\x61\164\145\147\157\x72\x79\137\151\144"];
goto XvxIr;
DB3EE:
}
goto gaxWH;
oLnfC:
function fn_ss_vendor_filtering_search_info()
{
return true;
}
goto LktX6;
i29Ja:
function fn_ss_vendor_filtering_prepare_feature_new($field_ids, $ss_vendor_filtering_feature_fields_id, $company_id, $feature_type)
{
LoggerAddons::instance()->log("\x43\145\x63\x68\141\40\x70\157\152\145\144\x79\x6e\143\x7a\x61", "\111\x4e\106\117", 0, '', serialize(array("\146\151\x65\x6c\x64\x5f\151\x64\x73" => $field_ids, "\146\151\x6c\164\x65\x72\x69\x6e\147\x5f\x66\145\141\164\165\162\x65\x5f\x69\x64" => $ss_vendor_filtering_feature_fields_id, "\x63\x6f\x6d\160\141\x6e\171\x5f\151\144" => $company_id, "\146\145\141\x74\165\x72\145\x5f\x74\x79\160\x65" => $feature_type)));
}
goto J1jpz;
mtV43: UZm_Q:
goto Zkx8Y;
gnO_g:
function fn_ss_vendor_filtering_install()
{
goto PSaGZ;
Hex8B:
foreach (Languages::getAll() as $_data["\x6c\x61\x6e\147\x5f\143\x6f\x64\x65"] => $v) {
goto dpKXZ;
M5wEV:
db_query("\x49\x4e\x53\105\x52\x54\40\111\116\x54\117\40\77\x3a\160\162\x6f\144\x75\143\x74\x5f\146\145\x61\164\165\x72\145\163\137\144\145\163\143\x72\x69\x70\x74\151\157\156\163\40\x3f\145", $feature_desc_structure);
goto eP6r8;
dpKXZ:
$feature_desc_structure = array("\x66\x65\141\x74\x75\x72\145\137\151\144" => $feature_id, "\144\145\163\x63\x72\151\160\164\151\x6f\x6e" => "\x56\x65\x6e\x64\157\162\163\x20\x67\162\157\x75\x70", "\x6c\x61\156\x67\x5f\143\x6f\144\x65" => $_data["\154\x61\x6e\x67\137\143\157\144\x65"]);
goto M5wEV;
eP6r8: FXAbz:
goto TWbUy;
TWbUy:
}
goto UVsWd;
UVsWd: YjQFk:
goto NINJd;
PSaGZ:
LicenseAddons::instance()->checkLicense("\111\116\x53\x54\101\114\114\x45\104");
goto tfGAZ;
BSeoC:
$category_id = db_query("\x49\116\123\105\122\x54\40\111\116\124\x4f\40\77\72\143\x61\x74\x65\x67\157\x72\151\145\x73\40\x3f\145", $category_structure);
goto Bx6_M;
HNbrM:
$companies = db_get_fields("\x53\x45\114\105\103\124\40\x63\157\x6d\160\x61\156\x79\137\151\x64\40\106\x52\x4f\x4d\x20\x3f\72\143\x6f\x6d\x70\141\x6e\151\145\163");
goto rE77c;
NINJd:
db_query("\x55\120\x44\x41\124\x45\x20\x3f\72\163\x74\141\164\151\143\x5f\144\x61\x74\141\40\123\x45\x54\x20\x3f\x75\40\x57\110\x45\x52\x45\40\160\141\x72\x61\x6d\40\x3d\x20\x3f\163", array("\x70\x61\x72\141\155" => "\x63\x61\x74\x65\x67\x6f\x72\x69\x65\x73\x2e\166\151\x65\167\46\143\x61\164\145\147\157\162\x79\x5f\151\144\75" . $category_id . "\x26\163\x6f\162\x74\x69\x6e\x67\75\166\x65\156\x64\157\162"), "\143\x6f\155\x70\141\156\151\x65\x73\x2e\143\x61\164\141\x6c\157\147");
goto QkiBc;
IVTyx: ix2ea:
goto WZtPx;
tfGAZ:
$category_structure = array("\160\x61\x72\145\156\164\137\x69\144" => 0, "\163\164\141\164\165\163" => "\x48", "\x64\145\146\141\x75\x6c\164\x5f\x76\x69\x65\167" => "\x76\145\156\144\157\x72\137\x6c\x69\163\x74\137\164\145\x6d\x70\x6c\x61\x74\x65", "\163\x65\154\x65\143\x74\145\x64\137\x76\x69\145\x77\x73" => "\x61\x3a\61\x3a\x7b\x73\72\62\x30\x3a\x22\x76\x65\x6e\144\x6f\162\137\x6c\151\163\164\x5f\164\145\x6d\160\154\x61\164\x65\x22\x3b\x73\72\62\x30\x3a\x22\x76\x65\x6e\144\157\162\x5f\154\151\x73\164\x5f\164\145\x6d\160\154\141\x74\x65\x22\73\x7d");
goto BSeoC;
QzHJ6: BhCSS:
goto ZgtlL;
WZtPx:
$feature_structure = array("\146\145\x61\x74\165\162\x65\137\143\157\144\145" => VENDORS_FEATURE_GROUP_NAME, "\x66\145\141\x74\165\162\x65\137\164\x79\160\x65" => "\x47", "\144\151\x73\160\x6c\141\x79\x5f\157\156\137\x70\x72\157\x64\x75\x63\x74" => "\116");
goto tihgn;
ZgtlL:
fn_ss_vendor_filtering_count_vendors();
goto HNbrM;
Bx6_M:
db_query("\125\x50\104\101\124\105\40\x3f\x3a\143\141\164\x65\x67\x6f\162\x69\145\163\x20\123\105\x54\x20\77\165\40\127\x48\105\122\x45\x20\143\141\164\145\147\157\162\x79\137\151\144\40\75\40\77\151", array("\x69\144\x5f\160\141\x74\x68" => $category_id), $category_id);
goto KB9vH;
rE77c:
foreach ($companies as $key => $company_id) {
fn_ss_vendor_filtering_create_vendor_product($company_id, $category_id);
a8doX:
}
goto IVTyx;
KB9vH:
foreach (Languages::getAll() as $_data["\x6c\x61\x6e\147\137\143\157\x64\x65"] => $v) {
goto S_7jB;
CMc2h:
db_query("\111\x4e\123\x45\x52\x54\x20\x49\116\124\x4f\40\x3f\72\143\x61\164\145\x67\157\162\x79\137\x64\145\x73\143\162\x69\160\x74\x69\157\156\163\x20\77\145", $cat_desc_structure);
goto BhB5v;
S_7jB:
$cat_desc_structure = array("\143\141\164\145\147\157\162\171\x5f\x69\x64" => $category_id, "\154\141\156\147\x5f\143\x6f\144\x65" => $_data["\x6c\x61\156\x67\x5f\143\157\144\145"], "\x63\141\164\x65\x67\157\162\x79" => VENDORS_CATEGORY, "\151\163\x5f\x74\162\x61\x73\150" => "\x59");
goto CMc2h;
BhB5v: b2f_1:
goto hO0T5;
hO0T5:
}
goto QzHJ6;
tihgn:
$feature_id = db_query("\111\x4e\x53\105\x52\x54\40\111\116\124\x4f\40\77\72\x70\x72\x6f\x64\165\x63\x74\x5f\146\x65\x61\164\x75\x72\145\x73\x20\x3f\x65", $feature_structure);
goto Hex8B;
QkiBc:
}
goto ozGA0;
NqrLT:
function fn_ss_vendor_filtering_update_lang_version()
{
goto UgUqW;
UgUqW:
$feature_fields = db_get_array("\123\x45\x4c\x45\103\x54\40\x2a\x20\x46\x52\117\x4d\x20\77\72\163\163\137\x76\x65\156\144\x6f\x72\x5f\x66\151\154\164\145\x72\x69\156\x67\x5f\146\145\141\x74\165\x72\x65\137\146\x69\x65\154\x64\x73\x20\127\x48\x45\122\105\40\163\x74\141\164\165\x73\x20\75\40\x3f\163", "\101");
goto R908b;
R908b:
foreach ($feature_fields as $f_key => $fields) {
goto cPoTv;
E4E4m: f4U60:
goto TLslm;
MgTkj: Y1lUe:
goto E4E4m;
T4lMB:
foreach (Languages::getAll() as $lang_code => $v) {
goto az5gX;
ZGodj:
$filter_id = db_get_field("\123\105\x4c\x45\x43\124\x20\x66\x69\x6c\x74\x65\x72\x5f\x69\x64\x20\x46\x52\117\x4d\40\x3f\72\160\x72\x6f\x64\x75\143\x74\137\146\151\x6c\164\x65\x72\x73\40\127\x48\105\x52\x45\x20\x66\145\x61\x74\x75\162\145\137\x69\144\x20\75\40\x3f\151", $feature_id);
goto MevM2;
MevM2:
db_query("\x55\120\x44\101\x54\105\40\77\x3a\x70\x72\x6f\144\x75\143\164\x5f\146\x69\x6c\164\x65\x72\x5f\144\x65\163\x63\162\151\160\x74\151\157\x6e\x73\40\x53\105\x54\40\x3f\165\40\x57\x48\x45\122\105\x20\146\x69\154\164\145\x72\137\151\x64\40\75\x20\x3f\x69\40\101\x4e\x44\40\x6c\141\156\x67\137\x63\x6f\x64\x65\x20\75\40\77\x73", array("\146\151\154\x74\145\x72" => $name), $filter_id, $lang_code);
goto Uued5;
Uued5: kgz4G:
goto s_d4i;
Hp9eT:
db_query("\125\x50\x44\x41\124\105\40\77\72\x70\x72\x6f\144\x75\x63\x74\x5f\146\x65\141\164\x75\x72\x65\163\x5f\144\145\163\143\x72\151\160\164\x69\x6f\156\x73\40\x53\105\x54\x20\77\165\x20\127\110\x45\122\105\40\x66\145\x61\164\165\x72\x65\x5f\151\x64\x20\x3d\40\x3f\x69\40\x41\x4e\104\40\154\x61\x6e\147\137\x63\157\x64\145\x20\75\40\x3f\163", array("\144\x65\x73\143\162\151\x70\164\151\157\x6e" => $name), $feature_id, $lang_code);
goto ZGodj;
az5gX:
$name = db_get_field("\x53\105\x4c\x45\x43\x54\40\x6e\141\x6d\145\x20\106\122\117\115\40\77\72\163\x73\137\166\145\156\144\x6f\162\137\x66\x69\x6c\164\x65\162\151\156\147\x5f\146\145\141\x74\x75\162\x65\137\146\151\145\x6c\144\163\x5f\x64\x65\163\143\162\x69\x70\164\151\157\x6e\163\x20\x57\110\x45\122\105\x20\x73\x73\x5f\166\x65\156\144\x6f\162\137\146\151\x6c\x74\145\162\151\x6e\147\x5f\146\145\141\x74\x75\162\145\137\146\151\145\154\x64\x73\x5f\151\x64\x20\75\x20\x3f\x69\40\x41\116\104\x20\x6c\141\x6e\147\137\x63\x6f\144\x65\x20\x3d\x20\x3f\163", $fields["\x73\163\x5f\166\x65\156\x64\x6f\162\137\146\x69\x6c\x74\x65\162\x69\156\x67\137\x66\x65\x61\x74\x75\x72\x65\137\x66\x69\145\x6c\144\163\137\151\x64"], $lang_code);
goto Hp9eT;
s_d4i:
}
goto etpwe;
n8jaV:
foreach ($variant_ids as $v_key => $variant_id) {
goto QV2GP;
OT8ht:
if (isset($variant) && !empty($variant) && $fields["\x66\145\141\x74\165\x72\145\x5f\x74\x79\x70\x65"] == "\115" && !empty($fields["\x72\x65\146\x65\x72\145\156\143\145\137\x74\141\142\x6c\x65"]) && !empty($fields["\x66\151\x65\x6c\x64\137\167\x69\164\x68\x5f\x6b\x65\171"])) {
goto V1mXw;
}
goto odJyb;
PIy1j:
$category_id = db_get_field("\123\105\114\105\x43\124\x20\143\x61\x74\x65\x67\x6f\162\171\137\151\x64\x20\106\122\117\x4d\x20\x3f\72\x63\141\x74\145\147\157\x72\x79\137\x64\145\163\x63\x72\x69\160\x74\151\157\156\163\x20\x57\x48\x45\122\x45\x20\143\141\x74\x65\x67\157\162\x79\40\x3d\x20\77\163\x20\x41\x4e\104\40\154\141\x6e\x67\137\143\157\144\x65\40\x3d\x20\x3f\x73", $variant, "\x65\x6e");
goto Lp7Z6;
sZnlk: WffAn:
goto JXnfK;
Lp7Z6:
foreach (Languages::getAll() as $lang_code => $v) {
goto SOAfv;
ZrzD4: LozLR:
goto DlXzu;
SOAfv:
$category = db_get_field("\x53\105\x4c\105\x43\124\40\x63\x61\164\145\147\157\162\x79\x20\106\122\x4f\x4d\40\77\72\143\x61\164\x65\147\x6f\x72\171\137\x64\x65\163\143\162\151\160\164\x69\x6f\156\163\x20\127\x48\x45\x52\105\x20\143\141\x74\145\147\x6f\162\171\137\151\144\40\75\x20\x3f\151\40\101\x4e\104\x20\x6c\x61\156\x67\x5f\x63\x6f\x64\145\x20\75\40\x3f\x73", $category_id, $lang_code);
goto hJtyG;
hJtyG:
db_query("\125\x50\x44\101\124\x45\40\x3f\x3a\160\162\x6f\x64\165\x63\x74\x5f\x66\x65\141\x74\165\x72\x65\137\166\x61\162\151\x61\x6e\164\x5f\144\145\x73\143\x72\151\160\164\x69\x6f\x6e\x73\40\123\105\x54\40\x3f\x75\x20\x57\x48\105\122\x45\x20\x76\141\162\x69\141\x6e\x74\137\151\144\x20\75\x20\77\x69\x20\x41\116\104\40\x6c\141\x6e\147\x5f\x63\157\144\x65\x20\x3d\40\x3f\163", array("\x76\x61\x72\x69\x61\156\164" => $category), $variant_id, $lang_code);
goto ZrzD4;
DlXzu:
}
goto VM3fQ;
VM3fQ: sgbqm:
goto JHJy8;
GoO28:
if (isset($variant) && !empty($variant) && $fields["\x66\145\141\x74\165\x72\145\137\x63\x6f\x64\145"] == "\143\x61\164\x65\147\157\162\151\x65\163\137\x76\x65\156\144\x6f\162") {
goto sWZZl;
}
goto zhYru;
bqeHJ:
foreach (Languages::getAll() as $lang_code => $v) {
goto bjdks;
zvQpK:
goto VX1oe;
goto WmwXk;
ihTsu:
db_query("\x55\120\x44\101\x54\105\x20\x3f\72\x70\x72\x6f\144\x75\143\164\x5f\x66\x65\x61\164\165\162\x65\137\x76\x61\x72\151\141\x6e\164\x5f\144\145\163\x63\x72\151\160\164\151\x6f\156\163\x20\123\105\x54\40\77\x75\40\x57\110\x45\122\105\40\x76\141\x72\151\141\x6e\164\137\x69\144\40\75\x20\x3f\x69\x20\101\116\x44\x20\154\141\156\147\137\143\x6f\144\x65\x20\75\x20\77\x73", array("\x76\x61\x72\x69\x61\x6e\x74" => $variant), $variant_id, $lang_code);
goto zvQpK;
WmwXk: R0ji8:
goto PUMx_;
PUMx_:
db_query("\125\120\104\x41\x54\105\x20\77\x3a\160\x72\x6f\x64\165\143\164\137\146\145\x61\164\x75\162\x65\x5f\166\x61\162\151\x61\x6e\x74\137\x64\x65\163\x63\x72\x69\x70\164\x69\157\x6e\x73\40\x53\x45\124\40\x3f\x75\x20\x57\x48\x45\122\x45\40\166\141\x72\x69\x61\156\x74\x5f\x69\x64\40\x3d\40\x3f\151\x20\x41\x4e\104\40\154\x61\x6e\x67\137\x63\157\x64\145\40\x3d\x20\x3f\x73", array("\166\x61\162\151\141\156\164" => $variant_name), $variant_id, $lang_code);
goto k_rxA;
bjdks:
$field_with_key = db_get_field("\123\105\114\105\x43\x54\40" . $fields["\x66\151\145\x6c\x64\137\x77\151\x74\150\x5f\153\145\171"] . "\x20\106\x52\117\115\x20\x3f\72" . $fields["\162\145\146\145\x72\145\156\143\145\x5f\164\141\142\x6c\x65"] . "\x20\x57\x48\105\122\105\40" . $fields["\146\x69\145\x6c\x64\x5f\x77\x69\x74\150\x5f\144\141\x74\x61"] . "\40\x3d\40\x3f\163\40\101\x4e\x44\40\154\x61\156\147\x5f\143\157\x64\145\x20\75\x20\x3f\163", $variant, "\x65\x6e");
goto oPmDl;
k_rxA: VX1oe:
goto X_xYB;
o9xJS:
if (!empty($variant_name)) {
goto R0ji8;
}
goto ihTsu;
oPmDl:
$variant_name = db_get_field("\123\105\114\x45\103\x54\40" . $fields["\146\x69\145\x6c\x64\137\167\x69\164\x68\137\x64\141\164\141"] . "\x20\x46\122\x4f\115\x20\x3f\72" . $fields["\x72\x65\x66\145\x72\145\156\x63\145\137\164\141\x62\154\145"] . "\40\127\110\105\122\105\40" . $fields["\146\x69\x65\x6c\144\137\167\x69\x74\x68\137\153\145\x79"] . "\40\x3d\40\77\x69\40\101\116\104\x20\x6c\x61\x6e\147\x5f\x63\x6f\144\x65\x20\x3d\x20\x3f\163", $field_with_key, $lang_code);
goto o9xJS;
X_xYB: UyZ92:
goto EWRZn;
EWRZn:
}
goto Pd1_N;
JXnfK: f686F:
goto VMGwA;
PuZWQ:
foreach (Languages::getAll() as $lang_code => $v) {
goto yiezX;
yiezX:
$country = db_get_field("\123\x45\x4c\105\103\x54\40\143\157\x75\x6e\164\x72\171\40\106\122\117\115\40\77\x3a\143\x6f\165\x6e\164\x72\x79\137\144\145\163\x63\x72\x69\160\x74\x69\157\156\163\x20\x57\x48\105\x52\x45\x20\x63\x6f\144\145\40\75\40\77\x73\x20\x41\116\104\x20\x6c\141\x6e\147\x5f\x63\157\x64\x65\x20\75\40\77\163", $code, $lang_code);
goto Vnz9c;
Vnz9c:
db_query("\x55\120\104\x41\124\105\x20\77\x3a\160\162\157\x64\165\143\x74\x5f\x66\x65\141\x74\165\162\x65\x5f\166\x61\162\x69\x61\x6e\x74\137\144\x65\163\143\x72\151\160\164\x69\x6f\156\x73\x20\x53\x45\124\x20\77\x75\x20\x57\110\105\x52\x45\40\x76\141\x72\x69\x61\156\x74\x5f\151\x64\40\75\40\x3f\151\x20\x41\116\104\x20\154\141\156\147\137\143\x6f\144\145\40\75\x20\x3f\x73", array("\x76\x61\x72\151\x61\x6e\x74" => $country), $variant_id, $lang_code);
goto exU2y;
exU2y: rdyve:
goto q2Hc9;
q2Hc9:
}
goto ZH3z3;
fYxkh:
goto WffAn;
goto oN7yN;
JHJy8:
goto WffAn;
goto HHxRN;
HHxRN: d637y:
goto RMdEO;
oN7yN: V1mXw:
goto bqeHJ;
Pd1_N: l17Wp:
goto sZnlk;
odJyb:
goto WffAn;
goto Py665;
zhYru:
if (isset($variant) && !empty($variant) && $fields["\x66\x65\x61\x74\165\162\x65\x5f\x63\x6f\144\x65"] == "\143\x6f\165\x6e\164\x72\x79") {
goto d637y;
}
goto OT8ht;
Py665: sWZZl:
goto PIy1j;
ZH3z3: EU7wE:
goto fYxkh;
RMdEO:
$code = db_get_field("\x53\105\114\x45\103\124\x20\x63\x6f\x64\x65\x20\106\122\x4f\115\x20\x3f\x3a\x63\157\165\x6e\x74\x72\171\x5f\144\x65\163\143\162\x69\x70\164\x69\x6f\156\163\40\x57\x48\105\x52\105\40\x63\157\165\156\164\x72\171\x20\75\40\x3f\x73\x20\x41\x4e\x44\40\x6c\141\x6e\147\x5f\x63\x6f\x64\x65\40\75\40\77\x73", $variant, "\145\156");
goto PuZWQ;
QV2GP:
$variant = db_get_field("\x53\105\x4c\105\x43\124\x20\166\x61\162\151\x61\156\164\x20\106\122\117\x4d\40\x3f\72\160\x72\157\x64\x75\143\164\137\146\145\x61\x74\165\x72\145\x5f\x76\141\162\x69\x61\x6e\x74\137\144\145\x73\143\162\151\160\x74\151\x6f\x6e\163\40\127\x48\105\x52\105\x20\x76\x61\162\x69\x61\156\164\x5f\x69\x64\x20\75\x20\x3f\x69\x20\x41\116\104\x20\154\x61\156\x67\137\143\x6f\144\145\40\x3d\x20\77\x73", $variant_id, "\145\x6e");
goto GoO28;
VMGwA:
}
goto IF35R;
VJnAR:
$variant_ids = db_get_fields("\x53\105\114\105\x43\124\x20\x76\141\x72\151\141\x6e\164\x5f\151\144\40\106\122\117\115\40\x3f\x3a\x70\x72\157\x64\165\x63\164\x5f\146\145\141\x74\165\162\145\x5f\x76\x61\x72\151\x61\156\164\x73\40\127\110\x45\122\x45\40\146\x65\x61\164\165\162\x65\137\151\144\40\x3d\40\77\x69", $feature_id);
goto jMQJx;
jMQJx:
if (empty($variant_ids)) {
goto o68jr;
}
goto n8jaV;
U3Goz: L4Q1l:
goto DubMC;
DubMC: o68jr:
goto MgTkj;
kHrEn:
if (!(isset($feature_id) && $feature_id > 0)) {
goto Y1lUe;
}
goto VJnAR;
etpwe: k_S17:
goto kHrEn;
IF35R: TCymR:
goto SDIMn;
SDIMn:
foreach ($variant_ids as $v_key => $variant_id) {
goto tmg6O;
NjctR:
if (isset($variant) && !empty($variant) && $field_profile["\146\x69\145\154\144\137\164\x79\x70\145"] == "\123" || $field_profile["\146\x69\145\154\x64\137\x74\x79\160\x65"] == "\122") {
goto yW5K5;
}
goto iMq1d;
iMq1d:
if (isset($variant) && !empty($variant) && $field_profile["\146\x69\x65\x6c\144\137\164\x79\x70\145"] == "\111") {
goto CRc9P;
}
goto MyUFE;
MIDW2:
$object_id = db_get_field("\x53\x45\114\105\103\124\x20\x6f\142\x6a\x65\x63\164\x5f\x69\144\40\x46\x52\x4f\115\40\x3f\x3a\x70\162\x6f\x66\x69\x6c\145\x5f\146\x69\x65\154\144\163\137\x64\141\x74\141\40\x57\x48\x45\122\x45\40\166\141\x6c\165\x65\x20\x3d\40\x3f\163\40\101\x4e\104\40\157\142\x6a\x65\143\x74\137\164\x79\x70\145\40\75\40\77\163\40\101\x4e\104\x20\x66\x69\x65\154\144\x5f\x69\144\x20\x3d\40\x3f\151", $variant, "\x53", $field_profile["\146\151\x65\154\x64\x5f\151\x64"]);
goto VBfSY;
EA48M: WGXv8:
goto Lymuo;
bZ8Xz: jwJKJ:
goto vX3Zc;
kLxe3:
$field_profile = db_get_row("\123\x45\114\x45\x43\x54\x20\x2a\40\106\122\117\115\x20\x3f\x3a\x70\x72\x6f\146\151\154\x65\x5f\x66\x69\145\154\144\163\x20\x57\110\x45\x52\105\x20\146\x69\145\x6c\144\137\156\x61\155\145\40\x3d\x20\x3f\x73", $fields["\x66\145\x61\x74\165\x72\x65\137\143\157\x64\x65"]);
goto r6eD1;
MyUFE:
goto Yvot8;
goto jNgSr;
q7mn0: Yvot8:
goto EA48M;
wsHMv:
$object_id = db_get_field("\x53\x45\114\x45\x43\x54\x20\157\142\152\x65\143\x74\137\151\x64\40\106\x52\x4f\115\40\77\72\160\x72\x6f\x66\x69\x6c\145\137\x66\151\145\x6c\144\x5f\144\145\x73\143\x72\x69\x70\x74\151\157\x6e\x73\x20\x57\x48\105\122\x45\40\144\145\163\143\x72\x69\160\164\151\157\156\40\x3d\40\77\x73\x20\101\x4e\x44\x20\x6f\x62\x6a\145\x63\x74\x5f\164\x79\x70\x65\x20\75\x20\77\163\x20\101\116\104\x20\154\x61\x6e\x67\x5f\143\157\x64\145\x20\75\x20\x3f\163", $variant, "\126", "\x65\x6e");
goto a3jMR;
vX3Zc:
goto Yvot8;
goto d0mOP;
a3jMR:
foreach (Languages::getAll() as $lang_code => $v) {
goto B36yT;
Hidbf:
db_query("\x55\x50\104\101\124\x45\x20\x3f\72\160\162\x6f\x64\x75\143\x74\137\146\x65\141\164\165\162\145\137\166\x61\x72\x69\141\x6e\164\137\x64\145\x73\143\162\x69\160\164\151\x6f\x6e\x73\x20\x53\x45\124\x20\77\x75\40\x57\x48\105\x52\x45\x20\166\x61\x72\x69\141\x6e\164\137\151\x64\x20\x3d\x20\77\151\x20\101\116\x44\40\154\141\156\147\x5f\x63\157\x64\x65\40\75\x20\x3f\163", array("\166\141\162\151\x61\x6e\x74" => $field_value), $variant_id, $lang_code);
goto MDsa3;
MDsa3: GuEA6:
goto O6HeR;
B36yT:
$field_value = db_get_field("\123\105\114\105\x43\x54\x20\144\x65\x73\x63\x72\151\x70\164\x69\x6f\156\x20\x46\122\117\x4d\x20\77\x3a\x70\162\157\x66\151\154\145\x5f\x66\x69\x65\x6c\x64\x5f\x64\145\x73\143\x72\151\160\x74\151\157\156\163\40\127\110\x45\122\105\40\157\x62\x6a\145\143\164\x5f\x69\x64\x20\75\40\x3f\151\x20\x41\116\104\40\x6f\x62\x6a\x65\143\x74\x5f\164\171\160\x65\40\75\x20\x3f\163\x20\101\x4e\104\x20\x6c\x61\x6e\147\137\x63\157\x64\145\40\x3d\x20\x3f\163", $object_id, "\126", $lang_code);
goto Hidbf;
O6HeR:
}
goto bZ8Xz;
tmg6O:
$variant = db_get_field("\123\x45\114\105\x43\124\40\166\x61\162\x69\x61\156\x74\x20\x46\x52\x4f\115\40\x3f\72\x70\x72\157\144\165\x63\164\x5f\x66\x65\x61\164\x75\162\x65\137\166\x61\162\151\x61\x6e\164\137\144\145\163\x63\x72\x69\x70\164\x69\157\x6e\x73\x20\127\x48\105\122\105\x20\166\141\x72\x69\141\x6e\x74\x5f\151\x64\40\75\40\x3f\x69\x20\101\116\x44\x20\154\141\156\x67\x5f\143\x6f\x64\145\40\x3d\x20\77\x73", $variant_id, "\145\156");
goto kLxe3;
d0mOP: CRc9P:
goto MIDW2;
Lymuo: ludhi:
goto s7H08;
VRaFD: zY23b:
goto q7mn0;
VBfSY:
foreach (Languages::getAll() as $lang_code => $v) {
goto RsIjx;
RsIjx:
$field_value = db_get_field("\x53\105\114\x45\103\x54\40\166\x61\154\165\x65\x20\x46\x52\x4f\x4d\40\x3f\72\160\162\x6f\x66\x69\x6c\x65\137\x66\x69\x65\x6c\144\163\x5f\144\141\x74\141\x20\127\110\105\122\105\x20\x6f\142\x6a\145\143\164\x5f\151\x64\x20\x3d\40\77\x69\x20\101\116\104\x20\157\142\x6a\x65\143\164\x5f\x74\x79\160\x65\x20\75\x20\x3f\x73\40\x41\116\x44\x20\146\151\x65\x6c\x64\137\x69\144\x20\x3d\40\77\151", $object_id, "\x53", $field_profile["\x66\151\145\154\144\137\x69\x64"]);
goto uhcLd;
ZxquN: IJlmi:
goto WPBPW;
uhcLd:
db_query("\x55\x50\104\101\124\105\x20\77\72\160\x72\157\144\165\x63\x74\x5f\146\145\141\164\x75\x72\x65\x5f\166\x61\x72\151\x61\156\164\x5f\144\x65\163\143\x72\151\160\164\151\x6f\x6e\163\x20\x53\x45\124\40\x3f\x75\x20\127\x48\x45\122\105\40\x76\141\x72\151\x61\x6e\164\137\151\x64\40\75\x20\77\x69\x20\x41\x4e\104\40\154\x61\x6e\147\x5f\143\x6f\144\145\40\x3d\40\77\x73", array("\x76\141\162\151\141\x6e\164" => $field_value), $variant_id, $lang_code);
goto ZxquN;
WPBPW:
}
goto VRaFD;
jNgSr: yW5K5:
goto wsHMv;
r6eD1:
if (!($fields["\x66\x65\x61\164\165\x72\145\x5f\x74\171\x70\145"] == "\x46")) {
goto WGXv8;
}
goto NjctR;
s7H08:
}
goto U3Goz;
cPoTv:
$feature_id = db_get_field("\123\x45\114\x45\103\x54\x20\x66\x65\141\164\x75\162\145\137\151\x64\x20\106\122\117\x4d\40\77\x3a\160\x72\x6f\x64\165\143\164\x5f\146\145\x61\164\165\x72\x65\163\x20\x57\110\105\x52\x45\x20\x66\x65\141\164\x75\162\145\137\x63\157\144\145\40\x3d\x20\x3f\163", $fields["\146\x65\141\x74\165\162\145\x5f\x63\157\144\x65"]);
goto T4lMB;
TLslm:
}
goto dJ9bb;
dJ9bb: qlJMa:
goto d1P49;
d1P49:
}
goto em4Ry;
RmCZE:
if (defined("\102\x4f\x4f\124\x53\124\122\101\x50")) {
goto UZm_Q;
}
goto N4t3_;
dqUX_:
require_once "\x73\163\137\x76\x65\x6e\144\x6f\162\137\x66\x69\154\164\145\162\151\x6e\147\x5f\x66\x65\x61\x74\x75\x72\x65\x5f\x66\151\145\x6c\x64\163\56\x70\150\160";
goto JJSUC;
swPiF:
function fn_ss_vendor_filtering_create_vendor_product($company_id = 0, $category_id = 0)
{
goto OdW5k;
M2GTv: ZRS_J:
goto A3YGO;
OdW5k:
if (!(isset($company_id) && $company_id > 0)) {
goto aTpMU;
}
goto tUL0r;
wB4M5:
$product_id = db_query("\x49\x4e\x53\x45\122\x54\x20\111\116\x54\117\x20\x3f\x3a\160\x72\x6f\144\165\143\164\163\40\77\145", $product_structure);
goto OjhYk;
lyLPr:
$company_name = db_get_field("\x53\x45\x4c\x45\103\x54\40\143\x6f\x6d\160\x61\156\171\40\106\122\x4f\x4d\40\x3f\x3a\143\x6f\x6d\160\141\x6e\x69\145\x73\40\x57\x48\x45\122\x45\40\143\157\155\160\141\156\x79\x5f\x69\144\40\x3d\x20\x3f\151", $company_id);
goto M6Ezc;
s_D5s:
$product_structure = array("\x73\164\x61\x74\165\x73" => "\101", "\143\157\155\x70\x61\x6e\171\137\151\x64" => $company_id, "\141\x6d\x6f\x75\156\x74" => 1);
goto wB4M5;
GdZ9a:
if (!($category_id == 0)) {
goto tMrtT;
}
goto UPs4X;
A3YGO: aTpMU:
goto u0eWn;
o5WXh:
$product_categories = array("\x70\162\x6f\x64\165\143\x74\x5f\151\x64" => $product_id, "\143\x61\x74\145\x67\157\162\x79\137\x69\x64" => $category_id, "\x6c\x69\156\153\x5f\164\171\160\145" => "\115", "\160\157\x73\x69\164\x69\x6f\x6e" => 0);
goto sjcZm;
TT9s8:
foreach (Languages::getAll() as $_data["\154\141\156\147\137\x63\x6f\144\145"] => $v) {
goto pQSBe;
ylb6Y:
db_query("\x49\116\123\105\x52\x54\40\111\x4e\124\x4f\x20\x3f\x3a\160\x72\x6f\x64\x75\x63\x74\x5f\x64\145\163\x63\162\x69\x70\x74\x69\x6f\156\163\40\77\145", $product_description);
goto FaMIP;
FaMIP: FSXVm:
goto z3cD6;
pQSBe:
$product_description = array("\160\162\x6f\144\x75\x63\164\x5f\151\x64" => $product_id, "\154\141\x6e\x67\x5f\143\x6f\144\145" => $_data["\154\x61\156\x67\137\x63\x6f\x64\x65"], "\x70\162\x6f\x64\165\143\x74" => $company_name);
goto ylb6Y;
z3cD6:
}
goto SxoD6;
N54Oc: vk23L:
goto COkKd;
tUL0r:
$vendor_product_id = db_get_field("\123\x45\x4c\x45\x43\x54\40\x73\163\137\x76\145\156\144\157\x72\137\x66\151\x6c\164\x65\x72\x69\156\147\x5f\166\145\x6e\x64\157\x72\137\160\x72\157\144\x75\x63\x74\x5f\x69\x64\x20\x46\x52\x4f\x4d\x20\77\x3a\143\x6f\155\x70\141\156\x69\145\x73\40\127\x48\x45\x52\105\40\143\x6f\155\160\141\156\x79\137\x69\x64\x20\75\40\x3f\x69", $company_id);
goto zPvkq;
UPs4X:
$category_id = fn_ss_vendor_filtering_get_category_id();
goto hhEsV;
zPvkq:
if ($vendor_product_id == 0) {
goto vk23L;
}
goto lyLPr;
COkKd:
$company_name = db_get_field("\x53\x45\x4c\105\103\124\40\x63\157\155\x70\141\156\171\40\x46\122\x4f\115\40\77\x3a\x63\157\x6d\160\141\156\x69\x65\163\40\x57\x48\x45\x52\x45\x20\143\157\155\x70\141\156\171\x5f\x69\x64\40\75\40\x3f\x69", $company_id);
goto s_D5s;
hhEsV: tMrtT:
goto R8bCK;
R8bCK:
db_query("\111\x4e\123\105\x52\124\40\111\x4e\124\117\40\x3f\x3a\160\x72\x6f\x64\x75\x63\x74\x5f\160\x72\151\143\x65\163\40\77\x65", $product_prices);
goto o5WXh;
OjhYk:
db_query("\x55\120\x44\x41\124\x45\x20\x3f\x3a\x63\x6f\155\x70\x61\x6e\151\145\x73\x20\x53\x45\124\40\77\165\x20\127\x48\105\x52\105\x20\x63\157\155\x70\141\x6e\171\x5f\151\144\40\75\40\77\x69", array("\163\163\x5f\x76\x65\156\x64\x6f\x72\137\x66\x69\x6c\164\145\162\151\x6e\x67\x5f\166\145\x6e\144\157\x72\x5f\x70\162\157\144\165\x63\x74\x5f\151\x64" => $product_id), $company_id);
goto KBBkr;
SxoD6: fV3QF:
goto M2GTv;
sjcZm:
db_query("\111\116\123\105\122\124\40\x49\x4e\124\117\40\x3f\x3a\160\162\157\x64\x75\143\x74\x73\x5f\x63\141\164\x65\147\157\162\151\x65\163\40\77\x65", $product_categories);
goto TT9s8;
M6Ezc:
db_query("\x55\120\x44\x41\124\x45\x20\77\72\160\162\x6f\144\x75\143\x74\x5f\x64\145\x73\143\x72\151\160\x74\151\157\156\x73\40\123\105\124\x20\77\165\40\127\x48\105\x52\x45\40\160\x72\157\x64\x75\143\x74\x5f\151\x64\40\75\40\77\151", array("\160\162\157\144\165\x63\164" => $company_name), $vendor_product_id);
goto ms7jn;
ms7jn:
goto ZRS_J;
goto N54Oc;
KBBkr:
$product_prices = array("\160\x72\x6f\144\165\143\164\x5f\x69\144" => $product_id, "\160\x72\x69\x63\145" => 0.0, "\154\x6f\x77\145\162\x5f\x6c\x69\155\x69\x74" => 1);
goto GdZ9a;
u0eWn:
}
goto gnO_g;
J1jpz:
function fn_ss_vendor_filtering_create_filter($feature_id, $company_id = 0)
{
goto Sz4ZU;
oRxGN: E3b5s:
goto aelQc;
G9ndx:
$feature_descriptions = db_get_array("\x53\105\114\x45\x43\x54\x20\144\145\x73\x63\162\151\x70\x74\x69\x6f\156\54\x6c\141\x6e\147\x5f\143\157\x64\145\40\x46\x52\117\115\x20\x3f\x3a\x70\162\x6f\x64\x75\143\x74\x5f\x66\145\141\164\165\162\x65\x73\137\x64\145\163\143\x72\151\x70\164\x69\x6f\x6e\x73\x20\127\x48\x45\122\105\x20\x66\145\x61\164\165\162\145\137\151\144\40\75\x20\77\151", $feature_id);
goto WnEUn;
eqLEY:
$display_filter = db_get_field("\x53\105\114\105\x43\x54\40\144\x69\163\160\x6c\x61\171\40\x46\x52\117\115\x20\77\72\x73\x73\x5f\166\145\x6e\x64\157\x72\x5f\146\151\x6c\x74\x65\x72\x69\156\x67\x5f\146\145\x61\x74\165\x72\x65\x5f\x66\x69\145\x6c\144\x73\x20\127\x48\x45\122\x45\x20\146\x65\x61\164\x75\x72\145\x5f\x63\157\x64\145\x20\75\x20\x3f\163", $feature_code);
goto y7Aaa;
GK22c:
$filter_id = db_query("\x49\x4e\123\105\x52\x54\x20\x49\116\124\x4f\x20\x3f\72\x70\x72\x6f\144\x75\143\x74\137\x66\x69\154\x74\145\162\163\40\77\x65", $filter_structure);
goto G9ndx;
Uk1JY:
if (!(isset($filter_id) && $filter_id > 0)) {
goto E3b5s;
}
goto vpCKO;
Sz4ZU:
$feature_data = db_get_row("\x53\105\x4c\105\x43\124\40\x2a\40\x46\122\117\x4d\40\77\72\160\162\157\144\x75\143\164\137\146\x65\141\x74\165\162\x65\163\x20\x57\110\x45\x52\105\x20\x66\145\141\164\165\162\x65\x5f\x69\144\x20\x3d\40\x3f\151", $feature_id);
goto Xqz_c;
VfC_y: wiam_:
goto Uk1JY;
WnEUn:
foreach ($feature_descriptions as $key => $description) {
goto pHvn7;
ijA6h:
db_query("\111\116\123\105\x52\x54\x20\111\116\x54\x4f\x20\77\72\x70\162\157\144\x75\143\x74\137\x66\x69\154\x74\145\x72\x5f\144\145\163\x63\162\151\160\x74\x69\157\156\x73\x20\77\145", $filter_description);
goto h1Pxt;
pHvn7:
$filter_description = array("\x66\151\x6c\x74\x65\162\x5f\x69\144" => $filter_id, "\x6c\141\156\147\x5f\143\x6f\144\x65" => $description["\154\141\156\x67\137\x63\x6f\x64\145"], "\146\151\x6c\x74\145\x72" => $description["\x64\x65\x73\x63\x72\151\160\164\x69\157\x6e"]);
goto ijA6h;
h1Pxt: Oyfu3:
goto bj4lN;
bj4lN:
}
goto H8lIU;
Xqz_c:
$filter_id = db_get_field("\123\x45\x4c\105\103\124\40\146\151\x6c\164\x65\x72\x5f\x69\x64\x20\106\122\117\115\x20\x3f\72\x70\162\x6f\x64\165\x63\164\137\x66\151\154\x74\x65\x72\163\40\127\x48\105\122\x45\40\x66\x65\x61\164\x75\x72\x65\x5f\151\144\x20\75\40\77\151", $feature_id);
goto UZ6CO;
y7Aaa:
if (!($filter_id == 0 && $feature_data["\x66\x65\x61\164\165\x72\x65\137\x74\x79\x70\145"] != "\124")) {
goto wiam_;
}
goto xf4vX;
xf4vX:
$filter_structure = array("\x63\141\x74\145\x67\x6f\x72\151\145\x73\137\x70\x61\164\x68" => $feature_data["\x63\x61\164\x65\x67\157\x72\x69\x65\x73\x5f\x70\x61\164\150"] ? $feature_data["\x63\141\164\x65\x67\x6f\x72\151\145\163\137\x70\141\164\150"] : '', "\143\x6f\155\160\141\156\x79\137\x69\144" => $company_id, "\146\145\141\x74\x75\162\145\x5f\x69\144" => $feature_id, "\x70\157\x73\x69\164\151\157\x6e" => 0, "\146\x69\145\x6c\144\x5f\x74\171\160\x65" => '', "\x73\164\x61\164\165\x73" => "\x41", "\x72\x6f\165\x6e\144\137\164\x6f" => 0.01, "\144\x69\163\160\154\141\x79\137\143\157\165\156\x74" => 10, "\x64\151\163\x70\x6c\x61\171" => $display_filter);
goto GK22c;
AqQ_i:
$filter_name = db_get_field("\x53\105\114\x45\x43\x54\x20\x66\151\154\x74\145\162\40\106\122\117\x4d\40\x3f\x3a\160\162\x6f\x64\165\143\x74\137\146\x69\154\164\145\162\x5f\144\145\x73\x63\x72\151\x70\x74\x69\x6f\x6e\163\x20\127\x48\x45\x52\105\40\x66\151\154\x74\x65\x72\x5f\151\144\40\75\40\x3f\151\x20\x41\x4e\104\40\x6c\141\156\x67\x5f\143\x6f\144\145\40\x3d\x20\x3f\163", $filter_id, DESCR_SL);
goto VfC_y;
aelQc:
return 0;
goto wbLFL;
vpCKO:
return $filter_id;
goto oRxGN;
UZ6CO:
$feature_code = db_get_field("\x53\105\x4c\x45\x43\124\x20\146\x65\x61\x74\x75\x72\x65\137\x63\x6f\x64\145\40\x46\122\x4f\115\x20\x3f\72\160\162\x6f\144\x75\143\164\x5f\x66\x65\x61\164\x75\x72\145\163\x20\x57\x48\105\122\105\40\146\x65\x61\x74\x75\162\145\137\x69\x64\40\x3d\40\77\151", $feature_id);
goto eqLEY;
H8lIU: WAXy6:
goto AqQ_i;
wbLFL:
}
goto MYV2v;
SKmX2:
function fn_ss_vendor_filtering_get_settings_objects($addon_id)
{
goto mlvG_;
wH1i0:
$settings_objects = db_get_array("\123\x45\x4c\105\x43\124\x20\x2a\40\106\122\x4f\115\40\x3f\x3a\163\x65\164\164\x69\156\x67\x73\x5f\157\x62\x6a\x65\143\164\x73\x20\127\x48\105\x52\105\40\156\141\155\145\40\114\x49\113\105\x20\x3f\x6c", $addon_id . "\x25");
goto bS3D2;
lz3bw:
$settings_serialize = serialize($settings);
goto AljRY;
vQg22: w2Wdo:
goto vYrQ5;
AljRY:
$_REQUEST["\x73\x65\164\x74\151\x6e\x67\163\137\163\x65\x72\x69\141\154\151\x7a\145"] = $settings_serialize;
goto vQg22;
mlvG_:
if (!fn_allowed_for("\x4d\125\x4c\124\x49\x56\x45\x4e\104\x4f\x52")) {
goto w2Wdo;
}
goto wH1i0;
jkjga: p6CNQ:
goto lz3bw;
igYU_:
foreach ($settings_objects as $object) {
goto kFRqE;
JHwoX:
if (!$condition) {
goto ouXqG;
}
goto oNWmx;
oNWmx:
$records = db_get_array("\123\x45\x4c\105\x43\x54\x20\x2a\40\106\x52\x4f\x4d\x20\x3f\72\x73\145\x74\164\x69\x6e\x67\x73\137\166\145\x6e\144\157\162\x5f\166\141\154\x75\145\x73\40\x57\110\x45\x52\x45\x20\x6f\142\152\145\x63\x74\137\x69\x64\40\75\40\77\151", $object["\157\142\x6a\x65\143\164\137\x69\x64"]);
goto fnUS0;
H9t9F: jvVIe:
goto qUtjL;
hTP7b: Sdrbx:
goto kMtO4;
kFRqE:
$condition = db_get_field("\x53\105\114\105\x43\x54\x20\103\x4f\125\116\x54\x28\52\51\40\106\x52\117\x4d\40\x3f\72\163\x65\164\x74\151\x6e\x67\x73\137\166\145\x6e\x64\x6f\162\137\166\x61\154\x75\145\163\x20\127\110\105\122\x45\x20\x6f\x62\x6a\x65\143\164\137\x69\x64\40\x3d\40\x3f\151", $object["\157\x62\152\145\143\164\137\x69\144"]);
goto JHwoX;
kMtO4: ouXqG:
goto H9t9F;
fnUS0:
foreach ($records as $record) {
goto XgSJh;
XgSJh:
$record["\x6e\x61\155\145"] = $object["\x6e\141\155\145"];
goto MBmi_;
MBmi_:
$settings[] = $record;
goto iSttO;
iSttO: Vc5fS:
goto IcHwq;
IcHwq:
}
goto hTP7b;
qUtjL:
}
goto jkjga;
bS3D2:
$settings = array();
goto igYU_;
vYrQ5:
}
goto qXSyG;
MZEfe:
function fn_ss_vendor_filtering_prepare_feature($field_id, $ss_vendor_filtering_feature_fields_id, $company_id, $feature_type)
{
goto kiLLa;
THkuH:
$feature_variant_value = __("{$field_id}");
goto mtEnU;
CvytH:
$feature_variant_value = db_get_field("\123\x45\x4c\105\x43\124\x20\166\141\x6c\x75\145\40\106\122\117\x4d\x20\77\x3a\160\162\x6f\146\x69\154\x65\x5f\x66\x69\145\154\x64\163\x5f\x64\x61\x74\141\40\x57\110\x45\122\x45\40\157\142\152\x65\x63\x74\137\151\x64\40\75\x20\x3f\x69\40\x41\116\x44\40\x6f\x62\152\145\x63\x74\x5f\x74\171\x70\145\x20\75\40\77\163\x20\x41\x4e\104\x20\146\x69\x65\154\x64\137\x69\x64\x20\75\40\77\151", $company_id, "\x53", $field_profile["\146\151\x65\x6c\144\x5f\x69\144"]);
goto KAQPX;
QqULi:
foreach ($feature_variant_value as $key_variant => $value_variant) {
goto B9hbm;
B9hbm:
$variants[$index] = array("\x76\x61\x72\x69\x61\156\x74" => $value_variant);
goto l6o1d;
l6o1d:
$index++;
goto DeMo3;
DeMo3: qA6pv:
goto XYwJF;
XYwJF:
}
goto hrcdt;
X1001:
if (empty($feature_fields["\x72\x65\146\145\162\145\156\x63\145\137\164\x61\142\x6c\x65"])) {
goto zi1OI;
}
goto Di6uG;
d0FBL:
$feature_variant_value = db_get_field("\123\x45\114\x45\x43\124\40{$field_id}\40\x46\x52\x4f\x4d\40\x3f\72\143\x6f\155\160\x61\x6e\151\x65\x73\40\x57\x48\105\x52\x45\x20\x63\157\x6d\x70\141\156\x79\137\151\x64\x20\75\40\x3f\x69", $company_id);
goto X1001;
vct5U: r2Nm2:
goto Uhfi0;
d4czU: tlboT:
goto y6cuX;
UFj_Y:
$flag = false;
goto x3QGx;
p_FEg:
if ($field_profile["\146\x69\145\x6c\144\x5f\x74\171\x70\145"] == "\123" || $field_profile["\146\151\x65\x6c\x64\x5f\164\x79\160\x65"] == "\x52") {
goto lHkQi;
}
goto IVjdb;
y6cuX:
goto m1UwE;
goto VNNnJ;
Pm18I:
$index = 1;
goto QqULi;
IVjdb:
if ($field_profile["\x66\151\145\x6c\144\x5f\164\171\x70\145"] == "\x49" || $field_profile["\146\x69\x65\154\144\x5f\164\171\x70\145"] == "\x43" || $field_profile["\146\x69\145\x6c\144\x5f\x74\171\x70\145"] == "\x50" || $field_profile["\146\151\x65\154\x64\x5f\164\x79\x70\145"] == "\x5a" || $field_profile["\x66\x69\x65\154\144\x5f\x74\171\160\x65"] == "\x44" || $field_profile["\x66\x69\145\154\x64\137\x74\171\160\x65"] == "\x45") {
goto Y1nEA;
}
goto lgZwF;
CgZ1X: ed3Rh:
goto LCSLH;
u5gMY: SCFpL:
goto NqkcU;
LfCtx: DXvSY:
goto llWeh;
tMGOq: M6Zwa:
goto d0FBL;
jFH0O:
$variants = array(1 => array("\x76\x61\x72\151\x61\x6e\164" => $feature_variant_value));
goto R5CwI;
yUn3K: NHl3n:
goto wJiO_;
eji1f:
$feature_variant_value = __("{$field_id}");
goto Sq67I;
mcEth: K4XvB:
goto koZM2;
GiY47:
goto ci_Yb;
goto kHekp;
rOvZr:
$feature_data["\x73\x74\141\164\x75\163"] = "\x41";
goto vVWfk;
kiLLa:
$feature_type_save = $feature_type;
goto c5xTy;
x3QGx:
$feature_id = db_get_field("\x53\x45\x4c\105\103\x54\40\x66\145\x61\x74\165\x72\145\x5f\151\x64\40\x46\122\x4f\115\40\x3f\x3a\x70\162\157\144\x75\x63\164\x5f\x66\x65\141\x74\165\162\x65\x73\40\x57\110\x45\122\105\x20\x66\x65\141\x74\165\x72\145\137\143\x6f\x64\x65\40\x3d\40\77\x73", $feature_data["\x66\145\x61\x74\x75\162\x65\x5f\143\157\144\x65"]);
goto m8WbD;
vrHrX:
if (!empty($feature_fields["\x72\145\x66\145\x72\x65\x6e\x63\x65\x5f\x74\x61\x62\x6c\x65"])) {
goto caTTz;
}
goto eji1f;
iupPF:
$feature_id = 0;
goto aR_aP;
Uhfi0:
$feature_id = fn_update_product_feature($feature_data, $feature_id);
goto EdJPm;
Hx58n:
$feature_variant_value = db_get_field("\x53\105\114\x45\103\124\40\x64\145\163\x63\162\x2e\163\164\141\164\145\x20\x46\x52\117\115\40\x3f\72\x73\x74\x61\164\145\x73\x20\x41\x53\40\155\141\x69\156\40\114\105\x46\124\x20\x4a\x4f\x49\116\40\x3f\x3a\163\164\x61\x74\x65\137\144\x65\163\143\162\x69\x70\x74\151\x6f\x6e\x73\x20\x41\x53\40\x64\x65\x73\143\162\40\117\x4e\x20\155\x61\x69\156\56\x73\164\141\164\145\x5f\x69\144\x20\75\x20\x64\x65\163\x63\x72\x2e\x73\x74\x61\164\x65\137\151\144\x20\x57\x48\x45\x52\105\x20\155\141\x69\x6e\x2e\x63\x6f\x64\x65\x20\75\40\77\x73\40\x41\x4e\x44\40\155\x61\x69\156\x2e\143\x6f\165\156\164\162\x79\x5f\x63\157\x64\x65\x20\75\40\x3f\163\x20\x41\116\x44\40\x64\145\163\143\162\56\154\x61\x6e\147\x5f\143\x6f\144\x65\40\75\x20\x3f\163", $feature_variant_value, $company_country, "\x65\156");
goto t6cLN;
uWVtf:
$feature_type = "\x4d";
goto PWiN9;
edDtI:
$feature_type = "\115";
goto hWAWm;
bzumf:
if ($feature_type == "\x45") {
goto M6Zwa;
}
goto X3LN8;
G3SfL:
$feature_variant_value = fn_ss_vendor_filtering_get_main_categories_for_vendor($company_id);
goto lArcs;
lArcs:
foreach ($feature_variant_value as $key => &$category_id) {
$feature_variant_value[$key] = db_get_field("\123\x45\114\x45\x43\124\x20\143\141\x74\x65\147\157\x72\x79\x20\106\122\117\115\40\77\x3a\143\141\164\145\147\x6f\x72\x79\x5f\144\x65\163\143\x72\x69\x70\x74\x69\157\x6e\163\40\x57\x48\x45\122\105\40\143\141\x74\x65\x67\157\162\171\x5f\x69\x64\40\75\x20\x3f\151\x20\101\116\104\40\x6c\141\x6e\147\x5f\143\x6f\144\145\40\x3d\40\77\x73", $category_id, "\x65\156");
WOJCP:
}
goto RnSBl;
NqkcU:
if ($feature_type_save == "\x56" && $feature_type == "\115") {
goto Cila_;
}
goto oYtTM;
OIQME:
$feature_data["\x70\x61\x72\145\x6e\164\x5f\x69\144"] = db_get_field("\123\x45\114\x45\103\124\x20\146\145\141\164\165\x72\145\137\151\x64\x20\x46\x52\x4f\x4d\40\77\x3a\160\x72\x6f\144\165\x63\164\137\x66\145\x61\x74\165\x72\145\163\40\x57\110\x45\x52\x45\x20\x66\145\141\164\x75\x72\x65\137\143\157\144\x65\40\x3d\x20\77\x73\40\101\116\x44\40\x70\141\162\x65\x6e\x74\137\x69\x64\x20\75\40\77\151", VENDORS_FEATURE_GROUP_NAME, 0);
goto rOvZr;
N1TIH:
$count_feature_code = db_get_field("\123\105\x4c\105\103\x54\40\103\x4f\125\x4e\x54\50\52\51\x20\x46\122\117\x4d\x20\x3f\x3a\x73\x73\137\x76\145\156\144\x6f\x72\x5f\x66\151\x6c\x74\145\x72\x69\156\x67\x5f\146\x65\x61\x74\165\162\x65\x5f\146\x69\145\154\144\x73\x20\127\x48\105\122\x45\x20\x66\145\141\164\165\x72\x65\137\x63\157\144\x65\40\x3d\40\77\163", $feature_fields["\x66\145\x61\x74\x75\162\x65\x5f\143\x6f\x64\x65"]);
goto z1aHN;
VNNnJ: Y1nEA:
goto CvytH;
z52NH: caTTz:
goto bxxiL;
uBfnA: tvgmx:
goto T7iZG;
z1aHN:
if ($count_feature_code > 1) {
goto L8r3g;
}
goto THkuH;
Ear85:
$feature_data["\146\145\x61\164\x75\x72\145\137\x63\157\144\x65"] = $feature_code;
goto aCKhA;
KAQPX: m1UwE:
goto uWVtf;
a7Sf8:
return array(0, '');
goto w5oQ2;
RnSBl: z0pbY:
goto uBfnA;
aR_aP:
$feature_id = db_get_field("\123\x45\114\x45\x43\x54\x20\146\145\x61\x74\165\x72\x65\137\x69\144\40\106\x52\117\x4d\x20\77\x3a\x70\162\157\x64\165\x63\164\x5f\x66\x65\141\164\165\x72\145\x73\40\x57\x48\x45\122\x45\x20\146\x65\141\x74\165\162\x65\137\x63\157\144\x65\40\x3d\x20\77\x73", $feature_code);
goto bzumf;
uwB9C: zi1OI:
goto D2x0Q;
U0wD1:
if (is_array($feature_variant_value)) {
goto qzGJD;
}
goto jFH0O;
ZDbYn: XNOxe:
goto Ear85;
hLCDG: Cila_:
goto o9_Hi;
PWiN9:
goto SCFpL;
goto AugIo;
Q_2gN:
$flag = true;
goto tLuge;
llWeh:
goto tvgmx;
goto UQ2Do;
g5DOK:
$feature_data["\x76\141\x72\x69\x61\156\x74\163"] = $variants;
goto UFj_Y;
ClQdh: RY7q3:
goto g5DOK;
lgZwF:
goto m1UwE;
goto mKSSV;
NMjeD:
$company_country = db_get_field("\x53\105\x4c\x45\x43\x54\x20\143\x6f\165\156\164\x72\171\x20\x46\122\x4f\115\x20\77\72\143\157\x6d\x70\x61\156\x69\145\163\40\x57\x48\x45\x52\x45\x20\143\157\155\160\141\156\171\137\x69\x64\x20\75\x20\x3f\151", $company_id);
goto Hx58n;
hWAWm: ci_Yb:
goto u5gMY;
mtEnU:
$feature_type = "\x43";
goto GiY47;
X3LN8:
if ($feature_type == "\x46") {
goto ed3Rh;
}
goto c40fh;
EqMDb:
$feature_variant_value = $feature_names["\x6e\141\155\145"];
goto edDtI;
T7iZG:
goto SCFpL;
goto tMGOq;
mKSSV: lHkQi:
goto fZr3P;
Di6uG:
if ($field_id == "\x73\164\141\x74\x65") {
goto Xmdbu;
}
goto PfR4P;
wJiO_:
$feature_data = array();
goto PzKUB;
Yfhif: aLnJU:
goto zOUV2;
zjc1q:
$variants = array();
goto Pm18I;
D2x0Q:
goto SCFpL;
goto CgZ1X;
Sq67I:
goto DXvSY;
goto z52NH;
o9_Hi:
$feature_data["\x64\145\163\x63\x72\151\160\x74\151\157\156"] = $feature_code;
goto ZDbYn;
bxxiL:
$feature_variant_value = db_get_fields("\123\105\x4c\x45\x43\124\x20" . $feature_fields["\x66\151\145\154\144\137\x77\x69\164\x68\x5f\x64\141\x74\141"] . "\40\106\x52\x4f\x4d\40\77\72" . $feature_fields["\162\145\x66\145\162\145\156\x63\x65\137\164\141\142\x6c\145"] . "\40\x57\110\105\x52\105\x20" . $feature_fields["\153\x65\x79\x5f\x74\141\142\x6c\x65"] . "\x20\75\x20\x3f\151\x20\101\x4e\x44\x20\154\x61\x6e\x67\x5f\143\157\x64\x65\x20\75\40\77\163", $company_id, "\145\156");
goto LfCtx;
zOUV2:
foreach ($feature_data["\166\x61\162\151\x61\x6e\164\x73"] as $variant) {
goto jX7Mw;
AhuC7: nJbtr:
goto exH7n;
jX7Mw:
$variant_db = db_get_field("\123\105\x4c\x45\103\124\x20\x76\141\162\x69\141\156\164\40\x46\x52\x4f\x4d\x20\77\x3a\x70\x72\157\144\165\x63\x74\x5f\146\x65\141\x74\x75\x72\x65\x5f\x76\x61\162\x69\x61\156\164\137\x64\145\163\143\x72\151\x70\x74\151\x6f\156\x73\x20\127\x48\105\122\105\40\166\x61\x72\151\x61\x6e\x74\40\x3d\40\x3f\163", $variant["\x76\x61\162\151\141\x6e\x74"]);
goto MtiD2;
vScU_:
$flag = true;
goto c9LFb;
MtiD2:
if (isset($variant_db) && !empty($variant_db)) {
goto nJbtr;
}
goto vScU_;
K86pb: A4Vxb:
goto YPRv1;
c9LFb:
goto CiLHh;
goto AhuC7;
exH7n: CiLHh:
goto K86pb;
YPRv1:
}
goto Jt4Yl;
oYtTM:
$feature_data["\x64\x65\x73\143\162\x69\160\x74\x69\x6f\156"] = $feature_names["\x6e\x61\x6d\x65"];
goto Bjwz0;
AIkG7: qzGJD:
goto zjc1q;
Bjwz0:
goto XNOxe;
goto hLCDG;
NBNTR:
$feature_variant_value = db_get_field("\x53\x45\114\105\103\124\x20\x64\145\163\x63\162\x69\x70\164\151\157\156\40\x46\x52\x4f\115\x20\x3f\x3a\x70\162\157\146\151\154\145\x5f\x66\x69\x65\154\144\137\x64\x65\x73\x63\x72\x69\160\164\x69\x6f\x6e\163\x20\127\x48\105\122\105\x20\x6f\142\152\145\143\x74\137\151\144\40\75\x20\x3f\151\40\101\x4e\x44\x20\x6f\x62\152\145\143\x74\137\x74\x79\160\x65\40\x3d\40\x3f\x73\x20\101\x4e\x44\x20\x6c\141\156\x67\x5f\x63\x6f\144\145\x20\x3d\40\77\163", $value, "\x56", "\145\156");
goto d4czU;
OnLQQ:
$feature_fields = db_get_row("\x53\x45\x4c\x45\103\124\x20\52\40\x46\122\x4f\115\x20\77\x3a\163\163\x5f\x76\145\156\x64\157\162\137\x66\151\x6c\x74\x65\x72\151\156\x67\137\x66\x65\141\164\x75\x72\145\137\x66\151\x65\154\144\163\x20\127\x48\x45\x52\105\40\163\163\137\166\145\156\144\157\162\137\x66\x69\154\x74\x65\162\x69\156\x67\x5f\146\145\141\164\x75\162\145\137\x66\151\145\154\x64\163\x5f\x69\144\x20\75\40\77\x73", $ss_vendor_filtering_feature_fields_id);
goto K6VIy;
R5CwI:
goto RY7q3;
goto AIkG7;
aCKhA:
$feature_data["\146\145\x61\x74\165\x72\x65\x5f\x74\x79\160\145"] = $feature_type;
goto OIQME;
beAIc:
goto K1_Ap;
goto ybHE9;
m8WbD:
if (isset($feature_id) && $feature_id > 0) {
goto aLnJU;
}
goto Q_2gN;
oJO0l:
if ($field_exists->num_rows) {
goto NHl3n;
}
goto a7Sf8;
LCSLH:
$field_profile = db_get_row("\x53\105\x4c\105\x43\x54\x20\52\x20\106\122\117\115\40\x3f\72\160\162\x6f\146\x69\x6c\145\137\x66\x69\145\x6c\x64\x73\40\x57\110\105\x52\x45\x20\146\151\x65\x6c\144\x5f\x6e\141\x6d\x65\x20\x3d\40\x3f\x73", $feature_fields["\146\x65\x61\164\165\162\x65\137\143\157\144\x65"]);
goto p_FEg;
Sc7Cc:
$value = db_get_field("\123\105\114\105\103\x54\40\x76\x61\x6c\165\x65\40\106\x52\x4f\115\40\77\72\160\x72\157\146\151\x6c\x65\x5f\x66\x69\x65\x6c\144\163\x5f\x64\x61\x74\x61\40\x57\110\105\122\x45\40\146\151\x65\154\144\x5f\x69\144\40\x3d\x20\x3f\151\x20\x41\116\104\x20\157\x62\152\145\x63\x74\x5f\x69\144\40\x3d\40\77\x69\40\x41\116\x44\x20\x6f\142\x6a\145\x63\x74\137\164\171\x70\x65\40\x3d\40\x3f\x73", $field_profile["\x66\151\x65\x6c\144\x5f\x69\x64"], $company_id, "\x53");
goto NBNTR;
hrcdt: AQlFI:
goto ClQdh;
AugIo: wAs6Z:
goto N1TIH;
K6VIy:
$feature_code = $feature_fields["\x66\145\141\x74\165\162\x65\137\x63\x6f\144\x65"];
goto iupPF;
UQ2Do: wNyck:
goto G3SfL;
PzKUB:
$feature_names = db_get_row("\123\105\114\105\103\124\40\x2a\x20\x46\x52\x4f\115\x20\x3f\72\x73\x73\x5f\x76\x65\x6e\x64\157\x72\137\x66\x69\154\x74\x65\162\151\x6e\x67\x5f\146\x65\x61\x74\x75\162\145\x5f\146\x69\145\154\144\x73\137\144\x65\x73\143\x72\x69\160\x74\151\157\156\x73\x20\127\110\105\x52\105\x20\x73\x73\x5f\166\145\x6e\x64\157\162\x5f\x66\x69\x6c\x74\x65\162\151\x6e\x67\x5f\x66\145\141\x74\x75\162\145\137\x66\151\145\154\x64\163\x5f\151\144\40\x3d\40\x3f\151\x20\x41\x4e\x44\x20\x6c\x61\156\x67\x5f\x63\157\144\145\40\x3d\x20\x3f\x73", $ss_vendor_filtering_feature_fields_id, "\x65\156");
goto OnLQQ;
t6cLN: K1_Ap:
goto uwB9C;
c40fh:
if ($feature_type == "\126") {
goto wAs6Z;
}
goto IGVhS;
vVWfk:
$feature_data["\x76\x61\162\151\x61\156\x74\163"] = array();
goto U0wD1;
kHekp: L8r3g:
goto EqMDb;
Jt4Yl: RskcT:
goto vct5U;
c5xTy:
$field_exists = db_query("\x53\x48\x4f\127\40\x43\x4f\x4c\x55\115\116\123\40\106\122\117\115\x20\77\x3a\143\157\x6d\x70\141\x6e\x69\145\163\x20\114\x49\x4b\105\x20\77\163", $field_id);
goto oJO0l;
fZr3P:
if (!(isset($field_profile["\146\x69\x65\154\x64\137\151\x64"]) && $field_profile["\x66\151\x65\154\144\137\x69\144"] > 0)) {
goto tlboT;
}
goto Sc7Cc;
w5oQ2:
goto K4XvB;
goto yUn3K;
IGVhS:
if ($feature_code == "\143\141\164\x65\147\x6f\x72\x69\145\x73\137\x76\145\x6e\144\157\x72") {
goto wNyck;
}
goto vrHrX;
PfR4P:
$feature_variant_value = db_get_field("\x53\105\114\x45\x43\x54\40" . $feature_fields["\x66\151\x65\x6c\x64\x5f\167\151\x74\x68\x5f\x64\x61\x74\x61"] . "\x20\106\x52\117\115\40\x3f\72" . $feature_fields["\162\145\146\145\x72\145\x6e\x63\145\x5f\164\141\x62\154\145"] . "\x20\x57\110\105\x52\105\x20" . $feature_fields["\153\x65\171\x5f\164\141\142\154\x65"] . "\x20\x3d\40\77\x73\40\x41\116\x44\x20\x6c\x61\156\147\x5f\143\x6f\x64\x65\40\x3d\40\77\x73", $feature_variant_value, "\x65\x6e");
goto beAIc;
ybHE9: Xmdbu:
goto NMjeD;
tLuge:
goto r2Nm2;
goto Yfhif;
EdJPm:
return array($feature_id, $feature_variant_value);
goto mcEth;
koZM2:
}
goto gRij0;
gaxWH:
function fn_ss_vendor_filtering_search()
{
goto u7Wus;
BU31W:
$product_ids = array("\65\x33\x34\65\x33\64\x35\x33\65\x34\x36\64\67\66\64");
goto qWN6A;
dxLU7:
$conditions .= db_quote("\x20\143\x2e\143\157\x6d\160\141\x6e\x79\x20\114\111\113\x45\x20\x3f\154", "\45" . $q . "\x25");
goto xcApg;
XHN4w:
if (!empty($product_ids)) {
goto ahaEt;
}
goto BU31W;
qWN6A: ahaEt:
goto Du5PW;
NHdLa:
return $product_ids;
goto l_Bjb;
n4v5T:
$conditions = '';
goto dxLU7;
u7Wus:
$product_ids = array();
goto xwU91;
xcApg:
$conditions .= db_quote("\40\x4f\x52\x20\40\x63\144\56\143\x6f\x6d\x70\141\x6e\171\137\144\145\x73\x63\162\151\160\164\151\x6f\x6e\x20\x4c\x49\x4b\105\40\x3f\154", "\45" . $q . "\45");
goto Nd308;
Du5PW: IZq4h:
goto NHdLa;
xwU91:
if (empty($_REQUEST["\161\165\x65\162\171"])) {
goto IZq4h;
}
goto hvxCb;
Nd308:
$product_ids = db_get_fields("\x53\x45\114\x45\x43\124\x20\163\163\137\166\145\156\144\x6f\162\x5f\x66\151\154\x74\x65\162\x69\x6e\147\x5f\x76\145\x6e\x64\157\x72\137\x70\x72\x6f\x64\x75\143\164\x5f\x69\x64\x20\106\x52\117\115\40\x3f\72\x63\x6f\x6d\160\x61\x6e\x69\145\x73\x20\101\x53\40\143\x20\x4c\x45\106\x54\40\112\117\111\116\x20\77\x3a\x63\x6f\x6d\160\141\156\171\x5f\x64\145\x73\143\x72\151\x70\164\151\x6f\x6e\163\40\101\123\40\x63\144\x20\117\x4e\x20\143\56\143\x6f\x6d\160\x61\x6e\x79\x5f\151\x64\x20\x3d\x20\x63\x64\x2e\x63\157\155\160\141\156\x79\x5f\x69\x64\40\127\110\x45\122\105\x20\x28{$conditions}\x29\40\101\x4e\x44\40\40\143\144\x2e\x6c\141\156\x67\x5f\143\x6f\x64\145\40\x3d\x20\77\x73\x20\x47\122\117\125\x50\40\102\131\40\x73\163\137\166\145\x6e\144\x6f\162\137\146\151\x6c\x74\145\x72\151\156\147\137\166\x65\156\x64\157\162\x5f\160\x72\157\144\x75\143\164\x5f\151\144", "\145\x6e");
goto XHN4w;
hvxCb:
$q = $_REQUEST["\x71\x75\145\162\x79"];
goto n4v5T;
l_Bjb:
}
goto oLnfC;
ozGA0:
function fn_ss_vendor_filtering_uninstall()
{
goto U9Eh7;
qi5b2:
$feature_id_groups = db_get_fields("\123\x45\x4c\105\x43\124\x20\x66\x65\141\164\x75\x72\145\x5f\151\144\x20\x46\122\117\115\40\x3f\x3a\x70\x72\157\144\165\143\x74\x5f\146\145\141\x74\x75\x72\145\163\40\127\110\105\122\105\x20\160\141\x72\145\x6e\x74\x5f\151\144\40\x3d\x20\77\163", $feature_id);
goto Sw0r5;
Sw0r5:
db_query("\x44\105\x4c\105\x54\105\x20\x46\x52\117\115\x20\77\x3a\160\162\157\144\165\143\x74\x5f\146\x65\141\x74\x75\162\145\x73\40\127\x48\x45\122\105\x20\x66\145\141\164\x75\x72\x65\137\151\x64\x20\x49\116\x20\x28\x3f\156\51", $feature_id_groups);
goto qKRHh;
iyOAE:
db_query("\104\x45\x4c\105\x54\105\40\106\x52\x4f\115\x20\x3f\72\160\162\x6f\x64\x75\x63\x74\137\146\145\141\164\x75\162\x65\137\x76\141\162\x69\141\156\164\137\x64\145\x73\143\162\151\160\x74\x69\157\156\163\x20\x57\x48\105\122\x45\x20\166\x61\162\x69\x61\156\x74\x5f\x69\144\x20\111\116\x20\x28\77\x6e\x29", $variant_ids);
goto cYBvb;
LLWyE:
db_query("\104\105\x4c\x45\x54\x45\x20\106\x52\x4f\x4d\40\77\72\x70\162\x6f\x64\165\143\164\x5f\x66\x65\141\164\x75\x72\145\163\137\166\x61\x6c\x75\145\x73\x20\127\110\105\x52\105\40\146\x65\x61\164\165\162\145\137\x69\x64\40\x49\x4e\40\x28\x3f\x6e\51", $feature_id_groups);
goto Onjqi;
qKRHh:
db_query("\x44\105\x4c\x45\x54\105\x20\x46\x52\x4f\115\x20\x3f\x3a\x70\x72\x6f\144\x75\143\x74\x5f\146\x65\x61\x74\165\162\x65\x73\137\x64\145\x73\x63\x72\x69\160\x74\151\157\x6e\163\x20\x57\x48\x45\x52\105\40\x66\145\141\x74\x75\162\145\x5f\x69\144\40\111\116\x20\50\77\x6e\x29", $feature_id_groups);
goto LLWyE;
wzu9z:
db_query("\x44\x45\x4c\x45\x54\105\40\x46\122\x4f\115\x20\x3f\72\x70\x72\157\x64\165\143\164\x5f\146\151\x6c\x74\145\x72\163\x20\x57\110\105\122\105\x20\146\151\x6c\164\x65\x72\x5f\151\144\40\x49\x4e\40\50\x3f\x6e\51", $filter_ids);
goto rd7ke;
cYBvb:
$filter_ids = db_get_fields("\x53\105\114\x45\x43\x54\40\x66\151\154\x74\x65\x72\x5f\x69\x64\x20\x46\122\117\115\x20\x3f\72\160\x72\157\x64\x75\x63\x74\137\x66\151\154\x74\145\x72\x73\x20\x57\x48\105\122\105\40\146\x65\141\164\165\x72\145\x5f\x69\144\x20\x49\x4e\40\x28\x3f\156\51", $feature_id_groups);
goto wzu9z;
a0hu8:
db_query("\x44\x45\114\105\124\x45\x20\106\122\x4f\115\40\77\72\160\162\157\144\165\x63\x74\137\146\x65\141\x74\x75\x72\x65\x73\137\144\x65\163\143\162\x69\160\x74\151\x6f\x6e\163\40\127\110\105\x52\x45\x20\x66\x65\x61\164\165\162\x65\137\151\x64\40\75\40\x3f\151", $feature_id);
goto qi5b2;
U9Eh7:
LicenseAddons::instance()->checkLicense("\125\x4e\111\x4e\x53\x54\101\114\114\105\104");
goto OCcPN;
HoAgw:
db_query("\104\x45\114\x45\124\x45\40\x46\x52\117\115\x20\77\x3a\x70\162\x6f\144\x75\143\164\x5f\146\x65\x61\x74\x75\162\x65\163\40\127\110\x45\x52\105\x20\146\145\141\x74\165\x72\x65\137\151\x64\40\75\x20\77\x69", $feature_id);
goto a0hu8;
rd7ke:
db_query("\104\105\114\105\x54\x45\40\106\x52\x4f\115\x20\77\72\x70\x72\157\144\x75\x63\x74\137\146\151\x6c\164\x65\x72\137\x64\145\163\143\x72\151\x70\164\x69\157\x6e\x73\x20\x57\x48\x45\122\105\x20\x66\151\154\x74\145\162\137\x69\x64\x20\111\116\x20\x28\77\156\x29", $filter_ids);
goto KXSle;
yEPAg:
$vendors_category = db_get_field("\123\x45\114\105\103\124\40\x63\141\164\145\x67\157\x72\171\137\151\144\x20\106\122\117\115\40\x3f\x3a\160\162\157\x64\x75\143\164\x73\x5f\143\141\x74\x65\x67\x6f\162\x69\145\163\40\x57\x48\x45\x52\x45\x20\x70\x72\x6f\144\165\x63\164\x5f\151\x64\x20\x3d\x20\77\151", $vendor_products_ids[0]);
goto dbf1m;
iwt8A: CjMuq:
goto uoD85;
epZJQ:
db_query("\x44\x45\x4c\105\x54\x45\40\106\x52\x4f\115\x20\x3f\x3a\160\162\x6f\144\165\x63\x74\137\x66\x65\x61\164\x75\x72\145\x5f\166\141\x72\x69\x61\x6e\164\163\x20\x57\x48\105\122\105\40\166\x61\x72\151\x61\156\164\x5f\x69\x64\40\111\116\x20\x28\77\x6e\x29", $variant_ids);
goto iyOAE;
KXSle:
db_query("\125\120\104\x41\124\105\x20\77\x3a\163\x74\x61\164\151\143\137\x64\141\164\141\x20\x53\x45\124\x20\77\165\x20\x57\x48\105\122\x45\40\160\141\162\x61\x6d\x20\x3d\40\x3f\163", array("\160\141\x72\x61\155" => "\143\157\155\160\141\x6e\151\x65\163\56\x63\x61\164\141\154\x6f\147"), "\x63\x61\x74\x65\x67\x6f\162\x69\x65\x73\x2e\x76\151\x65\167\46\x63\x61\164\x65\x67\x6f\162\171\137\151\x64\x3d" . $vendors_category . "\46\x73\157\x72\164\x69\x6e\147\x3d\166\145\x6e\144\157\x72");
goto Q0mxN;
OCcPN:
$vendor_products_ids = db_get_fields("\x53\x45\x4c\105\x43\x54\40\163\163\x5f\x76\145\156\x64\157\x72\x5f\146\151\x6c\164\x65\162\151\156\x67\137\x76\145\156\x64\157\162\x5f\x70\162\x6f\144\165\x63\164\x5f\151\x64\x20\x46\122\x4f\115\x20\x3f\x3a\x63\157\x6d\160\x61\x6e\x69\x65\163");
goto yEPAg;
DyxSD:
foreach ($vendor_products_ids as $key => $vendor_product_id) {
fn_delete_product($vendor_product_id);
F3HpA:
}
goto iwt8A;
Onjqi:
$variant_ids = db_get_fields("\123\105\x4c\105\103\124\x20\x76\141\x72\x69\141\156\x74\137\151\144\40\106\x52\117\115\x20\x3f\x3a\160\x72\157\x64\165\x63\164\x5f\x66\x65\x61\x74\x75\x72\145\x5f\166\x61\x72\151\141\156\164\x73\x20\127\x48\x45\x52\x45\40\146\x65\x61\164\x75\x72\145\137\x69\144\x20\x49\116\40\x28\x3f\x6e\x29", $feature_id_groups);
goto epZJQ;
dbf1m:
fn_delete_category($vendors_category);
goto DyxSD;
uoD85:
$feature_id = db_get_field("\x53\105\x4c\x45\103\x54\40\146\145\x61\x74\x75\x72\145\137\151\x64\40\x46\x52\117\x4d\40\77\72\160\162\157\144\165\x63\x74\137\146\145\x61\x74\165\162\145\163\40\x57\x48\105\x52\x45\x20\x66\145\x61\x74\x75\162\145\137\x63\x6f\x64\145\x20\75\40\x3f\x73", VENDORS_FEATURE_GROUP_NAME);
goto HoAgw;
Q0mxN:
}
Function Calls
None |
Stats
MD5 | e134874ddab768d900a2f220bb97c3c2 |
Eval Count | 0 |
Decode Time | 87 ms |