{!-- ===================================================================== embed_global_signup_form PHP backend logic preserved verbatim from .bak file. Markup only restyled with Tailwind / gf-* classes. ===================================================================== --}

Newsletter

Sign up. Be inspired.
Receive newsletter.

Attention! Please enter a valid email address.
'; } else if(trim($verify) == '') { $error = '
Are you a human? Please enter the verification number.
'; } else if(!isEmail($email)) { $error = '
Attention! You have entered an invalid e-mail address, try again.
'; } else if(trim($verify) != '8') { $error = '
Are you a human? The verification number you entered is incorrect.
'; } if($error == '') { $address = "hello@ginsburgfoundation.org"; $e_subject = 'Ginsburg Foundation Registration Received ' . $email . '.'; $e_reply = "Registration email provided: $email.\r\n\n"; $e_footer = "This is an automated message from the ginsburgfoundation.org application.\r\n\n"; $msg = $e_reply . $e_footer; if(mail($address, $e_subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n")) { echo "
"; echo "

Registration Successful.

"; echo "

Thank you, $email. We'll keep you up to date.

"; echo "
"; } else echo "
Error. Registration not sent.
"; } } if(!isset($_POST['signup']) || $error != '') { ?>