<style type="text/css">
<!--
ul.chaplist{list-style: none;clear: both;text-align: left;width: 100%;}
li.volume{width: 100%;clear: both;font-size: 14px;line-height: 2;text-align:center;border-top: 1px solid #eaeaea;border-bottom: 1px solid #eaeaea;margin-bottom:5px;}
li.chapter{float: left;width: 360px;line-height: 2;}
-->
</style>
<table width="100%" class="topmenu">
	<tr><td>
		{?if $row.status==1?}<a href="article.php"><em>文章列表</em></a>{?section name=i loop=$catepos?}<a href="article.php?cid={?$catepos[i].cid?}">{?$catepos[i].cname?}</a><span>></span>{?/section?}
		{?elseif $row.status==2?}<a href="pending.php?status=2"><em>审核不通过文章</em></a>{?section name=i loop=$catepos?}<span>></span><a href="pending.php?cid={?$catepos[i].cid?}&status=2">{?$catepos[i].cname?}</a>{?/section?}
		{?else?}<a href="pending.php"><em>待审核文章</em></a>{?section name=i loop=$catepos?}<span>></span><a href="pending.php?cid={?$catepos[i].cid?}">{?$catepos[i].cname?}</a>{?/section?}
		{?/if?}<span>></span>
		<a href="addarticle.php?aid={?$row.aid?}"><em>{?$row.title?}</em></a><span>></span>
		<a href="chapter.php?aid={?$row.aid?}">章节管理</a><span>></span>
		<a href="addtxt.php?aid={?$row.aid?}">上传TXT</a><span>></span>
		检查章节
	</td></tr>
</table>
<br>
<form method="post" name="frmpost">
<table width="100%" class="grid">
	<tr><th>以下是系统自动提取的章节列表，请检查是否正确</th></tr>
	<tbody>
	<tr><td><ul class="chaplist">{?section name=i loop=$rows?}<li class="chapter"><a>{?$rows[i].chaptername?}</a></li>{?/section?}<ul></td></tr>
	<tr>
		<td class="foot">
			<input type="button" value="章节入库" class="button" onclick="location.href='?action=insert&aid={?$row.aid?}'">
			&nbsp;&nbsp;或&nbsp;&nbsp;
			<input type="button" value="重新上传" class="button" onclick="location.href='?action=upload&aid={?$row.aid?}'">
		</td>
	</tr>
	</tbody>
</table>
</form>