name"); $n = $_POST["navailable_users"]; for ($i=0; $i<$n; $i++) { if ($_POST["change_$i"] != 0) { $userid = post_int("change_$i"); $user = BoincUser::lookup_id($userid); if ($user->teamid != $team->id) { echo "
$user->name is not a member of $team->name"; } else { $team->update("userid=$userid, ping_user=0"); echo "
$user->name is now founder of $team->name"; } } } page_tail(); ?>