📄 passwordxg.asp
字号:
<%
dim a,b
a=session("id")
b=session("password")
if a=""and b="" then
session("login")="1"
response.redirect"index.asp"
else
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("db/gzglxt.mdb")
exec="select 员工编号,密码 from 员工信息 where 员工编号='"&a&"' "
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,0,1
end if
%>
<html>
<head>
<title>工资管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="home.css" rel="stylesheet" type="text/css">
</head>
<body topmargin="0">
<!--#include file="indextop.asp"-->
<TABLE width=760 border=0 align="center" cellPadding=0 cellSpacing=0>
<TR>
<TD>您现在的位置:<a href="Index.asp"> 工资管理系统 </a>>>> <a href="index.asp">首页</a></TD>
<TD width="150" align="right" valign="middle"> <script language=JavaScript src="images/date.js"></script>
</TD>
<TD width="26"><IMG height=16 src="images/wan.gif" width=26></TD>
<TD width="170" bgColor=#e2e2e1></TD>
</TR>
</TABLE>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<TD width=1 background="images/dotLine_h.gif"><IMG src="images/shim(1).gif" width=1></TD>
<td width="190" align="center" valign="top" bgcolor="#dff5fe"><TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=bottom height=26><IMG height=23
src="images/loginTitle.gif" width=170></TD>
</TR>
</TBODY>
</TABLE>
<table width=170 border="1" cellpadding="0" cellspacing="0" bordercolor="#dff5fe">
<tbody>
<tr>
<td bordercolor="#FFFFFF" bgcolor=#ffffff>
<table width="100%" cellspacing="5" bgcolor="#FFFFFF">
<form name="form1" action="passwordxg1.asp" method="Post">
<tr>
<td align=right>用户名:</td>
<td><%=rs("员工编号")%></td>
</tr>
<tr>
<td align=right>密 码:</td>
<td><input name="password" type="text" value="<%=rs("密码")%>" size="12" maxlength="20"></td>
</tr>
<tr align=center>
<td colspan="2" height="30"><input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<Iframe src="index_left.asp" width="190" height="220" marginheight="0" marginwidth="0" scrolling="NO" frameborder="0" name="left"></iframe>
</td>
<td width=1 bgColor=#669933><IMG src="images/shim(1).gif" width=1></td>
<td width="396" valign="top">
<Iframe src="index_main.asp" width="396" height="345" marginheight="0" marginwidth="0" scrolling="NO" frameborder="0" name="main"></iframe>
</td>
<TD width=1 background="images/dotLine_h.gif"><IMG src="images/shim(1).gif" width=1></TD>
<td width="170" valign="top">
<Iframe src="index_right.asp" width="170" height="310" marginheight="0" marginwidth="0" scrolling="NO" frameborder="0" name="right"></iframe>
</td>
<TD width=1 background="images/dotLine_h.gif"><IMG src="images/shim(1).gif" width=1></TD>
</tr>
<tr>
<TD height="1" colspan="7" background="images/dotLine_w.gif"><IMG height=1 src="images/shim(1).gif" width=100></TD>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<Iframe src="CopyRight.asp" width="760" height="200" marginheight="0" marginwidth="0" scrolling="NO" frameborder="0" name="CopyRight"></iframe>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -