资料
来源:互联网 发布:mac系统ps字体怎么安装 编辑:程序博客网 时间:2024/06/09 17:05
html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<script type="text/javascript">
function go(id)
{
if(document.getElementById("v"+id).style.display=="none")
{
document.getElementById("v"+id).style.display="";
document.getElementById("f"+id).innerHTML="-";
}else
{
document.getElementById("v"+id).style.display="none";
document.getElementById("f"+id).innerHTML="+";
}
return false;
}
</script>
</head>
<body>
<table border="1">
<s:iterator value="clist">
<tr><td><a onclick="return go(<s:property value="cid"/>)"><font id="f<s:property value="cid"/>">+</font></a></td><td><s:property value="cname"/></td></tr>
<tr><td colspan="2">
<table id="v<s:property value="cid"/>" style="display:none">
<s:iterator value="students">
<tr><td>---------</td><td><s:property value="name"/></td></tr>
</s:iterator>
</table>
</tr>
</s:iterator>
</table>
</body>
</html>
<script type="text/javascript">
var XMLHttpReq;
//创建XMLHttpRequest对象
function createXMLHttpRequest() {
if(window.XMLHttpRequest) { //Mozilla 浏览器
XMLHttpReq = new XMLHttpRequest();
}
else if (window.ActiveXObject) { // IE浏览器
try {
XMLHttpReq = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
XMLHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
}
function go()
{
createXMLHttpRequest();
var name = document.getElementById("s.name").value;
var url="test_checkName.action?s.name="+name;
XMLHttpReq.open("post",url,true);
XMLHttpReq.onreadystatechange = processResponse;//指定响应函数
XMLHttpReq.send(null);
}
function processResponse() {
if (XMLHttpReq.readyState == 4) { // 判断对象状态
if (XMLHttpReq.status == 200) { // 信息已经成功返回,开始处理信息
updateList();
} else { //页面不正常
window.alert("您所请求的页面有异常。");
}
}
}
function updateList()
{
var res = XMLHttpReq.responseXML.getElementsByTagName("res");
if(res[0].firstChild.nodeValue==0)
{
alert("你失败了");
}else
{
alert("你成功了");
}
}
</script>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<script type='text/javascript' src='leedwr/interface/dtest.js'></script>
<script type='text/javascript' src='leedwr/engine.js'></script>
<script type='text/javascript' src='leedwr/util.js'></script>
<script type="text/javascript">
function go(cid)
{
dtest.showStudent(cid,callback);
document.getElementById("aa").value=cid;
return false;
}
function callback(data)
{
var newid = document.getElementById("aa").value
var str="";
for(var i=0;i<data.length;i++)
{
str+=data[i].sname+"<p>";
}
document.getElementById("v"+newid).style.display="";
document.getElementById("v"+newid).innerHTML=str;
}
</script>
</head>
<body>
<input type="hidden" name="aa" value="">
<s:iterator value="list" status="sta" >
<a href="#" onclick="return go('<s:property value="cid"/>');"><font id="f<s:property value="cid"/>">+</font></a><s:property value="cname"/>
<div id="v<s:property value="cid"/>" style="display:none">
</div>
</s:iterator>
</body>
</html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<jsp:include page="fz.jsp"></jsp:include>
<frameset rows="59,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="files/top.html" name="topFrame" scrolling="No" noresize="noresize"
id="topFrame" title="topFrame" />
<frameset cols="213,*" frameborder="no" border="0" framespacing="0">
<frame src="denglu.jsp" name="leftFrame" scrolling="No" noresize="noresize"
id="leftFrame" title="leftFrame" />
<frame src="files/mainfra.html" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
</frameset>
</html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>项目管理系统 by www.865171.cn</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(images/left.gif);
}
-->
</style>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<SCRIPT language=JavaScript>
function tupian(idt){
var nametu="xiaotu"+idt;
var tp = document.getElementById(nametu);
tp.src="images/ico05.gif";//图片ico04为白色的正方形
for(var i=1;i<30;i++)
{
var nametu2="xiaotu"+i;
if(i!=idt*1)
{
var tp2=document.getElementById('xiaotu'+i);
if(tp2!=undefined)
{tp2.src="images/ico06.gif";}//图片ico06为蓝色的正方形
}
}
}
function list(idstr){
var name1="subtree"+idstr;
var name2="img"+idstr;
var objectobj=document.all(name1);
var imgobj=document.all(name2);
//alert(imgobj);
if(objectobj.style.display=="none"){
for(i=1;i<10;i++){
var name3="img"+i;
var name="subtree"+i;
var o=document.all(name);
if(o!=undefined){
o.style.display="none";
var image=document.all(name3);
//alert(image);
image.src="../images/ico04.gif";
}
}
objectobj.style.display="";
imgobj.src="images/ico03.gif";
}
else{
objectobj.style.display="none";
imgobj.src="images/ico04.gif";
}
}
</SCRIPT>
<body>
<table width="198" border="0" cellpadding="0" cellspacing="0" class="left-table01">
<tr>
<TD>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="207" height="55" background="images/nav01.gif">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="25%" rowspan="2"><img src="images/ico02.gif" width="35" height="35" /></td>
<td width="75%" height="22" class="left-font01">您好,<span class="left-font02"><s:property value="#session.bm.managername"/>
</span></td>
</tr>
<tr>
<td height="22" class="left-font01">
[ <a href="login.html" target="_top" class="left-font01">退出</a> ]</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 任务系统开始 -->
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
<tr>
<td height="29">
<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- --系统管理员begin -->
<s:if test="#session.bm.bankCity.id==0">
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="log_findallManager.action" target="mainFrame" class="left-font03" >管理员管理</a></td>
</tr>
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="" target="mainFrame" class="left-font03" >公告管理</a></td>
</tr>
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="" target="mainFrame" class="left-font03" >数据备份</a></td>
</tr>
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="" target="mainFrame" class="left-font03" >查看日志</a></td>
</tr>
</s:if>
<!-- --系统管理员end -->
<!-- 地区管理员begin -->
<s:if test="#session.bm.bankCity.id!=0&&#session.bm.bankType.id==0">
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="log1_findcz.action?id=<s:property value="#session.bm.bankCity.id"/>" target="mainFrame" class="left-font03" >操作员管理</a></td>
</tr>
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="log2_findDw.action?did=<s:property value="#session.bm.bankCity.id"/>" target="mainFrame" class="left-font03" >开户单位</a></td>
</tr>
</s:if>
<!-- 地区管理员end-->
<!-- ---人民人行经办员- -->
<s:if test="#session.bm.bankType.id==1">
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="rmlr.jsp" target="mainFrame" class="left-font03" >人民银行核对录入</a></td>
</tr></s:if>
<!-- ------人民会计主管 -->
<s:if test="#session.bm.bankType.id==2">
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="rmzhuguan.jsp" target="mainFrame" class="left-font03" >人民银行财务核对审核</a></td>
</tr></s:if>
<!-- ------开户行经办员 -->
<s:if test="#session.bm.bankType.id==3">
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="abc.jsp" target="mainFrame" class="left-font03" >开户单位录入</a></td>
</tr></s:if>
<!-- ------开户行会计主管 -->
<s:if test="#session.bm.bankType.id==4">
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="kaihukuaijizg.jsp" target="mainFrame" class="left-font03" >开户单位会计主管审核</a></td>
</tr></s:if>
<!-- -公用的业务开始 -->
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="" target="mainFrame" class="left-font03" >打印回执单</a></td>
</tr>
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="log3_bss.action" target="mainFrame" class="left-font03" >论坛管理</a></td>
</tr>
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="log_xiugaimima.action?id=<s:property value="#session.bm.id"/>" target="mainFrame" class="left-font03" >修改密码</a></td>
</tr>
<tr>
<td width="8%"><img name="img8" id="img8" src="images/ico04.gif" width="8" height="11" /></td>
<td width="92%">
<a href="log_outlogin.action" target="_top" class="left-font03" >重新登录</a></td>
</tr>
</table>
</td>
</tr>
</TABLE>
<!-- 任务系统结束 -->
</TD>
</tr>
</table>
</body>
</html>