Any person, corporation, or other entity, including but not limited to the owner, lessee, occupant, architect, building contractor or property manager of a building, structure, land or premises, or the agent, representative or employee of any of them, who violates or is accessory to the violation of any provision of this chapter or any regulation made under the authority conferred by this chapter, or who shall erect, construct, alter, enlarge, convert, demolish or move any building, land, premises or structure without a permit or in violation of any statement or plans submitted and approved under the provisions of this chapter, or who shall use any building, structure, land or premises in violation of this chapter or any regulation made under the authority conferred by this chapter, or in violation of any conditional use permit, variance, special exception or other use permit or building permit or without a building permit or certificate of occupancy where one is required by this chapter, or who shall be the owner, lessee, occupant, architect, building contractor or property manager of a building, structure, land or premises where such violation has been committed or shall exist, shall, upon conviction, be guilty of a violation pursuant to this chapter. Unless otherwise designated by law, the first such violation committed within a period of five years shall be punishable by a fine of not more than $2,000 or imprisonment of not more than 15 days, or both. The second conviction of a violation, both of which were committed within a period of five years, shall be punishable by a fine of not more than $5,000 or imprisonment of not more than 15 days, or both. The third or subsequent conviction of a violation, all of which were committed within a period of five years, shall be punishable by a fine of not more than $10,000 or imprisonment of not more than 15 days, or both.