<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Product_Product_Operate_Config, V5Shop.Shop.Category" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<%@ Register Src="control/ManageHeader.ascx" TagName="ManageHeader" TagPrefix="uc3" %>
<!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>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />

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

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

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <uc3:ManageHeader ID="ManageHeader1" runat="server" />
            <div style="padding: 3px 25px; color: #4B6888; border-bottom: 1px #CCCCCC solid">
                    <input type="checkbox" id="CheckAllBox" onclick="CheckAll()" class="checkbox" />
                    全选
                    <asp:Button ID="btnConfirm" runat="server" CssClass="button" OnClick="btnConfirm_Click" Text="确定"/>
                        <asp:Label ID="lblShowSuccess" runat="server" ForeColor="Red" Text="操作已成功" Visible="False"></asp:Label>
                        </div>
            <div class="listborder">
                <asp:Repeater ID="rptProductConfig" runat="server">
                    <HeaderTemplate>
                        <table width="100%" class="listborder" cellpadding="0" cellspacing="0">
                            <tr bgcolor="#F1F1F1">
                                <td width="30%" align="left" style="padding-left:30px">
                                    模块名称
                                </td>
                                <td width="15%">
                                    添加
                                </td>
                                <td width="55%">
                                    编辑
                                </td>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td align="left" style="padding-left:30px">&nbsp;
                                <input id="Control" type="hidden" value='<%# Eval("ControlName") %>' name="Control"/>
                                <asp:Label ID="lblName" runat="server" Visible="true" Text='<%#Eval("Name") %>'></asp:Label>
                            </td>
                            <td>
                                <input id="CheckBoxID1" name="CheckBoxID_Add_<%# Eval("ControlName") %>" type="checkbox" value='<%# Eval("Add") %>' class="checkbox" />
                            </td>
                            <td>
                                <input id="CheckBoxID2" name="CheckBoxID_Edit_<%# Eval("ControlName") %>" type="checkbox" value='<%# Eval("Edit") %>' class="checkbox" />
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
            <div width="100%"  style="padding:10px 30px; color:#009900">
                <asp:Label ID="lblHelpNotice" runat="server" Text="说明：如果选择模块功能，则商品在添加或编辑时会相应显示。否则则不显示。如：商品配件如果添加功能未选中，则在加商品时不会显示商品配件一项。"></asp:Label></div>
            <uc1:PageBottom ID="PageBottom1" runat="server" />
        </div>
    </form>
</body>
</html>
