diff --git a/register_participants.inc.php b/register_participants.inc.php new file mode 100644 index 0000000..4862d36 --- /dev/null +++ b/register_participants.inc.php @@ -0,0 +1,24 @@ +$req || $r->$req==0) + { + return "incomplete"; + } + } + } + + //if it made it through without returning incomplete, then we must be complete + return "complete"; +} + + +?> diff --git a/register_participants_main.php b/register_participants_main.php index 63de80a..eef0acb 100644 --- a/register_participants_main.php +++ b/register_participants_main.php @@ -1,5 +1,6 @@ %1",array($r->name)); echo "
"; @@ -43,7 +44,27 @@ echo mysql_error(); echo "".i18n("Registration Item")."".i18n("Status").""; //participant information -echo "".i18n("Student Information").""; +echo ""; +echo ""; +echo i18n("Student Information"); +echo ""; +echo ""; +$status=studentStatus(); +switch($status) +{ + case 'incomplete': + echo "
"; + echo i18n("Incomplete"); + echo "
"; + break; + case 'complete': + echo "
"; + echo i18n("Complete"); + echo "
"; + break; + default: + break; +} //check to see if its complete echo ""; diff --git a/register_participants_students.php b/register_participants_students.php new file mode 100644 index 0000000..119c921 --- /dev/null +++ b/register_participants_students.php @@ -0,0 +1,39 @@ +<< ".i18n("Back to Participant Registration Summary")."
"; + echo "

"; + + + send_footer(); +?> diff --git a/sfiab.css b/sfiab.css index 6f316dd..2ea29fd 100644 --- a/sfiab.css +++ b/sfiab.css @@ -115,3 +115,14 @@ a { padding: 4px; } + +.complete { + color: green; + font-weight: bold; +} + +.incomplete { + color: red; + font-weight: bold; + +}