ECOHOTEL PUERTO DE OJÉN puts at your disposal this online Guestbook where you can tell us everything you want regarding your stay with us.
If you want to leave your comments, fill out this form.
if (!$HTTP_POST_VARS){
?>
All your opinions are of great importance to us.
Thank you
The hotel director
}else{
//Estoy recibiendo el formulario, compongo el cuerpo
$cuerpo = "Formulario enviado\n";
$cuerpo .= "Nombre: " . $HTTP_POST_VARS["nombre"] . "\n";
$cuerpo .= "Email: " . $HTTP_POST_VARS["email"] . "\n";
$cuerpo .= "Comentarios: " . $HTTP_POST_VARS["comentarios"] . "\n";
$cabeceras .= 'From: Formulario Recibido' . "\r\n";
//mando el correo...
mail("visitas@ecohotelojen.com","Libro de visitas Ecohotel Puerto de Ojén inglés",$cuerpo,$cabeceras);
$respuesta ='Your comment will be published shortly in Ecohotel Puerto de Ojén Guestbook.' ;
mail("$_POST[email]","Form succesfully sent",$respuesta. "\n" .$cuerpo,$cabeceras);
//doy las gracias por el envío
echo "
Thank you for sending the comments.
The form has been successfully sent.
Our team will publish your comment soon
All the information you sent will be treated in a confidential manner
Ecohotel Puerto de Ojén ";
}
?>
|