Advertisement
Guest User

Untitled

a guest
Dec 16th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  5. <title>CM-WIFI</title>
  6. <!--<script type="text/javascript" src="resources/xhr.js"></script>-->
  7. <script language=javascript>
  8. function patchcheck()
  9. {
  10. if(document.getElementById("username").value == "failsafe")
  11. document.getElementById("sysauth").action = "/cgi-bin/luci/failsafe/";
  12. else if(document.getElementById("username").value == "user")
  13. document.getElementById("sysauth").action = "/cgi-bin/luci/customer/";
  14. else
  15. document.getElementById("sysauth").action = "/cgi-bin/luci/admin/";
  16. }
  17.  
  18. function tcms_register()
  19. {
  20. document.getElementById("sysauth").action = "/cgi-bin/luci/tcms";
  21. }
  22. </script>
  23. <script language=javascript>
  24. function btnbandReg()
  25. {
  26. alert("Not properly connected to the ITMS, the device can not be registered!");
  27. /*var xmlhttp = CreateXMLHttp();
  28. xmlhttp.onreadystatechange = function()
  29. {
  30.  
  31. if (xmlhttp.readyState == 4)
  32. {
  33. if (xmlhttp.status == 200)
  34. {
  35. var status = xmlhttp.responseText;
  36. if (status.indexOf("1") >= 0)
  37. {
  38. location.replace("/html/AutobandReg.asp");
  39. }
  40. else
  41. {
  42. alert("δ��ȷ���ӵ�ITMS,���ܽ����豸ע��!");
  43. }
  44. }
  45. }
  46.  
  47. }
  48. xmlhttp.open('post', 'queryCwmpSts.cgi', true);
  49. xmlhttp.send(null);
  50. return true;
  51. */
  52. }
  53.  
  54. </script>
  55. <style type="text/css">
  56. body { font-family:Arial, Helvetica, sans-serif; font-size: 16px; margin: 150px 0px 0px 0px;}
  57. .login-text { width: 160px;height:24px;font-size: 15px;}
  58. .login-button { width: 100px; height:24px;font-size: 15px;}
  59. </style>
  60. </head>
  61.  
  62. <body>
  63. <form method="post" id="sysauth" name="sysauth" action="/cgi-bin/luci/admin/">
  64. <table cellspacing="0" cellpadding="0" width="337" align="center" border="0">
  65. <tr>
  66. <td align="center"><img height=117 src="/luci-static/simulate/root/image/logo_itttop.jpg" width=337></td>
  67. </tr>
  68. <tr>
  69. <td>&nbsp;</td>
  70. </tr>
  71. <tr>
  72. <td><table cellspacing="0" cellpadding="4" width="100%" border="0">
  73. <tr>
  74. <td width="100" align="right">Username:</td>
  75. <td><input type="text" class="login-text" id=username name=username value=""></td>
  76. </tr>
  77. <tr>
  78. <td align="right">Password:</td>
  79. <td><input type="password" class="login-text" name=password></td>
  80. </tr>
  81. <tr>
  82. <td colspan="2" align="center"><input type="submit" class="login-button" value="Login" id="login_in" name="login_in" onclick="patchcheck()">&nbsp;&nbsp;<input type="reset" class="login-button" value="Reset" ></td>
  83.  
  84. </tr>
  85. <tr>
  86. <td colspan="2" align="center"><font color="FF6600">
  87. You have try&nbsp;2&nbsp;times to login
  88. </font></td>
  89. </tr>
  90.  
  91. </table></td>
  92. </tr>
  93. </table>
  94. </form>
  95. </body>
  96. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement