<{include file="head.tpl"}>
<{include file="head_user.tpl"}>

<form action="<{URL_book_search}>" method="get" class="search" id="form_searchTop">
<input type="hidden" name="m" value="book/search">
<input type="hidden" name="sid" value="<{$smarty.session.member->sid}>">
<input type="hidden" name="act" value="">
<input name="keyword" type="text" size="18" maxlength="64" class="search_inp" id="input_search_top" value="斗破苍穹"><br />
<input type="submit" name="searchTitle" value="搜小说" class="btn" id="bt_searchNovel">
<input type="submit" name="searchAuthor" id="bt_searchAuthor" value="搜作者" class="btn">
<input type="submit" name="searchweb" id="bt_searchWeb" value="搜网页" class="btn">
</form>

		<a href="<{URL_book_sort}>">分类</a> | <a href="<{URL_book_rank}>">排行榜</a> | <a href="<{URL_user_daka act="daka"}>">签到</a> | <a href="<{URL_user_daka act="rank"}>">连签排行</a><br/>
		<a href="<{URL_user_autobookmark}>">临时书签</a> | <a href="<{URL_user_bookmark}>">永久书签</a> | <a href="<{URL_user_history}>">浏览记录</a><br/>
		
		<div class="hon6_h2">
				<div class="hon6_line"></div>
				<div class="hon6_tit">【最新入库】
				</div>
		</div>
<{GetBookList val="ShowLists" sysid=$smarty.get.sysid limit="5" where="display = 0" orderby="articleid desc"}>
<{section name=i loop=$ShowLists}>
  			<a href="<{URL_book_cover bid=$ShowLists[i].articleid}>"><{$ShowLists[i].articlename}></a><span class="hon6_time"><{trantime time=$ShowLists[i].postdate}></span><br/>
<{/section}>
		<div class="hon6_h2">
				<div class="hon6_line"></div>
				<div class="hon6_tit">【最新更新】
				</div>
		</div>
<{GetBookList val="ShowLists" sysid=$smarty.get.sysid limit="5" where="display = 0" orderby="lastupdate desc"}>
<{section name=i loop=$ShowLists}>
  			<a href="<{URL_book_cover bid=$ShowLists[i].articleid}>"><{$ShowLists[i].articlename}></a><span class="hon6_time"><{trantime time=$ShowLists[i].lastupdate}></span><br/>
<{/section}>
		<div class="hon6_h2">
				<div class="hon6_line"></div>
				<div class="hon6_tit">【总点击排行】
				</div>
		</div>
<{GetBookList val="ShowLists" sysid=$smarty.get.sysid limit="5" where="display = 0" orderby="allvisit desc"}>
<{section name=i loop=$ShowLists}>
  			<a href="<{URL_book_cover bid=$ShowLists[i].articleid}>"><{$ShowLists[i].articlename}></a><span class="hon6_time">总<{$ShowLists[i].allvisit}>次</span><br/>
<{/section}>
		<div class="hon6_h2">
				<div class="hon6_line"></div>
				<div class="hon6_tit">【日点击排行】
				</div>
		</div>
<{GetBookList val="ShowLists" sysid=$smarty.get.sysid limit="5" where="display = 0" orderby="dayvisit desc"}>
<{section name=i loop=$ShowLists}>
  			<a href="<{URL_book_cover bid=$ShowLists[i].articleid}>"><{$ShowLists[i].articlename}></a><span class="hon6_time"><{$ShowLists[i].dayvisit}>次/日</span><br/>
<{/section}>
		<div class="hon6_h2">
				<div class="hon6_line"></div>
				<div class="hon6_tit">【总推荐排行】
				</div>
		</div>
<{GetBookList val="ShowLists" sysid=$smarty.get.sysid limit="5" where="display = 0" orderby="allvote desc"}>
<{section name=i loop=$ShowLists}>
  			<a href="<{URL_book_cover bid=$ShowLists[i].articleid}>"><{$ShowLists[i].articlename}></a><span class="hon6_time">总推<{$ShowLists[i].allvote}>次</span><br/>
<{/section}>
		<div class="hon6_h2">
				<div class="hon6_line"></div>
				<div class="hon6_tit">【小说分类】
				</div>
		</div>
<{section name=a loop=$sortlist}>
		<{assign var="b" value=$smarty.section.a.index+1}>
		<!--长分类名使用caption短分类名使用shortname-->
		<{if $sortlist[$b].publish == "1"}><a href="<{URL_book_class cid=$b}>"><{gbtoutf string=$sortlist[$b].shortname}></a>
		<!--MOD 后面的数字是一行显示分类个数-->
		<{if $b mod 4 eq 0 or $smarty.section.a.index+1 == $sortlist|@count}><br/><{else}>|<{/if}>
		<{/if}>
<{sectionelse}>
    暂时没有分类！<br/>
<{/section}>	
<{include file="foot.tpl"}>