|
xiaoshuo小说表:包含主键id、小说类别编号typeid、小说状态state、小说标题title、小说文档docu、小说推荐率recommend、点击次数click、小说描述content、更新时间creTime、小说封面photo等。
xiaoshuotype小说分类表:包含主键id、类别名称name。
bookrack书架表:包含主键id、用户userid、小说xiaoshuoid。
votereco小说推荐投票表:包含主键id、用户userid、小说xiaoshuoid
小说主页面html代码
<%@ page language=&#34;java&#34; import=&#34;java.util.*&#34; pageEncoding=&#34;UTF-8&#34;%>
<%@ taglib prefix=&#34;c&#34; uri=&#34;http://java.sun.com/jsp/jstl/core&#34;%>
<%@ taglib prefix=&#34;fn&#34; uri=&#34;http://java.sun.com/jsp/jstl/functions&#34;%>
<!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;>
<html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;>
<head>
<meta http-equiv=&#34;X-UA-Compatible&#34; content=&#34;IE=edge, chrome=1&#34; />
<meta name=&#34;renderer&#34; content=&#34;webkit&#34; />
<meta name=&#34;Keywords&#34; content=&#34;个人主页、说说、相册、好友、日志、音乐、新闻、新鲜事&#34; />
<meta name=&#34;Description&#34;
content=&#34;超酷的校园网、校园交友平台,创新的校园资源获取与分、专注打造最好的校园真实社交网络!&#34; />
<title>校园小说页面_校园网</title>
</head>
<body>
<div id=&#34;wrapper&#34;>
<jsp:include page=&#34;../public/head.jsp&#34; />
<div id=&#34;page_main&#34; class=&#34;clearfix&#34;>
<div class=&#34;page-right&#34;>
<div class=&#34;site-nav&#34;>
<span>当前位置 : </span><a href=&#34;/schoolnet/login.do?flag=goIndexUI&#34;>首页</a>
>> <a href=&#34;/schoolnet/login.do?flag=goHomeUI&#34; title=&#34;&#34;>个人主页</a>>>小说
</div>
<div class=&#34;page-news&#34;>
<div class=&#34;content&#34;>
<div class=&#34;mes_response&#34; id=&#34;mes_response&#34;>
<table>
<tr>
<th class=&#34;news-time&#34;>小说</th>
</tr>
<tr>
<td><p>按类型:</p>
<div id=&#34;clearClass&#34; class=&#34;pages&#34; style=&#34;margin-top:-10px&#34;>
<a class=&#34;current&#34; href=&#34;javascript:void(0)&#34;
onclick=&#34;setXiaoshuotype(this)&#34; name=&#34;all&#34; title=&#34;1&#34;>全部
</a>
<c:forEach var=&#34;xiaoshuotype&#34; items=&#34;${xiaoshuotypes }&#34;>
<a href=&#34;javascript:void(0)&#34; onclick=&#34;setXiaoshuotype(this)&#34;
name=&#34;${xiaoshuotype.id }&#34; title=&#34;1&#34;>${xiaoshuotype.name
}</a>
</c:forEach>
</div>
<tr>
<td><br />
<p>按更新:</p>
<div id=&#34;clearClass2&#34; class=&#34;pages&#34;>
<a href=&#34;javascript:void(0)&#34;
onclick=&#34;setXiaoshuotype3(this)&#34; name=&#34;all&#34; title=&#34;1&#34;
class=&#34;current&#34;>全部</a> <a href=&#34;javascript:void(0)&#34;
onclick=&#34;setXiaoshuotype3(this)&#34; name=&#34;lianzai&#34; title=&#34;1&#34;>
连载中</a> <a href=&#34;javascript:void(0)&#34;
onclick=&#34;setXiaoshuotype3(this)&#34; name=&#34;wanjie&#34; title=&#34;1&#34;>
已完结</a>
</div></td>
</tr>
<tr>
<td>
<div id=&#34;showxiaoshuos&#34;>
<div id=&#34;ajaxpage&#34; class=&#34;pages&#34; style=&#34;width:100%&#34;>
<a href=&#34;javascript:void(0)&#34;
onclick=&#34;setXiaoshuotype2(this)&#34; name=&#34;all&#34; title=&#34;1&#34;
class=&#34;current&#34;> 首页 </a> <a href=&#34;javascript:void(0)&#34;
onclick=&#34;setXiaoshuotype2(this)&#34; name=&#34;all&#34;
title=&#34;${pageNow-1 }&#34; class=&#34;current&#34;> 上一页 </a> <a
href=&#34;javascript:void(0)&#34;
onclick=&#34;setXiaoshuotype2(this)&#34; name=&#34;all&#34;
title=&#34;${pageNow+1 }&#34; class=&#34;current&#34;> 下一页 </a> <a
href=&#34;javascript:void(0)&#34;
onclick=&#34;setXiaoshuotype2(this)&#34; name=&#34;all&#34;
title=&#34;${PageCount }&#34; class=&#34;current&#34;> 尾页 </a> <a
class=&#34;current2&#34;>第${pageNow }页</a><a class=&#34;current2&#34;>共${PageCount
}页</a><a class=&#34;current2&#34;>${allrows }部小说</a>
</div>
</br>
<c:forEach var=&#34;xiaoshuo&#34; items=&#34;${xiaoshuos }&#34;>
<div class=&#34;xiaoshuos&#34;>
<a
href=&#34;/schoolnet/xiaoshuo.do?flag=goxiaoshuodescript&pageNow=1&id=${xiaoshuo.id }&#34;
title=&#34;${xiaoshuo.title }&#34;> <img
src=&#34;/schoolnet/Media/txt/photo/${xiaoshuo.photo }&#34;
width=&#34;104px&#34; height=&#34;150px&#34;>
</a>
<p class=&#34;ellipsis&#34;>
<a
href=&#34;/schoolnet/xiaoshuo.do?flag=goxiaoshuodescript&pageNow=1&id=${xiaoshuo.id }&#34;
title=&#34;${xiaoshuo.title }&#34;>${xiaoshuo.title }</a>
</p>
</div>
</c:forEach>
</div></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<jsp:include page=&#34;../public/foot.jsp&#34; />
</div>
</body>
</html>可以支持定制小说网站,小说网站开发,小说网站系统,小说网站源码,小说网站开发建设,小说网站程序,微信小说网站源码,一套小说网站管理系统,完整版小说,付费看小说,小说下载等栏目版块,可以支持定制电脑版+手机版+微信版+小程序版+APP版,需要的朋友可以联系我(q:3328752804)。 |
|