Files
g.hnyhua.cn/Mtxfw.VipSite/Admin_Member_List_SMRZ.aspx
2026-02-07 15:48:27 +08:00

315 lines
14 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_List_SMRZ.aspx.cs" Inherits="Mtxfw.VipSite.Admin_Member_List_SMRZ" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9,IE=10" />
<script src="/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/Scripts/bootstrap.min.js"></script>
<script src="/Scripts/common.js" type="text/javascript"></script>
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
<!-- Basic Styles -->
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" media="screen" href="/css/bootstrap.css">
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" media="screen" href="/css/font-awesome-ie7.min.css">
<![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-production.css">
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-skins.css">
<link rel="stylesheet" type="text/css" media="screen" href="/css/your_style.css">
<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
<link rel="stylesheet" type="text/css" media="screen" href="/css/demo.css">
<!-- FAVICONS -->
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/css/cjadd.css">
<script type="text/javascript">
//去掉空格
function fTrim(str) {
return str.replace(/(^\s*)|(\s*$)/g, "");
}
function showchongzhi(t, id, UserName) {
if (t == 5) {
$("#modal-title").html("修改待收益钱包");
$("#jjtype_box").show();
$("#jjtime_box").show();
$("#txtBody").val("更正");
} else {
$("#jjtype_box").hide();
$("#jjtime_box").hide();
$("#txtBody").val("后台充值");
if (t == 0) {
$("#modal-title").html("修改福农积分");
} else if (t == 1) {
$("#modal-title").html("修改补贴积分");
} else if (t == 2) {
$("#modal-title").html("修改金枣积分");
} else if (t == 3) {
$("#modal-title").html("修改资产包");
} else if (t == 4) {
$("#modal-title").html("修改期权股");
} else if (t == 6) {
$("#modal-title").html("修改LT");
} else if (t == 7) {
$("#modal-title").html("修改烧伤值");
} else if (t == 9) {
$("#modal-title").html("修改权益值");
} else if (t == 10) {
$("#modal-title").html("修改产品券");
} else if (t == 11) {
$("#modal-title").html("修改总收益");
}
}
$("#txttype").val(t);
$("#txtid").val(id);
$("#txtUserName").html(UserName);
$('#successModal').modal('show');
}
function onchongzhi() {
var b = true;
if (fTrim($("#txtJE").val()) == "") {
b = false;
alert("修改金额不能为空!");
$("#txtJE").focus();
}
if (fTrim($("#txtBody").val()) == "") {
b = false;
alert("修改内容不能为空!");
$("#txtBody").focus();
}
if (b) {
$("#btn-continue").attr("disabled", true);
$.ajaxSettings.async = true;
var t = $("#txttype").val();
var id = $("#txtid").val();
var jjtype = 0;
var time = "";
if (t == 5) {
jjtype = $("#jjtype").val();
time = $("#txttime").val();
}
$.post("/Ajax.ashx", { action: 'onchongzhi', t: t, id: id, jjtype:jjtype, time:time, je: escape($("#txtJE").val()), Body: escape($("#txtBody").val()) }, function (data) {
switch (data) {
case "0":
alert("操作成功!");
$("#btn-continue").removeAttr("disabled");
var umoney = (parseFloat($("#umoney" + t + "_" + id).html()) + parseFloat($("#txtJE").val()));
$("#umoney" + t + "_" + id).html(umoney);
$("#txtJE").val("");
$('#successModal').modal('hide');
break;
default: alert(data);
$("#btn-continue").removeAttr("disabled");
}
});
}
}
var search2 = function () {
var key = $("#text_key");
location.href = "admin_member_list_SMRZ.aspx?key=" + escape(key.val());
};
function onGoToMemberId(id) {
/*
$("#GoToMemberId").val("登录中...");
$("#GoToMemberId").attr("disabled", true);
$.post("/Ajax.ashx", { action: 'GoToMemberId', id: id }, function (data) {
switch (data) {
case "0":
window.open('/Member.aspx');
$("#GoToMemberId").val("登录会员后台");
$("#GoToMemberId").removeAttr("disabled");
break;
default: alert(data);
$("#GoToMemberId").val("登录会员后台");
$("#GoToMemberId").removeAttr("disabled");
}
});*/
}
function qingkong(t,id) {
var b = true;
var je = fTrim($("#umoney" + t + "_" + id).val());
if (je == "") {
b = false;
alert("修改金额不能为空!");
$("#umoney" + t + "_" + id).focus();
}
if (b) {
$("#btn" + t + "_" + id).attr("disabled", true);
$("#btn" + t + "_" + id).val("请稍候...");
$.ajaxSettings.async = true;
$.post("/Ajax.ashx", { action: 'qingkong', t: t, id: id, je: je }, function (data) {
switch (data) {
case "0":
alert("操作成功!");
$("#umoney" + t + "_" + id).val("");
break;
default: alert(data);
}
$("#btn" + t + "_" + id).removeAttr("disabled");
$("#btn" + t + "_" + id).val("请稍候...");
});
}
}
function onyxq() {
/*if ($("#seclect_Drop").val() == "12") {
$("#dhmyxq_box").show();
} else {
$("#dhmyxq_box").hide();
}*/
}
$(document).ready(function () {
onyxq();
});
</script>
</head>
<body>
<form runat="server">
<!-- RIBBON -->
<div id="ribbon">
<span class="ribbon-button-alignment"> <span id="refresh" class="btn btn-ribbon" data-title="refresh" rel="tooltip" data-placement="bottom" data-original-title="&lt;i class='text-warning fa fa-warning'&gt;&lt;/i&gt; 注意!这会重新设置小工具的排位." data-html="true" data-reset-msg="刷新网站?"><i class="fa fa-refresh"></i></span> </span>
<!-- breadcrumb -->
<ol class="breadcrumb">
<li><a href="/" target="_top">主页</a></li>
<li><a href="/Member_Index.aspx">会员中心首页</a></li>
<li><a href="/Admin_Member_config.aspx">后台管理</a></li>
<li>会员管理</li>
</ol>
<!-- end breadcrumb -->
</div>
<!-- END RIBBON -->
<!-- MAIN CONTENT -->
<div style="opacity: 1;" id="content">
<div class="frontMain">
<h1 class="title01"><span class="semi-bold">实名认证列表</span></h1>
<div class="MainContent">
<table width="100%" border="0" class="data_table" cellspacing="1" cellpadding="0">
<tr>
<td>
<input id="text_key" value="<%=Request.QueryString["key"] %>" type="text" />
<input id="btn_search" type="button" value="搜索" onclick="search2()" class="abtn" />
</td>
</tr>
</table>
<table width="100%" border="0" class="data_table" id="p_table" cellspacing="0" cellpadding="0">
<tr bgcolor="#f7f7f7">
<% if (MemberJS.IndexOf("高级管理功能") != -1)
{ %>
<td><strong>选择</strong></td>
<%} %>
<td><strong>账号</strong></td>
<td><strong>姓名</strong></td>
<td><strong>身份证号码</strong></td>
<td><strong>身份证正面照</strong></td>
<td><strong>身份证反面照</strong></td>
<td><strong>状态</strong></td>
</tr>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<tr <%#(Container.ItemIndex + 1)%2==0?"bgColor=\"#f4f4f4\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#f4f4f4\"'":"bgColor=\"#ffffff\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#ffffff\"'"%>>
<% if (MemberJS.IndexOf("高级管理功能") != -1)
{ %>
<td><asp:checkbox ID="checka" runat="server" CssClass='<%#Eval("ID") %>'></asp:checkbox></td>
<%} %>
<td><a href="Admin_Member_Info<%=MemberJS.IndexOf("修改会员资料") != -1?"":"2" %>.aspx?ID=<%#Eval("ID") %>"><%#Eval("UserName")%></a></td>
<td><%#Eval("RealName")%></td>
<td><%#Eval("sfz")%></td>
<td><%#Eval("PayEWMPic1").ToString()!=""?"<a target='_blank' href='"+(Eval("PayEWMPic1").ToString().IndexOf("/Files/grimage/") == -1?config.webUpPath+Eval("PayEWMPic1").ToString():Eval("PayEWMPic1").ToString())+"'><img src='"+Mtxfw.Utility.Common.GetCoverPic(Eval("PayEWMPic1").ToString(),"40x40","cut")+"' /></a>":"暂无照片"%></td>
<td><%#Eval("PayEWMPic2").ToString()!=""?"<a target='_blank' href='"+(Eval("PayEWMPic2").ToString().IndexOf("/Files/grimage/") == -1?config.webUpPath+Eval("PayEWMPic2").ToString():Eval("PayEWMPic2").ToString())+"'><img src='"+Mtxfw.Utility.Common.GetCoverPic(Eval("PayEWMPic2").ToString(),"40x40","cut")+"' /></a>":"暂无照片"%></td>
<td><%#Eval("uLevel18").ToString() == "1" ? "<font color=\"Red\">未审核</font>" : "<br><font color=\"Green\">已审核</font>"%></td>
</tr>
</ItemTemplate>
</asp:Repeater>
<% if (MemberJS.IndexOf("高级管理功能") != -1)
{ %>
<tr>
<td colspan="17" style="text-align:left">
操作:<span style=" cursor:pointer; color:Blue;" onclick="seclectall(0)">全选</span>&nbsp;<span style=" cursor:pointer; color:Blue;" onclick="seclectall(1)">取消所选</span>
将所选项
<asp:DropDownList ID="seclect_Drop" runat="server">
<asp:ListItem Value="0">审核通过</asp:ListItem>
<asp:ListItem Value="1">删除认证</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="Btn_Run" OnClick="Run_Click" runat="server" Text="执行" CssClass="abtn"></asp:Button>
</td>
</tr>
<%} %>
</table>
<div style="text-align:center; height:40px; margin:10px 0;">
<webdiyer:AspNetPager ID="MyPager" AlwaysShow="true" runat="server"
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
CustomInfoHTML="共 &lt;font color=&quot;red&quot;&gt;%RecordCount%&lt;/font&gt; 条记录 当前 &lt;font color=&quot;red&quot;&gt;%CurrentPageIndex%/%PageCount%&lt;/font&gt; 页"
PrevPageText="上一页" ShowPageIndexBox="Always" ShowCustomInfoSection="Left"
SubmitButtonText="Go" TextAfterPageIndexBox="页" ShowBoxThreshold="100"
CurrentPageButtonPosition="Center" ShowMoreButtons="False" PageIndexBoxType="DropDownList"
TextBeforePageIndexBox="转到" UrlPaging="True">
</webdiyer:AspNetPager>
</div>
</div>
</div>
</div>
<!-- 充值框Modal -->
<div class="modal fade" id="successModal" tabindex="-1" role="dialog" aria-labelledby="successLab" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><span id="modal-title">充值</span><span class="close" onclick="$('#successModal').modal('hide');">x</span></h5>
</div>
<div class="modal-body0">
<ul class="addinfo_box">
<li><label><font color="red">*</font>会员:</label><p><span id="txtUserName"></span></p></li>
<li id="jjtype_box" style="display:none;"><label><font color="red">*</font>类型:</label><p><select id="jjtype"><option value="0">拼团奖励</option><option value="1">拼团红包奖励</option></select></p></li>
<li id="jjtime_box" style="display:none;"><label><font color="red">*</font>时间:</label><p><input id="txttime" type="text" value="<%=DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") %>" /></p></li>
<li><label><font color="red">*</font>修改金额:</label><p><input id="txtJE" type="text" /></p></li>
<li><label><font color="red">*</font>备注内容:</label><p><textarea id="txtBody">后台操作</textarea></li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default text-right" onclick="$('#successModal').modal('hide');" id="Button1">取消</button>
<button type="button" class="btn btn-success" id="btn-continue" onclick="onchongzhi()">确认</button>
<input id="txttype" type="hidden" />
<input id="txtid" type="hidden" />
</div>
</div><!-- /.modal-content -->
</div>
</div>
</form>
</body></html>