When not otherwise provided in this act, any violation of any of the provisions thereof shall subject the person or persons so offending to a fine or penalty not exceeding one hundred dollars. All fines and penalties authorized or imposed by this act shall be recoverable by summary proceedings before the mayor, or any alderman or police magistrate in any of said cities, and all suits or actions at law instituted for the recovery thereof, shall be in the name and for the use of the city within or against which the offense is committed, and upon recovery thereof, all such fines and penalties shall be paid to the city treasurer thereof. In default of the payment of any fine or penalty imposed by any mayor, alderman or police magistrate under the provisions of this act, the person or persons so offending may be committed to the jail, workhouse or other penal institution of the county in which said city is situated, for a period not exceeding thirty days.
53 P.S. § 24586