Sorry, there's a little problem:'; $errormessage[1] = '
please tell us your name'; $errormessage[2] = '
email address missing or incorrect'; $errormessage[4] = '
please choose a class'; $errormessage[5] = '
please tell us your address'; $errormessage[6] = '
illegal charcters'; $errormessage[7] = '
please tell us your phone number'; $errormessage[8] = '
please read and accept the Terms and Conditions in order to enroll'; $errormessage[9] = '
please read the Cancellation policy/Widerrufsbelehrung in order to enroll online'; #Alle Felder sind OK - All fields are OK $okay = 'Thanks for your enrollment, you will recieve your confirmation a.s.a.p!'; $sysupdateokay = 'I have your information and will send you the contract right away. Your enrollment is complete and your spot is reserved upon receipt of the signed contract!'; ####################################### session_start(); ####################################### if (isset($_POST['submit'])) { ####################################### $name = check($_POST['name']); $email = check($_POST['email']); $fon = check($_POST['fon']); $address = check($_POST['address']); $nachricht = check($_POST['nachricht']); $children = check($_POST['children']); $ages = check($_POST['ages']); $class = check($_POST['class']); $AGBs = check($_POST['AGBs']); $AGBsSummer= check($_POST['AGBsSummer']); $AdventureCancel = check($_POST['AdventureCancel']); ####################################### $ip = $_SERVER['REMOTE_ADDR']; $host = gethostbyaddr($ip); ####################################### $zeit = time(); //time $datum = date("d.m.Y", $zeit); //date $uhrzeit = date("H:i:s", $zeit); //time of day ####################################### $message = '' . $errormessage[0]; //intro message if ($name == '') { $message .= $errormessage[1]; //missing name $fehler = 1; } if ($address == '') { $message .= $errormessage[5]; //missing address $fehler = 1; } if (!ereg("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-Z]{2,6})$", $email)) { $message .= $errormessage[2]; //missing, incorrect email $fehler = 1; } if ($class == '' || $class == 'choose class...') { $message .= $errormessage[4]; //missing class $fehler = 1; } if ($AGBs == '' && strpos($class, 'Adventure') === FALSE) { $message .= $errormessage[8]; //terms and conditions - yearlong $fehler = 1; } if ($AGBsSummer == '' && strpos($class, 'Adventure') !== FALSE) { $message .= $errormessage[8]; //terms and conditions - summer $fehler = 1; } if ($AdventureCancel == '' && strpos($class, 'Adventure') !== FALSE) { $message .= $errormessage[9]; //Widerrufsbelehrung $fehler = 1; } if (ehi_check() != 0) { $message .= $errormessage[6]; //illegal characters $fehler = 1; } if (ehi_check() != 0) { $fon .= $errormessage[7]; //missing phone number $fehler = 1; } $message .= ''; ####################################### ####################################### if (!isset($fehler)) { //no errors found $email_nachricht = "Anfrage von Buchungstformular"; $email_nachricht .= "\nName: $name\nE-Mailadresse: $email\nFon: $fon\n\n"; $email_nachricht .= "\nAdresse: $address\n\n"; $email_nachricht .= "\nKinder: $children\nBirthday(s): $ages\nKurs: $class\n\n"; $email_nachricht .= "Nachricht:\n$nachricht\n\nIP: $ip\nHost: $host\n"; $email_nachricht .= "gesendet am $datum um $uhrzeit."; if (strpos($class, 'Adventure') === FALSE) { $email_betreffzeile = $email_betreffzeile + ' -- needs attention'; } // Mail senden - send mail @mail($ihre_emailadresse, $email_betreffzeile, $email_nachricht, $email_absender); $meldung = $okay; //OK message if (strpos($class, 'Adventure') === FALSE) { $meldung = $sysupdateokay; } //Variablen resetten - reset variables $name = ''; $fon = ''; $email = ''; $nachricht = ''; $children = ''; $ages = ''; $class = ''; $address = ''; $AGBs = ''; $AdventureCancel = ''; } else { $meldung = $message; //Err message } ####################################### ####################################### } //end isset submit else { $meldung = ''; //clear message } ?> online registration payment

Kindermusik with Karen

Music Education in English

Book a Class!

Class Registration

We're so glad you will be joining us!

For enrollment in our School-Year 2017-2018 classes, please fill out the booking form below - we'll then send you the enrollment contract to sign and return to us. Available spots are reserved upon receipt of the signed contract.

Please fill in all obligatory * fields!

Contact Details
Your Child(ren)
Pick Your Class
Anything We Need to Know?
Terms and Conditions/ AGBs