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. */ ?> $v) { $report['filter'][] = array('field'=>$v['field'],'x'=>$v['x'],'value'=>$v['value']); $filter_args.="&filter[$f][field]={$v['field']}&filter[$f][x]={$v['x']}&filter[$f][value]={$v['value']}"; } } switch($_GET['action']) { case 'dialog_gen': if($id < 0) { $u = "{$config['SFIABDIRECTORY']}/{$report_custom[-$id]['custom_url']}"; ?> 'committee_main.php', 'My Reports' => 'admin/reports.php')); echo '
'; echo ""; echo ''; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ''; /* See if the report is in this committee member's list */ $q = mysql_query("SELECT * FROM reports_committee WHERE users_id='{$_SESSION['accounts_id']}' AND reports_id='{$report['id']}'"); echo ""; if(mysql_num_rows($q) > 0) { /* Yes, it is */ $i = mysql_fetch_object($q); echo ""; echo ""; echo ""; echo ""; } else { echo ""; } echo ''; echo ""; $format = $report['options']['type']; $stock = $report['options']['stock']; $conferences_id = $conference['id']; /* Out of all the report optoins, we really only want these ones */ $option_keys = array('type','stock'); foreach($report_options as $ok=>$o) { if(!in_array($ok, $option_keys)) continue; echo ""; echo ""; } // Find all conferences $q = mysql_query("SELECT conferences.name, conferences.id, dates.date FROM conferences JOIN dates on dates.conferences_id = conferences.id WHERE dates.name='fairdate' ORDER BY dates.date DESC"); echo ""; echo "\n"; echo "
".i18n('Report Name').":{$report['name']}
".i18n('Description').":{$report['desc']}
".i18n('Created By').":{$report['creator']}

".i18n('My Reports Info')."

".i18n('Category').":{$i->category}
".i18n('Comment').":{$i->comment}
".i18n('This report is NOT in your \'My Reports\' list.')."

".i18n('Report Options')."

{$o['desc']}:
".i18n('Conference').":
"; echo '
'; echo ""; echo '
'; send_footer(); ?>