Pass in the registrations id for the user

This commit is contained in:
james 2011-03-03 20:55:12 +00:00
parent 39dd0e6897
commit 42ba7a3db9

View File

@ -76,7 +76,7 @@ echo "<table><tr><td>";
echo "</a>"; echo "</a>";
echo "</td><td>"; echo "</td><td>";
//check to see if its complete //check to see if its complete
$statusstudent=studentsStatus(); $statusstudent=studentsStatus($u['registrations_id']);
echo outputStatus($statusstudent); echo outputStatus($statusstudent);
echo "</td></tr>"; echo "</td></tr>";
@ -89,7 +89,7 @@ echo "<table><tr><td>";
echo "</a>"; echo "</a>";
echo "</td><td>"; echo "</td><td>";
//check to see if its complete //check to see if its complete
$statusemergencycontact=emergencycontactStatus(); $statusemergencycontact=emergencycontactStatus($u['registrations_id']);
echo outputStatus($statusemergencycontact); echo outputStatus($statusemergencycontact);
echo "</td></tr>"; echo "</td></tr>";
@ -102,7 +102,7 @@ echo "<table><tr><td>";
echo "</a>"; echo "</a>";
echo "</td><td>"; echo "</td><td>";
//check to see if its complete //check to see if its complete
$statusproject=projectStatus(); $statusproject=projectStatus($u['registrations_id']);
echo outputStatus($statusproject); echo outputStatus($statusproject);
echo "</td></tr>"; echo "</td></tr>";
@ -114,7 +114,7 @@ echo "<table><tr><td>";
echo "</a>"; echo "</a>";
echo "</td><td>"; echo "</td><td>";
//check to see if its complete //check to see if its complete
$statusmentor=mentorStatus(); $statusmentor=mentorStatus($u['registrations_id']);
echo outputStatus($statusmentor); echo outputStatus($statusmentor);
echo "</td></tr>"; echo "</td></tr>";
} }
@ -130,7 +130,7 @@ echo "<table><tr><td>";
echo "</a>"; echo "</a>";
echo "</td><td>"; echo "</td><td>";
//check to see if its complete //check to see if its complete
$statussafety=safetyStatus(); $statussafety=safetyStatus($u['registrations_id']);
echo outputStatus($statussafety); echo outputStatus($statussafety);
echo "</td></tr>"; echo "</td></tr>";
@ -141,7 +141,7 @@ echo "<table><tr><td>";
echo "</a>"; echo "</a>";
echo "</td><td>"; echo "</td><td>";
//check to see if its complete //check to see if its complete
$statustour=tourStatus(); $statustour=tourStatus($u['registrations_id']);
echo outputStatus($statustour); echo outputStatus($statustour);
echo "</td></tr>"; echo "</td></tr>";
} else { } else {