<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> <%@page import="util.Info"%> <%@page import="dao.CommDAO"%> <%@page import="util.PageManager"%> 友情连接

已有友情连接列表:

搜索: 网站名称: 网址:
<% new CommDAO().delete(request,"youqinglianjie"); String url = "youqinglianjie_list.jsp?1=1"; String sql = "select * from youqinglianjie where 1=1"; if(request.getParameter("wangzhanmingcheng")=="" ||request.getParameter("wangzhanmingcheng")==null ){}else{sql=sql+" and wangzhanmingcheng like '%"+request.getParameter("wangzhanmingcheng")+"%'";} if(request.getParameter("wangzhi")=="" ||request.getParameter("wangzhi")==null ){}else{sql=sql+" and wangzhi like '%"+request.getParameter("wangzhi")+"%'";} sql+=" order by id desc"; ArrayList list = PageManager.getPages(url,15,sql, request); int i=0; for(HashMap map:list){ i++; %> <% } %>
序号 网站名称 网址 logo 添加时间 操作
<%=i %> <%=map.get("wangzhanmingcheng") %> <%=map.get("wangzhi") %> <%=map.get("addtime") %> ">修改 " onClick="return confirm('真的要删除?')">删除

${page.info }