📄 summarizegrade.jsp
字号:
<%@ page language="java" import="java.util.*,edu.yinhe.mis.vo.GradeVO"
pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<base href="<%=basePath%>">
<title>成绩管理</title>
<LINK href="../css/general.css" type=text/css rel=stylesheet>
<LINK href="../css/main.css" type=text/css rel=stylesheet>
<LINK href="../css/CSS.css" type=text/css rel=stylesheet>
<LINK href="<%=path%>/admins/css/general.css" type=text/css
rel=stylesheet>
<LINK href="<%=path%>/admins/css/main.css" type=text/css
rel=stylesheet>
<STYLE>
.conts {
visibility: hidden
}
.tab {
border: 1px solid #bbdde5;
font-family: Verdana;
font-size: 10pt;
text-align: center;
font-weight: normal
}
.selTab {
border-left: solid thin white;
border-top: solid thin white;
border-right: solid thin black;
font-weight: bold;
text-align: center
}
</STYLE>
<SCRIPT LANGUAGE=JavaScript>
function stat(){
location.href="<%=path%>/admins/exam/gradestat.html?method=fetle";
}
function check(){
location.href="<%=path%>/admins/exam/grademanager.html?method=check";
}
function serach(){
location.href="<%=path%>/admins/exam/grademanager.html?method=search";
}
function summarize(){
location.href="<%=path%>/admins/exam/summarizegrade.html?method=summarizegrade";
}
//a public function that the container uses to pass in values for the labels
function public_Labels(label1, label2, label3, label4){
t1.innerText = label1;
t2.innerText = label2;
t3.innerText = label3;
t4.innerText = label4;
}
//a public function that the container uses to pass in values for the card containers
function public_Contents(contents1, contents2, contents3, contents4){
t1Contents.innerHTML = contents1;
t2Contents.innerHTML = contents2;
t3Contents.innerHTML = contents3;
t4Contents.innerHTML = contents4;
init();
}
//sets the default display to tab 1
function init(){
startclock();
tabContents.innerHTML = t3Contents.innerHTML;
}
//this is the tab switching function
var currentTab;
var tabBase;
var firstFlag = true;
function changeTabs(){
if(firstFlag == true){
currentTab = t3;
tabBase = t3base;
firstFlag = false;
}
if(window.event.srcElement.className == "tab"){
currentTab.className = "tab";
tabBase.style.backgroundColor = "white";
currentTab = window.event.srcElement;
tabBaseID = currentTab.id + "base";
tabContentID = currentTab.id + "Contents";
tabBase = document.all(tabBaseID);
tabContent = document.all(tabContentID);
currentTab.className = "selTab";
tabBase.style.backgroundColor = "";
tabContents.innerHTML = tabContent.innerHTML;
}
}
function detailcheck(t){
window.open("grademanager.html?method=detailcheck&&examno="+t,"","height=240,width=340,status=no,location=no,toolbar=no,fullscreen=no,directories=no,resizable=yes,scrollbars=yes,menubar=no");
}
function update(t){
window.open("grademanager.html?method=deup&&examno="+t,"","height=240,width=340,status=no,location=no,toolbar=no,fullscreen=no,directories=no,scrollbars=yes,resizable=yes,menubar=no");
}
</SCRIPT>
</HEAD>
<body bgcolor="#009999" onload=init() onclick=changeTabs()>
<H1>
<SPAN>银河管理中心 - 成绩管理 </SPAN>
</H1>
<DIV
STYLE="position: absolute; height: 350; width: 750; border: border : 1px solid #bbdde5;">
<TABLE STYLE="width: 780px; height: 247px;" CELLPADDING=0
CELLSPACING=0>
<TR>
<TD ID=t1 CLASS=tab HEIGHT=25 onclick="check()"
onmouseover="t1.style.height='45';"
onmouseout="t1.style.height='25';">
查看成绩
</TD>
<TD ID=t2 CLASS=tab OnClick=stat()
onmouseover="t1.style.height='45';"
onmouseout="t1.style.height='25';">
成绩统计
</TD>
<TD ID=t3 CLASS=selTab>
成绩总结
</TD>
<TD ID=t4 CLASS=tab>
tab 4
</TD>
</TR>
<TR>
<TD ID=t1base STYLE="height: 2; border-left: solid thin white"></TD>
<TD ID=t2base STYLE="height: 2; background-color: white"></TD>
<TD ID=t3base STYLE="height: 2; background-color: white"></TD>
<TD ID=t4base
STYLE="height: 2; background-color: white; border-right: solid thin white"></TD>
</TR>
<TR>
<TD HEIGHT="*" COLSPAN=4 ID=tabContents
STYLE="border-left: solid thin white; border-bottom: solid thin white; border-right: solid thin white">
正在连接,请等待
</TD>
</TR>
</TABLE>
</DIV>
<DIV CLASS=conts ID=t1Contents>
</DIV>
<DIV CLASS=conts ID=t2Contents>
<table align="center">
<tbody>
<tr>
<th align="center">
正在连接,请等待
</th>
</tr>
</tbody>
</table>
</DIV>
<DIV CLASS=conts ID=t3Contents align="center">
<script language="JavaScript">
var timerID = null;
var timerRunning = false;
function stopclock(){
if(timerRunning){
clearTimeout(timerID);
}
timerRunning = false;
}
function startclock(){
stopclock();
showtime();
}
function showtime(){
var now = new Date();
var years=now.getYear();
var months=now.getMonth()+1;
var days=now.getDay()+4;
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var timeValue = years+"-"+months+"-"+days+" " +hours;
timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
document.clock.summarize_date.value = timeValue ;
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}
function createXMLHttpRequest(){
if(window.ActiveXObject){
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}else if(window.XMLHttpRequest){
xmlHttp=new XMLHttpRequest();
}
}
function update(){
createXMLHttpRequest();
xmlHttp.onreadystatechange=processor;
xmlHttp.open("GET","<%=path%>/admins/exam/grademanager.html?method=update",true);
xmlHttp.send(null);
}
function processor(){
if(xmlHttp.readState==1){
alert("aaaaaaaaa");
}else if(xmlHttp.readState==2){
alert("bbbbbbbbbbbb");
}else if(xmlHttp.readState==3){
alert("cccccccccc");
}else{
if(xmlHttp.status==200){
responseContext=responseText;
if(responseContext.indexOf("true")!=-1){
alert("aaaaaaaaa");
}else{
alert("bbbbbbbbb");
}
}
}
}
</script>
<body onload="startclock()" id="form" >
<form action="" id="form" name="clock">
<tr>
<td>请选择您要总结的科目:</td>
<select property="summarize_subject">
<option value="summarize_subject">java</option>
<option value="summarize_subject">xml</option>
</select>
</tr><br>
<tr><td>请填写您总结的内容:</td></tr><br>
<tr>
<textarea name="textarea1" rows="5" onBlur="content()"></textarea> </tr><br>
<tr><td>总结时间:</td>
<input readonly="yes" name="summarize_date" readonly="readonly" onBlur="">
</tr><br>
<tr><td>总结人签名:</td>
<input name="sum_men" onBlur="">
</tr><br>
<input type="submit" value="提交" class="submit" onclick="summarize()">
<input type="button" value="关闭" onclick="self.close()">
<input type="Reset" value="重置">
</form><br>
<br>
<DIV id=footer>
<BR>
版权所有 @2005-2007 湖北银河软件开发有限公司,并保留所有权利。
</DIV>
</body>
<DIV CLASS=conts ID=t4Contents align="center">
<table align="center">
<tbody>
<tr>
<th align="center">
正在连接,请等待
</th>
</tr>
</tbody>
</table>
</DIV>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -