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.
61 lines
2.7 KiB
61 lines
2.7 KiB
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
|
<%@page import="util.Info"%>
|
|
<%@page import="dao.CommDAO"%>
|
|
<%@page import="util.PageManager"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>在线留言</title>
|
|
<link rel="stylesheet" type="text/css" href="qtimages/css/style.css"/>
|
|
<link rel="stylesheet" type="text/css" href="qtimages/css/mislider.css"/>
|
|
<style>
|
|
.dd a:hover{color: red;}
|
|
.dd a{ font-size: 18px;}
|
|
.header .top .logo{margin-right: 260px;}
|
|
.header{ position: fixed; top: 0; left: 0; z-index: 9999; background: #fff; width: 100%;}
|
|
</style>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
|
|
<body style="padding-top:220px;">
|
|
<%@ include file="qttop.jsp"%>
|
|
<%@ include file="bht.jsp"%>
|
|
<div class="index_about index">
|
|
<div class="w1200">
|
|
<h2 class="t">在线留言</h2>
|
|
<p class="t_en">GuestBook</p>
|
|
<div class="desc">
|
|
<%
|
|
String url = "lyblist.jsp?1=1";
|
|
String sql = "select * from liuyanban order by id desc";
|
|
//out.print(sql);
|
|
ArrayList<HashMap> list = PageManager.getPages(url,4,sql, request );
|
|
int i=0;
|
|
for(HashMap map:list){
|
|
i++;
|
|
%>
|
|
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#67B41A" class="newsline">
|
|
<tr>
|
|
<td width="85" rowspan="4" align="center" valign="middle" bgcolor="#FFFFFF"><img width='70'height='70' src=img/<%=map.get("xingbie") %>.gif border=0> </td>
|
|
<td height="20" align="left" valign="middle" bgcolor="#FFFFFF"> 留言于:<%=map.get("addtime") %> </td>
|
|
</tr>
|
|
<tr>
|
|
<td height="78" align="left" valign="top" bgcolor="#FFFFFF"> <%=map.get("neirong") %></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left" valign="middle" bgcolor="#FFFFFF" style="height: 25px"> 昵称:<%=map.get("cheng") %> 电话:<%=map.get("dianhua") %> 邮 箱:<%=map.get("youxiang") %> QQ:<%=map.get("QQ") %> </td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left" valign="middle" bgcolor="#FFFFFF" style="height: 25px"> 管理员回复:<%=map.get("huifuneirong") %></td>
|
|
</tr>
|
|
</table>
|
|
<%} %>
|
|
<div class="fy">${page.info } </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<%@ include file="yqlj.jsp"%>
|
|
<%@ include file="qtdown.jsp"%>
|
|
<%@ include file="kefutiao.jsp"%>
|
|
</body>
|
|
</html>
|
|
|