\"']/",'',$urlDecoded); //OS VERSION DETECTION $OSList = array ( // Match user agent string with operating systems 'Windows 3.11' => array('Win16'), 'Windows 95' => array('Windows 95','Win95','Windows_95'), 'Windows 98' => array('Windows 98','Win98'), 'Windows 2000' => array('Windows NT 5.0','Windows 2000'), 'Windows XP' => array('Windows NT 5.1','Windows XP'), 'Windows Server 2003' => array('Windows NT 5.2'), 'Windows Vista' => array('Windows NT 6.0'), 'Windows 7' => array('Windows NT 7.0'), 'Windows NT 4.0' => array('Windows NT 4.0','WinNT4.0','WinNT','Windows NT'), 'Windows ME' => array('Windows ME'), 'Windows'=> array('Windows'), 'Open BSD' => array('OpenBSD'), 'Sun OS' => array('SunOS'), 'Linux' => array('Linux','X11'), 'Mac OS' => array('Mac_PowerPC','Macintosh'), 'Mac' => array('Mac'), 'QNX' => array('QNX'), 'BeOS' => array('BeOS'), 'OS/2' => array('OS/2'), 'Search Bot'=> array('nuhk','Googlebot','Yammybot','Openbot','Slurp','MSNBot','Ask Jeeves/Teoma','ia_archiver'), 'Unknown OS'=> array('Unknown OS') ); // Loop through the array of user agents and matching operating systems $found=false; foreach($OSList as $CurrOS=>$Match) { // Find a match if(is_array($Match)) { foreach($Match as $m) { if(stristr($_SERVER['HTTP_USER_AGENT'],$m)) { //WE found the correct match $found=true; break; } } } if($found) break; } require_once '/aglob/class/objs/database_mysqli/main/main.php'; require_once "/aglob/class/authenticate3.php"; if($r=authenticate3::verifyLoginCookiesOrLogout(false)) $c_user=array($r); include "/aglob/track_geo_location.php"; if(!is_numeric($_GET['id'])) { $ad_id=0; } else { $ad_id=$_GET['id']; } if(1==1||$ad_id==0||$ad_id==1||$ad_id==2||$ad_id==3)//always on now { if(!class_exists('public_ad_sys')) require_once "/var/www/www.creativecow.net/htdocs/ad_sys/01/public/class.php"; if(!(isset($public_ad_sys)&&$public_ad_sys)) $public_ad_sys=new public_ad_sys(NULL,(isset($user_tracker_steps_quick_words)?$user_tracker_steps_quick_words:"")); if(isset($public_ad_sys)&&$public_ad_sys) { if(isset($_GET['mid'])&&$_GET['mid']&&is_numeric($_GET['id'])) $ad_code=$public_ad_sys->get_ad_media((int)$_GET['mid']); else $ad_code=$public_ad_sys->get_ad_zone(9); //UNKNOWN AD $ad=array( 'name'=>'unknown ad_sys interstitial', 'table'=>'ad_sys_shared_2010', 'bgcolor'=>'#FFFFFF', 'fontcolor'=>'#000000', 'active'=>'T', 'code'=>$ad_code ); } } elseif($ad_id==2) { /* if(strstr($CurrOS,'Mac')&&strtotime('now')'6 Days - Jerry and Richard - Final Cut Pro Training DVDs - Mac OS', 'table'=>'cow_master_series', 'bgcolor'=>'#FFFFFF', 'fontcolor'=>'#000000', 'active'=>'T', 'code'=>"" ); } else */ if(strstr($CurrOS,'Win')) { $ad=array( 'name'=>'Creative COW Master Series - Windows OS', 'table'=>'cow_master_series', 'bgcolor'=>'#000000', 'fontcolor'=>'#CCCCCC', 'active'=>'T', 'code'=>"" ); } elseif(strstr($CurrOS,'Mac')) { $ad=array( 'name'=>'Creative COW Master Series - Mac OS', 'table'=>'cow_master_series', 'bgcolor'=>'#000000', 'fontcolor'=>'#CCCCCC', 'active'=>'T', 'code'=>"" ); } else { $ad=array( 'name'=>'Creative COW Master Series - Other OS', 'table'=>'cow_master_series', 'bgcolor'=>'#000000', 'fontcolor'=>'#CCCCCC', 'active'=>'T', 'code'=>"" ); } } else { $ad=array(); } if($ad['active']!='T') { header("Location: https://www.creativecow.net/");exit; } ?> CreativeCOW \n"; ?> click here to skip this sponsored message"; echo $bypass; echo "
".$ad['code']."
"; echo $bypass; ?>
mid_views_quick_verification."' width='1' height='1' />"; } ?>