 |
if ((empty($strName)) Or (empty($strBusiness)) Or (empty($strAddress)) Or (empty($strCity)) Or (empty($strState)) Or (empty($strZip)) Or (empty($strPhoneAC)) Or (empty($strPhone)))
{
?>
Want to Discover More About Deno?
Are you interested in finding out more about Deno? Please fill out the form below for a free informational packet and sample video.
}
else
{
$to = "deno@discoverdeno.com";
$subject = "Contact Request from your Website";
$mailheaders = "From: $strName\n";
$mailheaders .= "Reply-To: $strEmail\n\n";
$body = "$strName\n";
$body .= "$strTitle\n";
$body .= "$strBusiness\n";
$body .= "$strAddress\n";
$body .= "$strCity, $strState $strZip\n";
$body .= "($strPhoneAC) $strPhone\n";
if (!(empty($strFaxAC)) And !(empty($strFax)))
{
$body .= "($strFaxAC) $strFax\n";
}
$body .= "\n=====================================\n\n";
if ($chkPacket == "Yes")
{
$body .= "I would like a packet of information about you.\n";
}
if ($chkVideo == "Yes")
{
$body .= "I would like a video about you.\n";
}
if (($chkLeadership == "Yes") Or ($chkCustomerService == "Yes") Or ($chkTeambuilding == "Yes") Or ($chkTimeManagement == "Yes") Or ($chkPresentationSkills == "Yes"))
{
$body .= "\nI would like information on the following topics...\n";
if ($chkLeadership == "Yes")
{
$body .= " Leadership\n";
}
if ($chkCustomerService == "Yes")
{
$body .= " Customer Service\n";
}
if ($chkTeambuilding == "Yes")
{
$body .= " Team Building\n";
}
if ($chkTimeManagement == "Yes")
{
$body .= " Time Management\n";
}
if ($chkPresentationSkills == "Yes")
{
$body .= " Presentation Skills\n";
}
}
mail($to, $subject, $body, $mailheaders);
?>
Thanks for your interest!
Deno will personally get back with you shortly!
}
?>
|
 |