//include "checkspider.php";
//$mysqlhost = "70.87.147.162";
//$mysqllogin = "box";
//$mysqlpass = "box012007";
//$mysqldb = "domainmanagement";
function ageverification($params){
//return;
global $HTTP_COOKIE_VARS,$lang,$settings;
//if (check_spider($mysqlhost,$mysqllogin,$mysqlpass,$mysqldb)==FALSE)
//{
if(!$HTTP_COOKIE_VARS['ageok']){
$defaults = array('maskbackground'=>'#FFFFFF',
'maskopacity'=>'80',
'popupclass'=>'',
'buttonsclass'=>'',
'scroollNews' => true);
extract($defaults);
extract($params);
$p = array('label' => 'age_confirmation_text',
'header' => '',
'footer' => '',
'echo' => false);
$age_confirmation_text = texts($p);//gettextByLabel('age_confirmation_text');
$age_confirmation_text = str_replace('','<\/',$age_confirmation_text);
$age_confirmation_text = str_replace("'","\\'",$age_confirmation_text);
$age_confirmation_text = preg_replace("/[\n\t\r]/","",$age_confirmation_text);
?>
}
?>
}
//if ( strpos($REMOTE_ADDR,"212.116.138") !== false ) varInfoDev($HTTP_SESSION_VARS);
?>