§ 10.99 GENERAL PENALTY.
   (A)   Unless otherwise specifically provided, if any person shall violate any provision of this code of ordinances, except any provision regulating the operation or parking of vehicles, he or she shall be guilty of a misdemeanor and shall be fined not more than $500 or imprisoned for not more than 30 days. No fine shall exceed $50 per day unless the code provision expressly states that the maximum fine is greater than $50 per day.
   (B)   A person may not be found responsible or guilty of a violation punishable pursuant to division (A) of this section if, when tried for that violation, the person produces proof of compliance with the provisions of this code of ordinances through any of the following:
      (1)   No new alleged violations of the provision within 30 days from the date of the initial alleged violation.
      (2)   The person provides proof of a good-faith effort to seek assistance to address any underlying factors related to unemployment, homelessness, mental health, or substance abuse that might relate to the person's ability to comply with the provisions of this code of ordinances. (G.S. § 14-4(a), (c))
   (C)   Any provision of this code or any other ordinance of the town may be enforced by an appropriate equitable remedy issuing from a court of competent jurisdiction. In such case, the general court of justice shall have jurisdiction to issue such orders as may be appropriate and it shall not be a defense to the application of the town for equitable relief that there is an adequate remedy at law.
   (D)   Any provision of this code or any other ordinance of the town that makes unlawful a condition existing upon or use made of real property may be enforced by injunction and order of abatement, and the general court of justice shall have jurisdiction to issue the orders. When a violation of such a provision occurs, the town may apply to the appropriate division of the general court of justice for a mandatory or prohibitory injunction and order of abatement commanding the defendant to correct the unlawful condition upon or cease the unlawful use of the property. The action shall be governed in all respects by the laws and rules governing civil proceedings, including the State Rules of Civil Procedure in general and Rule 65 in particular.
      (1)   In addition to an injunction, the court may enter an order of abatement as a part of the judgement in the cause. An order of abatement may direct that buildings or other structures on the property be closed, demolished or removed; that fixtures, furniture or other movable property be removed from buildings on the property; that grass and weeds be cut; that improvements or repairs be made; or that any other action be taken that is necessary to bring the property into compliance with this code or the ordinance.
      (2)   If the defendant fails or refuses to comply with an injunction or with an order of abatement within the time allowed by the court, he or she may be cited for contempt, and the town may execute the order of abatement. The town shall have a lien on the property for the cost of executing an order of abatement in the nature of a mechanic’s and materialperson’s lien.
      (3)   The defendant may secure cancellation of an order of abatement by paying all costs of the proceedings and posting a bond for compliance with the order. The bond shall be given with sureties approved by the clerk of superior court in an amount approved by the judge before whom the matter is heard, and shall be conditioned on the defendant’s full compliance with the terms of the order of abatement within a time fixed by the judge.
      (4)   Cancellation of an order of abatement shall not suspend or cancel an injunction issued in connection therewith.
   (E)   The provisions of this code and any other ordinance of the town may be enforced by any, one, all or a combination of the remedies authorized and prescribed by this section.
   (F)   Except as otherwise specifically provided, each day’s continuing violation of any provision of this code or any other ordinance of the town shall be a separate and distinct offense.
   (G)   Violation of this code and other ordinances of the town shall subject the offender to a civil penalty to be recovered by the town in a civil action in the nature of debt if the offender does not pay the penalty within the prescribed period of time after he or she has been cited for violation thereof.
(G.S. § 160A-175)
(1992 Code, § 10.99)