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 // Cart2Quote is a commercial software module for Magento. // Unpaid usage of our ..

Decoded Output download

<?php 
// Cart2Quote is a commercial software module for Magento. 
// Unpaid usage of our licensed functionalities is prohibited. 
// See www.cart2quote.com for more details. 
final class Ophirah_Qquoteadv_Helper_License extends Mage_Core_Helper_Abstract 
{ 
    private $HcRno = "Unpaid usage of our licensed functionalities is prohibited."; 
    private $npBbM = "Unpaid usage of our licensed functionalities is prohibited."; 
    private $Tygur = "Unpaid usage of our licensed functionalities is prohibited."; 
    private $ne1g8 = "Unpaid usage of our licensed functionalities is prohibited."; 
    private $JyuRf = "Unpaid usage of our licensed functionalities is prohibited."; 
    private $f209S = "Unpaid usage of our licensed functionalities is prohibited."; 
    private static $rLzUA = 16585210651 / 821; 
    private $zcQ_R = false; 
    private $vq9Ea = null; 
    const UUNI4 = "standard"; 
    const ni_gP = "professional"; 
    const jKqt0 = "enterprise"; 
    const QenVP = "Trial"; 
    const mt2o3 = "Starter"; 
    const pxcSy = "Business"; 
    const dVBtr = "Enterprise"; 
    private $CYbZD = [ 
        self::UUNI4 => [ 
            "create-edit-admin" => ["printLabel" => null, "configPath" => null], 
            "my-quotes" => ["printLabel" => null, "configPath" => null], 
            "non-free" => ["printLabel" => null, "configPath" => null], 
            "standard" => ["printLabel" => null, "configPath" => null], 
            "starter" => ["printLabel" => null, "configPath" => null], 
        ], 
        self::ni_gP => [ 
            "auto_proposal" => [ 
                "printLabel" => "Auto Proposal", 
                "configPath" => 
                    "default/qquoteadv_quote_configuration/proposal/auto_proposal", 
            ], 
            "email-auto-login" => ["printLabel" => null, "configPath" => null], 
            "professional" => ["printLabel" => null, "configPath" => null], 
            "business" => ["printLabel" => null, "configPath" => null], 
            "quick_quote_mode" => [ 
                "printLabel" => "Enable Quick Quote", 
                "configPath" => 
                    "default/qquoteadv_quote_frontend/catalog/quick_quote_mode", 
            ], 
            "link_auto_login" => [ 
                "printLabel" => "Auto User Login", 
                "configPath" => 
                    "default/qquoteadv_advanced_settings/checkout/link_auto_login", 
            ], 
            "auto_assign_login" => [ 
                "printLabel" => 
                    "Assign Quote to Logged in Sales Representative", 
                "configPath" => 
                    "default/qquoteadv_sales_representatives/quote_assignment/auto_assign_login", 
            ], 
        ], 
        self::jKqt0 => [ 
            "api" => ["printLabel" => null, "configPath" => null], 
            "export" => ["printLabel" => null, "configPath" => null], 
            "messaging" => [ 
                "printLabel" => "CRM addon settings", 
                "configPath" => 
                    "default/qquoteadv_sales_representatives/messaging", 
            ], 
            "mass_update_quote_requests" => [ 
                "printLabel" => null, 
                "configPath" => null, 
            ], 
            "send_reminder" => [ 
                "printLabel" => "Default Reminder Notice", 
                "configPath" => 
                    "default/qquoteadv_quote_configuration/expiration_times_and_notices/send_reminder", 
            ], 
            "qquoteadv_qquoteadv_expire_email" => [ 
                "printLabel" => null, 
                "configPath" => null, 
            ], 
            "customproduct" => ["printLabel" => null, "configPath" => null], 
            "customer_group_allow" => [ 
                "printLabel" => null, 
                "configPath" => null, 
            ], 
            "enterprise" => ["printLabel" => null, "configPath" => null], 
            "tier-cost" => ["printLabel" => null, "configPath" => null], 
            "supplier-bidding-tool" => [ 
                "printLabel" => "Supplier bidding tool settings", 
                "configPath" => "default/supplierbiddingtool/general/enabled", 
            ], 
            "send_linked_sale_bcc" => [ 
                "printLabel" => "Send BCC to Linked Sales Representative", 
                "configPath" => 
                    "default/qquoteadv_quote_emails/sales_representatives/send_linked_sale_bcc", 
            ], 
            "quote_form_customization" => [ 
                "printLabel" => "Custom Fields", 
                "configPath" => 
                    "default/qquoteadv_quote_form_builder/quote_form_customization", 
            ], 
            "display_tierprices" => [ 
                "printLabel" => "Display product tier prices", 
                "configPath" => 
                    "default/qquoteadv_advanced_settings/checkout/display_tierprices", 
            ], 
            "enable_quote_direct_print" => [ 
                "printLabel" => "Enable direct printing from quote list", 
                "configPath" => 
                    "qquoteadv_quote_frontend/shoppingcart_quotelist/enable_quote_direct_print", 
            ], 
            "limit_salesrep_quote" => [ 
                "printLabel" => null, 
                "configPath" => null, 
            ], 
            "quote_form_file_upload" => [ 
                "printLabel" => "Enable File Upload", 
                "configPath" => 
                    "qquoteadv_quote_form_builder/quote_form_file_upload/enable_file_upload", 
            ], 
        ], 
    ]; 
    final private static function f_mxf() 
    { 
        return "v640_01092020+St@blelRelease-OpenMage!"; 
    } 
    final public function getC2QExpiryDate() 
    { 
        goto zc7Tm; 
        r9TgE: 
        return date("Ymd", mktime(0, 0, 0, $Sgkw9, $TY1q4 + $v4k32, $vRTpI)); 
        goto Q2HG9; 
        SsGd3: 
        if (!($v4k32 !== null)) { 
            goto tSffU; 
        } 
        goto xI1VC; 
        xI1VC: 
        $vRTpI = (int) substr(self::$rLzUA, 0, 624 / 156); 
        goto N8NVO; 
        N8NVO: 
        $Sgkw9 = (int) substr(self::$rLzUA, 576 / 144, 1214 / 607); 
        goto k80NQ; 
        PJPrW: 
        return self::$rLzUA; 
        goto M4490; 
        k80NQ: 
        $TY1q4 = (int) substr(self::$rLzUA, 2544 / 424, 1454 / 727); 
        goto r9TgE; 
        zc7Tm: 
        $v4k32 = self::FtKTN(); 
        goto SsGd3; 
        Q2HG9: 
        tSffU: 
        goto PJPrW; 
        M4490: 
    } 
    final public static function isOpenSourceC2QVersion() 
    { 
        goto Xg7Cw; 
        RyXcd: 
        return true; 
        goto mcCDV; 
        kS4ED: 
        return false; 
        goto vDZcA; 
        Xg7Cw: 
        if (!(strtolower(self::f_mxf()) == "opensource")) { 
            goto jeYT0; 
        } 
        goto RyXcd; 
        mcCDV: 
        jeYT0: 
        goto kS4ED; 
        vDZcA: 
    } 
    final public function hasExpired() 
    { 
        goto Ol7b_; 
        mwDFK: 
        $this->vq9Ea = true; 
        goto ykDFn; 
        P_p0p: 
        $this->vq9Ea = false; 
        goto aWWWi; 
        QgOYP: 
        $v4k32 = $this->FtKTN(); 
        goto RS8cW; 
        Ol7b_: 
        if (!($this->vq9Ea === null)) { 
            goto teJOH; 
        } 
        goto I71xb; 
        ykjv2: 
        byQzX: 
        goto qOHj6; 
        GV2Jg: 
        goto UzUMZ; 
        goto db37j; 
        LJH7u: 
        $this->vq9Ea = true; 
        goto GV2Jg; 
        A9A1K: 
        LYzdI: 
        goto xkBz7; 
        RS8cW: 
        if ($v4k32 !== null) { 
            goto LYzdI; 
        } 
        goto juPN6; 
        AvXcO: 
        teJOH: 
        goto Pwj55; 
        sE3ys: 
        FUUST: 
        goto ykjv2; 
        xkBz7: 
        if (self::$rLzUA > date("Ymd", strtotime("-" . $v4k32 . " days"))) { 
            goto My5h3; 
        } 
        goto LJH7u; 
        I71xb: 
        $this->vq9Ea = false; 
        goto Yse37; 
        PQw1B: 
        if (!($this->FtKTN() === null)) { 
            goto FUUST; 
        } 
        goto mwDFK; 
        ykDFn: 
        return true; 
        goto sE3ys; 
        Y7ud3: 
        JSLp0: 
        goto e_7lx; 
        e_7lx: 
        E6J0w: 
        goto AvXcO; 
        Pwj55: 
        return $this->vq9Ea; 
        goto PGmCR; 
        qOHj6: 
        if (!(self::$rLzUA < date("Ymd") and self::$rLzUA !== false)) { 
            goto E6J0w; 
        } 
        goto QgOYP; 
        Yse37: 
        if (!$this->NEH99()) { 
            goto byQzX; 
        } 
        goto PQw1B; 
        juPN6: 
        $this->vq9Ea = true; 
        goto XFgP1; 
        XFgP1: 
        goto JSLp0; 
        goto A9A1K; 
        aWWWi: 
        UzUMZ: 
        goto Y7ud3; 
        db37j: 
        My5h3: 
        goto P_p0p; 
        PGmCR: 
    } 
    final public function validLicense($GH9Ck, $K_0dz = null, $mhWgI = false) 
    { 
        goto AXmFs; 
        RGeh7: 
        return false; 
        goto TP8rl; 
        x5_qi: 
        q8xPe: 
        goto W4f7R; 
        AH3cv: 
        if (!in_array($GH9Ck, array_keys($Hve5f))) { 
            goto xU2HJ; 
        } 
        goto fTNFe; 
        M5AgK: 
        $OcXjX = $this->getAccessLevel($K_0dz, $mhWgI); 
        goto JUL48; 
        W4f7R: 
        Ivfmy: 
        goto AH3cv; 
        BzcuM: 
        xU2HJ: 
        goto RGeh7; 
        AXmFs: 
        $Hve5f = []; 
        goto M5AgK; 
        fTNFe: 
        return true; 
        goto BzcuM; 
        JUL48: 
        switch ($OcXjX) { 
            case null: 
                return false; 
                goto Ivfmy; 
            case 314117040 / 786: 
                $Hve5f = $this->jEosn(self::UUNI4); 
                goto Ivfmy; 
            case 471317040 / 786: 
                $Hve5f = $this->jEosn(self::ni_gP); 
                goto Ivfmy; 
            case 707681400 / 885: 
                $Hve5f = $this->jEosn(self::jKqt0); 
                goto Ivfmy; 
        } 
        goto x5_qi; 
        TP8rl: 
    } 
    final public function getEdition($K_0dz = null) 
    { 
        goto mtUTx; 
        tndFe: 
        GIZA4: 
        goto duQip; 
        OEcFa: 
        if ($this->isTrialVersion($K_0dz) && !$this->hasExpired()) { 
            goto YNlNz; 
        } 
        goto lQEt0; 
        i0vSm: 
        qL9kU: 
        goto F8X0z; 
        ejpTY: 
        $brBVW = " (trial)"; 
        goto tndFe; 
        nlKWh: 
        YNlNz: 
        goto ejpTY; 
        mtUTx: 
        $OcXjX = $this->getAccessLevel($K_0dz); 
        goto OEcFa; 
        fCo5T: 
        RwZYl: 
        goto eXOpi; 
        lQEt0: 
        $brBVW = ''; 
        goto sZox_; 
        eXOpi: 
        M6O7M: 
        goto eJ3yX; 
        F8X0z: 
        switch ($OcXjX) { 
            case null: 
                return self::QenVP; 
            case 263762400 / 660: 
                return self::mt2o3; 
            case 253647720 / 423: 
                return self::pxcSy; 
            case 295866800 / 370: 
                return self::dVBtr . $brBVW; 
            default: 
                return self::QenVP; 
                goto M6O7M; 
        } 
        goto fCo5T; 
        sZox_: 
        goto GIZA4; 
        goto nlKWh; 
        rA3ye: 
        return "Opensource"; 
        goto i0vSm; 
        duQip: 
        if (!(strtolower(self::f_mxf()) == "opensource")) { 
            goto qL9kU; 
        } 
        goto rA3ye; 
        eJ3yX: 
    } 
    final public function isTrialVersion($K_0dz = null, $mhWgI = false) 
    { 
        goto fYi_s; 
        fYi_s: 
        if ( 
            !($this->getAccessLevelFromKey() == null && self::$rLzUA !== false) 
        ) { 
            goto Ntf6o; 
        } 
        goto nNxsR; 
        pnCVb: 
        SHQR2: 
        goto xFW5W; 
        zkz_Q: 
        return true; 
        goto iO9_F; 
        iO9_F: 
        KYbK1: 
        goto HZj7F; 
        xFW5W: 
        Ntf6o: 
        goto YnJ6y; 
        AfU7Q: 
        return true; 
        goto pnCVb; 
        YnJ6y: 
        return false; 
        goto rDnbQ; 
        nNxsR: 
        if ( 
            !( 
                is_array($K_0dz) && 
                $K_0dz[0] == $this->getCreateHash($K_0dz[303 / 303]) 
            ) 
        ) { 
            goto KYbK1; 
        } 
        goto zkz_Q; 
        HZj7F: 
        if (!$mhWgI) { 
            goto SHQR2; 
        } 
        goto AfU7Q; 
        rDnbQ: 
    } 
    final public function getAccessLevelFromKey() 
    { 
        goto DGKJw; 
        tBfp1: 
        $this->zcQ_R = null; 
        goto Dw151; 
        A2Uvm: 
        $Dg89r = explode(";", $TNOoc); 
        goto ROh3_; 
        yk46R: 
        xroDM: 
        goto HhBcI; 
        DGKJw: 
        if (!($this->zcQ_R === false)) { 
            goto BgSPP; 
        } 
        goto tBfp1; 
        ROh3_: 
        if (!count($Dg89r)) { 
            goto bA4yo; 
        } 
        goto u8HMb; 
        okZpD: 
        bA4yo: 
        goto yk46R; 
        Lgedm: 
        biPyG: 
        goto okZpD; 
        Dw151: 
        $TNOoc = trim( 
            Mage::getStoreConfig("qquoteadv_general/quotations/licence_key") 
        ); 
        goto ci8CW; 
        UpMOF: 
        return $this->zcQ_R; 
        goto mkQqt; 
        u8HMb: 
        foreach ($Dg89r as $eZUc0) { 
            goto BKXu7; 
            bk0CR: 
            if (!$CY1d3) { 
                goto scoZK; 
            } 
            goto XFxAH; 
            SaBf3: 
            goto biPyG; 
            goto Ke8Yi; 
            XFxAH: 
            $Ndwk2 = explode(";", $CY1d3); 
            goto rCpRU; 
            rCpRU: 
            if (!count($Ndwk2)) { 
                goto k0VCe; 
            } 
            goto faayc; 
            oJhCW: 
            $CY1d3 = base64_decode($eZUc0, true); 
            goto bk0CR; 
            Ke8Yi: 
            scoZK: 
            goto sDolr; 
            U60X_: 
            z_4SR: 
            goto Ehegk; 
            BKXu7: 
            $eZUc0 = trim($eZUc0); 
            goto oJhCW; 
            faayc: 
            foreach ($Ndwk2 as $hZhyi) { 
                goto PZhCV; 
                P9lDK: 
                return $this->zcQ_R; 
                goto fv9T4; 
                K66kC: 
                $this->zcQ_R = $this->O0uo7($hZhyi); 
                goto SImld; 
                txaHG: 
                kGX7k: 
                goto BVMB4; 
                SImld: 
                if (!($this->zcQ_R !== null)) { 
                    goto iXTZx; 
                } 
                goto P9lDK; 
                PZhCV: 
                if (!(strlen($hZhyi) > 5370 / 179)) { 
                    goto kGX7k; 
                } 
                goto K66kC; 
                fv9T4: 
                iXTZx: 
                goto txaHG; 
                BVMB4: 
                t3psF: 
                goto GJjHh; 
                GJjHh: 
            } 
            goto U60X_; 
            sDolr: 
            LTnMi: 
            goto UHs9N; 
            Ehegk: 
            k0VCe: 
            goto SaBf3; 
            UHs9N: 
        } 
        goto Lgedm; 
        HhBcI: 
        BgSPP: 
        goto UpMOF; 
        ci8CW: 
        if (!(strlen($TNOoc) > 14820 / 494)) { 
            goto xroDM; 
        } 
        goto A2Uvm; 
        mkQqt: 
    } 
    final private function O0uo7($eZUc0) 
    { 
        goto rJOTB; 
        gNFB7: 
        Ix4Fb: 
        goto yK17W; 
        EY17n: 
        if (isset($_SERVER["SERVER_NAME"])) { 
            goto bGlYa; 
        } 
        goto L19DA; 
        DqmLu: 
        switch ($eZUc0) { 
            case $sFS5V: 
                $c_IwA = 746064120 / 933; 
                return $c_IwA; 
            case $i4Voq: 
                $c_IwA = 243453840 / 406; 
                return $c_IwA; 
            case $fi9LI: 
                $c_IwA = 67139520 / 168; 
                return $c_IwA; 
        } 
        goto gNFB7; 
        H64mU: 
        IZr5a: 
        goto AUDaF; 
        yK17W: 
        mBgMI: 
        goto OhW3y; 
        ZxaTp: 
        $i4Voq = md5("C2Qr640_599" . $xymPu); 
        goto jhJWn; 
        dJDa0: 
        goto SDh6K; 
        goto H22uX; 
        HCiCf: 
        $fi9LI = md5("C2Qr640_399" . $Jyvzh); 
        goto ZxaTp; 
        tm5YO: 
        kE8iT: 
        goto H64mU; 
        t8iYo: 
        $xymPu = Mage::getStoreConfig("web/secure/base_url", 0); 
        goto qWvfm; 
        RCgXV: 
        $xymPu = Mage::getStoreConfig("web/unsecure/base_url", 0); 
        goto nvPMC; 
        KU6Ig: 
        goto GatMr; 
        goto XKQv6; 
        H22uX: 
        LZ8B3: 
        goto D8Tzw; 
        jhJWn: 
        $sFS5V = md5("C2Qr640_799" . $xymPu); 
        goto DqmLu; 
        XSOzr: 
        $Jyvzh = $_SERVER["SERVER_NAME"]; 
        goto iybR8; 
        nvPMC: 
        if ($xymPu) { 
            goto IZr5a; 
        } 
        goto t8iYo; 
        XKQv6: 
        bGlYa: 
        goto XSOzr; 
        L19DA: 
        $Jyvzh = "cron"; 
        goto KU6Ig; 
        AFAO9: 
        $xymPu = $Jyvzh; 
        goto tm5YO; 
        iybR8: 
        GatMr: 
        goto dJDa0; 
        OhW3y: 
        return null; 
        goto wd7Cn; 
        AUDaF: 
        $xymPu = $this->pZgNW($xymPu); 
        goto HCiCf; 
        rJOTB: 
        if (!empty($_SERVER["HTTP_HOST"])) { 
            goto LZ8B3; 
        } 
        goto EY17n; 
        D8Tzw: 
        $Jyvzh = $_SERVER["HTTP_HOST"]; 
        goto R2A2y; 
        qWvfm: 
        if ($xymPu) { 
            goto kE8iT; 
        } 
        goto AFAO9; 
        R2A2y: 
        SDh6K: 
        goto RCgXV; 
        wd7Cn: 
    } 
    final public function getAccessLevel($K_0dz = null, $mhWgI = false) 
    { 
        goto BDFom; 
        BDFom: 
        $c_IwA = $this->getAccessLevelFromKey(); 
        goto PYHpU; 
        wlwkE: 
        return $c_IwA; 
        goto vwfIu; 
        PYHpU: 
        if (!($this->isTrialVersion($K_0dz, $mhWgI) && !$this->hasExpired())) { 
            goto hhIwJ; 
        } 
        goto H38ZB; 
        s30Wu: 
        hhIwJ: 
        goto wlwkE; 
        H38ZB: 
        $c_IwA = 573341880 / 717; 
        goto s30Wu; 
        vwfIu: 
    } 
    final private function pZgNW($Jsbfm) 
    { 
        goto YtGn4; 
        GLueK: 
        Blu9D: 
        goto eSpci; 
        ArpKp: 
        $Jsbfm = "http://" . $Jsbfm; 
        goto GLueK; 
        okASx: 
        $skI0L = preg_replace("/^www\./", '', $ZblO0["host"]); 
        goto eogHI; 
        YtGn4: 
        $Jsbfm = trim($Jsbfm, "/"); 
        goto Tl1HK; 
        Tl1HK: 
        if (preg_match("#^http(s)?://#", $Jsbfm)) { 
            goto Blu9D; 
        } 
        goto ArpKp; 
        eSpci: 
        $ZblO0 = parse_url($Jsbfm); 
        goto okASx; 
        eogHI: 
        return $skI0L; 
        goto okFwW; 
        okFwW: 
    } 
    final public function getCreateHash($q02t1) 
    { 
        return self::_createHash($q02t1); 
    } 
    final protected function _createHash($q02t1) 
    { 
        return md5($q02t1 . self::$rLzUA . self::f_mxf()); 
    } 
    final private function FtKTN() 
    { 
        goto iPjMV; 
        V27VU: 
        Ned92: 
        goto PqmdY; 
        BIURU: 
        $Dg89r = explode(";", $TNOoc); 
        goto FJYRq; 
        FgzAN: 
        $xymPu = "cron"; 
        goto XF4Fe; 
        Jac3L: 
        if (!(strlen($TNOoc) > 27300 / 910)) { 
            goto GJP2V; 
        } 
        goto BIURU; 
        BTIxz: 
        $TNOoc = trim( 
            Mage::getStoreConfig("qquoteadv_general/quotations/licence_key") 
        ); 
        goto Jac3L; 
        Rf02x: 
        foreach ($Dg89r as $eZUc0) { 
            goto U0iyh; 
            U0iyh: 
            $eZUc0 = trim($eZUc0); 
            goto oTlj8; 
            DGEuR: 
            MVutR: 
            goto mvoaz; 
            Fm03f: 
            if (!count($Ndwk2)) { 
                goto M7tyi; 
            } 
            goto v9uof; 
            ddELs: 
            $Ndwk2 = explode(";", $CY1d3); 
            goto Fm03f; 
            oTlj8: 
            $CY1d3 = base64_decode($eZUc0, true); 
            goto BHY22; 
            JG9oY: 
            t4ytz: 
            goto DGEuR; 
            v9uof: 
            foreach ($Ndwk2 as $hZhyi) { 
                goto frfM0; 
                CvHt7: 
                rrdOK: 
                goto WoUdO; 
                IJcn7: 
                $GfIDy = md5( 
                    "C2Qr640_000" . $xymPu . ".30" . "." . self::$rLzUA 
                ); 
                goto FOS3G; 
                MR7dc: 
                WsdKz: 
                goto TqdKV; 
                frfM0: 
                if (!(strlen($hZhyi) > 22050 / 735)) { 
                    goto WsdKz; 
                } 
                goto IJcn7; 
                WoUdO: 
                JAJiZ: 
                goto MR7dc; 
                FOS3G: 
                $W6g1b = md5( 
                    "C2Qr640_000" . $xymPu . ".60" . "." . self::$rLzUA 
                ); 
                goto iItml; 
                TqdKV: 
                kxw1h: 
                goto d3PhE; 
                iItml: 
                $ehWQM = md5( 
                    "C2Qr640_000" . $xymPu . ".90" . "." . self::$rLzUA 
                ); 
                goto elQQ9; 
                elQQ9: 
                switch ($hZhyi) { 
                    case $GfIDy: 
                        return 16890 / 563; 
                    case $W6g1b: 
                        return 34200 / 570; 
                    case $ehWQM: 
                        return 39870 / 443; 
                } 
                goto CvHt7; 
                d3PhE: 
            } 
            goto m_I1d; 
            rL1oU: 
            M7tyi: 
            goto JG9oY; 
            BHY22: 
            if (!$CY1d3) { 
                goto t4ytz; 
            } 
            goto ddELs; 
            m_I1d: 
            nbsvl: 
            goto rL1oU; 
            mvoaz: 
        } 
        goto svDAK; 
        wVRJe: 
        if (isset($_SERVER["SERVER_NAME"])) { 
            goto HeoUn; 
        } 
        goto FgzAN; 
        bwBBK: 
        kdi7n: 
        goto A9GoQ; 
        amMwT: 
        $xymPu = $_SERVER["SERVER_NAME"]; 
        goto FLZJF; 
        eJ8PC: 
        $xymPu = Mage::getStoreConfig("web/secure/base_url", 0); 
        goto i_6as; 
        cwSvG: 
        return null; 
        goto kjibo; 
        OUWHT: 
        if ($xymPu) { 
            goto Ned92; 
        } 
        goto eJ8PC; 
        iPjMV: 
        $xymPu = Mage::getStoreConfig("web/unsecure/base_url", 0); 
        goto OUWHT; 
        svDAK: 
        nPppr: 
        goto bwBBK; 
        FJYRq: 
        if (!count($Dg89r)) { 
            goto kdi7n; 
        } 
        goto Rf02x; 
        FLZJF: 
        sLTR1: 
        goto MJGQh; 
        lIQ8v: 
        $xymPu = $_SERVER["HTTP_HOST"]; 
        goto fB_Ae; 
        fB_Ae: 
        KWs3o: 
        goto G1YJh; 
        v1cFT: 
        jDqkd: 
        goto lIQ8v; 
        cX3EB: 
        if (!empty($_SERVER["HTTP_HOST"])) { 
            goto jDqkd; 
        } 
        goto wVRJe; 
        PqmdY: 
        $xymPu = self::pZgNW($xymPu); 
        goto BTIxz; 
        XF4Fe: 
        goto sLTR1; 
        goto hUpUL; 
        G1YJh: 
        Qin6l: 
        goto V27VU; 
        MJGQh: 
        goto KWs3o; 
        goto v1cFT; 
        A9GoQ: 
        GJP2V: 
        goto cwSvG; 
        i_6as: 
        if ($xymPu) { 
            goto Qin6l; 
        } 
        goto cX3EB; 
        hUpUL: 
        HeoUn: 
        goto amMwT; 
        kjibo: 
    } 
    final private function NEH99() 
    { 
        goto YMesa; 
        ZVw82: 
        $nf81a = Mage::getSingleton("core/resource")->getTableName( 
            "quoteadv_customer" 
        ); 
        goto w_x3e; 
        uojee: 
        return false; 
        goto ynAe9; 
        RXoD3: 
        $SA6a6 = Mage::getSingleton("core/resource")->getConnection( 
            "core_read" 
        ); 
        goto goiI4; 
        LWVrM: 
        $rTuVZ[] = [ 
            "version" => "6300", 
            "hash" => "20191231" . "v630_31122019+St@blelRelease-N0BugsLeft", 
        ]; 
        goto NYc6V; 
        NYc6V: 
        $rTuVZ[] = [ 
            "version" => "6310", 
            "hash" => "20200430" . "v631_30042020+St@blelRelease-LastM1Year", 
        ]; 
        goto ZVw82; 
        YMesa: 
        $rTuVZ = []; 
        goto gj8nG; 
        YAJhh: 
        ux24N: 
        goto OL09k; 
        OL09k: 
        foreach ($rTuVZ as $ssg98) { 
            goto SepR3; 
            SepR3: 
            foreach ($UWy18 as $TNOoc => $KU21a) { 
                goto hbOM0; 
                TYYVm: 
                if (!($zwaM2 === $KU21a["create_hash"])) { 
                    goto GDVCC; 
                } 
                goto Wz4EP; 
                C5yLt: 
                GDVCC: 
                goto EkwpD; 
                EkwpD: 
                pC02t: 
                goto zlelp; 
                hbOM0: 
                $zwaM2 = md5($KU21a["increment_id"] . $ssg98["hash"]); 
                goto TYYVm; 
                Wz4EP: 
                return true; 
                goto C5yLt; 
                zlelp: 
            } 
            goto u3REf; 
            AN8WR: 
            OnW6y: 
            goto w9B7A; 
            u3REf: 
            NKMTU: 
            goto AN8WR; 
            w9B7A: 
        } 
        goto o2t87; 
        cfiTC: 
        $rTuVZ[] = [ 
            "version" => "6230", 
            "hash" => 
                "20190402" . "v624_02042019+St@blelRelease-N0BugsOppOfRight", 
        ]; 
        goto LWVrM; 
        goiI4: 
        $UWy18 = []; 
        goto vRlTY; 
        w_x3e: 
        $CTKu9 = 
            "SELECT quote_id, MONTH(created_at) AS create_month, YEAR(created_at) AS create_year, create_hash, increment_id FROM " . 
            $nf81a . 
            " 
                WHERE create_hash IS NOT NULL 
                AND created_at IS NOT NULL\xa                AND increment_id IS NOT NULL 
                AND created_at > '2017-02-03 00:00:00' 
                GROUP BY create_year, create_month ORDER BY quote_id"; 
        goto RXoD3; 
        o2t87: 
        Dpd2u: 
        goto uojee; 
        wZCDM: 
        $rTuVZ[] = [ 
            "version" => "6220", 
            "hash" => "20190316" . "v622_16032019+St@blelRelease-Be4BlueMonday", 
        ]; 
        goto cfiTC; 
        vRlTY: 
        foreach ($SA6a6->fetchAll($CTKu9) as $ttcqA) { 
            $UWy18[] = [ 
                "increment_id" => $ttcqA["increment_id"], 
                "create_hash" => $ttcqA["create_hash"], 
            ]; 
            iNJp1: 
        } 
        goto YAJhh; 
        gj8nG: 
        $rTuVZ[] = [ 
            "version" => "6210", 
            "hash" => 
                "20190214" . "v621_14022019+St@blelRelease-Love4sevendot2", 
        ]; 
        goto wZCDM; 
        ynAe9: 
    } 
    final public function checkQuoteLicense($VRlcm) 
    { 
        goto Rkfga; 
        k4B9k: 
        qmsh6: 
        goto azlWL; 
        biE6L: 
        $Et6cf = $this->pZgNW($Et6cf); 
        goto zfAxd; 
        q8sT4: 
        if ($Et6cf) { 
            goto eYmWD; 
        } 
        goto OfL9b; 
        zfAxd: 
        if (!($Et6cf != $NJOH9)) { 
            goto d68cD; 
        } 
        goto dPf_v; 
        uLvqo: 
        $NJOH9 = Mage::getStoreConfig("web/unsecure/base_url", 0); 
        goto muSfa; 
        LrmWs: 
        d68cD: 
        goto OFAdu; 
        azlWL: 
        $NJOH9 = $this->pZgNW($NJOH9); 
        goto sRDtN; 
        uUzfw: 
        $NJOH9 = Mage::getStoreConfig("web/secure/base_url", 0); 
        goto k4B9k; 
        muSfa: 
        if ($NJOH9) { 
            goto qmsh6; 
        } 
        goto uUzfw; 
        mByIE: 
        eYmWD: 
        goto biE6L; 
        Rkfga: 
        if (!($this->getAccessLevel() == 176241240 / 441)) { 
            goto uZAHG; 
        } 
        goto uLvqo; 
        OfL9b: 
        $Et6cf = Mage::getStoreConfig("web/secure/base_url", $VRlcm); 
        goto mByIE; 
        smfe4: 
        return true; 
        goto HnVDN; 
        sRDtN: 
        $Et6cf = Mage::getStoreConfig("web/unsecure/base_url", $VRlcm); 
        goto q8sT4; 
        OFAdu: 
        uZAHG: 
        goto smfe4; 
        dPf_v: 
        return false; 
        goto LrmWs; 
        HnVDN: 
    } 
    final public function isFreeUser() 
    { 
        goto L1VVJ; 
        Cf3u6: 
        crO2k: 
        goto qQGvn; 
        L1VVJ: 
        if ($this->validLicense("non-free", null, true)) { 
            goto qqDxr; 
        } 
        goto Ku2lZ; 
        lBZgn: 
        return false; 
        goto Cf3u6; 
        Ku2lZ: 
        return true; 
        goto QibEy; 
        s5fyh: 
        qqDxr: 
        goto lBZgn; 
        QibEy: 
        goto crO2k; 
        goto s5fyh; 
        qQGvn: 
    } 
    public function getCart2QuoteVersion() 
    { 
        $ssg98 = Mage::getConfig()->getModuleConfig("Ophirah_Qquoteadv")->k0Qtq; 
        return $ssg98; 
    } 
    public function getNot2OrderVersion() 
    { 
        $ssg98 = Mage::getConfig()->getModuleConfig("Ophirah_Not2Order")->k0Qtq; 
        return $ssg98; 
    } 
    public function getCRMaddonVersion() 
    { 
        $ssg98 = Mage::getConfig()->getModuleConfig("Ophirah_Crmaddon")->k0Qtq; 
        return $ssg98; 
    } 
    public function getIonCubeVersion() 
    { 
        goto iJB7X; 
        ioXxK: 
        $BMgq1 = $this->ioncube_loader_version(); 
        goto QPiqV; 
        QPiqV: 
        return $BMgq1; 
        goto LtiZG; 
        vaQwV: 
        return "IonCube is not installed"; 
        goto iKPh3; 
        iJB7X: 
        if (extension_loaded("ionCube Loader")) { 
            goto Y6wwZ; 
        } 
        goto vaQwV; 
        LtiZG: 
        wdALL: 
        goto x8KOI; 
        iKPh3: 
        goto wdALL; 
        goto K6zCC; 
        K6zCC: 
        Y6wwZ: 
        goto ioXxK; 
        x8KOI: 
    } 
    public function getPHPVersion() 
    { 
        $ssg98 = phpversion(); 
        return $ssg98; 
    } 
    public function getCart2QuoteLicense() 
    { 
        $UNKfz = Mage::getStoreConfig( 
            "qquoteadv_general/quotations/licence_key" 
        ); 
        return $UNKfz; 
    } 
    public function getCart2QuoteEdition() 
    { 
        goto dTkUB; 
        gZ2x7: 
        return $y2XFC; 
        goto t3MUU; 
        VOv42: 
        MJFj8: 
        goto gZ2x7; 
        x0qPG: 
        $y2XFC = "unknown"; 
        goto VOv42; 
        dTkUB: 
        $y2XFC = Mage::getStoreConfig("qquoteadv_general/quotations/edition"); 
        goto XvRXq; 
        XvRXq: 
        if (!(!isset($y2XFC) || empty($y2XFC))) { 
            goto MJFj8; 
        } 
        goto x0qPG; 
        t3MUU: 
    } 
    public function getMagentoVersion() 
    { 
        return Mage::getVersion(); 
    } 
    public function getOpenMageVersion() 
    { 
        goto OmYCb; 
        nf2CP: 
        Awabt: 
        goto XIzjP; 
        VONkM: 
        BsDRF: 
        goto Y0pQz; 
        Y0pQz: 
        return Mage::getOpenMageVersion(); 
        goto nf2CP; 
        w83b0: 
        return ''; 
        goto t5qBB; 
        OmYCb: 
        if (method_exists("Mage", "getOpenMageVersion")) { 
            goto BsDRF; 
        } 
        goto w83b0; 
        t5qBB: 
        goto Awabt; 
        goto VONkM; 
        XIzjP: 
    } 
    public function getMagentoEdition() 
    { 
        goto hpw9s; 
        TKfXD: 
        $y2XFC = Mage::getEdition(); 
        goto n1Y80; 
        yVm5A: 
        return ''; 
        goto aXCW9; 
        tRpZm: 
        AxmXl: 
        goto TKfXD; 
        uJSCE: 
        YP1Ke: 
        goto mtdcM; 
        aXCW9: 
        goto YP1Ke; 
        goto tRpZm; 
        hpw9s: 
        if (method_exists("Mage", "getEdition")) { 
            goto AxmXl; 
        } 
        goto yVm5A; 
        n1Y80: 
        return $y2XFC; 
        goto uJSCE; 
        mtdcM: 
    } 
    public function getCurrentDomain() 
    { 
        goto d80su; 
        HVzuN: 
        goto LjxDa; 
        goto y_qsZ; 
        Q1sd6: 
        $xymPu = $_SERVER["HTTP_HOST"]; 
        goto J_J2T; 
        laqUM: 
        $xymPu = Mage::getStoreConfig("web/secure/base_url", 0); 
        goto nv4Hu; 
        zqZid: 
        $xymPu = $_SERVER["SERVER_NAME"]; 
        goto HVzuN; 
        pM4nn: 
        NhzfG: 
        goto H4P56; 
        LCym8: 
        if ($xymPu) { 
            goto NhzfG; 
        } 
        goto laqUM; 
        H4P56: 
        $xymPu = self::pZgNW($xymPu); 
        goto pVQ9d; 
        J_J2T: 
        LjxDa: 
        goto XYY1f; 
        pVQ9d: 
        return $_SERVER["SERVER_NAME"] . " (" . $xymPu . ")"; 
        goto rRh4F; 
        XYY1f: 
        fDAhs: 
        goto pM4nn; 
        d80su: 
        $xymPu = Mage::getStoreConfig("web/unsecure/base_url", 0); 
        goto LCym8; 
        ehSc9: 
        if (!empty($_SERVER["HTTP_HOST"])) { 
            goto bD25h; 
        } 
        goto zqZid; 
        nv4Hu: 
        if ($xymPu) { 
            goto fDAhs; 
        } 
        goto ehSc9; 
        y_qsZ: 
        bD25h: 
        goto Q1sd6; 
        rRh4F: 
    } 
    public function ioncube_loader_version() 
    { 
        goto JxE33; 
        MpPGu: 
        CfTAt: 
        goto no213; 
        dxSi0: 
        if (!($mDE2a >= 61000000 / 610)) { 
            goto ezhY9; 
        } 
        goto HJtrF; 
        TGPZh: 
        if (!function_exists("ioncube_loader_version")) { 
            goto CfTAt; 
        } 
        goto evz2_; 
        HJtrF: 
        $Nc3lF = 801 / 801; 
        goto yWtaz; 
        dWcau: 
        $wFkxx = (int) substr($mDE2a, 2019 / 673 + $Nc3lF, 1164 / 582); 
        goto GY0Jy; 
        N74oo: 
        $dX25D = (int) substr($mDE2a, 0, 364 / 364 + $Nc3lF); 
        goto p06NZ; 
        evz2_: 
        $ByOij = ioncube_loader_version(); 
        goto MpPGu; 
        NqLXr: 
        if (function_exists("ioncube_loader_iversion")) { 
            goto Sw0Fw; 
        } 
        goto TGPZh; 
        PPejj: 
        Sw0Fw: 
        goto nlikn; 
        JxE33: 
        $ByOij = ''; 
        goto NqLXr; 
        HB5nt: 
        qjWyt: 
        goto fPmIR; 
        fPmIR: 
        return $ByOij; 
        goto VT_jN; 
        nlikn: 
        $mDE2a = ioncube_loader_iversion(); 
        goto ACfyK; 
        GY0Jy: 
        $ByOij = sprintf("%d.%d.%d", $dX25D, $odtu7, $wFkxx); 
        goto HB5nt; 
        no213: 
        goto qjWyt; 
        goto PPejj; 
        p06NZ: 
        $odtu7 = (int) substr($mDE2a, 586 / 586 + $Nc3lF, 1466 / 733); 
        goto dWcau; 
        yWtaz: 
        ezhY9: 
        goto N74oo; 
        ACfyK: 
        $Nc3lF = 0; 
        goto dxSi0; 
        VT_jN: 
    } 
    public function getCart2QuoteExpiryDate() 
    { 
        goto KoNMg; 
        KoNMg: 
        $Bzq8U = Mage::getStoreConfig( 
            "qquoteadv_general/quotations/expiry_date" 
        ); 
        goto S30K1; 
        S30K1: 
        if (!(!isset($Bzq8U) || empty($Bzq8U))) { 
            goto wFy3U; 
        } 
        goto r10JF; 
        r10JF: 
        $Bzq8U = "unknown"; 
        goto DL43o; 
        PMqWS: 
        return $Bzq8U; 
        goto fo64t; 
        DL43o: 
        wFy3U: 
        goto PMqWS; 
        fo64t: 
    } 
    public function getCart2QuoteTrialExpired() 
    { 
        return Mage::getStoreConfig("qquoteadv_general/quotations/has_expired"); 
    } 
    public function getRequiredLicense($I1jGk = null) 
    { 
        goto NYeyO; 
        qeRAX: 
        if (array_key_exists($I1jGk, $this->CYbZD[self::UUNI4])) { 
            goto gmjId; 
        } 
        goto ouhjM; 
        ouhjM: 
        goto gf5gy; 
        goto dyjwB; 
        J3YiB: 
        goto gf5gy; 
        goto YA1me; 
        L_ADN: 
        if (array_key_exists($I1jGk, $this->CYbZD[self::ni_gP])) { 
            goto aCff9; 
        } 
        goto qeRAX; 
        Ei5yR: 
        gmjId: 
        goto H01qj; 
        YA1me: 
        aCff9: 
        goto AjdxK; 
        NYeyO: 
        if (array_key_exists($I1jGk, $this->CYbZD[self::jKqt0])) { 
            goto NGv5s; 
        } 
        goto L_ADN; 
        z0EGt: 
        return self::dVBtr; 
        goto J3YiB; 
        AjdxK: 
        return self::pxcSy; 
        goto bwvEo; 
        H01qj: 
        return self::mt2o3; 
        goto LP5ON; 
        LP5ON: 
        gf5gy: 
        goto bGSfW; 
        bGSfW: 
        return self::QenVP; 
        goto Kmsxd; 
        dyjwB: 
        NGv5s: 
        goto z0EGt; 
        bwvEo: 
        goto gf5gy; 
        goto Ei5yR; 
        Kmsxd: 
    } 
    private function jEosn($Ha2M0) 
    { 
        goto ufSLU; 
        q6EXH: 
        return []; 
        goto p4bAm; 
        ufSLU: 
        switch ($Ha2M0) { 
            case self::UUNI4: 
                return $this->CYbZD[self::UUNI4]; 
            case self::ni_gP: 
                return array_merge_recursive( 
                    $this->CYbZD[self::UUNI4], 
                    $this->CYbZD[self::ni_gP] 
                ); 
            case self::jKqt0: 
            case "all": 
                return array_merge_recursive( 
                    $this->CYbZD[self::UUNI4], 
                    $this->CYbZD[self::ni_gP], 
                    $this->CYbZD[self::jKqt0] 
                ); 
        } 
        goto XXNgK; 
        U90fq: 
        y0oEB: 
        goto q6EXH; 
        XXNgK: 
        AZk6x: 
        goto U90fq; 
        p4bAm: 
    } 
    public function getAllFeatures() 
    { 
        return $this->jEosn("all"); 
    } 
} ?> 

Did this file decode correctly?

Original Code

<?php
// Cart2Quote is a commercial software module for Magento.
// Unpaid usage of our licensed functionalities is prohibited.
// See www.cart2quote.com for more details.
final class Ophirah_Qquoteadv_Helper_License extends Mage_Core_Helper_Abstract
{
    private $HcRno = "Unpaid usage of our licensed functionalities is prohibited.";
    private $npBbM = "Unpaid usage of our licensed functionalities is prohibited.";
    private $Tygur = "Unpaid usage of our licensed functionalities is prohibited.";
    private $ne1g8 = "Unpaid usage of our licensed functionalities is prohibited.";
    private $JyuRf = "Unpaid usage of our licensed functionalities is prohibited.";
    private $f209S = "Unpaid usage of our licensed functionalities is prohibited.";
    private static $rLzUA = 16585210651 / 821;
    private $zcQ_R = false;
    private $vq9Ea = null;
    const UUNI4 = "standard";
    const ni_gP = "professional";
    const jKqt0 = "enterprise";
    const QenVP = "Trial";
    const mt2o3 = "Starter";
    const pxcSy = "Business";
    const dVBtr = "Enterprise";
    private $CYbZD = [
        self::UUNI4 => [
            "create-edit-admin" => ["printLabel" => null, "configPath" => null],
            "my-quotes" => ["printLabel" => null, "configPath" => null],
            "non-free" => ["printLabel" => null, "configPath" => null],
            "standard" => ["printLabel" => null, "configPath" => null],
            "starter" => ["printLabel" => null, "configPath" => null],
        ],
        self::ni_gP => [
            "auto_proposal" => [
                "printLabel" => "Auto Proposal",
                "configPath" =>
                    "default/qquoteadv_quote_configuration/proposal/auto_proposal",
            ],
            "email-auto-login" => ["printLabel" => null, "configPath" => null],
            "professional" => ["printLabel" => null, "configPath" => null],
            "business" => ["printLabel" => null, "configPath" => null],
            "quick_quote_mode" => [
                "printLabel" => "Enable Quick Quote",
                "configPath" =>
                    "default/qquoteadv_quote_frontend/catalog/quick_quote_mode",
            ],
            "link_auto_login" => [
                "printLabel" => "Auto User Login",
                "configPath" =>
                    "default/qquoteadv_advanced_settings/checkout/link_auto_login",
            ],
            "auto_assign_login" => [
                "printLabel" =>
                    "Assign Quote to Logged in Sales Representative",
                "configPath" =>
                    "default/qquoteadv_sales_representatives/quote_assignment/auto_assign_login",
            ],
        ],
        self::jKqt0 => [
            "api" => ["printLabel" => null, "configPath" => null],
            "export" => ["printLabel" => null, "configPath" => null],
            "messaging" => [
                "printLabel" => "CRM addon settings",
                "configPath" =>
                    "default/qquoteadv_sales_representatives/messaging",
            ],
            "mass_update_quote_requests" => [
                "printLabel" => null,
                "configPath" => null,
            ],
            "send_reminder" => [
                "printLabel" => "Default Reminder Notice",
                "configPath" =>
                    "default/qquoteadv_quote_configuration/expiration_times_and_notices/send_reminder",
            ],
            "qquoteadv_qquoteadv_expire_email" => [
                "printLabel" => null,
                "configPath" => null,
            ],
            "customproduct" => ["printLabel" => null, "configPath" => null],
            "customer_group_allow" => [
                "printLabel" => null,
                "configPath" => null,
            ],
            "enterprise" => ["printLabel" => null, "configPath" => null],
            "tier-cost" => ["printLabel" => null, "configPath" => null],
            "supplier-bidding-tool" => [
                "printLabel" => "Supplier bidding tool settings",
                "configPath" => "default/supplierbiddingtool/general/enabled",
            ],
            "send_linked_sale_bcc" => [
                "printLabel" => "Send BCC to Linked Sales Representative",
                "configPath" =>
                    "default/qquoteadv_quote_emails/sales_representatives/send_linked_sale_bcc",
            ],
            "quote_form_customization" => [
                "printLabel" => "Custom Fields",
                "configPath" =>
                    "default/qquoteadv_quote_form_builder/quote_form_customization",
            ],
            "display_tierprices" => [
                "printLabel" => "Display product tier prices",
                "configPath" =>
                    "default/qquoteadv_advanced_settings/checkout/display_tierprices",
            ],
            "enable_quote_direct_print" => [
                "printLabel" => "Enable direct printing from quote list",
                "configPath" =>
                    "qquoteadv_quote_frontend/shoppingcart_quotelist/enable_quote_direct_print",
            ],
            "limit_salesrep_quote" => [
                "printLabel" => null,
                "configPath" => null,
            ],
            "quote_form_file_upload" => [
                "printLabel" => "Enable File Upload",
                "configPath" =>
                    "qquoteadv_quote_form_builder/quote_form_file_upload/enable_file_upload",
            ],
        ],
    ];
    final private static function f_mxf()
    {
        return "v640_01092020+St@blelRelease-OpenMage!";
    }
    final public function getC2QExpiryDate()
    {
        goto zc7Tm;
        r9TgE:
        return date("Ymd", mktime(0, 0, 0, $Sgkw9, $TY1q4 + $v4k32, $vRTpI));
        goto Q2HG9;
        SsGd3:
        if (!($v4k32 !== null)) {
            goto tSffU;
        }
        goto xI1VC;
        xI1VC:
        $vRTpI = (int) substr(self::$rLzUA, 0, 624 / 156);
        goto N8NVO;
        N8NVO:
        $Sgkw9 = (int) substr(self::$rLzUA, 576 / 144, 1214 / 607);
        goto k80NQ;
        PJPrW:
        return self::$rLzUA;
        goto M4490;
        k80NQ:
        $TY1q4 = (int) substr(self::$rLzUA, 2544 / 424, 1454 / 727);
        goto r9TgE;
        zc7Tm:
        $v4k32 = self::FtKTN();
        goto SsGd3;
        Q2HG9:
        tSffU:
        goto PJPrW;
        M4490:
    }
    final public static function isOpenSourceC2QVersion()
    {
        goto Xg7Cw;
        RyXcd:
        return true;
        goto mcCDV;
        kS4ED:
        return false;
        goto vDZcA;
        Xg7Cw:
        if (!(strtolower(self::f_mxf()) == "opensource")) {
            goto jeYT0;
        }
        goto RyXcd;
        mcCDV:
        jeYT0:
        goto kS4ED;
        vDZcA:
    }
    final public function hasExpired()
    {
        goto Ol7b_;
        mwDFK:
        $this->vq9Ea = true;
        goto ykDFn;
        P_p0p:
        $this->vq9Ea = false;
        goto aWWWi;
        QgOYP:
        $v4k32 = $this->FtKTN();
        goto RS8cW;
        Ol7b_:
        if (!($this->vq9Ea === null)) {
            goto teJOH;
        }
        goto I71xb;
        ykjv2:
        byQzX:
        goto qOHj6;
        GV2Jg:
        goto UzUMZ;
        goto db37j;
        LJH7u:
        $this->vq9Ea = true;
        goto GV2Jg;
        A9A1K:
        LYzdI:
        goto xkBz7;
        RS8cW:
        if ($v4k32 !== null) {
            goto LYzdI;
        }
        goto juPN6;
        AvXcO:
        teJOH:
        goto Pwj55;
        sE3ys:
        FUUST:
        goto ykjv2;
        xkBz7:
        if (self::$rLzUA > date("Ymd", strtotime("-" . $v4k32 . " days"))) {
            goto My5h3;
        }
        goto LJH7u;
        I71xb:
        $this->vq9Ea = false;
        goto Yse37;
        PQw1B:
        if (!($this->FtKTN() === null)) {
            goto FUUST;
        }
        goto mwDFK;
        ykDFn:
        return true;
        goto sE3ys;
        Y7ud3:
        JSLp0:
        goto e_7lx;
        e_7lx:
        E6J0w:
        goto AvXcO;
        Pwj55:
        return $this->vq9Ea;
        goto PGmCR;
        qOHj6:
        if (!(self::$rLzUA < date("Ymd") and self::$rLzUA !== false)) {
            goto E6J0w;
        }
        goto QgOYP;
        Yse37:
        if (!$this->NEH99()) {
            goto byQzX;
        }
        goto PQw1B;
        juPN6:
        $this->vq9Ea = true;
        goto XFgP1;
        XFgP1:
        goto JSLp0;
        goto A9A1K;
        aWWWi:
        UzUMZ:
        goto Y7ud3;
        db37j:
        My5h3:
        goto P_p0p;
        PGmCR:
    }
    final public function validLicense($GH9Ck, $K_0dz = null, $mhWgI = false)
    {
        goto AXmFs;
        RGeh7:
        return false;
        goto TP8rl;
        x5_qi:
        q8xPe:
        goto W4f7R;
        AH3cv:
        if (!in_array($GH9Ck, array_keys($Hve5f))) {
            goto xU2HJ;
        }
        goto fTNFe;
        M5AgK:
        $OcXjX = $this->getAccessLevel($K_0dz, $mhWgI);
        goto JUL48;
        W4f7R:
        Ivfmy:
        goto AH3cv;
        BzcuM:
        xU2HJ:
        goto RGeh7;
        AXmFs:
        $Hve5f = [];
        goto M5AgK;
        fTNFe:
        return true;
        goto BzcuM;
        JUL48:
        switch ($OcXjX) {
            case null:
                return false;
                goto Ivfmy;
            case 314117040 / 786:
                $Hve5f = $this->jEosn(self::UUNI4);
                goto Ivfmy;
            case 471317040 / 786:
                $Hve5f = $this->jEosn(self::ni_gP);
                goto Ivfmy;
            case 707681400 / 885:
                $Hve5f = $this->jEosn(self::jKqt0);
                goto Ivfmy;
        }
        goto x5_qi;
        TP8rl:
    }
    final public function getEdition($K_0dz = null)
    {
        goto mtUTx;
        tndFe:
        GIZA4:
        goto duQip;
        OEcFa:
        if ($this->isTrialVersion($K_0dz) && !$this->hasExpired()) {
            goto YNlNz;
        }
        goto lQEt0;
        i0vSm:
        qL9kU:
        goto F8X0z;
        ejpTY:
        $brBVW = " (trial)";
        goto tndFe;
        nlKWh:
        YNlNz:
        goto ejpTY;
        mtUTx:
        $OcXjX = $this->getAccessLevel($K_0dz);
        goto OEcFa;
        fCo5T:
        RwZYl:
        goto eXOpi;
        lQEt0:
        $brBVW = '';
        goto sZox_;
        eXOpi:
        M6O7M:
        goto eJ3yX;
        F8X0z:
        switch ($OcXjX) {
            case null:
                return self::QenVP;
            case 263762400 / 660:
                return self::mt2o3;
            case 253647720 / 423:
                return self::pxcSy;
            case 295866800 / 370:
                return self::dVBtr . $brBVW;
            default:
                return self::QenVP;
                goto M6O7M;
        }
        goto fCo5T;
        sZox_:
        goto GIZA4;
        goto nlKWh;
        rA3ye:
        return "Opensource";
        goto i0vSm;
        duQip:
        if (!(strtolower(self::f_mxf()) == "opensource")) {
            goto qL9kU;
        }
        goto rA3ye;
        eJ3yX:
    }
    final public function isTrialVersion($K_0dz = null, $mhWgI = false)
    {
        goto fYi_s;
        fYi_s:
        if (
            !($this->getAccessLevelFromKey() == null && self::$rLzUA !== false)
        ) {
            goto Ntf6o;
        }
        goto nNxsR;
        pnCVb:
        SHQR2:
        goto xFW5W;
        zkz_Q:
        return true;
        goto iO9_F;
        iO9_F:
        KYbK1:
        goto HZj7F;
        xFW5W:
        Ntf6o:
        goto YnJ6y;
        AfU7Q:
        return true;
        goto pnCVb;
        YnJ6y:
        return false;
        goto rDnbQ;
        nNxsR:
        if (
            !(
                is_array($K_0dz) &&
                $K_0dz[0] == $this->getCreateHash($K_0dz[303 / 303])
            )
        ) {
            goto KYbK1;
        }
        goto zkz_Q;
        HZj7F:
        if (!$mhWgI) {
            goto SHQR2;
        }
        goto AfU7Q;
        rDnbQ:
    }
    final public function getAccessLevelFromKey()
    {
        goto DGKJw;
        tBfp1:
        $this->zcQ_R = null;
        goto Dw151;
        A2Uvm:
        $Dg89r = explode(";", $TNOoc);
        goto ROh3_;
        yk46R:
        xroDM:
        goto HhBcI;
        DGKJw:
        if (!($this->zcQ_R === false)) {
            goto BgSPP;
        }
        goto tBfp1;
        ROh3_:
        if (!count($Dg89r)) {
            goto bA4yo;
        }
        goto u8HMb;
        okZpD:
        bA4yo:
        goto yk46R;
        Lgedm:
        biPyG:
        goto okZpD;
        Dw151:
        $TNOoc = trim(
            Mage::getStoreConfig("qquoteadv_general/quotations/licence_key")
        );
        goto ci8CW;
        UpMOF:
        return $this->zcQ_R;
        goto mkQqt;
        u8HMb:
        foreach ($Dg89r as $eZUc0) {
            goto BKXu7;
            bk0CR:
            if (!$CY1d3) {
                goto scoZK;
            }
            goto XFxAH;
            SaBf3:
            goto biPyG;
            goto Ke8Yi;
            XFxAH:
            $Ndwk2 = explode(";", $CY1d3);
            goto rCpRU;
            rCpRU:
            if (!count($Ndwk2)) {
                goto k0VCe;
            }
            goto faayc;
            oJhCW:
            $CY1d3 = base64_decode($eZUc0, true);
            goto bk0CR;
            Ke8Yi:
            scoZK:
            goto sDolr;
            U60X_:
            z_4SR:
            goto Ehegk;
            BKXu7:
            $eZUc0 = trim($eZUc0);
            goto oJhCW;
            faayc:
            foreach ($Ndwk2 as $hZhyi) {
                goto PZhCV;
                P9lDK:
                return $this->zcQ_R;
                goto fv9T4;
                K66kC:
                $this->zcQ_R = $this->O0uo7($hZhyi);
                goto SImld;
                txaHG:
                kGX7k:
                goto BVMB4;
                SImld:
                if (!($this->zcQ_R !== null)) {
                    goto iXTZx;
                }
                goto P9lDK;
                PZhCV:
                if (!(strlen($hZhyi) > 5370 / 179)) {
                    goto kGX7k;
                }
                goto K66kC;
                fv9T4:
                iXTZx:
                goto txaHG;
                BVMB4:
                t3psF:
                goto GJjHh;
                GJjHh:
            }
            goto U60X_;
            sDolr:
            LTnMi:
            goto UHs9N;
            Ehegk:
            k0VCe:
            goto SaBf3;
            UHs9N:
        }
        goto Lgedm;
        HhBcI:
        BgSPP:
        goto UpMOF;
        ci8CW:
        if (!(strlen($TNOoc) > 14820 / 494)) {
            goto xroDM;
        }
        goto A2Uvm;
        mkQqt:
    }
    final private function O0uo7($eZUc0)
    {
        goto rJOTB;
        gNFB7:
        Ix4Fb:
        goto yK17W;
        EY17n:
        if (isset($_SERVER["SERVER_NAME"])) {
            goto bGlYa;
        }
        goto L19DA;
        DqmLu:
        switch ($eZUc0) {
            case $sFS5V:
                $c_IwA = 746064120 / 933;
                return $c_IwA;
            case $i4Voq:
                $c_IwA = 243453840 / 406;
                return $c_IwA;
            case $fi9LI:
                $c_IwA = 67139520 / 168;
                return $c_IwA;
        }
        goto gNFB7;
        H64mU:
        IZr5a:
        goto AUDaF;
        yK17W:
        mBgMI:
        goto OhW3y;
        ZxaTp:
        $i4Voq = md5("C2Qr640_599" . $xymPu);
        goto jhJWn;
        dJDa0:
        goto SDh6K;
        goto H22uX;
        HCiCf:
        $fi9LI = md5("C2Qr640_399" . $Jyvzh);
        goto ZxaTp;
        tm5YO:
        kE8iT:
        goto H64mU;
        t8iYo:
        $xymPu = Mage::getStoreConfig("web/secure/base_url", 0);
        goto qWvfm;
        RCgXV:
        $xymPu = Mage::getStoreConfig("web/unsecure/base_url", 0);
        goto nvPMC;
        KU6Ig:
        goto GatMr;
        goto XKQv6;
        H22uX:
        LZ8B3:
        goto D8Tzw;
        jhJWn:
        $sFS5V = md5("C2Qr640_799" . $xymPu);
        goto DqmLu;
        XSOzr:
        $Jyvzh = $_SERVER["SERVER_NAME"];
        goto iybR8;
        nvPMC:
        if ($xymPu) {
            goto IZr5a;
        }
        goto t8iYo;
        XKQv6:
        bGlYa:
        goto XSOzr;
        L19DA:
        $Jyvzh = "cron";
        goto KU6Ig;
        AFAO9:
        $xymPu = $Jyvzh;
        goto tm5YO;
        iybR8:
        GatMr:
        goto dJDa0;
        OhW3y:
        return null;
        goto wd7Cn;
        AUDaF:
        $xymPu = $this->pZgNW($xymPu);
        goto HCiCf;
        rJOTB:
        if (!empty($_SERVER["HTTP_HOST"])) {
            goto LZ8B3;
        }
        goto EY17n;
        D8Tzw:
        $Jyvzh = $_SERVER["HTTP_HOST"];
        goto R2A2y;
        qWvfm:
        if ($xymPu) {
            goto kE8iT;
        }
        goto AFAO9;
        R2A2y:
        SDh6K:
        goto RCgXV;
        wd7Cn:
    }
    final public function getAccessLevel($K_0dz = null, $mhWgI = false)
    {
        goto BDFom;
        BDFom:
        $c_IwA = $this->getAccessLevelFromKey();
        goto PYHpU;
        wlwkE:
        return $c_IwA;
        goto vwfIu;
        PYHpU:
        if (!($this->isTrialVersion($K_0dz, $mhWgI) && !$this->hasExpired())) {
            goto hhIwJ;
        }
        goto H38ZB;
        s30Wu:
        hhIwJ:
        goto wlwkE;
        H38ZB:
        $c_IwA = 573341880 / 717;
        goto s30Wu;
        vwfIu:
    }
    final private function pZgNW($Jsbfm)
    {
        goto YtGn4;
        GLueK:
        Blu9D:
        goto eSpci;
        ArpKp:
        $Jsbfm = "http://" . $Jsbfm;
        goto GLueK;
        okASx:
        $skI0L = preg_replace("/^www\./", '', $ZblO0["host"]);
        goto eogHI;
        YtGn4:
        $Jsbfm = trim($Jsbfm, "/");
        goto Tl1HK;
        Tl1HK:
        if (preg_match("#^http(s)?://#", $Jsbfm)) {
            goto Blu9D;
        }
        goto ArpKp;
        eSpci:
        $ZblO0 = parse_url($Jsbfm);
        goto okASx;
        eogHI:
        return $skI0L;
        goto okFwW;
        okFwW:
    }
    final public function getCreateHash($q02t1)
    {
        return self::_createHash($q02t1);
    }
    final protected function _createHash($q02t1)
    {
        return md5($q02t1 . self::$rLzUA . self::f_mxf());
    }
    final private function FtKTN()
    {
        goto iPjMV;
        V27VU:
        Ned92:
        goto PqmdY;
        BIURU:
        $Dg89r = explode(";", $TNOoc);
        goto FJYRq;
        FgzAN:
        $xymPu = "cron";
        goto XF4Fe;
        Jac3L:
        if (!(strlen($TNOoc) > 27300 / 910)) {
            goto GJP2V;
        }
        goto BIURU;
        BTIxz:
        $TNOoc = trim(
            Mage::getStoreConfig("qquoteadv_general/quotations/licence_key")
        );
        goto Jac3L;
        Rf02x:
        foreach ($Dg89r as $eZUc0) {
            goto U0iyh;
            U0iyh:
            $eZUc0 = trim($eZUc0);
            goto oTlj8;
            DGEuR:
            MVutR:
            goto mvoaz;
            Fm03f:
            if (!count($Ndwk2)) {
                goto M7tyi;
            }
            goto v9uof;
            ddELs:
            $Ndwk2 = explode(";", $CY1d3);
            goto Fm03f;
            oTlj8:
            $CY1d3 = base64_decode($eZUc0, true);
            goto BHY22;
            JG9oY:
            t4ytz:
            goto DGEuR;
            v9uof:
            foreach ($Ndwk2 as $hZhyi) {
                goto frfM0;
                CvHt7:
                rrdOK:
                goto WoUdO;
                IJcn7:
                $GfIDy = md5(
                    "C2Qr640_000" . $xymPu . ".30" . "." . self::$rLzUA
                );
                goto FOS3G;
                MR7dc:
                WsdKz:
                goto TqdKV;
                frfM0:
                if (!(strlen($hZhyi) > 22050 / 735)) {
                    goto WsdKz;
                }
                goto IJcn7;
                WoUdO:
                JAJiZ:
                goto MR7dc;
                FOS3G:
                $W6g1b = md5(
                    "C2Qr640_000" . $xymPu . ".60" . "." . self::$rLzUA
                );
                goto iItml;
                TqdKV:
                kxw1h:
                goto d3PhE;
                iItml:
                $ehWQM = md5(
                    "C2Qr640_000" . $xymPu . ".90" . "." . self::$rLzUA
                );
                goto elQQ9;
                elQQ9:
                switch ($hZhyi) {
                    case $GfIDy:
                        return 16890 / 563;
                    case $W6g1b:
                        return 34200 / 570;
                    case $ehWQM:
                        return 39870 / 443;
                }
                goto CvHt7;
                d3PhE:
            }
            goto m_I1d;
            rL1oU:
            M7tyi:
            goto JG9oY;
            BHY22:
            if (!$CY1d3) {
                goto t4ytz;
            }
            goto ddELs;
            m_I1d:
            nbsvl:
            goto rL1oU;
            mvoaz:
        }
        goto svDAK;
        wVRJe:
        if (isset($_SERVER["SERVER_NAME"])) {
            goto HeoUn;
        }
        goto FgzAN;
        bwBBK:
        kdi7n:
        goto A9GoQ;
        amMwT:
        $xymPu = $_SERVER["SERVER_NAME"];
        goto FLZJF;
        eJ8PC:
        $xymPu = Mage::getStoreConfig("web/secure/base_url", 0);
        goto i_6as;
        cwSvG:
        return null;
        goto kjibo;
        OUWHT:
        if ($xymPu) {
            goto Ned92;
        }
        goto eJ8PC;
        iPjMV:
        $xymPu = Mage::getStoreConfig("web/unsecure/base_url", 0);
        goto OUWHT;
        svDAK:
        nPppr:
        goto bwBBK;
        FJYRq:
        if (!count($Dg89r)) {
            goto kdi7n;
        }
        goto Rf02x;
        FLZJF:
        sLTR1:
        goto MJGQh;
        lIQ8v:
        $xymPu = $_SERVER["HTTP_HOST"];
        goto fB_Ae;
        fB_Ae:
        KWs3o:
        goto G1YJh;
        v1cFT:
        jDqkd:
        goto lIQ8v;
        cX3EB:
        if (!empty($_SERVER["HTTP_HOST"])) {
            goto jDqkd;
        }
        goto wVRJe;
        PqmdY:
        $xymPu = self::pZgNW($xymPu);
        goto BTIxz;
        XF4Fe:
        goto sLTR1;
        goto hUpUL;
        G1YJh:
        Qin6l:
        goto V27VU;
        MJGQh:
        goto KWs3o;
        goto v1cFT;
        A9GoQ:
        GJP2V:
        goto cwSvG;
        i_6as:
        if ($xymPu) {
            goto Qin6l;
        }
        goto cX3EB;
        hUpUL:
        HeoUn:
        goto amMwT;
        kjibo:
    }
    final private function NEH99()
    {
        goto YMesa;
        ZVw82:
        $nf81a = Mage::getSingleton("core/resource")->getTableName(
            "quoteadv_customer"
        );
        goto w_x3e;
        uojee:
        return false;
        goto ynAe9;
        RXoD3:
        $SA6a6 = Mage::getSingleton("core/resource")->getConnection(
            "core_read"
        );
        goto goiI4;
        LWVrM:
        $rTuVZ[] = [
            "version" => "6300",
            "hash" => "20191231" . "v630_31122019+St@blelRelease-N0BugsLeft",
        ];
        goto NYc6V;
        NYc6V:
        $rTuVZ[] = [
            "version" => "6310",
            "hash" => "20200430" . "v631_30042020+St@blelRelease-LastM1Year",
        ];
        goto ZVw82;
        YMesa:
        $rTuVZ = [];
        goto gj8nG;
        YAJhh:
        ux24N:
        goto OL09k;
        OL09k:
        foreach ($rTuVZ as $ssg98) {
            goto SepR3;
            SepR3:
            foreach ($UWy18 as $TNOoc => $KU21a) {
                goto hbOM0;
                TYYVm:
                if (!($zwaM2 === $KU21a["create_hash"])) {
                    goto GDVCC;
                }
                goto Wz4EP;
                C5yLt:
                GDVCC:
                goto EkwpD;
                EkwpD:
                pC02t:
                goto zlelp;
                hbOM0:
                $zwaM2 = md5($KU21a["increment_id"] . $ssg98["hash"]);
                goto TYYVm;
                Wz4EP:
                return true;
                goto C5yLt;
                zlelp:
            }
            goto u3REf;
            AN8WR:
            OnW6y:
            goto w9B7A;
            u3REf:
            NKMTU:
            goto AN8WR;
            w9B7A:
        }
        goto o2t87;
        cfiTC:
        $rTuVZ[] = [
            "version" => "6230",
            "hash" =>
                "20190402" . "v624_02042019+St@blelRelease-N0BugsOppOfRight",
        ];
        goto LWVrM;
        goiI4:
        $UWy18 = [];
        goto vRlTY;
        w_x3e:
        $CTKu9 =
            "SELECT quote_id, MONTH(created_at) AS create_month, YEAR(created_at) AS create_year, create_hash, increment_id FROM " .
            $nf81a .
            "
                WHERE create_hash IS NOT NULL
                AND created_at IS NOT NULL\xa                AND increment_id IS NOT NULL
                AND created_at > '2017-02-03 00:00:00'
                GROUP BY create_year, create_month ORDER BY quote_id";
        goto RXoD3;
        o2t87:
        Dpd2u:
        goto uojee;
        wZCDM:
        $rTuVZ[] = [
            "version" => "6220",
            "hash" => "20190316" . "v622_16032019+St@blelRelease-Be4BlueMonday",
        ];
        goto cfiTC;
        vRlTY:
        foreach ($SA6a6->fetchAll($CTKu9) as $ttcqA) {
            $UWy18[] = [
                "increment_id" => $ttcqA["increment_id"],
                "create_hash" => $ttcqA["create_hash"],
            ];
            iNJp1:
        }
        goto YAJhh;
        gj8nG:
        $rTuVZ[] = [
            "version" => "6210",
            "hash" =>
                "20190214" . "v621_14022019+St@blelRelease-Love4sevendot2",
        ];
        goto wZCDM;
        ynAe9:
    }
    final public function checkQuoteLicense($VRlcm)
    {
        goto Rkfga;
        k4B9k:
        qmsh6:
        goto azlWL;
        biE6L:
        $Et6cf = $this->pZgNW($Et6cf);
        goto zfAxd;
        q8sT4:
        if ($Et6cf) {
            goto eYmWD;
        }
        goto OfL9b;
        zfAxd:
        if (!($Et6cf != $NJOH9)) {
            goto d68cD;
        }
        goto dPf_v;
        uLvqo:
        $NJOH9 = Mage::getStoreConfig("web/unsecure/base_url", 0);
        goto muSfa;
        LrmWs:
        d68cD:
        goto OFAdu;
        azlWL:
        $NJOH9 = $this->pZgNW($NJOH9);
        goto sRDtN;
        uUzfw:
        $NJOH9 = Mage::getStoreConfig("web/secure/base_url", 0);
        goto k4B9k;
        muSfa:
        if ($NJOH9) {
            goto qmsh6;
        }
        goto uUzfw;
        mByIE:
        eYmWD:
        goto biE6L;
        Rkfga:
        if (!($this->getAccessLevel() == 176241240 / 441)) {
            goto uZAHG;
        }
        goto uLvqo;
        OfL9b:
        $Et6cf = Mage::getStoreConfig("web/secure/base_url", $VRlcm);
        goto mByIE;
        smfe4:
        return true;
        goto HnVDN;
        sRDtN:
        $Et6cf = Mage::getStoreConfig("web/unsecure/base_url", $VRlcm);
        goto q8sT4;
        OFAdu:
        uZAHG:
        goto smfe4;
        dPf_v:
        return false;
        goto LrmWs;
        HnVDN:
    }
    final public function isFreeUser()
    {
        goto L1VVJ;
        Cf3u6:
        crO2k:
        goto qQGvn;
        L1VVJ:
        if ($this->validLicense("non-free", null, true)) {
            goto qqDxr;
        }
        goto Ku2lZ;
        lBZgn:
        return false;
        goto Cf3u6;
        Ku2lZ:
        return true;
        goto QibEy;
        s5fyh:
        qqDxr:
        goto lBZgn;
        QibEy:
        goto crO2k;
        goto s5fyh;
        qQGvn:
    }
    public function getCart2QuoteVersion()
    {
        $ssg98 = Mage::getConfig()->getModuleConfig("Ophirah_Qquoteadv")->k0Qtq;
        return $ssg98;
    }
    public function getNot2OrderVersion()
    {
        $ssg98 = Mage::getConfig()->getModuleConfig("Ophirah_Not2Order")->k0Qtq;
        return $ssg98;
    }
    public function getCRMaddonVersion()
    {
        $ssg98 = Mage::getConfig()->getModuleConfig("Ophirah_Crmaddon")->k0Qtq;
        return $ssg98;
    }
    public function getIonCubeVersion()
    {
        goto iJB7X;
        ioXxK:
        $BMgq1 = $this->ioncube_loader_version();
        goto QPiqV;
        QPiqV:
        return $BMgq1;
        goto LtiZG;
        vaQwV:
        return "IonCube is not installed";
        goto iKPh3;
        iJB7X:
        if (extension_loaded("ionCube Loader")) {
            goto Y6wwZ;
        }
        goto vaQwV;
        LtiZG:
        wdALL:
        goto x8KOI;
        iKPh3:
        goto wdALL;
        goto K6zCC;
        K6zCC:
        Y6wwZ:
        goto ioXxK;
        x8KOI:
    }
    public function getPHPVersion()
    {
        $ssg98 = phpversion();
        return $ssg98;
    }
    public function getCart2QuoteLicense()
    {
        $UNKfz = Mage::getStoreConfig(
            "qquoteadv_general/quotations/licence_key"
        );
        return $UNKfz;
    }
    public function getCart2QuoteEdition()
    {
        goto dTkUB;
        gZ2x7:
        return $y2XFC;
        goto t3MUU;
        VOv42:
        MJFj8:
        goto gZ2x7;
        x0qPG:
        $y2XFC = "unknown";
        goto VOv42;
        dTkUB:
        $y2XFC = Mage::getStoreConfig("qquoteadv_general/quotations/edition");
        goto XvRXq;
        XvRXq:
        if (!(!isset($y2XFC) || empty($y2XFC))) {
            goto MJFj8;
        }
        goto x0qPG;
        t3MUU:
    }
    public function getMagentoVersion()
    {
        return Mage::getVersion();
    }
    public function getOpenMageVersion()
    {
        goto OmYCb;
        nf2CP:
        Awabt:
        goto XIzjP;
        VONkM:
        BsDRF:
        goto Y0pQz;
        Y0pQz:
        return Mage::getOpenMageVersion();
        goto nf2CP;
        w83b0:
        return '';
        goto t5qBB;
        OmYCb:
        if (method_exists("Mage", "getOpenMageVersion")) {
            goto BsDRF;
        }
        goto w83b0;
        t5qBB:
        goto Awabt;
        goto VONkM;
        XIzjP:
    }
    public function getMagentoEdition()
    {
        goto hpw9s;
        TKfXD:
        $y2XFC = Mage::getEdition();
        goto n1Y80;
        yVm5A:
        return '';
        goto aXCW9;
        tRpZm:
        AxmXl:
        goto TKfXD;
        uJSCE:
        YP1Ke:
        goto mtdcM;
        aXCW9:
        goto YP1Ke;
        goto tRpZm;
        hpw9s:
        if (method_exists("Mage", "getEdition")) {
            goto AxmXl;
        }
        goto yVm5A;
        n1Y80:
        return $y2XFC;
        goto uJSCE;
        mtdcM:
    }
    public function getCurrentDomain()
    {
        goto d80su;
        HVzuN:
        goto LjxDa;
        goto y_qsZ;
        Q1sd6:
        $xymPu = $_SERVER["HTTP_HOST"];
        goto J_J2T;
        laqUM:
        $xymPu = Mage::getStoreConfig("web/secure/base_url", 0);
        goto nv4Hu;
        zqZid:
        $xymPu = $_SERVER["SERVER_NAME"];
        goto HVzuN;
        pM4nn:
        NhzfG:
        goto H4P56;
        LCym8:
        if ($xymPu) {
            goto NhzfG;
        }
        goto laqUM;
        H4P56:
        $xymPu = self::pZgNW($xymPu);
        goto pVQ9d;
        J_J2T:
        LjxDa:
        goto XYY1f;
        pVQ9d:
        return $_SERVER["SERVER_NAME"] . " (" . $xymPu . ")";
        goto rRh4F;
        XYY1f:
        fDAhs:
        goto pM4nn;
        d80su:
        $xymPu = Mage::getStoreConfig("web/unsecure/base_url", 0);
        goto LCym8;
        ehSc9:
        if (!empty($_SERVER["HTTP_HOST"])) {
            goto bD25h;
        }
        goto zqZid;
        nv4Hu:
        if ($xymPu) {
            goto fDAhs;
        }
        goto ehSc9;
        y_qsZ:
        bD25h:
        goto Q1sd6;
        rRh4F:
    }
    public function ioncube_loader_version()
    {
        goto JxE33;
        MpPGu:
        CfTAt:
        goto no213;
        dxSi0:
        if (!($mDE2a >= 61000000 / 610)) {
            goto ezhY9;
        }
        goto HJtrF;
        TGPZh:
        if (!function_exists("ioncube_loader_version")) {
            goto CfTAt;
        }
        goto evz2_;
        HJtrF:
        $Nc3lF = 801 / 801;
        goto yWtaz;
        dWcau:
        $wFkxx = (int) substr($mDE2a, 2019 / 673 + $Nc3lF, 1164 / 582);
        goto GY0Jy;
        N74oo:
        $dX25D = (int) substr($mDE2a, 0, 364 / 364 + $Nc3lF);
        goto p06NZ;
        evz2_:
        $ByOij = ioncube_loader_version();
        goto MpPGu;
        NqLXr:
        if (function_exists("ioncube_loader_iversion")) {
            goto Sw0Fw;
        }
        goto TGPZh;
        PPejj:
        Sw0Fw:
        goto nlikn;
        JxE33:
        $ByOij = '';
        goto NqLXr;
        HB5nt:
        qjWyt:
        goto fPmIR;
        fPmIR:
        return $ByOij;
        goto VT_jN;
        nlikn:
        $mDE2a = ioncube_loader_iversion();
        goto ACfyK;
        GY0Jy:
        $ByOij = sprintf("%d.%d.%d", $dX25D, $odtu7, $wFkxx);
        goto HB5nt;
        no213:
        goto qjWyt;
        goto PPejj;
        p06NZ:
        $odtu7 = (int) substr($mDE2a, 586 / 586 + $Nc3lF, 1466 / 733);
        goto dWcau;
        yWtaz:
        ezhY9:
        goto N74oo;
        ACfyK:
        $Nc3lF = 0;
        goto dxSi0;
        VT_jN:
    }
    public function getCart2QuoteExpiryDate()
    {
        goto KoNMg;
        KoNMg:
        $Bzq8U = Mage::getStoreConfig(
            "qquoteadv_general/quotations/expiry_date"
        );
        goto S30K1;
        S30K1:
        if (!(!isset($Bzq8U) || empty($Bzq8U))) {
            goto wFy3U;
        }
        goto r10JF;
        r10JF:
        $Bzq8U = "unknown";
        goto DL43o;
        PMqWS:
        return $Bzq8U;
        goto fo64t;
        DL43o:
        wFy3U:
        goto PMqWS;
        fo64t:
    }
    public function getCart2QuoteTrialExpired()
    {
        return Mage::getStoreConfig("qquoteadv_general/quotations/has_expired");
    }
    public function getRequiredLicense($I1jGk = null)
    {
        goto NYeyO;
        qeRAX:
        if (array_key_exists($I1jGk, $this->CYbZD[self::UUNI4])) {
            goto gmjId;
        }
        goto ouhjM;
        ouhjM:
        goto gf5gy;
        goto dyjwB;
        J3YiB:
        goto gf5gy;
        goto YA1me;
        L_ADN:
        if (array_key_exists($I1jGk, $this->CYbZD[self::ni_gP])) {
            goto aCff9;
        }
        goto qeRAX;
        Ei5yR:
        gmjId:
        goto H01qj;
        YA1me:
        aCff9:
        goto AjdxK;
        NYeyO:
        if (array_key_exists($I1jGk, $this->CYbZD[self::jKqt0])) {
            goto NGv5s;
        }
        goto L_ADN;
        z0EGt:
        return self::dVBtr;
        goto J3YiB;
        AjdxK:
        return self::pxcSy;
        goto bwvEo;
        H01qj:
        return self::mt2o3;
        goto LP5ON;
        LP5ON:
        gf5gy:
        goto bGSfW;
        bGSfW:
        return self::QenVP;
        goto Kmsxd;
        dyjwB:
        NGv5s:
        goto z0EGt;
        bwvEo:
        goto gf5gy;
        goto Ei5yR;
        Kmsxd:
    }
    private function jEosn($Ha2M0)
    {
        goto ufSLU;
        q6EXH:
        return [];
        goto p4bAm;
        ufSLU:
        switch ($Ha2M0) {
            case self::UUNI4:
                return $this->CYbZD[self::UUNI4];
            case self::ni_gP:
                return array_merge_recursive(
                    $this->CYbZD[self::UUNI4],
                    $this->CYbZD[self::ni_gP]
                );
            case self::jKqt0:
            case "all":
                return array_merge_recursive(
                    $this->CYbZD[self::UUNI4],
                    $this->CYbZD[self::ni_gP],
                    $this->CYbZD[self::jKqt0]
                );
        }
        goto XXNgK;
        U90fq:
        y0oEB:
        goto q6EXH;
        XXNgK:
        AZk6x:
        goto U90fq;
        p4bAm:
    }
    public function getAllFeatures()
    {
        return $this->jEosn("all");
    }
} ?>

Function Calls

None

Variables

None

Stats

MD5 6a0313f1460ac3d4e6a103361028980b
Eval Count 0
Decode Time 76 ms