<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sorttypemanage.aspx.cs" Inherits="Focus.Admin.sorttypemanage" %>
<%@ 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 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>
      <div class="Navbutton" style="width: 98%;">
        <table cellspacing="1" cellpadding="4" align="left" class="table1">
            <tr>
                <td align="left">
                    <input title="选中/取消选中 本页所有Case" onclick="CheckAll(this.form)" type="checkbox" name="chkall"
                        id="chkall" />全选/取消全选 &nbsp;
                    <cc1:Button ID="DelRec" runat="server" Text=" 删 除 " ButtonImgUrl="images/del.gif"
                        OnClick="DelRec_Click"></cc1:Button>
                </td>
            </tr>
        </table>
    </div>
    <cc1:datagrid id="themegrid" runat="server" IsFixConlumnControls="true"   ItemDataBound="" AllowPaging="false" ColumnSpan="4">
        <Columns>
            <asp:TemplateColumn HeaderText="选择">
                <ItemTemplate>
                    <input id="id" onclick="javascript:SH_SelectOne(this)" type="checkbox" value="<%# DataBinder.Eval(Container, "DataItem.id").ToString() %>"
                        name="id" />
                    <%# themegrid.LoadSelectedCheckBox(DataBinder.Eval(Container, "DataItem.id").ToString())%>
                </ItemTemplate>
            </asp:TemplateColumn>
            <asp:BoundColumn DataField="id" HeaderText="Id" Visible="false"></asp:BoundColumn>
            <asp:BoundColumn DataField="typename" HeaderText="存储类型名称"></asp:BoundColumn>
            <asp:BoundColumn DataField="managepage" HeaderText="管理页面"></asp:BoundColumn>
            <asp:BoundColumn DataField="listpage" HeaderText="栏目页面(?sortid={ID})"></asp:BoundColumn>
            <asp:BoundColumn DataField="viewpage" HeaderText="内容页面(?id={ID})"></asp:BoundColumn>
        </Columns>
    </cc1:datagrid>
    <div class="Navbutton">
        <cc1:Button ID="SaveTheme" runat="server" Text=" 保存修改 " OnClick="SaveTheme_Click">
        </cc1:Button>
    </div>
    <div class="ManagerForm">
        <fieldset>
            <legend style="background: url(images/icons/legendimg.jpg) no-repeat 6px 50%;">新建存储类型</legend>
            <table class="datagridStyles" cellspacing="0" cellpadding="3" rules="rows" border="0"
                width="100%" id="smilesgrid">
                <tr>
                    <td height="40" width="20%">
                        存储类型名称：
                    </td>
                    <td width="30%">
                        <cc1:TextBox ID="typename" runat="server" MaxLength="50" />
                    </td>
                    <td width="20%">
                        管理页面：
                    </td>
                    <td width="30%">
                        <cc1:TextBox ID="managepage" runat="server" MaxLength="50" />
                    </td>
                </tr>
                <tr>
                    <td height="40" width="20%">
                        栏目页面：
                    </td>
                    <td  width="30%">
                        <cc1:TextBox ID="listpage" runat="server" MaxLength="50" />
                    </td>
                    <td width="20%">
                        内容页面：
                    </td>
                    <td width="30%">
                        <cc1:TextBox ID="viewpage" runat="server" MaxLength="50" />
                    </td>
                </tr>
            </table>
        </fieldset>
        <div class="Navbutton">
            <cc1:Button ID="SubmitButton" runat="server" Text=" 提 交 " ValidateForm="false" OnClick="SubmitButton_Click">
            </cc1:Button></div>
    </div>
    </div>
    </form>
</body>
</html>
