Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

/** * @author Vladimir Popov * @copyright Copyright (c) 2014 Vladimir Popov */ ..

Decoded Output download

<?  /** 
 * @author 		Vladimir Popov 
 * @copyright  	Copyright (c) 2014 Vladimir Popov 
 */ 
class VladimirPopov_WebForms_Block_Adminhtml_Webforms extends Mage_Adminhtml_Block_Widget_Grid_Container { 
    public function __construct() { 
        $this->_controller = 'adminhtml_webforms'; 
        $this->_blockGroup = 'webforms'; 
        $this->_headerText = Mage::helper('webforms')->__('Manage Forms'); 
        $this->_addButtonLabel = Mage::helper('webforms')->__('Add New Form'); 
        if (VladimirPopov_WebForms_Block_Webforms::VERSION != '2.4.0.2') return; 
        parent::__construct(); 
        $forms = Mage::getModel('webforms/webforms')->getCollection()->count(); 
        if ($forms >= 10) { 
            $this->_removeButton('add'); 
            $this->_addButton('add', array('label' => Mage::helper('webforms')->__('Add New Form'), 'onclick' => 'alert(\'' . Mage::helper('webforms')->__('You have reached Community Edition limit! 
Community Edition allows you to manage only 10 forms. 
Please Contact [email protected].') . '\')',)); 
        } 
    } 
} ?>

Did this file decode correctly?

Original Code

/**
 * @author 		Vladimir Popov
 * @copyright  	Copyright (c) 2014 Vladimir Popov
 */
class VladimirPopov_WebForms_Block_Adminhtml_Webforms extends Mage_Adminhtml_Block_Widget_Grid_Container {
    public function __construct() {
        $this->_controller = 'adminhtml_webforms';
        $this->_blockGroup = 'webforms';
        $this->_headerText = Mage::helper('webforms')->__('Manage Forms');
        $this->_addButtonLabel = Mage::helper('webforms')->__('Add New Form');
        if (VladimirPopov_WebForms_Block_Webforms::VERSION != '2.4.0.2') return;
        parent::__construct();
        $forms = Mage::getModel('webforms/webforms')->getCollection()->count();
        if ($forms >= 10) {
            $this->_removeButton('add');
            $this->_addButton('add', array('label' => Mage::helper('webforms')->__('Add New Form'), 'onclick' => 'alert(\'' . Mage::helper('webforms')->__('You have reached Community Edition limit!
Community Edition allows you to manage only 10 forms.
Please Contact [email protected].') . '\')',));
        }
    }
}

Function Calls

None

Variables

None

Stats

MD5 68d4bd77c82a94189fa7368c47398d01
Eval Count 0
Decode Time 108 ms