echo "</TD></TR></TABLE>";
-
// Print the description
if ($user->description) {
}
-
// Print all the little details in a list
echo "<TABLE BORDER=0 CELLPADDING=5 CELLSPACING=2";
echo "</TD></TR></TABLE></TABLE>";
+// Print other functions
+ echo "<CENTER><TABLE ALIGN=CENTER><TR>";
+ echo "<TD NOWRAP><P><FORM ACTION=\"../course/unenrol.php\" METHOD=GET>";
+ echo "<INPUT type=hidden name=id value=\"$course->id\">";
+ echo "<INPUT type=submit value=\"Unenrol me from $course->shortname\">";
+ echo "</FORM></P></TD>";
+ echo "</TR></TABLE></CENTER>\n";
+
print_footer($course);
/// Functions ///////