login.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:4k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Import Namespace="System.Data"%>
  2. <%@ Import Namespace="System.Data.SqlClient" %>
  3. <%@ Page Language="vb" Debug="true" CodeBehind="login.aspx.vb" AutoEventWireup="false" Inherits="ioffice.login" %>
  4. <%@ Import Namespace="System.Web.Security " %>
  5. <HTML>
  6. <HEAD>
  7. <title>登录到 Hongfan iOffice.net</title>
  8. <META content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  9. <META http-equiv="Content-Language" content="zh-cn">
  10. <META http-equiv="Content-Type" content="text/html; charset=gb2312">
  11. <META content="Microsoft FrontPage 5.0" name="GENERATOR">
  12. <META content="FrontPage.Editor.Document" name="ProgId">
  13. <LINK href="css/login.css" type="text/css" rel="stylesheet">
  14. <SCRIPT language="javascript">
  15. <!--
  16. function help()
  17. {
  18.   window.showHelp("loginhelp.htm")
  19. }
  20. function pwdsetfocus()
  21. {
  22. frm.txtpwd.focus()
  23. }
  24. //-->
  25. </SCRIPT>
  26. </HEAD>
  27. <BODY onload="pwdsetfocus()">
  28. <DIV align="center">
  29. <CENTER>
  30. <TABLE id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="100%" cellSpacing="0" cellPadding="0" width="440" border="0">
  31. <TR>
  32. <TD class="td" width="100%" height="284">
  33. <FORM runat="server" id="frm">
  34. <TABLE class="box" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="250" cellSpacing="0" cellPadding="0" width="443" border="0">
  35. <TR>
  36. <TD width="440" colSpan="3" height="109">
  37. <IMG src="img/login.jpg" border="0">
  38. </TD>
  39. </TR>
  40. <TR>
  41. <TD width="154" colSpan="2" height="7">
  42. </TD>
  43. <TD width="286" height="7">
  44. </TD>
  45. </TR>
  46. <TR>
  47. <TD class="ttTable" width="57" height="34">
  48. <P align="right">
  49. <IMG src="img/loginman.gif" border="0">
  50. </P>
  51. </TD>
  52. <TD class="ttTable" width="97" height="34">
  53. <P align="right">
  54. &nbsp;用户名:
  55. </P>
  56. </TD>
  57. <TD class="td" noWrap width="282" height="34">
  58. <asp:textbox id="txtloginid" runat="server" width="200"></asp:textbox>
  59. <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" errormessage="[用户名]" Width="10px" InitialValue="" Display="Static" ControlToValidate="txtloginid">*</asp:requiredfieldvalidator>
  60. </TD>
  61. </TR>
  62. <tr>
  63. <td class="ttTable" width="154" colSpan="2" height="33">
  64. <p align="right">
  65. 密&nbsp;&nbsp; 码:
  66. </p>
  67. </td>
  68. <td class="td" width="282" height="33">
  69. <asp:textbox id="txtpwd" runat="server" width="200" textmode="password"></asp:textbox>
  70. </td>
  71. </tr>
  72. <tr>
  73. <td class="ttTable" style="HEIGHT: 28px" noWrap width="154" colSpan="2" height="28">
  74. <p align="right">
  75. 单位简称:
  76. </p>
  77. </td>
  78. <td class="td" style="HEIGHT: 28px" noWrap width="282" height="28">
  79. <asp:dropdownlist id="dropBranch" runat="server" Width="200px" DataTextField="simcode" DataValueField="simplecode"></asp:dropdownlist>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td width="440" colSpan="3" height="41">
  84. <p align="center">
  85. <asp:imagebutton id="ok" runat="server" ImageUrl="img/button/ok.gif" AlternateText="登录到 iOffice.net"></asp:imagebutton>
  86. <asp:imagebutton id="chpwd" runat="server" ImageUrl="img/button/chpwd.gif" AlternateText="根据所输入用户名、密码、单位简称,来更改用户登录密码"></asp:imagebutton>
  87. <IMG style="CURSOR: hand" onclick="help()" alt="获得关于登录的帮助" src="img/button/help.gif" border="0">
  88. </p>
  89. </td>
  90. </tr>
  91. </TABLE>
  92. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  93. <TR>
  94. <TD noWrap height="15">
  95. <FONT face="宋体"></FONT>
  96. </TD>
  97. </TR>
  98. <TR>
  99. <TD noWrap align="middle">
  100. <asp:label id="lblmsg" runat="server" align="right" forecolor="red" Visible="False"></asp:label>
  101. </TD>
  102. </TR>
  103. </TABLE>
  104. <asp:validationsummary id="valSum" runat="server" ShowSummary="False" ShowMessageBox="True" HeaderText="你必须输入如下数据:"></asp:validationsummary>
  105. </FORM>
  106. </TD>
  107. </TR>
  108. </TABLE>
  109. </CENTER>
  110. </DIV>
  111. </BODY>
  112. </HTML>