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.

73 lines
4.1 KiB

<%@ 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><D7A2></title><LINK href="css.css" type=text/css rel=stylesheet>
</head>
<body >
<p><3E><><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ע<EFBFBD><D7A2><EFBFBD>б<EFBFBD><D0B1><EFBFBD></p>
<form name="form1" id="form1" method="post" action="">
<20><><EFBFBD><EFBFBD>: <20>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><input name="yonghuming" type="text" id="yonghuming" size="12" />
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><input name="xingming" type="text" id="xingming" size="12" />
QQ<51><51><input name="QQ" type="text" id="QQ" size="12" />
<20><><EFBFBD>䣺<input name="youxiang" type="text" id="youxiang" size="12" />
<20><EFBFBD><E7BBB0><input name="dianhua" type="text" id="dianhua" size="12" />
<20><><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><input name="shenfenzheng" type="text" id="shenfenzheng" size="15" />
<input type="submit" name="Submit" value="<22><><EFBFBD><EFBFBD>" />
</form>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="00FFFF" style="border-collapse:collapse">
<tr>
<td width="30" align="center" bgcolor="CCFFFF"><3E><><EFBFBD><EFBFBD></td>
<td width="44" bgcolor='#CCFFFF'><3E>û<EFBFBD><C3BB><EFBFBD></td>
<td width="30" bgcolor='#CCFFFF'><3E><><EFBFBD><EFBFBD></td>
<td width="30" bgcolor='#CCFFFF'><3E><><EFBFBD><EFBFBD></td>
<td width="30" bgcolor='#CCFFFF'><3E>Ա<EFBFBD></td>
<td width="59" bgcolor='#CCFFFF'><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
<td width="22" bgcolor='#CCFFFF'>QQ</td>
<td width="30" bgcolor='#CCFFFF'><3E><><EFBFBD><EFBFBD></td>
<td width="38" bgcolor='#CCFFFF'><3E>绰</td>
<td width="78" bgcolor='#CCFFFF'><3E><><EFBFBD><EFBFBD>֤</td>
<td width="94" bgcolor='#CCFFFF'>ͷ<><CDB7></td>
<td width="82" bgcolor='#CCFFFF'><3E><>ַ</td>
<td width="55" bgcolor='#CCFFFF'><3E><>ע</td>
<td width="94" align="center" bgcolor="CCFFFF"><3E><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1></td>
<td width="52" align="center" bgcolor="CCFFFF"><3E><><EFBFBD><EFBFBD></td>
<td width="71" align="center" bgcolor="CCFFFF"><3E><><EFBFBD><EFBFBD></td>
</tr>
<%
new CommDAO().delete(request,"yonghuzhuce");
String url = "yonghuzhuce_list.jsp?1=1";
String sql = "select * from yonghuzhuce where 1=1 ";
if(request.getParameter("yonghuming")=="" ||request.getParameter("yonghuming")==null ){}else{sql=sql+" and yonghuming like '%"+request.getParameter("yonghuming").trim()+"%'";}
if(request.getParameter("xingming")=="" ||request.getParameter("xingming")==null ){}else{sql=sql+" and xingming like '%"+request.getParameter("xingming").trim()+"%'";}
if(request.getParameter("QQ")=="" ||request.getParameter("QQ")==null ){}else{sql=sql+" and QQ like '%"+request.getParameter("QQ").trim()+"%'";}
if(request.getParameter("youxiang")=="" ||request.getParameter("youxiang")==null ){}else{sql=sql+" and youxiang like '%"+request.getParameter("youxiang").trim()+"%'";}
if(request.getParameter("dianhua")=="" ||request.getParameter("dianhua")==null ){}else{sql=sql+" and dianhua like '%"+request.getParameter("dianhua").trim()+"%'";}
if(request.getParameter("shenfenzheng")=="" ||request.getParameter("shenfenzheng")==null ){}else{sql=sql+" and shenfenzheng like '%"+request.getParameter("shenfenzheng").trim()+"%'";}
sql+=" order by id desc";
//out.print(sql);
ArrayList<HashMap> list = PageManager.getPages(url,10,sql, request );
int i=0;
for(HashMap map:list){
i++;
%>
<tr>
<td width="30" align="center"><%=i %></td>
<td><%=map.get("yonghuming") %></td><td><%=map.get("mima") %></td><td><%=map.get("xingming") %></td><td><%=map.get("xingbie") %></td><td><%=map.get("chushengnianyue") %></td><td><%=map.get("QQ") %></td><td><%=map.get("youxiang") %></td><td><%=map.get("dianhua") %></td><td><%=map.get("shenfenzheng") %></td><td><a href='<%=map.get("touxiang") %>' target='_blank'><img src='<%=map.get("touxiang") %>' width=88 height=99 border=0 /></a></td><td><%=map.get("dizhi") %></td><td><%=map.get("beizhu") %></td>
<td width="94" align="center"><%=map.get("addtime") %></td>
<td width="52" align="center"><a href="sh.jsp?id=<%=map.get("id")%>&yuan=<%=map.get("issh")%>&tablename=yonghuzhuce" onClick="return confirm('ȷ<><C8B7>Ҫִ<D2AA>д˲<D0B4><CBB2><EFBFBD><EFBFBD><EFBFBD>');"><%=map.get("issh")%></a></td>
<td width="71" align="center"><!--lianjie1--></td>
</tr>
<%
}
%>
</table>
<br>
${page.info }
</body>
</html>