All prior ordinances, regulations and rules, or parts of such, of the Town of Smithtown regulating traffic and parking and not included in this Code are hereby repealed, except that this repeal shall not:
A. 
Affect or prevent the prosecution or punishment of any person for any act done or committed in violation of any ordinance, regulation or rule hereby repealed prior to the taking effect of this Code.
B. 
Affect any ordinance, rule or regulation adopted after January 1, 1977, and before the effective date of this Code. Such ordinances, rules or regulations shall be deemed to be a part of this Code, and adoption of this Code shall be understood to incorporate such ordinances, rules and regulations. In the event of any conflict or inconsistency between the provisions of such ordinances, rules or regulations and the provisions of this Code, the provisions of such ordinances, rules or regulations shall control.
If any chapter, article, section, subsection, paragraph, sentence, clause or provision of the Code shall be adjudged by any court of competent jurisdiction to be invalid, such adjudication shall not affect, impair or invalidate the remainder thereof, but shall be confined in its operation to the chapter, article, section, subsection, paragraph, sentence, clause or provision thereof directly involved in the controversy in which such judgment shall have been rendered.
A. 
Except those parts, if any, which are subject to approval under § 1684 of the Vehicle and Traffic Law of the State of New York and § 46 of the Highway Law of the State of New York, this Code and any regulations adopted hereunder shall take effect as provided by law.
B. 
Any part or parts of this Code and any regulations adopted hereunder which are subject to approval under § 1684 of the Vehicle and Traffic Law of the State of New York and § 46 of the Highway Law of the State of New York shall take effect from and after the day on which approval, in writing, is received from the New York State Department of Transportation.