Whenever, in these Codified Ordinances or in any ordinance of the Municipality, any act is prohibited or is made or declared to be unlawful or an offense or a misdemeanor, or whenever the doing of any act is required or the failure to do any act is declared to be unlawful, the commission or performance of such act, or the failure to commit or perform such act, as required, shall, unless another penalty is provided, be deemed a misdemeanor of the fourth degree and the offender shall be fined not more than two hundred fifty dollars ($250.00) or imprisoned not more than 30 days, or both, for each offense. A separate offense shall be deemed committed each day during or on which a violation or noncompliance occurs or continues, unless otherwise provided.