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: 2014103119.5618 /// This source file is subject to the Software L..

Decoded Output download

<?php /* 
///-build_id: 2014103119.5618 
/// 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"}["myycdvnritt"]="products";${"GLOBALS"}["buzptdlhbz"]="def_id_currency";${"GLOBALS"}["nfmxlsq"]="product";${"GLOBALS"}["itsfirjhp"]="id_product";${"GLOBALS"}["isnpnklpox"]="action";class AgileMultipleSellerSellerProductsModuleFrontController extends AgileModuleFrontController{public function init(){parent::init();$uyertwnzj="action";${${"GLOBALS"}["isnpnklpox"]}=Tools::getValue("process");${${"GLOBALS"}["itsfirjhp"]}=Tools::getValue("id_product");if(isset(${$uyertwnzj})&&isset(${${"GLOBALS"}["itsfirjhp"]})){${"GLOBALS"}["bsgktunwbd"]="action";if(${${"GLOBALS"}["isnpnklpox"]}=="delete"){$this->sellerinfo=new SellerInfo(SellerInfo::getIdByCustomerId($this->context->customer->id),$this->context->language->id);if($this->sellerinfo->id_seller>0 AND$this->sellerinfo->id_seller==AgileSellerManager::getObjectOwnerID("product",${${"GLOBALS"}["itsfirjhp"]})){${"GLOBALS"}["vjeossj"]="product";${${"GLOBALS"}["nfmxlsq"]}=new Product((int)${${"GLOBALS"}["itsfirjhp"]});$this->beforeDelete(${${"GLOBALS"}["nfmxlsq"]});if(!$product->delete())$this->errors[]=Tools::displayError("Error occured during deleting the product.");$this->afterDelete(${${"GLOBALS"}["vjeossj"]},$product->id);}else{$this->errors[]=Tools::displayError("You do not have permission to delete this product or the product is not found.");}}else if(${${"GLOBALS"}["bsgktunwbd"]}=="inactive"||${${"GLOBALS"}["isnpnklpox"]}=="active"){${${"GLOBALS"}["nfmxlsq"]}=new Product((int)${${"GLOBALS"}["itsfirjhp"]});$product->active=!($product->active);$jgfrvpks="id_product";$product->update();$this->sellerinfo=new SellerInfo(SellerInfo::getIdByCustomerId($this->context->customer->id),$this->context->language->id);AgileSellerManager::assignObjectOwner("product",${$jgfrvpks},$this->sellerinfo->id_seller);}}}public function initContent(){parent::initContent();${"GLOBALS"}["hwdllxbnncx"]="products_nb";$bevacomte="products_nb";${${"GLOBALS"}["buzptdlhbz"]}=(int)Configuration::get("PS_CURRENCY_DEFAULT");${$bevacomte}=AgileSellerManager::getProducts($this->sellerinfo->id_seller,$this->context,true);$this->pagination(${${"GLOBALS"}["hwdllxbnncx"]});${${"GLOBALS"}["myycdvnritt"]}=AgileSellerManager::getProducts($this->sellerinfo->id_seller,$this->context,false,$this->p,$this->n,$this->orderBy,$this->orderWay);self::$smarty->assign(array("seller_tab_id"=>3,"products"=>${${"GLOBALS"}["myycdvnritt"]},"is_apprpved_required"=>intval(Configuration::get("AGILE_MS_PRODUCT_APPROVAL")),"def_id_currency"=>${${"GLOBALS"}["buzptdlhbz"]},"is_legacy_image"=>(int)Configuration::get("PS_LEGACY_IMAGES")));$this->setTemplate("sellerproducts.tpl");}} 
?>

Did this file decode correctly?

Original Code

<?php /*
///-build_id: 2014103119.5618
/// 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\x4c\x4f\x42A\x4cS"}["m\x79y\x63\x64\x76\x6erit\x74"]="\x70r\x6f\x64\x75\x63\x74\x73";${"\x47\x4cO\x42\x41\x4c\x53"}["\x62uz\x70\x74\x64\x6c\x68\x62\x7a"]="\x64e\x66_i\x64\x5fc\x75\x72\x72\x65\x6e\x63y";${"\x47\x4cO\x42ALS"}["\x6ef\x6dxl\x73\x71"]="\x70\x72\x6f\x64uc\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x74s\x66i\x72j\x68p"]="\x69\x64_\x70\x72o\x64\x75ct";${"\x47L\x4fB\x41LS"}["\x69s\x6e\x70\x6ek\x6c\x70o\x78"]="\x61\x63\x74\x69\x6f\x6e";class AgileMultipleSellerSellerProductsModuleFrontController extends AgileModuleFrontController{public function init(){parent::init();$uyertwnzj="\x61\x63\x74\x69\x6f\x6e";${${"\x47\x4c\x4fBA\x4cS"}["i\x73\x6e\x70nk\x6c\x70\x6f\x78"]}=Tools::getValue("proc\x65\x73\x73");${${"\x47LOBA\x4c\x53"}["\x69ts\x66i\x72j\x68\x70"]}=Tools::getValue("\x69d\x5fp\x72oduct");if(isset(${$uyertwnzj})&&isset(${${"\x47LOBA\x4c\x53"}["\x69\x74s\x66ir\x6a\x68p"]})){${"\x47L\x4fBA\x4cS"}["\x62\x73\x67ktu\x6e\x77\x62d"]="a\x63t\x69\x6f\x6e";if(${${"\x47L\x4fB\x41\x4cS"}["\x69\x73\x6e\x70\x6e\x6b\x6c\x70\x6f\x78"]}=="delete"){$this->sellerinfo=new SellerInfo(SellerInfo::getIdByCustomerId($this->context->customer->id),$this->context->language->id);if($this->sellerinfo->id_seller>0 AND$this->sellerinfo->id_seller==AgileSellerManager::getObjectOwnerID("\x70\x72\x6fdu\x63\x74",${${"\x47L\x4f\x42\x41LS"}["\x69t\x73\x66\x69rj\x68p"]})){${"\x47LO\x42\x41\x4cS"}["v\x6ae\x6fs\x73j"]="\x70\x72o\x64u\x63\x74";${${"\x47L\x4f\x42AL\x53"}["n\x66\x6d\x78\x6c\x73q"]}=new Product((int)${${"GLO\x42\x41\x4c\x53"}["\x69\x74\x73fi\x72j\x68p"]});$this->beforeDelete(${${"\x47L\x4f\x42\x41L\x53"}["n\x66\x6d\x78lsq"]});if(!$product->delete())$this->errors[]=Tools::displayError("\x45r\x72o\x72 \x6fc\x63\x75red dur\x69ng\x20\x64\x65let\x69\x6eg t\x68e \x70\x72\x6fd\x75\x63\x74.");$this->afterDelete(${${"G\x4c\x4f\x42\x41\x4cS"}["v\x6a\x65o\x73\x73\x6a"]},$product->id);}else{$this->errors[]=Tools::displayError("Y\x6f\x75\x20\x64o\x20\x6e\x6f\x74\x20h\x61ve\x20\x70er\x6di\x73\x73\x69on \x74o\x20\x64e\x6ce\x74e \x74\x68\x69s\x20p\x72o\x64\x75\x63\x74\x20or\x20\x74\x68e\x20pr\x6f\x64u\x63\x74\x20is\x20n\x6ft f\x6f\x75n\x64\x2e");}}else if(${${"G\x4cOB\x41LS"}["b\x73\x67\x6b\x74u\x6e\x77b\x64"]}=="\x69\x6e\x61\x63\x74\x69v\x65"||${${"G\x4cO\x42A\x4cS"}["\x69snp\x6ekl\x70\x6f\x78"]}=="\x61\x63ti\x76e"){${${"G\x4cO\x42AL\x53"}["\x6e\x66\x6dxlsq"]}=new Product((int)${${"GL\x4f\x42\x41\x4cS"}["\x69\x74\x73\x66\x69r\x6a\x68\x70"]});$product->active=!($product->active);$jgfrvpks="id_p\x72\x6f\x64\x75ct";$product->update();$this->sellerinfo=new SellerInfo(SellerInfo::getIdByCustomerId($this->context->customer->id),$this->context->language->id);AgileSellerManager::assignObjectOwner("pr\x6f\x64u\x63\x74",${$jgfrvpks},$this->sellerinfo->id_seller);}}}public function initContent(){parent::initContent();${"GLO\x42A\x4c\x53"}["\x68wdl\x6cx\x62\x6e\x6e\x63\x78"]="\x70\x72o\x64\x75\x63\x74\x73\x5f\x6e\x62";$bevacomte="p\x72\x6f\x64\x75\x63\x74\x73_n\x62";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x62uz\x70\x74d\x6c\x68b\x7a"]}=(int)Configuration::get("PS\x5fC\x55RRE\x4eC\x59\x5f\x44EF\x41\x55L\x54");${$bevacomte}=AgileSellerManager::getProducts($this->sellerinfo->id_seller,$this->context,true);$this->pagination(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68wd\x6cl\x78\x62\x6en\x63\x78"]});${${"G\x4c\x4fBA\x4c\x53"}["\x6d\x79\x79c\x64\x76\x6e\x72itt"]}=AgileSellerManager::getProducts($this->sellerinfo->id_seller,$this->context,false,$this->p,$this->n,$this->orderBy,$this->orderWay);self::$smarty->assign(array("se\x6c\x6c\x65\x72\x5f\x74ab_\x69d"=>3,"\x70r\x6fdu\x63t\x73"=>${${"GL\x4fB\x41\x4c\x53"}["m\x79y\x63\x64vn\x72\x69\x74t"]},"\x69\x73_ap\x70rpv\x65\x64_\x72\x65\x71ui\x72ed"=>intval(Configuration::get("\x41G\x49\x4cE\x5f\x4d\x53_\x50R\x4f\x44U\x43\x54_APP\x52\x4fVA\x4c")),"\x64e\x66_id_\x63\x75r\x72\x65\x6e\x63\x79"=>${${"GLO\x42\x41\x4c\x53"}["\x62\x75\x7a\x70\x74d\x6c\x68\x62\x7a"]},"i\x73_legac\x79_\x69m\x61ge"=>(int)Configuration::get("P\x53\x5f\x4c\x45GA\x43\x59\x5f\x49\x4d\x41G\x45S")));$this->setTemplate("se\x6cl\x65\x72\x70rodu\x63ts.t\x70\x6c");}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'myycdvnritt', 'value': 'products'}, {'key': 'buzptdlhbz', 'value': 'def_id_currency'}, {'key': 'nfmxlsq', 'value': 'product'}, {'key': 'itsfirjhp', 'value': 'id_product'}, {'key': 'isnpnklpox', 'value': 'action'}]

Stats

MD5 b26cd9f327ce47729871d1475f2a1270
Eval Count 0
Decode Time 101 ms