Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <br><center>
- <p id="licznikLSS" style="
- color: #556279;
- font: normal 26px Roboto Condensed;
- background: rgb(247, 248, 249);
- padding: 5px;
- border-radius: 5px;
- color: #d02e48;
- margin-right: 10px;
- "></p><br>
- <p style="font: normal 16px Roboto Condensed; color:#848484;">
- dni godzin minut sekund</p>
- <p style="font: normal 15px Roboto Condensed; color:#848484"><br>pozostało do powrotu<br>legendarnego <span style="color: #d02e48; text-decoration: none"><b><a href="https://ls-stories.pl/topic/17459-powr%C3%B3t-wielkiego-projektu-i-sprawd%C5%BAcie/"><span style="color: #d02e48">eXotic Club</span></a></b></span> oraz..<br>próby pobicia <b>rekordu graczy online</b>!</p>
- </center>
- <script>
- var countDownDate = new Date("October 19, 2019 20:00:00").getTime();
- var x = setInterval(function() {
- var now = new Date().getTime();
- var distance = countDownDate - now;
- var days = Math.floor(distance / (1000 * 60 * 60 * 24));
- var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
- var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
- var seconds = Math.floor((distance % (1000 * 60)) / 1000);
- if(days != 0)
- {
- document.getElementById("licznikLSS").innerHTML = days + " " + hours + " "
- + minutes + " " + seconds + "";
- }
- else
- {
- document.getElementById("licznikLSS").innerHTML = "<img style='height: 31px; width: 31px; opacity: 0.9;' src='https://imgur.com/5JKOLtu.jpg'>"+ " " + hours + " "
- + minutes + " " + seconds + "";
- }
- if (distance < 0) {
- clearInterval(x);
- document.getElementById("licznikLSS").innerHTML = " ";
- }
- }, 1000);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement