<%
    //-----------------------------------------------------------
    // 文件名称: System_Delivery_Manage.aspx
    // 页面名称:配送方式管理 
    //
    // 描    述:
    //
    // 修改标识: Add By 钟治宇 2008-11-17  卸载脚本为btnedit 设置配送区域为btndel  
    //修改ID标识
    //-----------------------------------------------------------
%>
<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.System_Delivery_Manage, V5Shop.Shop.Payment" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/ManageHeader.ascx" TagName="ManageHeader" TagPrefix="uc3" %>
<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<%@ Register TagPrefix="V5Shop" Namespace="V5Shop.Control" Assembly="V5Shop.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>
    <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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <uc3:ManageHeader ID="ManageHeader1" runat="server" />
        
         <div id="content">
            <div id="tool">
              <input type="checkbox" id="CheckAllBox" class="checkbox" onclick="CheckAll()" /> 全选
        　    <asp:LinkButton ID="btnAdd" runat="server" ForeColor="#4B6888" OnClick="btnAdd_Click" OnClientClick="return CheckEdit()" meta:resourcekey="btnAddResource2"><img src="images/icon/key_install.gif" /> 安装</asp:LinkButton>
        　<%--     2008-11-17--%>
        　    <asp:LinkButton ID="btnUnload" runat="server" ForeColor="#4B6888" OnClick="btnDel_Click" OnClientClick="return CheckEdit()" meta:resourcekey="btnEditResource2"><img src="images/icon/key_unstall.gif" /> 卸载</asp:LinkButton>
        　    <asp:LinkButton ID="btnAllocatesRegion" runat="server" ForeColor="#4B6888" OnClick="btnEdit_Click" OnClientClick="return CheckEdit()" meta:resourcekey="btnDelResource2"><img src="images/icon/key_edit.gif" /> 设置配送区域</asp:LinkButton>
        　  </div>
            <div class="listborder">
                <V5Shop:V5ShopGridView ID="GridViewShow" runat="server" meta:resourcekey="GridViewShowResource1" 
                AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CssClass="datalist" HeaderStyle-ForeColor="#000" EmptyDataText="没有查询到任何记录" TableName="Delivery">
                    <Columns>
                        <asp:TemplateField meta:resourcekey="TemplateFieldResource1" ItemStyle-Width="5%">
                            <ItemTemplate>
                                <input runat="server" class="checkbox" Value='<%# Eval("DllName") %>' ID="CheckBoxID" type="checkbox" onmouseover="this.mouse='over'" onmouseout="this.mouse='out'" mouse="out">
                            </ItemTemplate>
                        <itemstyle horizontalalign="Center"  /></asp:TemplateField>
                        <asp:BoundField ItemStyle-Width="10%" DataField="Name" SortExpression="Name" ItemStyle-ForeColor="#000" HeaderText="配送方式名称" meta:resourcekey="BoundFieldResource2" />
                        <asp:BoundField ItemStyle-Width="40%" DataField="Description" HeaderText="配送方式描述" meta:resourcekey="BoundFieldResource3" />
                        <asp:BoundField ItemStyle-Width="10%" DataField="Freight" HeaderText="保价费用" meta:resourcekey="BoundFieldResource5" />
                        <asp:BoundField ItemStyle-Width="10%" DataField="IsCOD" HeaderText="是否货到付款" meta:resourcekey="BoundFieldResource4" />
                        <asp:BoundField ItemStyle-Width="8%" DataField="IsACT" HeaderText="是否安装" SortExpression="IsACT" meta:resourcekey="BoundFieldResource4" />
                        <asp:BoundField ItemStyle-Width="7%" DataField="Version" HeaderText="版本号" meta:resourcekey="BoundFieldResource5" />
                        <asp:BoundField ItemStyle-Width="10%" DataField="Author" HeaderText="作者" meta:resourcekey="BoundFieldResource4" />
                    </Columns>
                </V5Shop:V5ShopGridView>

            </div>
        </div>
        
        <div id="hiddenfield">
            <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
            <asp:HiddenField ID="PageIndex" runat="server" Value="0"/>
            <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0"/>
            <uc1:HiddenField ID="Alert" runat="server" />
        </div>
        <uc2:PageBottom ID="PageBottom1" runat="server" />
    </div>
    </form>
</body>
</html>
