<%
    //-----------------------------------------------------------
    // 文件名称: Order_Order_Printer_Manage.aspx
    // 页面名称: 快递单打印管理
    //
    // 描    述:
    //
    // 创建标识: Add By 吕鑫 2009-04-17
    //-----------------------------------------------------------
%>

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="V5" %>

<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/control.css" rel="stylesheet" type="text/css" />
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.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>
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblAdd" runat="server" Text="【快递单打印管理】" /></div>
        </div>
        
        <div id="content">
            <div style="padding-right: 25px; padding-left: 25px; padding-bottom: 3px; color: #4b6888; padding-top: 3px; border-bottom: #cccccc 1px solid">
                <input id="CheckAllBox" class="checkbox" onclick="CheckAll()" type="checkbox" /><asp:Label ID="lblSelectAll" runat="server" Text="全选" />
                <asp:LinkButton ID="btnAdd" runat="server" ForeColor="#4B6888" OnClick="btnAdd_Click" Width="60px"><img src="images/icon/key_add.gif" alt="" /> 添加</asp:LinkButton>
                <asp:LinkButton ID="btnEdit" runat="server" ForeColor="#4B6888" OnClick="btnEdit_Click" OnClientClick="return CheckEdit()" Width="60px"><img src="images/icon/key_edit.gif" alt="" /> 编辑</asp:LinkButton>
                <asp:LinkButton ID="btnDel" runat="server" ForeColor="#4B6888" OnClick="btnDel_Click" OnClientClick="return CheckDel()" Width="60px"><img src="images/icon/key_delete.gif" alt="" /> 删除</asp:LinkButton>
            </div>
            <div class="listborder">
                    <V5:V5ShopGridView ID="GridViewShow" runat="server" 
                    AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CssClass="datalist" PageSize="12" 
                    HeaderStyle-ForeColor="#000000" EmptyDataText="没有任何可用信息！" BorderWidth="0px" CacheName="TableCache_Web_Express"
                     GridLines="None" LabelArray="" MultiEditMode="False" TableName="" Width="100%">
                        <PagerSettings Mode="NumericFirstLast" />
                        <Columns>
                            <asp:TemplateField>
                                <itemtemplate>
                                    <input runat="server" value='<%# Eval("ID") %>' id="CheckBoxID" type="checkbox" class="checkbox"
                                onmouseover="this.mouse='over'" onmouseout="this.mouse='out'" />
                                </itemtemplate>
                                <itemstyle Width="8%"/>
                                <itemstyle horizontalalign="Center" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="Name" HeaderText="单据名称" SortExpression="Name" />
                            <asp:TemplateField HeaderText="是否启用">
                                <itemtemplate>
                                    <%# Convert.ToBoolean(Eval("isact"))?"是":""%>
                                </itemtemplate>
                            </asp:TemplateField>                            
                        </Columns>
                        <HeaderStyle CssClass="category" ForeColor="Black" />
                    </V5:V5ShopGridView>
                </div>
        </div>
        
        <uc2:PageBottom ID="PageBottom" runat="server" />
        <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" />
            <V5:ActiveControl ID="ActiveControl" runat="server" />
        </div>
    </div>
    </form>
</body>
</html>
