diff --git a/admin/communication.inc.php b/admin/communication.inc.php index 5ac95a4..55519bb 100644 --- a/admin/communication.inc.php +++ b/admin/communication.inc.php @@ -27,5 +27,15 @@ "participants_notcomplete_thisyear"=>array("name"=>"Participants not complete this year","query"=> "SELECT firstname, lastname, students.email FROM students,registrations WHERE students.registrations_id=registrations.id AND registrations.year='".$config['FAIRYEAR']."' AND registrations.status!='complete' AND registrations.status!='new' ORDER BY students.email"), + + "special_award_sponsors_confirmed"=>array("name"=>"Special Award Sponsors (confirmed only)","query"=> + "SELECT DISTINCT(award_sponsors.id), organization, firstname, lastname, award_contacts.email FROM award_sponsors, award_awards, award_contacts WHERE award_awards.award_sponsors_id=award_sponsors.id AND award_contacts.award_sponsors_id=award_sponsors.id AND award_sponsors.confirmed='yes' AND award_awards.award_types_id='2'"), + + "special_award_sponsors_unconfirmed"=>array("name"=>"Special Award Sponsors (unconfirmed only)","query"=> + "SELECT DISTINCT(award_sponsors.id), organization, firstname, lastname, award_contacts.email FROM award_sponsors, award_awards, award_contacts WHERE award_awards.award_sponsors_id=award_sponsors.id AND award_contacts.award_sponsors_id=award_sponsors.id AND award_sponsors.confirmed='no' AND award_awards.award_types_id='2'"), + + "special_award_sponsors_all"=>array("name"=>"Special Award Sponsors (all)","query"=> + "SELECT DISTINCT(award_sponsors.id), organization, firstname, lastname, award_contacts.email FROM award_sponsors, award_awards, award_contacts WHERE award_awards.award_sponsors_id=award_sponsors.id AND award_contacts.award_sponsors_id=award_sponsors.id AND award_awards.award_types_id='2'"), + ); ?>