<{include file="head.tpl"}>
<{include file="head_user.tpl"}>
		<div class="hon6_h2">
				<div class="hon6_line">
				</div>
				<div class="hon6_tit"><a href="<{URL_book_index}>">首页</a>>排行榜><{$byname}><{$rankname}>榜
				</div>
		</div>
<{if $smarty.get.rank == 1 or $smarty.get.rank == ""}>点击榜<{else}><a href="<{URL_book_rank rank=1}>">点击榜</a><{/if}> |
<{if $smarty.get.rank == 5}>推荐榜<{else}><a href="<{URL_book_rank rank=5}>">推荐榜</a><{/if}> |
<{if $smarty.get.rank == 2}>新书榜<{else}><a href="<{URL_book_rank rank=2}>">新书榜</a><{/if}> |
<{if $smarty.get.rank == 3}>全本榜<{else}><a href="<{URL_book_rank rank=3}>">全本榜</a><{/if}> <br/>
<{if $smarty.get.rank == 4}>连载榜<{else}><a href="<{URL_book_rank rank=4}>">连载榜</a><{/if}> |
<{if $smarty.get.rank == 6}>收藏榜<{else}><a href="<{URL_book_rank rank=6}>">收藏榜</a><{/if}> |
<{if $smarty.get.rank == 7}>字数榜<{else}><a href="<{URL_book_rank rank=7}>">字数榜</a><{/if}> <br/>
<div class="hon6_line"></div>
<{if $smarty.get.rank == 1 or $smarty.get.rank == "" or $smarty.get.rank == 5}>>
		<{if $smarty.get.by == 1 or $smarty.get.by == ""}>总榜<{else}><a href="<{URL_book_rank rank=$smarty.get.rank by=1}>">总榜</a><{/if}> |
		<{if $smarty.get.by == 2}>月榜<{else}><a href="<{URL_book_rank rank=$smarty.get.rank by=2}>">月榜</a><{/if}> |
		<{if $smarty.get.by == 3}>周榜<{else}><a href="<{URL_book_rank rank=$smarty.get.rank by=3}>">周榜</a><{/if}> |
		<{if $smarty.get.by == 4}>日榜<{else}><a href="<{URL_book_rank rank=$smarty.get.rank by=4}>">日榜</a><{/if}>
<{/if}>
<div class="hon6_line"></div>
<{section name=a loop=$booklist}>
		<a href="<{URL_book_cover bid=$booklist[a].articleid}>"><{$booklist[a].articlename}></a>
		<{if $smarty.get.rank == 1 or $smarty.get.rank == ""}>/<{$booklist[a].author}>/点击<{$booklist[a].allvisit}>次
		<{elseif $smarty.get.rank == 2}>/<{$booklist[a].author}>/<{$booklist[a].lastupdate|date_format:"%Y-%m-%d"}>
		<{elseif $smarty.get.rank == 3 or $smarty.get.rank == 4}>/<{$booklist[a].author}>/<{if $booklist[a].fullflag == 0}>连载<{elseif $booklist[a].fullflag == 1}>完本<{/if}>
		<{elseif $smarty.get.rank == 5}>/<{$booklist[a].author}>/推荐<{$booklist[a].allvote}>次
		<{elseif $smarty.get.rank == 6}>/<{$booklist[a].author}>/收藏<{$booklist[a].casenum}>次
		<{elseif $smarty.get.rank == 7}>/<{$booklist[a].author}>/共<{$booklist[a].size/10000|string_format:"%.2f"}>万字
		<{/if}><br/>
<{sectionelse}>
    该分类下暂时没有内容！<br/>
<{/section}>
<div class="hon6_line"></div>
<{getpageinfo page=$page total=$num_rows urlfunction="URL_book_rank" pagesize=$pagelistnum pagelen="5" data=$data}><br/>
每页<{$pagelistnum}>条，第<{$page}>页/共<{$totalpage}>页<br/>
<{include file="foot.tpl"}>
