include("/web/sites/lotza/include_files/mobile_redirect_include.php"); ?> // Defaults $siteid = 1; // Set to the site id of the site being redirected $link = 'join.my-sex-life.com'; // Set to the link domain of the site being redirected $programid = 2; // Do not change $campaignid = 0; // Do not change if ($_REQUEST['id'] && is_numeric($_REQUEST['id'])) { // offset from the import $wm_offset = 100; // set campaign $campaignid = $_REQUEST['id'] + $wm_offset; // build the link $nats = str_replace('=', '', base64_encode($campaignid.':'.$programid.':'.$siteid)); $link = 'http://' . $link . '/track/' . $nats . '/'; //echo $link; Header("Location: $link"); } else if(!$_REQUEST['nats']){ $nats = 'MTAwMDMyNjoyMDox'; // $nats = 'MTAwMDAzMDoyOjE'; (Default NATS Code) header("Location: https://join.my-sex-life.com/track/$nats"); } ?>