include($_SERVER["DOCUMENT_ROOT"] . "site/template/template.php"); do_top("", ""); ?> if($_SERVER['REQUEST_METHOD'] == 'POST') { $body = "The Spring Celebration event registration form has been submitted with the following information:\n\n"; $body .= "Registrant name: " . $_POST["firstname"] . " " . $_POST["lastname"] . "\n"; $body .= "Phone Number: " . $_POST["phone"] . "\n"; $body .= "Email: " . $_POST["email"] . "\n\n"; $body .= "Names of Guests Attending: " . $_POST["guests"] . "\n\n"; $body .= "Party attending Friday Gallery: "; if($_POST["friday-gallery"] == "") {$body .= "No"; } else {$body .= "Yes";} $body .= "\n"; $body .= "Party attending Friday Reception: "; if($_POST["friday-reception"] == "") {$body .= "No"; } else {$body .= "Yes";} $body .= "\n"; $body .= "Party attending Friday Dinner: "; if($_POST["friday-dinner"] == "") {$body .= "No"; } else {$body .= "Yes";} $body .= "\n"; $body .= "Party attending Friday Musical: "; if($_POST["friday-musical"] == "") {$body .= "No"; } else {$body .= "Yes";} $body .= "\n"; $body .= "Party attending Campus Tours: "; if($_POST["campus-tours"] == "") {$body .= "No"; } else {$body .= "Yes";} $body .= "\n"; $body .= "Party attending Saturday Concert: "; if($_POST["saturday-concert"] == "") {$body .= "No"; } else {$body .= "Yes";} $body .= "\n"; $body .= "Party attending Saturday dinner: "; if($_POST["saturday-tribute-dinner"] == "") {$body .= "No"; } else {$body .= "Yes";} $body .= "\n"; $body .= "Party attending Saturday musical: "; if($_POST["saturday-musical"] == "") {$body .= "No"; } else {$body .= "Yes";} $body .= "\n\n"; $body .= "Notes: " . $_POST["notes"] . "\n\n"; $headers = 'From: ' . $_POST["email"] . "\r\n" . 'Reply-To: ' . $_POST["email"] . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail("ddwire@besanthill.org,mweil@besanthill.org,kzotnowski@besanthill.org,khenschel@besanthill.org", "RSVP Submission: Spring Arts", $body, $headers); // Now email the registrant. $body = "Thank you for registering for the Family Weekend Spring Arts and 50th-ish Alumni Celebration!\n\n"; $body .= "If you have any questions about the event, please contact Kevin Henschel at khenschel@besanthill.org, or call (805) 646-4343 ext.344.\n\n"; $body .= "We look forward to celebrating with you!\n\n"; $headers = 'From: ' . "khenschel@besanthill.org" . "\r\n" . 'Reply-To: ' . "khenschel@besanthill.org" . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($_POST["email"], "Your registration was received. Thank you!", $body, $headers); ?> Thank you for registering. We look forward to seeing you! } else { ?> Please complete the following form to register for Spring Arts Celebration and Family Weekend. Your name First name Last name Contact phone Contact email Enter the names of the people in your party who will be attending. Please include yourself, and specify relation to student (if current family), and years attended HVS/BHS (if alumni). Specify which events you will be attending: FRIDAY, APRIL 26 2:00pm - Opening of Student Art Exhibition -- Logan Gallery 4:15pm - Welcome Reception -- Beato Atelier (adults-only event) 5:30 pm - Community Dinner -- Commons 7:00 pm - Spring Musical -- Zalk Theater SATURDAY, APRIL 27 1:45pm - Campus Tours -- Meet in Amphitheater 3:00pm - Spring Concert -- Zalk Theater 4:15pm - Celebration of Lives/In Memoriam -- Zalk Theater 5:30pm - Community Dinner -- Commons 7:00pm - Spring Musical -- Zalk Theater Other notes or dietary restrictions Submit Registration } ?> do_bottom(); ?>