Advertisement
MichalCzEJ

Untitled

Feb 26th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="cz">
  3. <head>
  4. <title>Alogin</title>
  5. <meta http-equiv="refresh" content="2; url=$(link-redirect)">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="stylesheet" href="bootstrap/bootstrap.min.css">
  8. <script src="bootstrap/jquery.min.js"></script>
  9. <script src="bootstrap/bootstrap.min.js"></script>
  10. <link rel="stylesheet" href="hotspot.css">
  11.  
  12. <script language="JavaScript">
  13. <!--
  14. function startClock() {
  15. $(if popup == 'true')
  16. open('$(link-status)', 'hotspot_status', 'toolbar=0,location=0,directories=0,status=0,menubars=0,resizable=1,width=290,height=200');
  17. $(endif)
  18. location.href = unescape('$(link-redirect-esc)');
  19. }
  20. //-->
  21. </script>
  22.  
  23. <style>
  24. #myProgress {
  25. width: 50%;
  26. background-color: #ddd;
  27. }
  28.  
  29. #myBar {
  30. width: 10%;
  31. height: 30px;
  32. background-color: gray;
  33. text-align: center;
  34. line-height: 30px;
  35. color: white;
  36. }
  37. </style>
  38.  
  39.  
  40. </head>
  41. <body>
  42.  
  43.  
  44. <form name="sendin" action="$(link-login-only)" method="post">
  45. <input type="hidden" name="username" />
  46. <input type="hidden" name="password" />
  47. <input type="hidden" name="dst" value="$(link-orig)" />
  48. <input type="hidden" name="popup" value="true" />
  49. </form>
  50.  
  51. <script type="text/javascript" src="/md5.js"></script>
  52. <script type="text/javascript">
  53. <!--
  54. function doLogin() {
  55. document.sendin.username.value = document.login.username.value;
  56. document.sendin.password.value = hexMD5('$(chap-id)' + document.login.password.value + '$(chap-challenge)');
  57. document.sendin.submit();
  58. return false;
  59. }
  60. //-->
  61. </script>
  62.  
  63. <div class="hlavni topimg" id="hlavni" >
  64. <h1 class="hlavnih1">Hotel Pitrun</h1>
  65. <div id="myBar" class="hlavnih1">10%</div>
  66. <h2 class="hlavnih2">Přesměrování...</h2>
  67. </div>
  68.  
  69.  
  70.  
  71.  
  72. <div id="5">
  73. <footer class="spodni">&copy; Hotel Pitrun s.r.o. All rights reserved.</footer>
  74. </div>
  75.  
  76.  
  77. <script>
  78. function myFunction() {
  79. var x = document.getElementById("myTopnav");
  80. if (x.className === "topnav") {
  81. x.className += " responsive";
  82. } else {
  83. x.className = "topnav";
  84. }
  85. document.querySelector('#nav').scrollIntoView({behavior: 'smooth'});
  86. }
  87. </script>
  88.  
  89.  
  90. <script>
  91. function move() {
  92. var elem = document.getElementById("myBar");
  93. var width = 10;
  94. var id = setInterval(frame, 20);
  95. function frame() {
  96. if (width >= 100) {
  97. clearInterval(id);
  98. } else {
  99. width++;
  100. elem.style.width = width + '%';
  101. elem.innerHTML = width * 1 + '%';
  102. }
  103. }
  104. }
  105.  
  106. move()
  107. </script>
  108.  
  109. </body>
  110. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement