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.

67 lines
3.0 KiB

5 months ago
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="util.Info"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.PageManager"%>
<html>
<head>
<title><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ</title>
<link rel="stylesheet" href="images/hsgcommon/common.css" type="text/css">
<link rel="stylesheet" href="images/hsgcommon/div.css" type="text/css">
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
</head>
<body >
<p><3E><><EFBFBD>н<EFBFBD><D0BD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD>б<EFBFBD><D0B1><EFBFBD></p>
<form name="form1" id="form1" method="post" action="">
<20><><EFBFBD><EFBFBD>: <20><><EFBFBD>ڣ<EFBFBD><input name="riqi" type="text" id="riqi" class="form-control2" /> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><input name="jianshenleixing" type="text" id="jianshenleixing" class="form-control2" />
<input type="submit" name="Submit" value="<22><><EFBFBD><EFBFBD>" class="btn btn-info btn-small" /> <input type="button" name="Submit2" value="<22><><EFBFBD><EFBFBD>EXCEL" class="btn btn-info btn-small" onClick="javascript:location.href='jianshenxinxi_listxls.jsp';" />
</form>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="cccccc" >
<tr>
<td width="35" height="30" align="center" bgcolor="cccccc"><3E><><EFBFBD><EFBFBD></td>
<td bgcolor='#cccccc'><3E>û<EFBFBD><C3BB><EFBFBD></td> <td bgcolor='#cccccc'><3E><><EFBFBD><EFBFBD></td> <td bgcolor='#cccccc'><3E><><EFBFBD><EFBFBD></td> <td bgcolor='#cccccc'><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td> <td bgcolor='#cccccc'>ʱ<><CAB1></td> <td bgcolor='#cccccc'>Ч<><D0A7></td>
<td width="138" height="30" align="center" bgcolor="cccccc"><3E><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1></td>
<td width="220" height="30" align="center" bgcolor="cccccc"><3E><><EFBFBD><EFBFBD></td>
</tr>
<%
new CommDAO().delete(request,"jianshenxinxi");
String url = "jianshenxinxi_list.jsp?1=1";
String sql = "select * from jianshenxinxi where 1=1";
if(request.getParameter("riqi")=="" ||request.getParameter("riqi")==null ){}else{sql=sql+" and riqi like '%"+request.getParameter("riqi")+"%'";} if(request.getParameter("jianshenleixing")=="" ||request.getParameter("jianshenleixing")==null ){}else{sql=sql+" and jianshenleixing like '%"+request.getParameter("jianshenleixing")+"%'";}
sql+=" order by id desc";
ArrayList<HashMap> list = PageManager.getPages(url,15,sql, request);
int i=0;
for(HashMap map:list){
i++;
%>
<tr>
<td width="35" align="center"><%=i %></td>
<td><%=map.get("yonghuming") %></td> <td><%=map.get("xingming") %></td> <td><%=map.get("riqi") %></td> <td><%=map.get("jianshenleixing") %></td> <td><%=map.get("shichang") %></td> <td><%=map.get("xiaoguo") %></td>
<td width="138" align="center"><%=map.get("addtime") %></td>
<td width="220" align="center"><a class="btn btn-info btn-small" href="jianshenxinxi_updt.jsp?id=<%=map.get("id")%>"><3E>޸<EFBFBD></a> <a class="btn btn-info btn-small" href="jianshenxinxi_list.jsp?scid=<%=map.get("id") %>" onClick="return confirm('<27><><EFBFBD><EFBFBD>Ҫɾ<D2AA><C9BE><EFBFBD><EFBFBD>')">ɾ<><C9BE></a> </td>
</tr>
<%
}
%>
</table>
<br>
<p class="fy">${page.info }</p>
</body>
</html>