(a) Any person violating any of the provisions of this article, except sections eleven and twelve of this article, is guilty of a misdemeanor, and, upon conviction thereof, for the first offense, shall be fined not less than one hundred nor more than $500, or imprisoned in the county jail not more than one year, or both fined and imprisoned.
(b) Any person violating any of the provisions of this article, except sections eleven and twelve of this article, shall, for the second offense, be guilty of a felony, and, upon conviction thereof, shall be fined not more than $1,000, or be imprisoned in the penitentiary for not less than one year, or both fined and imprisoned.