forked from science-ation/science-ation
Fix award ceremony script.
This commit is contained in:
parent
1be2301844
commit
4d8e359049
@ -27,7 +27,7 @@
|
||||
require_once('reports.inc.php');
|
||||
user_auth_required('admin');
|
||||
send_header("Award Ceremony Scripts",
|
||||
array('Committee Main' => 'committee_main.php',
|
||||
array('Main' => 'user_main.php',
|
||||
'Administration' => 'admin/index.php'),
|
||||
"print_awards_ceremony_scripts"
|
||||
);
|
||||
@ -38,7 +38,12 @@
|
||||
echo "<tr><td><b>".i18n("Year").":</b></td><td>";
|
||||
|
||||
//get the year information, use fairname since it should be there for all years[right?]
|
||||
$results = mysql_query("SELECT year FROM config WHERE var='fairname' AND year > 0 ORDER BY year DESC");
|
||||
/* Find our conference oid */
|
||||
$q = mysql_query("SELECT oid FROM conferences WHERE id='{$_SESSION['conferences_id']}'");
|
||||
$c = mysql_fetch_assoc($q);
|
||||
$conferences_oid = $c['oid'];
|
||||
|
||||
$results = mysql_query("SELECT year FROM conferences WHERE oid='$conferences_oid' AND year > 0 ORDER BY year DESC");
|
||||
|
||||
echo "<select name=\"year\" size=1>";
|
||||
while($r=mysql_fetch_object($results)) {
|
||||
|
Loading…
Reference in New Issue
Block a user