<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=7">
<title><?php chapter_title(); ?>_<?php book_name(); ?>_<?php category_name(get_book_category_id()); ?>_<?php option_info('site.name'); ?></title>
<meta name="keywords" content="<?php book_name(); ?>,<?php chapter_title(); ?>">
<meta name="description" content="<?php option_info('site.name'); ?>提供了<?php book_author(); ?>创作的<?php category_name(get_book_category_id()); ?>小说《<?php book_name(); ?>》干净清爽无错字的文字章节：<?php chapter_title(); ?>在线阅读。">
<link href="<?php stylesheet_url('css/common.css'); ?>" rel="stylesheet">
<link href="<?php stylesheet_url('css/directory.css'); ?>" rel="stylesheet">
<script>
	var b_tit='<?php book_name(); ?>',
		b_url='<?php book_link(); ?>',
		b_subtit = '<?php chapter_title(); ?>',
		b_suburl = '<?php chapter_link(); ?>',
		b_isico='<?php echo book_is_finished() ? '已完结' : '连载中'; ?>',
		b_id='<?php book_id(); ?>';
</script>
</head>
<body>
<?php load_template('header.php'); ?>
	<div class="crumbswrap">
		<span>当前位置：</span>
		<a href="<?php option_info('site.url'); ?>">首页</a>&gt;<a href="<?php category_link(get_book_category_id()); ?>"><?php category_name(get_book_category_id()); ?></a>&gt;<a href="<?php book_link(); ?>"><?php book_name(); ?></a>&gt;<em>&nbsp;<?php chapter_title(); ?></em>
	</div>
	<div class="dirwraps">
		<?php echo book_is_finished() ? '<span class="ywjico"></span>' : '<span class="lzzico"></span>'; ?>
		<h1><?php chapter_title(); ?></h1>
		<div class="smallcons">
			<span>
			<?php if (get_prev_chapter_id()) : ?>
				<a href="<?php prev_chapter_link(); ?>">上一章</a>&nbsp;&larr;&nbsp;
			<?php endif; ?>
				<a href="<?php book_chapters_link(); ?>">章节目录</a>
			<?php if (get_next_chapter_id()) : ?>
				&nbsp;&rarr;&nbsp;<a href="<?php next_chapter_link(); ?>">下一章</a>
			<?php endif; ?>
			</span>
			<!--<span id="putbooks">放入书架</span>--><span id="favbooks">收藏本书</span>
		</div>
		<div class="dirtitone">
			<h2>正文</h2>
		</div>
		<div class="clearfix dirconone fs18">
			<?php chapter_body(); ?>
		</div>
	</div>
	<div class="blinebgs">
	</div>
	<div class="dirwraps dircontwo">
		<p class="tac">
		<br /><a href="<?php prev_chapter_link(); ?>">上一章</a> &larr; <a href="<?php book_chapters_link(); ?>">章节目录</a> &rarr; <a href="<?php next_chapter_link(); ?>">下一章</a>
		</p>
	</div>
	<div class="blinebgs"></div>
<?php load_template( 'footer.php'); ?>
<script type="text/javascript" src="<?php active_theme_url(); ?>jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="<?php active_theme_url(); ?>jquery.boxy.js"></script>
<script type="text/javascript" src="<?php active_theme_url(); ?>jquery.autocomplete.js"></script>
<script type="text/javascript" src="<?php active_theme_url(); ?>common.js"></script>
<script type="text/javascript" src="<?php active_theme_url(); ?>dir.js"></script>
<script type="text/javascript" src="<?php active_theme_url(); ?>chapter.js"></script>
<script type="text/javascript">$.ajax({type: 'get', url: '<?php next_chapter_link(); ?>'});</script>
</body>

</html>