<%@ page language="C#" autoeventwireup="true" inherits="Admin_GoodsManagement_ManageDistribute, ShopWe" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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/my.css" rel="stylesheet" type="text/css" />
    <link href="../JS/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
    <link href="../css/volti.css" rel="stylesheet" type="text/css" />

    

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

</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="name">
            <tr>
                <td style="width:220px">
                    <div class="name_noe">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td align="center" style="height: 22px">
                                    默认操作</td>
  </tr>
  <tr>
    <td align="center" >
                        <asp:Button ID="DeleteSelect" runat="server" Text="删除所选配送方式" OnClick="DeleteSelect_Click" CssClass="butt_tle"
                            Height="22px" Width="120px"/>
							 <a href="AddDistribute.aspx" class="blue_ys"><img src="../Themes/Default/Images/add.png" /> 配送方式</a>   
							</td>
  </tr>
</table>

					
         
                    </div>
                </td>
            </tr>
        </table>
        <div id="all">
            <div class="k_all3">
                <table width="100%" cellpadding="0" cellspacing="0" id="bk" >
                    <thead>
                        <tr>
                            <th style="width: 30px">
                                <input id="ChkAll" type="checkbox" onclick="Check(this,'CheckBoxSelect','RepeaterTable')"
                                    />
                            </th>
                            <th style="width: 110px">
                                配送名称
                            </th>
                            <th style="width: 110px">
                                配送费用或公式
                            </th>
                            <th style="width: 110px">
                                是否保价
                            </th>
                            <th style="width: 110px">
                                编辑配送
                            </th>
                            <th>
                                设置区域
                            </th>
                        </tr>
                    </thead>
                    <asp:Repeater ID="RepeaterTable" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="CheckBoxSelect" runat="server" ToolTip='<%# Eval("DistributeGuid") %>'
                                        BorderStyle="None" BorderWidth="0px" />
                                </td>
                                <td>
                                        <%# Eval("DistributeName")%>
                                   
                                </td>
                                <td>
                                    <%# Eval("DistributeExpressions")%>
                                </td>
                                <td>
                                    <%# Common.GetBoolChina((bool)Eval("IsProtect"))%>
                                </td>
                                <td>
                                    <img src="../Themes/Default/Images/bj.png" alt="编辑配送" width="10" height="10" />
                                    <a href='AddDistribute.aspx?id=<%# Eval("DistributeGuid") %>' class='grey'>编辑配送</a>                                </td>
                                <td>
                                    <img src="../Themes/Default/Images/shop_xl7.png" alt="设置配送区域" />
                                    <a href='DistributeAreaList.aspx?id=<%# Eval("DistributeGuid") %>' class='grey'>设置配送区域</a></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
            <div class="k_all3">
                <div id="bk_line">
                    <div class="txte">
                         <img src="../Themes/Default/Images/bj.png" /> <asp:Literal ID="CountItem" runat="server"></asp:Literal>
                    </div>
                    <webdiyer:AspNetPager ID="AspNetPagerItem" runat="server" AlwaysShow="True" CssClass="yahoo2"
                        OnPageChanged="AspNetPagerItem_PageChanged">
                    </webdiyer:AspNetPager>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
