<%@ Page language="c#" Inherits="Discuz.ForumPage.Admin.forumsgrid" Codebehind="forum_forumsgrid.aspx.cs" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>手动调整版块</title>
		<LINK href="../styles/datagrid.css" type="text/css" rel="stylesheet">
		<LINK href="../styles/dntmanager.css" type="text/css" rel="stylesheet">		
	    <script language="javascript" src="../js/common.js"></script>
</head>

	<body>
		<form id="Form1" method="post" runat="server">
<script language="javascript">
showhint(1, '该功能为手动修改版块数据, 这将对论坛版块表中的版块名称, 子版数等相关内容进行调整. 操作务必谨慎!');
</script>

			<cc1:datagrid id="DataGrid1" runat="server" OnCancelCommand="DataGrid_Cancel" OnEditCommand="DataGrid_Edit"
				OnPageIndexChanged="DataGrid_PageIndexChanged" OnSortCommand="Sort_Grid" >
				<Columns>
				 	<asp:BoundColumn DataField="fid" HeaderText="版块ID" Visible="false" ></asp:BoundColumn>
					<asp:BoundColumn DataField="name" HeaderText="版块名称"></asp:BoundColumn>
					<asp:BoundColumn DataField="layer" HeaderText="显示层数" ReadOnly="true"></asp:BoundColumn>
					<asp:BoundColumn DataField="parentidlist" HeaderText="父列表" ReadOnly="true"></asp:BoundColumn>
					<asp:BoundColumn DataField="subforumcount" HeaderText="子版数" ></asp:BoundColumn>
					<asp:BoundColumn DataField="displayorder" HeaderText="显示顺序"></asp:BoundColumn>
					<asp:BoundColumn DataField="status" HeaderText="状态" ReadOnly="true"></asp:BoundColumn>
					<asp:BoundColumn DataField="topics" HeaderText="主题总数" ReadOnly="true"></asp:BoundColumn>
					<asp:BoundColumn DataField="posts" HeaderText="回帖总数" ReadOnly="true"></asp:BoundColumn>
					<asp:BoundColumn DataField="todayposts" HeaderText="今天回帖数" ReadOnly="true"></asp:BoundColumn>
					<asp:BoundColumn DataField="lastposter" HeaderText="最后回帖人" ReadOnly="true"></asp:BoundColumn>
			
				</Columns>
			</cc1:datagrid>
			
		</form>
		<%=footer%>
	</body>
</HTML>
