📄 index.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script language="JavaScript">
function checkit()
{
var id = document.form1.user_id.value;
var pwd = document.form1.user_pwd.value;
if(id.length == 0){
alert(" 请输入用户名 " );
document.form1.action="";
id.focus();
return false;
}
if(pwd.length == 0){
alert( " 请输入密码 " );
document.form1.action="";
pwd.focus();
return false;
}
return true;
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>欢迎进入金鹰网上教学系统</title>
<style type="text/css">
<!--
.STYLE4 {
font-weight: bold;
font-size: 36pt;
color: #FF0000;
}
.STYLE5 {font-size: 24px}
.STYLE8 {font-size: 18px; color: #0000FF; }
.STYLE9 {
color: #333333;
font-size: 12px;
}
.STYLE10 {font-size: 16px}
.STYLE11 {font-size: 16px; color: #0000FF; }
.STYLE12 {color: #FFFFFF}
-->
</style>
</head>
<body>
<table width="673" border="0" align="center">
<tr>
<td width="667" height="273" bgcolor="#FFFFFF"><div align="center">
<h2> </h2>
<h2> </h2>
<h2><span class="STYLE4">欢迎进入金鹰网上教学系统
</span> </h2>
<p> </p>
</div></td>
</tr>
<tr>
<td><p> </p>
<form id="form1" name="form1" method="post" action="login.jsp" onSubmit = "checkit()">
<div align="center">
<label>
<div align="center"><span class="STYLE10">用户类型:</span>
<select name="user_career" id="user_career">
<option value="teacher">老师</option>
<option value="student" selected="selected">学生</option>
</select>
</div>
</label>
</div>
<p align="center" class="STYLE5">
<label><span class="STYLE10">用户名:</span> </label>
<input name="user_id" type="text" class="STYLE9" id="user_id" maxlength="30" />
</p>
<p align="center" class="STYLE5">
<label><span class="STYLE10">密 码:</span>
<input name="user_pwd" type="password" class="STYLE9" id="user_pwd" maxlength="30" />
</label>
</p>
<p align="center" class="STYLE10">
<label></label>
</p>
<p>
<label>
<input type="submit" name="Submit" value="登录" />
<input name="reset" type="reset" id="reset" value="重置" />
<div align="center" class="STYLE5">
</div>
</label>
<label>
<div align="center"></div>
</label>
</p>
<p align="center"><span class="STYLE11">注册新用户</span> </p>
</form>
<p align="center" class="STYLE8"> </p>
<p align="center" class="STYLE8"> </p>
<hr size="3" class="STYLE8" />
<p align="center" class="STYLE9">NUDT 2009-2010年版权所有<br />
如果你有任何意见或建议请联系我们的 <a href="mchwang113@sina.com">软件维护人员</a><br />
设计者:金鹰网站策划小组<br />
建议使用IE4.0以上,1024×768浏览</p></td>
</tr>
<tr>
<td height="47"> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -