<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="java.util.Collection" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="net.sz600.basicdata.*" %>
<%@ page import="net.sz600.tool.*" %>
<%@ page import="net.sz600.dbforeign.*" %>
<%@ page import="net.sz600.database.SzPageInfo" %>
<%@ page import="net.sz600.system.SzProperties" %>
<%@ page import="net.sz600.system.SzLevelNumber" %>
<%@ page import="net.sz600.system.SzPageHelp" %>
<%@ page import="net.sz600.flow.*" %>
<%@ page import="net.sz600.formEngine2.*" %>
<%@ include file="/sessionInfo.jsp"%>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<%=strSkin_SESSION%>/css2007.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<%=strLevel_SESSION%>/share/js/operatorWin.js"></script>
<style type="text/css">
.div{
	position: absolute;
	z-index: 1;
	display:none;
	background-color: #cccccc;
	border: 0px;
	border-color: black;
	border-style: solid;
}
td{
	word-break : break-all; 
}
</style>
</head>

<%
    //获取提交的参数
	 String RelateName = SzConvert.strWriteData(request.getParameter("RelateName"));
	 String chaxun = SzConvert.strWriteData(request.getParameter("chaxun"));
	int iCurrentPage = Integer.parseInt(SzConvert.toSpaceStr(request.getParameter("iCurrentPage")));
    String sSearch = SzConvert.strWriteData(request.getParameter("sSearch"));//页面中的快速查询

    GetArrayList getList=new GetArrayList(RelateName,chaxun);
    ArrayList list=getList.getMessage(iCurrentPage,sSearch);
    ArrayList strlist=null;
    String[] str=null;
    int leng = 0;
		
%>
<!-----上面的工具栏------>
<table width="100%">
  <form name="formBar" method="post">
  <tr>
    <td>
      <input type="button" class="btnClass" value=" 关闭 " OnClick="window.close();">
 
      
      <input type="button" class="btnClass" value=" 打 印 " OnClick="window.print();">
                      
    </td>
  </tr>
  </form>
</table>
<table width="100%" border="1" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" class="tableClass" cellpadding="1" cellspacing="0">
	<tr class="trClassTitle">
		<%
		  str = getList.getMC();
		  for(int c =0 ; c < str.length ; c ++){		
		%>
		<td><%=str[c] %></td>
		<%
		  }
		%>
	</tr>
	<%
		
		if(list != null){
			leng=list.size();
		}
		for(int j =0 ; j < leng ; j ++){
			strlist=(ArrayList)list.get(j);
	%>
	<tr onMouseOver="javascript:this.className='trMouseOver'" 
       onMouseOut="javascript:this.className='trMouseOut'">
		<%
		for(int k =0 ; k < strlist.size() ; k ++){		
		%>
			<td><%=strlist.get(k) %></td>
		<%
		  }
		%>
	</tr>
	<%
	}
	%>
</table>
<script language="javascript" src="../../share/js/commonTool.js"></script>

