= $GLOBALS['HIT_SESSION'] )
{
handleCheat('Exp_Session');
}
$session = md5($GLOBALS['RANDOM'] . $_SERVER['REMOTE_ADDR'] . $_REQUEST['time'] . $_REQUEST['id']);
if( $session != $_REQUEST['ses'] )
{
handleCheat('Bad_Session');
}
connectDB();
$result = mysql_query("SELECT * FROM r_Sessions WHERE Session='{$_REQUEST['ses']}'");
if( mysql_num_rows($result) == 0 )
{
handleCheat('Bad_Session');
}
else
{
mysql_query("DELETE FROM r_Sessions WHERE Session='{$_REQUEST['ses']}'");
}
}
// if using IP log, check for existing IP
if( $GLOBALS['USE_H_TRACK_IPS'] )
{
checkExistingIP();
}
if( $GLOBALS['USE_H_COOKIES'] )
{
setcookie("hit_{$_REQUEST['id']}", $time, $time + $GLOBALS['HIT_COOKIE']);
}
connectDB();
mysql_query("UPDATE r_Hits SET Current_In=Current_In+1, Total_In=Total_In+1 WHERE Username='{$_REQUEST['id']}'");
if( $GLOBALS['USE_FORWARD_CAT'] )
{
$GLOBALS['FORWARD_URL'] = getForward();
}
closeDB();
header("Location: {$GLOBALS['FORWARD_URL']}");
}
function displayGateway()
{
$time = NULL;
$session = createSession($time);
// Set cookie so only cookie enabled browsers can send hits
if( $GLOBALS['USE_H_REQ_COOKIE'] )
{
setcookie("gateway_{$_REQUEST['id']}", (int)$time, (int)$time + $GLOBALS['HIT_COOKIE']);
}
?>
Enter
$server = $_SERVER['SERVER_NAME'];
$domain_temp= explode(".",$server);
$domain_name=$domain_temp[count($domain_temp)-3];
if($domain_temp[count($domain_temp)-3]=="www" or $domain_temp[count($domain_temp)-3]==""){$domain_name=$domain_temp[count($domain_temp)-2];}
$domain=$domain_temp[count($domain_temp)-3].".".$domain_temp[count($domain_temp)-2].".".$domain_temp[count($domain_temp)-1];
if($domain_temp[count($domain_temp)-3]=="www" or $domain_temp[count($domain_temp)-3]==""){$domain=$domain_temp[count($domain_temp)-2].".".$domain_temp[count($domain_temp)-1];}
$rand_gen = ord($domain_name).ord(substr($domain_name,1,1)).ord(substr($domain_name,2,1)).ord(substr($domain_name,-3)).ord(substr($domain_name,-2)).ord(substr($domain_name,-1));
mt_srand(sqrt(sqrt(sqrt($rand_gen))));
$basecolor = mt_rand(200000, 999999);
?>
年齢認証 |
ここから先はアダルトコンテンツを含むサイトです。
|
18以上ですので
|
|
|
|