<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NetGate_List.aspx.cs" Inherits="JRAPI.Admin.Channel.NetGate_List" %>
<%@ Register src="../Controls/SubPageTop.ascx" tagname="SubPageTop" tagprefix="uc1" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<uc1:SubPageTop ID="SubPageTop1" runat="server" />
<body>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
            <a href='javascript:;'  class="on"><em>网关设置</em></a><span>|</span><a href='NetGate_Add.aspx'><em>添加网关</em></a>    </div>
</div>
<style type="text/css">
	html{_overflow-y:scroll}
</style><div class="pad-lr-10">
<div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
            <th width="5%" align="center">ID</th>
			<th width='20%' align="center">网关名称</th>
			<th width="15%" align="center">商户ID</th>
			<th width='35%' align="center">商户KEY</th>
			<th width="10%" align="center">网关类别</th>
			<th width="15%" align="center">管理操作</th>
            </tr>
        </thead>
    <tbody>
        <asp:Repeater ID="repList" runat="server">
            <ItemTemplate>
	            <tr>
	            <td align="center"><%# Eval("Gateid")%></td>
	            <td align="center"><%# Eval("GateName")%></td>
	            <td align="center"><%# Eval("GateUserID")%></td>
	            <td align="center"><%# Eval("GateUserKey")%></td>
	            <td align="center"><%# JRAPI.Common.pub.getGateTypeStr(JRAPI.Common.TypeConverter.ObjectToInt(Eval("GateType")))%></td>
	            <td align="center"><a href="NetGate_Edit.aspx?gateid=<%# Eval("Gateid") %>">修改</a> <a href="javascript:confirmurl('?action=delete&gateid=<%# Eval("Gateid")%>','确认要删除 『 <%# Eval("GateName")%> 』 吗？')">删除</a></td>
	            </tr>
            </ItemTemplate>
        </asp:Repeater>

</tbody>
    </table>
    </div>
    <form id="Form1" runat="server">
 <webdiyer:AspNetPager ID="pages" runat="server" FirstPageText="首页" LastPageText="尾页"
                                            NextPageText="下一页" PrevPageText="上一页" 
        AlwaysShow="True" PageSize="20" UrlPageIndexName="pageindex" CustomInfoHTML="共有%RecordCount%条数据,每页%PageSize%条,当前第%CurrentPageIndex%页,共%PageCount%页"
                                            ShowCustomInfoSection="Left"  CurrentPageButtonClass="current"   
        CustomInfoClass="pxofy" 
        NavigationClass="pagin-list" onpagechanging="PageList_PageChanging" 
        PageIndexBoxClass="gotoinput" SubmitButtonClass="gotobtn" 
        FirstLastButtonsClass="a1" PagingButtonsClass="" PrevNextButtonsClass="a1">
                                        </webdiyer:AspNetPager>
</form>
</div>
</body>
</html>