(A) Any person violating any provision of this chapter for which no specific penalty is prescribed shall be subject to § 130.99 of this code of ordinances.
(B) Public indecency as set out in § 134.01 of this chapter is a Class A misdemeanor. A person convicted of a third or subsequent violation for public indecency is guilty of a Class 4 felony. Public indecency is a Class 4 felony if committed by a person 18 years of age or older who is on or within 500 feet of elementary or secondary school grounds when children are present on the grounds.
(720 ILCS 5/11-30(c))
(C) As set out in § 134.02 of this chapter, obscenity is a Class A misdemeanor. A second or subsequent offense is a Class 4 felony.
(720 ILCS 5/11-20(d))
(D) (1) Distribution of harmful material in violation of § 134.03 of this chapter is a Class A misdemeanor. A second or subsequent offense is a Class 4 felony.
(2) Any person under the age of 18 who falsely states, either orally or in writing, that he or she is not under the age of 18, or who presents or offers to any person any evidence of age and identity that is false or not actually his or her own with the intent of ordering, obtaining, viewing or otherwise procuring or attempting to procure or view any harmful material is guilty of a Class B misdemeanor.
(3) A person over the age of 18 who fails to exercise reasonable care in ascertaining the true age of a minor, knowingly distributes to, or sends, or causes to be sent, or exhibits to, or offers to distribute, or exhibits any harmful material to a person that he or she believes is a minor is guilty of a Class A misdemeanor. If that person utilized a computer web camera, cellular telephone or any other type of device to manufacture the harmful material, then each offense is a Class 4 felony.
(720 ILCS 5/11-21(e) - (g))