<%@page import="com.zky.manager.*"%> <%@ page import="com.zky.pub.*"%> <%@ page language="java" pageEncoding="utf-8" %> <% String ls_url1 = "",outstr1 = ""; Login login_obj = (Login)session.getAttribute("login"); //验证session是否过期 if(login_obj == null) { ls_url1 = "/error.jsp?errorinfo=" + "<table><tr><td><font size='3' color='red'>"+Common.toGb("您尚未登录或已经过期!")+"</font></td></tr><tr><td align='center'> <a href='/login.jsp' target='_parent'>"+Common.toGb("重新登录")+"</a></td></tr></table>"; //outstr1 = new String(ls_url1.getBytes("gb2312"),"iso8859-1"); outstr1 = Common.GbConvertIso(ls_url1); response.sendRedirect(outstr1); return; } //验证口令是否验证通过 if(login_obj.checkPasstag() == false) { ls_url1 = "/error.jsp?errorinfo=" + Common.toGb("您没有成功登录!")+"<br> <a href='/login.jsp' target='_parent'>"+Common.toGb("重新登录")+"</a>"; //outstr1 = new String(ls_url1.getBytes("gb2312"),"iso8859-1"); outstr1 = Common.GbConvertIso(ls_url1); response.sendRedirect(outstr1); return; } %> <div id="mydiv" name="mydiv" style="display:none"></div> <html> <head> <title>学生评定系统</title> </head> <style> .divclass{ position:absolute; width:120; height:50; z-index:99; background: #eeeeee; font-size: 12px; border: 1px solid #333333; top: 10px; padding: 0px 0px; text-align : left; BACKGROUND-IMAGE: url(/images/menuback.gif); filter: Alpha(Opacity=85); } .divclassZHCXDiv{ position:absolute; width:120; height:50; z-index:99; background: #eeeeee; font-size: 12px; border: 1px solid #333333; top: 10px; padding: 0px 0px; text-align : left; BACKGROUND-IMAGE: url(/images/menuback.gif); filter: Alpha(Opacity=85); } </style> <style type="text/css"> body{ text-align: left; margin: 0px; padding: 0px; } ul{ margin: 0px;padding: 0px; text-align : center; } li { margin-left:30px; line-height: 22px; list-style-type: none; border-bottom: 1px solid #999999; display: block; weight: 100%; text-align : left; } a:link { display: block; text-decoration: none; color: #000000; } a:visited { display: block; text-decoration: none; color: #000000; } a:hover { display: block; background-color: #CCCCCC; text-decoration: none; color: #000000; } </style> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> <link href="/css/font.css" rel="stylesheet" type="text/css"> </style> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} set(); clock() //hideAll(); //window.open('jumpinfo.jsp','提示信息','width=250,Height=260'); } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <% login_obj = (Login)session.getAttribute("login"); login_obj.outXTree(); String menuidlist = login_obj.menuidlist; %> <body onLoad="MM_preloadImages('images/first800_later_9.gif','images/first800_later_12.gif','images/first800_later_14.gif','images/first800_later_19.gif','images/first800_later_22.gif','images/first800_later_24.gif','images/first800_later_29.gif','images/first800_later_32.gif','images/first800_later_34.gif','images/first800_later_39.gif')"> <div align=left> <table width="774" height="238" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="84" height="76"><IMG onMouseOver="hideAll()" SRC="images/first800_1.gif" WIDTH=84 HEIGHT=76 ALT=""></td> <td width="182"><IMG onMouseOver="hideAll()" SRC="images/first800_2.gif" WIDTH=182 HEIGHT=76 ALT=""></td> <td width="158"><IMG onMouseOver="hideAll()" SRC="images/first800_3.gif" WIDTH=158 HEIGHT=76 ALT=""></td> <td width="220"><IMG onMouseOver="hideAll()" SRC="images/first800_4.gif" WIDTH=220 HEIGHT=76 ALT=""></td> <td width="130"><IMG onMouseOver="hideAll()" SRC="images/first800_5.gif" WIDTH=130 HEIGHT=76 ALT=""></td> </tr> <tr> <td height="51"><IMG onMouseOver="hideAll()" SRC="images/first800_6.gif" WIDTH=84 HEIGHT=51 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_7.gif" WIDTH=182 HEIGHT=51 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_8.gif" WIDTH=158 HEIGHT=51 ALT=""></td> <td width="220" height="51"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('HPXDD','','images/first800_later_9.gif',1)"><img onmouseover="cc(this)" src="images/first800_9.gif" name="HPXDD" width="220" height="51" border="0"></a></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_10.gif" WIDTH=130 HEIGHT=51 ALT=""></td> </tr> <tr> <td><IMG onMouseOver="hideAll()" SRC="images/first800_11.gif" WIDTH=84 HEIGHT=48 ALT=""></td> <td width="182" height="48"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('YJGL','','images/first800_later_12.gif',1)"><img onmouseover="cc(this)" src="images/first800_12.gif" name="YJGL" width="182" height="48" border="0"></a></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_13.gif" WIDTH=158 HEIGHT=48 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_14.gif" WIDTH=220 HEIGHT=48 ALT=""></td> <!-- <td width="220" height="48"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('DDSH','','images/first800_later_14.gif',1)"><img onmouseover="cc(this)" src="images/first800_14.gif" name="DDSH" width="220" height="48" border="0"></a></td> --> <td><IMG onMouseOver="hideAll()" SRC="images/first800_15.gif" WIDTH=130 HEIGHT=48 ALT=""></td> </tr> <tr> <td><IMG onMouseOver="hideAll()" SRC="images/first800_16.gif" WIDTH=84 HEIGHT=45 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_17.gif" WIDTH=182 HEIGHT=45 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_18.gif" WIDTH=158 HEIGHT=45 ALT=""></td> <td width="220" height="45"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('HPRK','','images/first800_later_19.gif',1)"><img onmouseover="cc(this)" src="images/first800_19.gif" name="HPRK" width="220" height="45" border="0"></a></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_20.gif" WIDTH=130 HEIGHT=45 ALT=""></td> </tr> <tr> <td><IMG onMouseOver="hideAll()" SRC="images/first800_21.gif" WIDTH=84 HEIGHT=54 ALT=""></td> <td width="182" height="54"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('BBFX','','images/first800_later_22.gif',1)"><img onmouseover="cc(this)" src="images/first800_22.gif" name="BBFX" width="182" height="54" border="0"></a></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_23.gif" WIDTH=158 HEIGHT=54 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_24.gif" WIDTH=220 HEIGHT=54 ALT=""></td> <!-- <td width="220" height="54"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('HPFP','','images/first800_later_24.gif',1)"><img onmouseover="cc(this)" src="images/first800_24.gif" name="HPFP" width="220" height="54" border="0"></a></td> --> <td><IMG onMouseOver="hideAll()" SRC="images/first800_25.gif" WIDTH=130 HEIGHT=54 ALT=""></td> </tr> <tr> <td><IMG onMouseOver="hideAll()" SRC="images/first800_26.gif" WIDTH=84 HEIGHT=51 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_27.gif" WIDTH=182 HEIGHT=51 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_28.gif" WIDTH=158 HEIGHT=51 ALT=""></td> <td width="220" height="51"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('HPXS','','images/first800_later_29.gif',1)"><img onmouseover="cc(this)" src="images/first800_29.gif" name="HPXS" width="220" height="51" border="0"></a></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_30.gif" WIDTH=130 HEIGHT=51 ALT=""></td> </tr> <tr> <td><IMG onMouseOver="hideAll()" SRC="images/first800_31.gif" WIDTH=84 HEIGHT=41 ALT=""></td> <td width="182" height="41"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('XTGL','','images/first800_later_32.gif',1)"><img onmouseover="cc(this)" src="images/first800_32.gif" name="XTGL" width="182" height="41" border="0"></a></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_33.gif" WIDTH=158 HEIGHT=41 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_34.gif" WIDTH=220 HEIGHT=41 ALT=""></td> <!-- <td width="220" height="41"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('HPWX','','images/first800_later_34.gif',1)"><img onmouseover="cc(this)" src="images/first800_34.gif" name="HPWX" width="220" height="41" border="0"></a></td> --> <td><IMG onMouseOver="hideAll()" SRC="images/first800_35.gif" WIDTH=130 HEIGHT=41 ALT=""></td> </tr> <tr> <td><IMG onMouseOver="hideAll()" SRC="images/first800_36.gif" WIDTH=84 HEIGHT=51 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_37.gif" WIDTH=182 HEIGHT=51 ALT=""></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_38.gif" WIDTH=158 HEIGHT=51 ALT=""></td> <td width="220" height="51"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('ZHCX','','images/first800_later_39.gif',1)"><img onmouseover="cc(this)" src="images/first800_39.gif" name="ZHCX" width="220" height="51" border="0"></a></td> <td><IMG onMouseOver="hideAll()" SRC="images/first800_40.gif" WIDTH=130 HEIGHT=51 ALT=""></td> </tr> </table> <div> <div style="position:absolute" id="showPhoto"></div> <%@include file="/menu.jsp"%> </body> </html> <script language=javascript> function isVisible(cd) { <%=menuidlist%> var count = 0; for (i=0;i<menuidlist.length;i++) { if (menuidlist[i] == cd.name) { count++; break; } } if (count == 0) { cd.disabled=true; } } function check(cd) { <%=menuidlist%> var count = 0; for (i=0;i<menuidlist.length;i++) { if (menuidlist[i] == cd.name) { count++; break; } } if (count == 0) { return false; } return true; } function cc(tt) { var flag = tt.name; var daps; var top = 0; var left = 0; var ttop = tt.offsetTop; //TT控件的定位点高 var thei = tt.clientHeight; //TT控件本身的高 var tleft = tt.offsetLeft; //TT控件的定位点宽 var twidth = tt.clientWidth; var ttyp = tt.type; //TT控件的类型 var ttx; var tty; while (tt = tt.offsetParent){ttop+=tt.offsetTop; tleft+=tt.offsetLeft;} top = top + (ttyp=="image")? ttop+thei : ttop+thei; //层的 Y 坐标 left = left + tleft ; //层的 X 坐标 tty = ttop+thei/2; ttx = tleft + twidth; if (flag == "XTGL") { daps = document.all.XTGLDiv.style; left += 175; top = top-100; } else if (flag == "HPXDD") { daps = document.all.HPXDDDiv.style; left += 200; top = top-40; } else if (flag == "DDSH") { daps = document.all.DDSHDiv.style; left += 200; top = top-40; } else if (flag == "HPRK") { daps = document.all.HPRKDiv.style; left += 200; top = top-40; } else if (flag == "HPFP") { daps = document.all.HPFPDiv.style; left += 210; top = top-40; } else if (flag == "HPXS") { daps = document.all.HPXSDiv.style; left += 170; top = top-100; } else if (flag == "HPWX") { daps = document.all.HPWXDiv.style; left += 210; top = top-100; } else if (flag == "ZHCX") { daps = document.all.ZHCXDiv.style; left = left -110; top = top-160; } else if (flag == "YJGL") { daps = document.all.YJGLDiv.style; left += 180; top = top-45; } else if (flag == "BBFX") { daps = document.all.BBFXDiv.style; left += 175; top = top-250; } daps.top = tty; daps.left = ttx; //daps.top = top; //daps.left = left; document.all.XTGLDiv.style.display = "none"; document.all.HPXDDDiv.style.display = "none"; document.all.DDSHDiv.style.display = "none"; document.all.HPRKDiv.style.display = "none"; document.all.HPFPDiv.style.display = "none"; document.all.HPXSDiv.style.display = "none"; document.all.HPWXDiv.style.display = "none"; document.all.ZHCXDiv.style.display = "none"; document.all.YJGLDiv.style.display = "none"; document.all.BBFXDiv.style.display = "none"; daps.display = ""; //层显示 } function hideAll() { document.all.XTGLDiv.style.display = "none"; document.all.HPXDDDiv.style.display = "none"; document.all.DDSHDiv.style.display = "none"; document.all.HPRKDiv.style.display = "none"; document.all.HPFPDiv.style.display = "none"; document.all.HPXSDiv.style.display = "none"; document.all.HPWXDiv.style.display = "none"; document.all.ZHCXDiv.style.display = "none"; document.all.YJGLDiv.style.display = "none"; document.all.BBFXDiv.style.display = "none"; } function clock() { var title="时间:"; var date=new Date(); var year=date.getYear(); var month=date.getMonth(); var day=date.getDate(); var hour=date.getHours(); var minute=date.getMinutes(); var second=date.getSeconds(); var months=new Array("1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月") var monthname=months[month]; if (hour > 12) { hour=hour- 12; } if (minute < 10) { minute="0"+minute; } if (second < 10) { second="0"+second; } document.title=title+" "+monthname+" "+day+", "+year+" - "+hour+":"+minute+":"+second; status=title+" "+year+"年"+monthname+day+"日"+" "+hour+":"+minute+":"+second; //status += " "; setTimeout("clock()", 500) } if (window.Event) document.captureEvents(Event.MOUSEUP); function nocontextmenu() { event.cancelBubble = true event.returnValue = false; return false; } function norightclick(e) { if (window.Event) { if (e.which == 2 || e.which == 3) return false; } else if (event.button == 2 || event.button == 3) { event.cancelBubble = true event.returnValue = false; return false; } //window.status = '甘肃联通有价卡管理系统'; //return false; } function look(){ if(event.shiftKey) alert("禁止按Shift键!"); //可以换成ALT CTRL } function disstatus () { window.status = '甘肃联通有价卡管理系统'; } document.onkeydown=look; function noKeyPress(){ return false; } document.oncontextmenu = nocontextmenu; // for IE5+ document.onmousedown = norightclick; // for all others document.onKeyPress = noKeyPress; //onMouseUp="disstatus()" onKeyDown="disstatus()" onMouseOver="disstatus()" onMouseMove="disstatus()" //Disable select-text script (IE4+, NS6+)- By Small function disableselect(e){ return false } function reEnable(){ return true } //if IE4+ document.onselectstart=new Function ("return false") //if NS6 if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } </script>