For statutory provisions authorizing cities to impose fines up to five hundred dollars or imprisonment up to six months, or both fine and imprisonment, see Gov. Code §36901; for provisions authorizing the reduction of city ordinance violations to infractions, see Gov. Code §36900.