(b) Upon filing a petition for an injunction under this chapter, the program operator may obtain a temporary restraining order in accordance with the provisions of this section. No temporary restraining order shall be issued without notice to the opposite party, unless it shall appear from the facts shown by the affidavit that great or irreparable harm would result to the program operator, a program participant, or an individual residing within 100 feet of the program site before the matter can be heard on notice. The program operator or the program operator's attorney shall state in an affidavit to the court (1) that within a reasonable time prior to the application for a temporary restraining order he or she informed the opposing party or his or her attorney at what time and where the application would be made, (2) that he or she in good faith attempted to so inform the opposing party and his or her attorney but was unable to so inform the opposing attorney or his or her party, specifying the efforts made to contact them, or (3) that for reasons specified he or she should not be required to inform the opposing party or his or her attorney. A temporary restraining order may be granted upon an affidavit which, to the satisfaction of the court, shows reasonable proof of program misconduct or abuse by the participant, and that great or irreparable harm would result. A temporary restraining order granted under this section shall remain in effect, at the court's discretion, for a period not to exceed five days, unless otherwise modified, extended, or terminated by the court.