From 7e79a9dd9e7d5c6a1fcc9c065df2e6d2cb545e65 Mon Sep 17 00:00:00 2001 From: james Date: Sun, 17 Sep 2006 16:26:12 +0000 Subject: [PATCH] Add the project number in big, fat, bold letters to the top of the registration summary page if their forms have been received. --- register_participants_main.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/register_participants_main.php b/register_participants_main.php index 5af9bd2..8e9055e 100644 --- a/register_participants_main.php +++ b/register_participants_main.php @@ -66,6 +66,11 @@ echo mysql_error(); if(registrationFormsReceived()) { + + //now select their project number + $q=mysql_query("SELECT projectnumber FROM projects WHERE registrations_id='".$_SESSION['registration_id']."' AND year='".$config['FAIRYEAR']."'"); + $projectinfo=mysql_fetch_object($q); + 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'])); @@ -74,9 +79,12 @@ echo mysql_error(); 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"); - } + echo "
"; + echo i18n("Your project number is:"); + echo "  $projectinfo->projectnumber"; + } else {