diff --git a/register_judges_personal.php b/register_judges_personal.php
index 62c51cb..e503ba8 100644
--- a/register_judges_personal.php
+++ b/register_judges_personal.php
@@ -49,8 +49,11 @@
if($_POST['action']=="save")
{
$dob=$_POST['year']."-".$_POST['month']."-".$_POST['day'];
+
if($_POST['catpref']) $catpref="'".$_POST['catpref']."'";
else $catpref="null";
+ if($_POST['divpref']) $divpref="'".$_POST['divpref']."'";
+ else $divpref="null";
mysql_query("UPDATE judges SET ".
"firstname='".mysql_escape_string(stripslashes($_POST['firstname']))."', ".
@@ -67,6 +70,8 @@
"phonecell='".mysql_escape_string(stripslashes($_POST['phonecell']))."', ".
"organization='".mysql_escape_string(stripslashes($_POST['organization']))."', ".
"catpref=$catpref, ".
+ "divpref=$divpref, ".
+ "highest_psd='".mysql_escape_string(stripslashes($_POST['highest_psd']))."', ".
"years_school='".mysql_escape_string(stripslashes($_POST['years_school']))."', ".
"years_regional='".mysql_escape_string(stripslashes($_POST['years_regional']))."', ".
"years_national='".mysql_escape_string(stripslashes($_POST['years_national']))."', ".
@@ -126,7 +131,7 @@ echo "";
echo "
|
";
echo "\n";
-echo " ".i18n("Age category preference")." | ";
+echo " | ".i18n("Age category preference")." | ";
$q=mysql_query("SELECT * FROM projectcategories ORDER BY mingrade");
echo " |
\n";
echo "\n";
-echo " ".i18n("Division preference")." | ";
+echo " | ".i18n("Division preference")." | ";
$q=mysql_query("SELECT * FROM projectdivisions ORDER BY division");
echo "";
echo " | \n";
echo "
\n";
+
echo "\n";
-echo " ".i18n("Years of judging experience at school/local level")." | years_school\" size=\"3\" /> | \n";
-echo "
\n";
-echo "\n";
-echo " ".i18n("Years of judging experience at regional level")." | years_regional\" size=\"3\" /> | \n";
-echo "
\n";
-echo "\n";
-echo " ".i18n("Years of judging experience at national level")." | years_national\" size=\"3\" /> | \n";
+echo " ".i18n("Highest post-secondary degree")." | ";
+echo " highest_psd\" /> | \n";
echo "
\n";
echo "\n";
-echo " ".i18n("Willing to act as a division chair?")." | ";
+echo " | ".i18n("Years of judging experience at school/local level")." | \n";
+echo " years_school\" size=\"3\" /> | \n";
+echo "
\n";
+
+echo "\n";
+echo " ".i18n("Years of judging experience at regional level")." | \n";
+echo " years_regional\" size=\"3\" /> | \n";
+echo "
\n";
+
+echo "\n";
+echo " ".i18n("Years of judging experience at national level")." | \n";
+echo " years_national\" size=\"3\" /> | \n";
+echo "
\n";
+
+echo "\n";
+echo " ".i18n("Willing to act as a division chair?")." | \n";
+echo " ";
if($judgeinfo->willing_chair=="no") $ch="checked=\"checked\""; else $ch="";
echo "No";
echo " ";
@@ -178,7 +195,8 @@ echo " | \n";
echo "
\n";
echo "\n";
-echo " ".i18n("Attending lunch?")." | ";
+echo " | ".i18n("Attending lunch?")." | \n";
+echo " ";
if($judgeinfo->attending_lunch=="no") $ch="checked=\"checked\""; else $ch="";
echo "No";
echo " ";
|