
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<meta name="renderer" content="webkit">
<title><?php book_name(); ?>_<?php book_name(); ?>最新章节列表_<?php option_info('site.name'); ?></title>
<meta name="keywords" content="<?php book_name(); ?>,<?php book_name(); ?>最新章节,<?php book_name(); ?>最新列表"/>
<meta name="description" content="<?php option_info('site.name'); ?>提供<?php book_name(); ?>,<?php book_name(); ?>最新章节,<?php book_name(); ?>最新列表"/>
<link rel="shortcut icon" href="/favicon.ico" />
<link href="<?php stylesheet_url('css/header.css'); ?>" rel="stylesheet">
<link href="<?php stylesheet_url('css/book.css'); ?>" rel="stylesheet">
</head>
<body id="page-163-com"  class="page-bookSource">
<div class="g-doc">
	<div class="g-hdw">
		<?php get_header(); ?>
	</div>
	<div class="g-bdw g-bdw-1">
		<div class="g-bd g-bd-b">
			<div class="g-bdc">
				<div class="g-sd g-sd-1">
					<div class="m-fee m-fee-b">
						<div class="tabs">
							<ul class="grad-1">
								<li class="crt">猜你喜欢</li>
							</ul>
							<div class="rs"></div>
						</div>
						<div class="contents">
							<div class="tab-item">
								<div class="m-shang">
									<ul>
										<?php $books = get_option('books.like', array()); $books = array_slice($books, 0, 7); ?>
										<?php if (is_array($books) && count($books) > 0) : foreach ($books as $book) : ?>
										<li><div class="name"><a href="<?php book_link(); ?>"><?php book_name(); ?></a></div><div class="shang"><?php book_author(); ?></div></li>
										<?php endforeach; endif; ?>
										<?php reset_current_book(); ?>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="g-mn g-mn-3">
					<div class="g-mnc">
						<div class="m-focuswrap">
							<div class="m-picbox">
								<div class="inner">
									<!--a href="#"-->
										<img width="225" height="315" src="<?php book_cover(); ?>" alt="<?php book_name(); ?>" />
									<!--/a-->
								</div>
							</div>
							<div class="m-rightinfo">
								<div class="m-bookinfo">
									<h2>
										<em class="j-cutted" words="23" id="identify" title="<?php book_name(); ?>"><?php book_name(); ?></em>
										<?php echo book_is_finished() ? '<span class="wan"></span>' : '<span class="lian"></span>'; ?>
									</h2>
									<p>
										<span class="png">分类：<a href="<?php category_link(get_book_category_id()); ?>"><?php category_name(get_book_category_id()); ?></a></span>
										<span class="png">作者：<a href="<?php create_url('book/search', array('s' => get_book_author())); ?>"><?php book_author(); ?></a></span>
										<span class="ll png">最后更新：<?php echo date('Y-m-d G:i', get_book_latest_chapter_created()); ?></span>
									</p>
									<h3><em>简介：</em></h3>
									<div class="txt d-ofa">
										<p><?php book_excerpt();?></p>
									</div>
								</div>
								<div class="m-newprice">
										<div id="J_WYPrice" class="price">
											<p>最新章节：<a href="<?php book_latest_chapter_link(get_current_book_id()); ?>"><em><?php book_latest_chapter_title(get_current_book_id()); ?></em></a>
											</p>
										</div>
								</div>
								<div class="m-ops">
									<div class="btn">
										<a href="<?php book_first_chapter_link(get_current_book_id()); ?>" class="btn btn01" target="_blank">开始阅读</a>
										<!--a href="javascript:;" class="btn btn02 s1 m_bksub">放入书架</a-->
										<a class="btn btn03" target="_blank" href="<?php book_latest_chapter_link(); ?>">最新章节</a>
										<a id="J_BuyLater" class="btn btn04" href="<?php create_url('shortcut/create', array('book_id' => get_current_book_id())); ?>">放到桌面</a>
									</div>
								</div>
							</div>
						</div>

						<ul class="m-tabbar m-tabbar-b bs grad-2 g-mn-2">
							<li class="selected">书籍目录</li>
						</ul>

						<div id="J_Contents" class="g-mn-2">
							<div class="m-introbox">
									<div class="m-content m-content-lv2">
									<?php $chapters = get_chapters('book_id=' . get_current_book_id()); $results = array_chunk($chapters, 3); ?>
									<?php foreach ($results as $chapters) : ?>
										<ul class="chapter">
											<li>
												<?php foreach ($chapters as $chapter) : ?>
												<div class="entry">
													<a href="<?php chapter_link(); ?>" title="<?php chapter_title(); ?>" class="j-chapSel">
														<span class="text"><?php chapter_title(); ?></span><b><?php echo date("n-j", get_chapter_created()); ?></b>
													</a>
												</div>
												<?php endforeach; ?>
											</li>
										</ul>
									<?php endforeach; ?>
									</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<?php load_template('footer.php'); ?>
</div>
<!--[if IE 6]>
<script type="text/javascript" src="<?php active_theme_url(); ?>js/pngfix.js"></script>
<![endif]-->
</body>
</html>
