Decoded Output
Download<?php
/*
DO NOT EDIT!
Author : HP Web Design
Website : https://hpwebdesign.id
Support : [email protected]
License Type : Single Domain License
Licensing : http://hpwebdesign.id/licensing
*/
class ControllerExtensionModuleHpSocialLogin extends Controller
{
public $error = array();
public function index($arg = array())
{
$onlyButton = isset($arg["onlybutton"]) ? $arg["onlybutton"] : true;
return $this->template($onlyButton);
}
public function getSocialButton()
{
$this->response->setOutput($this->index());
}
private function isWebview()
{
goto V2VVt;
AMCoP:
return true;
goto cI1uj;
M1Ntx:
fLgIE:
goto AMCoP;
mMiVz:
return false;
goto M1Ntx;
t9S19:
if (!($httpx == NULL || stripos($httpx, "XMLHttpRequest") !== false)) {
goto fLgIE;
}
goto mMiVz;
V2VVt:
$httpx = isset($_SERVER["HTTP_X_REQUESTED_WITH"]) && $_SERVER["HTTP_X_REQUESTED_WITH"] ? $_SERVER["HTTP_X_REQUESTED_WITH"] : null;
goto t9S19;
cI1uj:
}
public function login()
{
goto DfWW4;
KH1LC:
$this->saveSessionDataLayer("email");
goto kFWMR;
VIVDc:
if (!$this->model_extension_module_hp_social_login->checkMarketplace()) {
goto Rdnks;
}
goto EPau0;
Qdihi:
$json["error"] = $this->error;
goto pWaej;
mYeH0:
$this->load->model("account/wishlist");
goto SgmiN;
guk9a:
setcookie("USR", $encrypted_email, $time + 3600 * 24 * 30, "/", $this->request->server["HTTP_HOST"]);
goto DTMu6;
CY1Kp:
if (!($this->config->get("config_tax_customer") == "payment")) {
goto GHWNB;
}
goto ll3Rc;
d9iMj:
$json["status"] = true;
goto PLxHm;
O_VTT:
if (isset($this->session->data["redirect"]) && $this->session->data["redirect"] != $this->url->link("account/logout", '', true) && (strpos($this->session->data["redirect"], $this->config->get("config_url")) !== false || strpos($this->session->data["redirect"], $this->config->get("config_ssl")) !== false)) {
goto FXi0y;
}
goto yh65l;
y03Z8:
NiWnQ:
goto zkjSQ;
BLlKc:
$this->response->addHeader("Content-Type: application/json");
goto Vv367;
wTg8i:
$this->load->model("extension/module/hp_social_login");
goto VvKi6;
unysU:
PQrF_:
goto O_VTT;
SgmiN:
foreach ($this->session->data["wishlist"] as $key => $product_id) {
goto ZA7Qb;
ZA7Qb:
$this->model_account_wishlist->addWishlist($product_id);
goto eEJou;
FQ9Ju:
YKwY8:
goto Qiaw3;
eEJou:
unset($this->session->data["wishlist"][$key]);
goto FQ9Ju;
Qiaw3:
}
goto rLCR3;
UEr9A:
if (!($this->config->get("config_tax_customer") == "shipping" && $has_address)) {
goto h3Lwa;
}
goto d0T2F;
MqnVc:
if (!(!$this->config->get("hpaa_comission_amount_after_status") && !$this->config->get("hpaa_customer_discount_after_status"))) {
goto Oa3R6;
}
goto RJRav;
Ewt0Z:
h3Lwa:
goto wgZXv;
R6gHD:
Rdnks:
goto d9iMj;
ll3Rc:
$this->session->data["payment_address"] = $this->model_account_address->getAddress($this->customer->getAddressId());
goto z1mqm;
BRGD9:
$json["redirect"] = str_replace("&", "&", $this->session->data["redirect"]);
goto NCjv5;
wgZXv:
if (!(isset($this->session->data["wishlist"]) && is_array($this->session->data["wishlist"]))) {
goto NiWnQ;
}
goto mYeH0;
tisNV:
xo6ng:
goto p40C4;
p0RsI:
fSyNj:
goto pcY5H;
z1mqm:
GHWNB:
goto NzT5m;
DTMu6:
sm3Zl:
goto CY1Kp;
HceAY:
FXi0y:
goto BRGD9;
pcY5H:
Oa3R6:
goto EUeFg;
iW8eW:
unset($this->session->data["guest"]);
goto MqnVc;
APJMS:
$time = time();
goto guk9a;
pWaej:
jhbe2:
goto BLlKc;
EPau0:
$this->vendor->login($this->request->post["email"], $this->request->post["password"], true);
goto R6gHD;
CkB2l:
if (empty($this->error)) {
goto jhbe2;
}
goto Qdihi;
Fb08f:
goto TMkNY;
goto HceAY;
fgJ3c:
if (!(isset($this->request->post["stay"]) && $this->request->post["stay"])) {
goto sm3Zl;
}
goto rIxPm;
Vv367:
$this->response->setOutput(json_encode($json));
goto EiFpy;
NzT5m:
$has_address = $this->model_account_address->getAddress($this->customer->getAddressId());
goto UEr9A;
kFWMR:
U7m2n:
goto CkB2l;
rIxPm:
$encrypted_email = $this->encrypt($this->request->post["email"]);
goto APJMS;
MPZZg:
if (!($this->request->server["REQUEST_METHOD"] == "POST" && $this->validateLogin())) {
goto U7m2n;
}
goto VIVDc;
DfWW4:
if (!isset($this->session->data["hpmim_redirect"])) {
goto xo6ng;
}
goto Sw_XZ;
yh65l:
$json["redirect"] = $this->url->link("account/account", '', true);
goto Fb08f;
V1BUe:
if (!isset($this->session->data["customer_discount"])) {
goto fSyNj;
}
goto m84bu;
m84bu:
unset($this->session->data["customer_discount"]);
goto p0RsI;
Sw_XZ:
$this->session->data["redirect"] = $this->session->data["hpmim_redirect"];
goto tisNV;
d0T2F:
$this->session->data["shipping_address"] = $has_address;
goto Ewt0Z;
PLxHm:
unset($this->session->data["gcapcha"]);
goto iW8eW;
KtkVh:
FZ0EJ:
goto V1BUe;
EmJfC:
unset($this->session->data["hpaa"]);
goto KtkVh;
zkjSQ:
if ($this->checkRedirectUrl($this->session->data["redirect"])) {
goto PQrF_;
}
goto iws25;
iws25:
$this->session->data["redirect"] = HTTPS_SERVER;
goto unysU;
rLCR3:
L1Jb2:
goto y03Z8;
NCjv5:
TMkNY:
goto KH1LC;
EUeFg:
$this->load->model("account/address");
goto fgJ3c;
p40C4:
$this->load->model("account/customer");
goto wTg8i;
VvKi6:
$this->load->language("account/login");
goto C7rgE;
C7rgE:
$json["status"] = false;
goto MPZZg;
RJRav:
if (!isset($this->session->data["hpaa"])) {
goto FZ0EJ;
}
goto EmJfC;
EiFpy:
}
private function saveSessionDataLayer($method)
{
goto Lc4pa;
Lc4pa:
$this->session->data["login_success"]["event"] = "login";
goto MH6bj;
MH6bj:
$this->session->data["login_success"]["user_id"] = $this->customer->getEmail();
goto orDAX;
orDAX:
$this->session->data["login_success"]["email"] = $this->customer->getEmail();
goto B8Kh_;
B8Kh_:
$this->session->data["login_success"]["loginMethod"] = $method;
goto z1QQL;
z1QQL:
}
public function validateLogin()
{
goto ZFP_U;
oi7Wc:
kpu5l:
goto E6FJm;
QhG_a:
$this->error["warning"] = $this->language->get("error_login");
goto Fqk0U;
FPZR3:
m0T3L:
goto etjeJ;
HpfQx:
goto m0T3L;
goto oi7Wc;
v_s9l:
$recaptcha = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=" . urlencode($this->config->get("captcha_google_secret")) . "&response=" . ($this->request->post["g-recaptcha-response"] ? $this->request->post["g-recaptcha-response"] : '') . "&remoteip=" . $this->request->server["REMOTE_ADDR"]);
goto syep4;
EsHcM:
if (isset($this->request->post["g-recaptcha-response"])) {
goto dB312;
}
goto I9zd7;
hR4oP:
if (!(preg_match($re, $this->request->post["email"]) == 0 && !($this->request->post["email"] == ''))) {
goto ZojhH;
}
goto REnLQ;
Wtdof:
ZjIJP:
goto dIHWc;
F8_Xc:
$this->load->language("extension/captcha/google");
goto EsHcM;
dIHWc:
WTOaC:
goto kChrY;
qRiEE:
$isPhone = true;
goto Zj_IX;
G1NJX:
$isPhone = false;
goto ALF3h;
XCs18:
cDe3O:
goto ywsb4;
ZuOmj:
goto ZjIJP;
goto eaAmz;
X0zdw:
$this->load->model("localisation/language");
goto WKTYB;
qlXn1:
if (!empty($this->session->data["gcapcha"])) {
goto hewsd;
}
goto F8_Xc;
yf_ON:
OSsPV:
goto i7aGO;
AvYZ4:
if (!($login_info && $login_info["total"] >= $this->config->get("config_login_attempts") && strtotime("-1 hour") < strtotime($login_info["date_modified"]))) {
goto FRh7M;
}
goto R3keR;
l0PhV:
if ($isPhone) {
goto pdRhQ;
}
goto u5O8N;
Zj_IX:
goto Y2KeG;
goto Dluyw;
W_cYo:
$this->error["warning"] = $this->language->get("error_login_phone");
goto jTkhN;
zToFw:
$find = array("{email}", "{resend}");
goto CCNI5;
BQAKr:
RmwIX:
goto y_2sc;
N6w95:
$password = $this->request->post["password"] ? $this->request->post["email"] : '';
goto gNhrB;
gr1VV:
$this->error["warning"] = html_entity_decode($msg);
goto XCs18;
xfWVG:
$this->request->post["email"] = $email;
goto PbpoH;
TPrP1:
$isPhone = false;
goto xfWVG;
ys7d0:
ZojhH:
goto FLh4s;
FiJLX:
if ($this->error) {
goto WTOaC;
}
goto n4jPK;
u5O8N:
$customer_info = $this->model_account_customer->getCustomerByEmail($this->request->post["email"]);
goto oXBeH;
PbpoH:
Y2KeG:
goto ys7d0;
XkJ8e:
if ($email) {
goto QG1_H;
}
goto qRiEE;
ybcUD:
ODUoY:
goto X0zdw;
ywsb4:
jPsx7:
goto WzofD;
kFzjl:
$this->model_account_customer->deleteLoginAttempts($this->request->post["email"]);
goto ZuOmj;
WzofD:
pdRhQ:
goto FiJLX;
ALF3h:
$re = "/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/m";
goto hR4oP;
ZJ75J:
$language_id = $languages[$defaultLanguage]["language_id"];
goto NoGS3;
VkTHK:
$defaultLanguage = $this->config->get("config_language");
goto ZJ75J;
R_41D:
if (!(isset($this->request->post["type"]) && $this->request->post["type"] == "telephone")) {
goto byKcd;
}
goto W_cYo;
lgd8p:
$this->error["warning"] = $this->language->get("error_login");
goto R_41D;
jTkhN:
byKcd:
goto Oa251;
BDm8b:
if ($recaptcha["success"]) {
goto kpu5l;
}
goto rbzm0;
n4jPK:
if ($isPhone) {
goto OSsPV;
}
goto fQj3H;
i7aGO:
$logged = $this->customer->loginByPhone($this->request->post["email"], $this->request->post["password"]);
goto tsw7K;
ZFP_U:
$email = $this->request->post["email"] ? $this->request->post["email"] : '';
goto N6w95;
Mu2u3:
if ($this->config->get("module_hp_social_login_email_status")) {
goto ODUoY;
}
goto G9FkX;
Oa251:
$this->model_account_customer->addLoginAttempt($this->request->post["email"]);
goto Wtdof;
rbzm0:
$this->error["warning"] = $this->language->get("error_captcha");
goto HpfQx;
Fqk0U:
return false;
goto YJaws;
etjeJ:
hewsd:
goto BQAKr;
E6FJm:
$this->session->data["gcapcha"] = true;
goto FPZR3;
E1Ut3:
$email = $this->model_extension_module_phone_verification->getEmailByPhone($this->request->post["email"]);
goto XkJ8e;
vPgKC:
FRh7M:
goto l0PhV;
xMH9k:
goto IHDP7;
goto yf_ON;
gDA1P:
if (!$logged) {
goto RgSrP;
}
goto kFzjl;
NoGS3:
$template = $this->config->get("module_hp_social_login_email_verification_text_" . $language_id);
goto zToFw;
Qh0G7:
$this->load->language("extension/module/hp_social_login");
goto lgd8p;
eaAmz:
RgSrP:
goto Qh0G7;
rQAZn:
dB312:
goto v_s9l;
oXBeH:
if (!($customer_info && !$customer_info["status"])) {
goto jPsx7;
}
goto Mu2u3;
tsw7K:
IHDP7:
goto gDA1P;
fQj3H:
$logged = $this->customer->login($this->request->post["email"], $this->request->post["password"]);
goto xMH9k;
REnLQ:
$this->load->model("extension/module/phone_verification");
goto E1Ut3;
FLh4s:
if (!$this->config->get("module_hp_social_login_captcha_status")) {
goto RmwIX;
}
goto qlXn1;
G9FkX:
$this->error["warning"] = $this->language->get("error_approved");
goto deE3i;
R3keR:
$this->error["warning"] = $this->language->get("error_attempts");
goto vPgKC;
y_2sc:
$login_info = $this->model_account_customer->getLoginAttempts($this->request->post["email"]);
goto AvYZ4;
CCNI5:
$replace = array("email" => $this->request->post["email"], "resend" => $this->url->link("extension/module/email_verification/resend", "email=" . $customer_info["email"], true));
goto sGQ0U;
WKTYB:
$languages = $this->model_localisation_language->getLanguages();
goto VkTHK;
I9zd7:
$this->error["warning"] = $this->language->get("error_captcha");
goto rQAZn;
deE3i:
goto cDe3O;
goto ybcUD;
sGQ0U:
$msg = str_replace(array("\xd\xa", "
", "
"), '', preg_replace(array("/\s\s+/", "/\xd\xd+/", "/\xa
+/"), '', trim(str_replace($find, $replace, $template))));
goto gr1VV;
Dluyw:
QG1_H:
goto TPrP1;
gNhrB:
if (!($email == '' || $password == '')) {
goto wrUd1;
}
goto QhG_a;
syep4:
$recaptcha = json_decode($recaptcha, true);
goto BDm8b;
YJaws:
wrUd1:
goto G1NJX;
kChrY:
return !$this->error;
goto O90zR;
O90zR:
}
public function template($onlyButton = false)
{
goto Oy3jW;
DbixS:
$redirect_url = $this->url->link("extension/module/hp_social_login/facebook", '', true);
goto AOeI6;
M467_:
$data["redirect"] = $this->session->data["redirect"];
goto m7lZO;
iiKsa:
$popup_banner_image = $this->config->get("module_hp_social_login_popup_banner_image");
goto eXzDL;
PnGVy:
return null;
goto ktxgy;
L4jMh:
P_V6i:
goto XwiOk;
PebNX:
$data["redirect"] = $this->request->post["redirect"];
goto UXhhs;
Xk1DN:
$data["side_banner_image"] = $this->model_tool_image->resize($this->config->get("module_hp_social_login_side_banner_image"), 354, 354);
goto s5BS_;
xCbzJ:
$data["error_lastname"] = '';
goto Kr1iP;
Xtwf5:
$data["error_warning"] = $this->error["warning"];
goto Hl4Ba;
JpwEE:
$data["store_logo"] = $this->model_tool_image->resize($this->config->get("config_logo"), 135, 35);
goto ZvY2D;
P5lZO:
$data["error_vendor_name"] = '';
goto WFzj7;
qpm3n:
$data["journal_status"] = 0;
goto WIF8a;
PAZcB:
Ihlca:
goto mLK1x;
Pyi82:
$side_banner_image = $this->config->get("module_hp_social_login_side_banner_image");
goto zSbwP;
Kr1iP:
goto H24vd;
goto v_2Q2;
WW_G1:
return $this->load->view("extension/module/hp_social_login_popup", $data);
goto bSBoH;
rSSGr:
tTljj:
goto EsyyM;
et4WE:
goto bjOMG;
goto Vkaly;
MQVh5:
$data["error_firstname"] = $this->error["firstname"];
goto bfz6C;
rKezE:
$data["error_telephone"] = '';
goto MTD7u;
oVB3H:
$this->load->model("extension/module/hp_social_login");
goto GGFvF;
CWd5Y:
ZVBwu:
goto JUj1C;
cdezz:
$data["popup_banner_image"] = $this->model_tool_image->resize($popup_banner_image, 354, 354);
goto w2pYm;
lcQc8:
return $this->load->view("extension/module/hp_social_login_button", $data);
goto uZdcY;
jTuUq:
OnPob:
goto ZQdMR;
Oy3jW:
$this->load->language("account/hp_social_login");
goto vHRiV;
jV1xj:
N5w40:
goto Xacyy;
XKYmy:
$data["text_subscription"] = $this->config->get("module_hp_social_login_subscription_text_" . $this->config->get("config_language_id"));
goto VwsO4;
A9_dy:
if (!($this->config->get("module_hp_social_login_status") && !($this->isWebview() && $this->config->get("module_hp_social_login_hide_on_mobile_google")))) {
goto siPfE;
}
goto RAX7n;
BIbfI:
$data["store_country"] = array();
goto V0qxl;
n9Zrh:
Xxb5b:
goto x9AE_;
nsyQx:
NXg4i:
goto AVmSk;
rJ7aw:
goto IJOgl;
goto ux9KO;
OBXao:
foreach ($this->config->get("config_customer_group_display") as $customer_group_id) {
$customer_groups[] = $this->model_account_customer_group->getCustomerGroup($customer_group_id);
YYyhD:
}
goto n4o5S;
ZQdMR:
$data["journal_status"] = JOURNAL3_ACTIVE;
goto m8SeU;
PCdpX:
$data["register"] = $this->url->link("extension/module/hp_social_login/registerEmail", '', true);
goto wUMvT;
n8sSC:
$data["action"] = $this->url->link("extension/module/hp_social_login/login", '', true);
goto PCdpX;
HeKOr:
KL3Za:
goto sjBHS;
CK3cp:
$data["phone_max_length"] = $this->config->get("module_hp_social_login_maximum_phone_number");
goto fQegR;
cdSPF:
$data["modal_login_register"] = $this->config->get("module_hp_social_login_dedicated_login_register");
goto Vc6Wx;
JUj1C:
if (isset($this->error["confirm_vendor"])) {
goto FLHbj;
}
goto KIx3x;
KIx3x:
$data["error_confirm_vendor"] = '';
goto SUu2r;
Rm0s_:
H24vd:
goto yxWjj;
Afv1f:
jSha4:
goto A6R6d;
jJm3_:
if ($this->config->get("module_hp_social_login_popup_theme") == "1") {
goto fHWGg;
}
goto RryyE;
sbHXW:
if (isset($this->error["telephone"])) {
goto N5w40;
}
goto rKezE;
bfz6C:
zONbF:
goto ec6Ln;
VrsOR:
$data["strict_password"] = $this->config->get("module_hp_social_login_strict_password");
goto XKYmy;
q5kzI:
$data["captcha_status"] = $this->config->get("module_hp_social_login_captcha_status");
goto pag0a;
B64Yc:
n4zTk:
goto JudtR;
AOeI6:
$state = rand(0, 199999);
goto OkmA1;
wBjWu:
$data["google"] = "https://accounts.google.com/o/oauth2/v2/auth?" . http_build_query($param);
goto Byp2u;
rz3S_:
$data["error_warning"] = '';
goto vn6e7;
Wwrmf:
$logged = $this->customer->login($decrypted_email, '', true);
goto gu3JB;
EB11c:
$this->load->library("linelogin");
goto GHNZs;
lxRqV:
$data["dedicated_login_register"] = 0;
goto qHmWp;
bQ49k:
g8CFS:
goto VwG5x;
tbUXM:
goto xJ2Zu;
goto KI6SU;
NIuY5:
wR52c:
goto MQVh5;
fQegR:
$data["error_phone_max_length"] = sprintf($this->language->get("error_phone_max_length"), $this->config->get("module_hp_social_login_maximum_phone_number"));
goto yNlV9;
IV9Uv:
Q8fQT:
goto oVB3H;
UDnqg:
$data["route"] = isset($this->request->get["route"]) ? $this->request->get["route"] : '';
goto n8sSC;
SUu2r:
goto Ihlca;
goto OGGsG;
V64n8:
G9e5j:
goto Xtwf5;
Q23D6:
$data["line_thumb"] = $this->model_tool_image->resize("line.png", 20, 20);
goto j9fas;
YpFi2:
$this->load->model("account/customer");
goto lf1Gy;
VwsO4:
if (!$data["facebook_login"]) {
goto NXg4i;
}
goto p5Ttp;
gZgNK:
$data["google_client_id"] = $this->config->get("module_hp_social_login_google_client");
goto N67QX;
yNlV9:
if ($this->config->get("module_hp_social_login_dedicated_login_register") == "0" && $this->config->get("module_hp_social_login_popup_theme") == "1") {
goto A2O0C;
}
goto lKSyF;
RryyE:
return $this->load->view("extension/module/hp_social_login_side_popup", $data);
goto adrSx;
s5BS_:
TCASP:
goto ZtwFa;
Byp2u:
aXMxJ:
goto RK5_A;
fEty5:
$data["store_country"] = $this->model_extension_module_hp_social_login->getStoreCountry($country_id);
goto L4jMh;
CZHei:
$customer_groups = array();
goto qMkau;
LwN0M:
$data["color_scheme"] = $this->config->get("module_hp_social_login_color_scheme");
goto W1vPq;
A6R6d:
$data["error_vendor_name"] = $this->error["vendor_name"];
goto CWd5Y;
JudtR:
TXtqm:
goto A9_dy;
fnW5v:
if (isset($this->error["confirm"])) {
goto Wnqk3;
}
goto RhbTA;
TvAvu:
v34Mu:
goto cNtUg;
ATYRo:
$data["phone_country"] = array();
goto FCyK7;
Fm62_:
$data["dedicated_login_register"] = $this->config->get("module_hp_social_login_dedicated_login_register");
goto rJ7aw;
kGauX:
$data["facebook_handler"] = $this->url->link("extension/module/hp_social_login/facebook", '', true);
goto nsyQx;
RhbTA:
$data["error_confirm"] = '';
goto qUXNI;
hqDRO:
$this->load->model("account/customer_group");
goto OBXao;
x9AE_:
$data["email_status"] = $this->config->get("module_hp_social_login_email_status");
goto dLEzp;
C73JI:
goto TGnEB;
goto xJ2DL;
Vc6Wx:
if (!$onlyButton) {
goto rcW86;
}
goto lcQc8;
xhz2v:
$data["error_lastname"] = $this->error["lastname"];
goto Rm0s_;
ktmQ4:
goto t9BDl;
goto rwhPS;
dmJB9:
$data["poco_theme_status"] = $this->config->get("maza_status");
goto Ot8zf;
lf1Gy:
$this->response->redirect($this->url->link("account/account", '', true));
goto B64Yc;
Hl4Ba:
DFaxG:
goto sBzwx;
p5Ttp:
$facebook_app_id = $this->config->get("module_hp_social_login_facebook_app_id");
goto DbixS;
Xacyy:
$data["error_telephone"] = $this->error["telephone"];
goto hPeSq;
OkmA1:
$scopes = array("email");
goto jj9sf;
MTD7u:
goto p2_i5;
goto jV1xj;
dIUJa:
t9BDl:
goto et4WE;
dLEzp:
$data["forgotten"] = sprintf($this->language->get("text_forgot"), $this->url->link("account/forgotten", '', true));
goto q5kzI;
mLK1x:
if (isset($this->request->post["redirect"]) && (strpos($this->request->post["redirect"], $this->config->get("config_url")) !== false || strpos($this->request->post["redirect"], $this->config->get("config_ssl")) !== false)) {
goto vke_j;
}
goto kZ2Tq;
F8Xw9:
$data["error_confirm_vendor"] = $this->error["confirm_vendor"];
goto PAZcB;
evgi4:
siPfE:
goto PnGVy;
vn6e7:
goto DFaxG;
goto V64n8;
uZdcY:
goto aynyu;
goto Gdf1B;
e1oio:
$data["error_email"] = '';
goto tbUXM;
adrSx:
goto LRynR;
goto NVe0d;
fWpXa:
xJ2Zu:
goto sbHXW;
DGC2N:
if ($this->config->get("module_hp_social_login_phone_country")) {
goto tTljj;
}
goto ATYRo;
m7lZO:
BzVC1:
goto C73JI;
FIFwA:
goto He_lO;
goto bQ49k;
zSbwP:
if (!($side_banner_image && is_file(DIR_IMAGE . $side_banner_image))) {
goto TCASP;
}
goto Xk1DN;
yiPEq:
goto zONbF;
goto NIuY5;
WoT7D:
if ($this->config->get("config_country_id") && $shipping_bundle == 0) {
goto v34Mu;
}
goto BIbfI;
Ot8zf:
$data["social_login"] = $this->config->get("module_hp_social_login_status");
goto cdSPF;
m8SeU:
QpL4q:
goto DGC2N;
iQ5lc:
$data["sms_login"] = $this->config->get("module_hp_social_login_sms_status");
goto VrsOR;
vBsUn:
$data["popup_banner_image"] = $this->model_tool_image->resize("image/catalog/hpasl-login.jpg", 354, 354);
goto wSlaQ;
hGHNO:
if (defined("JOURNAL3_ACTIVE")) {
goto OnPob;
}
goto qpm3n;
AVmSk:
if (!$data["google_login"]) {
goto aXMxJ;
}
goto riomP;
uyuMq:
$data["redirect"] = "https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
goto PJ4nA;
GHNZs:
$this->load->model("tool/image");
goto Q23D6;
XwiOk:
$data["vendor_status"] = $this->model_extension_module_hp_social_login->checkMarketplace();
goto Hj5je;
teTfD:
$this->document->addScript("catalog/view/javascript/jquery.validate.min.js");
goto CZHei;
qHmWp:
IJOgl:
goto Vceqg;
o_K_x:
$this->load->model("tool/image");
goto JpwEE;
ExB2P:
return $this->load->view("extension/module/hp_social_login_popup", $data);
goto TkUT3;
ksrz2:
$data["disable_email_verification"] = $this->config->get("module_hp_social_login_disable_email_verification");
goto md8T1;
EsyyM:
$data["phone_country"] = $this->config->get("module_hp_social_login_phone_country");
goto n9Zrh;
jj9sf:
$data["facebook"] = "https://www.facebook.com/v5.0/dialog/oauth?client_id=" . $facebook_app_id . "&redirect_uri=" . urlencode($redirect_url) . "&state=" . urlencode(json_encode($state)) . "&response_type=token&scope=" . implode(",", $scopes);
goto kGauX;
hPeSq:
p2_i5:
goto rPxAM;
UXhhs:
TGnEB:
goto hGHNO;
qUXNI:
goto E2MeE;
goto iANGg;
ITiqe:
E2MeE:
goto MI9WI;
vHRiV:
if (!(isset($this->request->cookie["USR"]) && !$this->customer->isLogged())) {
goto TXtqm;
}
goto iRW13;
RK5_A:
if (!$data["line_login"]) {
goto KL3Za;
}
goto EB11c;
GbNm6:
gLz_y:
goto cdezz;
rPxAM:
if (isset($this->error["password"])) {
goto g8CFS;
}
goto azT7H;
uyoQu:
He_lO:
goto fnW5v;
FCyK7:
goto Xxb5b;
goto rSSGr;
qMkau:
if (!($this->config->get("config_customer_group_display") && count($this->config->get("config_customer_group_display")) > 1)) {
goto VHowg;
}
goto hqDRO;
ZtwFa:
$data["facebook_login"] = $this->config->get("module_hp_social_login_facebook_status");
goto JCAOo;
v_2Q2:
POFCf:
goto xhz2v;
lVZec:
return $this->load->view("extension/module/hp_social_login_side_popup", $data);
goto ktmQ4;
kVKBt:
$data["error_email"] = $this->error["email"];
goto fWpXa;
TkUT3:
bjOMG:
goto Vq7z_;
gu3JB:
if (!$logged) {
goto n4zTk;
}
goto YpFi2;
WIF8a:
goto QpL4q;
goto jTuUq;
Wk9Er:
bXQHb:
goto M467_;
baKH9:
$data["error_firstname"] = '';
goto yiPEq;
VwG5x:
$data["error_password"] = $this->error["password"];
goto uyoQu;
bSBoH:
LRynR:
goto dIUJa;
Vceqg:
$data["register_url"] = $this->url->link("account/register", '', true);
goto UDnqg;
V0qxl:
goto P_V6i;
goto TvAvu;
yxWjj:
if (isset($this->error["email"])) {
goto tVWT8;
}
goto e1oio;
KOjiy:
$data["customer_groups"] = $customer_groups;
goto o_K_x;
md8T1:
$data["email_verification"] = $this->config->get("module_hp_social_login_always_send_verification");
goto p1OCu;
wUMvT:
$data["registerSMS"] = $this->url->link("extension/module/hp_social_login/registerSMS", '', true);
goto ksrz2;
MI9WI:
if (isset($this->error["vendor_name"])) {
goto jSha4;
}
goto P5lZO;
W1vPq:
if ($this->config->get("module_hp_social_login_disable_phone_verification") && $this->config->get("module_hp_social_login_disable_email_verification")) {
goto GwVU8;
}
goto Fm62_;
WFzj7:
goto ZVBwu;
goto Afv1f;
GGFvF:
$shipping_bundle = $this->config->get("module_bundle_preferred_shipping") ? 1 : 0;
goto WoT7D;
n4o5S:
tTN79:
goto Rvrdk;
rwhPS:
RNYHX:
goto jJm3_;
ZvY2D:
$data["side_banner_image"] = $this->model_tool_image->resize("image/catalog/hpasl-login-bg.jpg", 354, 354);
goto Pyi82;
iRW13:
$decrypted_email = $this->decrypt($this->request->cookie["USR"]);
goto Wwrmf;
azT7H:
$data["error_password"] = '';
goto FIFwA;
lKSyF:
if ($data["route"] == "extension/module/hp_social_login/getSocialButton" || $data["route"] == "checkout/checkout") {
goto RNYHX;
}
goto lVZec;
pag0a:
$data["google_sitekey"] = $this->config->get("captcha_google_key");
goto LwN0M;
p1OCu:
if ($this->config->get("module_hp_social_login_hide_popup_banner")) {
goto Q8fQT;
}
goto iiKsa;
OGGsG:
FLHbj:
goto F8Xw9;
JCAOo:
$data["google_login"] = $this->config->get("module_hp_social_login_google_status");
goto cs0tH;
ec6Ln:
if (isset($this->error["lastname"])) {
goto POFCf;
}
goto xCbzJ;
Vkaly:
A2O0C:
goto ExB2P;
wSlaQ:
goto hZyaN;
goto GbNm6;
N67QX:
$data["google_handler"] = $this->url->link("extension/module/hp_social_login/google", '', true);
goto wBjWu;
riomP:
$param = array("client_id" => $this->config->get("module_hp_social_login_google_client"), "redirect_uri" => $this->url->link("extension/module/hp_social_login/google", '', true), "scope" => "profile email", "response_type" => "code");
goto gZgNK;
sjBHS:
if (isset($this->error["warning"])) {
goto G9e5j;
}
goto rz3S_;
Gdf1B:
rcW86:
goto CK3cp;
Rvrdk:
VHowg:
goto KOjiy;
eXzDL:
if ($popup_banner_image && is_file(DIR_IMAGE . $popup_banner_image)) {
goto gLz_y;
}
goto vBsUn;
Vq7z_:
aynyu:
goto evgi4;
PJ4nA:
goto BzVC1;
goto Wk9Er;
Hj5je:
$data["vendor_confirm"] = $this->config->get("vendor_color_scheme");
goto dmJB9;
cs0tH:
$data["line_login"] = $this->config->get("module_hp_social_login_line_status");
goto iQ5lc;
kZ2Tq:
if (isset($this->session->data["redirect"])) {
goto bXQHb;
}
goto uyuMq;
KI6SU:
tVWT8:
goto kVKBt;
w2pYm:
hZyaN:
goto IV9Uv;
sBzwx:
if (isset($this->error["firstname"])) {
goto wR52c;
}
goto baKH9;
cf0Qv:
$data["error_confirm"] = $this->error["confirm"];
goto ITiqe;
j9fas:
$data["line"] = $this->linelogin->getLink(7);
goto HeKOr;
NVe0d:
fHWGg:
goto WW_G1;
RAX7n:
$this->load->language("extension/module/hp_social_login");
goto teTfD;
ux9KO:
GwVU8:
goto lxRqV;
iANGg:
Wnqk3:
goto cf0Qv;
cNtUg:
$country_id = $this->config->get("config_country_id");
goto fEty5;
xJ2DL:
vke_j:
goto PebNX;
ktxgy:
}
public function generateRandomString($length = 6)
{
goto JMAy2;
Ysgk5:
$randomString = '';
goto zd9El;
GmaqG:
aXjMs:
goto IX0J3;
mEl1m:
$charactersLength = strlen($characters);
goto Ysgk5;
JMAy2:
$characters = "0123456789abcdefghijklmnopqrstuvwxyz";
goto mEl1m;
Wg1rG:
cRpDj:
goto Pe4qC;
IX0J3:
$i++;
goto LHpjB;
LHpjB:
goto ymvP6;
goto Wg1rG;
vVs2E:
if (!($i < $length)) {
goto cRpDj;
}
goto v4PVV;
Pe4qC:
return $randomString;
goto keZy0;
v4PVV:
$randomString .= $characters[rand(0, $charactersLength - 1)];
goto GmaqG;
zd9El:
$i = 0;
goto WJ8oZ;
WJ8oZ:
ymvP6:
goto vVs2E;
keZy0:
}
public function registerEmail()
{
goto nh2NZ;
e64j8:
unset($this->session->data["hpaa"]);
goto PTC0h;
bZZwq:
f_QQP:
goto pNm19;
GpXdl:
$this->session->data["customer_email"] = $this->request->post["email"];
goto wqcoX;
SS4bp:
$json["error"] = $this->error;
goto Cll5g;
BqEmP:
$this->verification($customer_id);
goto pyYwD;
uYZ4L:
$data_customer = $this->request->post;
goto rx1ER;
nh2NZ:
$this->load->model("account/customer");
goto XYFos;
cM7Sl:
goto rRirf;
goto SyPVd;
sCllc:
unset($this->session->data["guest"]);
goto cM7Sl;
SmpLY:
$json["redirect"] = $this->url->link("account/success");
goto tvTb0;
hFPL6:
if (!isset($this->session->data["customer_discount"])) {
goto NzZe9;
}
goto YP3_C;
SBavj:
if (!$this->config->get("module_hp_social_login_redirect")) {
goto W99Qu;
}
goto rDf2d;
O8qBo:
LvLmN:
goto ClzFC;
trNzK:
$this->db->query("UPDATE `" . DB_PREFIX . "customer` SET status='1' WHERE customer_id = '" . (int) $customer_id . "' ");
goto d89Iq;
XYFos:
$this->load->language("account/register");
goto jfZRU;
YMt6w:
$data_customer["firstname"] = reset($fullname);
goto hZwPa;
Ac7rg:
$json["status"] = true;
goto uYZ4L;
Cll5g:
VwqzT:
goto cQ3R8;
hZwPa:
$data_customer["lastname"] = implode(" ", array_slice($fullname, 1));
goto xgV_g;
wqcoX:
if ($this->config->get("module_hp_social_login_always_send_verification") && $this->config->get("module_hp_social_login_disable_email_verification")) {
goto qW0xc;
}
goto trNzK;
ClzFC:
$json["redirect"] = $this->session->data["redirect"];
goto PLy3X;
jfZRU:
$this->load->language("account/hp_social_login");
goto tl2kt;
PTC0h:
kY3HS:
goto hFPL6;
pyYwD:
rRirf:
goto RXATU;
SIeC7:
$this->response->setOutput(json_encode($json));
goto LGID2;
cQ3R8:
$this->response->addHeader("Content-Type: application/json");
goto SIeC7;
Fy5Bk:
zu0ID:
goto SBavj;
ePd8A:
NzZe9:
goto fEb8Z;
d89Iq:
$this->db->query("DELETE FROM " . DB_PREFIX . "customer_verification WHERE customer_id = '" . (int) $customer_id . "'");
goto pzJrn;
pzJrn:
$this->customer->login($this->request->post["email"], $this->request->post["password"]);
goto sCllc;
kKgWx:
unset($this->session->data["gcapcha"]);
goto Ac7rg;
rh6AN:
$data_customer["customer_group_id"] = $this->config->get("module_hp_social_login_customer_group");
goto BoX0P;
no3qd:
W99Qu:
goto bZZwq;
pNm19:
if (empty($this->error)) {
goto VwqzT;
}
goto SS4bp;
BoX0P:
$customer_id = $this->model_account_customer->addCustomer($data_customer);
goto Q8qI9;
bUvmd:
if (isset($this->session->data["redirect"])) {
goto LvLmN;
}
goto SmpLY;
rx1ER:
$fullname = array_filter(explode(" ", $this->request->post["fullname"]));
goto YMt6w;
SyPVd:
qW0xc:
goto BqEmP;
PLy3X:
unset($this->session->data["redirect"]);
goto Fy5Bk;
Q8qI9:
$this->model_account_customer->deleteLoginAttempts($this->request->post["email"]);
goto GpXdl;
xgV_g:
$data_customer["telephone"] = '';
goto rh6AN;
RnrA0:
if (!($this->request->server["REQUEST_METHOD"] == "POST" && $this->validateRegisterEmail())) {
goto f_QQP;
}
goto kKgWx;
fEb8Z:
ddAiC:
goto bUvmd;
P4MWO:
if (!isset($this->session->data["hpaa"])) {
goto kY3HS;
}
goto e64j8;
tvTb0:
goto zu0ID;
goto O8qBo;
rDf2d:
$json["redirect"] = $this->url->link("common/home", '', true);
goto no3qd;
RXATU:
if (!(!$this->config->get("hpaa_comission_amount_after_status") && !$this->config->get("hpaa_customer_discount_after_status"))) {
goto ddAiC;
}
goto P4MWO;
tl2kt:
$json["status"] = false;
goto RnrA0;
YP3_C:
unset($this->session->data["customer_discount"]);
goto ePd8A;
LGID2:
}
protected function verification($customer_id)
{
goto J19TC;
enT6Y:
$mail->send();
goto RVVp6;
B3F8C:
$replace = array("firstname" => $customer_info["firstname"], "lastname" => $customer_info["lastname"], "store_name" => $this->config->get("config_name"), "store_email" => $this->config->get("config_email"), "store_telephone" => $this->config->get("config_telephone"), "store_address" => $this->config->get("config_address"), "store_logo" => $store_logo, "store_url" => HTTPS_SERVER, "email-link" => $this->url->link("extension/module/email_verification", '', true) . "&v=" . $code);
goto X6nb6;
uC946:
$mail->setFrom($this->config->get("config_email"));
goto T5EMP;
HA1Gs:
$mail = new Mail($this->config->get("config_mail_engine"));
goto lEtzt;
T5EMP:
$mail->setSender(html_entity_decode($this->config->get("config_name"), ENT_QUOTES, "UTF-8"));
goto e60oN;
CA_sf:
$this->load->model("localisation/language");
goto jCP85;
QwT2a:
$this->db->query("DELETE FROM " . DB_PREFIX . "customer_verification WHERE customer_id = '" . (int) $customer_id . "'");
goto IqVPW;
cX4z_:
$isHtml = true;
goto bYxyn;
nZ6gg:
$mail->smtp_username = $this->config->get("config_mail_smtp_username");
goto tEviR;
bYxyn:
$emailContent = $this->load->view("mail/register_1", $data);
goto YP5a_;
IqVPW:
$this->db->query("INSERT INTO " . DB_PREFIX . "customer_verification SET customer_id = '" . (int) $customer_id . "', code = '" . $code . "'");
goto CA_sf;
nchlb:
wjljZ:
goto USPSn;
syEeZ:
$isHtml = false;
goto E4auY;
t93Lf:
GM2Vn:
goto M4dQ7;
qshVu:
$mail->setText($emailContent);
goto CCAV0;
dhuSp:
$emailContent = '';
goto syEeZ;
E4auY:
if ($this->config->get("module_hp_social_login_email_status")) {
goto GM2Vn;
}
goto A63YR;
QqL5x:
$data["text_service"] = $this->language->get("text_service");
goto EdQ0x;
OrBoq:
$language_id = $languages[$defaultLanguage]["language_id"];
goto tag9b;
tag9b:
$template = $this->config->get("module_hp_social_login_email_message_text_" . $language_id);
goto vLMe2;
jCP85:
$languages = $this->model_localisation_language->getLanguages();
goto P76VS;
l0K2t:
$emailContent = $this->load->view("mail/register", $data);
goto nTO4Y;
jcx1l:
$mail->smtp_port = $this->config->get("config_mail_smtp_port");
goto cHxWl;
lEtzt:
$mail->parameter = $this->config->get("config_mail_parameter");
goto Xo62L;
ii8ZF:
$customer_info = @$this->model_account_customer->getCustomer($customer_id);
goto iUL8m;
fa17w:
$find = array("{firstname}", "{lastname}", "{store_name}", "{store_email}", "{store_telephone}", "{store_address}", "{store_logo}", "{store_url}", "{email-link}");
goto B3F8C;
J19TC:
$this->load->model("account/customer");
goto ii8ZF;
nTO4Y:
goto Y12En;
goto t93Lf;
M4dQ7:
$code = md5($customer_id . ":" . rand());
goto QwT2a;
iUL8m:
$email = $customer_info["email"];
goto UUrnL;
EdQ0x:
$data["text_thanks"] = $this->language->get("text_thanks");
goto WN4hp;
Xo62L:
$mail->smtp_hostname = $this->config->get("config_mail_smtp_hostname");
goto nZ6gg;
ewW9U:
$data["store"] = html_entity_decode($this->config->get("config_name"), ENT_QUOTES, "UTF-8");
goto l0K2t;
vLMe2:
$store_logo = HTTPS_SERVER . "image/" . $this->config->get("config_logo");
goto fa17w;
eVIzK:
$data["text_login"] = $this->language->get("text_login");
goto Jtf5U;
tEviR:
$mail->smtp_password = html_entity_decode($this->config->get("config_mail_smtp_password"), ENT_QUOTES, "UTF-8");
goto jcx1l;
USPSn:
$mail->setHtml($emailContent);
goto kNo5s;
kNo5s:
cLxvb:
goto enT6Y;
Jtf5U:
$data["text_approval"] = $this->language->get("text_approval");
goto QqL5x;
c8EVY:
$data["content"] = html_entity_decode($msg);
goto cX4z_;
OnSZ2:
if ($isHtml) {
goto wjljZ;
}
goto qshVu;
P76VS:
$defaultLanguage = $this->config->get("config_language");
goto OrBoq;
CCAV0:
goto cLxvb;
goto nchlb;
X6nb6:
$msg = str_replace($find, $replace, $template);
goto c8EVY;
A63YR:
$data["text_welcome"] = sprintf($this->language->get("text_welcome"), html_entity_decode($this->config->get("config_name"), ENT_QUOTES, "UTF-8"));
goto eVIzK;
YP5a_:
Y12En:
goto HA1Gs;
fFbK3:
$mail->setTo($email);
goto uC946;
WN4hp:
$data["login"] = $this->url->link("account/login", '', true);
goto ewW9U;
UUrnL:
$this->load->language("mail/register");
goto dhuSp;
cHxWl:
$mail->smtp_timeout = $this->config->get("config_mail_smtp_timeout");
goto fFbK3;
e60oN:
$mail->setSubject(sprintf($this->language->get("text_subject"), html_entity_decode($this->config->get("config_name"), ENT_QUOTES, "UTF-8")));
goto OnSZ2;
RVVp6:
}
public function registerSMS()
{
goto hP4pm;
uX2nI:
$this->model_account_customer->addCustomer($customer);
goto c75Xc;
eD9I7:
if (!($this->request->server["REQUEST_METHOD"] == "POST" && $this->validateRegisterSMS())) {
goto WgP7J;
}
goto chxia;
pMHFd:
WgP7J:
goto l7YZU;
sSRVn:
if (!$this->config->get("module_hp_social_login_redirect")) {
goto CuI9h;
}
goto eGQ3M;
lm18r:
$this->response->addHeader("Content-Type: application/json");
goto o2zdt;
A2SiY:
$json["status"] = false;
goto eD9I7;
RDfaq:
zMTLJ:
goto lm18r;
l7YZU:
if (empty($this->error)) {
goto zMTLJ;
}
goto X4xgI;
c75Xc:
$this->customer->loginByPhone($customer["telephone"], '', true);
goto sSRVn;
i7h2H:
$json["redirect"] = $this->url->link("account/success");
goto pMHFd;
hP4pm:
$this->load->model("account/customer");
goto A2SiY;
ONgWP:
CuI9h:
goto i7h2H;
UAEzO:
unset($this->session->data["gcapcha"]);
goto A8ZxR;
chxia:
$json["status"] = true;
goto UAEzO;
o2zdt:
$this->response->setOutput(json_encode($json));
goto NnCEM;
A8ZxR:
$customer = array("firstname" => '', "lastname" => '', "email" => '', "newsletter" => $this->request->post["newsletter"], "telephone" => $this->request->post["country_code"] . " " . $this->request->post["telephone"], "password" => $this->request->post["password"]);
goto uX2nI;
X4xgI:
$json["error"] = $this->error;
goto RDfaq;
eGQ3M:
$json["redirect"] = $this->url->link("common/home", '', true);
goto ONgWP;
NnCEM:
}
public function facebook()
{
goto YHka5;
ZnMT8:
$data["bank_swift_code"] = '';
goto KTqXl;
megDk:
$code = $this->request->get["acces_token"];
goto mEojs;
CL4aJ:
$this->saveSessionDataLayer("facebook");
goto GOo0G;
g0OR9:
$data["payment"] = '';
goto eNVmG;
hh9Va:
$data["company"] = '';
goto yFhYc;
mkJ9j:
nW32h:
goto k7IPN;
E9Wck:
Y54M2:
goto BZaeG;
UxgAh:
unset($this->session->data["redirect"]);
goto NqwnG;
GiaTA:
$customer_id = $this->model_account_customer->addCustomer($customer);
goto hdvCg;
o3kn1:
if (!$profile) {
goto InslO;
}
goto MyNdZ;
H5TYr:
goto SeO4t;
goto E9Wck;
qgHd9:
if (isset($this->request->get["acces_token"])) {
goto xhoEf;
}
goto Cd97A;
yyld5:
$this->saveSessionDataLayer("facebook");
goto wnWSe;
wzO_N:
$customer_info = $this->model_account_customer->getCustomerByEmail($profile["email"]);
goto b_SNI;
N5Ogm:
sZwun:
goto jnboS;
fm1tW:
UhPtF:
goto cU06_;
rlUPl:
$data["tax"] = '';
goto g0OR9;
wnWSe:
if ($this->checkRedirectUrl($this->session->data["redirect"])) {
goto UhPtF;
}
goto EJpao;
rfLhW:
goto kUR_z;
goto DOL8y;
Y2fmq:
uVleY:
goto yCsFU;
Upvby:
$this->request->post["firstname"] = $profile["first_name"];
goto QQ_wM;
geE5f:
$data["bank_account_number"] = '';
goto XngBj;
P3Dqd:
kUR_z:
goto eaQ_x;
ycG_T:
$this->response->redirect($this->url->link("account/login", '', true));
goto N9b0b;
b_SNI:
if ($customer_info) {
goto L3EwW;
}
goto z4R5P;
EJpao:
$this->session->data["redirect"] = HTTPS_SERVER;
goto fm1tW;
oGbOn:
$this->session->data["error"] = $this->error["warning"];
goto rgz8u;
eaQ_x:
goto D_WGd;
goto p5MnL;
Utvqg:
SeO4t:
goto nyStj;
SR4rA:
$this->model_account_customer->editPassword($customer_info["email"], $new_password);
goto Juczr;
XXpuO:
$this->response->redirect($redirect_uri);
goto Utvqg;
XRL45:
enQXM:
goto XXpuO;
yCsFU:
if ($this->validate($customer_info["email"])) {
goto Y54M2;
}
goto oGbOn;
nJ2EC:
$this->response->redirect($this->url->link("account/login", '', true));
goto UwckB;
NKNM4:
$this->request->post["password"] = base64_encode($password[0]) . "@" . base64_encode($password[1]);
goto zugB1;
nyDcq:
goto nW32h;
goto XxFAo;
EhAXg:
$this->response->redirect($redirect_uri);
goto P3Dqd;
XqUku:
$customer["password"] = $this->request->post["password"];
goto EVAx8;
qUtQA:
$this->completeLogin();
goto yyld5;
N9b0b:
UQZTj:
goto wzO_N;
k7IPN:
if (!isset($this->session->data["redirect"])) {
goto OOx11;
}
goto UxgAh;
TIYs1:
$this->session->data["redirect"] = $this->session->data["hpmim_redirect"];
goto noRcH;
cU06_:
if (isset($this->session->data["redirect"]) && $this->session->data["redirect"] != $this->url->link("account/logout", '', true) && (strpos($this->session->data["redirect"], $this->config->get("config_url")) !== false || strpos($this->session->data["redirect"], $this->config->get("config_ssl")) !== false)) {
goto y4E0F;
}
goto RRcC9;
XxFAo:
y4E0F:
goto T9EKz;
mEojs:
$profile = $this->model_extension_module_hp_social_login->getFbProfile($code);
goto o3kn1;
EVAx8:
xgVdT:
goto GiaTA;
YbYHm:
$data = $customer;
goto hh9Va;
DOL8y:
yd9U7:
goto qUtQA;
nyStj:
D_WGd:
goto NP_Zo;
Juczr:
$this->sendMail($customer_info["email"], "facebook");
goto WuUyz;
UwckB:
xhoEf:
goto M8k1Y;
XngBj:
$this->model_account_customer->addAffiliate($customer_id, $data);
goto N5Ogm;
YHka5:
if (!isset($this->session->data["hpmim_redirect"])) {
goto aZUOG;
}
goto TIYs1;
xUG6w:
InslO:
goto ycG_T;
M8k1Y:
$this->load->model("account/customer");
goto TDVq4;
MuRG0:
$this->model_account_customer->editPassword($customer["email"], $new_password);
goto XSix8;
BZaeG:
$this->completeLogin();
goto CL4aJ;
eNVmG:
$data["cheque"] = '';
goto yY4P2;
Z9QSC:
unset($this->session->data["redirect"]);
goto XRL45;
qkuSp:
xhY7H:
goto N1AWj;
XSix8:
$this->sendMail($customer["email"], "facebook");
goto qkuSp;
xMSGn:
$data["bank_branch_number"] = '';
goto ZnMT8;
T9EKz:
$redirect_uri = isset($this->session->data["redirect"]) ? $this->session->data["redirect"] : $this->url->link("account/account", '', true);
goto mkJ9j;
ECQEr:
if ($this->model_account_customer->checkLogin($customer_info["email"], $new_password)) {
goto lIuL5;
}
goto SR4rA;
MyNdZ:
$password = explode("@", $profile["email"]);
goto KF12f;
GOo0G:
$redirect_uri = isset($this->session->data["redirect"]) ? $this->session->data["redirect"] : $this->url->link("account/account", '', true);
goto Cc2zN;
RRcC9:
$redirect_uri = $this->url->link("account/account", '', true);
goto nyDcq;
n1wRe:
$this->session->data["error"] = $this->error["warning"];
goto X5TGI;
NqwnG:
OOx11:
goto EhAXg;
KF12f:
$this->request->post["email"] = $profile["email"];
goto Upvby;
X5TGI:
$this->response->redirect($this->url->link("account/login", '', true));
goto rfLhW;
zugB1:
goto UQZTj;
goto xUG6w;
KTqXl:
$data["bank_account_name"] = '';
goto geE5f;
YFYgi:
$data["bank_name"] = '';
goto xMSGn;
Gg3SB:
$new_password = base64_encode($customer_info["customer_id"] . "@" . $password[1]);
goto nyX0G;
p5MnL:
L3EwW:
goto Gg3SB;
rgz8u:
$this->response->redirect($this->url->link("account/login", '', true));
goto H5TYr;
yY4P2:
$data["paypal"] = '';
goto YFYgi;
noRcH:
aZUOG:
goto K7MLf;
hdvCg:
if (!($this->config->get("mta_ypx_status") && $customer_id)) {
goto sZwun;
}
goto YbYHm;
TDVq4:
$this->load->model("extension/module/hp_social_login");
goto megDk;
N1AWj:
if ($this->validate($customer["email"])) {
goto yd9U7;
}
goto n1wRe;
y7soQ:
$new_password = base64_encode($customer_id . "@" . $password[1]);
goto MuRG0;
V813c:
if (!$this->config->get("module_hp_social_login_send_credential_status")) {
goto xgVdT;
}
goto XqUku;
WuUyz:
lIuL5:
goto Y2fmq;
Cc2zN:
if (!isset($this->session->data["redirect"])) {
goto enQXM;
}
goto Z9QSC;
jnboS:
if (!$this->config->get("module_hp_social_login_send_credential_status")) {
goto xhY7H;
}
goto y7soQ;
yFhYc:
$data["website"] = '';
goto rlUPl;
nyX0G:
if (!$this->config->get("module_hp_social_login_send_credential_status")) {
goto uVleY;
}
goto ECQEr;
QQ_wM:
$this->request->post["lastname"] = $profile["last_name"];
goto NKNM4;
K7MLf:
$temp_redirect = '';
goto qgHd9;
Cd97A:
$temp_redirect = isset($this->session->data["redirect"]) ? $this->session->data["redirect"] : "a";
goto nJ2EC;
z4R5P:
$customer = array("firstname" => $profile["first_name"], "lastname" => $profile["last_name"], "email" => $profile["email"], "telephone" => '');
goto V813c;
NP_Zo:
}
public function google()
{
goto oCj3U;
xuFbC:
$this->response->redirect($this->url->link("account/login", '', true));
goto DdlVi;
w8AhB:
$redirect_uri = isset($this->session->data["redirect"]) ? $this->session->data["redirect"] : $this->url->link("account/account", '', true);
goto dHOPJ;
sAk1T:
$this->saveSessionDataLayer("google");
goto LHCal;
BbeAG:
$this->request->post["password"] = base64_encode($password[0]) . "@" . base64_encode($password[1]);
goto b_unp;
ue8Bn:
$this->session->data["error"] = $this->error["warning"];
goto TzG4b;
RtrDc:
if (!$this->config->get("module_hp_social_login_send_credential_status")) {
goto mrwhw;
}
goto gMDfd;
jaMUL:
if (isset($this->request->get["state"])) {
goto ETn3U;
}
goto ZbQzu;
LHCal:
if (isset($this->session->data["redirect"]) && $this->session->data["redirect"] != $this->url->link("account/logout", '', true) && (strpos($this->session->data["redirect"], $this->config->get("config_url")) !== false || strpos($this->session->data["redirect"], $this->config->get("config_ssl")) !== false)) {
goto wjWQR;
}
goto IxH3I;
bK4Wj:
c0uDO:
goto nkuEC;
ip7tT:
$redirect_uri = isset($this->session->data["redirect"]) ? $this->session->data["redirect"] : $this->url->link("account/account", '', true);
goto jKcan;
SfJ3F:
$this->response->redirect($redirect_uri);
goto ZKs32;
mD81i:
ltYBx:
goto W4v3k;
HSazn:
if ($customer_info) {
goto xyzQY;
}
goto EjVb6;
hN55T:
$data["cheque"] = '';
goto ynYzR;
U0k6z:
$code = $this->request->get["code"];
goto yi55q;
ULc0x:
if (isset($this->session->data["redirect"]) && $this->session->data["redirect"] != $this->url->link("account/logout", '', true) && (strpos($this->session->data["redirect"], $this->config->get("config_url")) !== false || strpos($this->session->data["redirect"], $this->config->get("config_ssl")) !== false)) {
goto xPY2e;
}
goto XBBvG;
xUfsK:
Mhjzk:
goto oKNIJ;
qanwK:
$this->load->model("account/customer");
goto qto0k;
guFLr:
hTPgx:
goto Mbczv;
qto0k:
$this->load->model("extension/module/hp_social_login");
goto U0k6z;
oCj3U:
if (!isset($this->session->data["hpmim_redirect"])) {
goto Ney0K;
}
goto Y0Ini;
g1nFp:
$this->session->data["redirect"] = HTTPS_SERVER;
goto i8AJD;
fjLPj:
$this->response->redirect($this->url->link("account/login", '', true));
goto MNB3q;
G5CbM:
xPY2e:
goto ip7tT;
IxH3I:
$redirect_uri = $this->url->link("account/account", '', true);
goto D4nsV;
BTnTH:
xyzQY:
goto fCii_;
Mbczv:
if (isset($this->request->get["state"])) {
goto GyBgg;
}
goto WjjRN;
KenIj:
vOKFl:
goto NDcb4;
tiu0l:
$this->response->redirect($this->url->link("account/login", '', true));
goto KenIj;
SmHqW:
if ($this->validate($customer_info["email"])) {
goto c0uDO;
}
goto ue8Bn;
TzG4b:
if (isset($this->request->get["state"])) {
goto vOKFl;
}
goto tiu0l;
W4v3k:
if (!$this->config->get("module_hp_social_login_send_credential_status")) {
goto KM35J;
}
goto jdD3t;
YWzzn:
$this->completeLogin();
goto sAk1T;
lOgnF:
$this->model_account_customer->editPassword($customer["email"], $new_password);
goto BY4Kp;
XBBvG:
$redirect_uri = $this->url->link("account/account", '', true);
goto GkvNl;
DAdQf:
$data = $customer;
goto yFc2R;
YaGId:
wjWQR:
goto w8AhB;
yTuLl:
$this->session->data["error"] = $this->error["warning"];
goto jaMUL;
WjjRN:
$this->response->redirect($redirect_uri);
goto ydTc2;
iHp6A:
GQksy:
goto fjLPj;
oKNIJ:
P4PdP:
goto nHIvb;
i8AJD:
a1Uds:
goto ULc0x;
ZbQzu:
$this->response->redirect($this->url->link("account/login", '', true));
goto dBjPp;
NYSFx:
$data["bank_branch_number"] = '';
goto Sj34w;
Kxz2q:
unset($this->session->data["redirect"]);
goto AmB61;
dIoPQ:
JNx8e:
goto srpro;
yZYRA:
if (!$profile) {
goto GQksy;
}
goto EG8Pa;
eRcJ_:
if (!($this->config->get("mta_ypx_status") && $customer_id)) {
goto ltYBx;
}
goto DAdQf;
nljIU:
PgixG:
goto YWzzn;
dBjPp:
ETn3U:
goto Q7Z7Q;
fCii_:
$new_password = base64_encode($customer_info["customer_id"] . "@" . $password[1]);
goto cxacs;
yi55q:
$profile = $this->model_extension_module_hp_social_login->getGoogleProfile($code);
goto mCCpX;
gFzWP:
if ($this->checkRedirectUrl($this->session->data["redirect"])) {
goto a1Uds;
}
goto g1nFp;
DdlVi:
KjjsT:
goto qanwK;
srpro:
goto P4PdP;
goto BTnTH;
VwqhA:
NSx2K:
goto SmHqW;
sDEK0:
mrwhw:
goto YVSj1;
D4nsV:
goto xlAld;
goto YaGId;
EjVb6:
$customer = array("firstname" => $profile["given_name"], "lastname" => $profile["family_name"], "email" => $profile["email"], "telephone" => '', "password" => $this->request->post["password"]);
goto RtrDc;
fmRMR:
if ($this->validate($customer["email"])) {
goto PgixG;
}
goto yTuLl;
HYV4m:
KM35J:
goto fmRMR;
jdD3t:
$new_password = base64_encode($customer_id . "@" . $password[1]);
goto lOgnF;
Ay3hL:
if (!isset($this->session->data["redirect"])) {
goto hTPgx;
}
goto Mq9cc;
PmIjc:
SfM56:
goto VwqhA;
BFdyy:
$data["bank_name"] = '';
goto NYSFx;
uxCdM:
$customer_info = $this->model_account_customer->getCustomerByEmail($profile["email"]);
goto HSazn;
dHOPJ:
xlAld:
goto q2nRA;
YVSj1:
$customer_id = $this->model_account_customer->addCustomer($customer);
goto eRcJ_;
MNB3q:
sD7j5:
goto uxCdM;
UzfuL:
$data["tax"] = '';
goto ClY6L;
AmB61:
nzZcZ:
goto T1ZZL;
nkuEC:
$this->completeLogin();
goto O1C1Q;
Mq9cc:
unset($this->session->data["redirect"]);
goto guFLr;
Q7Z7Q:
goto JNx8e;
goto nljIU;
oDkgI:
$data["bank_account_name"] = '';
goto xpaVR;
Sj34w:
$data["bank_swift_code"] = '';
goto oDkgI;
ClY6L:
$data["payment"] = '';
goto hN55T;
vLjOV:
$data["website"] = '';
goto UzfuL;
NDcb4:
goto Mhjzk;
goto bK4Wj;
lRnVR:
$this->sendMail($customer_info["email"]);
goto PmIjc;
gMDfd:
$customer["password"] = $this->request->post["password"];
goto sDEK0;
ydTc2:
GyBgg:
goto xUfsK;
T1ZZL:
if (isset($this->request->get["state"])) {
goto Y3mHa;
}
goto SfJ3F;
cxacs:
if (!$this->config->get("module_hp_social_login_send_credential_status")) {
goto NSx2K;
}
goto IbM3p;
xpaVR:
$data["bank_account_number"] = '';
goto LvBkQ;
nlUYj:
$this->request->post["firstname"] = $profile["given_name"];
goto CeFCS;
mCCpX:
$password = explode("@", $profile["email"]);
goto yZYRA;
rHkzS:
Ney0K:
goto ym_up;
O1C1Q:
$this->saveSessionDataLayer("google");
goto gFzWP;
yFc2R:
$data["company"] = '';
goto vLjOV;
GkvNl:
goto dkzVo;
goto G5CbM;
Y0Ini:
$this->session->data["redirect"] = $this->session->data["hpmim_redirect"];
goto rHkzS;
IbM3p:
if ($this->model_account_customer->checkLogin($customer_info["email"], $new_password)) {
goto SfM56;
}
goto W4VkI;
b_unp:
goto sD7j5;
goto iHp6A;
W4VkI:
$this->model_account_customer->editPassword($customer_info["email"], $new_password);
goto lRnVR;
EG8Pa:
$this->request->post["email"] = $profile["email"];
goto nlUYj;
jKcan:
dkzVo:
goto Ay3hL;
BY4Kp:
$this->sendMail($customer["email"]);
goto HYV4m;
LvBkQ:
$this->model_account_customer->addAffiliate($customer_id, $data);
goto mD81i;
ym_up:
if (!isset($this->request->get["error"])) {
goto KjjsT;
}
goto xuFbC;
ynYzR:
$data["paypal"] = '';
goto BFdyy;
q2nRA:
if (!isset($this->session->data["redirect"])) {
goto nzZcZ;
}
goto Kxz2q;
CeFCS:
$this->request->post["lastname"] = $profile["family_name"];
goto BbeAG;
ZKs32:
Y3mHa:
goto dIoPQ;
nHIvb:
}
private function split_name($name)
{
goto QFiye;
GLBbG:
$num = count($parts);
goto M5d1h;
xdRXe:
$firstname = implode(" ", $parts);
goto Kstxi;
rH5Pa:
w3qcx:
goto xdRXe;
Kstxi:
return array($firstname, $lastname);
goto ieA5J;
M5d1h:
if ($num > 1) {
goto halRW;
}
goto lWP1F;
lWP1F:
$lastname = '';
goto rC5VF;
rC5VF:
goto w3qcx;
goto kijvP;
kijvP:
halRW:
goto NVCKV;
QFiye:
$parts = explode(" ", trim($name));
goto GLBbG;
NVCKV:
$lastname = array_pop($parts);
goto rH5Pa;
ieA5J:
}
public function line()
{
goto wbZkA;
JjRwB:
zz0Wf:
goto loIEo;
r9q8f:
$this->response->redirect($this->url->link("account/login", '', true));
goto jgO8A;
xowif:
$state = $this->request->get["state"];
goto dXOXR;
EOiMW:
F78DZ:
goto ip4rG;
ZNTTW:
goto JVrRz;
goto U1ahT;
w_sux:
$this->model_account_customer->editPassword($customer_info["email"], $new_password);
goto k3o0u;
Q4WKQ:
$this->response->redirect($redirect_uri);
goto wGup6;
twKmf:
$this->completeLogin();
goto gzAWE;
SDCaH:
$new_password = base64_encode($customer_id . "@" . $password[1]);
goto K3Khz;
QpACT:
$redirect_uri = isset($this->session->data["redirect"]) ? $this->session->data["redirect"] : $this->url->link("account/account", '', true);
goto eDIdg;
x2V0a:
goto cpUcA;
goto xJ4pv;
Bc3Td:
$this->saveSessionDataLayer("line");
goto QpACT;
wGup6:
JVrRz:
goto EbPxq;
jmSoW:
$this->request->post["password"] = base64_encode($password[0]) . "@" . base64_encode($password[1]);
goto PIMB_;
XU33p:
$this->load->model("extension/module/hp_social_login");
goto VKPzk;
EbPxq:
goto A2bDO;
goto lV7Jk;
dXOXR:
$token = $this->linelogin->token($code, $state);
goto mlvxp;
btlU2:
oJyW5:
goto mPwVs;
dkLfp:
yh43f:
goto cnPr8;
K3Khz:
$this->model_account_customer->editPassword($customer["email"], $new_password);
goto mPgNL;
XF_kR:
tgMR6:
goto r4IY2;
obCgA:
if (!$this->config->get("module_hp_social_login_send_credential_status")) {
goto Dmr3o;
}
goto WLHQt;
JhvlA:
Dmr3o:
goto Ev4fb;
cnPr8:
$password = explode("@", $profile["email"]);
goto Zo1P1;
aQKQh:
$this->response->redirect($this->url->link("account/login", '', true));
goto ZNTTW;
k3o0u:
$this->sendMail($customer_info["email"], "line");
goto K8NE2;
GEOvW:
if (!$this->config->get("module_hp_social_login_send_credential_status")) {
goto zz0Wf;
}
goto j4UzX;
yf55U:
goto F78DZ;
goto btlU2;
mPgNL:
$this->sendMail($customer["email"], "line");
goto qdQ08;
bLs4i:
$this->response->redirect($this->url->link("account/login", '', true));
goto Ihe1m;
Ihe1m:
goto bl5jI;
goto dkLfp;
r4IY2:
$this->response->redirect($redirect_uri);
goto EOiMW;
PNeqo:
$this->load->library("linelogin");
goto vNFvg;
gwTcL:
if ($this->validate($customer["email"])) {
goto H4N62;
}
goto TE9Bo;
PtM4N:
$this->request->post["firstname"] = $name ? $name[0] : $profile["name"];
goto W5dYo;
qdQ08:
wJRer:
goto gwTcL;
s_5Cs:
if ($customer_info) {
goto eMtCD;
}
goto pLU1c;
Snp9w:
if (!$this->config->get("module_hp_social_login_send_credential_status")) {
goto wJRer;
}
goto SDCaH;
lV7Jk:
eMtCD:
goto iOgOC;
W5dYo:
$this->request->post["lastname"] = $name ? $name[1] : '';
goto jmSoW;
Zo1P1:
$name = $this->split_name($profile["name"]);
goto r_RjD;
nMxQj:
$profile = $this->linelogin->verifyIdToken($token["id_token"]);
goto Lihr6;
mPwVs:
$this->completeLogin();
goto Bc3Td;
iOgOC:
$new_password = base64_encode($customer_info["customer_id"] . "@" . $password[1]);
goto GEOvW;
Fg8E7:
if (!isset($this->session->data["redirect"])) {
goto pt1gJ;
}
goto IqT92;
TE9Bo:
$this->session->data["error"] = $this->error["warning"];
goto aQKQh;
IqT92:
unset($this->session->data["redirect"]);
goto u73EB;
mblnZ:
$this->response->redirect($this->url->link("account/login", '', true));
goto x2V0a;
r_RjD:
$this->request->post["email"] = $profile["email"];
goto PtM4N;
ip4rG:
A2bDO:
goto W8soB;
jgO8A:
fG0Jv:
goto PNeqo;
Ev4fb:
$customer_id = $this->model_account_customer->addCustomer($customer);
goto Snp9w;
pLU1c:
$customer = array("firstname" => $name ? $name[0] : $profile["name"], "lastname" => $name ? $name[1] : '', "email" => $profile["email"], "telephone" => '');
goto obCgA;
guMqj:
$this->session->data["error"] = $this->error["warning"];
goto odIig;
K8NE2:
DXwar:
goto JjRwB;
eDIdg:
if (!isset($this->session->data["redirect"])) {
goto tgMR6;
}
goto pSO8r;
U1ahT:
H4N62:
goto twKmf;
xJ4pv:
Kuse9:
goto nMxQj;
Lihr6:
if ($profile) {
goto yh43f;
}
goto bLs4i;
WLHQt:
$customer["password"] = $this->request->post["password"];
goto JhvlA;
vNFvg:
$this->load->model("account/customer");
goto XU33p;
PIMB_:
$customer_info = $this->model_account_customer->getCustomerByEmail($profile["email"]);
goto s_5Cs;
gzAWE:
$this->saveSessionDataLayer("line");
goto n5cY2;
u73EB:
pt1gJ:
goto Q4WKQ;
VKPzk:
$code = $this->request->get["code"];
goto xowif;
odIig:
$this->response->redirect($this->url->link("account/login", '', true));
goto yf55U;
pSO8r:
unset($this->session->data["redirect"]);
goto XF_kR;
j4UzX:
if ($this->model_account_customer->checkLogin($customer_info["email"], $new_password)) {
goto DXwar;
}
goto w_sux;
loIEo:
if ($this->validate($customer_info["email"])) {
goto oJyW5;
}
goto guMqj;
wbZkA:
if (!isset($this->request->get["error"])) {
goto fG0Jv;
}
goto r9q8f;
mlvxp:
if ($token) {
goto Kuse9;
}
goto mblnZ;
n5cY2:
$redirect_uri = isset($this->session->data["redirect"]) ? $this->session->data["redirect"] : $this->url->link("account/account", '', true);
goto Fg8E7;
W8soB:
bl5jI:
goto G8VZu;
G8VZu:
cpUcA:
goto hDBjH;
hDBjH:
}
protected function completeLogin()
{
goto bh7_T;
k_NvB:
$this->session->data["shipping_address"] = $has_address;
goto JyUnI;
jm7Ru:
$this->load->model("account/address");
goto I_ak6;
EuADL:
unset($this->session->data["hpaa"]);
goto cMW_l;
i0aNK:
hzgJ1:
goto jm7Ru;
S04cI:
if (!isset($this->session->data["hpaa"])) {
goto K3stq;
}
goto EuADL;
oBzrU:
$this->session->data["payment_address"] = $this->model_account_address->getAddress($this->customer->getAddressId());
goto ICjFA;
Di1te:
if (!($this->config->get("config_tax_customer") == "shipping" && $has_address)) {
goto oB506;
}
goto k_NvB;
AX2th:
unset($this->session->data["customer_discount"]);
goto E3KwZ;
HFIYh:
if (!isset($this->session->data["customer_discount"])) {
goto fAns4;
}
goto AX2th;
E3KwZ:
fAns4:
goto i0aNK;
H5Ago:
$has_address = $this->model_account_address->getAddress($this->customer->getAddressId());
goto Di1te;
ICjFA:
DE2a7:
goto H5Ago;
bh7_T:
unset($this->session->data["guest"]);
goto ra338;
JyUnI:
oB506:
goto djfGu;
I_ak6:
if (!($this->config->get("config_tax_customer") == "payment")) {
goto DE2a7;
}
goto oBzrU;
cMW_l:
K3stq:
goto HFIYh;
ra338:
if (!(!$this->config->get("hpaa_comission_amount_after_status") && !$this->config->get("hpaa_customer_discount_after_status"))) {
goto hzgJ1;
}
goto S04cI;
djfGu:
}
public function updateProfile()
{
goto lwqUF;
VwZY1:
if (!(utf8_strlen($this->request->post["country_code"]) <= 0 || $this->request->post["telephone"] == '')) {
goto TlWpi;
}
goto hBryu;
pPx5S:
$json["status"] = false;
goto dFdRs;
nw1D3:
XfBYT:
goto Kd73p;
dFdRs:
if (!($this->request->server["REQUEST_METHOD"] == "POST")) {
goto IcnGX;
}
goto LjPuP;
i2pQl:
$this->error["warning"] = $this->language->get("error_exists");
goto AzV9F;
rGJ9t:
$this->response->setOutput(json_encode($json));
goto VJF_r;
mOhQK:
if (!(utf8_strlen($this->request->post["email"]) > 96 || !filter_var($this->request->post["email"], FILTER_VALIDATE_EMAIL))) {
goto tbGvw;
}
goto K671m;
yr7pJ:
$this->load->model("extension/module/hp_social_login");
goto Idr9e;
FDimC:
if (!($this->customer->getEmail() != $this->request->post["email"] && $this->model_account_customer->getTotalCustomersByEmail($this->request->post["email"]))) {
goto qYlDB;
}
goto i2pQl;
Idr9e:
$this->load->language("extension/module/hp_social_login");
goto pPx5S;
lwqUF:
if ($this->customer->isLogged()) {
goto n79QZ;
}
goto Yy1KF;
ppVwy:
if (!(utf8_strlen($this->request->post["telephone"]) < 3 || utf8_strlen($this->request->post["telephone"]) > 32)) {
goto U0X4a;
}
goto m5pQL;
uVhLe:
if (!empty($this->error)) {
goto QhXHb;
}
goto BECXk;
n07sA:
EPjDW:
goto HJKsN;
rBoZW:
U0X4a:
goto a52f0;
cGxvz:
$json["error"] = $this->error;
goto GI5xS;
BECXk:
$json["status"] = true;
goto U3aKF;
Cci7e:
QhXHb:
goto cGxvz;
Kd73p:
if (!isset($this->request->post["telephone"])) {
goto RExMR;
}
goto ppVwy;
K671m:
$this->error["warning"] = $this->language->get("error_email");
goto WxYlP;
wv3vd:
TlWpi:
goto nw1D3;
v1DR5:
if (!isset($this->request->post["country_code"])) {
goto XfBYT;
}
goto VwZY1;
m5pQL:
$this->error["warning"] = $this->language->get("error_telephone");
goto rBoZW;
lC7D3:
$error = false;
goto ZVVlA;
AzV9F:
qYlDB:
goto ou26D;
L8c13:
IcnGX:
goto QQacq;
dr8o9:
$this->model_extension_module_hp_social_login->editCustomer($this->customer->getId(), $this->request->post);
goto oJy4B;
hBryu:
$this->error["warning"] = $this->language->get("error_telephone");
goto wv3vd;
oJy4B:
goto ZHs4P;
goto Cci7e;
HJKsN:
RExMR:
goto uVhLe;
ZVVlA:
$this->load->model("account/customer");
goto yr7pJ;
AGwvs:
$this->error["warning"] = $this->language->get("error_telephone_exists");
goto n07sA;
GI5xS:
ZHs4P:
goto L8c13;
ou26D:
mhHTs:
goto v1DR5;
WxYlP:
tbGvw:
goto FDimC;
LjPuP:
if (!isset($this->request->post["email"])) {
goto mhHTs;
}
goto mOhQK;
OkoiQ:
n79QZ:
goto lC7D3;
QQacq:
$this->response->addHeader("Content-Type: application/json");
goto rGJ9t;
a52f0:
if (!$this->model_extension_module_hp_social_login->getTotalCustomersByPhone($this->request->post["telephone"])) {
goto EPjDW;
}
goto AGwvs;
U3aKF:
$this->request->post["telephone"] = substr($this->request->post["telephone"], strlen($this->request->post["country_code"]));
goto dr8o9;
Yy1KF:
$this->response->redirect($this->url->link("common/home", '', true));
goto OkoiQ;
VJF_r:
}
protected function validate($email)
{
goto MfFy7;
wxj3n:
goto SsAx2;
goto wARdp;
Tx0iT:
u7RBQ:
goto vLQrq;
pWLyt:
return !$this->error;
goto lASQU;
wARdp:
pdWbv:
goto TaYVE;
WFao_:
setcookie("USR", $encrypted_email, $time + 3600 * 24 * 30, "/", $this->request->server["HTTP_HOST"]);
goto DAxvP;
SELhB:
$encrypted_email = $this->encrypt($email);
goto o2Aab;
dXxzd:
$this->error = false;
goto X_bGj;
s1adC:
if (!($customer_info && !$customer_info["status"])) {
goto xMfOn;
}
goto oKcRe;
ehX9A:
aJHaS:
goto pWLyt;
ivWQx:
$login_info = $this->model_account_customer->getLoginAttempts($email);
goto dXxzd;
oKcRe:
$this->db->query("UPDATE `" . DB_PREFIX . "customer` SET status = '1' WHERE customer_id = '" . (int) $customer_info["customer_id"] . "'");
goto AMaIT;
qhgcs:
$this->model_account_customer->addLoginAttempt($email);
goto ozY1a;
DAxvP:
$this->model_account_customer->deleteLoginAttempts($email);
goto wxj3n;
TaYVE:
$this->error["warning"] = $this->language->get("error_login");
goto qhgcs;
X_bGj:
if (!($login_info && $login_info["total"] >= $this->config->get("config_login_attempts") && strtotime("-1 hour") < strtotime($login_info["date_modified"]))) {
goto u7RBQ;
}
goto Bchuh;
gAOFl:
xMfOn:
goto VmGAg;
o2Aab:
$time = time();
goto WFao_;
VmGAg:
if ($this->error) {
goto aJHaS;
}
goto cNv2x;
ozY1a:
SsAx2:
goto ehX9A;
cNv2x:
if (!$this->customer->login($email, '', true)) {
goto pdWbv;
}
goto SELhB;
Bchuh:
$this->error["warning"] = $this->language->get("error_attempts");
goto Tx0iT;
AMaIT:
$this->db->query("DELETE FROM `" . DB_PREFIX . "customer_approval` WHERE customer_id = '" . (int) $customer_info["customer_id"] . "' AND `type` = 'customer'");
goto gAOFl;
MfFy7:
$this->load->language("account/login");
goto ivWQx;
vLQrq:
$customer_info = $this->model_account_customer->getCustomerByEmail($email);
goto s1adC;
lASQU:
}
protected function validateRegisterEmail()
{
goto uXv1n;
IoQak:
$json["error"]["fullname"] = $this->language->get("error_fullname3");
goto grWAz;
EiT48:
if (!empty($this->session->data["gcapcha"])) {
goto P25X2;
}
goto z0PcO;
nmqxR:
$fullname = array_filter(explode(" ", $this->request->post["fullname"]));
goto XZKf9;
N6DR1:
goto nlDSA;
goto kO3LG;
kO3LG:
RUpvk:
goto kGps_;
to43W:
if (!preg_match("~[bcdfghjklmnpqrstvwxyz]{4,}~", $this->request->post["fullname"])) {
goto SriGb;
}
goto IoQak;
kGps_:
$this->session->data["gcapcha"] = true;
goto Q8rYj;
sVt19:
if (count($fullname) < 2) {
goto tzt4H;
}
goto PYpYb;
LnAWP:
$firstname = reset($fullname);
goto lu_bp;
eVzBK:
$this->error["fullname"] = $this->language->get("error_fullname2");
goto ALTuI;
q_n9X:
xDI5y:
goto CPCrz;
Q8rYj:
nlDSA:
goto YUcMo;
XRHUr:
$recaptcha = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=" . urlencode($this->config->get("captcha_google_secret")) . "&response=" . ($this->request->post["g-recaptcha-response"] ? $this->request->post["g-recaptcha-response"] : '') . "&remoteip=" . $this->request->server["REMOTE_ADDR"]);
goto LT24i;
YUcMo:
P25X2:
goto qb6tH;
Ijq9A:
goto N33ef;
goto fVgit;
ihkmI:
if (!(utf8_strlen($this->request->post["email"]) < 1)) {
goto xDI5y;
}
goto TDgi3;
MHGvd:
if (isset($this->request->post["g-recaptcha-response"])) {
goto QGZVQ;
}
goto SXTFa;
A695O:
$this->error["password"] = $this->language->get("error_password");
goto H23ZT;
z0PcO:
$this->load->language("extension/captcha/google");
goto MHGvd;
NI9j4:
vV1Og:
goto e34px;
lu_bp:
$lastname = implode(" ", array_slice($fullname, 1));
goto E5ME6;
n7KxL:
if ($recaptcha["success"]) {
goto RUpvk;
}
goto Sj5w1;
voCQX:
qSnjX:
goto l_xpV;
fVgit:
tzt4H:
goto eVzBK;
TDgi3:
$this->error["email"] = $this->language->get("error_email");
goto q_n9X;
EDGR7:
QGZVQ:
goto XRHUr;
T4z1U:
jr0WL:
goto rKudA;
H23ZT:
kN94O:
goto T4z1U;
qIjyO:
return !$this->error;
goto au0n2;
rKudA:
if (!$this->config->get("module_hp_social_login_captcha_status")) {
goto sRxJt;
}
goto EiT48;
KW_UL:
$json["error"]["fullname"] = $this->language->get("error_fullname4");
goto NI9j4;
DuQft:
$json["error"]["fullname"] = $this->language->get("error_fullname4");
goto YMyv0;
RfLO_:
if (!(strlen($email[0]) < 4)) {
goto t4UfL;
}
goto inC4s;
E5ME6:
if (!(strlen($firstname) < 3)) {
goto vV1Og;
}
goto KW_UL;
e34px:
if (!(strlen($lastname) < 3)) {
goto IZCOE;
}
goto DuQft;
MDPDF:
if (!$this->config->get("module_hp_social_login_strict_password")) {
goto jr0WL;
}
goto mhckH;
uXv1n:
if (!$this->model_account_customer->getTotalCustomersByEmail($this->request->post["email"])) {
goto zPFS0;
}
goto x491W;
NoIUh:
$email = explode("@", $this->request->post["email_register"]);
goto RfLO_;
Sj5w1:
$this->error["warning"] = $this->language->get("error_captcha");
goto N6DR1;
x491W:
$this->error["warning"] = $this->language->get("error_exists");
goto mHW1N;
zKgfn:
t4UfL:
goto MDPDF;
ALTuI:
N33ef:
goto to43W;
PYpYb:
goto N33ef;
goto voCQX;
grWAz:
SriGb:
goto LnAWP;
qb6tH:
sRxJt:
goto qIjyO;
inC4s:
$json["error"]["email"] = $this->language->get("error_email4");
goto zKgfn;
dohGw:
$json["error"]["email"] = $this->language->get("error_email3");
goto brz0d;
mhckH:
if (preg_match("/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/", $this->request->post["password"])) {
goto kN94O;
}
goto A695O;
LT24i:
$recaptcha = json_decode($recaptcha, true);
goto n7KxL;
mHW1N:
zPFS0:
goto nmqxR;
XZKf9:
if (utf8_strlen($this->request->post["fullname"]) < 1) {
goto qSnjX;
}
goto sVt19;
YMyv0:
IZCOE:
goto ihkmI;
CPCrz:
if (!(substr_count($this->request->post["email"], ".") > 2)) {
goto nS0xZ;
}
goto dohGw;
SXTFa:
$this->error["warning"] = $this->language->get("error_captcha");
goto EDGR7;
l_xpV:
$this->error["fullname"] = $this->language->get("error_fullname1");
goto Ijq9A;
brz0d:
nS0xZ:
goto NoIUh;
au0n2:
}
private function getCode($phone)
{
goto dlME8;
KdMBY:
$cacheSuffix = "hpasl";
goto hIMwF;
dlME8:
$time = $this->config->get("module_hp_social_login_sms_expiry") * 60;
goto JvykF;
hIMwF:
return $cache->get($cacheSuffix . $phone);
goto CD1Vf;
JvykF:
$cache = new \Cache("file", $time);
goto KdMBY;
CD1Vf:
}
protected function validateRegisterSMS()
{
goto q0LjF;
AHVVH:
$recaptcha = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=" . urlencode($this->config->get("captcha_google_secret")) . "&response=" . ($this->request->post["g-recaptcha-response"] ? $this->request->post["g-recaptcha-response"] : '') . "&remoteip=" . $this->request->server["REMOTE_ADDR"]);
goto B85bh;
LI6vZ:
EONbS:
goto BOOFA;
SLst7:
$actual_code = $this->getCode($country_code . $phone);
goto qln99;
o2NfL:
$no_telephone = substr($this->request->post["telephone"], 2, 12);
goto eBmaG;
Nfo9c:
if (!empty($this->session->data["gcapcha"])) {
goto P3_dL;
}
goto qQkP_;
uEDde:
$this->session->data["gcapcha"] = true;
goto NjJO9;
qQkP_:
$this->load->language("extension/captcha/google");
goto Gum1i;
CnxZF:
OPe3V:
goto OT5HS;
Mc0SH:
$this->load->model("extension/module/hp_social_login");
goto z13QX;
XGOWK:
i3k0i:
goto AHVVH;
A5zlW:
goto rLMa_;
goto MxLdR;
B85bh:
$recaptcha = json_decode($recaptcha, true);
goto T2dDV;
z13QX:
$prefix = substr($this->request->post["telephone"], 0, 2);
goto iM3bK;
q0LjF:
$this->load->language("extension/module/hp_social_login");
goto Mc0SH;
zYVoF:
q86Ey:
goto eF0JW;
OT5HS:
return !$this->error;
goto hy9IR;
tjTtn:
$phone = $this->request->post["telephone"] ? $this->request->post["telephone"] : '';
goto nE_8o;
U9432:
fFR8a:
goto tjTtn;
s48lv:
P3_dL:
goto CnxZF;
MGb4c:
if ($prefix == "62") {
goto PL6px;
}
goto l3SC5;
iM3bK:
if ($prefix == "+6") {
goto EONbS;
}
goto MGb4c;
BOOFA:
$no_telephone = substr($this->request->post["telephone"], 3, 12);
goto kFk9z;
roCTc:
goto FPLxK;
goto LI6vZ;
eBmaG:
rLMa_:
goto roCTc;
nE_8o:
$country_code = $this->request->post["country_code"] ? $this->request->post["country_code"] : '';
goto acpvx;
SpZvS:
if (!$this->model_extension_module_hp_social_login->getTotalCustomersByPhone($no_telephone)) {
goto fFR8a;
}
goto VmmuD;
KUMJ9:
$this->error["warning"] = $this->language->get("error_captcha");
goto XGOWK;
SADdO:
$this->error["warning"] = $this->language->get("error_code");
goto zYVoF;
kFk9z:
FPLxK:
goto SpZvS;
eF0JW:
if (!$this->config->get("module_hp_social_login_captcha_status")) {
goto OPe3V;
}
goto Nfo9c;
v7uTQ:
kIGqa:
goto uEDde;
NjJO9:
f8cji:
goto s48lv;
T2dDV:
if ($recaptcha["success"]) {
goto kIGqa;
}
goto ZxEuF;
ZxEuF:
$this->error["warning"] = $this->language->get("error_captcha");
goto qK16N;
l3SC5:
$no_telephone = substr($this->request->post["telephone"], 1, 12);
goto A5zlW;
qK16N:
goto f8cji;
goto v7uTQ;
acpvx:
$code = $this->request->post["verification_code"] ? $this->request->post["verification_code"] : '';
goto SLst7;
MxLdR:
PL6px:
goto o2NfL;
qln99:
if (!(empty($code) || $code != $actual_code)) {
goto q86Ey;
}
goto SADdO;
VmmuD:
$this->error["warning"] = $this->language->get("error_sms");
goto U9432;
Gum1i:
if (isset($this->request->post["g-recaptcha-response"])) {
goto i3k0i;
}
goto KUMJ9;
hy9IR:
}
protected function sendMail($email, $type = "google")
{
goto OuyH9;
PJNkq:
$data["content"] = html_entity_decode($message);
goto qDEcy;
tsRxT:
goto JCQFj;
goto u9nVr;
iD71g:
$message = str_replace($find, $replace, $format);
goto PJNkq;
G1aH3:
$mail->parameter = $this->config->get("config_mail_parameter");
goto Q8LTg;
u9nVr:
oZ2gH:
goto Kevhz;
plVOD:
$customer_info = $this->model_account_customer->getCustomerByEmail($email);
goto SEozw;
Q8LTg:
$mail->smtp_hostname = $this->config->get("config_mail_smtp_hostname");
goto G12wB;
Y9hAU:
$mail->setFrom($this->config->get("config_email"));
goto RAxvU;
hgtP6:
$mail->setSubject(html_entity_decode($subject, ENT_QUOTES, "UTF-8"));
goto sT7c5;
wyARW:
JCQFj:
goto tX_k6;
qDEcy:
$mail = new Mail($this->config->get("config_mail_engine"));
goto G1aH3;
fB1FJ:
$format = $this->config->get("module_hp_social_login_email_template");
goto DIbpr;
NPp66:
$find = array("{firstname}", "{lastname}", "{store_name}", "{store_email}", "{store_telephone}", "{store_address}", "{store_logo}", "{store_url}", "{customer_email}", "{customer_password}", "{coupon_code}");
goto Pz8g8;
SEozw:
if ($type == "google" || $type == "facebook" || $type == "line") {
goto oZ2gH;
}
goto M6x40;
yZxN6:
$coupon_code = "<span class='coupon-code' style='display: inline-block; margin: 10px 0; border: 1px solid #000; padding: 10px 20px; font-size: 1.5em; font-weight: bold;'>" . $this->config->get("module_hp_social_login_coupon_code") . "</span>";
goto xE72N;
IF0a3:
$mail->smtp_password = html_entity_decode($this->config->get("config_mail_smtp_password"), ENT_QUOTES, "UTF-8");
goto InUVF;
sT7c5:
$mail->setHtml($this->load->view("mail/hp_social_login_email_template", $data));
goto zJUgs;
s0BG5:
$customer_password = "Password: " . $new_password;
goto Lc_5n;
tX_k6:
$subject = $this->config->get("module_hp_social_login_email_subject");
goto fB1FJ;
OuyH9:
$this->load->model("account/customer");
goto plVOD;
KMn_L:
$store_logo = HTTPS_SERVER . "image/" . $this->config->get("config_logo");
goto NPp66;
InUVF:
$mail->smtp_port = $this->config->get("config_mail_smtp_port");
goto ZFMUr;
DIbpr:
$customer_email = "Email: " . $email;
goto s0BG5;
M6x40:
$new_password = '';
goto tsRxT;
Kevhz:
$password = explode("@", $email);
goto I8bBl;
ff9eh:
$mail->setTo($email);
goto Y9hAU;
G12wB:
$mail->smtp_username = $this->config->get("config_mail_smtp_username");
goto IF0a3;
zJUgs:
$mail->send();
goto iDRA9;
ZFMUr:
$mail->smtp_timeout = $this->config->get("config_mail_smtp_timeout");
goto ff9eh;
tiIsz:
if (!$this->config->get("module_hp_social_login_coupon_code_status")) {
goto i_YlM;
}
goto yZxN6;
RAxvU:
$mail->setSender(html_entity_decode($this->config->get("config_name"), ENT_QUOTES, "UTF-8"));
goto hgtP6;
xE72N:
i_YlM:
goto KMn_L;
Pz8g8:
$replace = array("firstname" => $customer_info["firstname"], "lastname" => $customer_info["lastname"], "store_name" => $this->config->get("config_name"), "store_email" => $this->config->get("config_email"), "store_telephone" => $this->config->get("config_telephone"), "store_address" => $this->config->get("config_address"), "store_logo" => $store_logo, "store_url" => HTTPS_SERVER, "customer_email" => $customer_email, "customer_password" => $type == "email" ? $new_password : $customer_password, "coupon_code" => $coupon_code);
goto iD71g;
I8bBl:
$new_password = base64_encode($customer_info["customer_id"] . "@" . $password[1]);
goto wyARW;
Lc_5n:
$coupon_code = '';
goto tiIsz;
iDRA9:
}
private function decrypt($string)
{
goto UA4IK;
T5z4z:
$output = openssl_decrypt(base64_decode($string), $encrypt_method, $key, 0, $iv);
goto jx0an;
HfceF:
$key = hash("sha256", $secret_key);
goto N2NDW;
N2NDW:
$iv = substr(hash("sha256", $secret_iv), 0, 16);
goto T5z4z;
OXkdM:
$encrypt_method = "AES-256-CBC";
goto wYXhK;
yCKcv:
if (!$string) {
goto Yvb_G;
}
goto OXkdM;
jx0an:
Yvb_G:
goto bWYvQ;
bWYvQ:
return $output;
goto I3Yx5;
UA4IK:
$output = '';
goto yCKcv;
EOQtk:
$secret_iv = md5("keepworking");
goto HfceF;
wYXhK:
$secret_key = md5("jayalahhpwd");
goto EOQtk;
I3Yx5:
}
private function encrypt($string)
{
goto XEA8N;
aWnAL:
$secret_iv = md5("keepworking");
goto gRQil;
XEA8N:
$output = '';
goto YIfCl;
gRQil:
$key = hash("sha256", $secret_key);
goto jk_eF;
aBrSD:
$secret_key = md5("jayalahhpwd");
goto aWnAL;
iPMMH:
$output = openssl_encrypt($string, $encrypt_method, $key, 0, $iv);
goto b2rGA;
YIfCl:
if (!$string) {
goto tpIWh;
}
goto LyXQX;
b2rGA:
$output = base64_encode($output);
goto LHXyt;
jk_eF:
$iv = substr(hash("sha256", $secret_iv), 0, 16);
goto iPMMH;
LyXQX:
$encrypt_method = "AES-256-CBC";
goto aBrSD;
LHXyt:
tpIWh:
goto zCsxb;
zCsxb:
return $output;
goto qjXjk;
qjXjk:
}
private function checkRedirectUrl($url)
{
goto rrC3X;
U0WAj:
$path = $request["path"];
goto loydK;
loydK:
$result = trim(str_replace(basename($_SERVER["SCRIPT_NAME"]), '', $path), "/");
goto zA9PO;
h1KSZ:
unset($result[0]);
goto vwUpw;
DCpyL:
return strpos($result, ".") ? false : true;
goto yrmb6;
qZFk4:
zsP1e:
goto cuYoo;
tZngN:
if (!($max_level < count($result))) {
goto zsP1e;
}
goto h1KSZ;
zA9PO:
$result = explode("/", $result);
goto rE8c2;
t80TL:
IDFXt:
goto tZngN;
rE8c2:
$max_level = 2;
goto t80TL;
rrC3X:
$request = parse_url($url);
goto U0WAj;
cuYoo:
$result = "/" . implode("/", $result);
goto DCpyL;
vwUpw:
goto IDFXt;
goto qZFk4;
yrmb6:
}
}
?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | 428dbad39befb335 |
|---|---|
| Eval Count | 0 |
| Decode Time | 144 ms |
Original Code
<?php
/*
DO NOT EDIT!
Author : HP Web Design
Website : https://hpwebdesign.id
Support : [email protected]
License Type : Single Domain License
Licensing : http://hpwebdesign.id/licensing
*/
class ControllerExtensionModuleHpSocialLogin extends Controller
{
public $error = array();
public function index($arg = array())
{
$onlyButton = isset($arg["\157\156\x6c\x79\x62\165\x74\164\x6f\156"]) ? $arg["\157\156\154\x79\142\x75\x74\164\157\x6e"] : true;
return $this->template($onlyButton);
}
public function getSocialButton()
{
$this->response->setOutput($this->index());
}
private function isWebview()
{
goto V2VVt;
AMCoP:
return true;
goto cI1uj;
M1Ntx:
fLgIE:
goto AMCoP;
mMiVz:
return false;
goto M1Ntx;
t9S19:
if (!($httpx == NULL || stripos($httpx, "\130\x4d\114\110\164\164\x70\122\x65\x71\x75\145\x73\x74") !== false)) {
goto fLgIE;
}
goto mMiVz;
V2VVt:
$httpx = isset($_SERVER["\x48\124\x54\x50\x5f\130\137\x52\105\x51\x55\105\123\x54\105\104\137\x57\x49\x54\110"]) && $_SERVER["\110\124\124\x50\x5f\x58\137\x52\x45\x51\125\x45\123\124\105\x44\x5f\127\x49\124\x48"] ? $_SERVER["\x48\124\124\120\137\130\x5f\x52\105\x51\x55\x45\x53\124\x45\104\x5f\x57\111\x54\x48"] : null;
goto t9S19;
cI1uj:
}
public function login()
{
goto DfWW4;
KH1LC:
$this->saveSessionDataLayer("\x65\x6d\141\151\x6c");
goto kFWMR;
VIVDc:
if (!$this->model_extension_module_hp_social_login->checkMarketplace()) {
goto Rdnks;
}
goto EPau0;
Qdihi:
$json["\x65\162\x72\157\162"] = $this->error;
goto pWaej;
mYeH0:
$this->load->model("\141\x63\143\x6f\165\156\164\57\167\x69\x73\150\154\151\163\x74");
goto SgmiN;
guk9a:
setcookie("\x55\x53\122", $encrypted_email, $time + 3600 * 24 * 30, "\x2f", $this->request->server["\x48\x54\x54\x50\x5f\110\x4f\x53\124"]);
goto DTMu6;
CY1Kp:
if (!($this->config->get("\x63\x6f\x6e\146\151\147\x5f\164\x61\170\x5f\x63\x75\163\164\x6f\155\145\x72") == "\160\141\x79\x6d\145\156\164")) {
goto GHWNB;
}
goto ll3Rc;
d9iMj:
$json["\163\x74\x61\x74\x75\x73"] = true;
goto PLxHm;
O_VTT:
if (isset($this->session->data["\x72\x65\x64\x69\162\145\x63\x74"]) && $this->session->data["\162\145\144\151\162\x65\x63\164"] != $this->url->link("\x61\x63\x63\157\165\x6e\164\x2f\x6c\x6f\147\x6f\165\x74", '', true) && (strpos($this->session->data["\x72\x65\144\x69\x72\x65\143\x74"], $this->config->get("\143\x6f\156\146\x69\x67\137\165\x72\x6c")) !== false || strpos($this->session->data["\162\x65\x64\151\x72\x65\x63\164"], $this->config->get("\143\x6f\156\x66\151\x67\x5f\163\163\154")) !== false)) {
goto FXi0y;
}
goto yh65l;
y03Z8:
NiWnQ:
goto zkjSQ;
BLlKc:
$this->response->addHeader("\x43\x6f\x6e\x74\x65\156\164\x2d\124\171\160\145\x3a\x20\141\160\x70\154\x69\143\x61\164\x69\x6f\156\57\x6a\163\x6f\x6e");
goto Vv367;
wTg8i:
$this->load->model("\145\x78\x74\145\x6e\x73\151\x6f\156\x2f\x6d\157\144\165\x6c\x65\57\150\160\x5f\x73\157\x63\151\x61\154\137\154\157\147\151\x6e");
goto VvKi6;
unysU:
PQrF_:
goto O_VTT;
SgmiN:
foreach ($this->session->data["\167\x69\163\x68\x6c\151\x73\164"] as $key => $product_id) {
goto ZA7Qb;
ZA7Qb:
$this->model_account_wishlist->addWishlist($product_id);
goto eEJou;
FQ9Ju:
YKwY8:
goto Qiaw3;
eEJou:
unset($this->session->data["\167\151\163\150\x6c\x69\x73\164"][$key]);
goto FQ9Ju;
Qiaw3:
}
goto rLCR3;
UEr9A:
if (!($this->config->get("\143\x6f\x6e\x66\151\147\x5f\164\x61\x78\137\143\x75\x73\x74\x6f\155\145\x72") == "\x73\150\151\160\160\151\156\147" && $has_address)) {
goto h3Lwa;
}
goto d0T2F;
MqnVc:
if (!(!$this->config->get("\150\x70\x61\x61\137\143\x6f\155\151\x73\163\x69\x6f\156\137\141\155\157\165\156\164\137\x61\x66\x74\x65\x72\137\163\x74\141\x74\x75\x73") && !$this->config->get("\x68\160\x61\141\137\143\x75\163\164\157\155\x65\162\x5f\x64\x69\x73\x63\x6f\165\x6e\x74\137\141\x66\x74\145\x72\x5f\x73\164\x61\164\x75\163"))) {
goto Oa3R6;
}
goto RJRav;
Ewt0Z:
h3Lwa:
goto wgZXv;
R6gHD:
Rdnks:
goto d9iMj;
ll3Rc:
$this->session->data["\x70\x61\171\155\x65\x6e\x74\x5f\x61\x64\x64\x72\145\163\163"] = $this->model_account_address->getAddress($this->customer->getAddressId());
goto z1mqm;
BRGD9:
$json["\162\145\144\x69\x72\145\x63\164"] = str_replace("\46\x61\x6d\160\x3b", "\46", $this->session->data["\162\x65\x64\151\162\145\143\164"]);
goto NCjv5;
wgZXv:
if (!(isset($this->session->data["\167\151\163\150\x6c\151\x73\x74"]) && is_array($this->session->data["\x77\x69\x73\150\154\151\163\164"]))) {
goto NiWnQ;
}
goto mYeH0;
tisNV:
xo6ng:
goto p40C4;
p0RsI:
fSyNj:
goto pcY5H;
z1mqm:
GHWNB:
goto NzT5m;
DTMu6:
sm3Zl:
goto CY1Kp;
HceAY:
FXi0y:
goto BRGD9;
pcY5H:
Oa3R6:
goto EUeFg;
iW8eW:
unset($this->session->data["\x67\x75\x65\163\164"]);
goto MqnVc;
APJMS:
$time = time();
goto guk9a;
pWaej:
jhbe2:
goto BLlKc;
EPau0:
$this->vendor->login($this->request->post["\x65\155\141\151\x6c"], $this->request->post["\x70\x61\x73\x73\167\157\x72\x64"], true);
goto R6gHD;
CkB2l:
if (empty($this->error)) {
goto jhbe2;
}
goto Qdihi;
Fb08f:
goto TMkNY;
goto HceAY;
fgJ3c:
if (!(isset($this->request->post["\x73\164\141\x79"]) && $this->request->post["\163\x74\x61\x79"])) {
goto sm3Zl;
}
goto rIxPm;
Vv367:
$this->response->setOutput(json_encode($json));
goto EiFpy;
NzT5m:
$has_address = $this->model_account_address->getAddress($this->customer->getAddressId());
goto UEr9A;
kFWMR:
U7m2n:
goto CkB2l;
rIxPm:
$encrypted_email = $this->encrypt($this->request->post["\x65\155\141\x69\x6c"]);
goto APJMS;
MPZZg:
if (!($this->request->server["\x52\105\121\125\x45\x53\124\x5f\115\x45\124\x48\x4f\x44"] == "\120\117\123\124" && $this->validateLogin())) {
goto U7m2n;
}
goto VIVDc;
DfWW4:
if (!isset($this->session->data["\150\160\x6d\x69\155\137\x72\145\144\x69\x72\x65\x63\164"])) {
goto xo6ng;
}
goto Sw_XZ;
yh65l:
$json["\162\145\144\151\162\145\143\x74"] = $this->url->link("\x61\x63\143\x6f\165\x6e\164\x2f\x61\143\x63\157\165\156\x74", '', true);
goto Fb08f;
V1BUe:
if (!isset($this->session->data["\143\165\163\164\157\x6d\x65\x72\x5f\x64\151\x73\143\157\165\156\164"])) {
goto fSyNj;
}
goto m84bu;
m84bu:
unset($this->session->data["\x63\165\163\x74\157\155\x65\x72\x5f\144\x69\163\x63\157\x75\x6e\x74"]);
goto p0RsI;
Sw_XZ:
$this->session->data["\162\x65\x64\x69\162\145\143\164"] = $this->session->data["\150\x70\x6d\151\x6d\x5f\x72\x65\144\x69\x72\145\143\x74"];
goto tisNV;
d0T2F:
$this->session->data["\163\x68\151\160\x70\x69\156\147\137\141\x64\144\162\x65\x73\x73"] = $has_address;
goto Ewt0Z;
PLxHm:
unset($this->session->data["\147\x63\x61\160\x63\150\x61"]);
goto iW8eW;
KtkVh:
FZ0EJ:
goto V1BUe;
EmJfC:
unset($this->session->data["\150\x70\141\141"]);
goto KtkVh;
zkjSQ:
if ($this->checkRedirectUrl($this->session->data["\162\x65\144\x69\x72\145\143\x74"])) {
goto PQrF_;
}
goto iws25;
iws25:
$this->session->data["\162\145\x64\x69\162\x65\x63\x74"] = HTTPS_SERVER;
goto unysU;
rLCR3:
L1Jb2:
goto y03Z8;
NCjv5:
TMkNY:
goto KH1LC;
EUeFg:
$this->load->model("\x61\x63\143\157\165\156\x74\x2f\141\x64\144\162\145\x73\163");
goto fgJ3c;
p40C4:
$this->load->model("\x61\143\x63\x6f\165\x6e\164\57\143\x75\163\x74\x6f\155\x65\162");
goto wTg8i;
VvKi6:
$this->load->language("\141\x63\143\157\x75\156\x74\57\154\x6f\x67\x69\156");
goto C7rgE;
C7rgE:
$json["\163\164\141\164\165\x73"] = false;
goto MPZZg;
RJRav:
if (!isset($this->session->data["\150\x70\x61\141"])) {
goto FZ0EJ;
}
goto EmJfC;
EiFpy:
}
private function saveSessionDataLayer($method)
{
goto Lc4pa;
Lc4pa:
$this->session->data["\154\x6f\147\151\156\137\x73\165\x63\x63\145\163\x73"]["\x65\166\x65\x6e\164"] = "\x6c\x6f\x67\151\x6e";
goto MH6bj;
MH6bj:
$this->session->data["\154\x6f\x67\151\x6e\x5f\x73\165\143\143\145\163\x73"]["\x75\163\145\x72\137\151\x64"] = $this->customer->getEmail();
goto orDAX;
orDAX:
$this->session->data["\x6c\157\x67\151\156\137\x73\165\143\x63\145\x73\x73"]["\145\155\141\151\x6c"] = $this->customer->getEmail();
goto B8Kh_;
B8Kh_:
$this->session->data["\x6c\157\147\151\156\x5f\163\165\143\143\x65\163\x73"]["\154\x6f\x67\151\x6e\115\x65\x74\x68\157\144"] = $method;
goto z1QQL;
z1QQL:
}
public function validateLogin()
{
goto ZFP_U;
oi7Wc:
kpu5l:
goto E6FJm;
QhG_a:
$this->error["\x77\x61\162\x6e\x69\x6e\147"] = $this->language->get("\x65\162\x72\157\162\x5f\x6c\x6f\x67\151\x6e");
goto Fqk0U;
FPZR3:
m0T3L:
goto etjeJ;
HpfQx:
goto m0T3L;
goto oi7Wc;
v_s9l:
$recaptcha = file_get_contents("\x68\164\164\x70\163\72\x2f\x2f\x77\x77\x77\56\147\157\x6f\147\x6c\145\56\x63\x6f\x6d\57\162\x65\143\x61\x70\164\x63\x68\x61\57\x61\160\151\x2f\x73\151\x74\145\166\145\x72\151\x66\x79\x3f\163\x65\x63\x72\145\x74\75" . urlencode($this->config->get("\143\141\160\164\x63\150\141\137\147\157\157\147\x6c\x65\137\163\145\143\162\145\x74")) . "\46\x72\145\163\160\x6f\156\x73\x65\75" . ($this->request->post["\147\55\x72\x65\x63\x61\x70\164\x63\x68\141\x2d\162\145\x73\x70\x6f\x6e\163\145"] ? $this->request->post["\x67\x2d\x72\145\143\141\x70\x74\143\150\141\55\x72\x65\x73\x70\157\156\x73\145"] : '') . "\x26\162\145\155\157\164\x65\151\x70\75" . $this->request->server["\122\105\115\117\x54\x45\137\101\x44\104\122"]);
goto syep4;
EsHcM:
if (isset($this->request->post["\147\55\162\x65\143\x61\x70\x74\x63\150\x61\55\x72\145\x73\160\x6f\x6e\163\145"])) {
goto dB312;
}
goto I9zd7;
hR4oP:
if (!(preg_match($re, $this->request->post["\x65\x6d\x61\x69\x6c"]) == 0 && !($this->request->post["\145\155\141\151\154"] == ''))) {
goto ZojhH;
}
goto REnLQ;
Wtdof:
ZjIJP:
goto dIHWc;
F8_Xc:
$this->load->language("\145\170\164\x65\156\163\151\157\x6e\57\x63\x61\x70\164\143\x68\141\x2f\147\x6f\x6f\147\x6c\x65");
goto EsHcM;
dIHWc:
WTOaC:
goto kChrY;
qRiEE:
$isPhone = true;
goto Zj_IX;
G1NJX:
$isPhone = false;
goto ALF3h;
XCs18:
cDe3O:
goto ywsb4;
ZuOmj:
goto ZjIJP;
goto eaAmz;
X0zdw:
$this->load->model("\x6c\x6f\x63\141\154\x69\x73\x61\x74\x69\157\x6e\x2f\154\x61\x6e\147\x75\x61\147\x65");
goto WKTYB;
qlXn1:
if (!empty($this->session->data["\x67\143\x61\160\143\150\141"])) {
goto hewsd;
}
goto F8_Xc;
yf_ON:
OSsPV:
goto i7aGO;
AvYZ4:
if (!($login_info && $login_info["\164\157\164\x61\x6c"] >= $this->config->get("\143\x6f\156\146\151\147\137\154\157\x67\151\156\x5f\141\x74\164\x65\155\160\164\x73") && strtotime("\x2d\x31\40\150\x6f\165\162") < strtotime($login_info["\x64\x61\164\x65\x5f\155\157\144\x69\x66\x69\x65\144"]))) {
goto FRh7M;
}
goto R3keR;
l0PhV:
if ($isPhone) {
goto pdRhQ;
}
goto u5O8N;
Zj_IX:
goto Y2KeG;
goto Dluyw;
W_cYo:
$this->error["\167\141\x72\156\x69\156\x67"] = $this->language->get("\x65\162\162\157\x72\137\x6c\157\147\x69\156\137\x70\150\157\x6e\145");
goto jTkhN;
zToFw:
$find = array("\x7b\145\155\x61\x69\154\x7d", "\x7b\162\x65\x73\x65\156\x64\175");
goto CCNI5;
BQAKr:
RmwIX:
goto y_2sc;
N6w95:
$password = $this->request->post["\x70\141\x73\x73\x77\157\x72\x64"] ? $this->request->post["\x65\155\141\151\x6c"] : '';
goto gNhrB;
gr1VV:
$this->error["\167\x61\x72\156\x69\156\x67"] = html_entity_decode($msg);
goto XCs18;
xfWVG:
$this->request->post["\145\155\141\x69\154"] = $email;
goto PbpoH;
TPrP1:
$isPhone = false;
goto xfWVG;
ys7d0:
ZojhH:
goto FLh4s;
FiJLX:
if ($this->error) {
goto WTOaC;
}
goto n4jPK;
u5O8N:
$customer_info = $this->model_account_customer->getCustomerByEmail($this->request->post["\x65\155\141\151\154"]);
goto oXBeH;
PbpoH:
Y2KeG:
goto ys7d0;
XkJ8e:
if ($email) {
goto QG1_H;
}
goto qRiEE;
ybcUD:
ODUoY:
goto X0zdw;
ywsb4:
jPsx7:
goto WzofD;
kFzjl:
$this->model_account_customer->deleteLoginAttempts($this->request->post["\x65\x6d\141\151\x6c"]);
goto ZuOmj;
WzofD:
pdRhQ:
goto FiJLX;
ALF3h:
$re = "\57\x5e\x28\x28\133\x5e\x3c\x3e\x28\x29\x5c\x5b\134\x5d\134\134\56\54\73\72\x5c\x73\x40\x22\135\53\x28\134\x2e\x5b\136\x3c\x3e\50\51\134\133\x5c\x5d\134\x5c\56\54\x3b\72\x5c\163\100\42\135\53\51\52\x29\x7c\x28\x22\56\53\42\51\x29\100\x28\x28\x5c\x5b\x5b\60\55\71\135\x7b\61\54\x33\x7d\x5c\56\x5b\60\55\x39\x5d\x7b\x31\54\63\x7d\134\56\x5b\60\x2d\x39\x5d\x7b\x31\54\63\x7d\134\x2e\x5b\60\55\x39\135\x7b\x31\54\x33\175\x5c\135\51\x7c\50\x28\133\141\55\172\101\55\132\134\x2d\x30\x2d\71\x5d\x2b\x5c\x2e\x29\53\x5b\x61\x2d\172\x41\55\132\135\173\x32\54\175\51\51\44\x2f\155";
goto hR4oP;
ZJ75J:
$language_id = $languages[$defaultLanguage]["\x6c\141\156\x67\165\141\147\145\137\x69\144"];
goto NoGS3;
VkTHK:
$defaultLanguage = $this->config->get("\x63\157\156\146\x69\147\x5f\154\x61\x6e\147\165\x61\147\145");
goto ZJ75J;
R_41D:
if (!(isset($this->request->post["\164\171\160\x65"]) && $this->request->post["\x74\x79\160\145"] == "\x74\145\x6c\x65\160\x68\x6f\156\145")) {
goto byKcd;
}
goto W_cYo;
lgd8p:
$this->error["\x77\x61\162\x6e\x69\156\147"] = $this->language->get("\145\x72\162\157\162\x5f\154\157\147\151\156");
goto R_41D;
jTkhN:
byKcd:
goto Oa251;
BDm8b:
if ($recaptcha["\163\x75\x63\143\145\x73\x73"]) {
goto kpu5l;
}
goto rbzm0;
n4jPK:
if ($isPhone) {
goto OSsPV;
}
goto fQj3H;
i7aGO:
$logged = $this->customer->loginByPhone($this->request->post["\145\155\x61\151\154"], $this->request->post["\160\x61\163\x73\167\x6f\162\144"]);
goto tsw7K;
ZFP_U:
$email = $this->request->post["\x65\x6d\141\151\154"] ? $this->request->post["\145\155\141\151\154"] : '';
goto N6w95;
Mu2u3:
if ($this->config->get("\155\157\144\165\154\x65\x5f\x68\x70\x5f\163\x6f\143\x69\x61\154\137\x6c\x6f\x67\x69\156\x5f\145\x6d\141\151\154\x5f\163\x74\141\x74\165\163")) {
goto ODUoY;
}
goto G9FkX;
Oa251:
$this->model_account_customer->addLoginAttempt($this->request->post["\x65\155\x61\151\154"]);
goto Wtdof;
rbzm0:
$this->error["\x77\141\162\x6e\151\x6e\147"] = $this->language->get("\x65\162\x72\x6f\x72\x5f\143\141\160\x74\143\x68\141");
goto HpfQx;
Fqk0U:
return false;
goto YJaws;
etjeJ:
hewsd:
goto BQAKr;
E6FJm:
$this->session->data["\147\143\x61\160\x63\150\x61"] = true;
goto FPZR3;
E1Ut3:
$email = $this->model_extension_module_phone_verification->getEmailByPhone($this->request->post["\145\155\141\x69\154"]);
goto XkJ8e;
vPgKC:
FRh7M:
goto l0PhV;
xMH9k:
goto IHDP7;
goto yf_ON;
gDA1P:
if (!$logged) {
goto RgSrP;
}
goto kFzjl;
NoGS3:
$template = $this->config->get("\x6d\157\144\165\154\x65\x5f\x68\x70\137\163\x6f\143\151\141\x6c\x5f\x6c\157\147\x69\x6e\x5f\x65\x6d\141\x69\154\x5f\x76\x65\x72\151\x66\151\143\x61\164\x69\x6f\x6e\x5f\164\x65\x78\164\x5f" . $language_id);
goto zToFw;
Qh0G7:
$this->load->language("\x65\x78\x74\145\156\163\151\x6f\156\x2f\x6d\157\x64\x75\154\145\57\x68\x70\137\163\157\x63\151\141\x6c\137\154\x6f\147\x69\x6e");
goto lgd8p;
eaAmz:
RgSrP:
goto Qh0G7;
rQAZn:
dB312:
goto v_s9l;
oXBeH:
if (!($customer_info && !$customer_info["\x73\164\141\x74\x75\163"])) {
goto jPsx7;
}
goto Mu2u3;
tsw7K:
IHDP7:
goto gDA1P;
fQj3H:
$logged = $this->customer->login($this->request->post["\145\x6d\141\x69\154"], $this->request->post["\x70\x61\163\x73\x77\157\x72\x64"]);
goto xMH9k;
REnLQ:
$this->load->model("\x65\x78\164\x65\156\x73\151\157\156\x2f\155\157\144\165\x6c\145\x2f\160\x68\x6f\x6e\x65\137\x76\x65\162\x69\146\x69\143\141\164\151\x6f\x6e");
goto E1Ut3;
FLh4s:
if (!$this->config->get("\x6d\157\144\165\x6c\145\137\150\x70\137\x73\157\143\151\141\154\137\154\x6f\147\x69\x6e\137\143\x61\x70\164\x63\x68\x61\137\163\x74\141\164\x75\x73")) {
goto RmwIX;
}
goto qlXn1;
G9FkX:
$this->error["\167\x61\162\x6e\x69\x6e\147"] = $this->language->get("\145\162\162\x6f\x72\137\x61\160\160\162\x6f\166\145\144");
goto deE3i;
R3keR:
$this->error["\167\x61\162\156\151\x6e\x67"] = $this->language->get("\x65\x72\162\x6f\x72\137\141\164\x74\x65\155\x70\164\x73");
goto vPgKC;
y_2sc:
$login_info = $this->model_account_customer->getLoginAttempts($this->request->post["\x65\155\141\151\154"]);
goto AvYZ4;
CCNI5:
$replace = array("\145\155\141\151\154" => $this->request->post["\x65\x6d\141\151\154"], "\162\x65\163\x65\x6e\144" => $this->url->link("\x65\170\x74\145\156\x73\x69\157\x6e\x2f\x6d\x6f\144\165\x6c\x65\x2f\x65\x6d\x61\x69\x6c\137\166\x65\162\x69\146\x69\x63\x61\x74\x69\x6f\x6e\57\x72\145\x73\145\156\144", "\145\x6d\x61\151\154\x3d" . $customer_info["\x65\155\141\x69\x6c"], true));
goto sGQ0U;
WKTYB:
$languages = $this->model_localisation_language->getLanguages();
goto VkTHK;
I9zd7:
$this->error["\167\x61\162\x6e\x69\156\147"] = $this->language->get("\145\x72\162\157\x72\137\x63\x61\x70\164\x63\150\x61");
goto rQAZn;
deE3i:
goto cDe3O;
goto ybcUD;
sGQ0U:
$msg = str_replace(array("\xd\xa", "\15", "\12"), '', preg_replace(array("\57\134\163\x5c\x73\x2b\x2f", "\57\xd\xd\x2b\57", "\x2f\xa\12\53\57"), '', trim(str_replace($find, $replace, $template))));
goto gr1VV;
Dluyw:
QG1_H:
goto TPrP1;
gNhrB:
if (!($email == '' || $password == '')) {
goto wrUd1;
}
goto QhG_a;
syep4:
$recaptcha = json_decode($recaptcha, true);
goto BDm8b;
YJaws:
wrUd1:
goto G1NJX;
kChrY:
return !$this->error;
goto O90zR;
O90zR:
}
public function template($onlyButton = false)
{
goto Oy3jW;
DbixS:
$redirect_url = $this->url->link("\x65\x78\164\x65\x6e\x73\151\157\156\x2f\155\x6f\144\x75\x6c\x65\x2f\x68\x70\137\163\157\x63\151\141\x6c\137\154\157\147\x69\156\57\x66\x61\143\145\142\x6f\157\153", '', true);
goto AOeI6;
M467_:
$data["\162\145\x64\151\x72\x65\143\164"] = $this->session->data["\x72\145\x64\x69\162\145\x63\164"];
goto m7lZO;
iiKsa:
$popup_banner_image = $this->config->get("\x6d\x6f\144\165\x6c\145\137\x68\160\x5f\x73\157\143\x69\141\154\x5f\154\x6f\147\x69\x6e\x5f\160\x6f\x70\x75\160\x5f\x62\x61\x6e\x6e\x65\x72\x5f\151\155\x61\x67\x65");
goto eXzDL;
PnGVy:
return null;
goto ktxgy;
L4jMh:
P_V6i:
goto XwiOk;
PebNX:
$data["\162\145\144\x69\x72\x65\143\x74"] = $this->request->post["\162\x65\x64\151\162\145\x63\164"];
goto UXhhs;
Xk1DN:
$data["\163\151\x64\145\x5f\142\141\x6e\156\x65\x72\137\151\155\x61\x67\x65"] = $this->model_tool_image->resize($this->config->get("\x6d\x6f\144\x75\x6c\145\x5f\x68\x70\137\x73\x6f\x63\x69\141\154\137\x6c\157\147\151\x6e\x5f\163\x69\144\145\137\x62\141\x6e\156\x65\x72\137\151\155\141\147\145"), 354, 354);
goto s5BS_;
xCbzJ:
$data["\145\162\x72\x6f\162\x5f\154\x61\x73\x74\156\x61\155\145"] = '';
goto Kr1iP;
Xtwf5:
$data["\145\162\162\x6f\x72\x5f\x77\x61\162\x6e\151\x6e\x67"] = $this->error["\x77\x61\162\x6e\x69\156\147"];
goto Hl4Ba;
JpwEE:
$data["\x73\x74\x6f\162\145\137\154\x6f\x67\x6f"] = $this->model_tool_image->resize($this->config->get("\143\x6f\x6e\146\151\147\x5f\x6c\157\147\157"), 135, 35);
goto ZvY2D;
P5lZO:
$data["\145\x72\162\157\x72\137\166\145\x6e\144\x6f\x72\x5f\156\141\x6d\145"] = '';
goto WFzj7;
qpm3n:
$data["\x6a\x6f\165\x72\x6e\x61\154\x5f\x73\164\x61\164\165\x73"] = 0;
goto WIF8a;
PAZcB:
Ihlca:
goto mLK1x;
Pyi82:
$side_banner_image = $this->config->get("\x6d\157\144\x75\154\x65\137\150\x70\x5f\163\x6f\x63\151\141\154\137\154\x6f\x67\x69\156\x5f\x73\x69\x64\145\x5f\x62\141\156\x6e\x65\162\x5f\x69\155\141\147\145");
goto zSbwP;
Kr1iP:
goto H24vd;
goto v_2Q2;
WW_G1:
return $this->load->view("\145\x78\164\x65\x6e\x73\x69\x6f\x6e\x2f\x6d\157\x64\x75\x6c\x65\57\150\160\x5f\163\x6f\143\x69\x61\x6c\137\154\157\x67\x69\x6e\x5f\160\x6f\160\165\160", $data);
goto bSBoH;
rSSGr:
tTljj:
goto EsyyM;
et4WE:
goto bjOMG;
goto Vkaly;
MQVh5:
$data["\x65\162\162\x6f\x72\x5f\x66\x69\162\163\x74\156\x61\x6d\145"] = $this->error["\146\x69\162\163\164\156\141\x6d\145"];
goto bfz6C;
rKezE:
$data["\145\162\162\157\x72\137\164\145\x6c\145\x70\x68\x6f\x6e\145"] = '';
goto MTD7u;
oVB3H:
$this->load->model("\145\x78\x74\x65\x6e\x73\151\x6f\156\57\x6d\x6f\144\165\154\x65\57\150\160\137\x73\157\143\151\x61\x6c\137\x6c\x6f\x67\151\x6e");
goto GGFvF;
CWd5Y:
ZVBwu:
goto JUj1C;
cdezz:
$data["\x70\157\x70\x75\160\137\142\141\156\x6e\x65\162\x5f\x69\x6d\141\147\x65"] = $this->model_tool_image->resize($popup_banner_image, 354, 354);
goto w2pYm;
lcQc8:
return $this->load->view("\x65\170\x74\x65\156\x73\x69\x6f\x6e\x2f\155\x6f\x64\165\x6c\x65\57\x68\x70\x5f\x73\157\143\151\x61\154\137\154\x6f\147\151\x6e\x5f\142\165\x74\164\x6f\x6e", $data);
goto uZdcY;
jTuUq:
OnPob:
goto ZQdMR;
Oy3jW:
$this->load->language("\x61\143\x63\157\x75\156\x74\57\x68\160\x5f\163\x6f\x63\x69\x61\154\x5f\154\x6f\x67\x69\156");
goto vHRiV;
jV1xj:
N5w40:
goto Xacyy;
XKYmy:
$data["\x74\145\170\164\x5f\x73\x75\142\x73\143\162\x69\160\164\x69\x6f\156"] = $this->config->get("\155\157\144\165\154\145\137\x68\x70\x5f\163\157\x63\151\x61\154\x5f\154\x6f\x67\151\156\x5f\x73\165\x62\163\x63\162\x69\x70\x74\x69\157\x6e\x5f\x74\x65\170\164\137" . $this->config->get("\x63\157\x6e\146\151\147\137\x6c\141\156\147\x75\141\x67\145\137\x69\x64"));
goto VwsO4;
A9_dy:
if (!($this->config->get("\x6d\157\x64\x75\x6c\145\137\x68\x70\x5f\x73\x6f\x63\151\x61\x6c\137\154\157\x67\x69\x6e\137\163\164\141\x74\x75\x73") && !($this->isWebview() && $this->config->get("\155\157\144\165\x6c\145\x5f\150\160\137\163\157\x63\151\x61\x6c\x5f\154\x6f\x67\151\156\137\x68\151\144\x65\137\x6f\156\137\x6d\x6f\142\151\154\145\x5f\147\x6f\x6f\147\x6c\145")))) {
goto siPfE;
}
goto RAX7n;
BIbfI:
$data["\163\x74\157\162\x65\x5f\x63\x6f\x75\x6e\164\x72\x79"] = array();
goto V0qxl;
n9Zrh:
Xxb5b:
goto x9AE_;
nsyQx:
NXg4i:
goto AVmSk;
rJ7aw:
goto IJOgl;
goto ux9KO;
OBXao:
foreach ($this->config->get("\x63\157\x6e\146\151\x67\137\x63\165\x73\164\x6f\155\x65\x72\137\x67\162\157\x75\x70\x5f\144\x69\x73\160\154\141\171") as $customer_group_id) {
$customer_groups[] = $this->model_account_customer_group->getCustomerGroup($customer_group_id);
YYyhD:
}
goto n4o5S;
ZQdMR:
$data["\152\157\x75\162\156\141\154\137\163\x74\141\x74\x75\163"] = JOURNAL3_ACTIVE;
goto m8SeU;
PCdpX:
$data["\x72\145\147\x69\x73\164\145\162"] = $this->url->link("\x65\170\164\x65\x6e\x73\x69\x6f\x6e\x2f\155\x6f\x64\165\154\145\x2f\150\x70\x5f\163\157\143\x69\141\x6c\x5f\x6c\x6f\x67\x69\156\57\162\145\147\151\x73\x74\145\162\105\x6d\x61\x69\x6c", '', true);
goto wUMvT;
n8sSC:
$data["\141\143\164\151\x6f\x6e"] = $this->url->link("\x65\170\164\x65\156\x73\x69\x6f\x6e\x2f\x6d\157\144\x75\x6c\x65\x2f\x68\160\x5f\x73\157\x63\151\x61\x6c\x5f\154\157\x67\x69\156\x2f\154\157\x67\151\156", '', true);
goto PCdpX;
HeKOr:
KL3Za:
goto sjBHS;
CK3cp:
$data["\x70\150\157\156\x65\137\155\x61\x78\137\x6c\145\156\x67\164\150"] = $this->config->get("\x6d\x6f\x64\x75\154\x65\x5f\x68\160\x5f\163\157\143\x69\141\x6c\x5f\x6c\157\147\151\156\137\x6d\x61\x78\x69\155\x75\x6d\137\160\150\x6f\x6e\145\x5f\x6e\x75\155\142\x65\162");
goto fQegR;
cdSPF:
$data["\155\x6f\x64\x61\x6c\137\x6c\x6f\147\151\x6e\137\x72\145\x67\151\x73\164\x65\162"] = $this->config->get("\x6d\x6f\x64\165\154\145\137\x68\x70\137\163\157\x63\x69\x61\x6c\137\x6c\x6f\x67\x69\156\137\144\145\x64\151\143\x61\164\145\144\x5f\154\157\147\x69\156\x5f\x72\x65\147\151\163\164\x65\162");
goto Vc6Wx;
JUj1C:
if (isset($this->error["\x63\157\156\146\x69\162\155\137\x76\145\x6e\x64\157\162"])) {
goto FLHbj;
}
goto KIx3x;
KIx3x:
$data["\145\x72\162\x6f\x72\x5f\x63\x6f\x6e\146\x69\x72\x6d\x5f\166\x65\x6e\144\x6f\x72"] = '';
goto SUu2r;
Rm0s_:
H24vd:
goto yxWjj;
Afv1f:
jSha4:
goto A6R6d;
jJm3_:
if ($this->config->get("\155\157\144\x75\x6c\x65\137\x68\160\x5f\163\157\143\x69\x61\154\137\154\x6f\x67\151\156\x5f\x70\x6f\x70\x75\x70\137\164\x68\145\x6d\145") == "\x31") {
goto fHWGg;
}
goto RryyE;
sbHXW:
if (isset($this->error["\x74\x65\154\145\160\150\157\x6e\x65"])) {
goto N5w40;
}
goto rKezE;
bfz6C:
zONbF:
goto ec6Ln;
VrsOR:
$data["\163\164\x72\x69\x63\x74\137\160\x61\163\163\167\x6f\162\144"] = $this->config->get("\x6d\x6f\x64\165\154\145\x5f\x68\x70\137\163\157\143\x69\x61\x6c\x5f\x6c\x6f\x67\x69\156\x5f\x73\164\162\x69\143\164\137\160\141\163\x73\167\x6f\x72\144");
goto XKYmy;
q5kzI:
$data["\x63\x61\x70\164\x63\x68\141\x5f\163\164\x61\164\165\163"] = $this->config->get("\x6d\x6f\144\x75\x6c\145\137\x68\x70\137\163\x6f\x63\x69\141\x6c\137\x6c\x6f\x67\x69\x6e\137\143\141\160\x74\143\150\x61\137\163\164\141\164\165\163");
goto pag0a;
B64Yc:
n4zTk:
goto JudtR;
AOeI6:
$state = rand(0, 199999);
goto OkmA1;
wBjWu:
$data["\147\x6f\157\147\154\x65"] = "\x68\164\164\160\163\72\x2f\x2f\x61\143\143\x6f\x75\x6e\164\163\x2e\147\157\x6f\147\154\x65\x2e\143\x6f\x6d\x2f\157\x2f\x6f\x61\x75\x74\150\x32\57\x76\62\x2f\141\165\164\150\x3f" . http_build_query($param);
goto Byp2u;
rz3S_:
$data["\x65\162\162\157\162\137\x77\x61\x72\x6e\x69\156\x67"] = '';
goto vn6e7;
Wwrmf:
$logged = $this->customer->login($decrypted_email, '', true);
goto gu3JB;
EB11c:
$this->load->library("\x6c\x69\156\x65\154\x6f\147\x69\156");
goto GHNZs;
lxRqV:
$data["\144\145\x64\151\x63\x61\164\145\x64\137\154\x6f\x67\x69\156\137\162\145\147\151\x73\x74\145\x72"] = 0;
goto qHmWp;
bQ49k:
g8CFS:
goto VwG5x;
tbUXM:
goto xJ2Zu;
goto KI6SU;
NIuY5:
wR52c:
goto MQVh5;
fQegR:
$data["\145\x72\x72\157\x72\137\x70\x68\x6f\156\x65\x5f\155\x61\170\137\154\145\156\147\x74\x68"] = sprintf($this->language->get("\x65\162\x72\x6f\162\x5f\x70\150\x6f\156\x65\137\x6d\x61\170\x5f\x6c\145\156\x67\164\x68"), $this->config->get("\155\157\x64\x75\154\145\137\x68\x70\x5f\x73\157\x63\x69\141\x6c\137\154\157\147\x69\x6e\137\x6d\141\x78\x69\155\165\x6d\x5f\160\150\157\x6e\x65\137\156\x75\x6d\142\145\162"));
goto yNlV9;
IV9Uv:
Q8fQT:
goto oVB3H;
UDnqg:
$data["\x72\157\165\164\x65"] = isset($this->request->get["\162\x6f\x75\x74\x65"]) ? $this->request->get["\x72\157\x75\164\145"] : '';
goto n8sSC;
SUu2r:
goto Ihlca;
goto OGGsG;
V64n8:
G9e5j:
goto Xtwf5;
Q23D6:
$data["\x6c\151\156\145\x5f\164\150\165\155\142"] = $this->model_tool_image->resize("\154\x69\156\x65\x2e\160\x6e\147", 20, 20);
goto j9fas;
YpFi2:
$this->load->model("\141\143\x63\157\165\x6e\164\57\x63\165\x73\164\x6f\155\145\x72");
goto lf1Gy;
VwsO4:
if (!$data["\146\x61\x63\145\142\157\157\x6b\137\154\x6f\x67\x69\x6e"]) {
goto NXg4i;
}
goto p5Ttp;
gZgNK:
$data["\147\157\157\147\x6c\x65\137\143\154\151\145\x6e\164\x5f\151\x64"] = $this->config->get("\155\x6f\144\165\x6c\x65\x5f\150\160\137\163\x6f\x63\151\141\x6c\x5f\154\157\x67\151\156\137\147\157\x6f\x67\x6c\145\137\x63\154\151\145\156\164");
goto N67QX;
yNlV9:
if ($this->config->get("\155\x6f\144\165\154\x65\137\150\x70\x5f\163\x6f\143\x69\141\x6c\137\154\157\x67\151\156\137\x64\x65\x64\151\143\x61\164\145\x64\137\x6c\x6f\x67\151\x6e\137\x72\145\147\x69\x73\164\x65\162") == "\x30" && $this->config->get("\155\157\144\165\154\x65\x5f\x68\160\x5f\x73\x6f\143\151\141\154\x5f\154\157\147\x69\x6e\137\x70\x6f\x70\165\160\x5f\x74\150\x65\155\x65") == "\61") {
goto A2O0C;
}
goto lKSyF;
RryyE:
return $this->load->view("\x65\170\164\x65\156\163\x69\157\x6e\x2f\155\157\x64\x75\154\x65\x2f\150\x70\x5f\163\157\x63\x69\141\154\x5f\x6c\x6f\147\151\x6e\x5f\163\151\x64\145\137\x70\x6f\x70\x75\160", $data);
goto adrSx;
s5BS_:
TCASP:
goto ZtwFa;
Byp2u:
aXMxJ:
goto RK5_A;
fEty5:
$data["\x73\164\x6f\162\x65\137\x63\157\165\x6e\x74\162\171"] = $this->model_extension_module_hp_social_login->getStoreCountry($country_id);
goto L4jMh;
CZHei:
$customer_groups = array();
goto qMkau;
LwN0M:
$data["\143\157\154\x6f\162\137\163\x63\x68\145\x6d\x65"] = $this->config->get("\x6d\x6f\144\165\154\145\137\x68\160\x5f\163\157\x63\x69\x61\154\137\x6c\x6f\147\x69\156\x5f\143\x6f\x6c\157\x72\x5f\163\x63\150\x65\x6d\x65");
goto W1vPq;
A6R6d:
$data["\x65\162\162\157\x72\137\x76\x65\156\144\157\162\x5f\156\x61\155\145"] = $this->error["\x76\x65\156\144\157\162\x5f\156\x61\155\x65"];
goto CWd5Y;
JudtR:
TXtqm:
goto A9_dy;
fnW5v:
if (isset($this->error["\143\157\156\x66\x69\162\155"])) {
goto Wnqk3;
}
goto RhbTA;
TvAvu:
v34Mu:
goto cNtUg;
ATYRo:
$data["\160\150\157\156\145\x5f\x63\157\x75\x6e\164\162\171"] = array();
goto FCyK7;
Fm62_:
$data["\x64\145\144\151\x63\x61\164\145\144\137\x6c\157\147\151\156\137\x72\x65\x67\x69\163\x74\145\162"] = $this->config->get("\x6d\157\x64\165\154\145\x5f\150\160\x5f\x73\157\x63\151\141\x6c\137\x6c\x6f\147\x69\156\x5f\x64\x65\x64\151\143\x61\x74\145\x64\137\x6c\157\147\151\x6e\x5f\162\x65\147\x69\163\164\145\162");
goto rJ7aw;
kGauX:
$data["\146\141\143\x65\142\157\157\153\137\150\x61\156\144\154\x65\162"] = $this->url->link("\145\170\x74\x65\x6e\163\151\157\x6e\x2f\155\x6f\x64\165\x6c\145\x2f\150\x70\137\x73\x6f\143\151\x61\x6c\x5f\x6c\157\147\x69\x6e\57\x66\x61\143\x65\142\157\x6f\153", '', true);
goto nsyQx;
RhbTA:
$data["\145\162\x72\157\162\x5f\x63\157\x6e\x66\x69\162\x6d"] = '';
goto qUXNI;
hqDRO:
$this->load->model("\141\143\x63\x6f\x75\x6e\x74\57\143\165\x73\164\x6f\x6d\145\x72\x5f\x67\162\x6f\165\160");
goto OBXao;
x9AE_:
$data["\145\155\141\151\x6c\137\163\x74\141\164\x75\x73"] = $this->config->get("\155\x6f\x64\x75\154\145\137\x68\160\x5f\163\x6f\x63\151\141\154\137\x6c\x6f\x67\x69\156\137\x65\155\141\151\x6c\x5f\163\164\141\164\x75\163");
goto dLEzp;
C73JI:
goto TGnEB;
goto xJ2DL;
Vc6Wx:
if (!$onlyButton) {
goto rcW86;
}
goto lcQc8;
xhz2v:
$data["\145\x72\x72\157\162\x5f\154\141\163\x74\x6e\x61\155\145"] = $this->error["\154\141\163\164\156\141\x6d\x65"];
goto Rm0s_;
ktmQ4:
goto t9BDl;
goto rwhPS;
dmJB9:
$data["\160\x6f\x63\x6f\x5f\x74\150\x65\155\x65\137\163\164\x61\164\x75\163"] = $this->config->get("\155\141\x7a\x61\137\x73\164\x61\164\165\x73");
goto Ot8zf;
lf1Gy:
$this->response->redirect($this->url->link("\141\x63\143\x6f\165\x6e\x74\57\x61\x63\143\157\165\x6e\164", '', true));
goto B64Yc;
Hl4Ba:
DFaxG:
goto sBzwx;
p5Ttp:
$facebook_app_id = $this->config->get("\x6d\x6f\144\x75\154\x65\137\x68\x70\x5f\x73\157\x63\151\x61\x6c\x5f\x6c\x6f\147\151\156\x5f\x66\x61\143\145\142\157\x6f\153\x5f\x61\x70\160\137\151\x64");
goto DbixS;
Xacyy:
$data["\x65\x72\x72\157\x72\x5f\164\x65\x6c\x65\160\x68\x6f\156\x65"] = $this->error["\x74\x65\x6c\145\x70\x68\x6f\x6e\145"];
goto hPeSq;
OkmA1:
$scopes = array("\x65\155\x61\x69\154");
goto jj9sf;
MTD7u:
goto p2_i5;
goto jV1xj;
dIUJa:
t9BDl:
goto et4WE;
dLEzp:
$data["\146\x6f\162\147\x6f\164\x74\x65\x6e"] = sprintf($this->language->get("\164\145\x78\x74\x5f\x66\x6f\x72\147\157\x74"), $this->url->link("\x61\x63\143\x6f\x75\x6e\164\57\146\157\162\147\157\164\x74\x65\156", '', true));
goto q5kzI;
mLK1x:
if (isset($this->request->post["\x72\145\x64\151\162\145\143\x74"]) && (strpos($this->request->post["\162\x65\x64\x69\162\x65\x63\164"], $this->config->get("\x63\x6f\156\146\x69\147\137\165\162\154")) !== false || strpos($this->request->post["\x72\145\x64\x69\162\x65\143\164"], $this->config->get("\x63\x6f\x6e\x66\x69\147\137\163\x73\154")) !== false)) {
goto vke_j;
}
goto kZ2Tq;
F8Xw9:
$data["\145\162\162\x6f\162\137\143\x6f\x6e\x66\x69\x72\155\137\x76\145\x6e\144\157\162"] = $this->error["\x63\x6f\156\x66\151\162\155\x5f\166\145\156\144\x6f\162"];
goto PAZcB;
evgi4:
siPfE:
goto PnGVy;
vn6e7:
goto DFaxG;
goto V64n8;
uZdcY:
goto aynyu;
goto Gdf1B;
e1oio:
$data["\145\x72\x72\157\x72\x5f\x65\x6d\141\x69\x6c"] = '';
goto tbUXM;
adrSx:
goto LRynR;
goto NVe0d;
fWpXa:
xJ2Zu:
goto sbHXW;
DGC2N:
if ($this->config->get("\x6d\x6f\x64\x75\154\x65\137\150\160\x5f\x73\x6f\143\151\141\154\x5f\x6c\x6f\147\151\156\137\160\x68\x6f\156\145\137\x63\157\165\x6e\x74\162\x79")) {
goto tTljj;
}
goto ATYRo;
m7lZO:
BzVC1:
goto C73JI;
FIFwA:
goto He_lO;
goto bQ49k;
zSbwP:
if (!($side_banner_image && is_file(DIR_IMAGE . $side_banner_image))) {
goto TCASP;
}
goto Xk1DN;
yiPEq:
goto zONbF;
goto NIuY5;
WoT7D:
if ($this->config->get("\x63\x6f\x6e\x66\151\x67\137\143\157\165\156\x74\162\x79\x5f\x69\x64") && $shipping_bundle == 0) {
goto v34Mu;
}
goto BIbfI;
Ot8zf:
$data["\163\157\143\151\141\x6c\137\x6c\x6f\x67\151\x6e"] = $this->config->get("\x6d\157\x64\x75\x6c\145\x5f\x68\x70\x5f\163\x6f\x63\151\x61\154\x5f\x6c\157\x67\x69\156\x5f\163\164\141\x74\165\x73");
goto cdSPF;
m8SeU:
QpL4q:
goto DGC2N;
iQ5lc:
$data["\163\155\x73\137\x6c\x6f\x67\x69\x6e"] = $this->config->get("\155\x6f\144\165\154\x65\137\x68\160\137\163\x6f\143\151\x61\154\137\x6c\x6f\147\151\x6e\137\163\155\x73\137\163\x74\x61\x74\x75\163");
goto VrsOR;
vBsUn:
$data["\160\x6f\160\165\160\137\x62\141\x6e\x6e\x65\162\x5f\151\x6d\141\x67\145"] = $this->model_tool_image->resize("\x69\155\141\x67\x65\x2f\143\141\x74\x61\x6c\157\147\x2f\x68\x70\x61\x73\x6c\x2d\x6c\157\147\x69\x6e\56\152\x70\x67", 354, 354);
goto wSlaQ;
hGHNO:
if (defined("\112\117\125\122\116\x41\114\x33\x5f\101\x43\124\x49\126\105")) {
goto OnPob;
}
goto qpm3n;
AVmSk:
if (!$data["\147\x6f\157\147\154\x65\x5f\154\157\147\151\156"]) {
goto aXMxJ;
}
goto riomP;
uyuMq:
$data["\162\x65\144\x69\x72\145\x63\x74"] = "\150\164\x74\160\163\x3a\57\57" . $_SERVER["\x48\124\x54\x50\137\110\117\x53\124"] . $_SERVER["\x52\x45\121\x55\105\x53\x54\x5f\x55\122\x49"];
goto PJ4nA;
GHNZs:
$this->load->model("\164\x6f\x6f\154\x2f\x69\x6d\141\147\145");
goto Q23D6;
XwiOk:
$data["\x76\145\156\144\157\162\x5f\x73\x74\x61\164\165\163"] = $this->model_extension_module_hp_social_login->checkMarketplace();
goto Hj5je;
teTfD:
$this->document->addScript("\x63\141\164\x61\x6c\x6f\x67\57\x76\x69\145\x77\57\152\141\166\x61\x73\143\162\151\x70\164\x2f\x6a\x71\165\145\x72\x79\56\166\x61\x6c\x69\144\x61\x74\x65\x2e\155\151\x6e\56\x6a\163");
goto CZHei;
qHmWp:
IJOgl:
goto Vceqg;
o_K_x:
$this->load->model("\x74\157\x6f\154\57\151\155\x61\x67\x65");
goto JpwEE;
ExB2P:
return $this->load->view("\x65\170\x74\x65\156\x73\151\x6f\156\57\155\x6f\x64\165\154\x65\57\x68\x70\x5f\163\157\143\x69\141\154\x5f\x6c\x6f\147\x69\x6e\x5f\160\x6f\160\x75\x70", $data);
goto TkUT3;
ksrz2:
$data["\x64\x69\163\x61\x62\154\x65\x5f\x65\x6d\x61\151\154\x5f\x76\145\x72\151\146\x69\143\x61\x74\151\x6f\156"] = $this->config->get("\x6d\x6f\x64\165\154\145\137\x68\160\137\x73\157\143\x69\141\154\x5f\x6c\157\x67\151\156\137\144\151\163\141\142\154\145\137\x65\155\141\151\x6c\137\166\145\162\x69\146\151\x63\141\x74\x69\x6f\156");
goto md8T1;
EsyyM:
$data["\x70\x68\x6f\156\x65\x5f\x63\157\x75\156\x74\x72\x79"] = $this->config->get("\x6d\157\144\x75\154\145\x5f\150\x70\137\163\x6f\143\151\141\154\x5f\x6c\157\147\151\156\x5f\160\x68\x6f\156\145\x5f\143\157\165\x6e\x74\x72\x79");
goto n9Zrh;
jj9sf:
$data["\x66\141\143\145\142\x6f\157\x6b"] = "\150\x74\164\x70\x73\x3a\x2f\57\x77\167\x77\x2e\146\141\x63\145\142\x6f\x6f\153\x2e\143\x6f\155\57\166\x35\x2e\60\57\144\x69\141\154\x6f\x67\57\157\141\165\164\150\x3f\143\x6c\151\x65\x6e\x74\x5f\x69\144\x3d" . $facebook_app_id . "\x26\162\x65\x64\151\162\x65\x63\x74\137\x75\x72\151\x3d" . urlencode($redirect_url) . "\x26\163\x74\141\x74\x65\75" . urlencode(json_encode($state)) . "\x26\x72\x65\163\160\x6f\156\x73\145\x5f\164\x79\160\145\x3d\x74\x6f\x6b\x65\x6e\46\x73\x63\x6f\160\x65\x3d" . implode("\54", $scopes);
goto kGauX;
hPeSq:
p2_i5:
goto rPxAM;
UXhhs:
TGnEB:
goto hGHNO;
qUXNI:
goto E2MeE;
goto iANGg;
ITiqe:
E2MeE:
goto MI9WI;
vHRiV:
if (!(isset($this->request->cookie["\x55\123\122"]) && !$this->customer->isLogged())) {
goto TXtqm;
}
goto iRW13;
RK5_A:
if (!$data["\154\151\156\x65\x5f\x6c\x6f\147\x69\156"]) {
goto KL3Za;
}
goto EB11c;
GbNm6:
gLz_y:
goto cdezz;
rPxAM:
if (isset($this->error["\x70\x61\x73\163\x77\x6f\162\144"])) {
goto g8CFS;
}
goto azT7H;
uyoQu:
He_lO:
goto fnW5v;
FCyK7:
goto Xxb5b;
goto rSSGr;
qMkau:
if (!($this->config->get("\143\157\156\146\151\x67\137\143\x75\163\x74\157\155\x65\162\x5f\x67\162\x6f\165\x70\137\x64\151\163\160\x6c\141\171") && count($this->config->get("\143\x6f\156\146\x69\147\x5f\143\x75\x73\x74\157\x6d\x65\x72\137\x67\162\157\165\160\137\144\x69\163\x70\154\141\171")) > 1)) {
goto VHowg;
}
goto hqDRO;
ZtwFa:
$data["\146\141\x63\x65\x62\157\x6f\x6b\137\154\157\x67\151\156"] = $this->config->get("\x6d\x6f\x64\165\154\x65\137\150\160\137\163\157\x63\151\x61\x6c\137\154\x6f\147\x69\x6e\137\x66\x61\x63\145\142\x6f\157\153\137\163\x74\141\x74\165\163");
goto JCAOo;
v_2Q2:
POFCf:
goto xhz2v;
lVZec:
return $this->load->view("\x65\170\x74\x65\156\x73\151\157\156\x2f\x6d\157\144\165\154\x65\57\150\x70\137\163\x6f\x63\x69\141\154\137\x6c\x6f\x67\x69\156\x5f\x73\151\144\x65\137\x70\x6f\x70\165\160", $data);
goto ktmQ4;
kVKBt:
$data["\145\x72\162\x6f\162\x5f\x65\155\x61\x69\154"] = $this->error["\x65\x6d\141\151\x6c"];
goto fWpXa;
TkUT3:
bjOMG:
goto Vq7z_;
gu3JB:
if (!$logged) {
goto n4zTk;
}
goto YpFi2;
WIF8a:
goto QpL4q;
goto jTuUq;
Wk9Er:
bXQHb:
goto M467_;
baKH9:
$data["\145\162\x72\157\162\137\146\151\162\x73\164\x6e\141\x6d\x65"] = '';
goto yiPEq;
VwG5x:
$data["\x65\162\162\x6f\x72\137\160\141\x73\163\167\157\162\144"] = $this->error["\160\x61\x73\x73\167\157\162\x64"];
goto uyoQu;
bSBoH:
LRynR:
goto dIUJa;
Vceqg:
$data["\162\x65\x67\x69\163\x74\x65\162\137\x75\162\154"] = $this->url->link("\x61\x63\x63\157\x75\x6e\x74\57\x72\x65\147\x69\163\x74\x65\162", '', true);
goto UDnqg;
V0qxl:
goto P_V6i;
goto TvAvu;
yxWjj:
if (isset($this->error["\145\155\141\x69\154"])) {
goto tVWT8;
}
goto e1oio;
KOjiy:
$data["\x63\165\x73\x74\157\155\145\x72\137\147\162\x6f\x75\160\163"] = $customer_groups;
goto o_K_x;
md8T1:
$data["\145\155\141\151\x6c\x5f\x76\x65\162\151\x66\151\x63\141\x74\x69\x6f\156"] = $this->config->get("\x6d\157\x64\x75\x6c\145\x5f\x68\x70\x5f\163\157\143\151\141\154\x5f\154\157\x67\x69\x6e\x5f\141\154\x77\141\x79\x73\137\x73\145\156\x64\x5f\166\x65\162\x69\146\151\143\x61\x74\151\x6f\x6e");
goto p1OCu;
wUMvT:
$data["\x72\145\x67\151\x73\x74\x65\162\123\115\123"] = $this->url->link("\x65\x78\x74\145\156\x73\151\x6f\x6e\57\155\x6f\144\x75\154\x65\x2f\150\160\x5f\x73\157\143\151\x61\x6c\x5f\154\x6f\x67\x69\156\57\x72\145\x67\x69\163\164\x65\162\123\115\x53", '', true);
goto ksrz2;
MI9WI:
if (isset($this->error["\166\145\156\144\157\162\137\156\141\155\145"])) {
goto jSha4;
}
goto P5lZO;
W1vPq:
if ($this->config->get("\155\157\144\x75\154\145\137\x68\160\x5f\x73\157\143\x69\141\154\x5f\x6c\x6f\x67\151\x6e\137\x64\151\163\141\x62\154\x65\137\160\x68\x6f\x6e\x65\137\166\145\162\151\146\151\x63\141\x74\x69\157\156") && $this->config->get("\155\157\x64\165\154\145\137\x68\x70\x5f\163\157\143\151\x61\154\137\154\157\147\x69\156\x5f\x64\151\163\141\x62\154\x65\137\145\155\141\x69\x6c\137\x76\145\162\151\146\x69\143\141\164\151\x6f\156")) {
goto GwVU8;
}
goto Fm62_;
WFzj7:
goto ZVBwu;
goto Afv1f;
GGFvF:
$shipping_bundle = $this->config->get("\x6d\157\x64\x75\x6c\x65\137\x62\x75\x6e\x64\x6c\145\x5f\x70\x72\145\x66\145\162\x72\145\144\x5f\x73\150\x69\x70\x70\151\156\147") ? 1 : 0;
goto WoT7D;
n4o5S:
tTN79:
goto Rvrdk;
rwhPS:
RNYHX:
goto jJm3_;
ZvY2D:
$data["\163\x69\x64\x65\137\142\x61\156\x6e\145\x72\137\151\x6d\x61\x67\x65"] = $this->model_tool_image->resize("\151\x6d\x61\147\x65\x2f\143\x61\164\141\x6c\157\147\57\150\160\141\x73\154\55\154\157\147\151\x6e\55\x62\x67\56\x6a\160\x67", 354, 354);
goto Pyi82;
iRW13:
$decrypted_email = $this->decrypt($this->request->cookie["\125\123\x52"]);
goto Wwrmf;
azT7H:
$data["\x65\x72\162\x6f\x72\137\x70\x61\163\163\167\x6f\x72\144"] = '';
goto FIFwA;
lKSyF:
if ($data["\162\x6f\x75\164\145"] == "\x65\x78\x74\145\x6e\x73\151\x6f\156\x2f\155\x6f\144\x75\x6c\x65\57\150\160\137\x73\157\143\151\x61\x6c\x5f\154\x6f\x67\151\x6e\x2f\147\x65\x74\123\x6f\x63\151\x61\x6c\102\165\x74\x74\157\x6e" || $data["\162\x6f\165\x74\x65"] == "\143\x68\145\143\x6b\x6f\x75\164\57\x63\x68\x65\x63\153\x6f\165\x74") {
goto RNYHX;
}
goto lVZec;
pag0a:
$data["\x67\157\x6f\x67\154\145\137\163\x69\x74\x65\153\145\171"] = $this->config->get("\x63\141\x70\164\143\x68\x61\137\x67\x6f\157\x67\x6c\145\137\x6b\x65\171");
goto LwN0M;
p1OCu:
if ($this->config->get("\155\157\144\165\154\145\137\x68\x70\137\163\x6f\x63\151\x61\x6c\137\154\157\x67\151\156\137\150\151\144\145\x5f\160\x6f\x70\165\160\x5f\142\141\156\156\145\162")) {
goto Q8fQT;
}
goto iiKsa;
OGGsG:
FLHbj:
goto F8Xw9;
JCAOo:
$data["\x67\x6f\157\x67\154\x65\x5f\x6c\x6f\x67\x69\x6e"] = $this->config->get("\x6d\x6f\x64\165\154\145\137\150\160\x5f\163\157\x63\x69\141\154\x5f\154\157\x67\151\x6e\137\x67\x6f\x6f\147\x6c\x65\x5f\x73\x74\x61\x74\165\163");
goto cs0tH;
ec6Ln:
if (isset($this->error["\x6c\x61\163\164\x6e\x61\155\x65"])) {
goto POFCf;
}
goto xCbzJ;
Vkaly:
A2O0C:
goto ExB2P;
wSlaQ:
goto hZyaN;
goto GbNm6;
N67QX:
$data["\x67\157\x6f\147\x6c\145\137\x68\141\x6e\x64\154\145\162"] = $this->url->link("\145\170\x74\145\x6e\x73\151\x6f\x6e\x2f\155\157\x64\x75\x6c\x65\x2f\150\x70\x5f\163\x6f\143\151\141\154\137\154\x6f\147\151\x6e\57\147\157\x6f\x67\x6c\145", '', true);
goto wBjWu;
riomP:
$param = array("\x63\154\151\145\x6e\x74\137\151\x64" => $this->config->get("\x6d\x6f\x64\165\x6c\x65\x5f\x68\x70\137\163\x6f\143\x69\x61\154\137\x6c\x6f\147\x69\x6e\x5f\x67\x6f\x6f\x67\154\145\137\x63\x6c\151\145\x6e\164"), "\x72\x65\x64\x69\162\x65\143\x74\137\165\x72\x69" => $this->url->link("\x65\170\164\145\156\x73\151\x6f\x6e\x2f\x6d\x6f\144\165\x6c\x65\57\150\160\x5f\163\157\143\x69\x61\x6c\137\x6c\x6f\x67\x69\x6e\x2f\x67\x6f\x6f\147\x6c\x65", '', true), "\x73\143\x6f\160\145" => "\x70\x72\x6f\x66\151\x6c\145\x20\x65\155\x61\151\x6c", "\162\x65\163\160\x6f\156\x73\145\137\164\x79\x70\145" => "\143\x6f\x64\145");
goto gZgNK;
sjBHS:
if (isset($this->error["\x77\141\x72\156\151\156\147"])) {
goto G9e5j;
}
goto rz3S_;
Gdf1B:
rcW86:
goto CK3cp;
Rvrdk:
VHowg:
goto KOjiy;
eXzDL:
if ($popup_banner_image && is_file(DIR_IMAGE . $popup_banner_image)) {
goto gLz_y;
}
goto vBsUn;
Vq7z_:
aynyu:
goto evgi4;
PJ4nA:
goto BzVC1;
goto Wk9Er;
Hj5je:
$data["\166\x65\x6e\144\157\x72\x5f\143\x6f\156\x66\151\162\155"] = $this->config->get("\x76\x65\x6e\x64\x6f\x72\137\x63\x6f\154\157\162\137\x73\x63\150\145\x6d\x65");
goto dmJB9;
cs0tH:
$data["\x6c\151\x6e\x65\137\154\x6f\147\x69\156"] = $this->config->get("\x6d\x6f\144\165\154\x65\x5f\150\x70\x5f\x73\157\x63\151\141\x6c\x5f\x6c\157\x67\x69\x6e\137\x6c\151\x6e\145\x5f\163\164\x61\x74\165\163");
goto iQ5lc;
kZ2Tq:
if (isset($this->session->data["\162\145\144\151\162\x65\143\164"])) {
goto bXQHb;
}
goto uyuMq;
KI6SU:
tVWT8:
goto kVKBt;
w2pYm:
hZyaN:
goto IV9Uv;
sBzwx:
if (isset($this->error["\x66\x69\x72\163\164\x6e\x61\x6d\x65"])) {
goto wR52c;
}
goto baKH9;
cf0Qv:
$data["\x65\x72\x72\157\x72\137\143\157\x6e\146\151\x72\155"] = $this->error["\x63\x6f\156\146\151\x72\155"];
goto ITiqe;
j9fas:
$data["\x6c\x69\x6e\x65"] = $this->linelogin->getLink(7);
goto HeKOr;
NVe0d:
fHWGg:
goto WW_G1;
RAX7n:
$this->load->language("\x65\x78\164\x65\x6e\163\x69\x6f\156\x2f\155\157\x64\x75\154\145\x2f\150\x70\137\163\157\x63\x69\141\154\x5f\154\x6f\147\x69\x6e");
goto teTfD;
ux9KO:
GwVU8:
goto lxRqV;
iANGg:
Wnqk3:
goto cf0Qv;
cNtUg:
$country_id = $this->config->get("\143\x6f\156\146\x69\147\137\143\x6f\x75\156\x74\x72\171\137\151\144");
goto fEty5;
xJ2DL:
vke_j:
goto PebNX;
ktxgy:
}
public function generateRandomString($length = 6)
{
goto JMAy2;
Ysgk5:
$randomString = '';
goto zd9El;
GmaqG:
aXjMs:
goto IX0J3;
mEl1m:
$charactersLength = strlen($characters);
goto Ysgk5;
JMAy2:
$characters = "\60\x31\62\63\64\x35\x36\67\x38\71\141\x62\x63\x64\145\x66\x67\150\x69\x6a\x6b\x6c\155\156\157\x70\x71\162\x73\x74\x75\166\x77\x78\171\172";
goto mEl1m;
Wg1rG:
cRpDj:
goto Pe4qC;
IX0J3:
$i++;
goto LHpjB;
LHpjB:
goto ymvP6;
goto Wg1rG;
vVs2E:
if (!($i < $length)) {
goto cRpDj;
}
goto v4PVV;
Pe4qC:
return $randomString;
goto keZy0;
v4PVV:
$randomString .= $characters[rand(0, $charactersLength - 1)];
goto GmaqG;
zd9El:
$i = 0;
goto WJ8oZ;
WJ8oZ:
ymvP6:
goto vVs2E;
keZy0:
}
public function registerEmail()
{
goto nh2NZ;
e64j8:
unset($this->session->data["\150\x70\141\x61"]);
goto PTC0h;
bZZwq:
f_QQP:
goto pNm19;
GpXdl:
$this->session->data["\x63\x75\163\x74\157\155\145\162\x5f\145\x6d\141\x69\x6c"] = $this->request->post["\x65\155\x61\x69\x6c"];
goto wqcoX;
SS4bp:
$json["\x65\x72\x72\x6f\x72"] = $this->error;
goto Cll5g;
BqEmP:
$this->verification($customer_id);
goto pyYwD;
uYZ4L:
$data_customer = $this->request->post;
goto rx1ER;
nh2NZ:
$this->load->model("\141\x63\x63\x6f\165\x6e\x74\57\x63\x75\x73\164\157\x6d\145\162");
goto XYFos;
cM7Sl:
goto rRirf;
goto SyPVd;
sCllc:
unset($this->session->data["\147\165\145\163\x74"]);
goto cM7Sl;
SmpLY:
$json["\162\x65\144\151\x72\145\143\164"] = $this->url->link("\x61\143\143\x6f\165\x6e\x74\x2f\x73\x75\x63\x63\x65\x73\163");
goto tvTb0;
hFPL6:
if (!isset($this->session->data["\x63\165\163\x74\157\x6d\x65\162\137\144\x69\x73\x63\x6f\165\x6e\164"])) {
goto NzZe9;
}
goto YP3_C;
SBavj:
if (!$this->config->get("\x6d\x6f\x64\x75\154\x65\x5f\x68\x70\x5f\x73\x6f\x63\x69\x61\x6c\x5f\x6c\x6f\x67\x69\156\x5f\x72\x65\x64\x69\162\145\143\164")) {
goto W99Qu;
}
goto rDf2d;
O8qBo:
LvLmN:
goto ClzFC;
trNzK:
$this->db->query("\x55\x50\x44\x41\x54\105\40\x60" . DB_PREFIX . "\143\165\x73\x74\x6f\x6d\x65\x72\x60\40\x53\x45\x54\40\163\164\x61\164\165\x73\x3d\x27\x31\47\40\127\x48\x45\x52\x45\x20\143\x75\163\x74\x6f\155\x65\162\137\151\x64\40\x3d\x20\47" . (int) $customer_id . "\47\x20");
goto d89Iq;
XYFos:
$this->load->language("\141\x63\143\x6f\165\x6e\x74\x2f\162\145\x67\151\163\x74\x65\162");
goto jfZRU;
YMt6w:
$data_customer["\x66\x69\x72\x73\164\156\141\x6d\145"] = reset($fullname);
goto hZwPa;
Ac7rg:
$json["\x73\164\141\164\x75\x73"] = true;
goto uYZ4L;
Cll5g:
VwqzT:
goto cQ3R8;
hZwPa:
$data_customer["\154\141\163\x74\156\x61\x6d\145"] = implode("\x20", array_slice($fullname, 1));
goto xgV_g;
wqcoX:
if ($this->config->get("\155\x6f\x64\165\x6c\x65\137\150\x70\137\163\x6f\x63\151\x61\x6c\137\x6c\x6f\147\151\x6e\x5f\x61\154\x77\141\171\163\137\x73\145\156\x64\137\x76\145\162\151\x66\151\143\x61\x74\x69\x6f\156") && $this->config->get("\x6d\x6f\x64\x75\x6c\x65\x5f\150\160\137\163\x6f\x63\151\x61\x6c\x5f\154\157\x67\151\156\x5f\x64\x69\x73\141\142\x6c\x65\x5f\x65\155\x61\x69\x6c\x5f\x76\x65\x72\x69\146\x69\143\x61\164\x69\x6f\156")) {
goto qW0xc;
}
goto trNzK;
ClzFC:
$json["\162\145\x64\x69\162\145\x63\164"] = $this->session->data["\162\x65\144\x69\162\145\143\164"];
goto PLy3X;
jfZRU:
$this->load->language("\x61\x63\143\157\x75\x6e\x74\x2f\150\x70\137\163\x6f\x63\151\x61\x6c\137\x6c\x6f\147\x69\156");
goto tl2kt;
PTC0h:
kY3HS:
goto hFPL6;
pyYwD:
rRirf:
goto RXATU;
SIeC7:
$this->response->setOutput(json_encode($json));
goto LGID2;
cQ3R8:
$this->response->addHeader("\x43\157\156\x74\x65\156\164\x2d\124\x79\160\x65\x3a\40\141\x70\x70\x6c\x69\143\141\x74\x69\157\x6e\57\152\x73\157\x6e");
goto SIeC7;
Fy5Bk:
zu0ID:
goto SBavj;
ePd8A:
NzZe9:
goto fEb8Z;
d89Iq:
$this->db->query("\104\105\x4c\105\124\x45\x20\106\122\117\115\40" . DB_PREFIX . "\x63\165\x73\x74\157\x6d\145\162\137\166\x65\162\151\x66\x69\x63\x61\164\151\157\156\40\127\x48\x45\122\x45\x20\143\x75\163\164\x6f\x6d\145\x72\x5f\151\144\40\75\40\x27" . (int) $customer_id . "\47");
goto pzJrn;
pzJrn:
$this->customer->login($this->request->post["\145\x6d\141\x69\154"], $this->request->post["\160\141\x73\x73\167\157\162\x64"]);
goto sCllc;
kKgWx:
unset($this->session->data["\147\x63\x61\x70\143\150\141"]);
goto Ac7rg;
rh6AN:
$data_customer["\143\165\163\164\x6f\155\x65\x72\137\147\162\x6f\165\x70\x5f\x69\x64"] = $this->config->get("\155\157\x64\165\154\x65\x5f\150\x70\x5f\x73\x6f\143\151\141\154\x5f\154\157\x67\x69\156\137\x63\165\163\x74\157\x6d\145\162\137\147\162\157\x75\x70");
goto BoX0P;
no3qd:
W99Qu:
goto bZZwq;
pNm19:
if (empty($this->error)) {
goto VwqzT;
}
goto SS4bp;
BoX0P:
$customer_id = $this->model_account_customer->addCustomer($data_customer);
goto Q8qI9;
bUvmd:
if (isset($this->session->data["\x72\145\144\x69\x72\145\143\164"])) {
goto LvLmN;
}
goto SmpLY;
rx1ER:
$fullname = array_filter(explode("\40", $this->request->post["\x66\x75\x6c\x6c\x6e\x61\x6d\145"]));
goto YMt6w;
SyPVd:
qW0xc:
goto BqEmP;
PLy3X:
unset($this->session->data["\162\145\x64\x69\x72\x65\x63\x74"]);
goto Fy5Bk;
Q8qI9:
$this->model_account_customer->deleteLoginAttempts($this->request->post["\x65\155\141\151\x6c"]);
goto GpXdl;
xgV_g:
$data_customer["\164\x65\154\145\160\x68\157\x6e\145"] = '';
goto rh6AN;
RnrA0:
if (!($this->request->server["\x52\x45\x51\x55\x45\123\x54\x5f\x4d\x45\124\x48\117\104"] == "\x50\x4f\x53\124" && $this->validateRegisterEmail())) {
goto f_QQP;
}
goto kKgWx;
fEb8Z:
ddAiC:
goto bUvmd;
P4MWO:
if (!isset($this->session->data["\x68\x70\x61\141"])) {
goto kY3HS;
}
goto e64j8;
tvTb0:
goto zu0ID;
goto O8qBo;
rDf2d:
$json["\162\145\144\151\x72\145\143\164"] = $this->url->link("\143\x6f\x6d\155\157\156\x2f\x68\157\155\x65", '', true);
goto no3qd;
RXATU:
if (!(!$this->config->get("\150\160\141\141\137\x63\x6f\x6d\151\x73\x73\x69\x6f\x6e\137\141\x6d\157\x75\x6e\x74\137\x61\146\164\145\162\x5f\163\x74\141\164\165\x73") && !$this->config->get("\x68\x70\141\x61\x5f\x63\165\163\164\157\x6d\145\x72\x5f\144\151\x73\x63\x6f\165\x6e\x74\x5f\141\146\x74\145\162\x5f\x73\x74\141\x74\x75\x73"))) {
goto ddAiC;
}
goto P4MWO;
tl2kt:
$json["\x73\164\141\164\x75\x73"] = false;
goto RnrA0;
YP3_C:
unset($this->session->data["\x63\165\163\x74\157\x6d\145\x72\137\x64\x69\163\143\x6f\165\156\164"]);
goto ePd8A;
LGID2:
}
protected function verification($customer_id)
{
goto J19TC;
enT6Y:
$mail->send();
goto RVVp6;
B3F8C:
$replace = array("\146\x69\162\x73\x74\x6e\x61\x6d\x65" => $customer_info["\x66\x69\x72\x73\x74\156\x61\155\145"], "\154\x61\163\x74\156\x61\x6d\x65" => $customer_info["\154\x61\163\164\x6e\141\x6d\x65"], "\x73\164\x6f\x72\145\x5f\x6e\141\155\145" => $this->config->get("\143\157\x6e\146\x69\147\137\x6e\141\x6d\x65"), "\x73\164\157\162\x65\x5f\145\155\141\151\x6c" => $this->config->get("\143\157\156\x66\151\147\137\x65\x6d\x61\x69\154"), "\x73\164\157\x72\145\137\x74\145\x6c\x65\160\x68\x6f\x6e\145" => $this->config->get("\143\157\x6e\x66\x69\147\x5f\x74\145\x6c\145\160\x68\x6f\x6e\x65"), "\x73\x74\x6f\162\145\137\x61\144\x64\162\145\163\x73" => $this->config->get("\x63\157\156\146\x69\x67\137\x61\x64\144\162\145\163\163"), "\163\x74\x6f\162\145\137\154\157\x67\x6f" => $store_logo, "\x73\164\157\x72\145\x5f\x75\x72\x6c" => HTTPS_SERVER, "\145\x6d\x61\x69\x6c\x2d\154\151\156\x6b" => $this->url->link("\x65\170\164\145\x6e\163\x69\157\x6e\x2f\x6d\x6f\x64\165\154\x65\57\145\155\x61\151\x6c\x5f\166\x65\162\151\x66\151\x63\141\164\151\157\156", '', true) . "\46\x76\75" . $code);
goto X6nb6;
uC946:
$mail->setFrom($this->config->get("\x63\x6f\156\146\151\x67\x5f\x65\155\x61\x69\154"));
goto T5EMP;
HA1Gs:
$mail = new Mail($this->config->get("\143\157\156\x66\151\147\x5f\155\x61\151\154\x5f\145\156\147\x69\x6e\x65"));
goto lEtzt;
T5EMP:
$mail->setSender(html_entity_decode($this->config->get("\x63\157\x6e\146\151\147\137\x6e\x61\155\145"), ENT_QUOTES, "\x55\124\x46\55\x38"));
goto e60oN;
CA_sf:
$this->load->model("\154\157\143\141\154\x69\163\141\x74\151\157\156\57\x6c\x61\156\x67\x75\x61\147\x65");
goto jCP85;
QwT2a:
$this->db->query("\104\105\114\105\x54\x45\x20\106\122\x4f\x4d\40" . DB_PREFIX . "\x63\x75\x73\164\x6f\x6d\145\162\x5f\x76\145\x72\x69\x66\x69\x63\141\x74\151\157\x6e\40\127\110\x45\x52\105\40\x63\165\163\x74\157\x6d\145\x72\x5f\x69\144\40\75\x20\47" . (int) $customer_id . "\47");
goto IqVPW;
cX4z_:
$isHtml = true;
goto bYxyn;
nZ6gg:
$mail->smtp_username = $this->config->get("\x63\157\x6e\146\x69\x67\137\155\141\x69\x6c\137\x73\x6d\x74\160\137\x75\163\145\x72\156\x61\x6d\145");
goto tEviR;
bYxyn:
$emailContent = $this->load->view("\x6d\x61\x69\x6c\x2f\x72\x65\x67\151\x73\164\145\x72\137\61", $data);
goto YP5a_;
IqVPW:
$this->db->query("\x49\116\x53\x45\122\124\x20\x49\x4e\x54\x4f\40" . DB_PREFIX . "\x63\x75\163\x74\157\155\145\162\137\166\145\162\x69\x66\x69\x63\x61\164\x69\x6f\x6e\40\123\x45\x54\40\143\165\x73\164\x6f\155\145\162\x5f\x69\144\40\75\40\47" . (int) $customer_id . "\x27\x2c\x20\143\x6f\x64\145\x20\75\40\x27" . $code . "\47");
goto CA_sf;
nchlb:
wjljZ:
goto USPSn;
syEeZ:
$isHtml = false;
goto E4auY;
t93Lf:
GM2Vn:
goto M4dQ7;
qshVu:
$mail->setText($emailContent);
goto CCAV0;
dhuSp:
$emailContent = '';
goto syEeZ;
E4auY:
if ($this->config->get("\x6d\x6f\144\x75\x6c\x65\137\150\160\137\163\157\143\x69\141\154\137\154\157\x67\x69\x6e\x5f\x65\x6d\141\x69\x6c\x5f\x73\x74\141\x74\165\163")) {
goto GM2Vn;
}
goto A63YR;
QqL5x:
$data["\x74\145\170\x74\x5f\x73\x65\x72\166\x69\x63\145"] = $this->language->get("\164\145\x78\164\137\x73\145\162\166\x69\x63\x65");
goto EdQ0x;
OrBoq:
$language_id = $languages[$defaultLanguage]["\154\141\x6e\x67\165\x61\x67\145\x5f\151\x64"];
goto tag9b;
tag9b:
$template = $this->config->get("\x6d\157\x64\x75\x6c\x65\x5f\x68\160\137\x73\157\143\x69\141\154\x5f\x6c\157\147\x69\x6e\137\145\155\141\151\x6c\x5f\155\145\x73\x73\141\147\145\x5f\164\145\x78\164\x5f" . $language_id);
goto vLMe2;
jCP85:
$languages = $this->model_localisation_language->getLanguages();
goto P76VS;
l0K2t:
$emailContent = $this->load->view("\x6d\x61\151\x6c\x2f\x72\x65\147\151\163\x74\145\x72", $data);
goto nTO4Y;
jcx1l:
$mail->smtp_port = $this->config->get("\143\x6f\156\x66\x69\x67\137\155\x61\151\x6c\x5f\x73\x6d\x74\x70\x5f\x70\x6f\162\x74");
goto cHxWl;
lEtzt:
$mail->parameter = $this->config->get("\143\x6f\x6e\146\151\x67\x5f\x6d\x61\151\154\137\160\x61\x72\141\155\x65\164\145\x72");
goto Xo62L;
ii8ZF:
$customer_info = @$this->model_account_customer->getCustomer($customer_id);
goto iUL8m;
fa17w:
$find = array("\x7b\146\x69\x72\163\164\156\141\x6d\145\x7d", "\173\x6c\141\x73\x74\x6e\141\155\145\x7d", "\x7b\163\x74\157\162\x65\x5f\156\141\x6d\145\x7d", "\173\x73\x74\157\x72\145\137\x65\155\x61\x69\154\x7d", "\x7b\x73\164\157\162\145\137\164\145\154\x65\x70\150\157\x6e\145\175", "\173\163\x74\x6f\x72\x65\137\x61\x64\144\162\x65\163\x73\x7d", "\x7b\x73\164\157\x72\x65\x5f\154\157\147\157\x7d", "\173\163\164\x6f\162\x65\137\x75\162\x6c\x7d", "\173\145\155\x61\151\154\x2d\x6c\x69\x6e\153\x7d");
goto B3F8C;
J19TC:
$this->load->model("\x61\143\143\x6f\165\x6e\164\x2f\143\x75\163\x74\157\155\145\x72");
goto ii8ZF;
nTO4Y:
goto Y12En;
goto t93Lf;
M4dQ7:
$code = md5($customer_id . "\72" . rand());
goto QwT2a;
iUL8m:
$email = $customer_info["\x65\155\141\x69\154"];
goto UUrnL;
EdQ0x:
$data["\164\145\170\164\x5f\164\150\x61\x6e\153\x73"] = $this->language->get("\x74\x65\170\x74\137\x74\150\141\156\x6b\163");
goto WN4hp;
Xo62L:
$mail->smtp_hostname = $this->config->get("\143\157\156\x66\x69\x67\137\155\x61\x69\x6c\137\163\155\164\x70\x5f\150\x6f\163\164\x6e\x61\155\145");
goto nZ6gg;
ewW9U:
$data["\x73\x74\157\x72\x65"] = html_entity_decode($this->config->get("\143\157\156\x66\151\x67\x5f\x6e\141\x6d\x65"), ENT_QUOTES, "\125\x54\106\x2d\70");
goto l0K2t;
vLMe2:
$store_logo = HTTPS_SERVER . "\x69\x6d\141\x67\x65\x2f" . $this->config->get("\143\x6f\156\146\151\147\137\154\157\x67\x6f");
goto fa17w;
eVIzK:
$data["\164\145\x78\164\137\x6c\157\x67\151\156"] = $this->language->get("\x74\x65\170\x74\x5f\154\157\x67\x69\x6e");
goto Jtf5U;
tEviR:
$mail->smtp_password = html_entity_decode($this->config->get("\143\x6f\156\x66\151\147\137\155\141\151\154\137\x73\x6d\x74\x70\137\160\x61\x73\163\167\x6f\162\144"), ENT_QUOTES, "\125\x54\106\x2d\70");
goto jcx1l;
USPSn:
$mail->setHtml($emailContent);
goto kNo5s;
kNo5s:
cLxvb:
goto enT6Y;
Jtf5U:
$data["\164\145\x78\x74\137\141\160\x70\162\x6f\x76\x61\154"] = $this->language->get("\x74\x65\x78\x74\137\141\160\x70\x72\157\x76\141\x6c");
goto QqL5x;
c8EVY:
$data["\143\157\156\x74\145\x6e\164"] = html_entity_decode($msg);
goto cX4z_;
OnSZ2:
if ($isHtml) {
goto wjljZ;
}
goto qshVu;
P76VS:
$defaultLanguage = $this->config->get("\x63\x6f\156\x66\151\x67\x5f\154\141\156\x67\165\x61\147\x65");
goto OrBoq;
CCAV0:
goto cLxvb;
goto nchlb;
X6nb6:
$msg = str_replace($find, $replace, $template);
goto c8EVY;
A63YR:
$data["\164\x65\x78\164\137\167\145\154\143\x6f\155\145"] = sprintf($this->language->get("\164\x65\x78\164\137\167\x65\154\143\x6f\155\x65"), html_entity_decode($this->config->get("\143\157\x6e\146\x69\147\x5f\x6e\141\x6d\x65"), ENT_QUOTES, "\125\x54\106\x2d\x38"));
goto eVIzK;
YP5a_:
Y12En:
goto HA1Gs;
fFbK3:
$mail->setTo($email);
goto uC946;
WN4hp:
$data["\154\157\147\151\x6e"] = $this->url->link("\141\x63\143\x6f\x75\x6e\x74\x2f\154\x6f\147\x69\156", '', true);
goto ewW9U;
UUrnL:
$this->load->language("\x6d\141\x69\x6c\x2f\162\x65\x67\151\163\x74\x65\x72");
goto dhuSp;
cHxWl:
$mail->smtp_timeout = $this->config->get("\x63\157\156\146\x69\x67\137\155\x61\151\154\137\163\155\x74\x70\137\x74\151\x6d\x65\x6f\x75\164");
goto fFbK3;
e60oN:
$mail->setSubject(sprintf($this->language->get("\164\145\170\x74\137\163\165\x62\152\145\x63\164"), html_entity_decode($this->config->get("\143\157\156\146\x69\147\x5f\x6e\x61\155\145"), ENT_QUOTES, "\125\124\x46\55\70")));
goto OnSZ2;
RVVp6:
}
public function registerSMS()
{
goto hP4pm;
uX2nI:
$this->model_account_customer->addCustomer($customer);
goto c75Xc;
eD9I7:
if (!($this->request->server["\x52\105\121\125\x45\123\x54\137\115\105\x54\110\x4f\104"] == "\x50\x4f\123\x54" && $this->validateRegisterSMS())) {
goto WgP7J;
}
goto chxia;
pMHFd:
WgP7J:
goto l7YZU;
sSRVn:
if (!$this->config->get("\155\157\144\165\154\145\137\150\x70\x5f\x73\x6f\x63\x69\x61\x6c\x5f\154\x6f\147\x69\x6e\x5f\x72\145\144\x69\x72\x65\143\164")) {
goto CuI9h;
}
goto eGQ3M;
lm18r:
$this->response->addHeader("\x43\157\156\164\145\x6e\x74\55\x54\171\x70\145\72\x20\141\x70\x70\x6c\151\143\141\x74\x69\x6f\x6e\x2f\152\163\157\156");
goto o2zdt;
A2SiY:
$json["\x73\x74\141\x74\165\x73"] = false;
goto eD9I7;
RDfaq:
zMTLJ:
goto lm18r;
l7YZU:
if (empty($this->error)) {
goto zMTLJ;
}
goto X4xgI;
c75Xc:
$this->customer->loginByPhone($customer["\x74\145\x6c\145\160\x68\157\156\145"], '', true);
goto sSRVn;
i7h2H:
$json["\162\145\x64\x69\162\x65\x63\164"] = $this->url->link("\141\143\x63\x6f\165\x6e\x74\x2f\x73\165\143\x63\x65\163\x73");
goto pMHFd;
hP4pm:
$this->load->model("\x61\143\143\157\165\156\164\57\143\x75\163\x74\157\155\145\x72");
goto A2SiY;
ONgWP:
CuI9h:
goto i7h2H;
UAEzO:
unset($this->session->data["\147\143\141\x70\143\150\x61"]);
goto A8ZxR;
chxia:
$json["\163\164\x61\164\x75\163"] = true;
goto UAEzO;
o2zdt:
$this->response->setOutput(json_encode($json));
goto NnCEM;
A8ZxR:
$customer = array("\x66\151\x72\163\164\x6e\x61\155\145" => '', "\x6c\x61\x73\x74\156\141\155\145" => '', "\145\155\x61\x69\154" => '', "\156\145\167\x73\154\145\x74\x74\x65\162" => $this->request->post["\x6e\x65\167\x73\x6c\145\164\164\x65\x72"], "\x74\x65\x6c\145\x70\x68\x6f\156\x65" => $this->request->post["\143\x6f\x75\156\x74\x72\171\137\143\157\144\145"] . "\x20" . $this->request->post["\164\145\x6c\145\x70\150\x6f\x6e\x65"], "\160\x61\163\163\167\x6f\162\144" => $this->request->post["\160\x61\163\163\167\157\x72\x64"]);
goto uX2nI;
X4xgI:
$json["\x65\162\162\157\162"] = $this->error;
goto RDfaq;
eGQ3M:
$json["\162\145\x64\x69\x72\145\143\164"] = $this->url->link("\x63\157\155\155\x6f\156\x2f\150\x6f\155\x65", '', true);
goto ONgWP;
NnCEM:
}
public function facebook()
{
goto YHka5;
ZnMT8:
$data["\142\x61\156\x6b\137\x73\167\x69\x66\164\137\x63\x6f\144\145"] = '';
goto KTqXl;
megDk:
$code = $this->request->get["\x61\143\143\145\163\x5f\x74\x6f\x6b\x65\x6e"];
goto mEojs;
CL4aJ:
$this->saveSessionDataLayer("\x66\x61\143\145\142\157\x6f\x6b");
goto GOo0G;
g0OR9:
$data["\160\141\171\155\145\156\164"] = '';
goto eNVmG;
hh9Va:
$data["\143\157\155\160\x61\x6e\171"] = '';
goto yFhYc;
mkJ9j:
nW32h:
goto k7IPN;
E9Wck:
Y54M2:
goto BZaeG;
UxgAh:
unset($this->session->data["\x72\145\144\x69\x72\145\x63\x74"]);
goto NqwnG;
GiaTA:
$customer_id = $this->model_account_customer->addCustomer($customer);
goto hdvCg;
o3kn1:
if (!$profile) {
goto InslO;
}
goto MyNdZ;
H5TYr:
goto SeO4t;
goto E9Wck;
qgHd9:
if (isset($this->request->get["\x61\x63\x63\145\163\x5f\164\x6f\x6b\x65\x6e"])) {
goto xhoEf;
}
goto Cd97A;
yyld5:
$this->saveSessionDataLayer("\x66\x61\143\x65\142\x6f\157\x6b");
goto wnWSe;
wzO_N:
$customer_info = $this->model_account_customer->getCustomerByEmail($profile["\x65\x6d\141\151\154"]);
goto b_SNI;
N5Ogm:
sZwun:
goto jnboS;
fm1tW:
UhPtF:
goto cU06_;
rlUPl:
$data["\164\141\170"] = '';
goto g0OR9;
wnWSe:
if ($this->checkRedirectUrl($this->session->data["\162\x65\144\151\x72\145\x63\x74"])) {
goto UhPtF;
}
goto EJpao;
rfLhW:
goto kUR_z;
goto DOL8y;
Y2fmq:
uVleY:
goto yCsFU;
Upvby:
$this->request->post["\x66\151\162\163\x74\156\141\x6d\x65"] = $profile["\146\151\162\163\164\x5f\156\x61\155\145"];
goto QQ_wM;
geE5f:
$data["\x62\x61\x6e\x6b\137\x61\143\143\157\165\x6e\164\x5f\x6e\165\155\142\x65\162"] = '';
goto XngBj;
P3Dqd:
kUR_z:
goto eaQ_x;
ycG_T:
$this->response->redirect($this->url->link("\x61\143\143\x6f\x75\x6e\164\x2f\154\157\x67\x69\x6e", '', true));
goto N9b0b;
b_SNI:
if ($customer_info) {
goto L3EwW;
}
goto z4R5P;
EJpao:
$this->session->data["\162\145\144\151\162\145\143\164"] = HTTPS_SERVER;
goto fm1tW;
oGbOn:
$this->session->data["\x65\162\x72\x6f\162"] = $this->error["\167\141\x72\x6e\x69\156\x67"];
goto rgz8u;
eaQ_x:
goto D_WGd;
goto p5MnL;
Utvqg:
SeO4t:
goto nyStj;
SR4rA:
$this->model_account_customer->editPassword($customer_info["\x65\155\x61\x69\154"], $new_password);
goto Juczr;
XXpuO:
$this->response->redirect($redirect_uri);
goto Utvqg;
XRL45:
enQXM:
goto XXpuO;
yCsFU:
if ($this->validate($customer_info["\145\155\141\151\x6c"])) {
goto Y54M2;
}
goto oGbOn;
nJ2EC:
$this->response->redirect($this->url->link("\141\143\x63\157\x75\x6e\x74\x2f\x6c\157\147\x69\x6e", '', true));
goto UwckB;
NKNM4:
$this->request->post["\160\141\163\x73\167\157\162\144"] = base64_encode($password[0]) . "\x40" . base64_encode($password[1]);
goto zugB1;
nyDcq:
goto nW32h;
goto XxFAo;
EhAXg:
$this->response->redirect($redirect_uri);
goto P3Dqd;
XqUku:
$customer["\160\141\163\163\x77\x6f\162\144"] = $this->request->post["\160\x61\163\163\167\x6f\162\144"];
goto EVAx8;
qUtQA:
$this->completeLogin();
goto yyld5;
N9b0b:
UQZTj:
goto wzO_N;
k7IPN:
if (!isset($this->session->data["\x72\145\x64\151\162\x65\143\164"])) {
goto OOx11;
}
goto UxgAh;
TIYs1:
$this->session->data["\x72\145\x64\151\x72\x65\x63\x74"] = $this->session->data["\150\x70\x6d\151\x6d\137\162\145\x64\x69\162\145\x63\x74"];
goto noRcH;
cU06_:
if (isset($this->session->data["\x72\x65\x64\x69\162\x65\x63\x74"]) && $this->session->data["\x72\x65\144\151\x72\x65\143\x74"] != $this->url->link("\x61\x63\143\157\165\x6e\x74\57\x6c\x6f\147\157\x75\164", '', true) && (strpos($this->session->data["\162\x65\144\151\x72\145\x63\x74"], $this->config->get("\143\x6f\156\146\151\147\137\165\162\154")) !== false || strpos($this->session->data["\x72\145\x64\x69\162\145\143\164"], $this->config->get("\143\157\156\x66\151\x67\x5f\163\x73\154")) !== false)) {
goto y4E0F;
}
goto RRcC9;
XxFAo:
y4E0F:
goto T9EKz;
mEojs:
$profile = $this->model_extension_module_hp_social_login->getFbProfile($code);
goto o3kn1;
EVAx8:
xgVdT:
goto GiaTA;
YbYHm:
$data = $customer;
goto hh9Va;
DOL8y:
yd9U7:
goto qUtQA;
nyStj:
D_WGd:
goto NP_Zo;
Juczr:
$this->sendMail($customer_info["\x65\x6d\x61\x69\x6c"], "\146\x61\143\x65\142\157\x6f\x6b");
goto WuUyz;
UwckB:
xhoEf:
goto M8k1Y;
XngBj:
$this->model_account_customer->addAffiliate($customer_id, $data);
goto N5Ogm;
YHka5:
if (!isset($this->session->data["\150\x70\x6d\x69\155\137\162\x65\x64\151\x72\145\143\x74"])) {
goto aZUOG;
}
goto TIYs1;
xUG6w:
InslO:
goto ycG_T;
M8k1Y:
$this->load->model("\x61\x63\x63\x6f\x75\x6e\164\x2f\x63\x75\163\x74\157\155\145\x72");
goto TDVq4;
MuRG0:
$this->model_account_customer->editPassword($customer["\145\155\141\151\154"], $new_password);
goto XSix8;
BZaeG:
$this->completeLogin();
goto CL4aJ;
eNVmG:
$data["\x63\150\x65\161\165\145"] = '';
goto yY4P2;
Z9QSC:
unset($this->session->data["\162\x65\144\151\x72\x65\143\x74"]);
goto XRL45;
qkuSp:
xhY7H:
goto N1AWj;
XSix8:
$this->sendMail($customer["\x65\155\141\x69\x6c"], "\146\141\143\x65\x62\157\157\153");
goto qkuSp;
xMSGn:
$data["\x62\141\x6e\x6b\x5f\142\162\x61\156\143\150\x5f\156\165\155\142\145\x72"] = '';
goto ZnMT8;
T9EKz:
$redirect_uri = isset($this->session->data["\162\145\x64\x69\x72\x65\143\164"]) ? $this->session->data["\x72\145\x64\x69\162\145\x63\164"] : $this->url->link("\141\143\x63\x6f\x75\x6e\x74\x2f\141\x63\x63\x6f\165\156\164", '', true);
goto mkJ9j;
ECQEr:
if ($this->model_account_customer->checkLogin($customer_info["\x65\x6d\x61\151\154"], $new_password)) {
goto lIuL5;
}
goto SR4rA;
MyNdZ:
$password = explode("\100", $profile["\145\155\141\x69\x6c"]);
goto KF12f;
GOo0G:
$redirect_uri = isset($this->session->data["\x72\145\144\151\x72\x65\143\x74"]) ? $this->session->data["\x72\145\144\x69\x72\145\x63\164"] : $this->url->link("\141\143\x63\x6f\165\x6e\x74\57\x61\x63\143\157\165\x6e\x74", '', true);
goto Cc2zN;
RRcC9:
$redirect_uri = $this->url->link("\141\x63\x63\157\165\156\164\57\x61\x63\x63\157\x75\x6e\x74", '', true);
goto nyDcq;
n1wRe:
$this->session->data["\x65\162\162\x6f\162"] = $this->error["\x77\x61\x72\x6e\x69\x6e\x67"];
goto X5TGI;
NqwnG:
OOx11:
goto EhAXg;
KF12f:
$this->request->post["\145\155\141\x69\x6c"] = $profile["\145\155\141\151\x6c"];
goto Upvby;
X5TGI:
$this->response->redirect($this->url->link("\141\143\x63\157\165\156\x74\x2f\154\157\x67\151\x6e", '', true));
goto rfLhW;
zugB1:
goto UQZTj;
goto xUG6w;
KTqXl:
$data["\x62\141\156\x6b\137\x61\x63\143\x6f\165\156\164\137\x6e\x61\155\145"] = '';
goto geE5f;
YFYgi:
$data["\142\141\156\153\137\156\x61\155\x65"] = '';
goto xMSGn;
Gg3SB:
$new_password = base64_encode($customer_info["\143\x75\163\x74\157\x6d\x65\162\x5f\x69\144"] . "\100" . $password[1]);
goto nyX0G;
p5MnL:
L3EwW:
goto Gg3SB;
rgz8u:
$this->response->redirect($this->url->link("\141\x63\x63\157\x75\156\164\57\x6c\x6f\x67\x69\x6e", '', true));
goto H5TYr;
yY4P2:
$data["\160\141\x79\160\141\x6c"] = '';
goto YFYgi;
noRcH:
aZUOG:
goto K7MLf;
hdvCg:
if (!($this->config->get("\155\164\141\x5f\x79\160\170\137\x73\164\x61\164\165\163") && $customer_id)) {
goto sZwun;
}
goto YbYHm;
TDVq4:
$this->load->model("\x65\170\x74\x65\x6e\x73\x69\x6f\156\x2f\x6d\157\x64\x75\154\x65\x2f\150\x70\x5f\163\x6f\143\x69\141\x6c\137\x6c\x6f\147\x69\x6e");
goto megDk;
N1AWj:
if ($this->validate($customer["\145\155\141\x69\154"])) {
goto yd9U7;
}
goto n1wRe;
y7soQ:
$new_password = base64_encode($customer_id . "\100" . $password[1]);
goto MuRG0;
V813c:
if (!$this->config->get("\155\x6f\x64\x75\x6c\x65\x5f\x68\x70\x5f\x73\157\143\x69\x61\154\x5f\x6c\157\147\x69\156\137\x73\145\x6e\x64\137\x63\x72\x65\x64\145\x6e\164\151\141\154\x5f\163\164\141\164\165\x73")) {
goto xgVdT;
}
goto XqUku;
WuUyz:
lIuL5:
goto Y2fmq;
Cc2zN:
if (!isset($this->session->data["\162\x65\x64\x69\x72\145\143\164"])) {
goto enQXM;
}
goto Z9QSC;
jnboS:
if (!$this->config->get("\x6d\x6f\x64\x75\154\145\x5f\150\x70\x5f\x73\x6f\143\x69\x61\154\x5f\x6c\157\x67\x69\x6e\x5f\163\145\x6e\x64\x5f\143\162\145\x64\x65\156\x74\151\x61\x6c\x5f\163\164\141\164\165\x73")) {
goto xhY7H;
}
goto y7soQ;
yFhYc:
$data["\167\x65\142\x73\151\164\145"] = '';
goto rlUPl;
nyX0G:
if (!$this->config->get("\155\157\144\x75\x6c\x65\x5f\150\160\137\163\x6f\x63\151\x61\154\137\154\157\x67\151\156\137\163\145\x6e\144\137\143\162\x65\144\x65\x6e\164\x69\x61\154\x5f\163\x74\x61\x74\165\163")) {
goto uVleY;
}
goto ECQEr;
QQ_wM:
$this->request->post["\x6c\141\163\164\156\x61\x6d\x65"] = $profile["\x6c\x61\163\x74\x5f\x6e\141\155\x65"];
goto NKNM4;
K7MLf:
$temp_redirect = '';
goto qgHd9;
Cd97A:
$temp_redirect = isset($this->session->data["\x72\x65\x64\x69\162\145\x63\x74"]) ? $this->session->data["\x72\x65\144\151\162\145\x63\164"] : "\141";
goto nJ2EC;
z4R5P:
$customer = array("\x66\151\162\x73\164\156\x61\x6d\x65" => $profile["\x66\151\162\x73\164\x5f\156\141\155\x65"], "\x6c\x61\x73\x74\156\141\155\145" => $profile["\154\x61\x73\x74\137\x6e\x61\x6d\x65"], "\145\x6d\141\151\154" => $profile["\x65\x6d\x61\151\x6c"], "\x74\145\x6c\x65\x70\x68\157\156\145" => '');
goto V813c;
NP_Zo:
}
public function google()
{
goto oCj3U;
xuFbC:
$this->response->redirect($this->url->link("\141\143\143\157\165\156\x74\57\154\157\147\x69\x6e", '', true));
goto DdlVi;
w8AhB:
$redirect_uri = isset($this->session->data["\162\x65\x64\x69\162\x65\143\x74"]) ? $this->session->data["\x72\x65\x64\x69\x72\x65\143\x74"] : $this->url->link("\x61\143\x63\x6f\165\x6e\164\57\141\x63\x63\157\x75\x6e\x74", '', true);
goto dHOPJ;
sAk1T:
$this->saveSessionDataLayer("\x67\x6f\157\x67\154\x65");
goto LHCal;
BbeAG:
$this->request->post["\160\141\x73\x73\167\157\162\144"] = base64_encode($password[0]) . "\100" . base64_encode($password[1]);
goto b_unp;
ue8Bn:
$this->session->data["\145\162\162\157\x72"] = $this->error["\x77\141\x72\x6e\x69\156\x67"];
goto TzG4b;
RtrDc:
if (!$this->config->get("\155\x6f\144\165\x6c\x65\x5f\150\160\x5f\x73\x6f\x63\151\x61\x6c\x5f\x6c\157\147\151\x6e\137\x73\x65\x6e\144\x5f\143\162\x65\x64\x65\156\x74\151\x61\x6c\x5f\x73\x74\141\x74\165\x73")) {
goto mrwhw;
}
goto gMDfd;
jaMUL:
if (isset($this->request->get["\163\x74\141\164\145"])) {
goto ETn3U;
}
goto ZbQzu;
LHCal:
if (isset($this->session->data["\162\145\144\151\162\145\143\164"]) && $this->session->data["\x72\145\x64\x69\162\x65\143\x74"] != $this->url->link("\x61\x63\x63\157\165\156\x74\x2f\154\157\147\157\165\164", '', true) && (strpos($this->session->data["\x72\x65\x64\x69\x72\x65\x63\164"], $this->config->get("\143\157\156\146\151\147\137\165\x72\x6c")) !== false || strpos($this->session->data["\162\145\x64\151\162\x65\x63\164"], $this->config->get("\143\x6f\x6e\146\x69\147\x5f\x73\x73\x6c")) !== false)) {
goto wjWQR;
}
goto IxH3I;
bK4Wj:
c0uDO:
goto nkuEC;
ip7tT:
$redirect_uri = isset($this->session->data["\x72\145\x64\151\162\x65\x63\x74"]) ? $this->session->data["\x72\x65\144\x69\x72\145\143\x74"] : $this->url->link("\141\x63\x63\x6f\x75\x6e\x74\x2f\141\x63\143\157\x75\x6e\164", '', true);
goto jKcan;
SfJ3F:
$this->response->redirect($redirect_uri);
goto ZKs32;
mD81i:
ltYBx:
goto W4v3k;
HSazn:
if ($customer_info) {
goto xyzQY;
}
goto EjVb6;
hN55T:
$data["\143\150\145\161\165\x65"] = '';
goto ynYzR;
U0k6z:
$code = $this->request->get["\x63\157\144\145"];
goto yi55q;
ULc0x:
if (isset($this->session->data["\x72\x65\x64\x69\162\145\143\x74"]) && $this->session->data["\162\x65\144\151\162\145\x63\164"] != $this->url->link("\x61\x63\x63\157\165\156\164\57\154\x6f\x67\x6f\x75\164", '', true) && (strpos($this->session->data["\162\x65\144\151\162\145\143\164"], $this->config->get("\x63\157\156\x66\x69\147\x5f\165\x72\154")) !== false || strpos($this->session->data["\x72\x65\x64\151\x72\x65\143\x74"], $this->config->get("\x63\157\x6e\146\x69\x67\x5f\163\163\154")) !== false)) {
goto xPY2e;
}
goto XBBvG;
xUfsK:
Mhjzk:
goto oKNIJ;
qanwK:
$this->load->model("\x61\143\143\x6f\165\x6e\164\x2f\x63\165\163\164\157\155\x65\x72");
goto qto0k;
guFLr:
hTPgx:
goto Mbczv;
qto0k:
$this->load->model("\x65\x78\164\145\156\163\x69\x6f\x6e\x2f\x6d\x6f\x64\165\154\145\57\x68\160\x5f\163\157\143\x69\141\x6c\137\x6c\x6f\x67\x69\156");
goto U0k6z;
oCj3U:
if (!isset($this->session->data["\150\160\155\x69\155\137\x72\145\x64\x69\x72\x65\x63\x74"])) {
goto Ney0K;
}
goto Y0Ini;
g1nFp:
$this->session->data["\162\x65\144\151\x72\x65\x63\x74"] = HTTPS_SERVER;
goto i8AJD;
fjLPj:
$this->response->redirect($this->url->link("\x61\143\x63\157\x75\156\164\x2f\x6c\157\x67\151\x6e", '', true));
goto MNB3q;
G5CbM:
xPY2e:
goto ip7tT;
IxH3I:
$redirect_uri = $this->url->link("\x61\x63\143\157\x75\156\164\x2f\x61\143\143\x6f\165\x6e\164", '', true);
goto D4nsV;
BTnTH:
xyzQY:
goto fCii_;
Mbczv:
if (isset($this->request->get["\163\x74\141\164\x65"])) {
goto GyBgg;
}
goto WjjRN;
KenIj:
vOKFl:
goto NDcb4;
tiu0l:
$this->response->redirect($this->url->link("\x61\143\x63\157\x75\156\164\x2f\154\157\x67\151\156", '', true));
goto KenIj;
SmHqW:
if ($this->validate($customer_info["\x65\155\141\x69\154"])) {
goto c0uDO;
}
goto ue8Bn;
TzG4b:
if (isset($this->request->get["\x73\164\141\164\145"])) {
goto vOKFl;
}
goto tiu0l;
W4v3k:
if (!$this->config->get("\x6d\x6f\x64\x75\154\x65\137\150\x70\x5f\163\157\143\x69\141\x6c\137\x6c\157\147\151\x6e\x5f\x73\145\x6e\144\x5f\x63\162\145\x64\x65\x6e\164\151\x61\x6c\x5f\x73\164\x61\164\x75\x73")) {
goto KM35J;
}
goto jdD3t;
YWzzn:
$this->completeLogin();
goto sAk1T;
lOgnF:
$this->model_account_customer->editPassword($customer["\145\x6d\141\x69\x6c"], $new_password);
goto BY4Kp;
XBBvG:
$redirect_uri = $this->url->link("\141\x63\143\157\x75\x6e\164\x2f\141\143\143\157\165\156\x74", '', true);
goto GkvNl;
DAdQf:
$data = $customer;
goto yFc2R;
YaGId:
wjWQR:
goto w8AhB;
yTuLl:
$this->session->data["\x65\x72\162\x6f\x72"] = $this->error["\167\x61\162\x6e\151\x6e\147"];
goto jaMUL;
WjjRN:
$this->response->redirect($redirect_uri);
goto ydTc2;
iHp6A:
GQksy:
goto fjLPj;
oKNIJ:
P4PdP:
goto nHIvb;
i8AJD:
a1Uds:
goto ULc0x;
ZbQzu:
$this->response->redirect($this->url->link("\141\143\x63\x6f\165\x6e\x74\x2f\154\157\x67\x69\x6e", '', true));
goto dBjPp;
NYSFx:
$data["\142\x61\x6e\x6b\x5f\x62\162\x61\x6e\x63\150\137\x6e\165\155\142\145\x72"] = '';
goto Sj34w;
Kxz2q:
unset($this->session->data["\162\x65\x64\x69\162\x65\x63\x74"]);
goto AmB61;
dIoPQ:
JNx8e:
goto srpro;
yZYRA:
if (!$profile) {
goto GQksy;
}
goto EG8Pa;
eRcJ_:
if (!($this->config->get("\x6d\164\x61\x5f\x79\x70\170\x5f\x73\164\x61\x74\165\163") && $customer_id)) {
goto ltYBx;
}
goto DAdQf;
nljIU:
PgixG:
goto YWzzn;
dBjPp:
ETn3U:
goto Q7Z7Q;
fCii_:
$new_password = base64_encode($customer_info["\x63\165\x73\x74\x6f\155\145\x72\137\151\144"] . "\x40" . $password[1]);
goto cxacs;
yi55q:
$profile = $this->model_extension_module_hp_social_login->getGoogleProfile($code);
goto mCCpX;
gFzWP:
if ($this->checkRedirectUrl($this->session->data["\162\145\144\151\162\x65\143\x74"])) {
goto a1Uds;
}
goto g1nFp;
DdlVi:
KjjsT:
goto qanwK;
srpro:
goto P4PdP;
goto BTnTH;
VwqhA:
NSx2K:
goto SmHqW;
sDEK0:
mrwhw:
goto YVSj1;
D4nsV:
goto xlAld;
goto YaGId;
EjVb6:
$customer = array("\x66\151\x72\163\164\x6e\141\x6d\145" => $profile["\147\x69\166\145\156\137\156\x61\x6d\x65"], "\154\141\163\x74\156\x61\155\x65" => $profile["\146\x61\155\151\154\171\137\x6e\141\x6d\145"], "\x65\155\x61\151\154" => $profile["\x65\x6d\x61\151\x6c"], "\x74\x65\x6c\x65\160\x68\157\x6e\145" => '', "\x70\x61\163\x73\x77\x6f\x72\x64" => $this->request->post["\x70\141\x73\x73\x77\x6f\x72\144"]);
goto RtrDc;
fmRMR:
if ($this->validate($customer["\145\x6d\x61\x69\x6c"])) {
goto PgixG;
}
goto yTuLl;
HYV4m:
KM35J:
goto fmRMR;
jdD3t:
$new_password = base64_encode($customer_id . "\x40" . $password[1]);
goto lOgnF;
Ay3hL:
if (!isset($this->session->data["\x72\145\144\x69\162\x65\x63\x74"])) {
goto hTPgx;
}
goto Mq9cc;
PmIjc:
SfM56:
goto VwqhA;
BFdyy:
$data["\142\x61\x6e\153\x5f\156\x61\155\145"] = '';
goto NYSFx;
uxCdM:
$customer_info = $this->model_account_customer->getCustomerByEmail($profile["\145\x6d\141\151\x6c"]);
goto HSazn;
dHOPJ:
xlAld:
goto q2nRA;
YVSj1:
$customer_id = $this->model_account_customer->addCustomer($customer);
goto eRcJ_;
MNB3q:
sD7j5:
goto uxCdM;
UzfuL:
$data["\164\141\170"] = '';
goto ClY6L;
AmB61:
nzZcZ:
goto T1ZZL;
nkuEC:
$this->completeLogin();
goto O1C1Q;
Mq9cc:
unset($this->session->data["\162\145\144\x69\162\145\143\x74"]);
goto guFLr;
Q7Z7Q:
goto JNx8e;
goto nljIU;
oDkgI:
$data["\142\141\x6e\153\137\x61\x63\x63\157\x75\156\x74\137\x6e\141\x6d\x65"] = '';
goto xpaVR;
Sj34w:
$data["\x62\x61\156\x6b\x5f\163\167\151\146\164\137\143\157\x64\x65"] = '';
goto oDkgI;
ClY6L:
$data["\x70\x61\x79\155\145\x6e\x74"] = '';
goto hN55T;
vLjOV:
$data["\x77\145\142\163\151\x74\145"] = '';
goto UzfuL;
NDcb4:
goto Mhjzk;
goto bK4Wj;
lRnVR:
$this->sendMail($customer_info["\145\x6d\141\151\x6c"]);
goto PmIjc;
gMDfd:
$customer["\160\x61\x73\x73\167\x6f\162\144"] = $this->request->post["\160\141\163\163\x77\x6f\x72\144"];
goto sDEK0;
ydTc2:
GyBgg:
goto xUfsK;
T1ZZL:
if (isset($this->request->get["\x73\x74\141\x74\145"])) {
goto Y3mHa;
}
goto SfJ3F;
cxacs:
if (!$this->config->get("\155\157\144\x75\x6c\145\137\x68\x70\x5f\163\x6f\143\151\141\x6c\137\x6c\157\147\x69\x6e\137\163\x65\156\144\137\x63\x72\145\144\145\156\x74\151\x61\x6c\x5f\x73\x74\x61\x74\x75\x73")) {
goto NSx2K;
}
goto IbM3p;
xpaVR:
$data["\x62\x61\x6e\x6b\137\141\143\x63\x6f\x75\x6e\x74\137\x6e\165\155\x62\x65\162"] = '';
goto LvBkQ;
nlUYj:
$this->request->post["\146\x69\162\x73\164\156\141\x6d\145"] = $profile["\x67\151\x76\145\x6e\137\x6e\141\x6d\145"];
goto CeFCS;
mCCpX:
$password = explode("\x40", $profile["\145\x6d\141\x69\x6c"]);
goto yZYRA;
rHkzS:
Ney0K:
goto ym_up;
O1C1Q:
$this->saveSessionDataLayer("\x67\x6f\157\x67\x6c\x65");
goto gFzWP;
yFc2R:
$data["\143\157\x6d\160\141\156\x79"] = '';
goto vLjOV;
GkvNl:
goto dkzVo;
goto G5CbM;
Y0Ini:
$this->session->data["\162\145\144\x69\x72\145\x63\x74"] = $this->session->data["\150\x70\155\151\x6d\x5f\x72\145\144\151\x72\x65\143\164"];
goto rHkzS;
IbM3p:
if ($this->model_account_customer->checkLogin($customer_info["\145\155\141\151\154"], $new_password)) {
goto SfM56;
}
goto W4VkI;
b_unp:
goto sD7j5;
goto iHp6A;
W4VkI:
$this->model_account_customer->editPassword($customer_info["\145\155\x61\151\154"], $new_password);
goto lRnVR;
EG8Pa:
$this->request->post["\x65\155\141\151\154"] = $profile["\145\155\141\151\154"];
goto nlUYj;
jKcan:
dkzVo:
goto Ay3hL;
BY4Kp:
$this->sendMail($customer["\145\155\141\x69\154"]);
goto HYV4m;
LvBkQ:
$this->model_account_customer->addAffiliate($customer_id, $data);
goto mD81i;
ym_up:
if (!isset($this->request->get["\145\x72\162\157\x72"])) {
goto KjjsT;
}
goto xuFbC;
ynYzR:
$data["\x70\x61\171\160\x61\x6c"] = '';
goto BFdyy;
q2nRA:
if (!isset($this->session->data["\x72\145\144\x69\x72\x65\x63\164"])) {
goto nzZcZ;
}
goto Kxz2q;
CeFCS:
$this->request->post["\154\x61\x73\164\156\x61\x6d\x65"] = $profile["\x66\x61\x6d\x69\154\x79\x5f\x6e\x61\x6d\145"];
goto BbeAG;
ZKs32:
Y3mHa:
goto dIoPQ;
nHIvb:
}
private function split_name($name)
{
goto QFiye;
GLBbG:
$num = count($parts);
goto M5d1h;
xdRXe:
$firstname = implode("\40", $parts);
goto Kstxi;
rH5Pa:
w3qcx:
goto xdRXe;
Kstxi:
return array($firstname, $lastname);
goto ieA5J;
M5d1h:
if ($num > 1) {
goto halRW;
}
goto lWP1F;
lWP1F:
$lastname = '';
goto rC5VF;
rC5VF:
goto w3qcx;
goto kijvP;
kijvP:
halRW:
goto NVCKV;
QFiye:
$parts = explode("\40", trim($name));
goto GLBbG;
NVCKV:
$lastname = array_pop($parts);
goto rH5Pa;
ieA5J:
}
public function line()
{
goto wbZkA;
JjRwB:
zz0Wf:
goto loIEo;
r9q8f:
$this->response->redirect($this->url->link("\141\143\143\x6f\x75\156\164\x2f\x6c\157\147\151\156", '', true));
goto jgO8A;
xowif:
$state = $this->request->get["\x73\164\x61\x74\145"];
goto dXOXR;
EOiMW:
F78DZ:
goto ip4rG;
ZNTTW:
goto JVrRz;
goto U1ahT;
w_sux:
$this->model_account_customer->editPassword($customer_info["\x65\x6d\x61\x69\154"], $new_password);
goto k3o0u;
Q4WKQ:
$this->response->redirect($redirect_uri);
goto wGup6;
twKmf:
$this->completeLogin();
goto gzAWE;
SDCaH:
$new_password = base64_encode($customer_id . "\100" . $password[1]);
goto K3Khz;
QpACT:
$redirect_uri = isset($this->session->data["\x72\x65\x64\151\162\145\143\164"]) ? $this->session->data["\x72\x65\x64\151\x72\145\143\x74"] : $this->url->link("\x61\143\143\x6f\x75\156\164\57\141\143\143\157\165\x6e\x74", '', true);
goto eDIdg;
x2V0a:
goto cpUcA;
goto xJ4pv;
Bc3Td:
$this->saveSessionDataLayer("\154\x69\156\145");
goto QpACT;
wGup6:
JVrRz:
goto EbPxq;
jmSoW:
$this->request->post["\160\141\163\163\167\x6f\162\x64"] = base64_encode($password[0]) . "\100" . base64_encode($password[1]);
goto PIMB_;
XU33p:
$this->load->model("\x65\170\164\145\156\x73\x69\x6f\156\x2f\x6d\157\x64\x75\x6c\145\57\150\x70\x5f\163\x6f\143\x69\x61\154\x5f\x6c\157\x67\151\x6e");
goto VKPzk;
EbPxq:
goto A2bDO;
goto lV7Jk;
dXOXR:
$token = $this->linelogin->token($code, $state);
goto mlvxp;
btlU2:
oJyW5:
goto mPwVs;
dkLfp:
yh43f:
goto cnPr8;
K3Khz:
$this->model_account_customer->editPassword($customer["\145\155\x61\151\154"], $new_password);
goto mPgNL;
XF_kR:
tgMR6:
goto r4IY2;
obCgA:
if (!$this->config->get("\155\x6f\144\x75\x6c\145\x5f\x68\160\137\x73\157\x63\151\141\x6c\x5f\x6c\157\147\x69\156\x5f\x73\145\x6e\x64\x5f\143\162\x65\x64\145\156\164\x69\x61\x6c\x5f\163\x74\141\164\165\163")) {
goto Dmr3o;
}
goto WLHQt;
JhvlA:
Dmr3o:
goto Ev4fb;
cnPr8:
$password = explode("\100", $profile["\145\155\x61\151\x6c"]);
goto Zo1P1;
aQKQh:
$this->response->redirect($this->url->link("\x61\x63\143\x6f\x75\x6e\164\x2f\154\x6f\147\151\x6e", '', true));
goto ZNTTW;
k3o0u:
$this->sendMail($customer_info["\x65\155\141\151\x6c"], "\x6c\151\156\145");
goto K8NE2;
GEOvW:
if (!$this->config->get("\x6d\x6f\x64\165\154\x65\137\x68\x70\x5f\x73\157\x63\x69\141\154\137\154\x6f\x67\x69\156\137\163\145\156\x64\x5f\x63\x72\145\144\x65\x6e\x74\x69\141\154\x5f\163\164\x61\x74\165\x73")) {
goto zz0Wf;
}
goto j4UzX;
yf55U:
goto F78DZ;
goto btlU2;
mPgNL:
$this->sendMail($customer["\145\x6d\x61\151\154"], "\154\151\x6e\x65");
goto qdQ08;
bLs4i:
$this->response->redirect($this->url->link("\x61\x63\143\x6f\165\156\164\x2f\x6c\x6f\x67\151\x6e", '', true));
goto Ihe1m;
Ihe1m:
goto bl5jI;
goto dkLfp;
r4IY2:
$this->response->redirect($redirect_uri);
goto EOiMW;
PNeqo:
$this->load->library("\154\x69\x6e\145\154\x6f\147\x69\x6e");
goto vNFvg;
gwTcL:
if ($this->validate($customer["\145\x6d\141\151\154"])) {
goto H4N62;
}
goto TE9Bo;
PtM4N:
$this->request->post["\x66\151\162\x73\x74\156\x61\155\145"] = $name ? $name[0] : $profile["\x6e\x61\155\x65"];
goto W5dYo;
qdQ08:
wJRer:
goto gwTcL;
s_5Cs:
if ($customer_info) {
goto eMtCD;
}
goto pLU1c;
Snp9w:
if (!$this->config->get("\x6d\157\x64\165\x6c\145\x5f\150\x70\137\x73\x6f\x63\x69\x61\154\x5f\154\157\147\151\x6e\137\163\145\156\144\x5f\143\162\145\x64\x65\156\x74\151\141\x6c\x5f\x73\x74\x61\164\x75\163")) {
goto wJRer;
}
goto SDCaH;
lV7Jk:
eMtCD:
goto iOgOC;
W5dYo:
$this->request->post["\x6c\141\163\164\x6e\141\155\145"] = $name ? $name[1] : '';
goto jmSoW;
Zo1P1:
$name = $this->split_name($profile["\156\x61\x6d\x65"]);
goto r_RjD;
nMxQj:
$profile = $this->linelogin->verifyIdToken($token["\151\x64\x5f\164\157\153\145\x6e"]);
goto Lihr6;
mPwVs:
$this->completeLogin();
goto Bc3Td;
iOgOC:
$new_password = base64_encode($customer_info["\143\x75\x73\x74\x6f\155\x65\162\137\x69\144"] . "\x40" . $password[1]);
goto GEOvW;
Fg8E7:
if (!isset($this->session->data["\x72\x65\144\x69\162\145\143\x74"])) {
goto pt1gJ;
}
goto IqT92;
TE9Bo:
$this->session->data["\x65\162\162\157\162"] = $this->error["\x77\x61\162\156\151\x6e\147"];
goto aQKQh;
IqT92:
unset($this->session->data["\x72\x65\x64\x69\x72\145\x63\x74"]);
goto u73EB;
mblnZ:
$this->response->redirect($this->url->link("\141\x63\x63\157\x75\x6e\x74\57\154\x6f\147\151\x6e", '', true));
goto x2V0a;
r_RjD:
$this->request->post["\x65\155\141\x69\154"] = $profile["\x65\x6d\x61\x69\154"];
goto PtM4N;
ip4rG:
A2bDO:
goto W8soB;
jgO8A:
fG0Jv:
goto PNeqo;
Ev4fb:
$customer_id = $this->model_account_customer->addCustomer($customer);
goto Snp9w;
pLU1c:
$customer = array("\x66\x69\x72\163\164\x6e\141\x6d\x65" => $name ? $name[0] : $profile["\x6e\141\x6d\145"], "\x6c\x61\x73\164\156\x61\x6d\x65" => $name ? $name[1] : '', "\145\155\141\x69\154" => $profile["\x65\x6d\x61\x69\154"], "\164\x65\x6c\145\x70\x68\157\156\145" => '');
goto obCgA;
guMqj:
$this->session->data["\x65\162\162\157\x72"] = $this->error["\167\x61\x72\156\x69\x6e\147"];
goto odIig;
K8NE2:
DXwar:
goto JjRwB;
eDIdg:
if (!isset($this->session->data["\x72\145\144\x69\x72\x65\x63\x74"])) {
goto tgMR6;
}
goto pSO8r;
U1ahT:
H4N62:
goto twKmf;
xJ4pv:
Kuse9:
goto nMxQj;
Lihr6:
if ($profile) {
goto yh43f;
}
goto bLs4i;
WLHQt:
$customer["\x70\141\x73\x73\167\157\x72\144"] = $this->request->post["\x70\141\163\163\x77\x6f\x72\x64"];
goto JhvlA;
vNFvg:
$this->load->model("\x61\143\x63\157\x75\x6e\x74\57\143\165\x73\164\157\x6d\x65\162");
goto XU33p;
PIMB_:
$customer_info = $this->model_account_customer->getCustomerByEmail($profile["\x65\155\141\151\x6c"]);
goto s_5Cs;
gzAWE:
$this->saveSessionDataLayer("\x6c\151\156\145");
goto n5cY2;
u73EB:
pt1gJ:
goto Q4WKQ;
VKPzk:
$code = $this->request->get["\x63\x6f\x64\145"];
goto xowif;
odIig:
$this->response->redirect($this->url->link("\141\143\x63\x6f\165\156\164\57\x6c\x6f\147\x69\156", '', true));
goto yf55U;
pSO8r:
unset($this->session->data["\162\x65\144\151\x72\x65\143\x74"]);
goto XF_kR;
j4UzX:
if ($this->model_account_customer->checkLogin($customer_info["\x65\x6d\141\151\154"], $new_password)) {
goto DXwar;
}
goto w_sux;
loIEo:
if ($this->validate($customer_info["\145\x6d\x61\x69\x6c"])) {
goto oJyW5;
}
goto guMqj;
wbZkA:
if (!isset($this->request->get["\145\162\x72\157\x72"])) {
goto fG0Jv;
}
goto r9q8f;
mlvxp:
if ($token) {
goto Kuse9;
}
goto mblnZ;
n5cY2:
$redirect_uri = isset($this->session->data["\x72\x65\144\x69\162\145\x63\164"]) ? $this->session->data["\x72\145\144\x69\162\x65\x63\164"] : $this->url->link("\x61\143\143\x6f\165\156\x74\x2f\141\143\143\x6f\x75\x6e\x74", '', true);
goto Fg8E7;
W8soB:
bl5jI:
goto G8VZu;
G8VZu:
cpUcA:
goto hDBjH;
hDBjH:
}
protected function completeLogin()
{
goto bh7_T;
k_NvB:
$this->session->data["\163\x68\x69\160\160\151\x6e\147\137\x61\x64\x64\162\x65\x73\163"] = $has_address;
goto JyUnI;
jm7Ru:
$this->load->model("\x61\143\x63\x6f\x75\x6e\164\x2f\x61\144\144\x72\145\x73\x73");
goto I_ak6;
EuADL:
unset($this->session->data["\x68\x70\141\141"]);
goto cMW_l;
i0aNK:
hzgJ1:
goto jm7Ru;
S04cI:
if (!isset($this->session->data["\150\x70\141\x61"])) {
goto K3stq;
}
goto EuADL;
oBzrU:
$this->session->data["\160\141\171\x6d\x65\x6e\164\137\x61\x64\x64\x72\x65\163\x73"] = $this->model_account_address->getAddress($this->customer->getAddressId());
goto ICjFA;
Di1te:
if (!($this->config->get("\x63\x6f\156\146\151\147\x5f\x74\141\x78\x5f\143\165\163\x74\157\x6d\x65\x72") == "\x73\150\x69\160\160\x69\x6e\147" && $has_address)) {
goto oB506;
}
goto k_NvB;
AX2th:
unset($this->session->data["\143\165\163\x74\x6f\x6d\x65\162\x5f\144\x69\163\143\157\165\156\164"]);
goto E3KwZ;
HFIYh:
if (!isset($this->session->data["\x63\x75\x73\x74\157\x6d\x65\x72\137\144\151\163\x63\157\x75\x6e\x74"])) {
goto fAns4;
}
goto AX2th;
E3KwZ:
fAns4:
goto i0aNK;
H5Ago:
$has_address = $this->model_account_address->getAddress($this->customer->getAddressId());
goto Di1te;
ICjFA:
DE2a7:
goto H5Ago;
bh7_T:
unset($this->session->data["\147\165\x65\163\x74"]);
goto ra338;
JyUnI:
oB506:
goto djfGu;
I_ak6:
if (!($this->config->get("\143\x6f\156\146\x69\147\137\164\141\x78\x5f\x63\x75\x73\164\x6f\155\145\162") == "\x70\x61\171\x6d\x65\156\x74")) {
goto DE2a7;
}
goto oBzrU;
cMW_l:
K3stq:
goto HFIYh;
ra338:
if (!(!$this->config->get("\150\160\x61\x61\x5f\x63\x6f\x6d\151\x73\163\151\x6f\x6e\137\141\155\157\165\x6e\164\137\141\x66\x74\x65\162\137\x73\164\141\x74\165\163") && !$this->config->get("\150\160\x61\141\137\x63\165\163\x74\157\155\145\x72\137\x64\151\x73\x63\157\165\156\164\x5f\141\x66\164\145\x72\x5f\x73\164\141\164\165\163"))) {
goto hzgJ1;
}
goto S04cI;
djfGu:
}
public function updateProfile()
{
goto lwqUF;
VwZY1:
if (!(utf8_strlen($this->request->post["\143\157\x75\x6e\x74\x72\171\x5f\x63\157\144\x65"]) <= 0 || $this->request->post["\x74\x65\154\x65\x70\150\x6f\x6e\x65"] == '')) {
goto TlWpi;
}
goto hBryu;
pPx5S:
$json["\x73\164\141\x74\165\x73"] = false;
goto dFdRs;
nw1D3:
XfBYT:
goto Kd73p;
dFdRs:
if (!($this->request->server["\x52\x45\121\125\x45\123\x54\x5f\x4d\105\x54\x48\117\104"] == "\x50\x4f\123\x54")) {
goto IcnGX;
}
goto LjPuP;
i2pQl:
$this->error["\x77\141\x72\x6e\x69\x6e\x67"] = $this->language->get("\145\x72\162\157\x72\x5f\x65\170\x69\163\x74\x73");
goto AzV9F;
rGJ9t:
$this->response->setOutput(json_encode($json));
goto VJF_r;
mOhQK:
if (!(utf8_strlen($this->request->post["\x65\x6d\x61\151\154"]) > 96 || !filter_var($this->reque
Showing the first 100,000 of 129,292 characters. Download the original.