"; require ("side.html"); echo "

Contact Us

Please do contact us with any issues, suggestions and comments. We will get back to you as soon as possible.

"; require ("include.php3"); $form_block = "
Your name:
E-mail address:
Message:
"; if ($op!="ds") { // they need to see the form echo $form_block; } else if ($op=="ds") { if ($sender_name=="") { $name_err="Please enter your name!
"; $send="no"; } if ($sender_email=="") { $email_err="Please enter your email address!
"; $send="no"; } if ($mail_message=="") { $message_err = "Please enter a message!
"; $send="no"; } if ($send != "no") { // it's OK to send $msg = "Email sent from SGRA site\n\n"; $msg .= "Sender's name: $sender_name\n"; $msg .= "Sender's email: $sender_email\n"; $msg .= "Message: $mail_message\n\n"; $to="jackie.steinitz@blueyonder.co.uk"; $subject="Message from SGRA website"; $mailheaders="From: $sender_email\n\n"; mail ($to, $subject, $msg, $mailheaders); msg_box("Sent Mail", "
Thank you for contacting us
", "blue"); } else if ($send =="no") { echo ""; echo "$name_err"; echo "$email_err"; echo "$message_err"; echo "$form_block"; echo ""; } } ?>