Online Donation
JOIN OUR MAILING LIST
if(!$_POST['emailsubscribe']) { $page = 1; } else { if (strstr($_POST['emailsubscribe'], '@') == true ){ $page = 2; $cuerpo = "Email: \n"; $cuerpo .= "" . $_POST['emailsubscribe'] . "\n"; if($_POST['subscribe']=='subscribe'){ mail("nrodes@elevationweb.org","Join Mailing List",$cuerpo); } if($_POST['subscribe']=='unsubscribe'){ mail("nrodes@elevationweb.org","Unsubscribe",$cuerpo); } } else { $page = 1; $error = "Invalid format E-mail, plase try again"; } } ?> if($page == 1) { echo $error; ?>Enter your email address above to join our e-news list.
} else { if($_POST['subscribe']=='subscribe'){ echo 'You have been succesfully added to our mailing list.';} if($_POST['subscribe']=='unsubscribe'){ echo 'You have been succesfully removed from our mailing list.'; } } ?>