ujiajah1

original_login.html

Jun 1st, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.38 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2.   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html>
  4. <head>
  5. <title>internet hotspot > login</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache" />
  8. <meta http-equiv="expires" content="-1" />
  9. <style type="text/css">
  10. body {color: #737373; font-size: 10px; font-family: verdana;}
  11.  
  12. textarea,input,select {
  13. background-color: #FDFBFB;
  14. border: 1px solid #BBBBBB;
  15. padding: 2px;
  16. margin: 1px;
  17. font-size: 14px;
  18. color: #808080;
  19. }
  20.  
  21. a, a:link, a:visited, a:active { color: #AAAAAA; text-decoration: none; font-size: 10px; }
  22. a:hover { border-bottom: 1px dotted #c1c1c1; color: #AAAAAA; }
  23. img {border: none;}
  24. td { font-size: 14px; color: #7A7A7A; }
  25. </style>
  26.  
  27. </head>
  28.  
  29. <body>
  30. $(if chap-id)
  31.     <form name="sendin" action="$(link-login-only)" method="post">
  32.         <input type="hidden" name="username" />
  33.         <input type="hidden" name="password" />
  34.         <input type="hidden" name="dst" value="$(link-orig)" />
  35.         <input type="hidden" name="popup" value="true" />
  36.     </form>
  37.    
  38.     <script type="text/javascript" src="/md5.js"></script>
  39.     <script type="text/javascript">
  40.     <!--
  41.         function doLogin() {
  42.         document.sendin.username.value = document.login.username.value;
  43.         document.sendin.password.value = hexMD5('$(chap-id)' + document.login.password.value + '$(chap-challenge)');
  44.         document.sendin.submit();
  45.         return false;
  46.         }
  47.     //-->
  48.     </script>
  49. $(endif)
  50.  
  51. <div align="center">
  52. <a href="$(link-login-only)?target=lv&amp;dst=$(link-orig-esc)">Latviski</a>
  53. </div>
  54.  
  55. <table width="100%" style="margin-top: 10%;">
  56.     <tr>
  57.     <td align="center" valign="middle">
  58.         <div class="notice" style="color: #c1c1c1; font-size: 9px">Please log on to use the internet hotspot service<br />$(if trial == 'yes')Free trial available, <a style="color: #FF8080"href="$(link-login-only)?dst=$(link-orig-esc)&amp;username=T-$(mac-esc)">click here</a>.$(endif)</div><br />
  59.         <table width="280" height="280" style="border: 1px solid #cccccc; padding: 0px;" cellpadding="0" cellspacing="0">
  60.             <tr>
  61.                 <td align="center" valign="bottom" height="175" colspan="2">
  62.                     <form name="login" action="$(link-login-only)" method="post"
  63.                         $(if chap-id) onSubmit="return doLogin()" $(endif)>
  64.                         <input type="hidden" name="dst" value="$(link-orig)" />
  65.                         <input type="hidden" name="popup" value="true" />
  66.                        
  67.                             <table width="100" style="background-color: #ffffff">
  68.                                 <tr><td align="right">login</td>
  69.                                         <td><input style="width: 80px" name="username" type="text" value="$(username)"/></td>
  70.                                 </tr>
  71.                                 <tr><td align="right">password</td>
  72.                                         <td><input style="width: 80px" name="password" type="password"/></td>
  73.                                 </tr>
  74.                                 <tr><td>&nbsp;</td>
  75.                                         <td><input type="submit" value="OK" /></td>
  76.                                 </tr>
  77.                             </table>
  78.                     </form>
  79.                 </td>
  80.             </tr>
  81.             <tr><td align="center"><a href="http://www.mikrotik.com" target="_blank" style="border: none;"><img src="img/logobottom.png" alt="mikrotik" /></a></td></tr>
  82.         </table>
  83.    
  84.     <br /><div style="color: #c1c1c1; font-size: 9px">Powered by MikroTik RouterOS</div>
  85.     $(if error)<br /><div style="color: #FF8080; font-size: 9px">$(error)</div>$(endif)
  86.     </td>
  87.     </tr>
  88. </table>
  89.  
  90. <script type="text/javascript">
  91. <!--
  92.  document.login.username.focus();
  93. //-->
  94. </script>
  95. </body>
  96. </html>
Add Comment
Please, Sign In to add comment