Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
${"G\x4cO\x42\x41\x4c\x53"}["\x6b\x79\x70y\x6fh\x63\x6cnj"]="\x44i\x73\x70\x6c\x61\x79\..
Decoded Output download
<?
${"GLOBALS"}["kypyohclnj"]="DisplayBtn";${"GLOBALS"}["yehcdsqmz"]="_htmlicon";${"GLOBALS"}["lfarknej"]="sGender";${"GLOBALS"}["yqskbshpmvij"]="as";${"GLOBALS"}["mdjntinjbfo"]="aSessionIdAddress";${"GLOBALS"}["euogkxhgh"]="sessIdAddress";${"GLOBALS"}["hyusgqo"]="aAddressesSearch";${"GLOBALS"}["vcyijnqifqp"]="iCustomer";${"GLOBALS"}["ybiabtw"]="_html";${"GLOBALS"}["vhdhuyvxm"]="r";${"GLOBALS"}["tjupqxfuck"]="aRes";${"GLOBALS"}["pksypnuviojk"]="sql";${"GLOBALS"}["kodghgnim"]="i";${"GLOBALS"}["zegduwhlvz"]="words";${"GLOBALS"}["riaulfimp"]="sSep";${"GLOBALS"}["rvfyrmpcrevb"]="sEmail";${"GLOBALS"}["qchzdupeoon"]="sFirstNameLike";${"GLOBALS"}["tkuggngww"]="sLastNameLike";${"GLOBALS"}["wzbgzpop"]="sKeyword";${"GLOBALS"}["svvgfunfvqp"]="aData";${"GLOBALS"}["tncugzsslvl"]="idEmployee";include_once("../../../config/config.inc.php");include_once("../config/init.php");$snxcadryjy="idEmployee";if(_PS_VERSION_>=1.5){$anlvtkvr="cookie";${$anlvtkvr}=new Cookie("psAdmin");}else{$dlijsctaeu="cookie";${$dlijsctaeu}=ScPS14::getCookie();}${$snxcadryjy}=$cookie->id_employee;if(_SC_TOKEN_==ScTools::getValue("token")&&ScTools::getValue("type")&&${${"GLOBALS"}["tncugzsslvl"]}>0){${${"GLOBALS"}["svvgfunfvqp"]}=array();if(ScTools::getValue("type")=="search"||ScTools::getValue("type")=="searchcustomers"){${"GLOBALS"}["sejjpsssmk"]="sKeyword";$omlediulw="sKeyword";$mkvnpvgj="sLastNameLike";$yiowcc="sSep";if(ScTools::getValue("type")=="search"){${${"GLOBALS"}["wzbgzpop"]}=$_REQUEST["term"];}else{${${"GLOBALS"}["wzbgzpop"]}=ScTools::getValue("keyWord");}if(strripos(${${"GLOBALS"}["sejjpsssmk"]},"client_magasin@sora_caisse.fr")!==false){die;}${${"GLOBALS"}["tkuggngww"]}=${${"GLOBALS"}["qchzdupeoon"]}=${${"GLOBALS"}["rvfyrmpcrevb"]}="";$hommarsxm="sEmail";if(stripos(${$omlediulw},"@")!==false){${${"GLOBALS"}["riaulfimp"]}="";${${"GLOBALS"}["rvfyrmpcrevb"]}.=" `email` LIKE "".pSQL(${${"GLOBALS"}["wzbgzpop"]})."%"";}elseif(stripos(${${"GLOBALS"}["wzbgzpop"]}," ")===false){${"GLOBALS"}["mduhgwplnpj"]="sSep";$hbmlhrplnec="sFirstNameLike";$yjrwyjxixo="sLastNameLike";${${"GLOBALS"}["mduhgwplnpj"]}=" OR ";${$yjrwyjxixo}.=" `lastname` LIKE \"%".pSQL(${${"GLOBALS"}["wzbgzpop"]})."%\"";${"GLOBALS"}["spuldhu"]="sKeyword";${$hbmlhrplnec}.=" `firstname` LIKE "%".pSQL(${${"GLOBALS"}["wzbgzpop"]})."%"";${${"GLOBALS"}["rvfyrmpcrevb"]}.=" OR `email` LIKE \"%".pSQL(${${"GLOBALS"}["spuldhu"]})."%\"";}else{$jfmlwomuj="i";$iqrsvu="sFirstNameLike";${"GLOBALS"}["oekfwfnwmin"]="i";${"GLOBALS"}["qvmgnshha"]="words";${${"GLOBALS"}["riaulfimp"]}=" AND ";${${"GLOBALS"}["zegduwhlvz"]}=explode(" ",${${"GLOBALS"}["wzbgzpop"]});$gsmypulq="sLastNameLike";for(${$jfmlwomuj}=0;${${"GLOBALS"}["kodghgnim"]}<count(${${"GLOBALS"}["qvmgnshha"]});${${"GLOBALS"}["oekfwfnwmin"]}++){if(!empty(${${"GLOBALS"}["zegduwhlvz"]}[${${"GLOBALS"}["kodghgnim"]}])){$lvamhroi="i";${${"GLOBALS"}["tkuggngww"]}.=" OR `lastname` LIKE "%".pSQL(${${"GLOBALS"}["zegduwhlvz"]}[${${"GLOBALS"}["kodghgnim"]}])."%"";${"GLOBALS"}["qqeykgm"]="sEmail";${"GLOBALS"}["ouvfztepgj"]="words";${${"GLOBALS"}["qchzdupeoon"]}.=" OR `firstname` LIKE \"%".pSQL(${${"GLOBALS"}["zegduwhlvz"]}[${$lvamhroi}])."%\"";${${"GLOBALS"}["qqeykgm"]}.=" OR `email` LIKE \"%".pSQL(${${"GLOBALS"}["ouvfztepgj"]}[${${"GLOBALS"}["kodghgnim"]}])."%\"";}}${$gsmypulq}="(".ltrim(${${"GLOBALS"}["tkuggngww"]}," OR").")";${$iqrsvu}="(".ltrim(${${"GLOBALS"}["qchzdupeoon"]}," OR").")";}${${"GLOBALS"}["pksypnuviojk"]}="SELECT `id_customer`, `lastname`, `firstname`, `email` FROM `"._DB_PREFIX_."customer`
WHERE
".${$mkvnpvgj}.${$yiowcc}.${${"GLOBALS"}["qchzdupeoon"]}.${$hommarsxm}."
".(_PS_VERSION_>=1.5?"AND `id_shop` = ".ScStore::getShopId():"")."
GROUP BY `id_customer`";if(ScTools::getValue("type")=="search"){$uaamxnvvw="aData";$vrsgeq="aRes";if(${$vrsgeq}=ScDb::getRows(${${"GLOBALS"}["pksypnuviojk"]})){${"GLOBALS"}["ekqffiiad"]="r";foreach(${${"GLOBALS"}["tjupqxfuck"]} as${${"GLOBALS"}["ekqffiiad"]}){$fpozevfxtw="aData";$bgfmfhtv="r";$qeduwle="r";${$fpozevfxtw}[]=array("label"=>${${"GLOBALS"}["vhdhuyvxm"]}["lastname"]." ".${${"GLOBALS"}["vhdhuyvxm"]}["firstname"].(!empty(${$bgfmfhtv}["email"])&&${${"GLOBALS"}["vhdhuyvxm"]}["email"]!="client_magasin@sora_caisse.fr"?" -- ".${${"GLOBALS"}["vhdhuyvxm"]}["email"]:""),"id"=>${$qeduwle}["id_customer"],);}}echo json_encode(${$uaamxnvvw});flush();die;}if(ScTools::getValue("type")=="searchcustomers"){${"GLOBALS"}["twnubwvy"]="sKeyword";$mkqzdmyx="_html";$ercwamxhjun="sql";if(empty(${${"GLOBALS"}["twnubwvy"]})){${${"GLOBALS"}["ybiabtw"]}=ScTools::getError(ScLang::l("Le champ de recherche est vide"));}elseif(${${"GLOBALS"}["tjupqxfuck"]}=ScDb::getRows(${$ercwamxhjun})){${"GLOBALS"}["mxiiyg"]="aRes";${${"GLOBALS"}["ybiabtw"]}="";${"GLOBALS"}["rqcxbst"]="r";foreach(${${"GLOBALS"}["mxiiyg"]} as${${"GLOBALS"}["rqcxbst"]}){$orfrksy="iCustomer";${${"GLOBALS"}["vcyijnqifqp"]}=new Customer(${${"GLOBALS"}["vhdhuyvxm"]}["id_customer"]);${${"GLOBALS"}["ybiabtw"]}.="<div class="results_customer">
<div id=\"select_icon" title="".ScLang::l("Slectionner le client :")." ".$iCustomer->lastname." ".$iCustomer->firstname."" onclick="selectthiscustomer(".${${"GLOBALS"}["vhdhuyvxm"]}["id_customer"].");">
<img src=\""._SC_IMG_."icons/ok-green.png"/>
</div>
<div id="select_search_img\" title=\"".ScLang::l("Slectionner le client :")." ".$iCustomer->lastname." ".$iCustomer->firstname."\" onclick=\"selectthiscustomer(".${${"GLOBALS"}["vhdhuyvxm"]}["id_customer"].");">
<img src=""._SC_IMG_.($iCustomer->id_gender==1?"homme":($iCustomer->id_gender==2?"femme":"inconnu")).".png"/>
</div>
<div class=\"results_content\">
<h3>".ScLang::l("Client :")." ".$iCustomer->lastname." ".$iCustomer->firstname."</h3>
".(!empty($iCustomer->company)?" - ".$iCustomer->company:"")."<br />
</div>
<div class=\"results_action">
<a class=\"fcustomer modify_customer fancybox.iframe\" href=""._SC_VIEW_."index.php?controller=ScCustomerController&updateCustomer=1&id_customer=".(int)${${"GLOBALS"}["vhdhuyvxm"]}["id_customer"]."&token="._SC_TOKEN_.""
title=\"".ScLang::l("Modifier la fiche client :")." ".$iCustomer->lastname." ".$iCustomer->firstname."\"></a>
<a class=\"fcustomer new_address fancybox.iframe" href=\""._SC_VIEW_."index.php?controller=ScCustomerController&createAddress=1&id_customer=".(int)${${"GLOBALS"}["vhdhuyvxm"]}["id_customer"]."&token="._SC_TOKEN_.""
title="".ScLang::l("Ajouter une adresse pour le client :")." ".$iCustomer->lastname." ".$iCustomer->firstname."\"></a>
</div>
</div>";unset(${$orfrksy});}}else{$sdzoskxxjb="sKeyword";${"GLOBALS"}["ebvctjpta"]="_html";${${"GLOBALS"}["ebvctjpta"]}=ScTools::getError(ScLang::l("Aucun rsultat pour cette recherche :")." ".${$sdzoskxxjb});}echo${$mkqzdmyx};die;}}if(ScTools::getValue("type")=="displaycustomer"){if(ScTools::getValue("idCustomerFinded")){$mudhkflem="sessIdAddress";$coxuvssmers="sessIdAddress";$bjyfmf="sInfoBulle";$brvmpjoixyq="_html";${"GLOBALS"}["pdvvssg"]="iCustomer";${${"GLOBALS"}["pdvvssg"]}=new Customer(ScTools::getValue("idCustomerFinded"));${"GLOBALS"}["eyjrqitjbjm"]="sInfoBulle";${"GLOBALS"}["pitpcpgygkc"]="sGender";${"GLOBALS"}["omjqbanxtp"]="sGender";${"GLOBALS"}["panskefn"]="sGender";${${"GLOBALS"}["hyusgqo"]}=$iCustomer->getAddresses($cookie->id_lang);${"GLOBALS"}["xkquvwbgm"]="aSessionProductIds";${$mudhkflem}=0;$mcghfuto="sInfoBulle";$ieaayolgd="aAddressesSearch";$mbgjkltldetp="aData";${$brvmpjoixyq}="<div id="selected_customer\" class=\"result_customer">
<div class="search_img\">
<img src=\""._SC_IMG_.($iCustomer->id_gender==1?"homme":($iCustomer->id_gender==2?"femme":"inconnu")).".png\"/>
</div>
<div class="content\">
<h3>".ScLang::l("Client actuellement slectionn :")." ".$iCustomer->lastname." ".$iCustomer->firstname.(!empty($iCustomer->company)?" - ".$iCustomer->company:"")."</h3>";if(ScTools::getValue("idAddress")){$whbeslw="iAddress";${"GLOBALS"}["uqkdbtwemrb"]="iAddress";${${"GLOBALS"}["euogkxhgh"]}=ScTools::getValue("idAddress");${${"GLOBALS"}["uqkdbtwemrb"]}=new Address(${${"GLOBALS"}["euogkxhgh"]});${${"GLOBALS"}["ybiabtw"]}.="<div class=\"selected_address">".(!empty($iAddress->company)?$iAddress->company." - ":"").$iAddress->lastname." ".$iAddress->firstname."<br />
".$iAddress->address1.(!empty($iAddress->address2)?", ".$iAddress->address2:"")." ".$iAddress->postcode." ".$iAddress->city."<br />
".(!empty($iAddress->phone)?"Tl : ".$iAddress->phone:"")." ".(!empty($iAddress->phone_mobile)?" Mobile : ".$iAddress->phone_mobile:"")."</div>
<a class=\"fcustomer modify_address fancybox.iframe" href=\""._SC_VIEW_."index.php?controller=ScCustomerController&updateAddress=1&id_address=".${${"GLOBALS"}["euogkxhgh"]}."&id_customer=".ScTools::getValue("idCustomerFinded")."&token="._SC_TOKEN_."\"
title="".ScLang::l("Modifier cette adresse")."\"></a>";unset(${$whbeslw});}if(!empty(${$ieaayolgd})){${"GLOBALS"}["iryeuafjkj"]="_html";$dpnvivgp="as";${${"GLOBALS"}["ybiabtw"]}.="
<form action=\"" id="addresses\" method=\"post">
<label>".ScLang::l("Choisissez une adresse :")."</label>
<input type="hidden\" id="addressidcustomer" value=\"".ScTools::getValue("idCustomerFinded")."\" />
<select name="addresslist\" id="addresslist\" onchange=\"resultselectaddress();\">
<option value="0\" ".(!empty(${${"GLOBALS"}["mdjntinjbfo"]})?"selected=\"selected"":"")." >".ScLang::l("Ne pas slectionner d'adresse")."</option>";foreach(${${"GLOBALS"}["hyusgqo"]} as${$dpnvivgp}){$kgyluho="as";${"GLOBALS"}["ftgvdzyth"]="as";${"GLOBALS"}["vobvuu"]="as";${"GLOBALS"}["batlwvaoh"]="as";$gilgwbbkoqs="as";${"GLOBALS"}["gbzhtibll"]="as";${${"GLOBALS"}["ybiabtw"]}.="<option value=\"".${${"GLOBALS"}["yqskbshpmvij"]}["id_address"]."\" ".(ScTools::getValue("idAddress")==${${"GLOBALS"}["yqskbshpmvij"]}["id_address"]?"selected=\"selected"":"").">
".(!empty(${${"GLOBALS"}["yqskbshpmvij"]}["company"])?${${"GLOBALS"}["yqskbshpmvij"]}["company"]." - ":"").${${"GLOBALS"}["yqskbshpmvij"]}["lastname"]." ".${${"GLOBALS"}["gbzhtibll"]}["firstname"]."
- ".${${"GLOBALS"}["yqskbshpmvij"]}["address1"].(!empty(${${"GLOBALS"}["yqskbshpmvij"]}["address2"])?", ".${${"GLOBALS"}["yqskbshpmvij"]}["address2"]:"")." ".${${"GLOBALS"}["yqskbshpmvij"]}["postcode"]." ".${$kgyluho}["city"]."
".(!empty(${${"GLOBALS"}["ftgvdzyth"]}["phone"])?"- ".ScLang::l("Tl :")." ".${${"GLOBALS"}["batlwvaoh"]}["phone"]:"")." ".(!empty(${$gilgwbbkoqs}["phone_mobile"])?"- ".ScLang::l("Mobile :")." ".${${"GLOBALS"}["vobvuu"]}["phone_mobile"]:"")."
</option>";}${${"GLOBALS"}["iryeuafjkj"]}.="</select>
</form>";}${${"GLOBALS"}["ybiabtw"]}.="
</div>
<div class=\"action">
<a class=\"fcustomer new_address fancybox.iframe\" href=\""._SC_VIEW_."index.php?controller=ScCustomerController&createAddress=1&id_customer=".ScTools::getValue("idCustomerFinded")."&token="._SC_TOKEN_.""
title=\"".ScLang::l("Ajouter une adresse pour le client :")." ".$iCustomer->lastname." ".$iCustomer->firstname.""></a>
<input type="button\" class=\"delete" id=\"deleteseletedcustomer" value=""".ScCaisse::getLocked("Cdel",0)." onclick=\"resultdeletedcustomer();\"/>
</div>
<div class=\"clear\"></div>
</div>";${${"GLOBALS"}["eyjrqitjbjm"]}=ScLang::l("Aucun Client slectionn");$fgvdnhkp="aData";${${"GLOBALS"}["panskefn"]}="";$vsiiwilnf="aSessionProductIds";switch($iCustomer->id_gender){case"1":${${"GLOBALS"}["lfarknej"]}="M ";break;case"2":${${"GLOBALS"}["omjqbanxtp"]}="Mme ";break;default:${${"GLOBALS"}["lfarknej"]}="";}${$mcghfuto}=ScLang::l("Client slectionn :")." ".${${"GLOBALS"}["pitpcpgygkc"]}.$iCustomer->lastname." ".$iCustomer->firstname;${${"GLOBALS"}["yehcdsqmz"]}="<img title=\"".${$bjyfmf}."" src=""._SC_IMG_."customer-select.png\"/>";ScCaisse::getGlobalReductionGroupByIdCustomer(ScTools::getValue("idCustomerFinded"));ScSession::updateArray("sccaisse",array("*idCustomer"=>ScTools::getValue("idCustomerFinded"),"*idAddress"=>${$coxuvssmers},));${$vsiiwilnf}=ScCaisse::getArray("sccart","ProductIds");${${"GLOBALS"}["kypyohclnj"]}=0;if(!empty(${${"GLOBALS"}["xkquvwbgm"]})){$usyfwut="DisplayBtn";${$usyfwut}=1;}unset(${${"GLOBALS"}["vcyijnqifqp"]});${$fgvdnhkp}[]=array("customerreduction"=>ScTools::sc_roundf(ScCaisse::getArray("sccaisse","GlobalReductionPo"),2,2),"totalticket"=>ScCaisse::getTotalReceipt(true)." ".ScTools::sign(),"totalremaining"=>ScCaisse::TotalRemaining(),"customericon"=>ScTools::cleanForJSON(${${"GLOBALS"}["yehcdsqmz"]}),"customerblock"=>ScTools::cleanForJSON(${${"GLOBALS"}["ybiabtw"]}),"displaybtn"=>${${"GLOBALS"}["kypyohclnj"]},"displayinvoicebtn"=>ScInvoice::getInvoiceBtn(),);if(Module::isInstalled("loyalty")&&ScTools::isInstalled("sw_loyalty")){${"GLOBALS"}["bujbwmp"]="aData";${${"GLOBALS"}["bujbwmp"]}[]=array("displayloyaltybtn"=>ScLoyalty::getLoyaltyBtn(ScCaisse::getArray("sccaisse","idCustomer"),ScSession::get("scmode")),);}else{${${"GLOBALS"}["svvgfunfvqp"]}[]=array("displayloyaltybtn"=>"<span class="abtn1"></span>",);}echo json_encode(${$mbgjkltldetp});flush();}if(ScTools::getValue("deletecustomer")==1){ScSession::clear("sccaisse","idCustomer");ScSession::clear("sccaisse","idAddress");ScSession::clear("sccaisse","GlobalReductionPo");if(!ScSession::getArray("sccaisse","idCustomer")&&!ScSession::getArray("sccaisse","idAddress")){$qouprxgnixk="_htmlicon";${"GLOBALS"}["jokunde"]="_htmlicon";${$qouprxgnixk}="<img title=\"".ScLang::l("Aucun client slectionn")."\" src=\""._SC_IMG_."customer-noselect.png"/>";${${"GLOBALS"}["svvgfunfvqp"]}[]=array("customerreduction"=>ScCaisse::getArray("sccaisse","GlobalReductionPo"),"totalticket"=>ScCaisse::getTotalReceipt(true)." ".ScTools::sign(),"totalremaining"=>ScCaisse::TotalRemaining(),"customericon"=>ScTools::cleanForJSON(${${"GLOBALS"}["jokunde"]}),);if(Module::isInstalled("loyalty")&&ScTools::isInstalled("sw_loyalty")){${"GLOBALS"}["iepbrzqm"]="aData";${${"GLOBALS"}["iepbrzqm"]}[]=array("displayloyaltybtn"=>ScLoyalty::getLoyaltyBtn(0,ScSession::get("scmode")),);}else{${"GLOBALS"}["lxqolwdzot"]="aData";${${"GLOBALS"}["lxqolwdzot"]}[]=array("displayloyaltybtn"=>"<span class="abtn1"></span>",);}echo json_encode(${${"GLOBALS"}["svvgfunfvqp"]});flush();die;}}}}else{$ekzcts="cookie";unset(${$ekzcts});header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");header("Cache-Control: no-store, no-cache, must-revalidate");header("Cache-Control: post-check=0, pre-check=0",false);header("Pragma: no-cache");header("Location: ../../../");exit;} ?>
Did this file decode correctly?
Original Code
${"G\x4cO\x42\x41\x4c\x53"}["\x6b\x79\x70y\x6fh\x63\x6cnj"]="\x44i\x73\x70\x6c\x61\x79\x42\x74\x6e";${"\x47\x4cOB\x41\x4cS"}["\x79\x65h\x63\x64\x73q\x6d\x7a"]="_\x68\x74\x6dl\x69con";${"G\x4cO\x42A\x4cS"}["\x6c\x66a\x72\x6b\x6e\x65\x6a"]="\x73G\x65\x6ede\x72";${"GLOB\x41\x4c\x53"}["y\x71\x73\x6b\x62\x73h\x70\x6d\x76\x69\x6a"]="\x61s";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x64\x6a\x6e\x74i\x6ej\x62\x66\x6f"]="\x61\x53\x65s\x73\x69o\x6e\x49\x64A\x64d\x72e\x73s";${"G\x4c\x4f\x42\x41\x4cS"}["\x65u\x6f\x67\x6bxhgh"]="\x73\x65\x73\x73I\x64Ad\x64\x72\x65\x73\x73";${"GL\x4fB\x41LS"}["h\x79\x75\x73g\x71\x6f"]="\x61A\x64\x64\x72\x65\x73\x73\x65\x73\x53\x65\x61\x72\x63h";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["vc\x79i\x6a\x6e\x71\x69\x66\x71p"]="iC\x75\x73t\x6f\x6der";${"\x47L\x4f\x42A\x4c\x53"}["yb\x69\x61\x62tw"]="\x5f\x68\x74\x6d\x6c";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76h\x64\x68u\x79\x76\x78m"]="\x72";${"G\x4cO\x42ALS"}["tju\x70\x71\x78\x66\x75\x63\x6b"]="\x61\x52\x65\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70k\x73\x79\x70\x6e\x75\x76io\x6a\x6b"]="\x73ql";${"\x47\x4c\x4fBA\x4c\x53"}["\x6b\x6fdg\x68\x67\x6eim"]="\x69";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7ae\x67\x64\x75\x77\x68\x6c\x76z"]="\x77\x6f\x72ds";${"\x47L\x4fB\x41L\x53"}["r\x69a\x75\x6c\x66\x69m\x70"]="\x73S\x65p";${"GL\x4fB\x41\x4c\x53"}["r\x76\x66\x79\x72\x6d\x70\x63\x72e\x76\x62"]="\x73\x45\x6d\x61\x69\x6c";${"G\x4c\x4fB\x41\x4c\x53"}["\x71\x63h\x7a\x64u\x70\x65o\x6fn"]="\x73\x46irst\x4ea\x6d\x65\x4c\x69k\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["t\x6b\x75\x67\x67\x6e\x67\x77\x77"]="s\x4c\x61\x73tN\x61\x6d\x65L\x69\x6b\x65";${"\x47\x4c\x4fB\x41LS"}["w\x7a\x62\x67\x7a\x70\x6fp"]="s\x4b\x65ywo\x72\x64";${"\x47\x4cO\x42\x41LS"}["\x73\x76\x76g\x66\x75n\x66\x76\x71\x70"]="\x61\x44\x61\x74a";${"\x47L\x4f\x42A\x4c\x53"}["\x74\x6ec\x75g\x7a\x73slv\x6c"]="\x69d\x45\x6d\x70\x6co\x79\x65\x65";include_once("\x2e./\x2e./.\x2e/c\x6f\x6e\x66\x69g/c\x6fnf\x69\x67\x2e\x69n\x63\x2e\x70hp");include_once("\x2e\x2e/c\x6f\x6efig/init\x2e\x70\x68\x70");$snxcadryjy="\x69\x64\x45m\x70l\x6f\x79ee";if(_PS_VERSION_>=1.5){$anlvtkvr="\x63\x6f\x6f\x6b\x69e";${$anlvtkvr}=new Cookie("\x70s\x41\x64\x6d\x69n");}else{$dlijsctaeu="\x63\x6f\x6fk\x69\x65";${$dlijsctaeu}=ScPS14::getCookie();}${$snxcadryjy}=$cookie->id_employee;if(_SC_TOKEN_==ScTools::getValue("\x74ok\x65\x6e")&&ScTools::getValue("\x74\x79p\x65")&&${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x6e\x63u\x67\x7as\x73\x6c\x76\x6c"]}>0){${${"\x47\x4cOBALS"}["\x73\x76\x76g\x66\x75\x6e\x66\x76\x71\x70"]}=array();if(ScTools::getValue("\x74yp\x65")=="s\x65\x61\x72ch"||ScTools::getValue("t\x79p\x65")=="s\x65archc\x75\x73\x74\x6f\x6de\x72s"){${"\x47\x4c\x4fB\x41\x4c\x53"}["s\x65j\x6a\x70s\x73s\x6d\x6b"]="\x73\x4b\x65\x79\x77o\x72d";$omlediulw="\x73\x4b\x65\x79\x77\x6fr\x64";$mkvnpvgj="s\x4c\x61\x73t\x4e\x61\x6d\x65\x4c\x69k\x65";$yiowcc="\x73\x53\x65p";if(ScTools::getValue("t\x79\x70e")=="\x73ea\x72\x63h"){${${"G\x4cO\x42\x41\x4cS"}["\x77zbg\x7a\x70o\x70"]}=$_REQUEST["t\x65\x72m"];}else{${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x7a\x62\x67\x7a\x70o\x70"]}=ScTools::getValue("key\x57\x6f\x72d");}if(strripos(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x73e\x6a\x6a\x70ss\x73\x6d\x6b"]},"c\x6ci\x65n\x74\x5f\x6d\x61\x67as\x69n@s\x6f\x72a_cais\x73e\x2efr")!==false){die;}${${"GL\x4fB\x41\x4cS"}["tk\x75\x67\x67\x6e\x67w\x77"]}=${${"\x47L\x4f\x42\x41\x4cS"}["\x71\x63\x68\x7adup\x65\x6f\x6f\x6e"]}=${${"\x47LO\x42\x41\x4c\x53"}["\x72v\x66y\x72mpc\x72\x65\x76\x62"]}="";$hommarsxm="sEmail";if(stripos(${$omlediulw},"\x40")!==false){${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x69\x61\x75\x6c\x66\x69m\x70"]}="";${${"\x47\x4cO\x42AL\x53"}["\x72\x76\x66\x79r\x6d\x70\x63\x72\x65\x76b"]}.="\x20`\x65mai\x6c` LIKE\x20\x22".pSQL(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x7a\x62\x67\x7ap\x6f\x70"]})."\x25\x22";}elseif(stripos(${${"\x47L\x4fB\x41\x4c\x53"}["\x77zbg\x7ap\x6fp"]}," ")===false){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x64\x75\x68\x67wp\x6cn\x70\x6a"]="\x73\x53\x65\x70";$hbmlhrplnec="s\x46\x69\x72\x73t\x4eam\x65\x4c\x69\x6b\x65";$yjrwyjxixo="\x73\x4c\x61\x73\x74\x4e\x61m\x65\x4c\x69k\x65";${${"GL\x4f\x42A\x4c\x53"}["\x6dd\x75\x68\x67w\x70\x6c\x6epj"]}="\x20O\x52 ";${$yjrwyjxixo}.="\x20`\x6c\x61\x73tn\x61\x6de\x60\x20L\x49K\x45 \"%".pSQL(${${"\x47\x4c\x4f\x42\x41\x4cS"}["w\x7a\x62\x67\x7ap\x6fp"]})."\x25\"";${"G\x4cO\x42\x41L\x53"}["sp\x75\x6c\x64h\x75"]="s\x4b\x65\x79wo\x72\x64";${$hbmlhrplnec}.="\x20`fi\x72stn\x61me\x60 \x4c\x49\x4b\x45 \x22\x25".pSQL(${${"G\x4cO\x42\x41\x4cS"}["\x77\x7a\x62\x67\x7a\x70\x6f\x70"]})."%\x22";${${"GL\x4f\x42\x41L\x53"}["\x72v\x66\x79\x72mp\x63r\x65v\x62"]}.="\x20O\x52\x20\x60em\x61il`\x20\x4c\x49KE \"%".pSQL(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x70\x75l\x64\x68\x75"]})."\x25\"";}else{$jfmlwomuj="\x69";$iqrsvu="\x73\x46i\x72\x73tN\x61\x6de\x4ci\x6be";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6fe\x6b\x66\x77\x66\x6e\x77\x6d\x69\x6e"]="\x69";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x76\x6d\x67\x6es\x68ha"]="\x77o\x72\x64s";${${"G\x4cO\x42A\x4cS"}["\x72ia\x75\x6cfimp"]}="\x20\x41ND\x20";${${"G\x4c\x4f\x42\x41\x4cS"}["\x7aeg\x64\x75\x77\x68\x6c\x76z"]}=explode("\x20",${${"\x47L\x4f\x42\x41L\x53"}["\x77z\x62g\x7a\x70\x6fp"]});$gsmypulq="\x73\x4c\x61\x73\x74N\x61m\x65\x4c\x69\x6be";for(${$jfmlwomuj}=0;${${"\x47L\x4f\x42\x41L\x53"}["k\x6f\x64\x67h\x67\x6e\x69\x6d"]}<count(${${"\x47L\x4f\x42\x41\x4c\x53"}["q\x76\x6dg\x6e\x73\x68ha"]});${${"G\x4cO\x42\x41LS"}["\x6f\x65kfwfnwm\x69\x6e"]}++){if(!empty(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x7a\x65\x67\x64u\x77\x68\x6cv\x7a"]}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["k\x6f\x64g\x68\x67\x6e\x69\x6d"]}])){$lvamhroi="i";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x6b\x75\x67\x67\x6e\x67\x77\x77"]}.="\x20\x4fR \x60lastna\x6d\x65\x60\x20LIK\x45\x20\x22\x25".pSQL(${${"\x47L\x4f\x42\x41\x4c\x53"}["ze\x67\x64u\x77\x68\x6cv\x7a"]}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6bod\x67\x68g\x6e\x69m"]}])."%\x22";${"GL\x4f\x42\x41\x4cS"}["\x71\x71\x65\x79kg\x6d"]="\x73\x45m\x61\x69\x6c";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6fu\x76\x66\x7a\x74e\x70g\x6a"]="\x77or\x64s";${${"G\x4c\x4fB\x41\x4cS"}["\x71\x63\x68z\x64\x75\x70\x65\x6f\x6fn"]}.=" OR `fir\x73tn\x61\x6d\x65\x60\x20\x4c\x49\x4bE\x20\"%".pSQL(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x7a\x65g\x64\x75\x77\x68\x6c\x76z"]}[${$lvamhroi}])."%\"";${${"G\x4c\x4fBALS"}["qqe\x79kgm"]}.="\x20\x4fR `e\x6d\x61il\x60 L\x49\x4b\x45 \"%".pSQL(${${"GLO\x42\x41\x4c\x53"}["\x6f\x75v\x66z\x74e\x70g\x6a"]}[${${"\x47LO\x42\x41L\x53"}["\x6bo\x64\x67\x68g\x6eim"]}])."\x25\"";}}${$gsmypulq}="(".ltrim(${${"\x47\x4c\x4f\x42AL\x53"}["\x74\x6bug\x67ng\x77\x77"]}," \x4fR").")";${$iqrsvu}="(".ltrim(${${"\x47\x4cOBA\x4cS"}["\x71\x63\x68\x7adup\x65\x6f\x6f\x6e"]},"\x20O\x52").")";}${${"\x47\x4c\x4fB\x41L\x53"}["\x70k\x73y\x70n\x75\x76\x69o\x6ak"]}="\x53\x45LEC\x54\x20\x60\x69d_\x63\x75\x73to\x6der`,\x20\x60\x6ca\x73t\x6eame`, \x60\x66\x69\x72\x73\x74\x6e\x61\x6d\x65\x60, \x60\x65\x6da\x69l`\x20\x46R\x4fM\x20\x60"._DB_PREFIX_."cust\x6fm\x65r`\n\t\t\t\tW\x48\x45\x52\x45\x20\n\t\t\t\t".${$mkvnpvgj}.${$yiowcc}.${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x63\x68z\x64\x75\x70e\x6f\x6f\x6e"]}.${$hommarsxm}."\n\n\t\t\t\t".(_PS_VERSION_>=1.5?"\x41\x4eD `\x69d_\x73\x68o\x70\x60 =\x20".ScStore::getShopId():"")."\n\t\t\t\t\x47RO\x55P BY\x20`\x69\x64\x5f\x63\x75\x73t\x6fm\x65\x72\x60";if(ScTools::getValue("type")=="\x73ea\x72ch"){$uaamxnvvw="\x61\x44a\x74\x61";$vrsgeq="\x61\x52\x65\x73";if(${$vrsgeq}=ScDb::getRows(${${"GL\x4f\x42\x41\x4cS"}["pk\x73\x79p\x6e\x75vi\x6f\x6ak"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ekq\x66\x66\x69\x69\x61d"]="r";foreach(${${"\x47L\x4f\x42ALS"}["\x74\x6a\x75\x70\x71x\x66\x75c\x6b"]} as${${"GLO\x42\x41\x4cS"}["ek\x71\x66\x66i\x69\x61d"]}){$fpozevfxtw="a\x44\x61\x74a";$bgfmfhtv="r";$qeduwle="\x72";${$fpozevfxtw}[]=array("l\x61\x62\x65l"=>${${"\x47\x4cOB\x41\x4c\x53"}["\x76\x68\x64\x68uy\x76x\x6d"]}["\x6cas\x74\x6e\x61me"]."\x20".${${"\x47L\x4fB\x41\x4c\x53"}["\x76\x68d\x68u\x79\x76x\x6d"]}["\x66\x69\x72\x73tn\x61\x6de"].(!empty(${$bgfmfhtv}["e\x6d\x61\x69\x6c"])&&${${"\x47\x4cOB\x41\x4cS"}["\x76\x68\x64\x68uy\x76xm"]}["e\x6da\x69l"]!="c\x6ci\x65nt\x5fm\x61gas\x69\x6e@\x73o\x72\x61\x5fc\x61\x69sse\x2e\x66r"?" \x20--\x20\x20".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x68\x64\x68uyv\x78\x6d"]}["ema\x69l"]:""),"i\x64"=>${$qeduwle}["id\x5fc\x75\x73to\x6de\x72"],);}}echo json_encode(${$uaamxnvvw});flush();die;}if(ScTools::getValue("type")=="sea\x72ch\x63ust\x6fmer\x73"){${"\x47\x4c\x4fBA\x4c\x53"}["t\x77\x6e\x75b\x77\x76\x79"]="sK\x65\x79\x77\x6f\x72d";$mkqzdmyx="\x5f\x68\x74m\x6c";$ercwamxhjun="\x73\x71\x6c";if(empty(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x74wnu\x62w\x76\x79"]})){${${"\x47LO\x42A\x4c\x53"}["\x79\x62i\x61\x62\x74\x77"]}=ScTools::getError(ScLang::l("\x4ce\x20\x63h\x61\x6dp\x20d\x65\x20re\x63her\x63h\x65 es\x74 \x76ide"));}elseif(${${"\x47\x4c\x4f\x42A\x4cS"}["tj\x75\x70\x71\x78\x66\x75\x63k"]}=ScDb::getRows(${$ercwamxhjun})){${"\x47L\x4fB\x41L\x53"}["\x6d\x78\x69\x69\x79\x67"]="\x61\x52\x65\x73";${${"GL\x4f\x42A\x4c\x53"}["\x79b\x69ab\x74\x77"]}="";${"G\x4c\x4fB\x41L\x53"}["\x72\x71c\x78\x62\x73t"]="r";foreach(${${"\x47L\x4fB\x41LS"}["\x6d\x78i\x69\x79\x67"]} as${${"\x47LO\x42\x41\x4c\x53"}["\x72qc\x78\x62\x73\x74"]}){$orfrksy="iCu\x73\x74\x6f\x6d\x65r";${${"GLOBA\x4c\x53"}["\x76\x63\x79i\x6a\x6e\x71\x69\x66\x71\x70"]}=new Customer(${${"\x47\x4cO\x42\x41\x4cS"}["\x76hdh\x75\x79\x76\x78\x6d"]}["\x69d\x5f\x63\x75stomer"]);${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79bi\x61bt\x77"]}.="\x3cd\x69v cla\x73s\x3d\x22re\x73u\x6cts_\x63ust\x6fmer\x22>\n\t\t\t\t\t\t\t\t\t<\x64\x69\x76\x20i\x64=\"\x73\x65l\x65ct_\x69c\x6fn\x22\x20\x74it\x6ce=\x22".ScLang::l("S\x6c\x65\x63\x74\x69\x6f\x6en\x65\x72\x20\x6c\x65\x20\x63\x6c\x69e\x6et :")."\x20".$iCustomer->lastname."\x20\x20".$iCustomer->firstname."\x22 on\x63\x6cic\x6b\x3d\x22\x73electth\x69s\x63u\x73\x74om\x65r(".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x68d\x68\x75\x79\x76\x78m"]}["i\x64\x5f\x63\x75s\x74om\x65\x72"].")\x3b\x22>\n\t\t\t\t\t\t\t\t\t\t\x3c\x69\x6d\x67 s\x72\x63=\""._SC_IMG_."i\x63on\x73/\x6fk-gr\x65e\x6e.p\x6eg\x22/>\n\t\t\t\t\t\t\t\t\t\x3c/\x64i\x76\x3e\n\t\t\t\t\t\t\t\t\t<d\x69\x76\x20i\x64=\x22s\x65\x6ce\x63t_s\x65\x61rc\x68\x5f\x69\x6dg\" t\x69\x74\x6c\x65\x3d\"".ScLang::l("\x53l\x65\x63t\x69\x6fnne\x72\x20le\x20\x63\x6c\x69\x65\x6et :")." ".$iCustomer->lastname."\x20\x20".$iCustomer->firstname."\" \x6f\x6ecl\x69\x63k=\"\x73\x65l\x65\x63\x74\x74hi\x73c\x75\x73\x74om\x65r(".${${"G\x4c\x4f\x42\x41L\x53"}["\x76hdh\x75y\x76x\x6d"]}["\x69d\x5f\x63\x75\x73\x74o\x6d\x65\x72"].");\x22\x3e\n\t\t\t\t\t\t\t\t\t\t<\x69\x6dg\x20s\x72\x63=\x22"._SC_IMG_.($iCustomer->id_gender==1?"\x68o\x6d\x6de":($iCustomer->id_gender==2?"femme":"\x69\x6e\x63o\x6e\x6eu")).".\x70\x6eg\x22/\x3e\n\t\t\t\t\t\t\t\t\t\x3c/d\x69v>\n\t\t\t\t\t\t\t\t\t\x3cd\x69v \x63\x6c\x61ss\x3d\"\x72\x65\x73u\x6c\x74s_c\x6f\x6et\x65\x6et\">\n\t\t\t\t\t\t\t\t\t\t<h3\x3e".ScLang::l("\x43\x6c\x69e\x6e\x74\x20:")."\x20".$iCustomer->lastname." \x20".$iCustomer->firstname."\x3c/h\x33>\n\t\t\t\t\t\t\t\t\t\t".(!empty($iCustomer->company)?" - ".$iCustomer->company:"")."<b\x72\x20/>\n\t\t\t\t\t\t\t\t\t\x3c/d\x69\x76\x3e\n\n\n\t\t\t\t\t\t\t\t\t<\x64\x69v c\x6ca\x73s=\"r\x65s\x75\x6c\x74s\x5f\x61c\x74ion\x22>\n\t\t\t\t\t\t\t\t\t\t<\x61 c\x6c\x61ss=\"fc\x75\x73to\x6de\x72 m\x6f\x64\x69\x66\x79\x5fcust\x6fm\x65\x72 f\x61n\x63\x79\x62\x6fx\x2ei\x66\x72am\x65\" \x68r\x65f=\x22"._SC_VIEW_."in\x64ex\x2e\x70hp?\x63on\x74ro\x6c\x6c\x65r=S\x63\x43\x75s\x74ome\x72\x43\x6fntro\x6cl\x65\x72\x26u\x70\x64a\x74e\x43\x75s\x74om\x65r\x3d1&i\x64\x5f\x63ustomer\x3d".(int)${${"\x47LO\x42\x41\x4c\x53"}["\x76h\x64\x68\x75\x79\x76xm"]}["\x69\x64_cust\x6f\x6d\x65r"]."&\x74\x6fk\x65n="._SC_TOKEN_."\x22\n\t\t\t\t\t\t\t\t\t\tti\x74le\x3d\"".ScLang::l("M\x6fdi\x66i\x65r\x20\x6ca\x20f\x69che c\x6c\x69\x65\x6e\x74\x20:")."\x20".$iCustomer->lastname." ".$iCustomer->firstname."\"\x3e\x3c/a\x3e\n\n\t\t\t\t\t\t\t\t\t\t<a\x20\x63la\x73\x73\x3d\"\x66cus\x74\x6f\x6d\x65\x72 \x6ee\x77\x5fa\x64dr\x65s\x73\x20\x66\x61n\x63y\x62\x6fx\x2ei\x66\x72a\x6de\x22\x20h\x72ef\x3d\""._SC_VIEW_."i\x6ede\x78.php?c\x6f\x6e\x74r\x6fl\x6ce\x72=\x53c\x43u\x73t\x6f\x6de\x72\x43\x6f\x6et\x72oll\x65\x72\x26c\x72\x65\x61t\x65\x41d\x64\x72e\x73\x73\x3d\x31\x26i\x64\x5f\x63us\x74o\x6der=".(int)${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76h\x64\x68\x75y\x76\x78m"]}["\x69d_\x63\x75s\x74o\x6de\x72"]."&toke\x6e="._SC_TOKEN_."\x22\n\t\t\t\t\t\t\t\t\t\ttitl\x65\x3d\x22".ScLang::l("A\x6ao\x75\x74er u\x6e\x65\x20\x61\x64\x72\x65\x73\x73e\x20pou\x72\x20\x6ce cl\x69\x65\x6et\x20:")." ".$iCustomer->lastname."\x20\x20".$iCustomer->firstname."\"\x3e\x3c/\x61>\n\t\t\t\t\t\t\t\t\t</di\x76>\n\t\t\t\t\t\t\t\t</d\x69\x76>";unset(${$orfrksy});}}else{$sdzoskxxjb="\x73\x4b\x65y\x77\x6f\x72d";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x62\x76\x63\x74jpt\x61"]="_htm\x6c";${${"G\x4c\x4fB\x41LS"}["eb\x76\x63\x74jp\x74\x61"]}=ScTools::getError(ScLang::l("\x41u\x63\x75\x6e \x72\x73\x75\x6cta\x74\x20\x70\x6fur\x20\x63\x65tte r\x65ch\x65rch\x65 :")."\x20".${$sdzoskxxjb});}echo${$mkqzdmyx};die;}}if(ScTools::getValue("ty\x70\x65")=="di\x73\x70\x6cay\x63ustome\x72"){if(ScTools::getValue("i\x64Cust\x6f\x6de\x72F\x69\x6e\x64ed")){$mudhkflem="\x73\x65ssI\x64A\x64\x64\x72\x65\x73\x73";$coxuvssmers="s\x65\x73\x73IdAdd\x72ess";$bjyfmf="\x73\x49n\x66o\x42\x75l\x6c\x65";$brvmpjoixyq="\x5f\x68t\x6d\x6c";${"\x47\x4c\x4fB\x41\x4c\x53"}["pd\x76v\x73\x73\x67"]="i\x43\x75\x73t\x6f\x6der";${${"\x47\x4c\x4fBA\x4c\x53"}["p\x64\x76\x76\x73\x73\x67"]}=new Customer(ScTools::getValue("i\x64\x43\x75\x73t\x6fm\x65\x72Fi\x6e\x64e\x64"));${"\x47\x4cO\x42\x41LS"}["\x65yj\x72q\x69\x74\x6ab\x6a\x6d"]="s\x49\x6e\x66\x6fB\x75ll\x65";${"\x47\x4cO\x42\x41LS"}["pi\x74\x70\x63p\x67y\x67\x6b\x63"]="\x73\x47e\x6ed\x65\x72";${"\x47\x4cOB\x41\x4cS"}["\x6fmjq\x62\x61n\x78t\x70"]="\x73\x47e\x6e\x64\x65r";${"\x47\x4cOB\x41L\x53"}["\x70\x61\x6e\x73k\x65\x66\x6e"]="\x73Ge\x6ed\x65r";${${"G\x4c\x4fBA\x4c\x53"}["h\x79u\x73\x67\x71\x6f"]}=$iCustomer->getAddresses($cookie->id_lang);${"\x47L\x4f\x42A\x4c\x53"}["x\x6bq\x75\x76\x77\x62g\x6d"]="\x61\x53\x65\x73\x73\x69\x6fn\x50\x72\x6f\x64\x75c\x74\x49\x64\x73";${$mudhkflem}=0;$mcghfuto="\x73\x49\x6e\x66\x6fBu\x6c\x6ce";$ieaayolgd="\x61Addr\x65\x73\x73\x65s\x53earch";$mbgjkltldetp="a\x44a\x74\x61";${$brvmpjoixyq}="<div \x69\x64=\x22se\x6ce\x63\x74e\x64_\x63\x75s\x74\x6fme\x72\"\x20\x63la\x73s=\"\x72\x65sul\x74_\x63\x75\x73\x74o\x6d\x65\x72\x22>\n\t\t\t\t\t\x3cd\x69\x76\x20class\x3d\x22\x73\x65ar\x63\x68_\x69m\x67\"\x3e\n\t\t\t\t\t\t<\x69mg \x73\x72c=\""._SC_IMG_.($iCustomer->id_gender==1?"ho\x6dme":($iCustomer->id_gender==2?"f\x65\x6dme":"\x69\x6e\x63o\x6e\x6eu")).".\x70n\x67\"/\x3e\n\t\t\t\t\t\x3c/di\x76\x3e\n\t\t\t\t\t\n\t\t\t\t\t\x3c\x64\x69\x76 \x63\x6c\x61s\x73\x3d\x22con\x74e\x6et\"\x3e\n\t\t\t\t\t\t\x3ch\x33\x3e".ScLang::l("Cli\x65nt\x20\x61\x63tu\x65llemen\x74 s\x6c\x65\x63t\x69o\x6en :")."\x20".$iCustomer->lastname." \x20".$iCustomer->firstname.(!empty($iCustomer->company)?" - ".$iCustomer->company:"")."\x3c/h3\x3e";if(ScTools::getValue("\x69\x64Addres\x73")){$whbeslw="\x69A\x64dr\x65\x73s";${"\x47L\x4fB\x41\x4c\x53"}["\x75\x71\x6bd\x62\x74w\x65\x6d\x72\x62"]="\x69\x41\x64\x64\x72\x65s\x73";${${"\x47\x4c\x4fBAL\x53"}["\x65\x75\x6f\x67k\x78\x68\x67h"]}=ScTools::getValue("\x69\x64\x41ddr\x65ss");${${"G\x4cO\x42AL\x53"}["uqkdbt\x77e\x6d\x72b"]}=new Address(${${"GL\x4f\x42\x41L\x53"}["e\x75\x6fg\x6bx\x68g\x68"]});${${"\x47\x4c\x4fBA\x4c\x53"}["\x79\x62\x69abtw"]}.="<\x64iv \x63\x6c\x61\x73\x73=\"\x73\x65l\x65c\x74e\x64\x5f\x61d\x64r\x65s\x73\x22>".(!empty($iAddress->company)?$iAddress->company." -\x20":"").$iAddress->lastname."\x20".$iAddress->firstname."<br /> \n\t\t\t\t\t\t\t\t\t\t".$iAddress->address1.(!empty($iAddress->address2)?", ".$iAddress->address2:"")."\x20".$iAddress->postcode." ".$iAddress->city."\x3cbr\x20/>\n\t\t\t\t\t\t\t\t\t\t".(!empty($iAddress->phone)?"T\x6c\x20:\x20".$iAddress->phone:"")."\x20".(!empty($iAddress->phone_mobile)?" \x4d\x6f\x62i\x6c\x65\x20: ".$iAddress->phone_mobile:"")."\x3c/\x64iv\x3e\n\t\t\t\t\t\t\t\t<a\x20cla\x73s=\"f\x63ust\x6f\x6d\x65\x72 \x6do\x64\x69\x66\x79\x5f\x61d\x64\x72ess\x20f\x61ncyb\x6f\x78\x2eif\x72a\x6d\x65\x22\x20\x68\x72\x65f=\""._SC_VIEW_."in\x64\x65\x78\x2e\x70hp?\x63on\x74\x72\x6flle\x72=\x53c\x43ust\x6f\x6de\x72\x43o\x6e\x74\x72\x6fl\x6c\x65\x72&u\x70\x64\x61\x74eAd\x64\x72\x65ss\x3d\x31\x26\x69\x64_ad\x64r\x65s\x73\x3d".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x75\x6f\x67k\x78\x68\x67\x68"]}."\x26i\x64_cu\x73\x74om\x65\x72=".ScTools::getValue("\x69\x64C\x75\x73\x74\x6f\x6de\x72F\x69nd\x65\x64")."&token\x3d"._SC_TOKEN_."\"\n\t\t\t\t\t\t\x74\x69t\x6ce\x3d\x22".ScLang::l("Mod\x69\x66ie\x72\x20\x63\x65t\x74e a\x64re\x73\x73e")."\">\x3c/\x61\x3e";unset(${$whbeslw});}if(!empty(${$ieaayolgd})){${"G\x4c\x4f\x42ALS"}["i\x72\x79\x65\x75\x61f\x6a\x6b\x6a"]="\x5f\x68\x74m\x6c";$dpnvivgp="\x61\x73";${${"\x47L\x4f\x42AL\x53"}["\x79\x62ia\x62\x74w"]}.="\n\t\t\t\t\t\t\t\x3c\x66orm\x20acti\x6f\x6e=\"\x22\x20\x69\x64\x3d\x22ad\x64re\x73\x73\x65s\" \x6d\x65\x74\x68\x6f\x64=\"post\x22\x3e\n\t\t\t\t\t\t\t\t<la\x62\x65\x6c>".ScLang::l("Chois\x69ss\x65z u\x6e\x65\x20\x61\x64res\x73\x65\x20:")."</l\x61\x62e\x6c\x3e\n\t\t\t\t\t\t\t\t\x3cinpu\x74 \x74y\x70e\x3d\x22\x68idden\"\x20\x69d=\x22\x61d\x64res\x73i\x64c\x75\x73t\x6fm\x65\x72\x22 \x76alue=\"".ScTools::getValue("\x69d\x43\x75stomer\x46i\x6eded")."\"\x20/\x3e\n\t\t\t\t\t\t\t\t<\x73\x65l\x65\x63t\x20n\x61\x6de=\x22add\x72\x65s\x73list\"\x20\x69\x64\x3d\x22\x61d\x64res\x73\x6c\x69\x73t\" o\x6e\x63\x68an\x67e\x3d\"\x72e\x73\x75lt\x73e\x6cect\x61\x64d\x72e\x73s();\">\n\t\t\t\t\t\t\t\t\t\x3copt\x69on v\x61lu\x65=\x220\"\x20".(!empty(${${"G\x4cOBA\x4c\x53"}["\x6d\x64j\x6e\x74\x69\x6e\x6a\x62\x66\x6f"]})?"\x73ele\x63t\x65d\x3d\"selec\x74ed\x22":"")." \x3e".ScLang::l("N\x65 p\x61s s\x6cecti\x6fnn\x65\x72\x20d\x27ad\x72\x65s\x73e")."\x3c/\x6f\x70\x74\x69\x6f\x6e>";foreach(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x79\x75\x73\x67\x71\x6f"]} as${$dpnvivgp}){$kgyluho="a\x73";${"\x47\x4cO\x42\x41L\x53"}["f\x74\x67v\x64\x7ayt\x68"]="a\x73";${"\x47L\x4fB\x41\x4c\x53"}["vo\x62\x76\x75\x75"]="\x61\x73";${"\x47\x4c\x4fB\x41\x4cS"}["b\x61t\x6c\x77va\x6fh"]="\x61s";$gilgwbbkoqs="as";${"\x47\x4c\x4fBAL\x53"}["\x67\x62zht\x69b\x6c\x6c"]="\x61\x73";${${"G\x4c\x4f\x42\x41\x4c\x53"}["y\x62\x69\x61\x62\x74\x77"]}.="<opt\x69on v\x61lu\x65=\"".${${"G\x4cO\x42\x41\x4cS"}["\x79\x71s\x6b\x62s\x68p\x6d\x76i\x6a"]}["id_\x61\x64\x64\x72e\x73\x73"]."\"\x20".(ScTools::getValue("idA\x64\x64\x72es\x73")==${${"G\x4c\x4f\x42\x41\x4cS"}["y\x71\x73\x6bb\x73h\x70mv\x69\x6a"]}["\x69\x64\x5f\x61\x64dr\x65\x73s"]?"s\x65lec\x74\x65\x64=\"\x73el\x65c\x74\x65d\x22":"").">\n\t\t\t\t\t\t\t\t\t\t".(!empty(${${"GLO\x42\x41\x4cS"}["\x79\x71\x73\x6b\x62\x73\x68p\x6d\x76\x69j"]}["\x63omp\x61ny"])?${${"\x47\x4c\x4fBA\x4c\x53"}["\x79\x71\x73k\x62\x73\x68\x70\x6dv\x69\x6a"]}["\x63o\x6d\x70\x61ny"]."\x20- ":"").${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79q\x73\x6b\x62s\x68\x70\x6d\x76ij"]}["\x6ca\x73t\x6e\x61me"]."\x20".${${"\x47\x4c\x4f\x42AL\x53"}["gb\x7a\x68\x74i\x62\x6cl"]}["\x66\x69\x72\x73\x74n\x61\x6d\x65"]." \n\t\t\t\t\t\t\t\t\t\t-\x20".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79q\x73k\x62s\x68p\x6d\x76\x69j"]}["\x61\x64\x64\x72\x65s\x731"].(!empty(${${"\x47L\x4f\x42\x41\x4cS"}["\x79q\x73kb\x73\x68\x70\x6d\x76\x69\x6a"]}["a\x64\x64re\x73s2"])?", ".${${"\x47\x4c\x4fB\x41\x4c\x53"}["y\x71\x73\x6b\x62\x73\x68\x70m\x76\x69\x6a"]}["add\x72e\x73\x732"]:"")."\x20".${${"G\x4c\x4fBALS"}["\x79\x71\x73kb\x73\x68\x70mv\x69\x6a"]}["\x70\x6f\x73\x74\x63o\x64e"]." ".${$kgyluho}["cit\x79"]." \n\t\t\t\t\t\t\t\t\t\t".(!empty(${${"\x47L\x4fB\x41\x4cS"}["ft\x67\x76dzy\x74\x68"]}["p\x68on\x65"])?"-\x20".ScLang::l("\x54\x6c :")." ".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x61\x74l\x77\x76\x61\x6f\x68"]}["ph\x6fne"]:"")."\x20".(!empty(${$gilgwbbkoqs}["\x70\x68\x6f\x6ee\x5fm\x6fb\x69\x6ce"])?"-\x20".ScLang::l("Mobil\x65 :")."\x20".${${"\x47LO\x42A\x4cS"}["\x76o\x62\x76u\x75"]}["ph\x6f\x6ee\x5f\x6dobi\x6c\x65"]:"")."\n\t\t\t\t\t\t\t\t\t</\x6fp\x74\x69on>";}${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69ry\x65\x75\x61\x66j\x6b\x6a"]}.="\x3c/\x73e\x6cec\x74>\n\t\t\t\t\t\t\t\x3c/\x66\x6f\x72m>";}${${"\x47\x4c\x4f\x42\x41LS"}["y\x62\x69\x61\x62\x74\x77"]}.="\n\t\t\t\t\t\x3c/d\x69\x76\x3e\n\n\t\t\t\t\t\x3cd\x69\x76 cl\x61\x73s\x3d\"a\x63tio\x6e\x22>\n\t\t\t\t\t\t<\x61 cl\x61\x73\x73\x3d\"fc\x75\x73to\x6der\x20\x6e\x65\x77\x5f\x61ddre\x73s\x20f\x61\x6ec\x79b\x6f\x78\x2e\x69\x66r\x61\x6d\x65\"\x20\x68r\x65\x66=\""._SC_VIEW_."\x69nd\x65x.php?\x63o\x6e\x74\x72\x6fl\x6c\x65r\x3dS\x63\x43us\x74om\x65\x72\x43o\x6etro\x6c\x6c\x65\x72\x26\x63r\x65\x61\x74\x65\x41\x64dre\x73s\x3d\x31\x26\x69\x64_\x63\x75st\x6fm\x65\x72\x3d".ScTools::getValue("\x69d\x43u\x73\x74\x6f\x6d\x65\x72Fin\x64\x65\x64")."\x26\x74\x6fk\x65\x6e\x3d"._SC_TOKEN_."\x22\n\t\t\t\t\t\tt\x69\x74\x6ce=\"".ScLang::l("Ajou\x74\x65r u\x6e\x65\x20\x61\x64r\x65s\x73e\x20\x70o\x75r\x20l\x65\x20c\x6ci\x65\x6et :")."\x20".$iCustomer->lastname."\x20\x20".$iCustomer->firstname."\x22>\x3c/\x61\x3e\n\n\t\t\t\t\t\t\x3c\x69np\x75\x74\x20\x74\x79\x70\x65=\x22b\x75tto\x6e\" cl\x61\x73s\x3d\"delet\x65\x22\x20\x69d=\"de\x6ce\x74\x65\x73\x65le\x74edc\x75\x73to\x6d\x65\x72\x22 va\x6cu\x65=\x22\x22".ScCaisse::getLocked("Cd\x65\x6c",0)."\x20on\x63lick\x3d\"r\x65su\x6c\x74\x64\x65l\x65t\x65dc\x75\x73\x74\x6fme\x72();\"/\x3e\n\t\t\t\t\t\x3c/\x64iv>\n\n\t\t\t\t\t\x3c\x64iv c\x6ca\x73\x73\x3d\"c\x6ce\x61r\">\x3c/div>\n\t\t\t\t</d\x69\x76\x3e";${${"\x47LO\x42\x41L\x53"}["\x65y\x6ar\x71\x69tjb\x6a\x6d"]}=ScLang::l("A\x75cu\x6e C\x6cie\x6e\x74 \x73l\x65ction\x6e");$fgvdnhkp="a\x44ata";${${"\x47\x4c\x4fB\x41L\x53"}["\x70\x61nskefn"]}="";$vsiiwilnf="\x61\x53\x65\x73\x73\x69\x6f\x6e\x50\x72od\x75\x63t\x49ds";switch($iCustomer->id_gender){case"1":${${"\x47\x4c\x4f\x42\x41\x4cS"}["l\x66\x61\x72\x6b\x6ee\x6a"]}="M ";break;case"2":${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x6d\x6a\x71\x62a\x6e\x78\x74p"]}="\x4dme ";break;default:${${"\x47L\x4f\x42\x41L\x53"}["\x6c\x66\x61rkne\x6a"]}="";}${$mcghfuto}=ScLang::l("Cl\x69\x65nt sl\x65\x63\x74\x69\x6f\x6en :")."\x20".${${"\x47L\x4fBAL\x53"}["\x70\x69\x74\x70\x63\x70\x67\x79gk\x63"]}.$iCustomer->lastname."\x20".$iCustomer->firstname;${${"\x47\x4c\x4f\x42\x41L\x53"}["y\x65hc\x64s\x71m\x7a"]}="\x3c\x69mg ti\x74\x6c\x65=\"".${$bjyfmf}."\x22 \x73r\x63=\x22"._SC_IMG_."cus\x74\x6fm\x65\x72-\x73\x65\x6ce\x63t.\x70ng\"/>";ScCaisse::getGlobalReductionGroupByIdCustomer(ScTools::getValue("\x69\x64C\x75\x73\x74\x6fmerF\x69\x6e\x64\x65d"));ScSession::updateArray("s\x63\x63ai\x73s\x65",array("*i\x64\x43usto\x6d\x65\x72"=>ScTools::getValue("i\x64C\x75s\x74omerFind\x65d"),"*\x69dA\x64\x64re\x73\x73"=>${$coxuvssmers},));${$vsiiwilnf}=ScCaisse::getArray("scc\x61\x72t","\x50\x72\x6fductIds");${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x79p\x79\x6fhc\x6c\x6e\x6a"]}=0;if(!empty(${${"\x47LO\x42\x41LS"}["xk\x71\x75\x76\x77\x62\x67m"]})){$usyfwut="Di\x73p\x6c\x61yB\x74\x6e";${$usyfwut}=1;}unset(${${"\x47\x4c\x4f\x42\x41\x4cS"}["v\x63\x79\x69\x6an\x71\x69f\x71\x70"]});${$fgvdnhkp}[]=array("c\x75\x73to\x6d\x65r\x72ed\x75c\x74\x69\x6fn"=>ScTools::sc_roundf(ScCaisse::getArray("\x73\x63\x63a\x69\x73s\x65","\x47\x6c\x6f\x62\x61\x6cR\x65duct\x69\x6f\x6ePo"),2,2),"\x74ot\x61\x6ctic\x6b\x65\x74"=>ScCaisse::getTotalReceipt(true)." ".ScTools::sign(),"\x74ota\x6cr\x65m\x61i\x6e\x69ng"=>ScCaisse::TotalRemaining(),"cus\x74o\x6de\x72icon"=>ScTools::cleanForJSON(${${"\x47LOB\x41\x4c\x53"}["\x79\x65\x68\x63\x64\x73\x71\x6dz"]}),"\x63ust\x6fme\x72b\x6c\x6f\x63\x6b"=>ScTools::cleanForJSON(${${"G\x4c\x4fBA\x4cS"}["\x79\x62\x69\x61\x62\x74\x77"]}),"\x64i\x73pla\x79\x62tn"=>${${"GL\x4f\x42\x41\x4c\x53"}["k\x79\x70\x79ohc\x6c\x6e\x6a"]},"\x64i\x73\x70l\x61yin\x76\x6fi\x63e\x62\x74n"=>ScInvoice::getInvoiceBtn(),);if(Module::isInstalled("l\x6fy\x61\x6ct\x79")&&ScTools::isInstalled("\x73\x77_\x6co\x79al\x74y")){${"GL\x4f\x42\x41\x4cS"}["\x62u\x6a\x62\x77\x6dp"]="\x61\x44\x61\x74\x61";${${"\x47\x4c\x4f\x42\x41\x4cS"}["b\x75\x6a\x62wm\x70"]}[]=array("\x64i\x73\x70l\x61\x79l\x6f\x79\x61\x6ct\x79b\x74\x6e"=>ScLoyalty::getLoyaltyBtn(ScCaisse::getArray("\x73cc\x61is\x73e","\x69d\x43\x75\x73\x74ome\x72"),ScSession::get("s\x63\x6dode")),);}else{${${"\x47L\x4f\x42\x41L\x53"}["\x73v\x76\x67\x66\x75\x6ef\x76q\x70"]}[]=array("\x64\x69\x73p\x6c\x61\x79\x6co\x79al\x74y\x62\x74\x6e"=>"<\x73pan\x20c\x6ca\x73s=\x22ab\x74n\x31\x22\x3e\x3c/s\x70a\x6e>",);}echo json_encode(${$mbgjkltldetp});flush();}if(ScTools::getValue("\x64\x65\x6c\x65\x74e\x63\x75s\x74\x6fm\x65\x72")==1){ScSession::clear("\x73\x63\x63\x61\x69\x73\x73\x65","i\x64\x43\x75\x73\x74o\x6de\x72");ScSession::clear("sccais\x73\x65","i\x64\x41d\x64res\x73");ScSession::clear("s\x63\x63ais\x73\x65","\x47\x6cobalR\x65\x64ucti\x6fn\x50o");if(!ScSession::getArray("\x73cc\x61\x69sse","i\x64\x43\x75s\x74\x6fm\x65r")&&!ScSession::getArray("s\x63\x63ai\x73s\x65","i\x64Ad\x64res\x73")){$qouprxgnixk="\x5f\x68\x74\x6dli\x63o\x6e";${"GLOB\x41L\x53"}["\x6ao\x6bu\x6ede"]="\x5fht\x6dl\x69\x63\x6fn";${$qouprxgnixk}="\x3c\x69mg \x74i\x74\x6c\x65\x3d\"".ScLang::l("\x41\x75\x63\x75\x6e\x20client\x20\x73lec\x74\x69o\x6en")."\" \x73\x72\x63=\""._SC_IMG_."\x63\x75s\x74\x6f\x6d\x65\x72-\x6e\x6f\x73e\x6ce\x63t.\x70ng\x22/>";${${"GL\x4f\x42A\x4c\x53"}["\x73\x76v\x67f\x75\x6e\x66\x76\x71\x70"]}[]=array("custo\x6d\x65\x72\x72\x65du\x63ti\x6fn"=>ScCaisse::getArray("\x73\x63\x63ai\x73\x73e","\x47loba\x6c\x52e\x64\x75c\x74\x69\x6f\x6e\x50o"),"tot\x61ltick\x65t"=>ScCaisse::getTotalReceipt(true)." ".ScTools::sign(),"t\x6f\x74\x61\x6c\x72e\x6d\x61\x69\x6eing"=>ScCaisse::TotalRemaining(),"cust\x6f\x6deri\x63\x6f\x6e"=>ScTools::cleanForJSON(${${"G\x4c\x4f\x42\x41L\x53"}["j\x6f\x6bu\x6e\x64\x65"]}),);if(Module::isInstalled("\x6coy\x61lt\x79")&&ScTools::isInstalled("\x73w\x5f\x6co\x79alty")){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x65pbr\x7a\x71\x6d"]="a\x44\x61\x74\x61";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x65\x70brz\x71m"]}[]=array("\x64\x69\x73p\x6cay\x6c\x6fy\x61\x6c\x74yb\x74n"=>ScLoyalty::getLoyaltyBtn(0,ScSession::get("scmod\x65")),);}else{${"\x47\x4c\x4f\x42\x41LS"}["lxq\x6f\x6c\x77\x64z\x6f\x74"]="\x61\x44a\x74\x61";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x78q\x6f\x6cw\x64\x7a\x6ft"]}[]=array("\x64is\x70\x6cay\x6coy\x61l\x74y\x62tn"=>"\x3cs\x70a\x6e\x20clas\x73\x3d\x22abtn\x31\x22></span\x3e",);}echo json_encode(${${"\x47LO\x42\x41\x4cS"}["\x73\x76vgf\x75n\x66\x76\x71\x70"]});flush();die;}}}}else{$ekzcts="c\x6f\x6fk\x69e";unset(${$ekzcts});header("\x45x\x70\x69res: \x4d\x6fn, \x326\x20Jul\x20\x31997\x2005:00:\x300\x20\x47\x4d\x54");header("\x4c\x61s\x74-Mod\x69\x66\x69\x65\x64:\x20".gmdate("D,\x20d\x20\x4d\x20\x59\x20H:i:\x73")." \x47MT");header("C\x61che-Cont\x72\x6f\x6c:\x20no-\x73to\x72\x65,\x20n\x6f-ca\x63\x68\x65, \x6du\x73\x74-re\x76\x61\x6c\x69d\x61te");header("Ca\x63\x68\x65-C\x6f\x6et\x72\x6f\x6c:\x20\x70\x6f\x73\x74-\x63h\x65\x63k\x3d\x30, \x70re-ch\x65\x63k=0",false);header("Pra\x67\x6d\x61: n\x6f-c\x61\x63he");header("L\x6f\x63a\x74ion: \x2e./.\x2e/.\x2e/");exit;}
Function Calls
None |
Stats
MD5 | 909d814878fb05d265f2c0f26154bbb1 |
Eval Count | 0 |
Decode Time | 92 ms |