(a) In accordance with G.S 160A-75, and unless this Code provides otherwise, violation of any provision of this Code or any ordinance shall be a misdemeanor as provided in G.S 14-4, punishable upon conviction by a fine not exceeding $500 or by imprisonment not exceeding 30 days or by both such fine and punishment. An ordinance may provide by express statement that the maximum fine or term of imprisonment to be imposed for its violation shall be some figure or number of days less than the maximum penalties prescribed by G.S 14-4.
(b) By express statement, an ordinance contained in this Code may provide for its enforcement by other remedies, as authorized in G.S 160-175, including the imposition of civil fines, the ordering of appropriate equitable relief, including injunctions, or a combination of remedies.
(c) An ordinance may provide, when appropriate, that each day's continuing violation shall be a separate and distinct offense. (Code 1981, § 1-1006)