@include_once('custom.php'); if (@$_GET['PDebug'] != 'Y') { @header('Content-Type: application/x-javascript'); } try { $REQUEST = array_merge($_GET, $_POST); $settings = new Lib_SettingFile(); $settings->load(); if($settings->get('bannedips_clicks_from_iframe') == 'Y' && @$_GET['isInIframe'] == 'true') { return; } $params = new Lib_VisitParams(); $params->setUrl(@$_GET['url']); $params->setReferrerUrl(@$_GET['referrer']); $params->setTrackMethod(@$_GET['tracking']); $params->setGet(@$_GET['getParams']); $params->setAnchor(@$_GET['anchor']); $sale = @$REQUEST['sale']; if (get_magic_quotes_gpc()) { $sale = stripslashes($sale); } $params->setSale($sale); $params->setCookies(Lib_VisitorCookie::readOldCookies(@$_GET['cookies'])); $params->setIp(@$_GET['ip'] != '' ? $_GET['ip'] : Lib_Server::getRemoteIp()); $params->setUserAgent(@$_GET['useragent'] != '' ? $_GET['useragent'] : @$_SERVER['HTTP_USER_AGENT']); $params->setVisitorId(@$_GET['visitorId']); $params->setAccountId(@$_GET['accountId']);