📄 index.asp
字号:
<html>
<head>
<title>工资管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="home.css" rel="stylesheet" type="text/css">
<script language=javascript>
function CheckForm()
{
if(document.form1.name.value=="")
{
alert("请输入用户名!");
document.form1.name.focus();
return false;
}
if(document.form1.password.value=="")
{
alert("请输入密码!");
document.form1.password.focus();
return false;
}
}
function ClearForm()
{document.form1.name.value = "";
document.form1.password.value = "";
}
</script>
</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>
<%if Session("id")="" then %>
<%if session("login")="1" then response.Write "<br><span class='font'><font color=red>尚未登陆!请马上登陆!</font></span>" end if%>
<%if session("check")="wrong" then response.Write "<br><span class='font'><font color=red>验证失败!请重新登陆!</font></span>" end if%>
<table width="100%" cellspacing="5" bgcolor="#FFFFFF">
<form name="form1" onSubmit="return CheckForm()" action="check.asp" method="Post">
<tr>
<td align=right>用户名:</td>
<td><input name="name" size="12"style="{ "onMouseOver="this.style.backgroundColor='#37a6d3'" onMouseOut="this.style.backgroundColor='#f0f9ff'" maxlength="10"></td>
</tr>
<tr>
<td align=right>密 码:</td>
<td><input type=password size="12" name="password" style="{ "onMouseOver="this.style.backgroundColor='#37a6d3'" onMouseOut="this.style.backgroundColor='#f0f9ff'" maxlength="10"></td>
</tr>
<tr align=center>
<td colspan="2" height="30"> <input name="submit" type="image" src="images/buttonlogin.gif" width="52" height="18">
<a href='javascript:ClearForm()'><img src="images/buttonclear.gif" alt="清除" name="clear" width="52" height="18" border="0"></a>
</td>
</tr>
</form>
</table>
<%else%>
<table width="100%" cellspacing="5" bgcolor="#FFFFFF">
<tr>
<td align=right>用户名:</td>
<td><%response.write Session("id")%></td>
</tr>
<tr>
<td align=right>密 码:</td>
<td>********</td>
</tr>
<tr align="center">
<td height="30" colspan="2"><a href="Logout.asp">【注销登录】</a><a href="passwordxg.asp">【密码修改】</a></td>
</tr>
</table>
<%end if%>
</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 + -