KTTopLoginBarModule.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <!-- saved from url=(0067)http://www.tten.cn/CustomizePageManagement/KTTopLoginBarModule.aspx -->
  3. <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>
  4. </title>
  5. <script src="../js/jquery-1.9.1.min(1).js" type="text/javascript"></script>
  6. <!--网站主体样式-->
  7. <link href="../css/login.css" type="text/css" rel="stylesheet">
  8. <!--选项卡JS-->
  9. <script type="text/javascript">
  10. function getCookie(objName) {//获取指定名称的cookie的值
  11. var arrStr = document.cookie.split("; ");
  12. for (var i = 0; i < arrStr.length; i++) {
  13. var temp = arrStr[i].split("=");
  14. if (temp[0] == objName) {
  15. $("#checkNum").val(unescape(temp[1]));
  16. return unescape(temp[1]);
  17. }
  18. }
  19. }
  20. function LogoutConfig() {
  21. return confirm("是否要退出系统!");
  22. }
  23. function sub() {
  24. // var e = getCookie("checkNum");
  25. // document.getElementsByName("txtcode").value = e;
  26. if (event.keyCode == 13) {
  27. $("#btnSub").focus();
  28. $("#btnSub").click();
  29. }
  30. }
  31. //验证
  32. function checkUser() {
  33. var userName = $("#txtName").val();
  34. if (userName == "") {
  35. return false;
  36. }
  37. else {
  38. return true;
  39. }
  40. }
  41. function checkPsw() {
  42. var psw = $("#txtPwd").val();
  43. if (psw == "") {
  44. return false;
  45. }
  46. else {
  47. return true;
  48. }
  49. }
  50. function checkAll() {
  51. try {
  52. var Name = checkUser();
  53. var psw = checkPsw();
  54. var id = $("#validateCode").val();
  55. var e = getCookie("CheckCode");
  56. if (!Name) {
  57. alert("用户名不能为空");
  58. $("#txtName").focus();
  59. return false;
  60. }
  61. if (!psw) {
  62. alert("密码不能为空");
  63. $("#txtPwd").focus();
  64. return false;
  65. }
  66. if (e != id) {
  67. alert("验证码错误!请重新输入");
  68. $("#validateCode").focus();
  69. return false;
  70. }
  71. else {
  72. return true;
  73. }
  74. }
  75. catch (e) {
  76. }
  77. }
  78. //回车事件
  79. $("body").keydown(function (event) {
  80. if (event.keyCode == 13) {
  81. $("#btnSub").focus();
  82. $("#btnSub").click();
  83. }
  84. });
  85. </script>
  86. </head>
  87. <body onkeydown="sub();">
  88. <form method="post" action="KTTopLoginBarModule.html" id="form1">
  89. <div class="aspNetHidden">
  90. <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
  91. <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
  92. <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNjczNjI4NzQyD2QWAgIDD2QWAgIDD2QWAmYPZBYCAgUPFgIeB1Zpc2libGVoZGSBmrVWbqSwQ75Xhqwx9w+u48CY7HgC9ofQujRmH+KDmw==">
  93. </div>
  94. <script type="text/javascript">
  95. //<![CDATA[
  96. var theForm = document.forms['form1'];
  97. if (!theForm) {
  98. theForm = document.form1;
  99. }
  100. function __doPostBack(eventTarget, eventArgument) {
  101. if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
  102. theForm.__EVENTTARGET.value = eventTarget;
  103. theForm.__EVENTARGUMENT.value = eventArgument;
  104. theForm.submit();
  105. }
  106. }
  107. //]]>
  108. </script>
  109. <script src="WebResource.axd" type="text/javascript"></script>
  110. <script src="ScriptResource.axd" type="text/javascript"></script>
  111. <script type="text/javascript">
  112. //<![CDATA[
  113. if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
  114. //]]>
  115. </script>
  116. <script src="ScriptResource(1).axd" type="text/javascript"></script>
  117. <div class="aspNetHidden">
  118. <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="8268236A">
  119. <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBwLe2pn4BwLy69TPBQLEhISFCwKd+7qdDgLx15WFBgL7koHUCQK3+aiZD1kuobwgYLVgUco6f7rBViGFyWdFhYsPwE/y6WxN28y7">
  120. </div>
  121. <div style="width: 100%; height: 35px; background: url(../images/top_bg.gif) repeat-x;">
  122. <div class="top_t" style="width: 980px; height: 35px; margin: 0 auto">
  123. <script type="text/javascript">
  124. //<![CDATA[
  125. Sys.WebForms.PageRequestManager._initialize('ScriptManager1', 'form1', ['tUpdatePanel1','UpdatePanel1'], [], [], 90, '');
  126. //]]>
  127. </script>
  128. <span id="UpdatePanel1">
  129. <!--顶部用户登录-->
  130. <input name="checkNum" type="hidden" id="checkNum">
  131. <div id="topUserA">
  132. <ul class="top_tl">
  133. <li style="width: 40px;">用户名</li>
  134. <li style="width: 100px;">
  135. <input name="txtName" type="text" id="txtName" class="login_text"></li>
  136. <li style="width: 40px;">&nbsp;密码</li>
  137. <li style="width: 100px;">
  138. <input name="txtPwd" type="password" id="txtPwd" class="login_text"></li>
  139. <li style="width: 50px;">验证码</li>
  140. <li><span style="display: block;">
  141. <input name="validateCode" type="text" id="validateCode" style="width: 35px; border: 1px solid #d4d0c8; float: left;
  142. "><a href="javascript:document.getElementById('Img').src='Img.ashx?'+new Date;void(0);">
  143. &nbsp;<img id="Img" src="Img.ashx" alt="点击获取" style="text-align: left; width: 65px; height:20px;"></a></span> </li>
  144. <li style="width: 70px;">
  145. <a onclick="javascript:return checkAll();" id="btnSub" class="login_btn" href="javascript:__doPostBack('btnSub','')"></a>
  146. </li>
  147. <li style="width: 60px;"><a href="http://www.tten.cn/FindPsw.aspx" class="red" target="_blank">找回密码</a></li>
  148. <li style="width: 60px;"><a href="http://www.tten.cn/SysManage/PersonUserRegist.aspx" target="_blank" class="blue">用户注册</a></li>
  149. <div class="clear">
  150. </div>
  151. </ul>
  152. </div>
  153. </span>
  154. <!--顶部链接-->
  155. <ul class="top_tr">
  156. <li style="width: 60px;"><a href="http://www.tten.cn/trs/help/gywm_279/201309/t20130916_60661.html" target="_blank">关于我们</a></li>
  157. <li style="width: 60px;"><a href="http://kefu2.tten.cn/webCompany.php?arg=tjkf099f6118-bdba-488f-9b64-1f50ee13522d&style=1%E2%80%9D" target="_blank">在线咨询</a></li>
  158. <li style="width: 60px;">
  159. <a id="lkbtHome" class="blue" href="javascript:__doPostBack('lkbtHome','')">用户中心</a></li>
  160. <li style="width: 60px;">
  161. <img src="../images/top_icon01.gif"></li>
  162. <div class="clear">
  163. </div>
  164. </ul>
  165. <div class="clear">
  166. </div>
  167. </div>
  168. </div>
  169. </form>
  170. </body></html>