isMobile() || $detect->isTablet() ) { header( 'Location: special2-nosplit-mobile.php'.$querystring.'' ); } // capture variables from affiliate links if ( isset( $_GET['e'] ) ) $email = $_GET['e']; if ( isset( $_GET['sentemail'] ) ) $sentemail = $_GET['sentemail']; if ( isset( $_GET['o'] ) ) $offer_id = (int)$_GET['o']; if ( isset( $_GET['a'] ) ) $aff_id = (int)$_GET['a']; if ( isset( $_GET['s'] ) ) $sub_id = $_GET['s']; if ( isset( $_GET['s1'] ) ) $sub_id = $_GET['s1']; if ( isset( $_GET['campaign'] ) ) $campaign_id = (int)$_GET['campaign']; if ( isset( $_GET['r'] ) ) $req_id = (int)$_GET['r']; if ( isset( $_GET['s2'] ) ) $sub_id_2 = $_GET['s2']; if ( isset( $_GET['s3'] ) ) $sub_id_3 = $_GET['s3']; if ( isset( $_GET['s4'] ) ) $sub_id_4 = $_GET['s4']; if ( isset( $_GET['cr'] ) ) $cake_cr = (int)$_GET['cr']; if ( isset( $_GET['blog'] ) ) $blog= $_GET['blog']; if ( isset( $_GET['post'] ) ) $post= $_GET['post']; // capture variables from if ( isset( $_GET['inf_custom_cakeoffer'] ) ) $offer_id = (int)$_GET['inf_custom_cakeoffer']; if ( isset( $_GET['inf_custom_cakeaffiliate'] ) ) $aff_id = (int)$_GET['inf_custom_cakeaffiliate']; if ( isset( $_GET['inf_custom_cakesubid'] ) ) $sub_id = $_GET['inf_custom_cakesubid']; if ( isset( $_GET['inf_custom_LeadSource'] ) ) $campaign_id = (int)$_GET['inf_custom_LeadSource']; if ( isset( $_GET['inf_field_Email'] ) ) $email = $_GET['inf_field_Email']; if ( isset( $_GET['inf_custom_cakereqid'] ) ) $req_id = (int)$_GET['r']; if ( isset( $_GET['inf_custom_cakes2'] ) ) $sub_id_2 = $_GET['inf_custom_cakes2']; if ( isset( $_GET['inf_custom_cakes3'] ) ) $sub_id_3 = $_GET['inf_custom_cakes3']; if ( isset( $_GET['inf_custom_cakes4'] ) ) $sub_id_4 = $_GET['inf_custom_cakes4']; if ( isset( $_GET['inf_custom_cakecreative'] ) ) $cake_cr = (int)$_GET['inf_custom_cakecreative']; if ( isset( $_GET['inf_custom_sentemail'] ) ) $sentemail = $_GET['inf_custom_sentemail']; // if(!isset($_COOKIE["special2geolocation"])) // { // include('includes/ip2locationlite.class.php'); // $ipLite = new ip2location_lite; // $ipLite->setKey('00e0e9c8b539c8d016a982e574333e3f52b901eda6e6539c0340201dc254fda5'); // $visitorGeolocation = $ipLite->getCity($_SERVER['REMOTE_ADDR']); // if ($visitorGeolocation['statusCode'] == 'OK') // { // $data = base64_encode(serialize($visitorGeolocation)); // setcookie("geolocation", $data, time()+3600*24*7); //set cookie for 1 week // } // } // else // { // $visitorGeolocation = unserialize(base64_decode($_COOKIE["geolocation"])); // } // $city_region = false; // if(isset($visitorGeolocation['statusCode']) && $visitorGeolocation['statusCode'] == 'OK') // { // if(isset($visitorGeolocation['cityName']) && $visitorGeolocation['cityName'] != '-') // { // $city = ucfirst ( strtolower( $visitorGeolocation['cityName'] ) ); // } // else // { // $city = false; // } // if(isset($visitorGeolocation['regionName']) && $visitorGeolocation['regionName'] != '-') // { // $region = ucfirst ( strtolower( $visitorGeolocation['regionName'] ) ); // } // else // { // $region = false; // } // if($city && $region) // { // $city_region = $city . ', ' . $region; // } // else if($city && !$region) // { // $city_region = $city; // } // else if(!$city && $region) // { // $city_region = $region; // } // } ?> Free Video - Limited Time Only!