I need script which will do the same as you can see on the website http://www.zigzag.com/

So I need that if someone come on my landing page put years they can open main website. If don`t have 18+ they will received message that He/she is not legal age?

Can you help me with that?

Thanks in advice for time and help.
Best wishes.