The commission shall have power and authority to prescribe by ordinance adequate penalties for all offenses against the laws and ordinances of the city, and to punish offenders by fine not to exceed $2,000.00, imprisonment not to exceed 90 days, or sentence to work on the streets or public works of said city, or community service work, not to exceed six (6) months, any one or more or any part of any one or more of said punishments, in the discretion of the judge of the municipal court or any officer trying the offender.