38 lines
1015 B
PHP
38 lines
1015 B
PHP
<?php
|
|
ob_start();
|
|
if($_SERVER['REMOTE_ADDR']=="98.211.64.187"){
|
|
}
|
|
include("header-noplugins.php");
|
|
|
|
/* $Id: header.php 279 2009-12-14 20:55:12Z john $ */
|
|
|
|
// PREVENT MULTIPLE INCLUSION
|
|
date_default_timezone_set('America/Phoenix');
|
|
|
|
$sess=session_id();
|
|
if(substr($_SERVER["HTTP_REFERER"],0, 21)=="https://bateworld.com"&&($_REQUEST["task"]=="save_actionprefs"||$_REQUEST["task"]=="dosearch"))
|
|
{
|
|
/*mail("leprakhauns@gmail.com", "REFERRING URL", $user->user_info["user_username"]." ".$_SERVER["HTTP_REFERER"]."
|
|
".$_SERVER["PHP_SELF"]."?".$_SERVER["QUERY_STRING"]);
|
|
*/
|
|
}
|
|
if($sess!=""){
|
|
//if(!isset($_COOKIE['age_verification'])&&!isset($_SESSION['age_verification'])){
|
|
if(isset($_GET['age_verification'])) {
|
|
setcookie('age_verification', '1', time()+2592000);
|
|
$_SESSION['age_verification']=1;
|
|
}
|
|
/*else{if($sess==""){
|
|
header('Location: /verify.php');
|
|
exit();
|
|
}
|
|
};*/
|
|
|
|
header("Location: home.php");
|
|
exit();
|
|
}
|
|
|
|
header("Location: verify.php");
|
|
exit;
|
|
/* $Id: index.php 8 2009-01-11 06:02:53Z john $ */
|
|
?>
|