日期:2014-05-17 浏览次数:20999 次
<%@ page language="java" pageEncoding="utf-8"%>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div class="topic">
<div class="floor">
<div class="title">
<h1>
${topic.title}
</h1>
</div>
<div class="floormsg title">
<span class="spt">楼主:<a class="author" href="">${topic.username}</a> </span>
<span class="spt">发表于${topic.pubtime}</span>
<span class="spt">点击:</span>
<span class="red">${viewcount}</span>
<span class="spt">回复:</span>
<span class="red">${replycount}</span>
<span class="spt">
<button id="onlyowner" class="btn">
只看楼主
</button> </span>
<span class="spt">
<button id="readsettingbtn" class="btn">
阅读设置
</button> </span>
</div>
<c:if test="${currentpage==1}">
<div class="contentdiv">
${topic["content"]}
</div>
</c:if>
</div>
<c:forEach items="${replyList}" var="reply" varStatus="replyStatus">
<div class="floor">
<div class="floormsg">
<span>作者:<a class="author" href="">${reply.username}</a> </span>
<span class="index"> ${replyStatus.index+startfloor}楼</span>
<span class="pubt">发表于${reply.pubtime}</span>
</div>
<div class="contentdiv">
${reply["content"]}
</div>
<div class="operate">
<a href="" onclick="">引用</a>
<a href="" onclick="">举报</a>
</div>
</div>
</c:forEach>
</div>