⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plan.jsp

📁 中应用程序的访问权限对Java Web Console 中应用程序的访问权限 成功登录 Web 控制台后,可能无法自动访问在该控制台中注册的所有应用程序。通常,必须安装应用程序,才能让所有的用户在控制
💻 JSP
字号:
<%@ page language="java" import="java.util.*,edu.yinhe.mis.vo.GradeStatVO"
	pageEncoding="utf-8"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!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 check(){
	location.href="<%=path%>/admins/exam/grademanager.html?method=check";
}
function summarize(){
location.href="<%=path%>/admins/exam/grademanager/summarizeGrade.jsp";
}
//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(){
        tabContents.innerHTML = t2Contents.innerHTML;
}       

//this is the tab switching function
var currentTab;
var tabBase;
var firstFlag = true;


function changeTabs(){

        if(firstFlag == true){
                currentTab = t2;
                tabBase = t1base;
                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;

        }
}


</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()>
						查看成绩
					</TD>
					<TD ID=t2 CLASS=selTab >
					成绩统计
					</TD>
					<TD ID=t3 CLASS=tab onclick="summarize()">
						成绩总结
					</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">
						sample contents
					</TD>
				</TR>
			</TABLE>
		</DIV>


		<DIV CLASS=conts ID=t1Contents align="center">
		<table align="center">
		<tbody>
		<tr><th align="center">
			正在连接,请等待
			</th>
			</tr>
		</tbody>	
		</table>
		</DIV>
		<DIV CLASS=conts ID=t2Contents >
			
		<% 	GradeStatVO gsvo=new GradeStatVO();
			ArrayList alist=(ArrayList)request.getAttribute("plan"); 
			System.out.println("plan"+alist);
		  Iterator it= alist.iterator();
		%>
			<body>
				<div id="closeshow" style="display: none;">
					<div id="closewindow">
						<div class="msg_block">
							<iframe id="login_frame" name="login_frame" src=""
								frameborder="0" marginheight="0" marginwidth="0" scrolling="no"
								allowTransparency="true"></iframe>
						</div>
					</div>
					<div id="graydiv"></div>
				</div>

				<DIV class=form-div>
					<FORM action="/grademanager.html?method=search" method="post"
						focus="login">
						<label></label>
						<table width="780" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="12%">
									请选择统计的科目:
								</td>
								<td width="11%">
									<select >
									<%while(it.hasNext()) {
										gsvo=(GradeStatVO)it.next();
									%>
									<option><%=gsvo.getObject_name() %></option>
									<% }%>
									</select>
								</td>
							</tr>
						</table>
					</FORM>
				</DIV>

				<!-- start goods list -->
				<DIV class=list-div id=listDiv>
					<TABLE cellSpacing=1 cellPadding=3>
						<TBODY>
							
							<TR>
								<TH width="19%">
									科目
								</TH>

								<TH width="19%">
									客观题得分率	
								</TH>
								<TH width="19%">
									主观题得分率	
								</TH>
								<TH width="19%">
									及格率	
								</TH>
								<TH width="19%">
									平均分	
								</TH>
								
							</TR>

							<TR>

								<TD align="center">
									
								</TD>
								<TD align="center">
								
								</TD>
								<TD align="center">
									
								</TD>
								<TD align="center">
									
								</TD>
								<TD align="center">
								
								</TD>
								
							</TR>


						</TBODY>
					</TABLE>
					<!-- end goods list -->

				</DIV>
				<DIV id=footer>
					<BR>
					版权所有 @2005-2007 湖北银河软件开发有限公司,并保留所有权利。
				</DIV>

			</body>
		</DIV>
		<DIV CLASS=conts ID=t3Contents align="center">
			<table align="center">
		<tbody>
		<tr><th align="center">
			正在连接,请等待
			</th>
			</tr>
		</tbody>	
		</table>
		</DIV>
		<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 + -