<%@ page language="C#" autoeventwireup="true" inherits="admin_payList, kfenlei" %><%@ Register Src="../inc/adminTop.ascx" TagName="adminTop" TagPrefix="qth8" %><!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>
<title>框分类信息系统 后台管理</title>
<link href="../css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div align="center">
<div class="main" align="left">
<qth8:adminTop ID="AdminTop1" runat="server" />
<div class="d01">
<div id="divCheck" style="display:none;">
<form name="payCheck" id="payCheck" class="layui-form" action="../action.aspx?s=payCheck" method="post">
<input type="hidden" name="id" value="" id="checkId" />
<table border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr>
<td width="100">支付方式</td>
<td><input type="radio" name="class" checked="checked" value="1" title="支付宝" /> <input type="radio" name="class" value="2" title="微信" /></td>
</tr>
<tr>
<td width="100">支付订单号</td>
<td><input type="text" name="tradeNo1" class="inputText" size="26" /></td>
</tr>
<tr>
<td width="100"></td>
<td><input type="submit" class="layui-btn" value="确认已收款" /></td>
</tr>
</table>
</form>
</div>
<div class="tabTitle">订单管理<span class="tabTitleCom">共<%=iRecordCount%>条交易记录，总交易额：<%=sPriceSum %></span></div>
<form name="fSearch" id="fSearch" class="layui-form" action="payList.aspx" method="get">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr><td class="head" colspan="8"><strong>筛选&nbsp;&nbsp;</strong>
<input type="radio" name="a" checked="checked" value="0" lay-filter="a" title="全部" /><input type="radio" name="a" value="1" lay-filter="a" title="交易成功" /><input type="radio" name="a" value="2" lay-filter="a" title="未付款" /> 日期 <input type="text" onclick="layui.laydate({elem:this})" value="<%=t %>" name="t" class="inputText" style="width:100px;" /> - <input type="text" onclick="layui.laydate({elem:this})" value="<%=t1 %>" name="t1" class="inputText" style="width:100px;" />   每页 
<input type="text" size="5" name="c" value="<%=c%>" class="inputText" /> 条 用户ID <input type="text" size="10" name="u" value="<%=u%>" class="inputText" />  订单号 <input type="text" size="25" name="k" value="<%=k%>" class="inputText" /> <input type="submit" value="筛选" class="layui-btn layui-btn-small" /> 
</td></tr></table>
<script language="javascript" type="text/javascript">
ckRadio("a","<%=a%>");
layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
form.on('radio(a)', function(data){
$("#fSearch").submit();
});
form.on('checkbox(checkAll)', function(data){
if(data.elem.checked)
{
	$("input[name='id']").prop("checked",true);
}
else
{
	$("input[name='id']").prop("checked",false);
}
	form.render();
});
});
function goPage()
{
	window.location.replace("payList.aspx?k=<%=k %>&a=<%=a%>&c=<%=c %>&u=<%=u %>&p="+document.getElementById("iPageIndex").value)
}
function checkPay(id)
{

$("#checkId").val(id);
obj=layer.tab({
  area: ['500px', '300px'],
  tab: [{title: '确认收款',content:$("#divCheck").html()}]});
  var form = layui.form();
  form.render();
}
</script>
</form>
<form action="../action.aspx?s=payList" class="layui-form" method="post" name="del">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr><td class="head" colspan="8"><strong>操作&nbsp;&nbsp;</strong> <input type="radio" checked="checked" value="0" name="a" title="删除" /> <input type="submit" name="Submit" class="layui-btn layui-btn-small" value="提交" /></td></tr>
</table>
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<thead>
<tr>
<td width="100" class="head"><input type="checkbox" id="checkAll" lay-skin="primary" lay-filter="checkAll" /> id</td>
<td width="100" class="head">用户ID</td>
<td width="230" class="head">订单号</td>
<td width="80" class="head">对象</td>
<td width="70" class="head">价格</td>
<td width="120" class="head">支付方式</td>
<td width="90" class="head">状态</td>
<td width="100" class="head">发起交易</td>
<td width="100" class="head">交易成功</td>
<td width="150" class="head">说明</td>
<td width="60" class="head">操作</td>
</tr>
</thead>
<%=sList %>
</form>
<tr>
 <td class="head" colspan="11">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="payList.aspx?p=1&a=<%=a%>&c=<%=c %>&u=<%=u %>&k=<%=k%>">首页</a> <a href="payList.aspx?p=<%=iTp.ToString()%>&a=<%=a%>&c=<%=c %>&u=<%=u %>&k=<%=k%>">上一页</a> <a href="payList.aspx?p=<%=iNp.ToString()%>&a=<%=a%>&c=<%=c %>&u=<%=u %>&k=<%=k%>">下一页</a> <a href="payList.aspx?p=<%=iPageCount.ToString()%>&a=<%=a%>&c=<%=c %>&u=<%=u %>&k=<%=k%>">尾页</a> <span class="color3">|</span> <input type="text" size="5" id="iPageIndex" class="inputText" /> <input type="button" value="转到" onclick="goPage()" class="bt1" /></td></tr>
</table>
</div>
</div></div>
<div id="telInfo" class="telInfo"></div>
</body>
</html>
