diff --git a/register_participants_signature.php b/register_participants_signature.php index 7364a76..1f12aff 100644 --- a/register_participants_signature.php +++ b/register_participants_signature.php @@ -63,7 +63,7 @@ echo mysql_error(); $height['exhibitorsigspace']=0.40; $height['exhibitorsigtext']=0.13; $height['parenttitle']=0.2; - $height['parentbox']=2.60; + $height['parentbox']=2.80; $height['parentsigspace']=0.40; $height['parentsigtext']=0.13; diff --git a/register_participants_students.php b/register_participants_students.php index 28628a8..1dfdbed 100644 --- a/register_participants_students.php +++ b/register_participants_students.php @@ -47,7 +47,7 @@ if($_POST['action']=="save") { //INSERT new record $dob=$_POST['year'][$x]."-".$_POST['month'][$x]."-".$_POST['day'][$x]; - mysql_query("INSERT INTO students (registrations_id,firstname,lastname,email,address,city,province,postalcode,phone,dateofbirth,grade,schools_id,tshirt,year) VALUES (". + mysql_query("INSERT INTO students (registrations_id,firstname,lastname,email,address,city,province,postalcode,phone,dateofbirth,grade,schools_id,tshirt,medicalalert,foodreq,teachername,teacheremail,year) VALUES (". "'".$_SESSION['registration_id']."', ". "'".mysql_escape_string(stripslashes($_POST['firstname'][$x]))."', ". "'".mysql_escape_string(stripslashes($_POST['lastname'][$x]))."', ". @@ -61,6 +61,10 @@ if($_POST['action']=="save") "'".mysql_escape_string(stripslashes($_POST['grade'][$x]))."', ". "'".mysql_escape_string(stripslashes($_POST['schools_id'][$x]))."', ". "'".mysql_escape_string(stripslashes($_POST['tshirt'][$x]))."', ". + "'".mysql_escape_string(stripslashes($_POST['medicalalert'][$x]))."', ". + "'".mysql_escape_string(stripslashes($_POST['foodreq'][$x]))."', ". + "'".mysql_escape_string(stripslashes($_POST['teachername'][$x]))."', ". + "'".mysql_escape_string(stripslashes($_POST['teacheremail'][$x]))."', ". "'".$config['FAIRYEAR']."')"); echo mysql_error(); @@ -83,6 +87,10 @@ echo mysql_error(); "dateofbirth='$dob', ". "grade='".mysql_escape_string(stripslashes($_POST['grade'][$x]))."', ". "schools_id='".mysql_escape_string(stripslashes($_POST['schools_id'][$x]))."', ". + "medicalalert='".mysql_escape_string(stripslashes($_POST['medicalalert'][$x]))."', ". + "foodreq='".mysql_escape_string(stripslashes($_POST['foodreq'][$x]))."', ". + "teachername='".mysql_escape_string(stripslashes($_POST['teachername'][$x]))."', ". + "teacheremail='".mysql_escape_string(stripslashes($_POST['teacheremail'][$x]))."', ". "tshirt='".mysql_escape_string(stripslashes($_POST['tshirt'][$x]))."' ". "WHERE id='".$_POST['id'][$x]."'"); echo notice(i18n("%1 %2 successfully updated",array($_POST['firstname'][$x],$_POST['lastname'][$x]))); @@ -219,6 +227,22 @@ else if($newstatus=="complete") echo "\n"; echo " "; echo ""; + + echo "\n"; + echo "".i18n("Medical Alert Info").""; + echo "medicalalert\" />"; + echo ""; + echo "\n"; + + if($config['participant_student_foodreq']=="yes") + { + echo "\n"; + echo "".i18n("Special Food Requirements").""; + echo "foodreq\" />"; + echo ""; + echo "\n"; + } + echo "\n"; echo " ".i18n("School").""; $schoolq=mysql_query("SELECT id,school FROM schools WHERE year='".$config['FAIRYEAR']."' ORDER by school"); @@ -248,6 +272,14 @@ else if($newstatus=="complete") echo "\n"; echo "\n"; + echo "\n"; + echo " ".i18n("Teacher Name")."teachername\" />\n"; + echo " ".i18n("Teacher Email")."teacheremail\" />\n"; + echo "\n"; + + + + echo ""; if($numfound>$config['minstudentsperproject'] && $studentinfo->id)