Copyright (C) 2005 James Grant 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) { echo i18n("Hello %1",array($r->firstname)); echo "
"; } echo "
"; if(registrationFormsReceived()) { if($r->status=="complete") { echo i18n("Congratulations, You are successfully registered for the %1. No further changes may be made to any of your forms.",array($config['fairname'])); } else if($r->status=="paymentpending") { echo i18n("We have received your forms but are missing your registration fee. You are NOT registered for the fair until your registration fee has been received"); } } else { echo i18n("Please use the checklist below to complete your registration. Click on an item in the table to edit that information. When you have entered all information, the Status field will change to Complete"); } echo "
"; echo "
"; echo ""; echo ""; //participant information echo ""; //participant emergency contact information echo ""; //project information - project requires students, so only show the link if the students is complete echo ""; //mentor information echo ""; //safety information echo ""; //signature page echo ""; //received information echo ""; echo "
".i18n("Registration Item")."".i18n("Status")."
"; echo ""; echo i18n("Student Information"); echo ""; echo ""; //check to see if its complete $statusstudent=studentStatus(); echo outputStatus($statusstudent); echo "
"; if($statusstudent=="complete") echo ""; echo i18n("Emergency Contact Information"); if($statusstudent=="complete") echo ""; echo ""; //check to see if its complete $statusemergencycontact=emergencycontactStatus(); echo outputStatus($statusemergencycontact); echo "
"; if($statusstudent=="complete") echo ""; echo i18n("Project Information"); if($statusstudent=="complete") echo ""; echo ""; //check to see if its complete $statusproject=projectStatus(); echo outputStatus($statusproject); echo "
"; echo ""; echo i18n("Mentor Information"); echo ""; echo ""; //check to see if its complete $statusmentor=mentorStatus(); echo outputStatus($statusmentor); echo "
"; echo ""; echo i18n("Safety Information"); echo ""; echo ""; //check to see if its complete $statussafety=safetyStatus(); echo outputStatus($statussafety); echo "
"; if($statusstudent=="complete" && $statusproject=="complete" && $statusmentor=="complete" && $statussafety=="complete") echo ""; echo i18n("Signature Page"); if($statusstudent=="complete" && $statusproject=="complete" && $statusmentor=="complete" && $statussafety=="complete") echo ""; echo ""; echo i18n("Print"); //check to see if its complete echo "
".i18n("Signature Page Received").""; if(registrationFormsReceived()) echo outputStatus("complete"); else echo outputStatus("incomplete"); //check to see if its complete echo "
"; echo "

"; echo "

".i18n("Registration Instructions")."

"; //now get the text of special instructions for the bottom of this page: $q=mysql_query("SELECT * FROM pagetext WHERE textname='register_participants_main_instructions'"); $r=mysql_fetch_object($q); echo nl2br(i18n($r->text)); echo "

"; echo "".i18n("Logout").""; send_footer(); ?>