Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* ///-build_id: 1365380078 /// This source file is subject to the Software Licens..
Decoded Output download
<?php /*
///-build_id: 1365380078
/// This source file is subject to the Software License Agreement that is bundled with this
/// package in the file license.txt, or you can get it here
/// http://addons-modules.com/store/en/content/3-terms-and-conditions-of-use
///
/// @copyright 2009-2012 Addons-Modules.com
///
*/
${"GLOBALS"}["btbbxio"]="logofile";${"GLOBALS"}["bydeiiog"]="sellerinfo";${"GLOBALS"}["cfpflj"]="id_sellerinfo";${"GLOBALS"}["mkshloyoob"]="folder";${"GLOBALS"}["arblcscbrgcm"]="res";${"GLOBALS"}["ustocatmzkt"]="id_seller";${"GLOBALS"}["pdwhlvkvkda"]="sql";${"GLOBALS"}["bmhndcqy"]="country";${"GLOBALS"}["hqehzadyctc"]="str_address";${"GLOBALS"}["nlotqpcw"]="fields";${"GLOBALS"}["oiotxihsl"]="customer";${"GLOBALS"}["dkcavigfm"]="id_lang";${"GLOBALS"}["jtnufqefihr"]="result";class SellerInfo extends ObjectModel{public$id_sellerinfo;public$id_seller;public$id_shop;public$id_category_default;public$company;public$id_sellertype1;public$id_sellertype2;public$id_country;public$country;public$id_customer;public$id_state;public$state;public$address1;public$address2;public$postcode;public$city;public$description;public$phone;public$fax;public$dni;public$latitude;public$longitude;public$date_add;public$date_upd;public$customer_info_text;private static$_idZones=array();private static$_idCountries=array();protected$fieldsRequired=array('id_seller','id_country');protected$fieldsSize=array('company'=>256,'address1'=>128,'address2'=>128,'postcode'=>12,'city'=>64,'phone'=>16,'fax'=>16);protected$fieldsValidate=array('id_seller'=>'isUnsignedId','id_customer'=>'isUnsignedId','id_country'=>'isUnsignedId','id_state'=>'isNullOrUnsignedId','description'=>'isCleanHtml','address1'=>'isAddress','address2'=>'isAddress','postcode'=>'isPostCode','city'=>'isCityName','description'=>'isString','phone'=>'isPhoneNumber','fax'=>'isPhoneNumber');protected$table='sellerinfo';protected$identifier='id_sellerinfo';protected$_includeContainer=false;public function __construct($id_sellerinfo=NULL,$id_lang=NULL){${"GLOBALS"}["iaqhywvgljp"]="id_sellerinfo";parent::__construct(${${"GLOBALS"}["iaqhywvgljp"]});if($this->id){${"GLOBALS"}["phjaeq"]="id_lang";${${"GLOBALS"}["jtnufqefihr"]}=Db::getInstance()->getRow("SELECT `name` FROM `"._DB_PREFIX_."country_lang`
WHERE `id_country` = ".intval($this->id_country)."
AND `id_lang` = ".(${${"GLOBALS"}["phjaeq"]}?intval(${${"GLOBALS"}["dkcavigfm"]}):Configuration::get("PS_LANG_DEFAULT")));${"GLOBALS"}["pauoqzfhm"]="result";$this->country=${${"GLOBALS"}["pauoqzfhm"]}["name"];if(intval($this->id_state)>0){${${"GLOBALS"}["jtnufqefihr"]}=Db::getInstance()->getRow("SELECT `name` FROM `"._DB_PREFIX_."state`
WHERE `id_state` = ".intval($this->id_state));$this->state=${${"GLOBALS"}["jtnufqefihr"]}["name"];}if(intval($this->id_customer)>0){${${"GLOBALS"}["oiotxihsl"]}=new Customer($this->id_customer);$this->customer_info_text=$customer->firstname." ".$customer->lastname."(".$customer->email.")";}}}public function getFields(){$ujgsspo="fields";${"GLOBALS"}["hirjsryso"]="fields";$hjscmmlmmb="fields";parent::validateFields();if(isset($this->id))${${"GLOBALS"}["hirjsryso"]}["id_sellerinfo"]=intval($this->id);${$ujgsspo}["id_seller"]=intval($this->id_seller);$uhdold="fields";${"GLOBALS"}["mxwqcjpyy"]="fields";${$uhdold}["id_shop"]=intval($this->id_shop);${${"GLOBALS"}["nlotqpcw"]}["id_category_default"]=intval($this->id_category_default);${${"GLOBALS"}["nlotqpcw"]}["id_sellertype1"]=intval($this->id_sellertype1);${${"GLOBALS"}["nlotqpcw"]}["id_sellertype2"]=intval($this->id_sellertype2);${${"GLOBALS"}["nlotqpcw"]}["id_country"]=intval($this->id_country);$vjazahh="fields";${"GLOBALS"}["wtvdyorsswhq"]="fields";$mkgmrmjhyey="fields";${$vjazahh}["id_state"]=intval($this->id_state);${${"GLOBALS"}["nlotqpcw"]}["id_customer"]=intval($this->id_customer);${${"GLOBALS"}["nlotqpcw"]}["company"]=pSQL($this->company);${${"GLOBALS"}["wtvdyorsswhq"]}["address1"]=pSQL($this->address1);${${"GLOBALS"}["nlotqpcw"]}["address2"]=pSQL($this->address2);${"GLOBALS"}["lhopytqep"]="fields";${${"GLOBALS"}["mxwqcjpyy"]}["postcode"]=pSQL($this->postcode);${${"GLOBALS"}["nlotqpcw"]}["city"]=pSQL($this->city);${$mkgmrmjhyey}["description"]=pSQL($this->description,true);${${"GLOBALS"}["nlotqpcw"]}["phone"]=pSQL($this->phone);${${"GLOBALS"}["nlotqpcw"]}["fax"]=pSQL($this->fax);${${"GLOBALS"}["nlotqpcw"]}["dni"]=pSQL($this->dni);${$hjscmmlmmb}["date_add"]=pSQL($this->date_add);${${"GLOBALS"}["nlotqpcw"]}["date_upd"]=pSQL($this->date_upd);${${"GLOBALS"}["lhopytqep"]}["latitude"]=floatval($this->latitude);${${"GLOBALS"}["nlotqpcw"]}["longitude"]=floatval($this->longitude);return${${"GLOBALS"}["nlotqpcw"]};}public function fulladdress($id_lang){if(!${${"GLOBALS"}["dkcavigfm"]})${${"GLOBALS"}["dkcavigfm"]}=intval(Configuration::get("PS_COUNTRY_DEFAULT"));$zfkkthvqjka="str_address";${$zfkkthvqjka}=$this->address1;if(!empty($this->address2))${${"GLOBALS"}["hqehzadyctc"]}.=", ".$this->address2;${${"GLOBALS"}["hqehzadyctc"]}.=", ".$this->city;if($this->id_state>0){$jmlcgml="state";${"GLOBALS"}["hgdmvvedfd"]="str_address";${$jmlcgml}=new State($this->id_state);${${"GLOBALS"}["hgdmvvedfd"]}.=", ".$state->name;}${${"GLOBALS"}["hqehzadyctc"]}.=", ".$this->postcode;${${"GLOBALS"}["bmhndcqy"]}=new Country($this->id_country,${${"GLOBALS"}["dkcavigfm"]});${"GLOBALS"}["vgdrsjtchicq"]="str_address";${${"GLOBALS"}["vgdrsjtchicq"]}.=", ".$country->name;return${${"GLOBALS"}["hqehzadyctc"]};}public static function getIdBSellerId($id_seller){${"GLOBALS"}["sxyntlt"]="res";${${"GLOBALS"}["pdwhlvkvkda"]}="SELECT id_sellerinfo FROM `"._DB_PREFIX_."sellerinfo` WHERE id_seller=".intval(${${"GLOBALS"}["ustocatmzkt"]});${${"GLOBALS"}["arblcscbrgcm"]}=Db::getInstance()->getRow(${${"GLOBALS"}["pdwhlvkvkda"]});$hjvhjfaux="res";if(isset(${${"GLOBALS"}["sxyntlt"]}["id_sellerinfo"])AND intval(${$hjvhjfaux}["id_sellerinfo"])>0)return intval(${${"GLOBALS"}["arblcscbrgcm"]}["id_sellerinfo"]);return 0;}public static function get_logo_folder(){${${"GLOBALS"}["mkshloyoob"]}=_PS_IMG_DIR_."as/";${"GLOBALS"}["kodeenjh"]="folder";$flyyrauymnqq="folder";if(!file_exists(${${"GLOBALS"}["kodeenjh"]}))mkdir(${${"GLOBALS"}["mkshloyoob"]});return${$flyyrauymnqq};}public static function getSellerLogoFilePath($id_order){${"GLOBALS"}["axxhhlafssqn"]="id_sellerinfo";$mrbpylvth="id_order";$kxycpjl="sellerinfo";${${"GLOBALS"}["ustocatmzkt"]}=intval(AgileSellerManager::getObjectOwnerID("order",${$mrbpylvth}));$kblvrxqsvqv="id_seller";${${"GLOBALS"}["cfpflj"]}=self::getIdBSellerId(${$kblvrxqsvqv});${$kxycpjl}=new SellerInfo(${${"GLOBALS"}["axxhhlafssqn"]});if(!Validate::isLoadedObject(${${"GLOBALS"}["bydeiiog"]}))return"";return self::seller_logo_physical_path($sellerinfo->id);}public static function seller_logo_physical_path($id_seller){${"GLOBALS"}["cwpxhdwxrv"]="id_seller";return SellerInfo::get_logo_folder().${${"GLOBALS"}["cwpxhdwxrv"]}.".jpg";}public function get_seller_logo_url(){return self::get_seller_logo_url_static($this->id);}public static function get_seller_logo_url_static($id_sellerinfo){${"GLOBALS"}["fegkedplnxrr"]="lang";global$cookie;${"GLOBALS"}["sbirtid"]="logofile";${${"GLOBALS"}["fegkedplnxrr"]}=new Language($cookie->id_lang);${${"GLOBALS"}["btbbxio"]}=self::seller_logo_physical_path(${${"GLOBALS"}["cfpflj"]});if(file_exists(${${"GLOBALS"}["sbirtid"]}))return Tools::getShopDomainSsl(true).__PS_BASE_URI__."img/as/".${${"GLOBALS"}["cfpflj"]}.".jpg";else return Tools::getShopDomainSsl(true).__PS_BASE_URI__."modules/agilemultipleseller/images/".$lang->iso_code."-nologo.png";}public static function getIdByCustomerId($id_customer){${"GLOBALS"}["kkbxojy"]="id_customer";${"GLOBALS"}["esnkfhrxgqry"]="sql";${${"GLOBALS"}["esnkfhrxgqry"]}="SELECT id_sellerinfo FROM `"._DB_PREFIX_."sellerinfo` WHERE id_customer=".intval(${${"GLOBALS"}["kkbxojy"]});${"GLOBALS"}["lwxwkipebog"]="res";${${"GLOBALS"}["arblcscbrgcm"]}=Db::getInstance()->getRow(${${"GLOBALS"}["pdwhlvkvkda"]});$ohiedhnm="res";if(isset(${${"GLOBALS"}["lwxwkipebog"]}["id_sellerinfo"])AND intval(${$ohiedhnm}["id_sellerinfo"])>0)return intval(${${"GLOBALS"}["arblcscbrgcm"]}["id_sellerinfo"]);return 0;}}
?>
Did this file decode correctly?
Original Code
<?php /*
///-build_id: 1365380078
/// This source file is subject to the Software License Agreement that is bundled with this
/// package in the file license.txt, or you can get it here
/// http://addons-modules.com/store/en/content/3-terms-and-conditions-of-use
///
/// @copyright 2009-2012 Addons-Modules.com
///
*/
${"\x47\x4cO\x42ALS"}["\x62t\x62b\x78io"]="\x6c\x6fg\x6f\x66\x69l\x65";${"GLOBA\x4c\x53"}["\x62\x79d\x65\x69i\x6f\x67"]="\x73\x65ll\x65\x72in\x66o";${"\x47\x4c\x4f\x42\x41\x4cS"}["c\x66\x70\x66\x6c\x6a"]="\x69\x64\x5f\x73\x65lle\x72\x69n\x66\x6f";${"GL\x4fB\x41\x4c\x53"}["mks\x68l\x6fy\x6f\x6f\x62"]="\x66\x6f\x6cd\x65\x72";${"\x47L\x4f\x42\x41\x4cS"}["\x61rb\x6ccs\x63\x62\x72g\x63\x6d"]="re\x73";${"\x47LO\x42\x41\x4c\x53"}["u\x73\x74\x6f\x63a\x74m\x7a\x6bt"]="\x69\x64\x5f\x73e\x6cl\x65\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x64\x77\x68\x6c\x76\x6b\x76\x6b\x64\x61"]="\x73\x71\x6c";${"\x47\x4c\x4fB\x41\x4cS"}["bmhnd\x63qy"]="c\x6f\x75nt\x72y";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68qe\x68\x7a\x61\x64yct\x63"]="\x73\x74\x72\x5fa\x64\x64\x72\x65\x73\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x6e\x6c\x6f\x74\x71pc\x77"]="f\x69\x65l\x64s";${"GL\x4f\x42A\x4c\x53"}["o\x69\x6f\x74\x78\x69hs\x6c"]="cu\x73t\x6fm\x65r";${"\x47\x4cO\x42\x41\x4cS"}["\x64\x6b\x63\x61vigfm"]="i\x64_\x6ca\x6e\x67";${"G\x4c\x4fB\x41\x4c\x53"}["\x6a\x74n\x75\x66\x71\x65\x66\x69hr"]="\x72\x65su\x6c\x74";class SellerInfo extends ObjectModel{public$id_sellerinfo;public$id_seller;public$id_shop;public$id_category_default;public$company;public$id_sellertype1;public$id_sellertype2;public$id_country;public$country;public$id_customer;public$id_state;public$state;public$address1;public$address2;public$postcode;public$city;public$description;public$phone;public$fax;public$dni;public$latitude;public$longitude;public$date_add;public$date_upd;public$customer_info_text;private static$_idZones=array();private static$_idCountries=array();protected$fieldsRequired=array('id_seller','id_country');protected$fieldsSize=array('company'=>256,'address1'=>128,'address2'=>128,'postcode'=>12,'city'=>64,'phone'=>16,'fax'=>16);protected$fieldsValidate=array('id_seller'=>'isUnsignedId','id_customer'=>'isUnsignedId','id_country'=>'isUnsignedId','id_state'=>'isNullOrUnsignedId','description'=>'isCleanHtml','address1'=>'isAddress','address2'=>'isAddress','postcode'=>'isPostCode','city'=>'isCityName','description'=>'isString','phone'=>'isPhoneNumber','fax'=>'isPhoneNumber');protected$table='sellerinfo';protected$identifier='id_sellerinfo';protected$_includeContainer=false;public function __construct($id_sellerinfo=NULL,$id_lang=NULL){${"\x47L\x4f\x42\x41L\x53"}["i\x61\x71\x68\x79\x77\x76\x67lj\x70"]="id\x5fs\x65l\x6c\x65\x72i\x6ef\x6f";parent::__construct(${${"\x47\x4c\x4fB\x41L\x53"}["i\x61q\x68\x79w\x76g\x6c\x6a\x70"]});if($this->id){${"G\x4cO\x42\x41L\x53"}["ph\x6a\x61\x65\x71"]="\x69\x64_\x6ca\x6e\x67";${${"GL\x4f\x42\x41\x4c\x53"}["\x6a\x74\x6euf\x71e\x66i\x68\x72"]}=Db::getInstance()->getRow("S\x45LE\x43\x54\x20`nam\x65\x60\x20\x46\x52\x4fM\x20\x60"._DB_PREFIX_."\x63ou\x6e\x74r\x79\x5fla\x6e\x67\x60\n\t\t\t\t\t\t\t\t\t\t\t\tWH\x45\x52\x45 \x60\x69\x64_coun\x74r\x79` =\x20".intval($this->id_country)."\n\t\t\t\t\t\t\t\t\t\t\t\tAND `\x69d\x5fla\x6eg\x60 = ".(${${"\x47\x4c\x4f\x42\x41\x4cS"}["p\x68\x6aaeq"]}?intval(${${"\x47\x4cO\x42A\x4c\x53"}["d\x6b\x63a\x76igfm"]}):Configuration::get("\x50S_\x4cAN\x47_\x44\x45\x46AUL\x54")));${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70a\x75\x6f\x71\x7af\x68\x6d"]="\x72\x65\x73\x75\x6c\x74";$this->country=${${"G\x4c\x4fB\x41L\x53"}["\x70\x61\x75o\x71z\x66h\x6d"]}["\x6e\x61\x6de"];if(intval($this->id_state)>0){${${"G\x4c\x4f\x42A\x4cS"}["\x6a\x74nu\x66\x71\x65\x66\x69h\x72"]}=Db::getInstance()->getRow("\x53\x45\x4c\x45C\x54\x20\x60n\x61me\x60 \x46R\x4f\x4d\x20`"._DB_PREFIX_."sta\x74e\x60\n\t\t\t\t\t\t\t\t\t\t\t\t\x57H\x45RE\x20\x60i\x64\x5fs\x74\x61\x74\x65` \x3d\x20".intval($this->id_state));$this->state=${${"\x47\x4cO\x42\x41\x4c\x53"}["j\x74\x6e\x75f\x71ef\x69\x68r"]}["\x6e\x61\x6d\x65"];}if(intval($this->id_customer)>0){${${"G\x4c\x4f\x42\x41L\x53"}["\x6f\x69\x6f\x74xi\x68s\x6c"]}=new Customer($this->id_customer);$this->customer_info_text=$customer->firstname." ".$customer->lastname."(".$customer->email.")";}}}public function getFields(){$ujgsspo="\x66\x69\x65\x6c\x64\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x69\x72j\x73r\x79\x73\x6f"]="f\x69\x65l\x64\x73";$hjscmmlmmb="\x66\x69e\x6cd\x73";parent::validateFields();if(isset($this->id))${${"G\x4c\x4fBA\x4c\x53"}["\x68\x69r\x6a\x73\x72y\x73\x6f"]}["id_\x73\x65llerinf\x6f"]=intval($this->id);${$ujgsspo}["id_\x73\x65\x6cl\x65\x72"]=intval($this->id_seller);$uhdold="\x66\x69\x65\x6c\x64\x73";${"\x47\x4c\x4fB\x41L\x53"}["m\x78\x77\x71\x63j\x70\x79\x79"]="f\x69el\x64s";${$uhdold}["id_\x73ho\x70"]=intval($this->id_shop);${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6el\x6ftq\x70\x63\x77"]}["\x69\x64_\x63at\x65\x67ory_\x64e\x66ault"]=intval($this->id_category_default);${${"\x47\x4cO\x42A\x4cS"}["\x6elot\x71pc\x77"]}["\x69d_sell\x65r\x74\x79\x70\x651"]=intval($this->id_sellertype1);${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6el\x6f\x74qp\x63w"]}["i\x64\x5fsel\x6c\x65r\x74y\x70\x652"]=intval($this->id_sellertype2);${${"GLOBAL\x53"}["\x6elo\x74\x71\x70\x63\x77"]}["i\x64_co\x75ntry"]=intval($this->id_country);$vjazahh="fi\x65\x6cd\x73";${"\x47\x4cOB\x41LS"}["\x77\x74\x76\x64\x79\x6f\x72s\x73w\x68\x71"]="f\x69\x65l\x64s";$mkgmrmjhyey="\x66\x69e\x6c\x64s";${$vjazahh}["id_\x73\x74ate"]=intval($this->id_state);${${"\x47LO\x42\x41\x4c\x53"}["n\x6c\x6ft\x71\x70c\x77"]}["\x69\x64_cu\x73tom\x65\x72"]=intval($this->id_customer);${${"\x47L\x4fBA\x4c\x53"}["\x6e\x6c\x6ft\x71\x70cw"]}["\x63\x6f\x6d\x70an\x79"]=pSQL($this->company);${${"\x47\x4c\x4f\x42A\x4cS"}["wt\x76d\x79or\x73\x73\x77\x68q"]}["\x61d\x64\x72es\x73\x31"]=pSQL($this->address1);${${"\x47\x4cOBA\x4c\x53"}["\x6el\x6f\x74\x71\x70c\x77"]}["\x61d\x64res\x73\x32"]=pSQL($this->address2);${"\x47L\x4f\x42\x41L\x53"}["l\x68op\x79tq\x65\x70"]="\x66\x69\x65l\x64\x73";${${"\x47L\x4fB\x41\x4c\x53"}["\x6d\x78w\x71\x63\x6a\x70\x79y"]}["\x70\x6f\x73tco\x64\x65"]=pSQL($this->postcode);${${"G\x4cO\x42\x41\x4c\x53"}["\x6elot\x71p\x63w"]}["\x63i\x74\x79"]=pSQL($this->city);${$mkgmrmjhyey}["\x64\x65s\x63\x72i\x70t\x69\x6f\x6e"]=pSQL($this->description,true);${${"G\x4c\x4f\x42\x41L\x53"}["nl\x6ft\x71\x70\x63w"]}["pho\x6e\x65"]=pSQL($this->phone);${${"\x47\x4c\x4fBALS"}["n\x6co\x74\x71\x70\x63\x77"]}["\x66\x61x"]=pSQL($this->fax);${${"\x47\x4c\x4fBAL\x53"}["\x6e\x6cotqpc\x77"]}["\x64n\x69"]=pSQL($this->dni);${$hjscmmlmmb}["\x64\x61te_\x61d\x64"]=pSQL($this->date_add);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x6cot\x71p\x63\x77"]}["d\x61\x74\x65_u\x70d"]=pSQL($this->date_upd);${${"\x47\x4cOB\x41\x4c\x53"}["\x6c\x68op\x79t\x71\x65p"]}["lati\x74\x75\x64e"]=floatval($this->latitude);${${"\x47\x4cO\x42A\x4cS"}["\x6e\x6co\x74\x71\x70c\x77"]}["lo\x6e\x67\x69\x74\x75d\x65"]=floatval($this->longitude);return${${"\x47LO\x42A\x4c\x53"}["nlo\x74q\x70\x63w"]};}public function fulladdress($id_lang){if(!${${"\x47\x4cO\x42A\x4cS"}["\x64\x6b\x63\x61v\x69\x67\x66\x6d"]})${${"\x47\x4c\x4fB\x41L\x53"}["\x64\x6bc\x61v\x69gf\x6d"]}=intval(Configuration::get("\x50S\x5fCOUN\x54R\x59_\x44\x45F\x41\x55\x4cT"));$zfkkthvqjka="s\x74r_\x61dd\x72\x65ss";${$zfkkthvqjka}=$this->address1;if(!empty($this->address2))${${"G\x4c\x4f\x42A\x4c\x53"}["\x68\x71\x65hza\x64\x79c\x74c"]}.=",\x20".$this->address2;${${"\x47L\x4f\x42\x41LS"}["h\x71\x65h\x7a\x61\x64\x79\x63t\x63"]}.=", ".$this->city;if($this->id_state>0){$jmlcgml="\x73\x74a\x74\x65";${"G\x4cO\x42AL\x53"}["h\x67\x64\x6dvv\x65d\x66\x64"]="\x73t\x72\x5f\x61\x64d\x72\x65\x73\x73";${$jmlcgml}=new State($this->id_state);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68g\x64\x6d\x76v\x65d\x66\x64"]}.=",\x20".$state->name;}${${"\x47L\x4f\x42\x41L\x53"}["hq\x65\x68\x7a\x61dy\x63t\x63"]}.=", ".$this->postcode;${${"GL\x4f\x42A\x4c\x53"}["\x62m\x68\x6edc\x71y"]}=new Country($this->id_country,${${"G\x4c\x4fBA\x4c\x53"}["d\x6b\x63\x61\x76\x69\x67\x66\x6d"]});${"\x47L\x4f\x42A\x4c\x53"}["\x76g\x64\x72s\x6a\x74\x63h\x69c\x71"]="\x73\x74\x72\x5f\x61d\x64r\x65s\x73";${${"\x47\x4c\x4f\x42\x41L\x53"}["v\x67\x64\x72\x73\x6a\x74chic\x71"]}.=",\x20".$country->name;return${${"GLOB\x41\x4cS"}["\x68q\x65\x68\x7a\x61\x64\x79ctc"]};}public static function getIdBSellerId($id_seller){${"\x47L\x4f\x42\x41\x4c\x53"}["sx\x79n\x74\x6c\x74"]="\x72\x65\x73";${${"\x47LOBA\x4c\x53"}["\x70d\x77\x68\x6c\x76\x6b\x76\x6bd\x61"]}="SE\x4c\x45CT\x20id\x5f\x73elle\x72\x69\x6ef\x6f\x20\x46RO\x4d\x20`"._DB_PREFIX_."sel\x6c\x65ri\x6ef\x6f\x60\x20WH\x45\x52\x45\x20\x69\x64\x5f\x73el\x6cer\x3d".intval(${${"\x47L\x4f\x42A\x4c\x53"}["\x75\x73\x74\x6f\x63a\x74\x6dz\x6b\x74"]});${${"GL\x4f\x42\x41\x4c\x53"}["a\x72\x62lc\x73\x63br\x67\x63\x6d"]}=Db::getInstance()->getRow(${${"GLOBA\x4c\x53"}["\x70\x64\x77\x68\x6cv\x6b\x76k\x64\x61"]});$hjvhjfaux="\x72\x65\x73";if(isset(${${"G\x4c\x4f\x42\x41L\x53"}["s\x78\x79\x6e\x74\x6ct"]}["id\x5f\x73e\x6cl\x65r\x69n\x66\x6f"])AND intval(${$hjvhjfaux}["i\x64_s\x65\x6cl\x65r\x69n\x66\x6f"])>0)return intval(${${"G\x4c\x4f\x42\x41\x4cS"}["\x61\x72\x62l\x63scb\x72\x67\x63\x6d"]}["\x69d_\x73\x65l\x6ce\x72info"]);return 0;}public static function get_logo_folder(){${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6dks\x68l\x6f\x79\x6f\x6fb"]}=_PS_IMG_DIR_."\x61\x73/";${"G\x4cO\x42\x41\x4c\x53"}["\x6b\x6f\x64\x65enj\x68"]="fo\x6c\x64\x65\x72";$flyyrauymnqq="fo\x6cd\x65r";if(!file_exists(${${"\x47\x4c\x4fBA\x4c\x53"}["k\x6f\x64\x65e\x6ejh"]}))mkdir(${${"\x47LO\x42\x41\x4cS"}["\x6dk\x73h\x6c\x6fy\x6fob"]});return${$flyyrauymnqq};}public static function getSellerLogoFilePath($id_order){${"G\x4cO\x42\x41\x4c\x53"}["a\x78\x78\x68\x68\x6ca\x66\x73\x73\x71n"]="id\x5fs\x65l\x6cer\x69n\x66\x6f";$mrbpylvth="\x69d_\x6f\x72\x64er";$kxycpjl="sel\x6c\x65r\x69\x6e\x66\x6f";${${"GL\x4fB\x41\x4cS"}["u\x73\x74\x6f\x63\x61tmz\x6b\x74"]}=intval(AgileSellerManager::getObjectOwnerID("\x6frd\x65\x72",${$mrbpylvth}));$kblvrxqsvqv="i\x64\x5fs\x65\x6c\x6c\x65\x72";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x63\x66\x70\x66\x6c\x6a"]}=self::getIdBSellerId(${$kblvrxqsvqv});${$kxycpjl}=new SellerInfo(${${"G\x4c\x4fB\x41L\x53"}["axx\x68\x68la\x66\x73\x73q\x6e"]});if(!Validate::isLoadedObject(${${"GLO\x42\x41\x4c\x53"}["by\x64\x65ii\x6f\x67"]}))return"";return self::seller_logo_physical_path($sellerinfo->id);}public static function seller_logo_physical_path($id_seller){${"G\x4cO\x42\x41LS"}["\x63\x77\x70\x78\x68\x64wxr\x76"]="\x69\x64\x5f\x73\x65\x6c\x6ce\x72";return SellerInfo::get_logo_folder().${${"\x47LO\x42\x41\x4c\x53"}["\x63\x77\x70xh\x64\x77xr\x76"]}."\x2ejpg";}public function get_seller_logo_url(){return self::get_seller_logo_url_static($this->id);}public static function get_seller_logo_url_static($id_sellerinfo){${"\x47\x4c\x4f\x42AL\x53"}["\x66\x65\x67\x6bed\x70l\x6e\x78\x72\x72"]="l\x61\x6e\x67";global$cookie;${"\x47\x4cO\x42\x41LS"}["s\x62\x69rt\x69d"]="l\x6f\x67\x6f\x66\x69\x6c\x65";${${"\x47\x4cO\x42\x41\x4cS"}["\x66\x65g\x6b\x65dpl\x6e\x78\x72\x72"]}=new Language($cookie->id_lang);${${"G\x4cOB\x41\x4c\x53"}["\x62\x74b\x62x\x69\x6f"]}=self::seller_logo_physical_path(${${"\x47\x4cO\x42\x41\x4cS"}["\x63fp\x66l\x6a"]});if(file_exists(${${"G\x4c\x4fB\x41LS"}["\x73b\x69\x72\x74\x69\x64"]}))return Tools::getShopDomainSsl(true).__PS_BASE_URI__."i\x6d\x67/as/".${${"GL\x4f\x42\x41L\x53"}["\x63\x66p\x66lj"]}.".j\x70g";else return Tools::getShopDomainSsl(true).__PS_BASE_URI__."\x6d\x6fd\x75le\x73/\x61gil\x65mu\x6c\x74i\x70lese\x6cl\x65r/im\x61\x67e\x73/".$lang->iso_code."-no\x6co\x67o.\x70ng";}public static function getIdByCustomerId($id_customer){${"\x47LO\x42\x41\x4cS"}["\x6b\x6b\x62\x78\x6f\x6a\x79"]="\x69\x64_\x63\x75sto\x6d\x65r";${"G\x4c\x4f\x42\x41\x4c\x53"}["esnk\x66h\x72\x78\x67\x71\x72\x79"]="\x73\x71\x6c";${${"\x47\x4cO\x42\x41\x4c\x53"}["esn\x6b\x66\x68\x72\x78\x67\x71\x72y"]}="\x53\x45LE\x43\x54 id_s\x65\x6cl\x65\x72\x69\x6e\x66\x6f\x20\x46RO\x4d `"._DB_PREFIX_."\x73\x65\x6cle\x72i\x6efo\x60\x20W\x48\x45RE\x20\x69\x64_\x63us\x74\x6fm\x65r\x3d".intval(${${"\x47LO\x42\x41\x4cS"}["\x6b\x6b\x62\x78\x6f\x6ay"]});${"G\x4c\x4f\x42A\x4cS"}["lw\x78w\x6bi\x70e\x62o\x67"]="\x72\x65\x73";${${"\x47L\x4f\x42\x41\x4cS"}["\x61\x72\x62\x6c\x63\x73\x63\x62\x72\x67\x63\x6d"]}=Db::getInstance()->getRow(${${"\x47L\x4f\x42A\x4c\x53"}["p\x64\x77\x68l\x76k\x76\x6bda"]});$ohiedhnm="\x72es";if(isset(${${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x77\x78w\x6bip\x65\x62\x6f\x67"]}["id_\x73\x65\x6clerinf\x6f"])AND intval(${$ohiedhnm}["\x69\x64_sel\x6cerinf\x6f"])>0)return intval(${${"G\x4cO\x42\x41\x4c\x53"}["\x61\x72blc\x73cb\x72\x67c\x6d"]}["i\x64_\x73\x65ll\x65rin\x66\x6f"]);return 0;}}
?>
Function Calls
None |
Stats
MD5 | 3c08e73f2f5120a46c3d7fa68ef2b8d7 |
Eval Count | 0 |
Decode Time | 136 ms |