diff --git a/admin/registration_list.php b/admin/registration_list.php index b1617d0c..d016b38e 100644 --- a/admin/registration_list.php +++ b/admin/registration_list.php @@ -27,6 +27,17 @@ require("../register_participants.inc.php"); send_header("Participant Registration - List and Statistics"); + ?> + +<< ".i18n("Back to Administration").""; echo "   "; echo "<< ".i18n("Back to Registration").""; @@ -136,6 +147,7 @@ else $wherestatus=""; $sq=mysql_query("SELECT students.firstname, students.lastname, + students.id, schools.school FROM students,schools @@ -151,7 +163,7 @@ else $wherestatus=""; $students=""; while($studentinfo=mysql_fetch_object($sq)) { - $students.="$studentinfo->firstname $studentinfo->lastname
"; + $students.="id)\">$studentinfo->firstname $studentinfo->lastname
"; $schools.="$studentinfo->school
"; $stats_totalstudents++; } diff --git a/admin/students_info.php b/admin/students_info.php new file mode 100644 index 00000000..9bc1389b --- /dev/null +++ b/admin/students_info.php @@ -0,0 +1,88 @@ + + Copyright (C) 2005 James Grant + Copyright (C) 2006 Justin Reardon + + 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. +*/ +?> +firstname,$studentinfo->lastname))); + + echo "\n"; + + echo "\n"; + echo " \n"; + echo " \n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo " \n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo " \n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo " \n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo "\n"; +echo "
".i18n("First Name")."$studentinfo->firstname".i18n("Last Name")."$studentinfo->lastname
".i18n("Grade")."$studentinfo->grade".i18n("Sex")."$studentinfo->sex
".i18n("Email Address")."$studentinfo->email".i18n("Phone")."$studentinfo->phone
".i18n("Address")."$studentinfo->address".i18n("City")."$studentinfo->city
".i18n("Province")."$studentinfo->province"; + echo " ".i18n("Postal Code")."$studentinfo->postalcode
".i18n("Medical Information")."$studentinfo->medicalalert"; + echo " ".i18n("School")."$studentinfo->school
".i18n("Teacher Name")."$studentinfo->teachername"; + echo " ".i18n("Teacher Email")."$studentinfo->teacheremail
"; + } + else + { + send_popup_header("Student Information"); + echo error(i18n("No Student ID passed to Student Info")); + } + + send_popup_footer(); + +?>