📄 totallogin.jsp
字号:
<%@ page language="java" import="java.sql.*" %>
<%@ page contentType="text/html;charset=gb2312"%>
<html>
<head>
<title>用户登录界面</title>
<SCRIPT LANGUAGE="JavaScript">
function setf()
{
document.S_form.username.focus();
}
function cancle()
{ document.S_form.username.value="";
document.S_form.password.value="";
return false;
}
function selec(txt)
{
txt.focus();
txt.select();
}
function chkUser(txt)
{ var user = document.S_form.username;
if (user.value=="")
{
alert ("please input username");
selec(txt);
return false;
}else{
return true;}
}
function chkPw(txt)
{ var pw = document.S_form.password;
if (pw.value=="")
{
alert ("please input password");
selec(txt);
return false;
}else{
return true;}
}
function chkUserPw()
{var user = document.S_form.username;
var pw = document.S_form.password;
if(chkUser(user))
{
if(chkPw(pw))
{
return true;
}
return false;
}
return false;
}
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="/DSN/b.files/art.css" rel=stylesheet type=text/css>
</head>
<body background="/DSN/b.files/bj.gif">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%" >
<TBODY>
<TR class=top>
<TD width=296><IMG align=left
alt=SoftshapeArt border=0 height=58 hspace=0 src="/DSN/b.files/top1.gif"
width=80><IMG align=left border=0 height=58 hspace=0
src="/DSN/b.files/top2.gif" width=216></TD>
<TD> </TD>
<TD width=517> </TD>
</TR></TBODY></TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR >
<td width="16%"> <IMG align=left border=0 height=22 hspace=0 src="/DSN/b.files/nav1.gif"
width=165></td>
</TR></TBODY></TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 class=splash width="100%">
<TBODY>
<TR>
<TD class=splash width="8%" align="center" valign="bottom"><IMG align=left border=0 height=72 hspace=0
src="/DSN/b.files/spl_1.gif" width=76></TD>
<TD width="92%" align="center"><font size="5">公司内部管理系统</font> </TD>
</TR>
</TBODY>
</TABLE>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="299">
<tr>
<td height="207" width="27%"> </td>
<td height="207" width="39%">
<form method="POST" action="totalLogin1.jsp" name="S_form" onSubmit="return chkUserPw()">
<table width="350" border="0" cellspacing="0" cellpadding="0" height="235" align="center">
<tr>
<td align="center">
<table border=0 width=259 cellpadding="0" cellspacing="0" height="180">
<tr align="center" valign="bottom">
<td colspan="2" height="30">
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b class="Blue">user name</b></td>
</tr>
</table>
</td>
</tr>
<tr align="center">
<td colspan="2" height="35">
<input class=bo1 type="text" name="username" size="20" tabindex="1" selected>
</td>
</tr>
<tr align="center" valign="bottom">
<td colspan="2" height="15"><span class=Blue></span>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class=Blue><b>password</b></span></td>
</tr>
</table>
</td>
</tr>
<tr align="center">
<td colspan="2" height="35">
<input type="password" name="password" size="20" tabindex="2" class="bo1">
</td>
</tr>
<tr>
<td align="center" height="65">
<input type="image" border="0" name="imageField" src="../DSN/b.files/login.gif" width="60" height="25">
</td>
<td align="center" height="65">
<input type="image" border="0" name="imageField2" src="../DSN/b.files/reset.gif" width="60" height="25" onclick="return cancle();">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td>
<td height="207" width="34%"> </td>
</tr>
</table>
<p> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -