Children, teacher injured in school shooting