<div class="list m-tableinfo m-tableinfo-noborder">
	<div class="tabs">
		<ul>
			<li class="ll{?if 'publish'==$Saxue.request.view?} crt{?/if?}"><a href="?view=publish&menuid={?$menuid?}">已发表文章</a></li>
			<li class="{?if 'pending'==$Saxue.request.view?}crt{?/if?}"><a href="?view=pending&menuid={?$menuid?}">待审核文章</a></li>
			<li class="l2{?if 'deny'==$Saxue.request.view?} crt{?/if?}"><a href="?view=deny&menuid={?$menuid?}">审核不通过</a></li>
		</ul>
	</div>
	<div>
		{?if 'publish'==$Saxue.request.view?}
		<table>
			<colgroup valign="middle">
				<col>
				<col>
				<col>
				<col>
			</colgroup>
			<thead>
				<tr>
					<td>文章标题</td>
					<td>栏目</td>
					<td>发表日期</td>
					<td>浏览</td>
				</tr>
			</thead>
			<tbody>
				{?section name=i loop=$rows?}
				<tr>
					<td><a href="{?$rows[i].url?}" target="_blank">{?$rows[i].title?}</a></td>
					<td><a href="{?$rows[i].curl?}" target="_blank">{?$rows[i].cname?}</a></td>
					<td>{?$rows[i].addtime|date:'Y-m-d H:i'?}</td>
					<td>{?$rows[i].views?}</td>
				</tr>
				{?/section?}
			</tbody>
		</table>
		{?else?}
		<table>
			<colgroup valign="middle">
				<col>
				<col>
				<col>
				<col>
			</colgroup>
			<thead>
				<tr>
					<td>文章标题</td>
					<td>栏目</td>
					<td>投递日期</td>
					<td>操作</td>
				</tr>
			</thead>
			<tbody>
				{?section name=i loop=$rows?}
				<tr>
					<td>{?$rows[i].title?}</td>
					<td><a href="{?$rows[i].curl?}" target="_blank">{?$rows[i].cname?}</a></td>
					<td>{?$rows[i].addtime|date:'Y-m-d H:i'?}</td>
					<td>
						<a href="contribute.php?aid={?$rows[i].aid?}">修改</a>
						<a href="?view={?$Saxue.request.view?}&menuid={?$menuid?}&page={?$Saxue.request.page?}&action=delete&aid={?$rows[i].aid?}" onclick="return confirm('确定要删除本篇文章吗？')">删除</a>
					</td>
				</tr>
				{?/section?}
			</tbody>
		</table>
		{?/if?}
		{?if $totalpage>1?}{?$url_jumppage?}{?/if?}
	</div>
</div>