/* Decoded by unphp.net */ if(!isset($_SESSION['_achkych_install'])) { $msg = 'License needed!'; $_host = explode('www.', $_SERVER['HTTP_HOST']); $_host = isset($_host[1]) ? $_host[1] : $_SERVER['HTTP_HOST']; if (strpos($_host, ':')) { $_host = substr($_host, 0, strpos($_host, ':')); } if(0 === strpos($_host, "www.")) { $_host = substr($_host, 4); } $jnm = (false !== strpos($_host, ".")); $auth_subrion = true; if($jnm) { if(!isset($domains) || !in_array(str_rot13($_host), $domains) && !in_array(str_rot13('www.'.$_host), $domains)) { $auth_subrion = false; $sbr_rmt_host = 'h'.'t' . 't' . 'p'.':'.'//t' . 'oo' . 'ls.s' . 'ub' . 'ri' . 'on.c' . 'om/p' . 'in' . 'g.p' . 'hp' . '?g'.'name='.GNAME.'&do'.'main='.$_host; $rmt_rst = getPageContent($sbr_rmt_host); if(FALSE !== $rmt_rst) { $auth_subrion = true; $sbr_rmt_rst = unserialize($rmt_rst); if(!$sbr_rmt_rst['passed']) { $auth_subrion = false; $msg = $sbr_rmt_rst['msg']; } } } if($auth_subrion) { if(!isset($_POST['_license']) || !isset($_POST['_username'])) { $auth_subrion = false; } elseif(GNAME != md5($_POST['_username'].LSALT).md5($_POST['_license'].LSALT)) { $auth_subrion = false; } } } if($auth_subrion) { $msg = ''; $_SESSION['_achkych_install'] = $auth_subrion; } else { unset($_SESSION['_achkych_install']); $current = 'license'; } }