".TD2.LG_FONT."User Stats:\n"; row("User ID: ", $user->id); $row = sprintf("%s user since: ", $project); row($row, time_str($user->create_time)); row("Total credit: ", $user->total_credit); row("Recent averaged credit: ", $user->expavg_credit); if ($user->teamid) { $result = mysql_query("select * from team where id = $user->teamid"); $team = mysql_fetch_object($result); row("Team: ", "id>$team->name"); } else { row("Team: ", "None"); } echo "\n"; } function show_user_profile($user) { echo TABLE2."\n"; echo "
\n"; show_host($host); } mysql_free_result($result); } // show a summary of the user. // NOTE: This is intended to be shown only to that user. // it has info that other users aren't supposed to see function show_user_page_private($user) { echo "
\n"; show_user_stats($user); echo "
\n"; echo "