It shall be unlawful for any person owning, leasing, renting, occupying or having charge or possession of any real or personal property in the city to maintain or to allow to be maintained the property in the manner that any of the following conditions are found to exist thereon, or any other public nuisance to exist thereon, except as may be allowed by any other provisions of this Code or state law. It shall be unlawful for any person to act or fail to act in such a manner as to create a public nuisance.