<?
require_once("config.php");
require_once("banner_lib.php");


if(isset($_POST[smail]))
{
	if(!empty($_POST[nEmail]) && ereg("@", $_POST[nEmail]))
	{
      $q1 = "delete from dd_newsletter where nemail = '$_POST[nEmail]' ";
		mysql_query($q1);

		if(!mysql_error())
		{
			header("location:mailremove_thankyou.php");
			exit();
		}
	}
}

header("location:mailremove_thankyou.php");
exit();
?>