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. */ ?> "Very Low", -1=>"Low", 0=>"Indifferent", 1=>"Medium", 2=>"High" ); $id = intval($_GET['id']); $judgeinfo = user_load($id); echo '
'; send_popup_header("Judge Information"); if($id < 1) { echo error(i18n("No Judge ID passed to Judges Info")); send_popup_footer(); exit; } ?>
: :
: :
: :
: :
: :
start, 0, 5); $end = substr($r->end, 0, 5); $availabilityText .= "
  • $st - $end
  • "; } if(strlen($availabilityText) > 0){ $availabilityText = ''; }else{ $availabilityText = i18n("Unspecified"); } } echo '
    '; // is their info complete? $completeText = $judgeinfo['complete']=="yes" ? "Yes" : "No"; // find out if they've signed up for judging any special awards $specialAwardsText = ""; if($judgeinfo['special_award_only'] == "yes"){ $query = "SELECT aa.name AS awardname FROM judges_specialaward_sel jss" . " JOIN users ON jss.users_id = users.id" . " JOIN award_awards aa ON aa.id = jss.award_awards_id" . " WHERE users.id=" . $id; $results = mysql_query($query); while($record = mysql_fetch_array($results)){ $awardList[] = $record['awardname']; } $specialAwardsText .= implode(', ', $awardList); }else{ $specialAwardsText .= i18n("None"); } // get their preference for age category $q=mysql_query("SELECT * FROM projectcategories WHERE conferences_id='{$conference['id']}'"); $catPreferenceText = mysql_error() . "
      "; while($r=mysql_fetch_object($q)) { $p = intval($judgeinfo['cat_prefs'][$r->id]); $catPreferenceText .= "
    • " . i18n($r->category).": {$preferencechoices[$p]}
    • "; } $catPreferenceText .= "
    "; ?>
    • :
    • :
    • :
    • :
    • " . i18n("Time Availability") . ": "; echo $availabilityText . ""; } ?>

    id; $divnames[$r->id]=$r->division; } foreach($divs as $div) { $p = $judgeinfo['div_prefs'][$div]; echo ""; echo " "; echo ""; echo ""; } echo "\n"; echo " "; echo " \n"; echo "\n"; ?>
    ".i18n($divnames[$div]).":$p/5"; $subq=mysql_query("SELECT * FROM projectsubdivisions WHERE projectdivisions_id='$div' AND conferences_id='{$conference['id']}' ORDER BY subdivision"); $sd = array(); while($subr=mysql_fetch_object($subq)) { if($u['div_prefs_sub'][$subr->id] == 1) { $sd[] = $subdivr->subdivision; } } // Only show subdiv if main div >=3 if($p >= 3) echo implode(", ",$sd); else echo " "; echo "
    ".i18n("Other").":{$judgeinfo['expertise_other']}
    "; echo "
    '; /* send_popup_header("Judge Information"); */ /* echo "\n"; echo " ".i18n("Time Availability").":"; $q = mysql_query("SELECT * FROM judges_availability WHERE users_id=\"{$judgeinfo['id']}\" ORDER BY `start`"); $sel = array(); while($r=mysql_fetch_object($q)) { $st = substr($r->start, 0, 5); $end = substr($r->end, 0, 5); echo "$st - $end
    "; } echo ""; echo ""; */ //send_popup_footer(); ?>