Chapter 145, Zoning, and Chapter 134, Subdivision of Land, of the Code of the Township of Toms River, New Jersey, are hereby repealed in their entirety, and any portions of other ordinances which contain provisions inconsistent with this chapter are hereby repealed to the extent of such inconsistency, except that any building permit, variance, special use permit, occupancy permit or other permit validly issued pursuant to any such ordinance shall remain valid and effective and shall continue to be governed by the terms and conditions of such ordinance.