Contact Us
Telephone: (214) 357-2888
Fax: (214) 352-5646
Email:
$form_block = "
You can also contact us using the form below and we'll get back to you via email, phone, or mail.
(* Required fields)
";
if ($op != "ds") {
// This are the error messages on the required fields you can add or delete
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 so that we can contact you.";
$send = "no";
}
if ($message == "") {
$email_err = "
Please enter a message, question or comment.";
$send = "no";
}
if ($send != "no") {
// this is the info that comes on the email when it's ok to send!
$msg = "E-MAIL SENT FROM http://www.jadenfabrics.com/contact.php/\n";
$msg .= "Sender's Name: $sender_name\n";
$msg .= "Sender's E-Mail: $sender_email\n";
$msg .= "Sender's Address: $sender_address\n";
$msg .= "Message: $message\n\n";
$to = "zuleyka@jadenfabrics.com";
$subject = "Website Contact";
$mailheaders = "From: Website Contact\n \n";
$mailheaders .= "Reply-To: $sender_email\n\n";
mail($to, $subject, $msg, $mailheaders);
echo "
";
echo " | | Thank you for your message. We'll get back to you shortly. Should you have any questions in the meantime, please call us at (214) 357-2888. |
";
} else if ($send == "no") {
echo "$name_err";
echo "$email_err";
echo "$company_err";
echo "$message_err";
echo "$form_block";
}
}
?>