At least 11 people are injured after an attacker opened fire near a high school in western Turkey on Tuesday.