A third school has been ordered to close after a 14-year-old pupil became the 18th UK victim of swine flu.