|
|
|
|
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
|
|
|
|
<jsp:useBean id="mb" scope="page" class="com.bean.MemberManageBean" />
|
|
|
|
|
<jsp:useBean id="sn" scope="page" class="com.bean.SystemBean" />
|
|
|
|
|
<jsp:useBean id="tb" scope="page" class="com.bean.HzpBean" />
|
|
|
|
|
<%
|
|
|
|
|
String path = request.getContextPath();
|
|
|
|
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
|
|
|
|
String dir=sn.getDir();
|
|
|
|
|
%>
|
|
|
|
|
<HTML><HEAD><TITLE><3E><>̨<EFBFBD><CCA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD></TITLE>
|
|
|
|
|
<LINK href="<%=basePath %><%=dir %>/images/Admin_Style.css" type=text/css rel=stylesheet>
|
|
|
|
|
<LINK href="<%=basePath %><%=dir %>/images/style.css" type=text/css rel=stylesheet>
|
|
|
|
|
<SCRIPT language=JavaScript src="<%=basePath %><%=dir %>/images/Common.js"></SCRIPT>
|
|
|
|
|
<SCRIPT language=JavaScript src="<%=basePath %><%=dir %>/images/calendar.js"></SCRIPT>
|
|
|
|
|
<STYLE type=text/css>
|
|
|
|
|
BODY {
|
|
|
|
|
MARGIN-LEFT: 0px; BACKGROUND-COLOR: #ffffff
|
|
|
|
|
}
|
|
|
|
|
.STYLE1 {color: #ECE9D8}
|
|
|
|
|
</STYLE>
|
|
|
|
|
</HEAD>
|
|
|
|
|
<script language="javascript" >
|
|
|
|
|
function top(){
|
|
|
|
|
form3.action="<%=basePath%><%=dir %>/member/person.jsp?page=1";
|
|
|
|
|
form3.submit();
|
|
|
|
|
}
|
|
|
|
|
function last(){
|
|
|
|
|
if(form3.pageCount.value==0){//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>Ϊ0<CEAA><30><EFBFBD><EFBFBD>ô<EFBFBD><C3B4><EFBFBD><EFBFBD>һҳΪ1<CEAA><31>Ҳ<EFBFBD><D2B2><EFBFBD>ǵ<EFBFBD>һҳ<D2BB><D2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǵ<EFBFBD>0ҳ
|
|
|
|
|
form3.action="<%=basePath%><%=dir %>/member/person.jsp?page=1";
|
|
|
|
|
form3.submit();
|
|
|
|
|
}else{
|
|
|
|
|
form3.action="<%=basePath%><%=dir %>/member/person.jsp?page="+form3.pageCount.value;
|
|
|
|
|
form3.submit();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function pre(){
|
|
|
|
|
var page=parseInt(form3.page.value);
|
|
|
|
|
if(page<=1){
|
|
|
|
|
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һҳ");
|
|
|
|
|
}else{
|
|
|
|
|
form3.action="<%=basePath%><%=dir %>/member/person.jsp?page="+(page-1);
|
|
|
|
|
form3.submit();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function next(){
|
|
|
|
|
var page=parseInt(form3.page.value);
|
|
|
|
|
var pageCount=parseInt(form3.pageCount.value);
|
|
|
|
|
if(page>=pageCount){
|
|
|
|
|
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һҳ");
|
|
|
|
|
}else{
|
|
|
|
|
form3.action="<%=basePath%><%=dir %>/member/person.jsp?page="+(page+1);
|
|
|
|
|
form3.submit();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function bjump(){
|
|
|
|
|
var pageCount=parseInt(form3.pageCount.value);
|
|
|
|
|
if( fIsNumber(form3.busjump.value,"1234567890")!=1 ){
|
|
|
|
|
alert("<22><>ת<EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!");
|
|
|
|
|
form3.busjump.select();
|
|
|
|
|
form3.busjump.focus();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if(form3.busjump.value>pageCount){//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һҳ<D2BB><D2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һҳ
|
|
|
|
|
if(pageCount==0){
|
|
|
|
|
form3.action="<%=basePath%><%=dir %>/member/person.jsp?page=1";
|
|
|
|
|
form3.submit();
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
form3.action="<%=basePath%><%=dir %>/member/person.jsp?page="+pageCount;
|
|
|
|
|
form3.submit();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if(form3.busjump.value<=pageCount){
|
|
|
|
|
var page=parseInt(form3.busjump.value);
|
|
|
|
|
if(page==0){
|
|
|
|
|
page=1;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD><EFBFBD>ô<EFBFBD><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1
|
|
|
|
|
form3.action="<%=basePath%><%=dir %>/member/person.jsp?page="+page;
|
|
|
|
|
form3.submit();
|
|
|
|
|
}else{
|
|
|
|
|
form3.action="<%=basePath%><%=dir %>/member/person.jsp?page="+page;
|
|
|
|
|
form3.submit();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
//****<2A>ж<EFBFBD><D0B6>Ƿ<EFBFBD><C7B7><EFBFBD>Number.
|
|
|
|
|
function fIsNumber (sV,sR){
|
|
|
|
|
var sTmp;
|
|
|
|
|
if(sV.length==0){ return (false);}
|
|
|
|
|
for (var i=0; i < sV.length; i++){
|
|
|
|
|
sTmp= sV.substring (i, i+1);
|
|
|
|
|
if (sR.indexOf (sTmp, 0)==-1) {return (false);}
|
|
|
|
|
}
|
|
|
|
|
return (true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function del()
|
|
|
|
|
{
|
|
|
|
|
pageform.submit();
|
|
|
|
|
}
|
|
|
|
|
function search()
|
|
|
|
|
{
|
|
|
|
|
if(document.sform.id.value.replace(/\s+$|^\s+/g,"").length<=0&&document.sform.name.value.replace(/\s+$|^\s+/g,"").length<=0)
|
|
|
|
|
{
|
|
|
|
|
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<49><44><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD>");
|
|
|
|
|
document.sform.id.focus();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
sform.submit();
|
|
|
|
|
}
|
|
|
|
|
function ts()
|
|
|
|
|
{
|
|
|
|
|
if(document.sform.stime.value.replace(/\s+$|^\s+/g,"").length<=0)
|
|
|
|
|
{
|
|
|
|
|
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼʱ<CABC>䣡");
|
|
|
|
|
document.sform.stime.focus();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if(document.sform.etime.value.replace(/\s+$|^\s+/g,"").length<=0)
|
|
|
|
|
{
|
|
|
|
|
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹʱ<D6B9>䣡");
|
|
|
|
|
document.sform.etime.focus();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
document.sform.method.value="TIMESEARCH";
|
|
|
|
|
sform.submit();
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<%
|
|
|
|
|
String message = (String)request.getAttribute("message");
|
|
|
|
|
if(message == null){
|
|
|
|
|
message = "";
|
|
|
|
|
}
|
|
|
|
|
if (!message.trim().equals("")){
|
|
|
|
|
out.println("<script language='javascript'>");
|
|
|
|
|
out.println("alert('"+message+"');");
|
|
|
|
|
out.println("</script>");
|
|
|
|
|
}
|
|
|
|
|
request.removeAttribute("message");
|
|
|
|
|
%>
|
|
|
|
|
<%
|
|
|
|
|
String username=(String)session.getAttribute("user");
|
|
|
|
|
if(username==null){
|
|
|
|
|
response.sendRedirect(basePath+"/error.jsp");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
%>
|
|
|
|
|
<BODY oncontextmenu="return false;" onselectstart="return false;" leftMargin=0 background=<%=basePath %><%=dir %>/images/MainBg.gif topMargin=0 scroll=no marginheight="0" marginwidth="0">
|
|
|
|
|
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
|
|
|
|
|
<TBODY>
|
|
|
|
|
<TR>
|
|
|
|
|
<TD align="left" vAlign=top >
|
|
|
|
|
<form action="<%=basePath %>MemberManage.do?method=DELMEMBER" method="post" name="pageform">
|
|
|
|
|
<TABLE width="100%" border=0 align="center" cellPadding=3 cellSpacing=1 class=tablewidth>
|
|
|
|
|
<TBODY>
|
|
|
|
|
<TR align="center" class=head>
|
|
|
|
|
<TD height=23><3E><><EFBFBD><EFBFBD></TD>
|
|
|
|
|
<TD><3E><>Ա<EFBFBD><D4B1></TD>
|
|
|
|
|
<TD>ע<><D7A2>ʱ<EFBFBD><CAB1></TD>
|
|
|
|
|
<TD><3E><>½<EFBFBD><C2BD><EFBFBD><EFBFBD></TD>
|
|
|
|
|
<TD><3E>ϴε<CFB4>½ʱ<C2BD><CAB1></TD>
|
|
|
|
|
<TD><3E>ϴε<CFB4>½IP</TD>
|
|
|
|
|
<TD>״̬</TD>
|
|
|
|
|
<TD>ѡ<><D1A1></TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<%
|
|
|
|
|
mb.setEVERYPAGENUM(10);
|
|
|
|
|
int cou = mb.getMessageCount();//<2F>õ<EFBFBD><C3B5><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
|
|
|
|
|
String page1=request.getParameter("page");
|
|
|
|
|
if(page1==null){
|
|
|
|
|
page1="1";
|
|
|
|
|
}
|
|
|
|
|
session.setAttribute("busMessageCount", cou + "");
|
|
|
|
|
session.setAttribute("busPage", page1);
|
|
|
|
|
List pagelist1 = mb.getMessage(Integer.parseInt(page1)); //<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ҳ<EFBFBD><D2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD>ҳ<EFBFBD><D2B3>Ҫ<EFBFBD><D2AA>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
session.setAttribute("qqq", pagelist1);
|
|
|
|
|
int pageCount = mb.getPageCount(); //<2F>õ<EFBFBD>ҳ<EFBFBD><D2B3>
|
|
|
|
|
session.setAttribute("busPageCount", pageCount + "");
|
|
|
|
|
List pagelist3=(ArrayList)session.getAttribute("qqq");
|
|
|
|
|
%>
|
|
|
|
|
<script type="text/JavaScript">
|
|
|
|
|
function allch()
|
|
|
|
|
{
|
|
|
|
|
for(i=0;i<<%=pagelist3.size()%>;i++)
|
|
|
|
|
{
|
|
|
|
|
document.pageform.checkit(i).checked=document.pageform.checkall.checked;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<%
|
|
|
|
|
for(int i=0;i<pagelist3.size();i++){
|
|
|
|
|
List pagelist2 =(ArrayList)pagelist3.get(i);
|
|
|
|
|
%>
|
|
|
|
|
<TR align="center" bgColor=#ffffff>
|
|
|
|
|
<TD id=map><%=i+1 %></TD>
|
|
|
|
|
<TD id=map>
|
|
|
|
|
<a title="<22><><EFBFBD><EFBFBD><EFBFBD>鿴<EFBFBD><E9BFB4>ϸ<EFBFBD><CFB8>Ϣ" href="javascript:" onclick="window.showModelessDialog('<%=basePath+dir %>/member/pminfo.jsp?id=<%=pagelist2.get(0).toString()%>','newwin','dialogHeight:400px; dialogWidth: 600px; dialogTop:0px; dialogLeft: 5px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status:yes;');">
|
|
|
|
|
<%=pagelist2.get(1).toString() %>
|
|
|
|
|
</a>
|
|
|
|
|
</TD>
|
|
|
|
|
<TD id=map><%=pagelist2.get(2).toString() %></TD>
|
|
|
|
|
<TD id=map><%=pagelist2.get(4).toString() %></TD>
|
|
|
|
|
<TD id=map><%=pagelist2.get(5).toString() %></TD>
|
|
|
|
|
<TD id=map><%=pagelist2.get(6).toString() %></TD>
|
|
|
|
|
<TD id=map><a href="<%=basePath%>MemberManage.do?method=CLOSE&id=<%=pagelist2.get(0).toString()%>">
|
|
|
|
|
<%if(Integer.parseInt(pagelist2.get(3).toString())==1){%><font color=blue><3E><><EFBFBD><EFBFBD></font><%}else{%><font color=red><3E><><EFBFBD><EFBFBD></font><%} %>
|
|
|
|
|
</a></TD>
|
|
|
|
|
<TD id=map><input type="checkbox" name="checkit" value="<%=pagelist2.get(0).toString()%>"></TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<%}%>
|
|
|
|
|
<TR align="right" >
|
|
|
|
|
<TD colspan="10" id=map>
|
|
|
|
|
<input type="checkbox" name="checkall" onClick="allch()" > ȫѡ
|
|
|
|
|
</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
|
|
</TBODY>
|
|
|
|
|
</TABLE></form>
|
|
|
|
|
</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<TR>
|
|
|
|
|
<TD align="right" vAlign=top >
|
|
|
|
|
<TABLE width="100%" border=0 align="right" cellPadding=3 cellSpacing=1>
|
|
|
|
|
<TBODY>
|
|
|
|
|
<TR align="right" class=head>
|
|
|
|
|
<TD >
|
|
|
|
|
<form action="" method="post" name="form3">
|
|
|
|
|
<input type="hidden" name="pageCount" value="<%= session.getAttribute("busPageCount").toString()%>" /><!--//<2F><><EFBFBD>ڸ<EFBFBD><DAB8><EFBFBD><EFBFBD><EFBFBD>javascript<70><74>ֵ-->
|
|
|
|
|
<input type="hidden" name="page" value="<%=session.getAttribute("busPage").toString()%>" /><!--//<2F><><EFBFBD>ڸ<EFBFBD><DAB8><EFBFBD><EFBFBD><EFBFBD>javascript<70><74>ֵ-->
|
|
|
|
|
<a href="#" onClick="top()"><img src="<%=basePath %>images/first.gif" border="0" /></a>
|
|
|
|
|
<a href="#" onClick="pre()"><img src="<%=basePath %>images/pre.gif" border="0" /></a>
|
|
|
|
|
<20><><%=session.getAttribute("busMessageCount").toString()%><3E><><EFBFBD><EFBFBD>¼,<2C><><EFBFBD><EFBFBD><%=session.getAttribute("busPageCount").toString()%>ҳ,<2C><>ǰ<EFBFBD><C7B0><%=session.getAttribute("busPage").toString()%>ҳ
|
|
|
|
|
<a href="#" onClick="next()"><img src="<%=basePath %>images/next.gif" border="0" /></a>
|
|
|
|
|
<a href="#" onClick="last()"><img src="<%=basePath %>images/last.gif" border="0" /></a>
|
|
|
|
|
<20><><input name="busjump" type="text" size="3" />ҳ<a href="#" onClick="bjump()"><img src="<%=basePath %>images/jump.gif" border="0" /></a>
|
|
|
|
|
</form>
|
|
|
|
|
</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
</TBODY>
|
|
|
|
|
</TABLE>
|
|
|
|
|
</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<TR>
|
|
|
|
|
<TD align="center" vAlign=top >
|
|
|
|
|
<TABLE width="100%" border=0 align="center" cellPadding=3 cellSpacing=1>
|
|
|
|
|
<TBODY>
|
|
|
|
|
<TR align="center" class=head>
|
|
|
|
|
<TD >
|
|
|
|
|
<input type="button" name="button" value="ɾ<><C9BE>" onClick="del()" >
|
|
|
|
|
</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
</TBODY>
|
|
|
|
|
</TABLE>
|
|
|
|
|
</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
</TBODY>
|
|
|
|
|
</TABLE>
|
|
|
|
|
</BODY>
|
|
|
|
|
<%} %>
|
|
|
|
|
</HTML>
|