include("includes/head.shtml"); ?>
Jewish Family Services of Greater Orlando
include("includes/top.shtml"); ?>
include("content/contact.shtml"); ?>
$form_block = "
";
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 include your name
";
$send = "no";
}
if ($sender_email == "") {
$email_err = "Please include your e-mail
";
$send = "no";
}
if ($send != "no") {
// this is the info that comes on the email when it's ok to send!
$msg = "CONTACT FORM\n";
$msg .= "Sender's Name: $sender_name\n";
$msg .= "Sender's E-Mail: $sender_email\n";
$msg .= "Sender's Company: $sender_company\n";
$msg .= "Message: $message\n\n";
$to = "info@jfsorlando.org";
$subject = "Completed Form Result - JFS";
$mailheaders .= "From: $sender_email\n\n";
$mailheaders .= "Reply-To: $sender_email\n\n";
mail($to, $subject, $msg, $mailheaders);
echo "Thank you... Your information has been sent!
";
} else if ($send == "no") {
echo "$name_err";
echo "$email_err";
echo "$company_err";
echo "$message_err";
echo "$form_block";
}
}
?>
include("includes/footer.shtml"); ?>