if ($_POST["cmd"]=="s") {
$texto = "------------------------------------------\n";
$texto .= "SOLICITUD DE TRABAJO POR WEB [" . date( "d-m-Y", time()) ."] ~ [" .date( "H:i:s", time()). "]\n";
$texto .= "------------------------------------------\n";
$texto .= "Nombre............: ".$_POST["nombre"]."\n";
$texto .= "Apellidos.........: ".$_POST["apellidos"]."\n";
$texto .= "DNI/Pasaporte.....: ".$_POST["dni"]."\n";
$texto .= "Num. Seg. Social..: ".$_POST["nss"]."\n";
$texto .= "Telefono Fijo.....: ".$_POST["tel1"]."\n";
$texto .= "Telefono Movil....: ".$_POST["tel2"]."\n";
$texto .= "Telefono altern...: ".$_POST["tel3"]."\n";
$texto .= "E-mail............: ".$_POST["email"]."\n";
$texto .= "Carnet............: ".$_POST["carnet"]."\n";
$texto .= "Fecha Nacimiento..: ".$_POST["fechanac"]."\n";
$texto .= "Lugar Nacimiento..: ".$_POST["lugarnac"]."\n";
$texto .= "Nombre padre......: ".$_POST["padre"]."\n";
$texto .= "Nombre madre......: ".$_POST["madre"]."\n";
$texto .= "Domicilio.........: ".$_POST["domicilio"]."\n";
$texto .= "Codigo Postal.....: ".$_POST["cp"]."\n";
$texto .= "Poblacion.........: ".$_POST["poblacion"]."\n";
$texto .= "Provincia.........: ".$_POST["provincia"]."\n";
$texto .= "- - - - - - - - - -\n";
$texto .= "Caracteristicas...: Alt: ".$_POST["$altura"]." Peso: ".$_POST["peso"]." Talla: ".$_POST["talla"]." ~ Pie: ".$_POST["pie"]." ~ Pelo: ".$_POST["pelo"]." ~ Ojos: ".$_POST["ojos"]."\n";
$texto .= "Disponibilidad....: ".$_POST["disponible"]."\n";
$texto .= "\nFORMACION ------------------\n";
$texto .= $_POST["formacion"];
$texto .= "\n\nEXPERIENCIA-----------------\n";
$texto .= $_POST["experiencia"];
$texto .= "\n\nIDIOMAS (nivel)-------------\n";
$texto .= "Castellano: ".$_POST["castellano"]."\n";
$texto .= "Catalan...: ".$_POST["catalan"]."\n";
$texto .= "Ingles....: ".$_POST["ingles"]."\n";
$texto .= "Frances...: ".$_POST["frances"]."\n";
$texto .= "Italiano..: ".$_POST["italiano"]."\n";
$texto .= "Aleman....: ".$_POST["aleman"]."\n";
$texto .= "\n\nENTIENDE Y ACEPTA LAS CONDICIONES SOBRE LA PROTECCION DE DATOS\n";
$subject = "[GOYA] Solicitud de trabajo: ".$_POST["nombre"]." ".$_POST["apellidos"];
$myHeaders = "To: info@goyaazafatas.com\nFrom: ".$_POST["email"]."\nReply-To: ".$_POST["email"]."\nX-Mailer: PHP" . phpversion();
$mailResult = mail("info@goyaazafatas.com", $subject, $texto, $myHeaders);
}
?>
Goya Azafatas
include ("../idioma.php"); ?> |
 |
if ($cmd == "s" && $mailResult == 1) {
echo " Tus datos han sido enviados a info@goyaazafatas.com";
}
?>
|
|
 |
 |
|
include ("../footer.php"); ?>