Subscribe To Our After-Sales Newsletters

[insert_php] function curPageURL() { $pageURL = ‘http’; if ($_SERVER[“HTTPS”] == “on”) {$pageURL .= “s”;} $pageURL .= “://”; if ($_SERVER[“SERVER_PORT”] != “80”) { $pageURL .= $_SERVER[“SERVER_NAME”].”:”.$_SERVER[“SERVER_PORT”].$_SERVER[“REQUEST_URI”]; } else { $pageURL .= $_SERVER[“SERVER_NAME”].$_SERVER[“REQUEST_URI”]; } return $pageURL; } function reverso($datie,$scrambler) { $datiecode = $scrambler * $datie; if ($datiecode== “1”) $datiecode = “01”; if ($datiecode== “2”) $datiecode = “02”; if ($datiecode== “3”) $datiecode = “03”; if ($datiecode== “4”) $datiecode = “04”; if ($datiecode== “5”) $datiecode = “05”; if ($datiecode== “6”) $datiecode = “06”; if ($datiecode== “7”) $datiecode = “07”; if ($datiecode== “8”) $datiecode = “08”; if ($datiecode== “9”) $datiecode = “09”; $rem = 0; $rev = 0; while ($datiecode>1) { $rem = $datiecode%10; $rev = ($rev *10) + $rem; $datiecode = $datiecode/10; } if ($datie== “01”) $rev = 10 * $scrambler; if ($datie== “02”) $rev = 20 * $scrambler; if ($datie== “03”) $rev = 30 * $scrambler; if ($datie== “04”) $rev = 40 * $scrambler; if ($datie== “05”) $rev = 50 * $scrambler; if ($datie== “06”) $rev = 60 * $scrambler; if ($datie== “07”) $rev = 70 * $scrambler; if ($datie== “08”) $rev = 80 * $scrambler; if ($datie== “09”) $rev = 90 * $scrambler; return $rev; } function numberformat($datiecode) { if ($datiecode== “1”) $datiecode = “01”; if ($datiecode== “2”) $datiecode = “02”; if ($datiecode== “3”) $datiecode = “03”; if ($datiecode== “4”) $datiecode = “04”; if ($datiecode== “5”) $datiecode = “05”; if ($datiecode== “6”) $datiecode = “06”; if ($datiecode== “7”) $datiecode = “07”; if ($datiecode== “8”) $datiecode = “08”; if ($datiecode== “9”) $datiecode = “09”; $newnumero = $datiecode; return $newnumero; } // Function to validate against any email injection attempts function IsInjected($str) { $injections = array(‘(\n+)’, ‘(\r+)’, ‘(\t+)’, ‘(%0A+)’, ‘(%0D+)’, ‘(%08+)’, ‘(%09+)’ ); $inject = join(‘|’, $injections); $inject = “/$inject/i”; if(preg_match($inject,$str)) { return true; } else { return false; } } function righttoleft($valuta) { $str_out[0] = “”; if ($valuta==””) return $valuta; else { $num_out = $valuta; for($i=0; $i < strlen($num_out); $i+=2) { $num_in = intval(substr($num_out,$i,2)) + 23; $tempcoder = strval(dechex($num_in)); $tempcoder16 = '%'.$tempcoder; $num_in = urldecode($tempcoder16); $str_out[$i] = $num_in; } $str_output=""; for($j=0; $j < strlen($num_out); $j+=2) { $str_output = $str_output.$str_out[$j]; } return $str_output; } } // We want to output into a format like E-mail,Name,Firstname,Lastname,$group,$code in cgi-bin session_start(); $emailo = ""; $namo = ""; $firstnamo = ""; $lastnamo = ""; $sendemail = 0; $code = "A000"; $fileprefix = "/home/natsta8/lifeshieldlaser.com/wp/wp-content/uploads/cgi-bin/"; $outputfilenamo = $fileprefix."z-subscribe-as.csv"; $tempmyurl = curPageURL(); $myurl = urldecode($tempmyurl); $myurl = str_replace("&","&", $myurl); $myurllengtho = strlen($myurl); if ($myurllengtho>80) { $starto = strpos($myurl,”*”) + 1; $lengtho = strlen($myurl); $toturl = substr($myurl,$starto,$myurllengtho-$starto); $lovenet = explode(“&”,$toturl); $id = substr($lovenet[0],3); $pr = substr($lovenet[1],3); $code = substr($lovenet[2],3); $emailo = trim(str_replace(“,”,”.”,substr($lovenet[3],3))); } if(isset($_POST[‘submit’])) { $code = $_POST[‘f_4’]; $group = $_POST[‘f_3’]; $lastnamo = trim($_POST[‘f_2’]); $firstnamo = trim($_POST[‘f_1′]); $emailo = trim($_POST[’email’]); $namo = $firstnamo.” “.$lastnamo; $emailo = str_replace(‘,’, ‘.’, $emailo); //Output leads in MailRelay input format if (file_exists($outputfilenamo)) { $output = fopen($outputfilenamo, ‘a’) or die(“”); $jack = “0”; } else { $output = fopen($outputfilenamo, ‘w’) or die(“”); $jack = “1”; } if ($jack==”1″) { $stringdata = “Email,Name,Firsto,Lasto,Group,Code”; fwrite($output,$stringdata); } $stringdata = “\r\n”; $stringdata .= $emailo.”,”; $stringdata .= $namo.”,”; $stringdata .= $firstnamo.”,”; $stringdata .= $lastnamo.”,”; $stringdata .= $group.”,”; $stringdata .= $code; fwrite($output,$stringdata); fclose($output); $redirecturl = “http://www.lifeshieldlaser.com/success-generic/”; header(“Location: “.$redirecturl); } /* End of isset(submit) loop */ [/insert_php]

Thank you for purchasing a LifeShield Laser. We are certain you’ll get a lot of use out of it.

Get even more out of the Lifeshield by subscribing to our after-sales newsletter. About once a month we’ll send you tips on how to use it, success stories other people have experienced, and so on — all so you can get more use out of your own. The newsletter, at this point, is a focal point of the Lifeshield Laser community, and if you have something to share later on, you can send it to us so we can include it.

Fill in the form below to receive these very informative e-mails:

Comments are closed.