name; $team_id = $team->id; $nusers = $team->nusers; page_head("Remove Members from $team_name"); echo "

Remove members from $team_name

Removing a member will subtract their credit from team totals
"; start_table(); echo " Remove? Name . Total credit Recent average credit "; $result = mysql_query("select * from user where teamid = $team_id"); $ninactive_users = 0; while ($user = mysql_fetch_object($result)) { $user_total_credit = format_credit($user->total_credit); $user_expavg_credit = format_credit($user->expavg_credit); echo " id> $user->name $user_total_credit $user_expavg_credit "; $ninactive_users++; } echo ""; if ($result) { mysql_free_result($result); } end_table(); echo ""; echo "
"; page_tail(); ?>