<div class="clear10"></div>
<ul class="ultab">
	<li><a{?if 'publish'==$Saxue.request.view?} class="selected"{?/if?} href="?view=publish&menuid={?$menuid?}">已发表文章</a></li>
	<li><a{?if 'pending'==$Saxue.request.view?} class="selected"{?/if?} href="?view=pending&menuid={?$menuid?}">待审核文章</a></li>
	<li><a{?if 'deny'==$Saxue.request.view?} class="selected"{?/if?} href="?view=deny&menuid={?$menuid?}">审核不通过</a></li>
</ul>
<div class="blockb">
	<div class="blockcontent">
		<ul class="ullist">
			{?if 'publish'==$Saxue.request.view?}{?section name=i loop=$rows?}<li>
			<div class="cf"><a href="{?$rows[i].url?}"><h4 class="overflow">{?$rows[i].title?}</h4></a><em>{?$rows[i].views?}</em></div>
			<div class="gray"><em>{?$rows[i].addtime|date:'Y-m-d H:i'?}</em><a class="gray" href="{?$rows[i].curl?}" target="_blank">{?$rows[i].cname?}</a></div>
			</li>{?/section?}{?else?}{?section name=i loop=$rows?}<li>
			<div class="cf"><h4 class="overflow">{?$rows[i].title?}</h4><em><a href="contribute.php?aid={?$rows[i].aid?}">修改</a>&nbsp;&nbsp;<a href="?view={?$Saxue.request.view?}&menuid={?$menuid?}&page={?$Saxue.request.page?}&action=delete&aid={?$rows[i].aid?}" onclick="return confirm('确定要删除本篇文章吗？')">删除</a></em></div>
			<div class="gray"><em>{?$rows[i].addtime|date:'Y-m-d H:i'?}</em><a class="gray" href="{?$rows[i].curl?}" target="_blank">{?$rows[i].cname?}</a></div>
			</li>{?/section?}{?/if?}
		</ul>
	</div>
</div>
<div class="clear10"></div>
{?if $totalpage>1?}<div class="pagelink"><a href="{?$saxue_page_prevurl?}" class="prev btn btn-primary">上一页</a><a href="{?$saxue_page_nexturl?}" class="next btn btn-primary">下一页</a></div>{?/if?}