Added credit/recent average credit to brief description of users in forum

postings.

svn path=/trunk/boinc/; revision=6101
This commit is contained in:
Bruce Allen 2005-05-11 03:50:01 +00:00
parent 45a273f924
commit 2be3da41fc
1 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,8 @@ function show_post($post, $thread, $logged_in_user, $n, $controls=FORUM_CONTROLS
// by displaying the user id of the poster.
// its cheap, easy, and doesn't require any additional database calls.
echo "ID: $user->id<br>";
printf("Credit: %.0f<br>", $user->total_credit);
printf("RAC: %.1f<br>", $user->expavg_credit);
echo "</font></div></td>\n\t\t<td>
";