science-ation/admin/reports.php
dave 900dab702d Add Tour selection.
- Admin can use the tour manager to add tours
- Admin can use the config variables to enable tours, and select the min/max number of tour choices.
- Students will see a "Tour Selection" section of registration, which is incomplete until the student has selected at least a minimum number of tours.... actually, this may be broken.. Need to look at it further..
2007-01-09 19:05:23 +00:00

133 lines
5.1 KiB
PHP

<?
/*
This file is part of the 'Science Fair In A Box' project
SFIAB Website: http://www.sfiab.ca
Copyright (C) 2005 Sci-Tech Ontario Inc <info@scitechontario.org>
Copyright (C) 2005 James Grant <james@lightbox.org>
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.
*/
?>
<?
require("../common.inc.php");
auth_required('admin');
send_header("Administration - Reports");
echo "<a href=\"index.php\">&lt;&lt; ".i18n("Back to Administration")."</a><br />";
echo "<br />";
echo "<table><tr><td>";
echo i18n("Day of Fair Registration/Checkin Forms").": ";
echo "</td>";
//lets split this up by age category,
$catq=mysql_query("SELECT * FROM projectcategories WHERE year='".$config['FAIRYEAR']."' ORDER BY id");
while($catr=mysql_fetch_object($catq))
{
echo "<td>";
echo "<a href=\"reports_checkin.php?type=pdf&cat=$catr->id\">$catr->category (PDF)</a> &nbsp; ";
echo "<br>";
echo "<a href=\"reports_checkin.php?type=csv&cat=$catr->id\">$catr->category (CSV)</a> &nbsp; ";
echo "</td>";
}
echo "</tr>";
echo "</table>";
echo "<br />";
echo i18n("Mailing Labels").": ";
echo "<a href=\"reports_mailinglabels.php\">".i18n("Mailing Label Generator")."</a>";
echo "<br />";
echo "<br />";
echo i18n("School Access Codes").": ";
echo "<a href=\"reports_schoolaccesscodes.php?type=pdf\">PDF</a> &nbsp; ";
echo "<a href=\"reports_schoolaccesscodes.php?type=csv\">CSV</a> &nbsp; ";
echo "<br />";
echo i18n("Student Emergency Contact Names/Numbers").": ";
echo "<a href=\"reports_emergencycontact.php?type=pdf\">PDF</a> &nbsp; ";
echo "<a href=\"reports_emergencycontact.php?type=csv\">CSV</a> &nbsp; ";
echo "<br />";
echo i18n("Students/Projects From Each School").": ";
echo "<a href=\"reports_schoolprojects.php?type=pdf\">PDF</a> &nbsp; ";
echo "<a href=\"reports_schoolprojects.php?type=csv\">CSV</a> &nbsp; ";
echo "<br />";
echo i18n("Project Logistical Requirements (tables, electricity)").": ";
echo "<a href=\"reports_projects_requirements.php?type=pdf\">PDF</a> &nbsp; ";
echo "<a href=\"reports_projects_requirements.php?type=csv\">CSV</a> &nbsp; ";
echo "<br />";
echo i18n("Project Table Labels").": ";
echo "<a href=\"reports_projects_tablelabels.php?type=pdf\">PDF</a> &nbsp; ";
echo "<br />";
echo i18n("Project Summary Details").": ";
echo "<a href=\"reports_projects_details.php?type=pdf\">PDF</a> &nbsp; ";
echo "<br />";
echo i18n("Nametags").": ";
echo "<a href=\"reports_nametags_students.php?type=pdf\">Students PDF</a> &nbsp; ";
echo "<a href=\"reports_nametags_students.php?type=csv\">Students CSV</a> &nbsp; ";
echo "<a href=\"reports_nametags_judges.php?type=pdf\">Judges PDF</a> &nbsp; ";
echo "<a href=\"reports_nametags_judges.php?type=csv\">Judges CSV</a> &nbsp; ";
echo "<a href=\"reports_nametags_committee.php?type=pdf\">Committee PDF</a> &nbsp; ";
echo "<a href=\"reports_nametags_committee.php?type=csv\">Committee CSV</a> &nbsp; ";
echo "<br />";
echo "<br />";
echo i18n("Judges List").": ";
echo "<a href=\"reports_judges.php?type=csv\">Judge List (CSV)</a> &nbsp; ";
echo "<br />";
echo i18n("Judging Teams").": ";
echo "<a href=\"reports_judges_teams.php?type=csv\">List (CSV)</a> &nbsp; ";
echo "<a href=\"reports_judges_teams.php?type=pdf\">List (PDF)</a> &nbsp; ";
echo "<a href=\"reports_judges_teams_view.php?type=csv\">Team View (CSV)</a> &nbsp; ";
echo "<a href=\"reports_judges_teams_view.php?type=pdf\">Team View (PDF)</a> &nbsp; ";
echo "<br />";
echo i18n("Judging Teams Project Assignments").": ";
echo "<a href=\"reports_judges_teams_projects.php?type=csv\">CSV</a> &nbsp; ";
echo "<a href=\"reports_judges_teams_projects.php?type=pdf\">PDF</a> &nbsp; ";
echo "<br />";
echo i18n("Projects Judging Team Assignments").": ";
echo "<a href=\"reports_projects_judges_teams.php?type=csv\">CSV</a> &nbsp; ";
echo "<a href=\"reports_projects_judges_teams.php?type=pdf\">PDF</a> &nbsp; ";
echo "<br />";
echo "<br />";
echo i18n("Award Ceremony Script").": ";
echo "<a href=\"reports_acscript.php?type=pdf\">PDF</a> &nbsp; ";
echo "<a href=\"reports_acscript.php?type=csv\">CSV</a> &nbsp; ";
if($config['tours_enable'] == 'yes') {
echo "<br />";
echo "<br />";
echo i18n("Available Tours").": ";
echo "<a href=\"reports_tours.php?type=csv\">CSV</a> &nbsp; ";
echo "<br />";
echo i18n("Participant Tour Choices").": ";
echo "<a href=\"reports_tour_selection.php?type=csv\">CSV</a> &nbsp; ";
echo "<br />";
// echo i18n("Tour Volunteers").": ";
// echo "<a href=\"reports_tour_volunteers.php?type=csv\">CSV</a> &nbsp; ";
// echo "<br />";
}
send_footer();
?>