📄 ok_teacher.jsp
字号:
<%-----filename:ok_teacher.jsp------教师用户的成功登录页面-------%>
<!-------------zhg工作室------2007.6------------->
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" %>
<%
String zhanghao = (String)session.getAttribute("zhanghao");
if(zhanghao==null)
{
response.sendRedirect("login.html");//避免未经登录直接进入本页面
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body {
background-color: #9999cc;
}
-->
</style></head>
<%@ include file="jdbc.jsp" %>
<body>
<table width="326" border="1">
<tr>
<td><font size="3" color="#FF00CC"><b>欢迎你 <%=session.getAttribute("zhanghao")%> 老师 !</b></font></td>
</tr>
<tr>
<td>
<fieldset>
<legend><font size="4" color="#99FF33"><b>学生信息查询</b></font></legend>
<form name="form1" method="post" action="show_s_info1.jsp" target="win2">
<fieldset><legend align="center">直接查询</legend>
<p>
<label for="text0">学号=</label>
<input name="text0" type="text" id="text0" size="25" maxlength="25"><input type="submit" name="Submit" value="查询">
</form>
</p><p></p>
</fieldset>
<p></p>
<fieldset>
<legend align="center">组合查询</legend>
<small>注:查询空值NULL则输入null或NULL,<br>
查询所有学生则无任何条件查询<br>
</small>
<form name="form2" method="post" action="show_s_info2.jsp" target="win2">
<label for="text1">
<select name="select1" size="1" id="select1">
<option value="学号">学号</option>
<option value="姓名" selected >姓名</option>
<option value="性别">性别</option>
<option value="出生年月">出生年月</option>
<option value="专业">专业</option>
</select>
= </label>
<input name="text1" type="text" id="text1" size="25" maxlength="25">
<br>
<label for="text2">
<select name="select2" size="1" id="select2">
<option value="学号">学号</option>
<option value="姓名" selected >姓名</option>
<option value="性别">性别</option>
<option value="出生年月">出生年月</option>
<option value="专业">专业</option>
</select>
= </label>
<input name="text2" type="text" id="text2" size="25" maxlength="25">
<br>
<label for="text3">
<select name="select3" size="1" id="select3">
<option value="课程号">课程号</option>
<option value="课程名" selected >课程名</option>
<option value="性质">课程性质</option>
<option value="学分">学分</option>
</select>
= </label> <input name="text3" type="text" id="text3" size="25" maxlength="25">
<p>
<input type="submit" name="Submit" value="查询">
<input type="reset" name="Submit2" value="取消">
</p>
</form>
</fieldset>
<p></p>
</fieldset> </td>
</tr>
<tr>
<td height="38"><fieldset><legend><font size="4" color="#99FF33"><b>学生成绩管理</b></font></legend>
<form name="form3" method="post" action="modify_marks.jsp" target="win2">
<label for="text4">学号:</label>
<input name="text4" type="text" id="text4" size="25" maxlength="25">
<br>
<label for="text5">课程名:</label>
<input name="text5" type="text" id="text5" size="25" maxlength="25">
<br>
<label for="text6">成绩改为:</label>
<input name="text6" type="text" id="text6" size="25" maxlength="25">
<p>
<input type="submit" name="Submit5" value="确定">
<input type="reset" name="Submit6" value="取消">
</p>
</form>
</fieldset></td>
</tr>
<tr>
<td height="82">
<fieldset><legend><font size="4" color="#99FF33"><b>用户管理</b></font></legend>
<br>
<table>
<tr>
<td>
<form name="form4" method="post" action="teacher_change_password_place.jsp" target="win2">
<input type="submit" name="Submit3" value="修改密码" onClick="javascript:">
</form>
</td>
<td>
</td>
<td>
<form name="form5" method="post" action="quit.jsp" >
<input type="submit" name="quit" value="退出登录" onClick="javascript:window.opener=null;top.window.close();">
</form>
</td>
</tr>
</table>
</fieldset></td>
</tr>
</table>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -