<?php include_once tpl('header');?>
<card title="<?php echo $bookname;?> - 封面介绍">  
<p align="left">
<?php include 'globalHeader.php';?>
<?php echo backLink();?>|<?php echo memberLink('书房');?>|<a href="<?php echo url('type');?>">书库</a><br/>
<?php if ($book['image'] && false !== ($cover = bookCover($book['bookid']))):?><img src="<?php echo $cover;?>" alt="封面" /><br/><?php endif;?>
《<?php echo $bookname;?>》<a href="<?php echo url('search', array('class'=>2,'author'=>urlencode($author)));?>"><?php echo $author;?></a><?php if (2 == $type):?><?php if ($tipping):?>/<?php echo ilink('打赏', url('system',array('s'=>'member','a'=>'tipping','bid'=>$bookid)));?><?php endif;?>/<?php echo ilink('催更',url('system',array('s'=>'props','c'=>'update','bid'=>$bookid)));?><?php endif;?>
<br/>
[<a href="<?php echo url('system',array('s'=>'member','a'=>'favorite','bid'=>$bookid));?>">收藏</a>]<?php echo ilink($favorites, url('system', array('s'=>'member','a'=>'flist','bid'=>$bookid)));?>人/<?php echo ilink('推荐', url('system',array('s'=>'props','c'=>'recommend','a'=>'use','bid'=>$bookid)));?>
<br/>
<?php if ($keyWords):?>[标签]<?php echo $keyWords;?><br/><?php endif;?>
<?php if (Book::isOriginal($type)):?>
    [点击]<?php echo $click;?>人次<br/>
    [投票]<?php if ($redNum):?><?php echo round($redNum / ($redNum + $blackNum), 2) * 100;?><?php else:?>0<?php endif?>%<?php echo ilink('红票('.$redNum.')', url('system', array('s'=>'member','a'=>'vr','bid'=>$bookid,'t'=>1)));?>|<?php if ($blackNum):?><?php echo round($blackNum / ($redNum + $blackNum), 2) * 100;?><?php else:?>0<?php endif;?>%<?php echo ilink('黑票('.$blackNum.')', url('system', array('s'=>'member','a'=>'vr','bid'=>$bookid,'t'=>2)));?><br/>
    [授权]本站首发<br/>
<?php endif;?>
    [状态]<?php if ($status):?><?php echo ilink('完成',url('over'));?><?php else:?><?php echo ilink('连载',url('new'));?><?php endif;?><?php if (!isPc()):?>(分类<a href="<?php echo url('booktype', array('tid'=>$typeid));?>"><?php echo $typename;?></a>)<?php endif;?>
<br/>
[字数]约<?php echo round($size / 10000,2);?>万字(id:<?php echo $bookid;?>)<br/>
[<a href="<?php echo url('bookinfo', array('bid'=>$bookid));?>">简介</a>]<?php echo analyzeText(iSubstr($bookinfo, 0, 30));?><a href="<?php echo url('bookinfo', array('bid'=>$bookid));?>">...更多&gt;&gt;</a>
<br/>

<?php if (!empty($lastchapter)):?><?php echo '[' .$lastupdate. '更新]'.$lastchapter."<br/>";?><?php endif;?>
<?php echo randAd('other');?>
------------<br/>
<?php include_once 'adList.php';?>
<?php if (!empty($firstChapter)):?><?php echo ilink('直接看',url('read',array('bid'=>$bookid,'cid'=>$firstChapter['chapterid'])));?>|<?php endif;?><a href="<?php echo $url;?>">目录</a>|<a href="<?php echo url('system',array('s'=>'member','a'=>'looklist','bid'=>$bookid));?>">接上次</a>|<a href="<?php echo url('system', array('s'=>'download','bid'=>$bookid));?>">下载</a>|<?php echo ilink('加书单', url('system', array('s'=>'bcart','c'=>'member','a'=>'to','bid'=>$bookid, 'redirect'=>$selfurl)));?>
<br/>
------------
<br/>
<?php echo printImage('flower.gif');?><?php echo ilink('送花('.$flower.')',url('system',array('s'=>'props','c'=>'flower','a'=>'use','do'=>1,'bid'=>$bookid)));?>↑<a href="<?php echo url('top',array('sort'=>'flower'));?>">排行</a><br/><?php echo printImage('zhuan.gif');?><?php echo ilink('砸砖('.$egg.')',url('system',array('s'=>'props','c'=>'brick','a'=>'use','do'=>1,'bid'=>$bookid)));?>↓<a href="<?php echo url('top',array('sort'=>'egg'));?>">排行</a>
<br/>
------------
<br/>
<?php echo printImage('reyi.gif');?><?php if ($isDigest):?>书会精评<?php else:?>书友热议<?php endif;?>↓(<a href="<?php echo url('system', array('s'=>'forum','id'=>$bookid));?>"><?php echo $postCount;?>条</a>)
<br/>
<?php if (!$iorange_id || ($iorange_id && u('viewcomment'))):?>
<?php if (!empty($posts)):?>
    <?php foreach ($posts as $post):?>
    <?php echo ilink(userName($post['uid']), url('system', array('s'=>'member','uid'=>$post['uid'])));?>:<?php echo iubb(filter_content(iSubstr($post['message'], 0, 70, '...')));?><br/>
    <?php endforeach;?>
    <a href="<?php echo url('system', array('s'=>'forum','id'=>$bookid));?>">进入书会聊天&gt;&gt;</a><br/>
<?php else:?>
    <a href="<?php echo url('system', array('s'=>'forum','id'=>$bookid));?>">沙发还在，速抢！</a><br/>
<?php endif;?>
<input name='message' type='text' />
<br/>
<anchor><go href='<?php echo urldecode($selfurl);?>' accept-charset='utf-8' method='post'><postfield name='message' value='$(message)'/></go>快速发表评论</anchor>
<br/>
<?php endif;?>
<?php if ($adView):?><?php echo iorange_ad();?><br/><?php endif;?>

<?php if (!isPc()):?>
<b>没被人发觉的经典</b>
<br/>
<?php echo bookLink(5421, '鹅靠的暧昧《大明星爱上我》', array('sp'=>63));?>
<br/>
<?php echo bookLink(340, '不朽的暴君传说《猛龙过江》', array('sp'=>62));?>
<br/>
<?php echo bookLink(418, '新奇有趣的网游《百炼成妖》', array('sp'=>61));?>
<br/>
<?php echo bookLink(3838, '绝对暴力的奶妈《牧师传说》', array('sp'=>60));?>
<br/>
<?php echo bookLink(2565, '我很丑但很温柔《异能丑汉》', array('sp'=>56));?>
<br/>
<?php endif;?>
<?php include_once tpl('footer');?>