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 global $CNlax49, $CNlax4a, $CNlax4b, $CNlax4c, $CNlax4d, $CNlax4e, $CNlax4f, ..

Decoded Output download

<?php global $CNlax49, 
$CNlax4a, 
$CNlax4b, 
$CNlax4c, 
$CNlax4d, 
$CNlax4e, 
$CNlax4f, 
$CNlax50, 
$CNlax51, 
$CNlax52, 
$CNlax53, 
$CNlax54, 
$CNlax55; 
$CNlax49 = "abs"; 
$CNlax4a = "class_exists"; 
$CNlax4b = "date"; 
$CNlax4c = "error_reporting"; 
$CNlax4d = "explode"; 
$CNlax4e = "glob"; 
$CNlax4f = "is_file"; 
$CNlax50 = "md5"; 
$CNlax51 = "str_replace"; 
$CNlax52 = "strlen"; 
$CNlax53 = "substr"; 
$CNlax54 = "trim"; 
$CNlax55 = "time"; 
$CNlax4c(0); 
include "CreditNotes4You.php"; 
define( 
    "FOR_MODULE", 
    "CreditNotes4You" 
    ); 
define("MODULE_INITIALS", "CN"); 
class CreditNotes4You_License_Action extends Vtiger_Action_Controller 
{ 
    private $CNlax0b = "CreditNotes4You"; 
    private $CNlax0c = "CN"; 
    public function __construct() 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        parent::__construct(); 
        $this->exposeMethod( 
            "deactivateLicense" 
            ); 
        $this->exposeMethod("editLicense"); 
    } 
    public function checkPermission(Vtiger_Request $CNlax0d) 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        return; 
    } 
    public function process(Vtiger_Request $CNlax0d) 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        $CNlax0e = $CNlax0d->get("mode"); 
        if (!empty($CNlax0e)) { 
            $this->invokeExposedMethod($CNlax0e, $CNlax0d); 
            return; 
        } 
    } 
    public function editLicense(Vtiger_Request $CNlax0d) 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        require_once "libraries/nusoap/nusoap.php"; 
        $CNlax0f = "soap_log"; 
        $CNlax10 = $CNlax0d->getModule(); 
        global $$CNlax0f; 
        if (!$$CNlax0f) { 
            $$CNlax0f = LoggerManager::getLogger("SOAP"); 
        } 
        $CNlax11 = new CreditNotes4You_Module_Model(); 
        $CNlax12 = "type"; 
        $CNlax13 = $CNlax0d->get($CNlax12); 
        $CNlax14 = "licensekey"; 
        $CNlax15 = $CNlax0d->get($CNlax14); 
        $CNlax16 = "basic"; 
        $CNlax17 = $this->x0d($CNlax16); 
        $CNlax18 = 
        "http://www.its4you.sk/ITS4YouWS/ITS4YouWS_3.php"; 
        if ($CNlax4a("soapclient2")) { 
            $CNlax19 = new soapclient2($CNlax18, false); 
            $CNlax19->soap_defencoding = "UTF-8"; 
            $CNlax1a = $CNlax19->getError(); 
            if ($CNlax1a == false) { 
                $CNlax1b = ""; 
                if ($CNlax15 != "") { 
                    $CNlax1b = $this->x0c( 
                        $CNlax13, 
                        $CNlax15, 
                        $CNlax19, 
                        $CNlax16, 
                        $CNlax17 
                        ); 
                } 
                if ($CNlax1b == "validated") { 
                    $this->x0b($CNlax16, $CNlax15, $CNlax17); 
                    if ($CNlax13 == "activate") { 
                        $CNlax11->actualizeLinks(); 
                    } 
                    $CNlax1c = [ 
                        "success" => true, 
                        "message" => vtranslate( 
                            "REACTIVATE_SUCCESS", 
                            $CNlax10 
                            ), 
                        "licensekey" => $CNlax15, 
                    ]; 
                } else { 
                    if ( 
                        $CNlax54($CNlax1b) != "" && 
                        $CNlax54($CNlax1b) != 
                        "invalidated" && 
                        $CNlax54($CNlax1b) != 
                        "validate_err" 
                        ) { 
                            $CNlax1c = [ 
                                "success" => false, 
                                "message" => $CNlax1b, 
                            ]; 
                        } else { 
                            $CNlax1c = [ 
                                "success" => false, 
                                "message" => vtranslate( 
                                    "LBL_INVALID_KEY", 
                                    $CNlax10 
                                    ), 
                            ]; 
                        } 
                } 
            } else { 
                $CNlax1c = [ 
                    "success" => false, 
                    "message" => vtranslate( 
                        "LBL_VALIDATION_ERROR", 
                        $CNlax10 
                        ), 
                ]; 
            } 
        } else { 
            $CNlax1c = [ 
                "success" => false, 
                "message" => vtranslate( 
                    "LBL_CLASS_SOAPCLIENT2_DOES_NOT_EXIST", 
                    $CNlax10 
                    ), 
            ]; 
        } 
        $CNlax1d = new Vtiger_Response(); 
        try { 
            $CNlax1d->setResult($CNlax1c); 
        } catch (Exception $CNlax1e) { 
            $CNlax1d->setError($CNlax1e->getCode(), $CNlax1e->getMessage()); 
        } 
        $CNlax1d->emit(); 
    } 
    private function x0b($CNlax16, $CNlax15, $CNlax17) 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        $CNlax1f = vglobal("adb"); 
        $CNlax20 = 
        "vtiger_current_version"; 
        $CNlax21 = vglobal($CNlax20); 
        $CNlax22 = $this->x0e($CNlax53($CNlax16, 0, 4), $CNlax15); 
        $CNlax1f->pquery( 
            "DELETE FROM  vtiger_creditnotes4you_license", 
            [] 
            ); 
        $CNlax1f->pquery( 
            "INSERT INTO  vtiger_creditnotes4you_license VALUES(?,?,?)", 
            [$CNlax16, $CNlax15, $CNlax22] 
            ); 
        $CNlax1f->pquery( 
            "DELETE FROM vtiger_creditnotes4you_version WHERE version=?", 
            [$CNlax21] 
            ); 
        $CNlax1f->pquery( 
            "INSERT INTO vtiger_creditnotes4you_version VALUES (?,?)", 
            [$CNlax21, $CNlax17] 
            ); 
    } 
    public function deactivateLicense(Vtiger_Request $CNlax0d) 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        $CNlax1f = PearDatabase::getInstance(); 
        $CNlax23 = ""; 
        $CNlax24 = Users_Record_Model::getCurrentUserModel(); 
        $CNlax10 = $CNlax0d->getModule(); 
        if ($CNlax24->isAdminUser()) { 
            require_once "libraries/nusoap/nusoap.php"; 
            $CNlax0f = "soap_log"; 
            global $$CNlax0f; 
            if (!$$CNlax0f) { 
                $$CNlax0f = LoggerManager::getLogger("SOAP"); 
            } 
            $CNlax11 = new CreditNotes4You_Module_Model(); 
            $CNlax20 = 
            "vtiger_current_version"; 
            $CNlax21 = vglobal($CNlax20); 
            $CNlax25 = "site_URL"; 
            $CNlax26 = vglobal($CNlax25); 
            $CNlax27 = 
            "its4you_validated_ok"; 
            $CNlax18 = 
            "http://www.its4you.sk/ITS4YouWS/ITS4YouWS_3.php"; 
            if ($CNlax4a("soapclient2")) { 
                $CNlax19 = new soapclient2($CNlax18, false); 
                $CNlax19->soap_defencoding = "UTF-8"; 
                $CNlax1a = $CNlax19->getError(); 
                $CNlax16 = $CNlax0d->get("type"); 
                if ($CNlax1a == false) { 
                    $CNlax1b = "validate_err"; 
                    $CNlax28 = $CNlax11->GetVersionType(); 
                    $CNlax29 = $CNlax11->GetLicenseKey(); 
                    $CNlax17 = $this->x0d("basic"); 
                    if ( 
                        $CNlax28 == "professional" or 
                        $CNlax28 == "basic" 
                        ) { 
                            $CNlax15 = $CNlax0d->get("key"); 
                            if (isset($CNlax16) && $CNlax16 == "control") { 
                                if ($CNlax15 != "") { 
                                    $CNlax1b = $this->x0c( 
                                        "deactivate", 
                                        $CNlax15, 
                                        $CNlax19, 
                                        $CNlax28, 
                                        $CNlax17, 
                                        "control" 
                                        ); 
                                } 
                                if ($CNlax1b != "validated") { 
                                    $CNlax1c = [ 
                                        "success" => false, 
                                        "deactivate" => vtranslate( 
                                            "LBL_INVALID_KEY", 
                                            $CNlax10 
                                            ), 
                                    ]; 
                                } else { 
                                    $CNlax1c = [ 
                                        "success" => true, 
                                        "deactivate" => 
                                        "ok", 
                                    ]; 
                                } 
                            } else { 
                                if ($CNlax15 != "") { 
                                    $CNlax2a = $this->x0c( 
                                        "deactivate", 
                                        $CNlax15, 
                                        $CNlax19, 
                                        $CNlax28, 
                                        $CNlax17, 
                                        "deactivate" 
                                        ); 
                                } 
                                if ($CNlax2a == "validated") { 
                                    $CNlax1f->pquery( 
                                        "DELETE FROM vtiger_creditnotes4you_license", 
                                        [] 
                                        ); 
                                    $CNlax1f->pquery( 
                                        "INSERT INTO vtiger_creditnotes4you_license VALUES(?,?,?)", 
                                        ["deactivate", "", ""] 
                                        ); 
                                    $CNlax1f->pquery( 
                                        "UPDATE vtiger_creditnotes4you_version SET license=? WHERE version=?", 
                                        [$CNlax2a, $CNlax21] 
                                        ); 
                                    $CNlax11->removeLinks(); 
                                    $CNlax1c = [ 
                                        "success" => true, 
                                        "deactivate" => vtranslate( 
                                            "LBL_DEACTIVATE_SUCCESS", 
                                            $CNlax10 
                                            ), 
                                    ]; 
                                } else { 
                                    if ( 
                                        $CNlax54($CNlax1b) != "" && 
                                        $CNlax54($CNlax2a) != 
                                        "invalidated" && 
                                        $CNlax54($CNlax2a) != 
                                        "validate_err" 
                                        ) { 
                                            $CNlax1c = [ 
                                                "success" => false, 
                                                "message" => $CNlax2a, 
                                            ]; 
                                        } else { 
                                            $CNlax1c = [ 
                                                "success" => false, 
                                                "message" => vtranslate( 
                                                    "LBL_INVALID_KEY", 
                                                    $CNlax10 
                                                    ), 
                                            ]; 
                                        } 
                                } 
                            } 
                        } else { 
                            $CNlax1c = [ 
                                "success" => false, 
                                "deactivate" => vtranslate( 
                                    "LBL_DEACTIVATE_ERROR", 
                                    $CNlax10 
                                    ), 
                            ]; 
                        } 
                } else { 
                    $CNlax1c = [ 
                        "success" => false, 
                        "deactivate" => vtranslate( 
                            "LBL_DEACTIVATE_ERROR", 
                            $CNlax10 
                            ), 
                    ]; 
                } 
            } else { 
                $CNlax23 = vtranslate( 
                    "LBL_CLASS_SOAPCLIENT2_DOES_NOT_EXIST", 
                    $CNlax10 
                    ); 
            } 
        } else { 
            $CNlax23 = vtranslate( 
                "LBL_PERMISSION_DENIED", 
                "Vtiger" 
                ); 
        } 
        $CNlax1d = new Vtiger_Response(); 
        try { 
            $CNlax1d->setResult($CNlax1c); 
        } catch (Exception $CNlax1e) { 
            $CNlax1d->setError($CNlax1e->getCode(), $CNlax1e->getMessage()); 
        } 
        $CNlax1d->emit(); 
    } 
    public function checkLicense() 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        $CNlax1f = PearDatabase::getInstance(); 
        $CNlax1c = $CNlax1f->pquery( 
            "SELECT version_type, license_key, license_info FROM vtiger_creditnotes4you_license", 
            [] 
            ); 
        $CNlax2b = $CNlax1f->query_result( 
            $CNlax1c, 
            0, 
            "license_info" 
            ); 
        $CNlax2c = $CNlax1f->query_result( 
            $CNlax1c, 
            0, 
            "license_key" 
            ); 
        $CNlax28 = $CNlax1f->query_result( 
            $CNlax1c, 
            0, 
            "version_type" 
            ); 
        $CNlax16 = $CNlax53($CNlax28, 0, 4); 
        $CNlax2d = $CNlax4d(";", $CNlax2b); 
        if (!$CNlax1c) { 
            return 4; 
        } 
        $CNlax2e = 0; 
        if (!$this->checkURL()) { 
            $CNlax2e += 1; 
        } 
        if ($CNlax2d[0] != $this->x0f($CNlax16, $CNlax2c)) { 
            $CNlax2e += 1; 
        } 
        if ($CNlax2d[1] != $this->x11($CNlax16, $CNlax2c)) { 
            $CNlax2e += 1; 
        } 
        return MODULE_INITIALS . $CNlax2e . $CNlax53($CNlax28, 0, 4); 
    } 
    public function checkURL() 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        $CNlax1f = PearDatabase::getInstance(); 
        $CNlax2f = "vtiger_current_version"; 
        $CNlax21 = vglobal($CNlax2f); 
        $CNlax1c = $CNlax1f->pquery( 
            "SELECT license FROM vtiger_creditnotes4you_version WHERE version=", 
            [$CNlax21] 
            ); 
        $CNlax30 = $CNlax1f->query_result( 
            $CNlax1c, 
            0, 
            "license" 
            ); 
        $CNlax1c = $CNlax1f->pquery( 
            "SELECT version_type FROM vtiger_creditnotes4you_license", 
            [] 
            ); 
        $CNlax28 = $CNlax1f->query_result( 
            $CNlax1c, 
            0, 
            "version_type" 
            ); 
        $CNlax31 = $this->x0d($CNlax28); 
        if (!$CNlax1c) { 
            return false; 
        } 
        if ($CNlax30 != $CNlax31) { 
            return false; 
        } 
        return true; 
    } 
    private function x0c( 
        $CNlax32, 
        $CNlax15, 
        $CNlax19, 
        $CNlax16, 
        $CNlax17, 
        $CNlax0e = "" 
        ) { 
            global $CNlax49, 
            $CNlax4a, 
            $CNlax4b, 
            $CNlax4c, 
            $CNlax4d, 
            $CNlax4e, 
            $CNlax4f, 
            $CNlax50, 
            $CNlax51, 
            $CNlax52, 
            $CNlax53, 
            $CNlax54, 
            $CNlax55; 
            $CNlax33 = $CNlax51( 
                " ", 
                "_", 
                CreditNotes4You_Version_Helper::getVersion() 
                ); 
            $CNlax20 = "vtiger_current_version"; 
            $CNlax21 = vglobal($CNlax20); 
            $CNlax34 = $CNlax55(); 
            if ($CNlax32 == "deactivate") { 
                $CNlax35 = [ 
                    "key" => $CNlax15, 
                    "type" => $CNlax16, 
                    "vtiger" => $CNlax21, 
                    "module" => FOR_MODULE, 
                    "mode" => $CNlax33, 
                    "url" => $CNlax17, 
                    "vmode" => $CNlax0e, 
                    "time" => $CNlax34, 
                ]; 
            } else { 
                $CNlax35 = [ 
                    "key" => $CNlax15, 
                    "type" => $CNlax16, 
                    "vtiger" => $CNlax21, 
                    "module" => FOR_MODULE, 
                    "mode" => $CNlax33, 
                    "url" => $CNlax17, 
                    "time" => $CNlax34, 
                ]; 
            } 
            $CNlax1b = $CNlax19->call($CNlax32 . "_license", $CNlax35); 
            if (!$CNlax1b) { 
                $CNlax1b = $CNlax19->getError(); 
            } else { 
                if ( 
                    $CNlax1b != "invalidated" && 
                    $CNlax1b != "validate_err" && 
                    $CNlax1b != "" 
                    ) { 
                        $CNlax36 = $CNlax4d("_", $CNlax1b); 
                        $CNlax1b = "invalidated"; 
                        $CNlax37 = $CNlax4b("Yy6y", $CNlax34); 
                        $CNlax38 = $CNlax52($CNlax17); 
                        $CNlax39 = $CNlax52($CNlax16); 
                        $CNlax3a = $CNlax37; 
                        $CNlax3a -= $CNlax34; 
                        $CNlax3a -= $CNlax39 + $CNlax38; 
                        if ($CNlax36[1] == $CNlax49($CNlax3a)) { 
                            $CNlax1b = $CNlax36[0]; 
                        } 
                    } 
            } 
            return $CNlax1b; 
    } 
    private function x0d($CNlax16) 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        $CNlax3b = "t6"; 
        return $CNlax50( 
            MODULE_INITIALS . $CNlax50($CNlax16 . "/" . $this->x10() . $CNlax3b) 
            ); 
    } 
    private function x0e($CNlax16, $CNlax15) 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        return $this->x0f($CNlax16, $CNlax15) . 
        ";" . 
        $this->x11($CNlax16, $CNlax15); 
    } 
    private function x0f($CNlax16, $CNlax15) 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        $CNlax3c = getTabid(FOR_MODULE); 
        $CNlax3d = Vtiger_CompanyDetails_Model::getInstanceById(); 
        $CNlax3e = "comp:"; 
        $CNlax3f = "organizationname"; 
        $CNlax40 = $CNlax3d->get($CNlax3f); 
        return $CNlax50( 
            MODULE_INITIALS . 
            $CNlax16 . 
            $CNlax3c . 
            $CNlax3e . 
            $CNlax40 . 
            $CNlax15 
            ); 
    } 
    private function x10() 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        $CNlax25 = "site_URL"; 
        $CNlax41 = "web:"; 
        return $CNlax50(MODULE_INITIALS . $CNlax41 . vglobal($CNlax25)); 
    } 
    private function x11($CNlax16, $CNlax15) 
    { 
        global $CNlax49, 
        $CNlax4a, 
        $CNlax4b, 
        $CNlax4c, 
        $CNlax4d, 
        $CNlax4e, 
        $CNlax4f, 
        $CNlax50, 
        $CNlax51, 
        $CNlax52, 
        $CNlax53, 
        $CNlax54, 
        $CNlax55; 
        $CNlax3c = getTabid(FOR_MODULE); 
        $CNlax42 = 
        "user_privileges/user_privileges_"; 
        $CNlax43 = ""; 
        foreach ($CNlax4e($CNlax42 . "*.php") as $CNlax44) { 
            $CNlax45 = $CNlax53($CNlax44, 32, -4); 
            if ($CNlax4f($CNlax42 . $CNlax45 . ".php")) { 
                $CNlax46 = new Users(); 
                $CNlax46->retrieveCurrentUserInfoFromFile($CNlax45); 
                if ( 
                    isset( 
                        $CNlax46->column_fields["accesskey"] 
                        ) && 
                    $CNlax46->column_fields["accesskey"] != 
                    "" 
                    ) { 
                        $CNlax43 = $CNlax46->column_fields["accesskey"]; 
                        break; 
                    } 
            } 
        } 
        if ($CNlax43 == "") { 
            $CNlax47 = Users::getActiveAdminUser(); 
            $CNlax43 = $CNlax47->column_fields["user_name"]; 
        } 
        $CNlax48 = "acc:"; 
        return $CNlax50( 
            MODULE_INITIALS . 
            $CNlax16 . 
            $CNlax3c . 
            $CNlax48 . 
            $CNlax43 . 
            $CNlax15 
            ); 
    } 
} ?> 

Did this file decode correctly?

Original Code

<?php global $CNlax49,
$CNlax4a,
$CNlax4b,
$CNlax4c,
$CNlax4d,
$CNlax4e,
$CNlax4f,
$CNlax50,
$CNlax51,
$CNlax52,
$CNlax53,
$CNlax54,
$CNlax55;
$CNlax49 = "\141\142\163";
$CNlax4a = "c\154as\163_\145\170\x69\163ts";
$CNlax4b = "\x64\x61\164e";
$CNlax4c = "\145\162\x72\x6fr\137repo\162\164\151n\147";
$CNlax4d = "\x65\170\160\154\x6f\x64e";
$CNlax4e = "\x67\x6c\x6f\142";
$CNlax4f = "\151s_\146i\154\145";
$CNlax50 = "\x6d\x645";
$CNlax51 = "s\164\x72_r\x65pl\x61\x63e";
$CNlax52 = "s\164\x72\154\x65\x6e";
$CNlax53 = "\163u\x62st\162";
$CNlax54 = "\x74r\151m";
$CNlax55 = "\x74\x69\155e";
$CNlax4c(0);
include "CreditNotes4You.php";
define(
    "\x46\117R\x5f\115\117\104\x55LE",
    "\103\162e\x64it\116\157t\x65s4Y\157\165"
    );
define("\115\x4fD\x55\x4c\x45\137I\116\x49\124IA\x4c\123", "\103\x4e");
class CreditNotes4You_License_Action extends Vtiger_Action_Controller
{
    private $CNlax0b = "\103\162\x65\144\x69\164\x4e\x6f\164e\x73\x34Y\x6f\x75";
    private $CNlax0c = "\103N";
    public function __construct()
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        parent::__construct();
        $this->exposeMethod(
            "\x64\145a\143\x74\x69v\141\164\145\x4c\x69c\145\x6e\163\x65"
            );
        $this->exposeMethod("\145\x64\151\164\114\x69c\x65\x6e\x73\x65");
    }
    public function checkPermission(Vtiger_Request $CNlax0d)
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        return;
    }
    public function process(Vtiger_Request $CNlax0d)
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        $CNlax0e = $CNlax0d->get("\x6d\157\x64e");
        if (!empty($CNlax0e)) {
            $this->invokeExposedMethod($CNlax0e, $CNlax0d);
            return;
        }
    }
    public function editLicense(Vtiger_Request $CNlax0d)
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        require_once "\x6c\151\142\x72arie\x73/\x6e\x75\x73oa\x70/n\x75\163\x6f\141\160\x2e\160\x68p";
        $CNlax0f = "\x73\x6fa\160_\x6c\157g";
        $CNlax10 = $CNlax0d->getModule();
        global $$CNlax0f;
        if (!$$CNlax0f) {
            $$CNlax0f = LoggerManager::getLogger("S\117A\120");
        }
        $CNlax11 = new CreditNotes4You_Module_Model();
        $CNlax12 = "\x74\x79\160\x65";
        $CNlax13 = $CNlax0d->get($CNlax12);
        $CNlax14 = "\x6ci\143\145\x6es\x65\153e\171";
        $CNlax15 = $CNlax0d->get($CNlax14);
        $CNlax16 = "b\x61s\151c";
        $CNlax17 = $this->x0d($CNlax16);
        $CNlax18 =
        "\150\164\164\160\x3a\x2f/\x77\x77w\056\151\164\x734yo\x75\x2e\x73\153\057I\x54S4\x59o\165\127S/\111\x54\123\064\131\x6f\x75\x57\x53\x5f\x33\x2e\x70\x68p";
        if ($CNlax4a("\163\x6f\141\160c\x6ci\x65\x6e\164\062")) {
            $CNlax19 = new soapclient2($CNlax18, false);
            $CNlax19->soap_defencoding = "\125\x54\x46\x2d8";
            $CNlax1a = $CNlax19->getError();
            if ($CNlax1a == false) {
                $CNlax1b = "";
                if ($CNlax15 != "") {
                    $CNlax1b = $this->x0c(
                        $CNlax13,
                        $CNlax15,
                        $CNlax19,
                        $CNlax16,
                        $CNlax17
                        );
                }
                if ($CNlax1b == "v\141l\x69d\x61t\145d") {
                    $this->x0b($CNlax16, $CNlax15, $CNlax17);
                    if ($CNlax13 == "\x61\x63\x74\151v\141\x74e") {
                        $CNlax11->actualizeLinks();
                    }
                    $CNlax1c = [
                        "\163\x75\x63c\145\163\163" => true,
                        "m\x65\163s\x61\x67e" => vtranslate(
                            "\x52EA\103T\x49V\x41T\x45\137\123\125C\103ES\123",
                            $CNlax10
                            ),
                        "\x6c\151\143\145\x6e\x73\145\x6be\171" => $CNlax15,
                    ];
                } else {
                    if (
                        $CNlax54($CNlax1b) != "" &&
                        $CNlax54($CNlax1b) !=
                        "\x69\156\166\x61\x6c\151da\164e\x64" &&
                        $CNlax54($CNlax1b) !=
                        "\x76a\154\x69\x64at\145\137er\162"
                        ) {
                            $CNlax1c = [
                                "\x73u\x63\143\x65\x73s" => false,
                                "\x6d\145s\163a\x67\145" => $CNlax1b,
                            ];
                        } else {
                            $CNlax1c = [
                                "\x73\165\x63\x63\145\x73\163" => false,
                                "\155\x65\x73\163\141\147\x65" => vtranslate(
                                    "\x4c\x42\114_I\x4e\x56\101L\x49D\137K\x45\x59",
                                    $CNlax10
                                    ),
                            ];
                        }
                }
            } else {
                $CNlax1c = [
                    "\163\165\x63\143es\163" => false,
                    "\x6d\145s\x73\x61\147\x65" => vtranslate(
                        "LB\114\x5f\x56AL\x49\104AT\x49ON\x5f\x45\x52\122\x4f\122",
                        $CNlax10
                        ),
                ];
            }
        } else {
            $CNlax1c = [
                "su\x63\143es\163" => false,
                "\x6d\145s\x73\x61g\x65" => vtranslate(
                    "L\x42\114_C\114\x41SS_SO\101\x50\x43\114I\105\x4e\x542\x5f\104O\x45S_\116OT\137\x45X\111\x53\124",
                    $CNlax10
                    ),
            ];
        }
        $CNlax1d = new Vtiger_Response();
        try {
            $CNlax1d->setResult($CNlax1c);
        } catch (Exception $CNlax1e) {
            $CNlax1d->setError($CNlax1e->getCode(), $CNlax1e->getMessage());
        }
        $CNlax1d->emit();
    }
    private function x0b($CNlax16, $CNlax15, $CNlax17)
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        $CNlax1f = vglobal("\141\x64\142");
        $CNlax20 =
        "\x76t\151\x67\145\x72_\x63u\162\162e\x6e\164_\166\145r\x73\x69\x6fn";
        $CNlax21 = vglobal($CNlax20);
        $CNlax22 = $this->x0e($CNlax53($CNlax16, 0, 4), $CNlax15);
        $CNlax1f->pquery(
            "D\x45\x4c\105T\x45\x20F\x52\117M\x20\040\x76t\x69\147er\x5f\143\162\x65\x64\151t\x6e\157t\x65\163\x34y\x6f\165\137li\143e\156\x73e",
            []
            );
        $CNlax1f->pquery(
            "INS\x45RT\x20\111\116\124O \040\166\x74i\147\x65r_c\x72\145\x64\x69t\156o\164es4\x79ou\137lic\x65n\163\145\x20\x56\x41\x4c\125\105\x53\x28\077,\x3f,\077\x29",
            [$CNlax16, $CNlax15, $CNlax22]
            );
        $CNlax1f->pquery(
            "\104\x45\114\x45\x54E\x20FR\x4f\115 \166\x74\151\x67\145\x72\x5f\143r\145\x64\x69\164\x6e\x6f\164\145s4y\x6fu_v\x65\x72\x73\151\x6f\156\x20\127\110\105R\105\x20v\x65\162s\x69\157n\x3d\077",
            [$CNlax21]
            );
        $CNlax1f->pquery(
            "\111\116S\x45\122\x54\x20\x49\x4eT\117\x20vt\x69\x67\145\162\137\143re\x64\x69\164\156\x6fte\x73\x34\171\157\165\x5f\x76\x65rs\x69\x6f\x6e \126\x41\x4c\125\105\123\x20\050?\x2c?\051",
            [$CNlax21, $CNlax17]
            );
    }
    public function deactivateLicense(Vtiger_Request $CNlax0d)
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        $CNlax1f = PearDatabase::getInstance();
        $CNlax23 = "";
        $CNlax24 = Users_Record_Model::getCurrentUserModel();
        $CNlax10 = $CNlax0d->getModule();
        if ($CNlax24->isAdminUser()) {
            require_once "\154i\142\162\141\162\x69\x65s/\x6eu\163\x6f\141\160\057\x6e\x75s\157\x61\160\056\160\x68\x70";
            $CNlax0f = "\163o\x61p_l\x6fg";
            global $$CNlax0f;
            if (!$$CNlax0f) {
                $$CNlax0f = LoggerManager::getLogger("\x53O\101P");
            }
            $CNlax11 = new CreditNotes4You_Module_Model();
            $CNlax20 =
            "v\x74\151\147\x65\x72\x5fc\x75\x72\162en\x74\137\166\145\162\163\x69\x6f\156";
            $CNlax21 = vglobal($CNlax20);
            $CNlax25 = "s\x69t\x65_\125\122\114";
            $CNlax26 = vglobal($CNlax25);
            $CNlax27 =
            "\151t\163\x34\x79\157u\137v\x61\154i\x64a\x74\x65\144_ok";
            $CNlax18 =
            "\150t\x74\x70:\057\x2fww\167.\151\x74s4\x79\x6fu\056\x73\x6b\057\x49\124\123\x34\x59\x6f\165\127S\057IT\x53\x34\x59\157u\127\x53\x5f\x33\056\x70\x68\x70";
            if ($CNlax4a("\x73\157\x61p\x63\x6cie\x6et\062")) {
                $CNlax19 = new soapclient2($CNlax18, false);
                $CNlax19->soap_defencoding = "\x55\124F\x2d\x38";
                $CNlax1a = $CNlax19->getError();
                $CNlax16 = $CNlax0d->get("\x74y\x70\x65");
                if ($CNlax1a == false) {
                    $CNlax1b = "va\x6ci\144\141te\x5f\x65\x72\x72";
                    $CNlax28 = $CNlax11->GetVersionType();
                    $CNlax29 = $CNlax11->GetLicenseKey();
                    $CNlax17 = $this->x0d("b\141sic");
                    if (
                        $CNlax28 == "p\x72o\x66e\163\x73i\157\x6e\x61\154" or
                        $CNlax28 == "\x62\x61\163i\143"
                        ) {
                            $CNlax15 = $CNlax0d->get("\x6b\145\x79");
                            if (isset($CNlax16) && $CNlax16 == "con\164r\x6f\154") {
                                if ($CNlax15 != "") {
                                    $CNlax1b = $this->x0c(
                                        "\x64\145a\x63\164i\166\x61\164\145",
                                        $CNlax15,
                                        $CNlax19,
                                        $CNlax28,
                                        $CNlax17,
                                        "\143on\164\162o\x6c"
                                        );
                                }
                                if ($CNlax1b != "\166al\x69\x64\x61t\145d") {
                                    $CNlax1c = [
                                        "\x73u\x63c\145\163s" => false,
                                        "de\x61\143\x74\151\x76\141t\145" => vtranslate(
                                            "\114B\114_I\x4e\x56AL\111D_KE\131",
                                            $CNlax10
                                            ),
                                    ];
                                } else {
                                    $CNlax1c = [
                                        "s\165\x63\x63e\x73\163" => true,
                                        "\144\145a\x63\x74\x69\166\x61te" =>
                                        "\157\x6b",
                                    ];
                                }
                            } else {
                                if ($CNlax15 != "") {
                                    $CNlax2a = $this->x0c(
                                        "de\141c\x74ivate",
                                        $CNlax15,
                                        $CNlax19,
                                        $CNlax28,
                                        $CNlax17,
                                        "\x64e\141c\164iv\x61\x74\x65"
                                        );
                                }
                                if ($CNlax2a == "\166al\x69\x64\141\164\x65\144") {
                                    $CNlax1f->pquery(
                                        "D\x45L\105TE\040\x46RO\x4d\x20vtige\162\137\x63\x72edit\x6eo\x74\x65s\x34\x79\x6f\165\137lic\145\156\163e",
                                        []
                                        );
                                    $CNlax1f->pquery(
                                        "I\116\x53E\x52\x54\040I\116T\117 \x76\x74i\x67e\162_\x63\162\x65\x64it\x6eot\x65\x734\x79\x6f\x75_\154\151\x63\145\x6e\x73e\x20\x56\x41LU\105S(\077\054\077\054?\051",
                                        ["\144\145\141c\164\x69vat\145", "", ""]
                                        );
                                    $CNlax1f->pquery(
                                        "U\x50D\101TE\x20\x76t\151\147e\x72_cred\151\x74\x6e\x6f\164e\1634\171\157u\137\x76\145r\x73io\x6e \x53\105\x54\x20lic\145\x6ese\x3d?\x20\x57\x48\x45R\x45\x20ve\162s\x69\157n\075?",
                                        [$CNlax2a, $CNlax21]
                                        );
                                    $CNlax11->removeLinks();
                                    $CNlax1c = [
                                        "s\165ccess" => true,
                                        "\x64\x65\x61\143\x74\151\x76\141te" => vtranslate(
                                            "\x4c\102\114\137\x44\x45\x41CT\111VA\124E_\x53\x55\x43CES\x53",
                                            $CNlax10
                                            ),
                                    ];
                                } else {
                                    if (
                                        $CNlax54($CNlax1b) != "" &&
                                        $CNlax54($CNlax2a) !=
                                        "inv\x61\154i\144\x61\x74e\144" &&
                                        $CNlax54($CNlax2a) !=
                                        "\x76\x61l\151\x64at\145\x5fe\162\162"
                                        ) {
                                            $CNlax1c = [
                                                "\163\x75\143c\145ss" => false,
                                                "\155\145\163sag\145" => $CNlax2a,
                                            ];
                                        } else {
                                            $CNlax1c = [
                                                "\x73\x75cce\x73s" => false,
                                                "\x6de\163\163\x61\x67\x65" => vtranslate(
                                                    "\114B\x4c\x5fI\116\126\101\114\x49\104_\x4bE\131",
                                                    $CNlax10
                                                    ),
                                            ];
                                        }
                                }
                            }
                        } else {
                            $CNlax1c = [
                                "s\x75\x63\x63\x65\x73\163" => false,
                                "d\x65\x61\x63\x74\x69\166\x61\x74\x65" => vtranslate(
                                    "\x4c\102L_DE\101\x43TI\126A\x54E\x5f\x45\x52\x52\x4fR",
                                    $CNlax10
                                    ),
                            ];
                        }
                } else {
                    $CNlax1c = [
                        "\163u\143\x63\145ss" => false,
                        "\144\x65\x61\143tiv\141\164\145" => vtranslate(
                            "\114B\x4c_DE\x41\103\124I\126A\124\105_E\x52\122O\x52",
                            $CNlax10
                            ),
                    ];
                }
            } else {
                $CNlax23 = vtranslate(
                    "\x4c\x42\114_\x43\x4cAS\123\137S\117\x41\x50C\114IE\116T2\137\104\x4fES_\116\117T\137\105\130\x49S\x54",
                    $CNlax10
                    );
            }
        } else {
            $CNlax23 = vtranslate(
                "\x4c\x42\114\137\120\105\122\x4dIS\123\111\x4f\116\x5f\x44\105N\x49\x45D",
                "\x56\x74i\147\145\x72"
                );
        }
        $CNlax1d = new Vtiger_Response();
        try {
            $CNlax1d->setResult($CNlax1c);
        } catch (Exception $CNlax1e) {
            $CNlax1d->setError($CNlax1e->getCode(), $CNlax1e->getMessage());
        }
        $CNlax1d->emit();
    }
    public function checkLicense()
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        $CNlax1f = PearDatabase::getInstance();
        $CNlax1c = $CNlax1f->pquery(
            "SE\114\105\103T\x20\166\145r\x73\151\x6f\156\137type,\040\x6c\151c\x65nse_\153\x65y\x2c l\x69ce\x6ese_\x69n\x66\157\040F\122\117M\x20\166tig\145\162\137\x63\x72\x65\144\x69\164\156o\164e\1634y\157\x75\137l\151ce\x6e\163e",
            []
            );
        $CNlax2b = $CNlax1f->query_result(
            $CNlax1c,
            0,
            "\154i\143\x65\x6e\x73e_i\x6e\x66o"
            );
        $CNlax2c = $CNlax1f->query_result(
            $CNlax1c,
            0,
            "l\151\143\x65\x6e\x73\145_\x6bey"
            );
        $CNlax28 = $CNlax1f->query_result(
            $CNlax1c,
            0,
            "\166e\162si\x6f\x6e\x5f\164\171pe"
            );
        $CNlax16 = $CNlax53($CNlax28, 0, 4);
        $CNlax2d = $CNlax4d("\x3b", $CNlax2b);
        if (!$CNlax1c) {
            return 4;
        }
        $CNlax2e = 0;
        if (!$this->checkURL()) {
            $CNlax2e += 1;
        }
        if ($CNlax2d[0] != $this->x0f($CNlax16, $CNlax2c)) {
            $CNlax2e += 1;
        }
        if ($CNlax2d[1] != $this->x11($CNlax16, $CNlax2c)) {
            $CNlax2e += 1;
        }
        return MODULE_INITIALS . $CNlax2e . $CNlax53($CNlax28, 0, 4);
    }
    public function checkURL()
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        $CNlax1f = PearDatabase::getInstance();
        $CNlax2f = "v\164\x69g\145\x72_c\x75\162\x72ent_ve\x72\163\x69on";
        $CNlax21 = vglobal($CNlax2f);
        $CNlax1c = $CNlax1f->pquery(
            "S\x45L\105\103\124\x20l\151\x63e\156\163\x65 \x46\122O\115 \166\164i\x67\x65\x72_\x63\162\x65\144\151\164\x6e\157\164\145s4yo\165\137\166e\162\163\x69\x6f\156\x20\x57\110\105\x52E\040\166\x65r\163i\x6f\156=",
            [$CNlax21]
            );
        $CNlax30 = $CNlax1f->query_result(
            $CNlax1c,
            0,
            "l\151\x63\x65\x6e\163\145"
            );
        $CNlax1c = $CNlax1f->pquery(
            "S\x45\x4cE\x43\x54 \166e\162si\157\x6e\x5ft\171p\145 \x46R\x4f\x4d \166t\x69ge\162_\x63\x72\145\144\x69\x74\156\157\164\x65s\064\x79\x6f\165\137\x6c\151\143ens\145",
            []
            );
        $CNlax28 = $CNlax1f->query_result(
            $CNlax1c,
            0,
            "\x76\145\162\163i\157\x6e\137\x74\171pe"
            );
        $CNlax31 = $this->x0d($CNlax28);
        if (!$CNlax1c) {
            return false;
        }
        if ($CNlax30 != $CNlax31) {
            return false;
        }
        return true;
    }
    private function x0c(
        $CNlax32,
        $CNlax15,
        $CNlax19,
        $CNlax16,
        $CNlax17,
        $CNlax0e = ""
        ) {
            global $CNlax49,
            $CNlax4a,
            $CNlax4b,
            $CNlax4c,
            $CNlax4d,
            $CNlax4e,
            $CNlax4f,
            $CNlax50,
            $CNlax51,
            $CNlax52,
            $CNlax53,
            $CNlax54,
            $CNlax55;
            $CNlax33 = $CNlax51(
                "\x20",
                "\x5f",
                CreditNotes4You_Version_Helper::getVersion()
                );
            $CNlax20 = "vtige\x72\x5f\x63\x75r\x72\x65n\x74_v\x65\x72\x73i\157\156";
            $CNlax21 = vglobal($CNlax20);
            $CNlax34 = $CNlax55();
            if ($CNlax32 == "\x64e\x61c\x74\x69\x76at\x65") {
                $CNlax35 = [
                    "\153\145\x79" => $CNlax15,
                    "\164\171\160\x65" => $CNlax16,
                    "\166\164\151\x67\145\162" => $CNlax21,
                    "\x6d\157d\x75le" => FOR_MODULE,
                    "m\157\x64e" => $CNlax33,
                    "ur\154" => $CNlax17,
                    "\166m\157\x64e" => $CNlax0e,
                    "tim\145" => $CNlax34,
                ];
            } else {
                $CNlax35 = [
                    "k\x65\x79" => $CNlax15,
                    "t\x79p\x65" => $CNlax16,
                    "v\164i\x67e\162" => $CNlax21,
                    "m\157d\165\x6c\145" => FOR_MODULE,
                    "\x6d\x6f\x64\145" => $CNlax33,
                    "\165r\154" => $CNlax17,
                    "t\151\x6d\145" => $CNlax34,
                ];
            }
            $CNlax1b = $CNlax19->call($CNlax32 . "\x5fli\143en\x73\145", $CNlax35);
            if (!$CNlax1b) {
                $CNlax1b = $CNlax19->getError();
            } else {
                if (
                    $CNlax1b != "\x69\x6e\166\x61\154\x69da\x74e\144" &&
                    $CNlax1b != "\x76a\x6c\151\x64at\x65\x5f\145r\162" &&
                    $CNlax1b != ""
                    ) {
                        $CNlax36 = $CNlax4d("_", $CNlax1b);
                        $CNlax1b = "i\156\166al\x69\144\x61te\x64";
                        $CNlax37 = $CNlax4b("\x59\x796y", $CNlax34);
                        $CNlax38 = $CNlax52($CNlax17);
                        $CNlax39 = $CNlax52($CNlax16);
                        $CNlax3a = $CNlax37;
                        $CNlax3a -= $CNlax34;
                        $CNlax3a -= $CNlax39 + $CNlax38;
                        if ($CNlax36[1] == $CNlax49($CNlax3a)) {
                            $CNlax1b = $CNlax36[0];
                        }
                    }
            }
            return $CNlax1b;
    }
    private function x0d($CNlax16)
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        $CNlax3b = "\vt\066";
        return $CNlax50(
            MODULE_INITIALS . $CNlax50($CNlax16 . "/" . $this->x10() . $CNlax3b)
            );
    }
    private function x0e($CNlax16, $CNlax15)
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        return $this->x0f($CNlax16, $CNlax15) .
        "\073" .
        $this->x11($CNlax16, $CNlax15);
    }
    private function x0f($CNlax16, $CNlax15)
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        $CNlax3c = getTabid(FOR_MODULE);
        $CNlax3d = Vtiger_CompanyDetails_Model::getInstanceById();
        $CNlax3e = "\x63\157\155p:";
        $CNlax3f = "o\162\147an\151\x7aa\x74i\x6f\156\x6eam\x65";
        $CNlax40 = $CNlax3d->get($CNlax3f);
        return $CNlax50(
            MODULE_INITIALS .
            $CNlax16 .
            $CNlax3c .
            $CNlax3e .
            $CNlax40 .
            $CNlax15
            );
    }
    private function x10()
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        $CNlax25 = "si\x74\x65\x5fU\x52\x4c";
        $CNlax41 = "w\145b\072";
        return $CNlax50(MODULE_INITIALS . $CNlax41 . vglobal($CNlax25));
    }
    private function x11($CNlax16, $CNlax15)
    {
        global $CNlax49,
        $CNlax4a,
        $CNlax4b,
        $CNlax4c,
        $CNlax4d,
        $CNlax4e,
        $CNlax4f,
        $CNlax50,
        $CNlax51,
        $CNlax52,
        $CNlax53,
        $CNlax54,
        $CNlax55;
        $CNlax3c = getTabid(FOR_MODULE);
        $CNlax42 =
        "u\x73\145r\x5fpr\x69\x76\151\x6c\145\147\x65\163\x2f\165s\145\162\x5f\160\x72i\166i\x6ce\147\x65s\x5f";
        $CNlax43 = "";
        foreach ($CNlax4e($CNlax42 . "\x2a\056p\x68\x70") as $CNlax44) {
            $CNlax45 = $CNlax53($CNlax44, 32, -4);
            if ($CNlax4f($CNlax42 . $CNlax45 . ".\x70hp")) {
                $CNlax46 = new Users();
                $CNlax46->retrieveCurrentUserInfoFromFile($CNlax45);
                if (
                    isset(
                        $CNlax46->column_fields["\141\143ce\x73\x73k\145y"]
                        ) &&
                    $CNlax46->column_fields["\141\x63\x63e\x73\x73\153\x65y"] !=
                    ""
                    ) {
                        $CNlax43 = $CNlax46->column_fields["\141cc\145ss\153e\x79"];
                        break;
                    }
            }
        }
        if ($CNlax43 == "") {
            $CNlax47 = Users::getActiveAdminUser();
            $CNlax43 = $CNlax47->column_fields["\x75s\145r_\x6e\141m\x65"];
        }
        $CNlax48 = "a\143c\072";
        return $CNlax50(
            MODULE_INITIALS .
            $CNlax16 .
            $CNlax3c .
            $CNlax48 .
            $CNlax43 .
            $CNlax15
            );
    }
} ?>

Function Calls

None

Variables

None

Stats

MD5 0249b4ade293d5d4e6b031500fbf80c0
Eval Count 0
Decode Time 60 ms