Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Sopris Liquor & Wine</title>
- </head>
- <body bgcolor="black" font="white">
- <div align="center"><p><img src="C:\Users\Cashier\Documents\SLW-Transparentv2.png" alt="logo" width="800" height="500" /></p>
- <p> </p>
- <script>
- {
- var today = new Date();
- var dd = today.getDate();
- var mm = today.getMonth() + 1; //January is 0!
- var yyyy = today.getFullYear() - 21;
- if (dd < 10) {
- dd = '0' + dd;
- }
- if (mm < 10) {
- mm = '0' + mm;
- }
- today = '<h2><div align="center"><span style="color: #ffffff;">' + mm + '/' + dd + '/' + yyyy + '</span></div></h2>';
- document.write(today);
- }
- </script>
- <strong><span style="color: #ff0000;"><p id="today"></p></strong></span>
- <h2><p><span style="color: #ff0000;"><strong>Customers MUST be born <u>BEFORE</u> this date to buy Alcohol or Tobacco</strong></span></h2></p></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement