";
+ }
+
+ // Formatting is a table with two columns of user summaries.
+ for ($col = 0; $col < $cols; $col++) {
+ if ($count < $numMembers) {
+ if ($descriptor) {
+ fwrite($descriptor, "");
+ } else {
+ echo "";
+ }
+
+ // Only link an image if one exists.
+ if (file_exists(IMAGE_PATH . $members[$count] . '_sm.jpg')) {
+ if ($descriptor) {
+ fwrite($descriptor, "");
+ } else {
+ echo "";
+ }
+
+ } else {
+ if ($descriptor) {
+ fwrite($descriptor, " ");
+ } else {
+ echo " ";
+ }
+ }
+ if ($descriptor) {
+ fwrite($descriptor, " | ");
+ fwrite($descriptor, get_profile_summary($members[$count]));
+ fwrite($descriptor, " | ");
+ } else {
+ echo " | \n", get_profile_summary($members[$count]), " | ";
+ }
+
+ $count++;
+ }
+ else {
+ // Empty entry
+ if ($descriptor) {
+ fwrite($descriptor, " | | ");
+ } else {
+ echo " | | ";
+ }
+ }
+ }
+ if ($descriptor) {
+ fwrite($descriptor, "
\n");
+ } else {
+ echo "";
+ }
+ }
+ if ($descriptor) {
+ fwrite($descriptor, "