".i18n("Language").": | ";
diff --git a/register_participants_project_divisionselector.php b/register_participants_project_divisionselector.php
new file mode 100644
index 0000000..b902171
--- /dev/null
+++ b/register_participants_project_divisionselector.php
@@ -0,0 +1,97 @@
+
+ require("common.inc.php");
+ include "register_participants.inc.php";
+
+ //authenticate based on email address and registration number from the SESSION
+ if(!$_SESSION['email'])
+ {
+ header("Location: register_participants.php");
+ exit;
+ }
+ if(!$_SESSION['registration_number'])
+ {
+ header("Location: register_participants.php");
+ exit;
+ }
+
+ $q=mysql_query("SELECT registrations.id AS regid, students.id AS studentid, students.firstname FROM registrations,students ".
+ "WHERE students.email='".$_SESSION['email']."' ".
+ "AND registrations.num='".$_SESSION['registration_number']."' ".
+ "AND registrations.id='".$_SESSION['registration_id']."' ".
+ "AND students.registrations_id=registrations.id ".
+ "AND registrations.year=".$config['FAIRYEAR']." ".
+ "AND students.year=".$config['FAIRYEAR']);
+echo mysql_error();
+
+ if(mysql_num_rows($q)==0)
+ {
+ header("Location: register_participants.php");
+ exit;
+
+ }
+ $authinfo=mysql_fetch_object($q);
+
+?>
+
+
+=i18n("Division Selector")?>
+
+
+
+
+ echo "";
+
+?>
+
+
diff --git a/sfiab.css b/sfiab.css
index e4f125e..91d4e41 100644
--- a/sfiab.css
+++ b/sfiab.css
@@ -66,6 +66,11 @@ td {
}
+#emptypopup {
+ padding: 30px;
+ text-align: center;
+}
+
h1 {
font-size: 24px;
font-weight: bold;
|