Whenever in this article any act is prohibited or is made or declared to be unlawful or an offense, or whenever herein the doing of an act is required or the failure to do any act is declared to be unlawful, the violation of such provision shall be punishable by a fine of not less than $25.00 nor more than $1,000.00 and confinement in the county jail of up to 60 days, or both, and shall be tried in the magistrate court of the county.