Copyright (C) 2005 James Grant This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ?> 'committee_main.php', 'Administration' => 'admin/index.php', 'Judges' => 'admin/judges.php') ); ?> ".i18n("Active Judges list for %1",array($config['FAIRYEAR'])).""; echo ""; $querystr="SELECT judges.id, judges.firstname, judges.lastname, judges.email, judges.complete, judges_years.year FROM judges JOIN judges_years ON judges.id=judges_years.judges_id WHERE judges_years.year='".$config['FAIRYEAR']."' AND judges.deleted='no' ORDER BY lastname, firstname"; $q=mysql_query($querystr); $num=mysql_num_rows($q); echo i18n("Listing %1 judges total. See the bottom for breakdown of judges by complete status",array($num),array("the number of judges")); echo mysql_error(); echo ""; echo " "; echo " "; echo " "; echo " "; echo ""; $completeyes=0; $completeno=0; while($r=mysql_fetch_object($q)) { echo ""; echo ""; if($r->complete=="yes" && $r->year) { echo ""; $completeyes++; } else { echo ""; $cl="error"; $completeno++; } echo ""; echo ""; } echo "
".i18n("Judge Name")."".i18n("Email Address")."".i18n("Complete")."".i18n("Actions")."
"; echo "id)\">$r->firstname $r->lastname"; echo "$r->email".i18n("yes")."".i18n("no").""; echo "id\">"; echo "
"; echo i18n("Note: Deleting judges from this list only deactivates the judge for this year's fair. To completely delete a judge, use the 'Manage Judges' page"); echo "
"; echo "
"; echo i18n("There are %1 total active judges.",array($num),array("the number of judges")); echo "
"; echo i18n("There are %1 complete judges.",array($completeyes),array("the number of judges")); echo "
"; echo i18n("There are %1 incomplete judges.",array($completeno),array("the number of judges")); echo "
"; echo "
"; echo "
"; send_footer(); ?>