<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sortlist.aspx.cs" Inherits="Focus.Admin.sortlist" %>

<%@ Register TagPrefix="cc1" Namespace="Focus.Control" Assembly="Focus.Control" %>
<!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 id="Head1" runat="server">
    <title>栏目列表</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="styles/fntmanager.css" type="text/css" rel="stylesheet">
    <link href="styles/datagrid.css" type="text/css" rel="stylesheet">

    <script type="text/javascript" src="js/common.js"></script>

    <meta content="MSHTML 6.00.3790.0" name="GENERATOR">
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <cc1:DataGrid ID="DataGrid1" runat="server" IsFixConlumnControls="true" AllowPaging="false"
            ItemDataBound="">
            <Columns>
                <asp:TemplateColumn HeaderText="选择">
                    <ItemTemplate>
                        <input id="id" onclick="javascript:SH_SelectOne(this)" type="checkbox" value="<%# DataBinder.Eval(Container, "DataItem.id").ToString() %>"
                            name="id" />
                        <%# DataGrid1.LoadSelectedCheckBox(DataBinder.Eval(Container, "DataItem.id").ToString())%>
                    </ItemTemplate>
                </asp:TemplateColumn>
                <asp:BoundColumn DataField="id" HeaderText="id" Visible="false"></asp:BoundColumn>
                <asp:TemplateColumn HeaderText="栏目ID">
                    <ItemTemplate>
                        <%# DataBinder.Eval(Container, "DataItem.id").ToString()%>
                    </ItemTemplate>
                </asp:TemplateColumn>
                <asp:BoundColumn DataField="sortname" HeaderText="栏目名称" ReadOnly="true"></asp:BoundColumn>
                <asp:BoundColumn DataField="displayorder" HeaderText="显示顺序"></asp:BoundColumn>
                <asp:BoundColumn DataField="subsortcount" HeaderText="子栏目数" ReadOnly="true"></asp:BoundColumn>
                <asp:BoundColumn DataField="postdatetime" HeaderText="创建时间" ReadOnly="true"></asp:BoundColumn>
                <asp:BoundColumn DataField="updatetime" HeaderText="修改时间" ReadOnly="true"></asp:BoundColumn>
                <asp:TemplateColumn HeaderText="推荐">
                    <ItemTemplate>
                        <%# SystemStr(DataBinder.Eval(Container, "DataItem.decomposition").ToString())%>
                    </ItemTemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="只读">
                    <ItemTemplate>
                        <%# SystemStr(DataBinder.Eval(Container, "DataItem.system").ToString())%>
                    </ItemTemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="隐藏">
                    <ItemTemplate>
                        <%# SystemStr(DataBinder.Eval(Container, "DataItem.hidden").ToString())%>
                    </ItemTemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="水印">
                    <ItemTemplate>
                        <%# SystemStr(DataBinder.Eval(Container, "DataItem.disablewatermark").ToString())%>
                    </ItemTemplate>
                </asp:TemplateColumn>
            </Columns>
        </cc1:DataGrid>
        <div class="Navbutton">
            <cc1:Button ID="SaveTheme" runat="server" Text=" 保存修改 " OnClick="SaveTheme_Click">
            </cc1:Button>
        </div>
    </div>
    </form>
</body>
</html>
