<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="<?php echo getJsFile('jquery/mobile/jquery.mobile-1.0rc1.min.css');?>" rel="stylesheet" type="text/css" />
<script src="<?php echo getJsFile('jquery/mobile/jquery.min.js');?>"></script>
<script src="<?php echo getJsFile('jquery/mobile/jquery.mobile-1.0rc1.min.js');?>"></script>
<title><?php echo $bookname;?> - 封面介绍</title>
</head>
<body>
<div data-role="header" data-position="inline">
    <a data-rel="back" data-icon="back" data-direction="reverse" class="ui-btn-left">返回</a>
    <h1 class="ui-title"><?php echo $bookname;?></h1>
</div>

<div data-role="content">
    <img src="<?php echo bookCover($bookid);?>" />
　　 <h1><?php echo $bookname;?></h1>
    <p style="color:#666;font-size:x-small;">
        <a href="<?php echo url('search', array('class'=>2,'author'=>urlencode($author)));?>" class="ui-link"><?php echo $author;?></a> 更新于<?php echo $lastupdate;?>，共有 <mark><?php echo $postCount;?></mark> 条评论
    </p>
    <div class="TextContent"><?php echo analyzeText($bookinfo);?></div>
    <div data-type="horizontal" data-role="controlgroup">
        <a data-role="button" href="<?php echo url('read',array('bid'=>$bookid,'cid'=>$firstChapter['chapterid']));?>">阅读</a><a data-role="button" href="<?php echo url('chapter', array('bid'=>$bookid));?>">目录</a><a data-role="button" href="<?php echo url('system',array('s'=>'member','a'=>'looklist','bid'=>$bookid));?>">续看</a>
    </div>
</div>

<div data-role="footer" data-id="foo1" data-position="fixed">
    <div data-role="navbar">
		<ul>
            <li><a href="<?php echo url('system', array('s'=>'member'));?>">书房</a></li>
            <li><a href="<?php echo url('index');?>">首页</a></li>
        </ul>
    </div>
</div>
</body>
</html>