" . "\r\n" . "Reply-To: $efs_name <$efs_email>" . "\r\n"; if($_GET['lang'] == "es") { $thankYou = "

Gracias por todo.
Regresa a la página de la fiesta.

"; } else { $thankYou = "

Thank you for letting us know if you will be able to attend.
Return to the party details.

"; } /* ****************************************************** End change vars for new install ****************************************************** */ if ($efs_submit == "Send") { if(!$efs_name) { if($_GET['lang'] == "es") { $efs_error[] = "Por favor, escribe el Nombre de Su Niño."; } else { $efs_error[] = "Please enter your Child's Name."; } } if (($efs_attending == "Yes") && (!$efs_message)) { if($_GET['lang'] == "es") { $efs_error[] = "¿Quiénes van a ir a la fiesta con su hijo?"; } else { $efs_error[] = "Please let us know who will be attending with your child."; } } if(is_array($efs_error)) { $efs_submit = ""; } } if(($efs_submit == "Send") && (!is_array($efs_error))) { $efs_content = " ===================================== Child's Name: $efs_name Attending: $efs_attending Additional Attendees: $efs_message E-mail Address: $efs_email Notes: $efs_note -------------------------------- Sent from the $efs_siteName site ===================================== "; mail($efs_sendto, $efs_subject, $efs_content, $efs_headers); echo "$thankYou"; file_put_contents('/home/customer/www/thelongfiles.com/public_html/dcheck.txt', $efs_content, FILE_APPEND); } else { echo "

RSVP

"; if(is_array($efs_error)) { echo ""; } echo "
"; if($_GET['lang'] == "es") { echo "

Nombre de Su Niño (nombre y apellido por favor)
"; } else { echo "

Your Child's Name (Please enter their first and last name)
"; } echo "

"; if($_GET['lang'] == "es") { echo "

¿Puede asistir?
"; } else { echo "

Are you able to attend?
"; } echo " "; if($_GET['lang'] == "es") { echo "Sí"; } else { echo "Yes"; } echo "       No

"; if($_GET['lang'] == "es") { echo "Correo electrónico (opcional)"; } else { echo "E-mail Address (optional)"; } echo "

"; if($_GET['lang'] == "es") { echo "¿Quiénes van a ir a la fiesta con su hijo? (Padres y hermanos están invitados también)"; } else { echo "Please let us know who else will be attending with your child (siblings and parents welcome)."; } echo "

"; if($_GET['lang'] == "es") { echo "¿Hay información adicional que debemos saber? ¿Alergías o otras cosas?)"; } else { echo "Any additional information we should know? (Food allergies or anything else?)"; } echo "

"; } include('/home/customer/www/thelongfiles.com/public_html/inc/footer.html'); ?>