Ya arregé lo anterior, espero que esté mejor, pero el formulario sigue sin funcionarme... vuelvo a dejar el código esta vez recortado, perdonad la parrafada anterior...
Os dejo la dirección dónde podeis ver el formulario:
http://www.314bcn.com/contactompv.php
<?
if (!$HTTP_POST_VARS){
?>
</p>
<blockquote>
<table width="800" height="325" border="0" align="center" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="137" height="325" align="center" valign="top"> </p>
<td width="217" valign="top">
<form action="contactompv.php" method="post" onSubmit="return form_Validator(this)">
<label><span class="formulariotexto"><br />
<br />
Nombre</span><br />
<input type="text" name="nombre" id="nombre" />
</label>
<label> <span class="formulariotexto"><br />
Apellidos</span><br />
<input type="text" name="apellidos" id="apellidos" />
</label>
<label><span class="formulariotexto"><br />
Empresa</span><br />
<input type="text" name="empresa" id="empresa" />
</label>
<br />
<label> <span class="formulariotexto">E-mail</span><br />
<input type="text" name="email" id="email" />
</label>
<label> <span class="formulariotexto"><br />
Teléfono</span><br />
<input type="text" name="telefono" id="telefono" />
</label>
</form>
</td>
<td width="69" valign="top"><p><br />
<br />
<br />
</p>
<p> </p></td>
<td width="291" align="right" valign="top"><form id="form6" name="form6" method="post" action="">
<p class="formulariotexto"> </p>
<p class="formulariotexto">Mensaje</p>
<p> </p>
<label>
<textarea name="mensaje" id="mensaje" cols="45" rows="10">Escriba aquí su consulta</textarea>
</label>
</form>
<input name="Submit" type="submit" class="botones" value="Enviar">
<?
}else{
//Estoy recibiendo el formulario, compongo el cuerpo
$cuerpo = "Enviado desde 314BCN.com :\n";
$cuerpo = "Mensaje enviado desde 314BCN.com .- \n";
$cuerpo .= "Nombre: " . $HTTP_POST_VARS["nombre"] . "\n";
$cuerpo .= "Apellido: " . $HTTP_POST_VARS["apellido"] . "\n";
$cuerpo .= "Empresa: " . $HTTP_POST_VARS["empresa"] . "\n";
$cuerpo .= "E-mail: " . $HTTP_POST_VARS["email"] . "\n";
$cuerpo .= "Telefono: " . $HTTP_POST_VARS["telefono"] . "\n";
$cuerpo .= "Mensaje: " . $HTTP_POST_VARS["mensaje"] . "\n";
//mando el correo...
mail("
[email protected]","Mensaje desde contacto de 314 BCN",$cuerpo,"From: 314BCN.com");
//doy las gracias por el envío
echo "<font face='arial' color='#FF9900' size='2' style='font-size:12px '> <strong>Gracias por su mensaje</strong><br>
";
echo "<font face='arial' color='#666666' size='2' style='font-size:12px '> <strong>En breve recibirá una respuesta<strong><br>";
}
?>