diff --git a/admin/reports_acscript.php b/admin/reports_acscript.php
index 615cf2b..8ef766c 100644
--- a/admin/reports_acscript.php
+++ b/admin/reports_acscript.php
@@ -8,9 +8,16 @@
if($_GET['year']) $foryear=$_GET['year'];
else $foryear=$config['FAIRYEAR'];
- if($_GET['awardtype']) $awardtype=" AND award_types.type='".mysql_escape_string($_GET['awardtype'])."'";
+ if($_GET['awardtype']=="All") $awardtype="";
+ else if($_GET['awardtype']) $awardtype=" AND award_types.type='".mysql_escape_string($_GET['awardtype'])."'";
else $awardtype="";
+ if($_GET['show_unawarded_awards']=="on") $show_unawarded_awards="yes";
+ else $show_unawarded_awards="no";
+
+ if($_GET['show_unawarded_prizes']=="on") $show_unawarded_prizes="yes";
+ else $show_unawarded_prizes="no";
+
$type=$_GET['type'];
if(!$type) $type="pdf";
@@ -78,7 +85,7 @@
`order`");
echo mysql_error();
- if($config['reports_show_unawarded_awards']==no)
+ if($show_unawarded_awards=="no")
{
$skipAward=true;
while($pr=mysql_fetch_object($pq))
@@ -106,7 +113,7 @@
$prevprizeid=-1;
while($pr=mysql_fetch_object($pq))
{
- if($pr->projectnumber || $config['reports_show_unawarded_prizes']==yes)
+ if($pr->projectnumber || $show_unawarded_prizes=="yes")
{
if($prevprizeid!=$pr->id)
{
diff --git a/admin/reports_ceremony.php b/admin/reports_ceremony.php
index d5b0029..c9e783f 100644
--- a/admin/reports_ceremony.php
+++ b/admin/reports_ceremony.php
@@ -31,17 +31,47 @@
'Administration' => 'admin/index.php')
);
echo "
";
+ echo "