For any and every violation of the provisions of this article, the owner, realtor, general agent or contractor of a building or premises in which part such violation has been committed or shall exist, and the realtor, general agent, architect, builder, contractor or any other person who commits, takes part or assists in such violation or who maintains any building or premises in which any such violation shall exist, shall, for each and every violation and for each and every day that such violation continues, be subject to a fine of not more than $1,000 per day or be subject to imprisonment in the county jail for a period of 90 days or by a period of community service not exceeding 90 days. The court may impose all, some or any combination of these sanctions.