Unless otherwise specified in this chapter, any person, firm, or corporation who fails to comply with the provisions of this chapter or any order of the Zoning Administrator/Building Inspector issued in accordance with this chapter or resists enforcement shall, upon conviction thereof, be subject to a forfeiture of $100 for the first offense, $250 for the second offense, and $500 for the third offense, plus costs of prosecution of each violation, and, in default of payment of such forfeiture and costs, shall be imprisoned in the county jail until payment thereof, but not exceeding 30 days. Each day a violation exists or continues shall constitute a separate offense.