<%@ page language="C#" autoeventwireup="true" inherits="Admin_WebSetting_DistributeAreaList, 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:285px">
                    <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="AddArea" runat="server" Text="添加配送区域" OnClick="AddArea_Click1" CssClass="butt_tle"
                            Height="22px" Width="90px"/>
                        <asp:Button ID="DeleteSelect" runat="server" Text="删除所选区域" OnClick="DeleteSelect_Click" CssClass="butt_tle"
                            Height="22px" Width="90px"/>
							 <a href="AddDistribute.aspx" class="blue_ys"><img src="../Themes/Default/Images/add.png" /> 配送方式</a>   
			  </td>
  </tr>
</table>
 </div>
                </td>
              <td>&nbsp;</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: 150px">
                                配送名称</th>
                            <th>
                                配送区域</th>
                             <th style="width: 150px">
                                配送价格或公式</th>
                            <th style="width: 80px">
                                货到付款</th>
                            <th style="width: 80px">
                                编辑</th>
                        </tr>
                    </thead>
                    <asp:Repeater ID="RepeaterTable" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="CheckBoxSelect" runat="server" ToolTip='<%# Eval("ID") %>'
                                        BorderStyle="None" BorderWidth="0px" /></td>
                                <td>
                                    <%# GetDistributeName()%>
                                </td>
                                <td>
                                    <%# Eval("Area")%>
                                </td>
                                 <td>
                                    <%# Eval("DistributeExpressions")%>
                                </td>
                                <td>
                                    <%# Common.GetBoolChina((bool)Eval("IsDelivery"))%>
                                </td>
                                <td>
                                    <img src="../css/images/bj.png" alt="编辑"/> <a href='AddDistributeArea.aspx?areaid=<%# Eval("ID") %>' class='grey'>
                                        编辑</a>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
            <div class="k_all3">
                <div id="bk_line">
                    <div class="txte">
                        <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>
