$_POST[email]
already member"; } else { mysql_query("insert into newsletter_subscriptions (name,mail,address,gender,birthDate,phone,mobile,active) values ('". VerifyInput($_POST[name])."','". VerifyInput($_POST[email])."','". VerifyInput($_POST[address])."','". VerifyInput($_POST[gender])."','". VerifyInput($_POST[birthDate])."','". VerifyInput($_POST[phone])."','". VerifyInput($_POST[mobile])."',0)") or die(mysql_error()); $message="A confirmation e-mail has been sent to
$_POST[email]


Please follow the instructions provided in the e-mail to activate your account to be able to receive our newsletters. "; //رسالة التاكيد $body="

newsLetter service

Thank you for subscription in ishegypt.com newsletter service

To complete subscription and activate your account, please click on the link below:

http://www.ishegypt.com/newsletterConfirm.php

To visit our web site push the link below

http://www.ishegypt.com

If you think you have received this email by error please do not pay attention.

"; $subject="ISH Egypt"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= ("From: webmaster@ishegypt.com"); @mail($_POST[email], $subject, $body, $headers); } } //////////////////////الغاء الاشتراك//////////// if($_POST[sub]==0) { $unsub_query=mysql_query("select * from newsletter_subscriptions where mail='$_POST[email]'"); $unsub=mysql_num_rows($unsub_query); if(!$unsub) { $message="$_POST[email]
already not member"; } else { $message="message was sent to
$_POST[email]

You have successfully completed your unsubscription process. Please follow the instructions in your email to delete your account.

"; //رسالة التاكيد $body="

To complete unsubscription, please click on the link below:

http://www.ishegypt.com/newsletterConfirm.php

to visit our site please push on the link below:

http://www.ishegypt.com

"; $subject="ISH Egypt"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= ("From: webmaster@ishegypt.com"); @mail($_POST[email], $subject, $body, $headers); } } } ?> :: International Students Hostel ::
Join Our Mailing List
Thank you for joining our mailing list