Skip to content
Snippets Groups Projects
Commit c597097f authored by Manuel Herrmann's avatar Manuel Herrmann
Browse files

reg full notification

parent e805ac37
No related branches found
No related tags found
No related merge requests found
...@@ -47,13 +47,18 @@ function index_show_content(){ ...@@ -47,13 +47,18 @@ function index_show_content(){
// storySubmit wg JQuery .submit() auf forms geht sonst nicht // storySubmit wg JQuery .submit() auf forms geht sonst nicht
if(isset($_REQUEST['success'])) { if(isset($_REQUEST['success'])) {
echo '<div style="text-align:center; font-size: 20pt; font-weight: bold">Die Anmeldung war erfolgreich.</div>'; echo '<div style="text-align:center; font-size: 20pt; font-weight: bold">Die Anmeldung war erfolgreich.</div>';
} elseif(isset($_REQUEST['full'])) {
echo '<div style="text-align:center; font-size: 20pt; font-weight: bold">Die Anmeldegrenze wurde leider erreicht.</div>';
echo '<div style="text-align:center; font-size: 16pt; font-weight: bold">Bitte ein Auge offen halten, falls Plätze frei werden.</div>';
} elseif(isset($_REQUEST['submit']) || isset($_REQUEST['storySubmit'])){ // Formular auswerten } elseif(isset($_REQUEST['submit']) || isset($_REQUEST['storySubmit'])){ // Formular auswerten
comm_verbose(1,"Formular bekommen"); comm_verbose(1,"Formular bekommen");
$data = index_check_form(); $data = index_check_form();
if(!is_null($data)) if(!is_null($data))
{ {
index_form_to_db($data); if (index_form_to_db($data))
header("Location: ?fid=".$fid."&success"); header("Location: ?fid=".$fid."&success");
else
header("Location: ?fid=".$fid."&full");
die(); die();
} }
} /*elseif(isset($_REQUEST['bid'])){ // Änderungsformular anzeigen, Anmeldung noch offen? } /*elseif(isset($_REQUEST['bid'])){ // Änderungsformular anzeigen, Anmeldung noch offen?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment