<table width="100%" class="topmenu">
	<tr><td>
		{?if $row.status==1?}<a href="article.php"><em>文章列表</em></a>{?section name=i loop=$catepos?}<span>></span><a href="article.php?cid={?$catepos[i].cid?}">{?$catepos[i].cname?}</a>{?/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?}"><em>章节管理</em></a><span>></span>
		上传TXT
	</td></tr>
</table><br>
<form id="formAdd" method="post" enctype="multipart/form-data">
<input type="hidden" name="dosubmit" value="1">
<input type="hidden" name="aid" value="{?$row.aid?}" />
<table width="100%" class="grid">
	<tr>
		<td class="tdleft" width="80">文章名称：</td>
		<td>{?$row.title?}</td>
	</tr>
	<tr>
		<td class="tdleft">txt文件：</td>
		<td><input name="txt" id="txt" type="file" />&nbsp;<span class="red">请先将txt文件保存为utf-8格式再上传</span></td>
	</tr>{?if $uploaded==1?}
	<tr>
		<td class="tdleft blue">提示：</td>
		<td class="blue">您已经上传过txt文件，您可以选择重新上传或者 <a href="?action=checkchapter&aid={?$row.aid?}">读取TXT文件</a></td>
	</tr>{?/if?}
	<tr>
		<td class="tdleft"></td>
		<td><input type="submit" name="submit" id="submit" class="button" value="上 传"/></td>
	</tr>
</table>
</form>