The board of commissioners is authorized to adopt ordinances prescribing penalties and punishment for violation of any and all ordinances or resolutions adopted by the board to carry out any of the provisions of this Act or of any other law and to prescribe maximum penalties and punishment for violation of same, expect that the same shall in no event exceed a fine of $500.00, imprisonment in the county jail for 30 days, or labor on the work gang for 60 days for any single offense, or any combination thereof.