<%@ Page Language="C#" AutoEventWireup="true"  %>
<<%@ Import Namespace="System.Collections.Generic" %>
<%@ Register Assembly="com.xykj.business" Namespace="com.xykj.business" TagPrefix="xykj" %>

<script runat="server">
    IList<com.xykj.model.xcp_neichong> datas;
protected void Page_Load(object sender, EventArgs e)
    {
       string whr = " where 1=1 ";
       com.xykj.database.General g = new com.xykj.database.General();
       int id = XY.ToInt(Context.Request.Params["id"]);
       if (id > 0)
       {
           var idx = g.GetObject("update xcp_neichong set endoff=1 where ID="+id);
           XY.Cache.Clear();
       }
       int count = 0 ;
       datas = g.GetDatas<com.xykj.model.xcp_neichong>("xcp_neichong", 20,PageE1.CurPage, "", out count);
       PageE1.PageSize = 20;
       PageE1.RecordCount = count;
}
</script>
<!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>信游科技页游平台管理系统V3</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
<script src="/misc/shijian.js" type="text/javascript"></script>
<script type="text/javascript" src="/api/script.ashx?script.jq.js"></script>
<script type="text/javascript" src="/api/script.ashx?script.core.js"></script>
<link href="/misc/css/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<link href="/misc/css/global.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    var view = getparaFY("view")
    if (typeof view != "undefined") {
        if (window == top) top.location.href = "default.aspx?view=" + view;
    } else {
        if (window == top) top.location.href = "default.aspx";
    }

</script>
</head>
<body>
<div class="main ui-widget">
<p class="ui-page-title">内充请求</p>
<div class="work">
<form runat="server">


<table class="table">
<thead>
<tr><th>推广员ID</th><th>申请用户</th><th>申请金额</th><th>是否处理</th><th>内充/消耗</th><th style=" width:300px">管理</th></tr>
</thead>
<tbody>
<%foreach (var item in datas){%>
<tr><td><%=item.CpUid%></td><td><%=item.users%></td><td><%=item.money%></td><td><%if(item.endoff)%><%="作废"%><%else%><%="否"%></td><td><%=item.Etype%></td><td style=" width:300px"><a href="/theme/_account/cp/neichong.aspx?id=<%=item.ID%>" class="ui-button ui-widget ui-state-default ui-corner-all" style=" width:60px; height:20px;color:#0066FF; line-height:20px;">作废</a></td></tr>      
<%}%>


</tbody>
</table>

    <xykj:pageE ID="PageE1" class="pagediv2" runat="server" />
</form>
</div>
</div>
</body>
</html>