diff --git a/html/user/profile_menu.php b/html/user/profile_menu.php
index fe2a255126..aa78151345 100644
--- a/html/user/profile_menu.php
+++ b/html/user/profile_menu.php
@@ -20,6 +20,15 @@ User profiles provide a way for individuals to share backgrounds and opinions wi
If you haven't already, you can create your own user profile for others to see!
");
+rowify("
");
+
+$today = getdate(time());
+$UOTD_heading = "User of the Day -- " . $today['month'] . " " . $today['mday'] . ", " . $today['year'];
+row1($UOTD_heading);
+echo "
";
+include("uotd.html");
+echo " |
";
+
rowify("
");
row1("User Profile Explorer");
echo "
@@ -99,11 +108,15 @@ function execute_command() {
}
}
+// TODO: This function should generate multiple pages, and should possibly take the number
+// of results to display from a user-input parameter. Look at build_profile_pages for an
+// example of a good way to do this (albeit writing to a file in that case).
+
function show_search_results($members) {
page_head("Profile Search Results");
if (count($members) > 0) {
- show_user_table($members, 0, 10, 2);
+ show_user_table($members, 0, 20, 2);
} else {
echo "No profiles matched your query. ";
}
|