(a) The Municipal Court shall try and punish violations of all city ordinances and state offenses as provided by state law. (b) The Municipal Court shall have the authority to punish those in its presence for contempt, provided that such punishment shall not exceed $100.00 or 15 days in jail. (c) The Municipal Court may fix punishment for misdemeanor offenses within its jurisdiction not exceeding a fine of $1,000.00 or imprisonment for 360 days or both, or any part of the maximum fine or imprisonment, or may sentence any offender upon conviction to labor for the city on the streets, sidewalks, square, or other public places for a period not exceeding 360 days.