It would affect those.
We will not make the "global" wrapper + gateway, because what if the user only want a gateway zone on the gateway?
If we would change it to your code = it loads ads of type "global" or "in",
now any gateway zone now has the chance to load a global ad, it might not display the ad, but it still increases the views count, as any ad of type global or in is loaded and runs through the while loop php code. Which means it also gets an views +1.
Much better to keep those 2 seperated to provide more specified ad areas.
The word "global" could be changed though to avoid confusion such as in your case, maybe global (wrapper.html). Not sure
If you can enhance the code to provide your functionality but also keep the view count correct without setting up a query for each zone name ( i do not ), feel free to share the code. But with that edit alone its not enough