<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.System_Payment_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 id="Head1" 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()" ><img src="images/icon/key_install.gif" /> 安装</asp:LinkButton>
        　    <asp:LinkButton ID="btnDel" runat="server" ForeColor="#4B6888" OnClick="btnDel_Click" OnClientClick="return CheckEdit()" ><img src="images/icon/key_unstall.gif" /> 卸载</asp:LinkButton>
        　    <asp:LinkButton ID="btnEdit" runat="server" ForeColor="#4B6888" OnClick="btnEdit_Click" OnClientClick="return CheckEdit()" ><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="Payment">
                    <Columns>
                        <asp:TemplateField meta:resourcekey="TemplateFieldResource1" ItemStyle-Width="3%">
                            <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="15%" DataField="Name" SortExpression="Name" ItemStyle-ForeColor="#000" HeaderText="支付方式名称"  />
                        <asp:TemplateField ItemStyle-Width="30%" ItemStyle-ForeColor="#000" HeaderText="简单描述">
                            <itemtemplate>
                            <%# Eval("DefaultDescription")%>
                            </itemtemplate>
                        </asp:TemplateField>
                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-ForeColor="#000" HeaderText="是否安装" SortExpression="IsACT">
                            <itemtemplate>
                            <%# Eval("IsAct")%>
                            </itemtemplate>
                        </asp:TemplateField>
                        <asp:BoundField ItemStyle-Width="5%" DataField="Version" HeaderText="版本号"  />
                        <asp:BoundField ItemStyle-Width="8%" DataField="Author" HeaderText="作者" />
                    </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>
