2 || count($div1Email)<2) { $errEmail = 1; } else { $div2Email = explode(".", $div1Email[1]); } if (count($div2Email)>2 || count($div2Email)<2) { $errEmail = 1; } if ($errEmail) { $err = true; $msg .= "Invalid Email address!"; } else { $mailBody .= sprintf("Email: %s\r\n", $EMail); $emailadd = $EMail; } if ($City) { $mailBody .= sprintf("City: %s\r\n", $City); } if ($State != "N/S") { $mailBody .= sprintf("State/Province: %s\r\n", $State); } if ($Zip) { $mailBody .= sprintf("Zip: %s\r\n", $Zip); } } else { if (!$Street||!$City||$State=="N/S"||!$Zip) { $err = true; } else { $mailBody .= sprintf("Address: %s\r\nCity: %s\r\nState/Province: %s\r\nZip: %s\r\n", $Street, $City, $State, $Zip); } } } if ($Country) { $mailBody .= sprintf("Country: %s\r\n", $Country); } if (!$hear) { $err = true; } else { $mailBody .= sprintf("How did you hear about Zahm and Nagel Company?\r\n%s\r\n", $hear); } if ($MESSAGE) { $mailBody .= sprintf("Message: %s\r\n", $MESSAGE); } if ($err==true) { $blur = "

Please fill in the field(s) with *"; } else { // $test = "bchan@informatikaweb.com"; $to = "info@zahmnagel.com"; $subject = "Request for Info"; if ($emailadd) { $from = "From: $emailadd <$emailadd>"; } else { $from = "From: info@zahmnagel.com "; } mail($to, $subject, $mailBody, $from); // mail($test, $subject, $mailBody, $from); header ("Location: http://www.zahmnagel.com/index.html"); } } ?> Zahm & Nagel - Fabricantes de Equipo de Carbonatación y de Control de Calidad para la Industria Alimenticia y de Bebidas
Complete the form below and click submit

The * indicates the field is required.

* Contact Name:
* Phone:
* Company Name: Fax:
* E-Mail Address:
Or
Address:
* City:
State/Province:
  Zip/Mailing Code:
* Country:
   
* How did you hear about Zahm and Nagel Company?
$hear_about[$k]
"); } else { // if ($k==0) { // print("$prefix_type[$k]  "); // } // else { print("$hear_about[$k]
"); // } } } ?>
   
Message:

 


Para imprimir esta página, seleccione desde opciones la orientación horizontal.