<%@ Page Language="C#" AutoEventWireup="true" CodeFile="deepSoonArticleunchecked.aspx.cs" Inherits="Security.Articleunchecked" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<link rel="stylesheet" href="css/common.css" type="text/css" />
		<title>待审核文章管理</title>
	</head>

	<body style="padding-right:30px;overflow:hidden;">
		<form runat="server" style="margin:0px;padding:0px;">
		<div id="man_zone">
			<span class="adminTitle">待审核文章</span><br>
			<span class="adminGuid">
				[操作说明] 所有未审核的文章，点击[通过审核]修改文章状态。
			</span>
			<asp:GridView ID="myGridView"  DataKeyNames="ID" PageSize="9" OnPageIndexChanging="myGridView_PageIndexChanging" OnRowCommand="myGridView_RowCommand" runat="server" AutoGenerateColumns="false" AllowPaging="true" CellPadding="4" GridLines="None" BackColor="#DBE6E3" CellSpacing="1" Font-Bold="false"> 
				<FooterStyle BackColor="#FFFFFF" ForeColor="Black" />
				<RowStyle BackColor="#FFFFFF" ForeColor="Black" />
				<PagerStyle HorizontalAlign="Left"/>
				<HeaderStyle BackColor="#F7F7F7" Font-Bold="True" ForeColor="#404040" BorderColor="#A6CBEF" />
				<Columns> 
					<asp:TemplateField HeaderText=""> 
						<ItemTemplate> 
							<asp:CheckBox id="cbxId" runat="Server" /> 
						</ItemTemplate> 
					</asp:TemplateField> 			
					<asp:BoundField DataField="ID" HeaderText="ID" />
					<asp:BoundField DataField="Title" HeaderText="文章标题"/>
					<asp:BoundField DataField="Name" HeaderText="所属栏目" />
					<asp:BoundField DataField="Source" HeaderText="来源" />
					<asp:BoundField DataField="Author" HeaderText="作者" />
					<asp:BoundField DataField="DateStr" HeaderText="发布时间" />
					<asp:BoundField DataField="isSetIndexPic"   Visible=false HeaderText="幻灯" />
					<asp:TemplateField HeaderText="操作">
						<ItemTemplate>
							<asp:LinkButton ID="linkButtonEdit" runat="server" CausesValidation="False" CommandName="editArticle" CommandArgument='<%# Eval("ID")%>' Text="[查看并编辑]"/>
							<asp:LinkButton ID="linkButtonIsPass" runat="server" CausesValidation="False" CommandName="setPass" CommandArgument='<%# Eval("ID")%>' Text="[通过审核]"/>
							<asp:LinkButton ID="linkButtonDel" runat="server" CausesValidation="False" CommandName="deleteArticle" CommandArgument='<%# Eval("ID")%>' Text="[删除]" OnClientClick='<%#  "if (!confirm(\"是否确认删除？\")) return false;"%>'></asp:LinkButton>
						</ItemTemplate> 
					</asp:TemplateField>
				</Columns>		
				<PagerTemplate>
					<asp:LinkButton ID="cmdFirstPage" runat="server" CommandName="Page" CommandArgument="First" Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=0 %>">首页</asp:LinkButton>
					<asp:LinkButton ID="cmdPreview" runat="server" CommandArgument="Prev" CommandName="Page" Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=0 %>">上页</asp:LinkButton>
					第<asp:Label ID="lblcurPage" runat="server" Text='<%# ((GridView)Container.Parent.Parent).PageIndex+1  %>'></asp:Label>页/共<asp:Label ID="lblPageCount" runat="server" Text='<%# ((GridView)Container.Parent.Parent).PageCount %>'></asp:Label>页
					<asp:LinkButton ID="cmdNext" runat="server" CommandName="Page" CommandArgument="Next" Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1 %>">下页</asp:LinkButton>
					<asp:LinkButton ID="cmdLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1 %>">尾页</asp:LinkButton>&nbsp;			
					<asp:TextBox ID="txtGoPage" runat="server"  Width="40" value="1" MaxLength="6" onkeyup="value=value.replace(/[^\d]/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''));"></asp:TextBox>
					<asp:Button ID="btnGo" runat="server" Text="GO"  onclick="btnGo_Click"></asp:Button>			
				</PagerTemplate>
			</asp:GridView>	
			<asp:LinkButton ID="btnDelAll" runat="server" Text="删除选中" OnClick="btnDelAll_Click"/><br>
		</div>
		</form>
	</body>
</html>