diff --git a/judge_main.php b/judge_main.php index 8c075d44..7837e24a 100644 --- a/judge_main.php +++ b/judge_main.php @@ -47,6 +47,21 @@ } echo "
"; + /* Check for any judging team assignment this year for this judge, + * if there is one, print the judge scheule link in an obvious place, + * it's less obvious below */ + $q = mysql_query("SELECT id FROM judges_teams_link WHERE + users_id='{$u['id']}' AND year='{$config['FAIRYEAR']}'"); + if(mysql_num_rows($q) > 0) { + echo ''; + echo i18n("You have been assigned to a judging team. %1Click here%2 to view the judging schedule", + array("","")); + echo ''; + echo '

'; + } + + + //first, we need to see if they havec the current FAIRYEAR activated, if not, we'll keep their acocunt 'dormant' and it wont //be used for anything, but will still be available for them to login in the following years. @@ -91,6 +106,7 @@ echo i18n('Other Options and Things To Do').':
'; echo '