You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

238 lines
9.7 KiB

<%@page language="java" pageEncoding="utf-8" %>
<%@ page import="com.zky.manager.*"%>
<%@ page import="com.zky.pub.HashFmlBuf"%>
<%@ page import="com.zky.pub.*"%>
<%@page import="java.util.List"%>
<%
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;
}
%>
<html>
<head>
<title>辅助业务管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!-- using doc write to read query string
<link type="text/css" rel="StyleSheet" href="skins/officexp/officexp.css" />
-->
<script type="text/javascript">
var ie55 = /MSIE ((5\.[56789])|([6789]))/.test( navigator.userAgent ) &&
navigator.platform == "Win32";
if ( !ie55 ) {
window.onerror = function () {
return true;
};
}
function writeNotSupported() {
if ( !ie55 ) {
document.write( "<p class=\"warning\">" +
"This script only works in Internet Explorer 5.5" +
" or greater for Windows</p>" );
}
}
</script>
<script type="text/javascript">
function getQueryString( sProp ) {
var re = new RegExp( sProp + "=([^\\&]*)", "i" );
var a = re.exec( document.location.search );
if ( a == null )
return "";
return a[1];
};
function changeCssFile( sCssFile ) {
var loc = String(document.location);
var search = document.location.search;
if ( search != "" )
loc = loc.replace( search, "" );
loc = loc + "?css=" + sCssFile;
document.location.replace( loc );
}
var cssFile = getQueryString( "css" );
if ( cssFile == "" )
//cssFile = "skins/winclassic.css";
cssFile = "css/officexp.css";
document.write("<link type=\"text/css\" rel=\"StyleSheet\" href=\"" + cssFile + "\" />" );
</script>
<link href="/css/font.css" rel="stylesheet" type="text/css">
<style type="text/css">
a{
text-decoration:none;
}
.tbHead { background-color: #98C5EC;
font-size: 12px;
color: #333333;
padding: 3px;
text-align: center;
}
.tbHead2 { background-color: #F6FBFF;
font-size: 12px;
color: #333333;
padding: 1px;
text-align: center;
}
.tbListWhite { background-color: #FFFFFF;
font-size: 12px;
color: #333333;
padding: 1px;
}
.style1 {color: #333333; font-weight: bold;}
-->
</style>
<script type="text/javascript" src="js/poslib.js"></script>
<script type="text/javascript" src="js/scrollbutton.js"></script>
<script type="text/javascript" src="js/menu4.js"></script>
</head>
<script type="text/javascript">
//writeNotSupported();
function logout(){
rtn = confirm("确定退出系统吗?")
if (rtn !="0"){
return true;
}else{
return false;
}
}
</script>
<script type="text/javascript" src="mmenu.js"></script>
<script type="text/javascript">
<!--
function getQueryString( sProp ) {
var re = new RegExp( sProp + "=([^\\&]*)", "i" );
var a = re.exec( document.location.search );
if ( a == null )
return "";
return a[1];
};
function changeCssFile( sCssFile ) {
var loc = String(document.location);
var search = document.location.search;
if ( search != "" )
loc = loc.replace( search, "" );
loc = loc + "?css=" + sCssFile;
document.location.replace( loc );
}
var cssFile = getQueryString( "css" );
if ( cssFile == "" )
//cssFile = "skins/winclassic.css";
cssFile = "css/officexp.css";
document.write("<link type=\"text/css\" rel=\"StyleSheet\" href=\"" + cssFile + "\" />" );
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];}}
}
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_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>
<%
String versionOfJxcOfFoot = (String)session.getAttribute("versionOfJxc");
String FblForEasy = (String)session.getAttribute("FblForEasy");
%>
<body bgcolor="#5592DC" onLoad="MM_preloadImages('images/top800later_2.gif','images/top800later_3.gif','images/top800later_4.gif','images/top800later_5.gif','images/top800later_6.gif','images/top800later_7.gif','images/top800later_8.gif')" style = "margin-top: 0px;margin-left:0px;">
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 style="heigth:10px">
<TR valign="top">
<TD ROWSPAN=2><img src="images/top800front_1.gif" alt=""></TD>
<TD height="34"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','images/top800later_2.gif',1)"><img onclick='javascript:parent.mainFrame.window.history.back()' src="images/top800front_2.gif" name="Image15" border="0"></a></TD>
<TD><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','images/top800later_3.gif',1)"><img onclick='javascript:parent.mainFrame.window.history.forward()' src="images/top800front_3.gif" name="Image16" border="0"></a></TD>
<TD><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','images/top800later_4.gif',1)"><img onclick='javascript:parent.mainFrame.window.location.reload()' src="images/top800front_4.gif" name="Image17" border="0"></a></TD>
<TD><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image18','','images/top800later_5.gif',1)"><img onclick="parent.mainFrame.document.location='help/download.jsp'" src="images/top800front_5.gif" name="Image18" width="74" height="34" border="0"></a></TD>
<TD><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image19','','images/top800later_6.gif',1)"><img onclick="parent.mainFrame.document.location='chg_pwd.jsp'" src="images/top800front_6.gif" name="Image19" border="0"></a></TD>
<TD><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image20','','images/top800later_7.gif',1)"><img onclick="parent.mainFrame.document.location='logout.jsp'" src="images/top800front_7.gif" name="Image20" border="0"></a></TD>
<% if (versionOfJxcOfFoot.equals("0"))
{
%>
<TD><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','images/top800later_8.gif',1)"><img onclick="parent.mainFrame.document.location='first800.jsp'" src="images/top800front_8.gif" name="Image21" border="0"></a></TD>
<%
}
%>
</TR>
<TR style="height:20px">
<TD align="center" background="images/top800front_9.gif" bgcolor="#4D8BD5"><A class="ftopwhite" href="javascript:parent.mainFrame.window.history.back()" onMouseOver="window.status='将工作区后退到上一个窗口'; return true" class='tool'>后退</A></TD>
<TD align="center" background="images/top800front_10.gif" bgcolor="#4D8BD5"><A class="ftopwhite" href="javascript:parent.mainFrame.window.history.forward()" onMouseOver="window.status='将工作区前进到下一个窗口'; return true" class='tool'>前进</A></TD>
<TD align="center" background="images/top800front_11.gif" bgcolor="#4D8BD5"><A class="ftopwhite" href="javascript:parent.mainFrame.window.location.reload()" onMouseOver="window.status='刷新工作区窗口'; return true" class='tool'>刷新</A></TD>
<TD align="center" background="images/top800front_12.gif" bgcolor="#4D8BD5"><A class="ftopwhite" href="../help/help_bmj.html" target="mainFrame" onMouseOver="window.status='帮助'; return true" class='tool'>帮助</A></TD>
<TD align="center" background="images/top800front_13.gif" bgcolor="#4D8BD5"><A class="ftopwhite" href="chg_pwd.jsp" target="mainFrame" onMouseOver="window.status='修改口令'; return true" class='tool'>修改口令</A></TD>
<TD align="center" background="images/top800front_14.gif" bgcolor="#4D8BD5"><A class="ftopwhite" href="logout.jsp" target="mainFrame" onMouseOver="window.status='退出系统'; return true" onClick="return logout()"class='tool'>退出系统</A></TD>
<% if (versionOfJxcOfFoot.equals("0"))
{
%>
<TD align="center" background="images/top800front_15.gif" bgcolor="#4D8BD5"><A class="ftopwhite" href="first800.jsp" target="mainFrame" onMouseOver="window.status='回主页面'; return true" class='tool'>回主页面</A></TD>
<% }
%>
</TR>
</TABLE>
</body>
</html>
<%
List list = new PopupMsg(login_obj).getMsg();
if(list.size() >0 ) {
session.setAttribute("PopupMsg",list);
%>
<script>
window.open('/msg.jsp','提示信息','width=400,Height=400');
</script>
<%
}
%>