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.

55 lines
1.7 KiB

5 months ago
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="util.Info"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.PageManager"%>
<%
response.setContentType("application/vnd.ms-excel");
response.addHeader("Content-Disposition", "attachment;filename=baomingxinxi.xls");
%>
<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">
</head>
<body >
<p><3E><><EFBFBD>б<EFBFBD><D0B1><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD>б<EFBFBD><D0B1><EFBFBD></p>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="cccccc" >
<tr>
<td width="30" align="center" bgcolor="cccccc"><3E><><EFBFBD><EFBFBD></td>
<td bgcolor='#cccccc'><3E><><EFBFBD><EFBFBD></td> <td bgcolor='#cccccc'><3E>γ<EFBFBD><CEB3><EFBFBD><EFBFBD><EFBFBD></td> <td bgcolor='#cccccc'>ѧ<><D1A7></td> <td bgcolor='#cccccc'>ѧԱ</td> <td bgcolor='#cccccc' width='80' align='center'><3E>Ƿ<EFBFBD>֧<EFBFBD><D6A7></td>
<td width="138" align="center" bgcolor="cccccc"><3E><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1></td>
</tr>
<%
String url = "baomingxinxi_list.jsp?1=1";
String sql = "select * from baomingxinxi where 1=1";
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="30" align="center"><%=i %></td>
<td><%=map.get("jiaolian") %></td> <td><%=map.get("kechengmingcheng") %></td> <td><%=map.get("xuefei") %></td> <td><%=map.get("xueyuan") %></td> <td align='center'><%=map.get("iszf")%></td>
<td width="138" align="center"><%=map.get("addtime") %></td>
</tr>
<%
}
%>
</table>
<br>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݹ<EFBFBD><%=i %><3E><>
</body>
</html>