📄 logon.jsp
字号:
<html>
<head>
<title>用户登陆</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="bbs.css">
<script language="javascript">
function checkForm() {
if (document.form1.username.value == "") {
alert("用户名不能为空");
form1.username.focus();
return false;
}
document.form1.submit();
}
function resetForm() {
document.form1.reset();
}
</script>
</head>
<body bgcolor="#FF9900" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
<br>
<table width="100" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="images/login_user.gif" width="266" height="32"></td>
</tr>
<tr align="center" valign="middle">
<td>
<form name="form1" method="post" action="confirm.jsp">
<table align="center">
<tr bgcolor="#FFFF99">
<td width="38%" align="right">大名:</td>
<td width="62%">
<input type="text" name="username">
</td>
</tr>
<tr bgcolor="#FFFF99">
<td width="38%" align="right">密码:</td>
<td width="62%">
<input type="password" name="password">
</td>
</tr>
<tr bgcolor="#FFFF99">
<td width="38%" align="right">身份:</td>
<td width="62%">
<input type="radio" name="userType" value="Y">
会员
<input type="radio" name="userType" value="N" checked>
非会员 </td>
</tr>
</table>
</form>
</td></tr>
<tr bgcolor="#FF9900" valign="middle" align="center">
<td height="20"><img src="images/login_down.gif" width="266" height="20"></td>
</tr>
<tr bgcolor="#FF9900" valign="middle" align="center">
<td height="50"><img src="images/button_1.gif" width="52" height="21" onclick="checkForm();" style="cursor:hand"> <img src="images/button_2.gif" width="52" height="21" onclick="resetForm();" style="cursor:hand"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -