When a petition making a prima facie case and properly verified is presented to the judge of the court wherein the petition is filed or is to be filed or other judge authorized by the law of the state to grant a preliminary injunction, such judge may, after notice to the adverse party and a hearing, issue a preliminary injunction, and the judge shall direct the terms of the preliminary injunction so as to carry out the purposes of the law, which is to secure the restraint and abatement of such liquor nuisances on the premises.
Ala. Code § 28-4-223 (1975)