(A) Any person who performs any of the following acts with a person not his spouse commits the offense of patronizing a prostitute:
(1) Engages in an act of sexual penetration as defined in ILCS Ch. 720, Act 5, § 12-12 with a prostitute; or
(2) Enters or remains in a place of prostitution with intent to engage in an act of sexual penetration as defined in ILCS Ch. 720, Act 5, § 12-12.
(B) Patronizing a prostitute is a Class 4 felony. A person convicted of a second or subsequent violation of this section, or of any combination of such number of convictions under this section and ILCS Ch. 720, Act 5, §§ 11-14, 11-14.1, 11-15, 11-15.1, 11-16, 11-17, 11-17.1,11-18.1, 11-19, 11-19.1, or 11-19.2 is guilty of a Class 3 felony. The fact of such prior conviction is not an element of the offense and may not be disclosed to the jury during trial unless otherwise permitted by issues properly raised during such trial.
(C) A person who violates this section within 1,000 feet of real property comprising a school commits a Class 3 felony.
(ILCS Ch. 720, Act 5, § 11-18) Penalty, see § 130.99