$max) { if ($err == "") { $err = $msg->err_maxlen($max); } $err_field = $err; if ($check==true) $check = false; } if (strlen($field) < $min) { if ($min_err == "") { $min_err = $msg->err_minlen($min); } $err_field = $min_err; if ($check==true) $check = false; } } function check_mail(&$check, $fld, &$error_field, $invalidchars="", $blanks="") { global $msg; $expr = "^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z][a-z]+\$"; //echo "expr=" . $expr . "
"; if ((!$fld) || ($fld=="") || (!eregi($expr,$fld))) { if ($invalidchars > "") { $error_field = $invalidchars . "
\n"; } else { $error_field = "invalid characters
\n"; } if ($check==true) $check =false; } if (strrpos($fld,' ') > 0) { if ($blanks > "") { $error_field = $blanks . "
\n"; } else { $error_field = "blanks in e-mail
\n"; } if ($check==true) $check =false; } } if (empty($HTTP_POST_VARS["nombre"])) $HTTP_POST_VARS["nombre"]=""; if (empty($err_nombre)) $err_nombre=" "; if (empty($HTTP_POST_VARS["empresa"])) $HTTP_POST_VARS["empresa"]=""; if (empty($err_firstname)) $err_firstname=" "; if (empty($HTTP_POST_VARS["direccion"])) $HTTP_POST_VARS["direccion"]=""; if (empty($err_lastname)) $err_lastname=" "; if (empty($HTTP_POST_VARS["telefono"])) $HTTP_POST_VARS["telefono"]=""; if (empty($err_telefono)) $err_telefono=" "; if (empty($HTTP_POST_VARS["fax2"])) $HTTP_POST_VARS["fax2"]=""; if (empty($err_postcode)) $err_postcode=" "; if (empty($HTTP_POST_VARS["ciudad"])) $HTTP_POST_VARS["ciudad"]=""; if (empty($err_city)) $err_city=" "; if (empty($HTTP_POST_VARS["estado"])) $HTTP_POST_VARS["estado"]=""; if (empty($err_phone)) $err_phone=" "; if (empty($HTTP_POST_VARS["codigopost"])) $HTTP_POST_VARS["codigopost"]=""; if (empty($err_fax)) $err_fax=" "; if (empty($HTTP_POST_VARS["submit_by"])) $HTTP_POST_VARS["submit_by"]=""; if (empty($err_email)) $err_email=" "; if (empty($HTTP_POST_VARS["interes"])) $HTTP_POST_VARS["message"]=""; if (empty($err_message)) $err_message=" "; if (empty($HTTP_POST_VARS["observac"])) $HTTP_POST_VARS["observac"]=""; if (empty($err_recommended)) $err_recommended=" "; $checked = true; if (isset($HTTP_POST_VARS["submit"])) { check_len($checked, $HTTP_POST_VARS["nombre"],80,$err_nombre,"Field too long! Maximum:80",1,"Campo requerido"); check_len($checked, $HTTP_POST_VARS["telefono"],25,$err_telefono,"Campo demasiado largo, máximo 25",1,"Campo requerido"); check_len($checked, $HTTP_POST_VARS["submit_by"],50,$err_email,"Demasiados caracteres ! Máximo:50",1,"Campo requerido"); check_mail($checked, $HTTP_POST_VARS["submit_by"], $err_email,"El correo contiene caracteres inavlidos o esta incompleto", "El correo contiene espacios en blanco."); } if ( empty($HTTP_POST_VARS["submit"]) or (!$checked) ) { ?> Bienvenidos a Calefacción Eléctrica S.A. de C.V.
   
calefaccion  calelec
 
 
 
Add to Favorites
recomienda Recommend this site
 
1


   

Please fill the following form to request any information, we will contact you as soon as possible.

  Contact Form
Name: " size="30" name="nombre"> required
Company: " size="50" name="empresa">
Address: " size="70" name="direccion">
Telephone: " size="25" name="telefono"> required
Fax: " size="15" name="fax2">
City: " size="40" name="ciudad">
State: " size="20" name="estado">
Country: " size="15" name="pais">
Zip Code : " size="10" name="codigopost">
E-mail: "> required 
Products of your interest:
Observations:


 
 
We are working to give the best services with the best quality.
 
 
 



Derechos Reservados: Calefacción Eléctrica S.A. de C.V.

Contact Us: serv@calelec.com.mx