(A) It is a separate criminal offense for a person to distribute, sell, purchase, manufacture, or to unlawfully possess with intent to distribute, a controlled substance while in, on, or within a one-half mile radius of the grounds of a public or private elementary, middle, or secondary school; a public playground or park; a public vocational or trade school or technical educational center; or a public or private college or university.
(B)
(1) A person who violates the provisions of this section is guilty of a felony and, upon conviction, must be fined not more than ten thousand dollars, or imprisoned not more than ten years, or both.
(2) When a violation involves the distribution, sale, manufacture, or possession with intent to distribute crack cocaine, the person is guilty of a felony and, upon conviction, must be fined not less than ten thousand dollars and imprisoned not less than ten nor more than fifteen years.
(3) When a violation involves only the purchase of a controlled substance, including crack cocaine, the person is guilty of a misdemeanor and, upon conviction, must be fined not more than one thousand dollars or imprisoned not more than one year, or both.
(C) For the purpose of creating inferences of intent to distribute, the inferences set out in Sections 44-53-370 and 44-53-375 apply to criminal prosecutions under this section.