authenticator); $userid = post_int("userid"); $new_founder = BoincUser::lookup_id($userid); if (!$new_founder || $new_founder->teamid != $team->id) { error_page( "User is not a member of $team->name"); } page_head("Changing founder of $team->name"); $team->update("userid=$userid, ping_user=0"); echo "$new_founder->name is now founder of $team->name"; page_tail(); ?>