Any person who violates or permits the violation of any provision of this chapter shall, upon conviction thereof in a summary proceeding brought before a District Justice under the Pennsylvania Rules of Criminal Procedure, be guilty of a summary offense and shall be subject to the payment of a fine of not less than $100 and not more than $1,000, plus the costs of prosecution. In default of payment thereof, the defendant may be sentenced to imprisonment in the county prison for a term of not more than 30 days. Each section of this chapter violated shall constitute a separate offense, and each day or portion thereof in which a violation of this chapter is found to exist shall constitute a separate offense, each of which violations shall be punishable by a separate fine imposed by the District Justice of not less than $100 and not more than $1,000, plus the costs of prosecution or, upon default of payment thereof, the defendant may be sentenced to imprisonment in the county prison for a term of not more than 30 days. All fines and penalties collected for the violation of this chapter shall be paid to the Township Treasurer.