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 namespace core\basic; class Kernel { private static $krlr84d42fa73e6dd4f55..

Decoded Output download

<?php 
 
namespace core\basic; 
class Kernel 
{ 
    private static $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array; 
 
    public static function run() 
    { 
        self:: aptdlmda91fa2167ce43c937c4ee4b3106a9b0d(); 
        self:: azruirtrda91fe542b4f4f4ea82292d7aaacdc6d1(); 
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = self:: xdljrlrzlmze4c3ede6e1b8360831b29b1d1ad4a4dd(); 
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = self:: ihavaplu674b0a2c6a70846f5a4ad5c9bc8582b8($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info); 
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = self:: ihajzildc282029a31f8cbdc89b8966edd53363b($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info); 
        $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c = self:: xdlfttdmmjrlrbe2ec0f11aac8e309a075e0d22d7fdea($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info); 
        $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = self:: hdxfkkjrlrfe002a468967423e421ecc47d3bceac7($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c); 
        self:: azruizqq82fb55dfb8a796f1443262b927a5f743(); 
        self:: azruizllhzaadh0375c74d33eed2f617a9cfc77004dd83($tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b); 
    } 
 
    private static function xdljrlrzlmze4c3ede6e1b8360831b29b1d1ad4a4dd() 
    { 
        if (isset($_SERVER['PATH_INFO']) && !mb_check_encoding($_SERVER['PATH_INFO'], 'UTF-8')) { 
            $_SERVER['PATH_INFO'] = mb_convert_encoding($_SERVER['PATH_INFO'], 'utf-8', 'GBK'); 
        } 
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = ''; 
        if (isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO']) { 
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = $_SERVER['PATH_INFO']; 
        } elseif (isset($_SERVER["REDIRECT_URL"]) && $_SERVER["REDIRECT_URL"]) { 
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = str_replace('/' . basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['REDIRECT_URL']); 
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = str_replace(SITE_DIR, '', $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info); 
            $_SERVER['PATH_INFO'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info; 
        } 
        if (!$krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info) { 
            if (isset($_GET['p']) && $_GET['p']) { 
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = $_GET['p']; 
            } elseif (isset($_GET['s']) && $_GET['s']) { 
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = $_GET['s']; 
            } 
        } 
        if ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info) { 
            $krlldhl29aac5133e564e02938bab441081262e = '{^\/?([\w\-\/\.' . Config::get('url_allow_char') . ']+?)?\/?$}'; 
            if (preg_match($krlldhl29aac5133e564e02938bab441081262e, $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info)) { 
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = preg_replace($krlldhl29aac5133e564e02938bab441081262e, '$1', $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info); 
                $iha_rlqa_mimmpc1bffef5e60bc1818cfa6304c36e214fe = Config::get('url_rule_suffix'); 
                if (!!$kzm620074e011fca5e726ab47ed84ebf45d = strripos($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info, $iha_rlqa_mimmpc1bffef5e60bc1818cfa6304c36e214fe)) { 
                    $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = substr($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info, 0, $kzm620074e011fca5e726ab47ed84ebf45d); 
                } 
            } else { 
                $upd1c7fbf3d771932dfbfac908455d7b09b = true; 
            } 
        } 
        if (isset($_SERVER["QUERY_STRING"]) && !!$hm95112c21a035181f0898099146ddcbdd = $_SERVER["QUERY_STRING"]) { 
            if (!mb_check_encoding($hm95112c21a035181f0898099146ddcbdd, 'UTF-8')) { 
                $hm95112c21a035181f0898099146ddcbdd = mb_convert_encoding($hm95112c21a035181f0898099146ddcbdd, 'UTF-8', 'GBK'); 
            } 
            parse_str($hm95112c21a035181f0898099146ddcbdd, $zilkil1c817a4c47b5fd9ff1995aaa4201b2a7); 
            $krlldhl29aac5133e564e02938bab441081262e1 = '{^\/?([\x{4e00}-\x{9fa5}\w\-\/\.\s\|:=,@\?%' . Config::get('url_allow_char') . ']+?)?\/?$}u'; 
            $xrpld_apml0c3b63e66839a84d88c5a54407b33f34 = array('nsukey', 'form', 'isappinstalled'); 
            foreach ($zilkil1c817a4c47b5fd9ff1995aaa4201b2a7 as $kdpa607c0d1336a5e3549cc6f2003242568 => $wraidf44d6e9fc4041cce85cb1078636ec172) { 
                if (!in_array($kdpa607c0d1336a5e3549cc6f2003242568, $xrpld_apml0c3b63e66839a84d88c5a54407b33f34) && (!preg_match('/^[\w\-\.\/]+$/', $kdpa607c0d1336a5e3549cc6f2003242568) || !preg_match($krlldhl29aac5133e564e02938bab441081262e1, $wraidf44d6e9fc4041cce85cb1078636ec172))) { 
                    $upd1c7fbf3d771932dfbfac908455d7b09b = true; 
                    break; 
                } 
            } 
        } 
        if (isset($upd1c7fbf3d771932dfbfac908455d7b09b) && $upd1c7fbf3d771932dfbfac908455d7b09b) { 
            header('HTTP/1.1 404 Not Found'); 
            header('status: 404 Not Found'); 
            $udmdlu62c19191ff00ae8f0f09db007dba82fc = ROOT_PATH . '/defend.html'; 
            if (file_exists($udmdlu62c19191ff00ae8f0f09db007dba82fc)) { 
                require $udmdlu62c19191ff00ae8f0f09db007dba82fc; 
                exit(); 
            } else { 
                error(''); 
            } 
        } 
        define('P', $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info); 
        return $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info; 
    } 
 
    private static function ihavaplu674b0a2c6a70846f5a4ad5c9bc8582b8($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info) 
    { 
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9 = ''; 
        if (!!$uzqrplmd0550f32c0b3284a787ceb6ab0353262 = Config::get('app_domain_bind')) { 
            $mdhwdh_lrqde4e4c6a8c0d892fe87d83664210de639 = get_http_host(); 
            if (isset($uzqrplmd0550f32c0b3284a787ceb6ab0353262[$mdhwdh_lrqde4e4c6a8c0d892fe87d83664210de639])) { 
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9 = $uzqrplmd0550f32c0b3284a787ceb6ab0353262[$mdhwdh_lrqde4e4c6a8c0d892fe87d83664210de639]; 
            } 
        } 
        if (defined('URL_BIND')) { 
            if ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9 && URL_BIND != $krlr84d42fa73e6dd4f551b05b7aeae3a6b9) { 
                error(''); 
            } else { 
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9 = URL_BIND; 
            } 
        } 
        return $krlr84d42fa73e6dd4f551b05b7aeae3a6b9 ? trim_slash($krlr84d42fa73e6dd4f551b05b7aeae3a6b9) . '/' . $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info : $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info; 
    } 
 
    private static function ihajzildc282029a31f8cbdc89b8966edd53363b($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info) 
    { 
        if (!!$hzild522f5c5cf6d8f7062c335f440f13d1cc = Config::get('url_route')) { 
            if (!$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info && isset($hzild522f5c5cf6d8f7062c335f440f13d1cc['/'])) { 
                return $hzild522f5c5cf6d8f7062c335f440f13d1cc['/']; 
            } 
            foreach ($hzild522f5c5cf6d8f7062c335f440f13d1cc as $kdpa607c0d1336a5e3549cc6f2003242568 => $wraidf44d6e9fc4041cce85cb1078636ec172) { 
                $kdpa607c0d1336a5e3549cc6f2003242568 = trim_slash($kdpa607c0d1336a5e3549cc6f2003242568); 
                $hdx013a1c6963fd1978f140f84c97ad4e39 = "{" . $kdpa607c0d1336a5e3549cc6f2003242568 . "}i"; 
                if (preg_match($hdx013a1c6963fd1978f140f84c97ad4e39, $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info)) { 
                    $wraidf44d6e9fc4041cce85cb1078636ec172 = trim_slash($wraidf44d6e9fc4041cce85cb1078636ec172); 
                    $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info = preg_replace($hdx013a1c6963fd1978f140f84c97ad4e39, $wraidf44d6e9fc4041cce85cb1078636ec172, $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info); 
                    break; 
                } 
            } 
        } 
        return $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info; 
    } 
 
    private static function xdlfttdmmjrlrbe2ec0f11aac8e309a075e0d22d7fdea($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info) 
    { 
        $rkkm986c958efd44270420dfb35b847f7209 = Config::get('public_app', true); 
        if ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info) { 
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = trim_slash($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info); 
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array = explode('/', $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info); 
            self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array; 
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count = count($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array); 
            if ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count >= 3) { 
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[0]; 
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['c'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[1]; 
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['f'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[2]; 
            } elseif ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count == 2) { 
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[0]; 
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['c'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[1]; 
            } elseif ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count == 1) { 
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[0]; 
            } 
        } 
        if (!isset($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'])) { 
            $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] = $rkkm986c958efd44270420dfb35b847f7209[0]; 
        } 
        if (!isset($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['c'])) { 
            $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['c'] = 'Index'; 
        } 
        if (!isset($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['f'])) { 
            $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['f'] = 'index'; 
        } 
        if (!in_array(strtolower($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m']), $rkkm986c958efd44270420dfb35b847f7209)) { 
            error('' . $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] . ','); 
        } 
        return $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c; 
    } 
 
    private static function hdxfkkjrlrfe002a468967423e421ecc47d3bceac7($rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path) 
    { 
        define('M', strtolower($rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['m'])); 
        define('APP_MODEL_PATH', APP_PATH . '/' . M . '/model'); 
        define('APP_CONTROLLER_PATH', APP_PATH . '/' . M . '/controller'); 
        if (($lka_uph600640f3ff4884b3d602ce09a1d3c991 = Config::get('tpl_dir')) && array_key_exists(M, $lka_uph600640f3ff4884b3d602ce09a1d3c991)) { 
            if (strpos($lka_uph600640f3ff4884b3d602ce09a1d3c991[M], ROOT_PATH) === false) { 
                define('APP_VIEW_PATH', ROOT_PATH . $lka_uph600640f3ff4884b3d602ce09a1d3c991[M]); 
            } else { 
                define('APP_VIEW_PATH', $lka_uph600640f3ff4884b3d602ce09a1d3c991[M]); 
            } 
        } else { 
            define('APP_VIEW_PATH', APP_PATH . '/' . M . '/view'); 
        } 
        if (strpos($rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['c'], '.') > 0) { 
            $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = str_replace('.', '/', $rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['c']); 
            $controller = ucfirst(basename($tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b)); 
            $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = dirname($tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b) . '/' . $controller; 
        } else { 
            $controller = ucfirst($rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['c']); 
            $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = $controller; 
        } 
        $tarmm_mpad_krlr1ccd1dd966e88d0d596c30cd058c8de9 = APP_CONTROLLER_PATH . '/' . $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b . 'Controller.php'; 
        $mrwr_tzllhzaadhdb4ec4474186da643be12af58dfd9a4b = array('List', 'Content', 'About', 'Search', 'Form', 'Message'); 
        if (M == 'home' && (!file_exists($tarmm_mpad_krlr1ccd1dd966e88d0d596c30cd058c8de9) || in_array($controller, $mrwr_tzllhzaadhdb4ec4474186da643be12af58dfd9a4b))) { 
            $controller = 'Index'; 
            $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = 'Index'; 
            define('F', $rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['c']); 
            $rusimlb225b536e8e68badc44cf3fa7c9d282e = -1; 
        } else { 
            define('F', $rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['f']); 
            $rusimlb225b536e8e68badc44cf3fa7c9d282e = 0; 
        } 
        define('C', $controller); 
        if (isset($_SERVER["REQUEST_URI"])) { 
            define('URL', $_SERVER["REQUEST_URI"]); 
        } else { 
            define('URL', $_SERVER["ORIG_PATH_INFO"] . '?' . $_SERVER["QUERY_STRING"]); 
        } 
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count = count(self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array); 
        for ($i = 3 + $rusimlb225b536e8e68badc44cf3fa7c9d282e; $i < $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count; $i = $i + 2) { 
            if (isset(self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array[$i + 1])) { 
                $_GET[self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array[$i]] = self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array[$i + 1]; 
            } else { 
                $_GET[self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array[$i]] = null; 
            } 
        } 
        return $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b; 
    } 
 
    private static function azruizqq82fb55dfb8a796f1443262b927a5f743() 
    { 
        Config::get('debug') ? Check::checkAppFile() : ''; 
        if (M == 'api') { 
            if (!!$mpu29973a4ae997545edfa1cfd001fe7a4c = request('sid')) { 
                session_id($mpu29973a4ae997545edfa1cfd001fe7a4c); 
                session_start(); 
            } 
            header("Access-Control-Allow-Origin: *"); 
        } else { 
            Check::checkBs(); 
            Check::checkOs(); 
        } 
        if (file_exists(APP_PATH . '/common/function.php')) { 
            require APP_PATH . '/common/function.php'; 
        } 
        $rkk_tzlmpx0b7817b980811b44957b6c3ddbd350ae = APP_PATH . '/' . M . '/config/config.php'; 
        if (file_exists($rkk_tzlmpx0b7817b980811b44957b6c3ddbd350ae)) { 
            Config::assign($rkk_tzlmpx0b7817b980811b44957b6c3ddbd350ae); 
        } 
        $rkk_miltlpzl96ed9c9f4504a84b87478ee8699b99ac = APP_PATH . '/' . M . '/function/function.php'; 
        if (file_exists($rkk_miltlpzl96ed9c9f4504a84b87478ee8699b99ac)) { 
            require $rkk_miltlpzl96ed9c9f4504a84b87478ee8699b99ac; 
        } 
        if (file_exists(APP_PATH . '/common/' . ucfirst(M) . 'Controller.php')) { 
            $tzqq_tarmm_lrqd60ba3b1bd1d06992359d64e05e01fe72 = '\\app\\common\\' . ucfirst(M) . 'Controller'; 
            $tzqq_tarmm65c12c5d0694c9ba9669198d95955d39 = new $tzqq_tarmm_lrqd60ba3b1bd1d06992359d64e05e01fe72(); 
        } 
    } 
 
    private static function azruizllhzaadh0375c74d33eed2f617a9cfc77004dd83($controllerPath) 
    { 
        $tarmm_mpadd9c1a5af65bb107b28114fa85eb11848 = $controllerPath . 'Controller.php'; 
        $tarmm_mpad_krlr1ccd1dd966e88d0d596c30cd058c8de9 = APP_CONTROLLER_PATH . '/' . $tarmm_mpadd9c1a5af65bb107b28114fa85eb11848; 
        $tarmm_lrqd44493979f05df72f37d3564207ee3887 = '\\app\\' . M . '\\controller\\' . str_replace('/', '\\', $controllerPath) . 'Controller'; 
        $miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee = F; 
        if (!file_exists($tarmm_mpad_krlr1ccd1dd966e88d0d596c30cd058c8de9)) { 
            header('HTTP/1.1 404 Not Found'); 
            header('status: 404 Not Found'); 
            $mpad_b6d472addd936c14e2accd858b06d45b404 = ROOT_PATH . '/404.html'; 
            if (file_exists($mpad_b6d472addd936c14e2accd858b06d45b404)) { 
                require $mpad_b6d472addd936c14e2accd858b06d45b404; 
                exit(); 
            } else { 
                error(''); 
            } 
        } 
        if (!class_exists($tarmm_lrqd44493979f05df72f37d3564207ee3887)) { 
            error('' . $tarmm_lrqd44493979f05df72f37d3564207ee3887); 
        } 
        $controller = new $tarmm_lrqd44493979f05df72f37d3564207ee3887(); 
        if (method_exists($tarmm_lrqd44493979f05df72f37d3564207ee3887, $miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee)) { 
            if (strtolower($tarmm_lrqd44493979f05df72f37d3564207ee3887) != strtolower($miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee)) { 
                $hdlihl720a39eaced227ca71297eec74d069cd = $controller->$miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee(); 
            } else { 
                $hdlihl720a39eaced227ca71297eec74d069cd = $controller; 
            } 
        } else { 
            if (method_exists($tarmm_lrqd44493979f05df72f37d3564207ee3887, '_empty')) { 
                $hdlihl720a39eaced227ca71297eec74d069cd = $controller->_empty(); 
            } else { 
                error('' . $miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee . ''); 
            } 
        } 
        if ($hdlihl720a39eaced227ca71297eec74d069cd !== null) { 
            print_r($hdlihl720a39eaced227ca71297eec74d069cd); 
            exit(); 
        } 
    } 
 
    private static function azruirtrda91fe542b4f4f4ea82292d7aaacdc6d1() 
    { 
        if (!Config::get('tpl_html_cache') || URL_BIND == 'api' || get('nocache', 'int') == 1) { 
            return; 
        } 
        $ax_trtrd2064f63f57d35a149e582e502ee7a526 = RUN_PATH . '/config/' . md5('area') . '.php'; 
        if (!file_exists($ax_trtrd2064f63f57d35a149e582e502ee7a526)) { 
            return; 
        } else { 
            Config::assign($ax_trtrd2064f63f57d35a149e582e502ee7a526); 
        } 
        $axm2adf50bd3506f5aa710aa3468876eea9 = Config::get('lgs'); 
        if (count($axm2adf50bd3506f5aa710aa3468876eea9) > 1) { 
            $uzqrpl07af8998d3ed0fbe3217130703f0cad2 = get_http_host(); 
            foreach ($axm2adf50bd3506f5aa710aa3468876eea9 as $wraidf44d6e9fc4041cce85cb1078636ec172) { 
                if ($wraidf44d6e9fc4041cce85cb1078636ec172['domain'] == $uzqrpl07af8998d3ed0fbe3217130703f0cad2) { 
                    cookie('lg', $wraidf44d6e9fc4041cce85cb1078636ec172['acode']); 
                } 
            } 
        } 
        if (!isset($_COOKIE['lg'])) { 
            $udmrialf3a944ca582a412d5b588be8246d91a7 = current(Config::get('lgs')); 
            cookie('lg', $udmrialf3a944ca582a412d5b588be8246d91a7['acode']); 
        } 
        $tzlmpx_trtrd73542ac326435e961c4b207a297ac5c3 = RUN_PATH . '/config/' . md5('config') . '.php'; 
        if (!Config::assign($tzlmpx_trtrd73542ac326435e961c4b207a297ac5c3)) { 
            return; 
        } 
        if (Config::get('open_wap') && (is_mobile() || Config::get('wap_domain') == get_http_host())) { 
            $xrk32a1e148f9e48d81400f3818c5452be6 = 'wap'; 
        } else { 
            $xrk32a1e148f9e48d81400f3818c5452be6 = ''; 
        } 
        $trtrd_mpad1c0b9ab1b72ae60d3507b46f141e9a5b = RUN_PATH . '/cache/' . md5(get_http_url() . $_SERVER["REQUEST_URI"] . cookie('lg') . $xrk32a1e148f9e48d81400f3818c5452be6) . '.html'; 
        if (file_exists($trtrd_mpad1c0b9ab1b72ae60d3507b46f141e9a5b) && time() - filemtime($trtrd_mpad1c0b9ab1b72ae60d3507b46f141e9a5b) < Config::get('tpl_html_cache_time')) { 
            ob_start(); 
            include $trtrd_mpad1c0b9ab1b72ae60d3507b46f141e9a5b; 
            $tzlldllddf794baf782d6f8decad5a8e14941ed = ob_get_contents(); 
            ob_end_clean(); 
            if (Config::get('gzip') && !headers_sent() && extension_loaded("zlib") && strstr($_SERVER["HTTP_ACCEPT_ENCODING"], "gzip")) { 
                $tzlldllddf794baf782d6f8decad5a8e14941ed = gzencode($tzlldllddf794baf782d6f8decad5a8e14941ed, 6); 
                header("Content-Encoding: gzip"); 
                header("Vary: Accept-Encoding"); 
                header("Content-Length: " . strlen($tzlldllddf794baf782d6f8decad5a8e14941ed)); 
            } 
            echo $tzlldllddf794baf782d6f8decad5a8e14941ed; 
            exit(); 
        } 
    } 
 
    private static function aptdlmda91fa2167ce43c937c4ee4b3106a9b0d() 
    { 
        if (defined('URL_BIND') && URL_BIND == 'admin') { 
            return; 
        } 
        $mpk1bd907873123179eb2f7ce8ac9d33f64 = isset($_SERVER['LOCAL_ADDR']) ? $_SERVER['LOCAL_ADDR'] : $_SERVER['SERVER_ADDR']; 
        if ($mpk1bd907873123179eb2f7ce8ac9d33f64 == '::1') { 
            $mpk1bd907873123179eb2f7ce8ac9d33f64 = '127.0.0.1'; 
        } 
        if (filter_var($mpk1bd907873123179eb2f7ce8ac9d33f64, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) { 
            $pkrhh450050e6c676cdd52b9a371904283fad = explode('.', $mpk1bd907873123179eb2f7ce8ac9d33f64); 
            $xpk622e93339ce98a8e43709132974ed6b5 = array('127.0.0.1/8', '192.168.0.0/16', '10.135.122.170', '10.144.74.153', '10.0.200.188', '160.19.49.0/24'); 
            foreach ($xpk622e93339ce98a8e43709132974ed6b5 as $kdpa607c0d1336a5e3549cc6f2003242568 => $wraidf44d6e9fc4041cce85cb1078636ec172) { 
                if (self:: ldlxzhksrltrcabcd52034a597b9cfa67841d66d1f95($mpk1bd907873123179eb2f7ce8ac9d33f64, $wraidf44d6e9fc4041cce85cb1078636ec172)) { 
                    return; 
                } 
            } 
        } 
        $mpad_b6d472addd936c14e2accd858b06d45bsn = ROOT_PATH . '/sn.html'; 
        if (!!$ml300f03cfb3dee5d216da60d1ed47fd35 = Config::get('sn', true)) { 
            $rzml4495f87a864c05c74ddd54df1af5aa9d = $_SERVER['HTTP_HOST']; 
            $kdpa607c0d1336a5e3549cc6f2003242568_domain = strtoupper(substr(md5(substr(sha1($rzml4495f87a864c05c74ddd54df1af5aa9d), 0, 10)), 10, 10)); 
            $kdpa607c0d1336a5e3549cc6f2003242568_host = strtoupper(substr(md5(substr(sha1($mpk1bd907873123179eb2f7ce8ac9d33f64), 0, 15)), 10, 10)); 
            $ml300f03cfb3dee5d216da60d1ed47fd35_user = Config::get('sn_user'); 
            $kdpa607c0d1336a5e3549cc6f2003242568_user = strtoupper(substr(md5(substr(sha1($ml300f03cfb3dee5d216da60d1ed47fd35_user), 0, 20)), 10, 10)); 
            if (!in_array($kdpa607c0d1336a5e3549cc6f2003242568_domain, $ml300f03cfb3dee5d216da60d1ed47fd35) && !in_array($kdpa607c0d1336a5e3549cc6f2003242568_host, $ml300f03cfb3dee5d216da60d1ed47fd35) && !in_array($kdpa607c0d1336a5e3549cc6f2003242568_user, $ml300f03cfb3dee5d216da60d1ed47fd35)) { 
                if (file_exists($mpad_b6d472addd936c14e2accd858b06d45bsn)) { 
                    require $mpad_b6d472addd936c14e2accd858b06d45bsn; 
                    exit(); 
                } else { 
                    error('PbootCMS">>"'); 
                } 
            } 
        } else { 
            if (file_exists($mpad_b6d472addd936c14e2accd858b06d45bsn)) { 
                require $mpad_b6d472addd936c14e2accd858b06d45bsn; 
                exit(); 
            } else { 
                error('PbootCMS">>"'); 
            } 
        } 
    } 
 
    private static function ldlxzhksrltrcabcd52034a597b9cfa67841d66d1f95($pk5401b7dea82e5a94a5e006bb07827031, $ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b) 
    { 
        if (strpos($ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b, '/') > 0) { 
            $ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b = explode('/', $ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b); 
            $qzwde439078dcface293551337530dc5247c = 32 - $ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b[1]; 
            return ((ip2long($pk5401b7dea82e5a94a5e006bb07827031) >> $qzwde439078dcface293551337530dc5247c) == (ip2long($ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b[0]) >> $qzwde439078dcface293551337530dc5247c)); 
        } elseif ($ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b == $pk5401b7dea82e5a94a5e006bb07827031) { 
            return true; 
        } else { 
            return false; 
        } 
    } 
} ?>

Did this file decode correctly?

Original Code

<?php

namespace core\basic;
class Kernel
{
    private static $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array;

    public static function run()
    {
        self:: aptdlmda91fa2167ce43c937c4ee4b3106a9b0d();
        self:: azruirtrda91fe542b4f4f4ea82292d7aaacdc6d1();
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = self:: xdljrlrzlmze4c3ede6e1b8360831b29b1d1ad4a4dd();
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = self:: ihavaplu674b0a2c6a70846f5a4ad5c9bc8582b8($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info);
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = self:: ihajzildc282029a31f8cbdc89b8966edd53363b($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info);
        $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c = self:: xdlfttdmmjrlrbe2ec0f11aac8e309a075e0d22d7fdea($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info);
        $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = self:: hdxfkkjrlrfe002a468967423e421ecc47d3bceac7($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c);
        self:: azruizqq82fb55dfb8a796f1443262b927a5f743();
        self:: azruizllhzaadh0375c74d33eed2f617a9cfc77004dd83($tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b);
    }

    private static function xdljrlrzlmze4c3ede6e1b8360831b29b1d1ad4a4dd()
    {
        if (isset($_SERVER['PATH_INFO']) && !mb_check_encoding($_SERVER['PATH_INFO'], 'UTF-8')) {
            $_SERVER['PATH_INFO'] = mb_convert_encoding($_SERVER['PATH_INFO'], 'utf-8', 'GBK');
        }
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = '';
        if (isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO']) {
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = $_SERVER['PATH_INFO'];
        } elseif (isset($_SERVER["REDIRECT_URL"]) && $_SERVER["REDIRECT_URL"]) {
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = str_replace('/' . basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['REDIRECT_URL']);
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = str_replace(SITE_DIR, '', $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info);
            $_SERVER['PATH_INFO'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info;
        }
        if (!$krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info) {
            if (isset($_GET['p']) && $_GET['p']) {
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = $_GET['p'];
            } elseif (isset($_GET['s']) && $_GET['s']) {
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = $_GET['s'];
            }
        }
        if ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info) {
            $krlldhl29aac5133e564e02938bab441081262e = '{^\/?([\w\-\/\.' . Config::get('url_allow_char') . ']+?)?\/?$}';
            if (preg_match($krlldhl29aac5133e564e02938bab441081262e, $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info)) {
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = preg_replace($krlldhl29aac5133e564e02938bab441081262e, '$1', $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info);
                $iha_rlqa_mimmpc1bffef5e60bc1818cfa6304c36e214fe = Config::get('url_rule_suffix');
                if (!!$kzm620074e011fca5e726ab47ed84ebf45d = strripos($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info, $iha_rlqa_mimmpc1bffef5e60bc1818cfa6304c36e214fe)) {
                    $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = substr($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info, 0, $kzm620074e011fca5e726ab47ed84ebf45d);
                }
            } else {
                $upd1c7fbf3d771932dfbfac908455d7b09b = true;
            }
        }
        if (isset($_SERVER["QUERY_STRING"]) && !!$hm95112c21a035181f0898099146ddcbdd = $_SERVER["QUERY_STRING"]) {
            if (!mb_check_encoding($hm95112c21a035181f0898099146ddcbdd, 'UTF-8')) {
                $hm95112c21a035181f0898099146ddcbdd = mb_convert_encoding($hm95112c21a035181f0898099146ddcbdd, 'UTF-8', 'GBK');
            }
            parse_str($hm95112c21a035181f0898099146ddcbdd, $zilkil1c817a4c47b5fd9ff1995aaa4201b2a7);
            $krlldhl29aac5133e564e02938bab441081262e1 = '{^\/?([\x{4e00}-\x{9fa5}\w\-\/\.\s\|:=,@\?%' . Config::get('url_allow_char') . ']+?)?\/?$}u';
            $xrpld_apml0c3b63e66839a84d88c5a54407b33f34 = array('nsukey', 'form', 'isappinstalled');
            foreach ($zilkil1c817a4c47b5fd9ff1995aaa4201b2a7 as $kdpa607c0d1336a5e3549cc6f2003242568 => $wraidf44d6e9fc4041cce85cb1078636ec172) {
                if (!in_array($kdpa607c0d1336a5e3549cc6f2003242568, $xrpld_apml0c3b63e66839a84d88c5a54407b33f34) && (!preg_match('/^[\w\-\.\/]+$/', $kdpa607c0d1336a5e3549cc6f2003242568) || !preg_match($krlldhl29aac5133e564e02938bab441081262e1, $wraidf44d6e9fc4041cce85cb1078636ec172))) {
                    $upd1c7fbf3d771932dfbfac908455d7b09b = true;
                    break;
                }
            }
        }
        if (isset($upd1c7fbf3d771932dfbfac908455d7b09b) && $upd1c7fbf3d771932dfbfac908455d7b09b) {
            header('HTTP/1.1 404 Not Found');
            header('status: 404 Not Found');
            $udmdlu62c19191ff00ae8f0f09db007dba82fc = ROOT_PATH . '/defend.html';
            if (file_exists($udmdlu62c19191ff00ae8f0f09db007dba82fc)) {
                require $udmdlu62c19191ff00ae8f0f09db007dba82fc;
                exit();
            } else {
                error('');
            }
        }
        define('P', $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info);
        return $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info;
    }

    private static function ihavaplu674b0a2c6a70846f5a4ad5c9bc8582b8($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info)
    {
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9 = '';
        if (!!$uzqrplmd0550f32c0b3284a787ceb6ab0353262 = Config::get('app_domain_bind')) {
            $mdhwdh_lrqde4e4c6a8c0d892fe87d83664210de639 = get_http_host();
            if (isset($uzqrplmd0550f32c0b3284a787ceb6ab0353262[$mdhwdh_lrqde4e4c6a8c0d892fe87d83664210de639])) {
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9 = $uzqrplmd0550f32c0b3284a787ceb6ab0353262[$mdhwdh_lrqde4e4c6a8c0d892fe87d83664210de639];
            }
        }
        if (defined('URL_BIND')) {
            if ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9 && URL_BIND != $krlr84d42fa73e6dd4f551b05b7aeae3a6b9) {
                error('');
            } else {
                $krlr84d42fa73e6dd4f551b05b7aeae3a6b9 = URL_BIND;
            }
        }
        return $krlr84d42fa73e6dd4f551b05b7aeae3a6b9 ? trim_slash($krlr84d42fa73e6dd4f551b05b7aeae3a6b9) . '/' . $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info : $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info;
    }

    private static function ihajzildc282029a31f8cbdc89b8966edd53363b($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info)
    {
        if (!!$hzild522f5c5cf6d8f7062c335f440f13d1cc = Config::get('url_route')) {
            if (!$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info && isset($hzild522f5c5cf6d8f7062c335f440f13d1cc['/'])) {
                return $hzild522f5c5cf6d8f7062c335f440f13d1cc['/'];
            }
            foreach ($hzild522f5c5cf6d8f7062c335f440f13d1cc as $kdpa607c0d1336a5e3549cc6f2003242568 => $wraidf44d6e9fc4041cce85cb1078636ec172) {
                $kdpa607c0d1336a5e3549cc6f2003242568 = trim_slash($kdpa607c0d1336a5e3549cc6f2003242568);
                $hdx013a1c6963fd1978f140f84c97ad4e39 = "{" . $kdpa607c0d1336a5e3549cc6f2003242568 . "}i";
                if (preg_match($hdx013a1c6963fd1978f140f84c97ad4e39, $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info)) {
                    $wraidf44d6e9fc4041cce85cb1078636ec172 = trim_slash($wraidf44d6e9fc4041cce85cb1078636ec172);
                    $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info = preg_replace($hdx013a1c6963fd1978f140f84c97ad4e39, $wraidf44d6e9fc4041cce85cb1078636ec172, $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info);
                    break;
                }
            }
        }
        return $krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info;
    }

    private static function xdlfttdmmjrlrbe2ec0f11aac8e309a075e0d22d7fdea($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info)
    {
        $rkkm986c958efd44270420dfb35b847f7209 = Config::get('public_app', true);
        if ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info) {
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info = trim_slash($krlr84d42fa73e6dd4f551b05b7aeae3a6b9Info);
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array = explode('/', $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_info);
            self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array;
            $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count = count($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array);
            if ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count >= 3) {
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[0];
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['c'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[1];
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['f'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[2];
            } elseif ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count == 2) {
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[0];
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['c'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[1];
            } elseif ($krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count == 1) {
                $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] = $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_array[0];
            }
        }
        if (!isset($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'])) {
            $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] = $rkkm986c958efd44270420dfb35b847f7209[0];
        }
        if (!isset($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['c'])) {
            $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['c'] = 'Index';
        }
        if (!isset($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['f'])) {
            $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['f'] = 'index';
        }
        if (!in_array(strtolower($rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m']), $rkkm986c958efd44270420dfb35b847f7209)) {
            error('' . $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c['m'] . ',');
        }
        return $rttdmm_krlrf2de4d6201ff32b0cefc9ac34c71200c;
    }

    private static function hdxfkkjrlrfe002a468967423e421ecc47d3bceac7($rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path)
    {
        define('M', strtolower($rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['m']));
        define('APP_MODEL_PATH', APP_PATH . '/' . M . '/model');
        define('APP_CONTROLLER_PATH', APP_PATH . '/' . M . '/controller');
        if (($lka_uph600640f3ff4884b3d602ce09a1d3c991 = Config::get('tpl_dir')) && array_key_exists(M, $lka_uph600640f3ff4884b3d602ce09a1d3c991)) {
            if (strpos($lka_uph600640f3ff4884b3d602ce09a1d3c991[M], ROOT_PATH) === false) {
                define('APP_VIEW_PATH', ROOT_PATH . $lka_uph600640f3ff4884b3d602ce09a1d3c991[M]);
            } else {
                define('APP_VIEW_PATH', $lka_uph600640f3ff4884b3d602ce09a1d3c991[M]);
            }
        } else {
            define('APP_VIEW_PATH', APP_PATH . '/' . M . '/view');
        }
        if (strpos($rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['c'], '.') > 0) {
            $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = str_replace('.', '/', $rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['c']);
            $controller = ucfirst(basename($tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b));
            $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = dirname($tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b) . '/' . $controller;
        } else {
            $controller = ucfirst($rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['c']);
            $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = $controller;
        }
        $tarmm_mpad_krlr1ccd1dd966e88d0d596c30cd058c8de9 = APP_CONTROLLER_PATH . '/' . $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b . 'Controller.php';
        $mrwr_tzllhzaadhdb4ec4474186da643be12af58dfd9a4b = array('List', 'Content', 'About', 'Search', 'Form', 'Message');
        if (M == 'home' && (!file_exists($tarmm_mpad_krlr1ccd1dd966e88d0d596c30cd058c8de9) || in_array($controller, $mrwr_tzllhzaadhdb4ec4474186da643be12af58dfd9a4b))) {
            $controller = 'Index';
            $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b = 'Index';
            define('F', $rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['c']);
            $rusimlb225b536e8e68badc44cf3fa7c9d282e = -1;
        } else {
            define('F', $rttdmmf3d6f2930e2ffb2403cde4d5ec9e8966Path['f']);
            $rusimlb225b536e8e68badc44cf3fa7c9d282e = 0;
        }
        define('C', $controller);
        if (isset($_SERVER["REQUEST_URI"])) {
            define('URL', $_SERVER["REQUEST_URI"]);
        } else {
            define('URL', $_SERVER["ORIG_PATH_INFO"] . '?' . $_SERVER["QUERY_STRING"]);
        }
        $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count = count(self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array);
        for ($i = 3 + $rusimlb225b536e8e68badc44cf3fa7c9d282e; $i < $krlr84d42fa73e6dd4f551b05b7aeae3a6b9_count; $i = $i + 2) {
            if (isset(self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array[$i + 1])) {
                $_GET[self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array[$i]] = self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array[$i + 1];
            } else {
                $_GET[self::$krlr84d42fa73e6dd4f551b05b7aeae3a6b9Array[$i]] = null;
            }
        }
        return $tzllhzaadh_krlr635905fa199f82b2e05cb018805eea1b;
    }

    private static function azruizqq82fb55dfb8a796f1443262b927a5f743()
    {
        Config::get('debug') ? Check::checkAppFile() : '';
        if (M == 'api') {
            if (!!$mpu29973a4ae997545edfa1cfd001fe7a4c = request('sid')) {
                session_id($mpu29973a4ae997545edfa1cfd001fe7a4c);
                session_start();
            }
            header("Access-Control-Allow-Origin: *");
        } else {
            Check::checkBs();
            Check::checkOs();
        }
        if (file_exists(APP_PATH . '/common/function.php')) {
            require APP_PATH . '/common/function.php';
        }
        $rkk_tzlmpx0b7817b980811b44957b6c3ddbd350ae = APP_PATH . '/' . M . '/config/config.php';
        if (file_exists($rkk_tzlmpx0b7817b980811b44957b6c3ddbd350ae)) {
            Config::assign($rkk_tzlmpx0b7817b980811b44957b6c3ddbd350ae);
        }
        $rkk_miltlpzl96ed9c9f4504a84b87478ee8699b99ac = APP_PATH . '/' . M . '/function/function.php';
        if (file_exists($rkk_miltlpzl96ed9c9f4504a84b87478ee8699b99ac)) {
            require $rkk_miltlpzl96ed9c9f4504a84b87478ee8699b99ac;
        }
        if (file_exists(APP_PATH . '/common/' . ucfirst(M) . 'Controller.php')) {
            $tzqq_tarmm_lrqd60ba3b1bd1d06992359d64e05e01fe72 = '\\app\\common\\' . ucfirst(M) . 'Controller';
            $tzqq_tarmm65c12c5d0694c9ba9669198d95955d39 = new $tzqq_tarmm_lrqd60ba3b1bd1d06992359d64e05e01fe72();
        }
    }

    private static function azruizllhzaadh0375c74d33eed2f617a9cfc77004dd83($controllerPath)
    {
        $tarmm_mpadd9c1a5af65bb107b28114fa85eb11848 = $controllerPath . 'Controller.php';
        $tarmm_mpad_krlr1ccd1dd966e88d0d596c30cd058c8de9 = APP_CONTROLLER_PATH . '/' . $tarmm_mpadd9c1a5af65bb107b28114fa85eb11848;
        $tarmm_lrqd44493979f05df72f37d3564207ee3887 = '\\app\\' . M . '\\controller\\' . str_replace('/', '\\', $controllerPath) . 'Controller';
        $miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee = F;
        if (!file_exists($tarmm_mpad_krlr1ccd1dd966e88d0d596c30cd058c8de9)) {
            header('HTTP/1.1 404 Not Found');
            header('status: 404 Not Found');
            $mpad_b6d472addd936c14e2accd858b06d45b404 = ROOT_PATH . '/404.html';
            if (file_exists($mpad_b6d472addd936c14e2accd858b06d45b404)) {
                require $mpad_b6d472addd936c14e2accd858b06d45b404;
                exit();
            } else {
                error('');
            }
        }
        if (!class_exists($tarmm_lrqd44493979f05df72f37d3564207ee3887)) {
            error('' . $tarmm_lrqd44493979f05df72f37d3564207ee3887);
        }
        $controller = new $tarmm_lrqd44493979f05df72f37d3564207ee3887();
        if (method_exists($tarmm_lrqd44493979f05df72f37d3564207ee3887, $miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee)) {
            if (strtolower($tarmm_lrqd44493979f05df72f37d3564207ee3887) != strtolower($miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee)) {
                $hdlihl720a39eaced227ca71297eec74d069cd = $controller->$miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee();
            } else {
                $hdlihl720a39eaced227ca71297eec74d069cd = $controller;
            }
        } else {
            if (method_exists($tarmm_lrqd44493979f05df72f37d3564207ee3887, '_empty')) {
                $hdlihl720a39eaced227ca71297eec74d069cd = $controller->_empty();
            } else {
                error('' . $miltlpzl_lrqd29d06b3d5214508610e7f0998ccfcbee . '');
            }
        }
        if ($hdlihl720a39eaced227ca71297eec74d069cd !== null) {
            print_r($hdlihl720a39eaced227ca71297eec74d069cd);
            exit();
        }
    }

    private static function azruirtrda91fe542b4f4f4ea82292d7aaacdc6d1()
    {
        if (!Config::get('tpl_html_cache') || URL_BIND == 'api' || get('nocache', 'int') == 1) {
            return;
        }
        $ax_trtrd2064f63f57d35a149e582e502ee7a526 = RUN_PATH . '/config/' . md5('area') . '.php';
        if (!file_exists($ax_trtrd2064f63f57d35a149e582e502ee7a526)) {
            return;
        } else {
            Config::assign($ax_trtrd2064f63f57d35a149e582e502ee7a526);
        }
        $axm2adf50bd3506f5aa710aa3468876eea9 = Config::get('lgs');
        if (count($axm2adf50bd3506f5aa710aa3468876eea9) > 1) {
            $uzqrpl07af8998d3ed0fbe3217130703f0cad2 = get_http_host();
            foreach ($axm2adf50bd3506f5aa710aa3468876eea9 as $wraidf44d6e9fc4041cce85cb1078636ec172) {
                if ($wraidf44d6e9fc4041cce85cb1078636ec172['domain'] == $uzqrpl07af8998d3ed0fbe3217130703f0cad2) {
                    cookie('lg', $wraidf44d6e9fc4041cce85cb1078636ec172['acode']);
                }
            }
        }
        if (!isset($_COOKIE['lg'])) {
            $udmrialf3a944ca582a412d5b588be8246d91a7 = current(Config::get('lgs'));
            cookie('lg', $udmrialf3a944ca582a412d5b588be8246d91a7['acode']);
        }
        $tzlmpx_trtrd73542ac326435e961c4b207a297ac5c3 = RUN_PATH . '/config/' . md5('config') . '.php';
        if (!Config::assign($tzlmpx_trtrd73542ac326435e961c4b207a297ac5c3)) {
            return;
        }
        if (Config::get('open_wap') && (is_mobile() || Config::get('wap_domain') == get_http_host())) {
            $xrk32a1e148f9e48d81400f3818c5452be6 = 'wap';
        } else {
            $xrk32a1e148f9e48d81400f3818c5452be6 = '';
        }
        $trtrd_mpad1c0b9ab1b72ae60d3507b46f141e9a5b = RUN_PATH . '/cache/' . md5(get_http_url() . $_SERVER["REQUEST_URI"] . cookie('lg') . $xrk32a1e148f9e48d81400f3818c5452be6) . '.html';
        if (file_exists($trtrd_mpad1c0b9ab1b72ae60d3507b46f141e9a5b) && time() - filemtime($trtrd_mpad1c0b9ab1b72ae60d3507b46f141e9a5b) < Config::get('tpl_html_cache_time')) {
            ob_start();
            include $trtrd_mpad1c0b9ab1b72ae60d3507b46f141e9a5b;
            $tzlldllddf794baf782d6f8decad5a8e14941ed = ob_get_contents();
            ob_end_clean();
            if (Config::get('gzip') && !headers_sent() && extension_loaded("zlib") && strstr($_SERVER["HTTP_ACCEPT_ENCODING"], "gzip")) {
                $tzlldllddf794baf782d6f8decad5a8e14941ed = gzencode($tzlldllddf794baf782d6f8decad5a8e14941ed, 6);
                header("Content-Encoding: gzip");
                header("Vary: Accept-Encoding");
                header("Content-Length: " . strlen($tzlldllddf794baf782d6f8decad5a8e14941ed));
            }
            echo $tzlldllddf794baf782d6f8decad5a8e14941ed;
            exit();
        }
    }

    private static function aptdlmda91fa2167ce43c937c4ee4b3106a9b0d()
    {
        if (defined('URL_BIND') && URL_BIND == 'admin') {
            return;
        }
        $mpk1bd907873123179eb2f7ce8ac9d33f64 = isset($_SERVER['LOCAL_ADDR']) ? $_SERVER['LOCAL_ADDR'] : $_SERVER['SERVER_ADDR'];
        if ($mpk1bd907873123179eb2f7ce8ac9d33f64 == '::1') {
            $mpk1bd907873123179eb2f7ce8ac9d33f64 = '127.0.0.1';
        }
        if (filter_var($mpk1bd907873123179eb2f7ce8ac9d33f64, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) {
            $pkrhh450050e6c676cdd52b9a371904283fad = explode('.', $mpk1bd907873123179eb2f7ce8ac9d33f64);
            $xpk622e93339ce98a8e43709132974ed6b5 = array('127.0.0.1/8', '192.168.0.0/16', '10.135.122.170', '10.144.74.153', '10.0.200.188', '160.19.49.0/24');
            foreach ($xpk622e93339ce98a8e43709132974ed6b5 as $kdpa607c0d1336a5e3549cc6f2003242568 => $wraidf44d6e9fc4041cce85cb1078636ec172) {
                if (self:: ldlxzhksrltrcabcd52034a597b9cfa67841d66d1f95($mpk1bd907873123179eb2f7ce8ac9d33f64, $wraidf44d6e9fc4041cce85cb1078636ec172)) {
                    return;
                }
            }
        }
        $mpad_b6d472addd936c14e2accd858b06d45bsn = ROOT_PATH . '/sn.html';
        if (!!$ml300f03cfb3dee5d216da60d1ed47fd35 = Config::get('sn', true)) {
            $rzml4495f87a864c05c74ddd54df1af5aa9d = $_SERVER['HTTP_HOST'];
            $kdpa607c0d1336a5e3549cc6f2003242568_domain = strtoupper(substr(md5(substr(sha1($rzml4495f87a864c05c74ddd54df1af5aa9d), 0, 10)), 10, 10));
            $kdpa607c0d1336a5e3549cc6f2003242568_host = strtoupper(substr(md5(substr(sha1($mpk1bd907873123179eb2f7ce8ac9d33f64), 0, 15)), 10, 10));
            $ml300f03cfb3dee5d216da60d1ed47fd35_user = Config::get('sn_user');
            $kdpa607c0d1336a5e3549cc6f2003242568_user = strtoupper(substr(md5(substr(sha1($ml300f03cfb3dee5d216da60d1ed47fd35_user), 0, 20)), 10, 10));
            if (!in_array($kdpa607c0d1336a5e3549cc6f2003242568_domain, $ml300f03cfb3dee5d216da60d1ed47fd35) && !in_array($kdpa607c0d1336a5e3549cc6f2003242568_host, $ml300f03cfb3dee5d216da60d1ed47fd35) && !in_array($kdpa607c0d1336a5e3549cc6f2003242568_user, $ml300f03cfb3dee5d216da60d1ed47fd35)) {
                if (file_exists($mpad_b6d472addd936c14e2accd858b06d45bsn)) {
                    require $mpad_b6d472addd936c14e2accd858b06d45bsn;
                    exit();
                } else {
                    error('PbootCMS">>"');
                }
            }
        } else {
            if (file_exists($mpad_b6d472addd936c14e2accd858b06d45bsn)) {
                require $mpad_b6d472addd936c14e2accd858b06d45bsn;
                exit();
            } else {
                error('PbootCMS">>"');
            }
        }
    }

    private static function ldlxzhksrltrcabcd52034a597b9cfa67841d66d1f95($pk5401b7dea82e5a94a5e006bb07827031, $ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b)
    {
        if (strpos($ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b, '/') > 0) {
            $ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b = explode('/', $ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b);
            $qzwde439078dcface293551337530dc5247c = 32 - $ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b[1];
            return ((ip2long($pk5401b7dea82e5a94a5e006bb07827031) >> $qzwde439078dcface293551337530dc5247c) == (ip2long($ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b[0]) >> $qzwde439078dcface293551337530dc5247c));
        } elseif ($ldlxzhk407b36362f0ad40bf2b0c9bd0ba3434b == $pk5401b7dea82e5a94a5e006bb07827031) {
            return true;
        } else {
            return false;
        }
    }
}

Function Calls

None

Variables

None

Stats

MD5 babe54a54125d70216f5ddc306e08ae2
Eval Count 0
Decode Time 117 ms