<?php $title = '淘书频道 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<div class="lind"><?php echo indexLink();?> <?php echo memberLink();?></div>
<div class="kind">【<?php echo setting('webname');?>淘书中心】</div>
<style type="text/css">.number {color:red;}</style>
哇!您的人品不错,淘到了一本由<?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/>
该书已有<span class="number"><?php echo $book['favorites'];?></span>人收藏,我也<a href="<?php echo url('system',array('s'=>'member','a'=>'favorite','bid'=>$book['bookid']));?>">收藏下</a>
<div class="kind"><b>该书详细信息如下</b></div>
<?php if (2 == $book['type']):?>
    【点击】<span class="number"><?php echo $click;?></span>人次<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/>
【鲜花】<span class="number"><?php echo $book['flower'];?></span><img src="<?php echo getImageFile('flower.gif');?>" alt='^_^'/><a href="<?php echo url('top',array('sort'=>'flower'));?>">排行</a>
<br/>
【板砖】<span class="number"><?php echo $book['egg'];?></span><img src="<?php echo getImageFile('zhuan.gif');?>" alt='^_^'/><a href="<?php echo url('top',array('sort'=>'egg'));?>">排行</a>
<br/>
【字数】约<span class="number"><?php echo $book['size'] ? round($book['size'] / 10000,2) : 0;?></span>万字(id:<?php echo $book['bookid'];?>)<br/>
【简介】<br/><?php echo analyzeText($book['bookinfo']);?><?php if (!empty($book['lastchapter'])) echo '[' .$book['lastupdate']. '更新]'.$book['lastchapter']."<br/>";?>

<div class="pl"><?php echo ilink('&lt;&lt;点击开始阅读该书&gt;&gt;',url('read',array('bid'=>$book['bookid'],'cid'=>$firstChapter['chapterid'])));?></div>

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