<?php $title = $bookname . 'txt下载、'.$bookname.'全文字版阅读下载、'.$bookname.'免费文字版阅读-作者:' . $author . '-小说目录-' . setting('webname');?>
<?php include_once tpl('topnav');?>
<div class="brbr"></div>
<div id="cnav"><a href="<?php echo url('index');?>">首页</a>-><a href="<?php echo url('booktype', array('tid'=>$book['typeid']));?>"><?php echo $book['typename'];?></a>-><a href="<?php echo url('bookshow',array('bid'=>$bookid));?>"><?php echo $bookname;?>书页</a></div>
<div class="clear"></div>
<div id="cname"><h1><?php echo $bookname;?></h1></div>
<div id="cauthor">作者：<?php echo $author;?></div>
<div class="clear"></div>
<div class="brbr"></div>
<div id="ckepop">

<!-- Baidu Button BEGIN -->
<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
	<span class="bds_more">将<?php echo $bookname;?>分享到：</span>
	<a class="bds_qzone"></a>
	<a class="bds_tsina"></a>
	<a class="bds_tqq"></a>
    <a class="bds_qq"></a>
    <a class="bds_t163"></a>
    <a class="bds_tieba"></a>
    <a class="bds_baidu"></a>
    <a class="bds_hi"></a>
	<a class="bds_renren"></a>
    <a class="bds_kaixin001"></a>
    <a class="bds_tqf"></a>
    <a class="bds_douban"></a>
    <a class="bds_zx"></a>
	<a class="shareCount"></a>
</div>
<!-- Baidu Button END -->

<div class="clear"></div>
<div class="brbr"></div>
<div class="clist">
	<ul>
		<?php foreach ($chapters as $chapter):?>
		<li>
			<a href="<?php echo url('read',array('bid'=>$bookid,'cid'=>$chapter['chapterid']));?>" title="更新时间:<?php echo $chapter['createdate'];?> 字数:<?php echo $chapter['size'];?>"><?php echo $chapter['chaptername'];?></a><?php if ($chapter['isvip']):?><span class="vipchapter">[vip]</span><?php endif;?></li>
		<?php endforeach;?>
	</ul>
</div>
<div class="clear"></div>
<div class="brbr"></div>
<?php
$sql = 'SELECT bookid,bookname,lastchapterid,lastchaptername FROM '.Book::table().' WHERE typeid = '.$book['typeid'].' ORDER BY updatedate DESC LIMIT 35';
$key = md5($sql);
$list = $cache->get($key);
if (false === $list)
{
    $list = $db->setQueryString($sql)->find();
    $cache->set($key, $list, 60);
}
?>
<div class="clear"></div>
<div class="list">
    <div class="tit">别人都在看什么......</div>
        <ul>
            <?php foreach ($list as $new):?>
            <li class="ne"><a href="<?php echo url('chapter',array('bid'=>$new['bookid']));?>"><?php echo $new['bookname'];?></a><br><a href="<?php echo url('read', array('bid'=>$new['bookid'],'cid'=>$new['lastchapterid']));?>#from=chapter"><?php echo $new['lastchaptername'];?></a></li></li>
            <?php endforeach;?>
        </ul>
    </div>
</div>
<div class="clear"></div>
<div class="brbr"></div>
<div id="tips">
温馨提示：
本面页为<?php echo $bookname;?>最新章节收藏专用的干净面页，请大家将本页添加到收藏夹，方便您下次阅读！
<br/>
如果您发现<?php echo $bookname;?>有更新而<?php echo setting('webname');?>没有更新的，请及时通知我们，我们将及时更新！
<br/>
《<?php echo $bookname;?>》作者为<?php echo $author;?>，版权归<?php echo $author;?>所有，其中章节所描述的观点，仅为<?php echo $author;?>个人观点，与<?php echo setting('webname');?>的立场无关，本站只为书友提供阅读平台。
<br/>
《<?php echo $bookname;?>》是<?php echo $author;?>沥血巨作，是一部非常好看的作品，书友转载至本站，只是为了让更多人阅读并喜欢上本书。
<br/>
如果您觉得《<?php echo $bookname;?>》是一本好看的小说，请您推荐给你身边的朋友，让更多人欣赏本书。你也可以通过上面的分享工具，将《<?php echo $bookname;?>》分享至各个平台。
</div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=15713" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
</script>

<?php include_once tpl('footer');?>