"; show_profile($profile['userid'], true); echo " |
There are currently ", mysql_numrows($result), " profiles which have been approved for User of the Day; ", mysql_num_rows($result2), " unverified potential candidates.
"; mysql_free_result($result); mysql_free_result($result2); } else { // DATABASE ERROR PAGE; } $result = mysql_query("SELECT *, (recommend - reject) AS score FROM profile WHERE uotd_time IS NULL ORDER BY score DESC"); if ($result && mysql_numrows($result) > 0) { echo "Verify additional profiles"; } function show_verify_tools($num, $profile) { global $verification; global $set; echo "User ID: ", $profile['userid'], " Last selected UOTD: "; if ($profile['uotd_time']) { echo date("F jS, Y", $profile['uotd_time']); } else { echo "Never"; } echo " | \n", $profile['recommend'], " recommendation(s), ", $profile['reject'], " rejection(s). "; echo "Current status: ", $verification[$profile['verification']]; echo" | \n