Advertisement
Guest User

Untitled

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