<%@ Page Language="C#" MasterPageFile="~/Basic.Master" AutoEventWireup="true" CodeBehind="ProductClassEdit.aspx.cs" Inherits="CitySunlight.ProductClassEdit" %>

<asp:Content ContentPlaceHolderID="body" ID="body" runat="server">
    <form id="productclasseditform" runat="server">
        <table align="center">
            <tr>
                <td colspan="2" align="center">
                    <h3>自定义分类管理</h3>
                </td>
            </tr>
            <!-- 消息提示 -->
            <tr>
                <td colspan="2" align="center">
                    <%= msg %>
                </td>
            </tr>
            <!-- 添加分类 -->
            <tr>
                <td align="center" colspan="2">
                    <h4>添加分类</h4>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <a>新增类名: </a>
                    <input type="text" name="customclass" />
                </td>
                <td rowspan="2">
                    <asp:Button runat="server" ID="add" Text="添加" Width="45px" OnClick="add_Click" /></td>
            </tr>
            <tr>
                <td align="center">
                    <a>上级分类: </a>
                    <%= GetOption("addclassfather") %>
                </td>
            </tr>
            <!-- 删除分类 -->
            <tr>
                <td align="center" colspan="2">
                    <h4>删除分类</h4>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <a>当前分类: </a>
                    <%= GetOption("deleteclass") %>
                </td>
                <td>
                    <asp:Button runat="server" ID="remove" Text="删除" Width="45px" OnClick="remove_Click" /></td>
            </tr>
            <!-- 修改分类 -->
            <tr>
                <td align="center" colspan="2">
                    <h4>修改分类</h4>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <a>选择分类: </a>
                    <%= GetOption("editclassid") %>
                </td>
                <td rowspan="2">
                    <asp:Button runat="server" ID="Edit" Text="修改" Width="45px" OnClick="edit_Click" /></td>
            </tr>
            <tr>
                <td align="center">
                    <a>修改类名: </a>
                    <input type="text" name="editclassname" />
                </td>

            </tr>
        </table>
    </form>
</asp:Content>
