XI KDD KDJoteros.com - V KDD ForoFJCruiser.com
Contraer
userinfo['username']=='Visitante') { header('Location: http://www.kdjoteros.com/foro/register.php'); } if ($_POST['Enviado']=='1') { // Envia los datos por e-mail $email = "XIKDD@kdjoteros.com"; $asunto = "Inscripción XI KDD - ".$vbulletin->userinfo['username']; $cabeceras = "From: XIKDD@kdjoteros.com\r\nContent-type: text/html\r\nBcc: sergi@kdjoteros.com\r\n"; $codigohtml = "
Usuario que ha hecho la inscripción: ".$vbulletin->userinfo['username']."
";
$codigohtml .= "
Alojamiento: ".$_POST['HotelHostal']."
";
$codigohtml .= "
Nombre | Apellidos | Tipo | Fecha Nac. | Dormir Noche Viernes-Sábado | Dormir Noche Sábado-Domingo | Cena Viernes | Comida Sábado | Cena Sábado | Comida Domingo |
".$_POST['Nombre1']." | ".$_POST['Apellido1']." | ".$_POST['Menu1']." | ".$_POST['Nacim1']." | ".$_POST['NocheVS1']." | ".$_POST['NocheSD1']." | ".$_POST['CEV1']." | ".$_POST['CS1']." | ".$_POST['CES1']." | ".$_POST['CD1']." |
".$_POST['Nombre2']." | ".$_POST['Apellido2']." | ".$_POST['Menu2']." | ".$_POST['Nacim2']." | ".$_POST['NocheVS2']." | ".$_POST['NocheSD2']." | ".$_POST['CEV2']." | ".$_POST['CS2']." | ".$_POST['CES2']." | ".$_POST['CD2']." |
".$_POST['Nombre3']." | ".$_POST['Apellido3']." | ".$_POST['Menu3']." | ".$_POST['Nacim3']." | ".$_POST['NocheVS3']." | ".$_POST['NocheSD3']." | ".$_POST['CEV3']." | ".$_POST['CS3']." | ".$_POST['CES3']." | ".$_POST['CD3']." |
".$_POST['Nombre4']." | ".$_POST['Apellido4']." | ".$_POST['Menu4']." | ".$_POST['Nacim4']." | ".$_POST['NocheVS4']." | ".$_POST['NocheSD4']." | ".$_POST['CEV4']." | ".$_POST['CS4']." | ".$_POST['CES4']." | ".$_POST['CD4']." |
".$_POST['Nombre5']." | ".$_POST['Apellido5']." | ".$_POST['Menu5']." | ".$_POST['Nacim5']." | ".$_POST['NocheVS5']." | ".$_POST['NocheSD5']." | ".$_POST['CEV5']." | ".$_POST['CS5']." | ".$_POST['CES5']." | ".$_POST['CD5']." |
".$_POST['Nombre6']." | ".$_POST['Apellido6']." | ".$_POST['Menu6']." | ".$_POST['Nacim6']." | ".$_POST['NocheVS6']." | ".$_POST['NocheSD6']." | ".$_POST['CEV6']." | ".$_POST['CS6']." | ".$_POST['CES6']." | ".$_POST['CD6']." |
".$_POST['Nombre7']." | ".$_POST['Apellido7']." | ".$_POST['Menu7']." | ".$_POST['Nacim7']." | ".$_POST['NocheVS7']." | ".$_POST['NocheSD7']." | ".$_POST['CEV7']." | ".$_POST['CS7']." | ".$_POST['CES7']." | ".$_POST['CD7']." |
".$_POST['Nombre8']." | ".$_POST['Apellido8']." | ".$_POST['Menu8']." | ".$_POST['Nacim8']." | ".$_POST['NocheVS8']." | ".$_POST['NocheSD8']." | ".$_POST['CEV8']." | ".$_POST['CS8']." | ".$_POST['CES8']." | ".$_POST['CD8']." |
".$_POST['Nombre9']." | ".$_POST['Apellido9']." | ".$_POST['Menu9']." | ".$_POST['Nacim9']." | ".$_POST['NocheVS9']." | ".$_POST['NocheSD9']." | ".$_POST['CEV9']." | ".$_POST['CS9']." | ".$_POST['CES9']." | ".$_POST['CD9']." |
"; $codigohtml .= "
Nick | Version | Matricula | Fecha Matriculacion | Fecha Nacimiento | Lugar de Procedencia |
".$_POST['Nick1']." | ".$_POST['Version1']." | ".$_POST['Matricula1']." | ".$_POST['FechaMatriculacion1']." | ".$_POST['FechaNacimiento1']." | ".$_POST['LugarProcedencia1']." |
".$_POST['Nick2']." | ".$_POST['Version2']." | ".$_POST['Matricula2']." | ".$_POST['FechaMatriculacion2']." | ".$_POST['FechaNacimiento2']." | ".$_POST['LugarProcedencia2']." |
".$_POST['Nick3']." | ".$_POST['Version3']." | ".$_POST['Matricula3']." | ".$_POST['FechaMatriculacion3']." | ".$_POST['FechaNacimiento3']." | ".$_POST['LugarProcedencia3']." |
".$_POST['Nick4']." | ".$_POST['Version4']." | ".$_POST['Matricula4']." | ".$_POST['FechaMatriculacion4']." | ".$_POST['FechaNacimiento4']." | ".$_POST['LugarProcedencia4']." |
".$_POST['Nick5']." | ".$_POST['Version5']." | ".$_POST['Matricula5']." | ".$_POST['FechaMatriculacion5']." | ".$_POST['FechaNacimiento5']." | ".$_POST['LugarProcedencia5']." |
".$_POST['Nick6']." | ".$_POST['Version6']." | ".$_POST['Matricula6']." | ".$_POST['FechaMatriculacion6']." | ".$_POST['FechaNacimiento6']." | ".$_POST['LugarProcedencia6']." |
"; $codigohtml .= "Teléfono de contacto: ".$_POST['Telefonos']."
"; $codigohtml .= "E-mail: ".$_POST['Email']."
"; $codigohtml .= "Observaciones: ".$_POST['Observaciones']."
"; $codigohtml .= ""; mail($email,$asunto,$codigohtml,$cabeceras); ?> Los datos para la inscripción han sido enviados correctamente. En breve, recibirás un e-mail con el importe total de la misma y la información necesaria para confirmar la inscripción. } else {?> } ?>