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', 'Awards Main' => 'admin/awards.php' )); if($_GET['action']=="check") { if(count($_GET['check'])) { foreach($_GET['check'] AS $ch) { $q=mysql_query("SELECT * FROM award_sources WHERE id='".intval($ch)."'"); $r=mysql_fetch_object($q); echo i18n("Checking %1 for awards...",array($r->name)); echo "
"; echo "
"; //FIXME: do the check! } } else echo error(i18n("No sources available to check")); } else { $q=mysql_query("SELECT * FROM award_sources ORDER BY name"); echo ""; echo ""; echo ""; echo ""; echo ""; while($r=mysql_fetch_object($q)) { echo ""; echo "\n"; echo ""; echo ""; echo ""; $checkurl.="&check[]=$r->id"; } echo "
".i18n("Source Name")."".i18n("Source Location URL")."".i18n("Check")."
$r->name$r->urlid\">".i18n("check")."
\n"; echo "
"; echo "".i18n("Check all sources").""; } send_footer(); ?>