It shall be unlawful for any person to loiter or trespass upon the grounds of any City Cemetery or for the parent or guardian of any child under the age of 18 to permit such person to be within said Cemetery grounds unless accompanied by an adult person or unless visiting the graves of relatives or friends.