B. Every adult who is convicted of an offense prohibiting proximity to children when the offense occurred on or after July 1, 2000, shall as part of his sentence be forever prohibited from loitering within 100 feet of the premises of any place he knows or has reason to know is a primary, secondary or high school. In addition, every adult who is convicted of an offense prohibiting proximity to children when the offense occurred on or after July 1, 2006, shall as part of his sentence be forever prohibited from loitering within 100 feet of the premises of any place he knows or has reason to know is a child day program as defined in §
22.1-289.02.
C. Every adult who is convicted of an offense prohibiting proximity to children, when the offense occurred on or after July 1, 2008, shall as part of his sentence be forever prohibited from going, for the purpose of having any contact whatsoever with children who are not in his custody, within 100 feet of the premises of any place owned or operated by a locality that he knows or should know is a playground, athletic field or facility, or gymnasium.