Married teacher has sex with teen student inside middle school: Prosecutor