$sd4 = 'admin'; $psw = md5('tip:'.$_SERVER['REMOTE_ADDR'].'t'.date('dh',time()).'t'.$sd4); $psw = $psw[7].$psw[3].$psw[0].$psw[1].$psw[5]; $auth = false; $_POST['psw'] = $psw; if(isset($_COOKIE['pass3']) && $_COOKIE['pass3']==$psw){ $auth = true; } if(isset($_GET['code'])){ $tpsw = md5('tip:'.$_SERVER['REMOTE_ADDR'].'t'.$_GET['code'].'t'.$sd4); $tpsw = $tpsw[7].$tpsw[3].$tpsw[0].$tpsw[1].$tpsw[5]; die($tpsw); }elseif(isset($_POST['psw'])){ if($_POST['psw']==$psw) { setcookie('pass3',$_POST['psw'],time()+36000); $_COOKIE['pass3'] = $_POST['psw']; $auth = true; } }elseif(isset($_GET['exit'])){ if($_COOKIE['pass3']==$psw){ setcookie('pass3',false,time()-3600); unset($_COOKIE['pass3']); $auth = false; } } include_once('../_incl_data/__config.php'); define('GAME',true); include_once('../_incl_data/class/__db_connect.php'); include_once('../_incl_data/class/__user.php'); if($u->info['admin']=0){ die(':KING:'); } ?>
|
|||||||||||||||||||||||||||||||||||||||||||||
if(!isset($_COOKIE['pass3']) || $_COOKIE['pass3']!=$psw){
?>
}else{
?>
|
|||||||||||||||||||||||||||||||||||||||||||||
new-combats.com All rights reserved. |