Any person constructing or repairing sidewalks, curbs, or performing
work of any sort in the streets which is in violation of any of the
provisions of this chapter shall, upon conviction thereof before a
magisterial district judge, be subject to a fine not to exceed $600
for each and every offense, with each day being a separate offense
and costs of prosecution and, in default of payment of such fine and
costs, to imprisonment for a term not exceeding 30 days.