(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 $1,000.00 and six months in jail. (c) The municipal court may fix punishment for state 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, and a $1,000.00 fine or imprisonment for six months for city ordinance violations.