<?php include_once tpl('header');?>
<card title="淘书频道 - <?php echo setting('webname');?>">
<p align="left">
【<?php echo setting('webname');?>淘书中心】<br/>
哇!您的人品不错,淘到了一本由<?php echo setting('webname');?>精心为您奉上的好书:<a href="<?php echo url('bookshow', array('bid'=>$book['bookid']));?>">《<?php echo $book['bookname'];?>》</a> 作者:<a href="<?php echo url('search', array('class'=>2,'author'=>urlencode($book['author'])));?>"><?php echo $book['author'];?></a>
<br/>
该书已有<?php echo $book['favorites'];?>人收藏,我也<a href="<?php echo url('system',array('s'=>'member','a'=>'favorite','bid'=>$book['bookid']));?>">收藏下</a>
<br/>该书详细信息如下:<br/>
<?php if (2 == $book['type']):?>
    【点击】<?php echo $click;?>人次<br/>
    【授权】<?php echo setting('webname');?>原创<br/>
<?php endif;?>
    【状态】<?php if ($book['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'=>$book['typeid']));?>"><?php echo $book['typename'];?></a>)<?php endif;?>
<br/>
【鲜花】<?php echo $book['flower'];?><img src="<?php echo getImageFile('flower.gif');?>" alt='^_^'/><a href="<?php echo url('top',array('sort'=>'flower'));?>">排行</a><br/>[板砖]<?php echo $book['egg'];?><img src="<?php echo getImageFile('zhuan.gif');?>" alt='^_^'/><a href="<?php echo url('top',array('sort'=>'egg'));?>">排行</a>
<br/>
【字数】约<?php echo $book['size'] ? round($book['size'] / 10000,2) : 0;?>万字(id:<?php echo $book['bookid'];?>)<br/>
【简介】<?php echo str_replace("\n",'<br/>',$book['bookinfo']);?><?php if (!empty($book['lastchapter'])) echo '[' .$book['lastupdate']. '更新]'.$book['lastchapter']."<br/>";?>
<?php echo ilink('&lt;&lt;点击开始阅读该书&gt;&gt;',url('read',array('bid'=>$book['bookid'],'cid'=>$firstChapter['chapterid'])));?>
<br/>

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