Pupils fed through gates, school criticised