<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> <%@page import="util.Info"%> <%@page import="dao.CommDAO"%> <%@page import="util.PageManager"%> 我的收藏

我的收藏:

<% new CommDAO().delete(request,"shoucangjilu"); String url = "shoucangjilu_list2.jsp?1=1"; String sql = "select * from shoucangjilu where username='"+request.getSession().getAttribute("username")+"'"; sql+=" order by id desc"; //out.print(sql); ArrayList list = PageManager.getPages(url,20,sql, request ); int i=0; for(HashMap map:list){ i++; %> <% } %>
序号 标题 收藏时间 操作
<%=i %> <% HashMap m = new CommDAO().getmap((String)map.get("xwid"),(String)map.get("biao")); out.print(m.get((String)map.get("ziduan"))); %> <%=map.get("addtime")%> " onclick="return confirm('真的要删除?')" >删除 <% if (map.get("biao").equals("xinwentongzhi")) { %> " target="_blank">详细 <% } else { %> detail.jsp?id=<%=map.get("xwid")%>" target="_blank">详细 <% } %>
${page.info }