|
$useform = "
Our
polite and knowledgeable customer service team are available
if you have any queries or if you wish to place an order. Its
easy to contact us now in one of the following ways:
Call
centres are open:
8am
- 6pm (Mon - Fri)
8am - 4pm (Sat)
Call
or Fax us FREE on:
TEL:
0800 083 3085
FAX: 0800 083 3087
Or Email us at:
orders@notjuststationery.com
Write to
us:
Unit 1
Omega Works
4 Roach Road
London
E3 2PD
Alternatively please use the form below: ";
$form_block = "
";
if ($_POST[op] !="ds") {
echo "$useform";
echo "$form_block";
}
else if ($_POST[op] == "ds") {
if ($_POST[name] == "") {
$name_err1 = " You need to enter your First Name ";
$send = "no";
}
if ($_POST[sender_email] == "") {
$email_err = " You need to enter your Email Address ";
$send = "no";
}
if ($_POST[telephone] == "") {
$tel_err = " You need to enter your Telephone Number ";
$send = "no";
}
if ($send != "no") {
$msg = "Message from contact page\n";
$msg .="Name: $_POST[name]\n";
$msg .="Email: $_POST[sender_email]\n";
$msg .="Tel No: $_POST[telephone]\n";
$msg .="Message: $_POST[message]\n";
$msg .="Found out through: $_POST[select]\n";
$to = "sales@notjuststationery.com";
$subject = "Enquiry from Not Just Stationery";
$mailheaders = "From: $_POST[sender_email]\n";
$mailheaders .= "Reply-To: $_POST[sender_email]\n";
mail($to, $subject, $msg, $mailheaders);
echo "
Thank you $_POST[name]. Your enquiry has been sent and we will get back to you very shortly so continue
to browse the site or use the following links below to find out
how we can help you. Have a great day, from all of us at 'Not
Just Stationery'. ";
echo "Request
a Catalogue
Get
a quotation
Delivery
& Service Information
Resources
";
} else if ($send == "no") {
echo "$name_err1";
echo "$email_err";
echo "$tel_err";
echo "$useform";
echo "$form_block";
}
}
?>
|