Add the project number in big, fat, bold letters to the top of the registration summary page if their forms have been received.

This commit is contained in:
james 2006-09-17 16:26:12 +00:00
parent 794cbe7c84
commit 7e79a9dd9e

View File

@ -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 "<br />";
echo i18n("Your project number is:");
echo "&nbsp; <span style=\"font-size: 2.0em; font-weight: bold\">$projectinfo->projectnumber</span>";
}
else
{