504 lines
17 KiB
Plaintext
504 lines
17 KiB
Plaintext
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="admin_member_info.aspx.cs" Inherits="Mtxfw.VipSite.admin_member_info" %>
|
||
<!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 src="/Scripts/jquery-migrate-1.1.1.min.js" type="text/javascript"></script>
|
||
<script src="/Scripts/common.js" type="text/javascript"></script>
|
||
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
|
||
<script type="text/javascript">
|
||
window._AMapSecurityConfig = {
|
||
securityJsCode:'e6f03bbeeef0f9e993f83e11b2770733',
|
||
}
|
||
</script>
|
||
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=7f3003c477e8cd4851d4552c7dce9059&plugin=AMap.Autocomplete,AMap.PlaceSearch"></script>
|
||
<script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
|
||
<!-- 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">
|
||
<style>
|
||
.dsimg img{ width:100px;}
|
||
.dsimg0 img{ width:200px;}
|
||
.map_container {
|
||
width:500px;
|
||
height:400px;
|
||
}
|
||
</style>
|
||
<script type="text/javascript">
|
||
/**
|
||
* 检查输入的手机号码格式是否正确
|
||
* 输入:str 字符串
|
||
* 返回:true 或 flase; true表示格式正确
|
||
*/
|
||
function checkMobilePhone(str) {
|
||
if (str.match(/^(?:12\d|13\d|14\d|15\d|16\d|17\d|18\d|19\d)-?\d{5}(\d{3}|\*{3})$/) == null) {
|
||
return false;
|
||
}
|
||
else {
|
||
return true;
|
||
}
|
||
}
|
||
|
||
|
||
/**
|
||
* 检查输入的固定电话号码是否正确
|
||
* 输入:str 字符串
|
||
* 返回:true 或 flase; true表示格式正确
|
||
*/
|
||
function checkTelephone(str) {
|
||
if (str.match(/^(([0\+]\d{2,3}-)?(0\d{2,3})-)(\d{7,8})(-(\d{3,}))?$/) == null) {
|
||
return false;
|
||
}
|
||
else {
|
||
return true;
|
||
}
|
||
}
|
||
|
||
/**
|
||
* 检查QQ的格式是否正确
|
||
* 输入:str 字符串
|
||
* 返回:true 或 flase; true表示格式正确
|
||
*/
|
||
function checkQQ(str) {
|
||
if (str.match(/^\d{5,10}$/) == null) {
|
||
return false;
|
||
}
|
||
else {
|
||
return true;
|
||
}
|
||
}
|
||
|
||
/**
|
||
* 检查输入的身份证号是否正确
|
||
* 输入:str 字符串
|
||
* 返回:true 或 flase; true表示格式正确
|
||
*/
|
||
function checkCard(str) {
|
||
//15位数身份证正则表达式
|
||
var arg1 = /^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$/;
|
||
//18位数身份证正则表达式
|
||
var arg2 = /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[A-Z])$/;
|
||
if (str.match(arg1) == null && str.match(arg2) == null) {
|
||
return false;
|
||
}
|
||
else {
|
||
return true;
|
||
}
|
||
}
|
||
var pid = '<%=pid %>';
|
||
var cid = '<%=cid %>';
|
||
var qid = '<%=qid %>';
|
||
$(document).ready(function () {
|
||
$('#select_p').change(function () {//获取城市
|
||
getCity();
|
||
});
|
||
|
||
$('#select_c').change(function () {//获取县区
|
||
getCounty();
|
||
});
|
||
|
||
$('#select_p').val(pid);
|
||
getCity();
|
||
if ($('#map_container').length > 0) {
|
||
AMapUI.loadUI(['misc/PositionPicker'], function (PositionPicker) {
|
||
map = new AMap.Map('map_container', {
|
||
zoom: 5,
|
||
resizeEnable: true
|
||
});
|
||
|
||
|
||
var positionPicker = new PositionPicker({
|
||
mode: 'dragMarker',
|
||
zoom: 6,
|
||
map: map,
|
||
iconStyle: { //自定义外观
|
||
url: '/images/position-picker2.png',
|
||
ancher: [24, 40],
|
||
size: [58, 58]
|
||
}
|
||
});
|
||
|
||
positionPicker.on('success', function (positionResult) {
|
||
var pos = positionResult.position.toString().split(",");
|
||
$("#lng").val(pos[0]);
|
||
$("#lat").val(pos[1]);
|
||
});
|
||
positionPicker.on('fail', function (positionResult) {
|
||
var pos = positionResult.toString();
|
||
alert(pos);
|
||
|
||
});
|
||
var cityid = $("#select_c").val();
|
||
if (cityid != "") {
|
||
map.setCity(cityid);
|
||
}
|
||
if ($("#lng").val() != "" && $("#lat").val() != "") {
|
||
var pos = new Array(2);
|
||
pos[0] = $("#lng").val();
|
||
pos[1] = $("#lat").val();
|
||
positionPicker.start(pos);
|
||
} else {
|
||
|
||
positionPicker.start();
|
||
}
|
||
|
||
|
||
map.on('click', function (e) {
|
||
var pos = new Array(2);
|
||
pos[0] = e.lnglat.getLng();
|
||
pos[1] = e.lnglat.getLat();
|
||
positionPicker.start(pos);
|
||
$("#lng").val(pos[0]);
|
||
$("#lat").val(pos[1]);
|
||
});
|
||
|
||
});
|
||
}
|
||
})
|
||
|
||
function getCity() {
|
||
if ($('#select_p').val() != '-1') {
|
||
$.post("/Ajax.ashx", { action: 'GetCity', ProvinceID: $('#select_p').val(), cityIDs: cid }, function (data) {
|
||
if (data != 'false') {
|
||
$('#select_c').html(data);
|
||
|
||
getCounty();
|
||
}
|
||
});
|
||
}
|
||
}
|
||
|
||
function getCounty() {
|
||
if ($('#select_c').val() != '-1') {
|
||
$.post("/Ajax.ashx", { action: 'GetCounty', CityID: $('#select_c').val(), countyIDs: qid }, function (data) {
|
||
if (data != 'false')
|
||
$('#select_q').html(data);
|
||
|
||
if ($('#select_c').val() != 0) {
|
||
|
||
}
|
||
});
|
||
}
|
||
}
|
||
function toaddress() {
|
||
if ($('#county').val() != 0) {
|
||
|
||
}
|
||
}
|
||
function onxg() {
|
||
if ($("#<%=Text_RealName.ClientID %>").val() == "") {
|
||
confirm("您的真实姓名不能为空");
|
||
$("#<%=Text_RealName.ClientID %>").focus();
|
||
return false;
|
||
}/* else {
|
||
var reg = /^[\u4E00-\u9FA5]+$/;
|
||
if (!reg.test($("#<%=Text_RealName.ClientID %>").val())) {
|
||
alert("您的真实姓名填写错误,只能包含有中文!");
|
||
$("#<%=Text_RealName.ClientID %>").focus();
|
||
return false;
|
||
}
|
||
|
||
}*/
|
||
if ($("#<%=Text_Phone.ClientID %>").val() == "") {
|
||
confirm("手机号码不能为空");
|
||
$("#<%=Text_Phone.ClientID %>").focus();
|
||
return false;
|
||
} else {
|
||
if (!checkMobilePhone($("#<%=Text_Phone.ClientID %>").val())) {
|
||
confirm("手机号码格式不正确,只能输入11位数字");
|
||
$("#<%=Text_Phone.ClientID %>").focus();
|
||
return false;
|
||
}
|
||
}
|
||
|
||
if ($("#select_p").val() == "") {
|
||
confirm("所在省份必须选择");
|
||
$("#select_p").focus();
|
||
return false;
|
||
} if ($("#select_c").val() == "") {
|
||
confirm("所在城市必须选择");
|
||
$("#select_c").focus();
|
||
return false;
|
||
}
|
||
|
||
|
||
|
||
}
|
||
</script>
|
||
</head>
|
||
<body>
|
||
<form id="form1" runat="server" onsubmit="return onxg()">
|
||
<!-- 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="<i class='text-warning fa fa-warning'></i> 注意!这会重新设置小工具的排位." 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_table2" cellspacing="0" cellpadding="0">
|
||
|
||
<tr>
|
||
<th>用户名</th>
|
||
<td><asp:TextBox ID="Text_UserName" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>登陆密码</th>
|
||
<td><asp:TextBox ID="Text_Pwd1" runat="server" CssClass="k2"></asp:TextBox><asp:Button ID="Btn_updatePwd" runat="server" Text="恢复原始密码" CssClass="abtn" />注:原始登录密码为6个1,安全密码6个2</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th>安全密码</th>
|
||
<td><asp:TextBox ID="Text_Pwd2" runat="server" CssClass="k2"></asp:TextBox></td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th>真实姓名</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_RealName" runat="server" CssClass="k2"></asp:TextBox><font color="red">*</font>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>身份证</th>
|
||
<td><asp:TextBox ID="Text_SFZ" runat="server" CssClass="k2"></asp:TextBox><font color="red">*</font>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>手机</th>
|
||
<td><asp:TextBox ID="Text_Phone" runat="server" CssClass="k2"></asp:TextBox><font color="red">*</font>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>头像</th>
|
||
<td class="dsimg">
|
||
<asp:FileUpload ID="File_AdsImg1" runat="server" style="border:1px solid #ccc;" />
|
||
<img id="Img_Img1" runat="server" style="display:block; margin-top:4px;" />
|
||
<asp:HiddenField ID="Hidd_Img1" runat="server" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>昵称</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_NCName" runat="server" CssClass="k2"></asp:TextBox>
|
||
|
||
</td>
|
||
</tr>
|
||
<asp:Panel ID="grPanel" runat="server">
|
||
|
||
|
||
<tr>
|
||
<th>所在地区</th>
|
||
<td>
|
||
<select name="select_p" id="select_p" class="k1">
|
||
<option value="-1">--省--</option>
|
||
<%=GetProvince() %>
|
||
</select>
|
||
<select name="select_c" id="select_c" class="k2">
|
||
<option value="-1">--市--</option>
|
||
</select>
|
||
<select name="select_q" id="select_q" class="k3" onchange="toaddress()">
|
||
<option value="-1">--县区--</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>收货地址</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_DZ" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
</asp:Panel>
|
||
<asp:Panel ID="qyPanel" runat="server">
|
||
|
||
<tr>
|
||
<th>公司名称</th>
|
||
<td>
|
||
<asp:TextBox ID="CompanyName" runat="server" CssClass="k2"></asp:TextBox>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>电话号码</th>
|
||
<td><asp:TextBox ID="CompanyTel" runat="server" CssClass="k2"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th><%=utype==1?"证件号码":"营业执照号" %></th>
|
||
<td><asp:TextBox ID="CompanyNumber" runat="server" CssClass="k2"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th><%=utype==1?"证件图片":"营业执照图片" %></th>
|
||
<td class="dsimg">
|
||
<asp:FileUpload ID="File_AdsImg" runat="server" style="border:1px solid #ccc;" />
|
||
<img id="Img_Img" runat="server" style="display:block; margin-top:4px;" />
|
||
<asp:HiddenField ID="Hidd_Img" runat="server" />
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th><%=utype==1?"预览图片":"预览图片" %></th>
|
||
<td class="dsimg">
|
||
<asp:FileUpload ID="File_AdsImg0" runat="server" style="border:1px solid #ccc;" />
|
||
<img id="Img_Img0" runat="server" style="display:block; margin-top:4px;" />
|
||
<asp:HiddenField ID="Hidd_Img0" runat="server" />
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>所在地区</th>
|
||
<td>
|
||
<select name="select_p" id="select_p" class="k1">
|
||
<option value="-1">--省--</option>
|
||
<%=GetProvince() %>
|
||
</select>
|
||
<select name="select_c" id="select_c" class="k2">
|
||
<option value="-1">--市--</option>
|
||
</select>
|
||
<select name="select_q" id="select_q" class="k3" onchange="toaddress()">
|
||
<option value="-1">--县区--</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>详细地址</th>
|
||
<td>
|
||
<asp:TextBox ID="Companyaddress" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<!-- <tr>
|
||
<th>地图坐标</th>
|
||
<td>lng:<input type="text" value="" name="lng" id="lng" readonly runat="server" />lat:<input
|
||
type="text" value="" name="lat" id="lat" readonly runat="server" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>标注地图</th>
|
||
<td>
|
||
<div class="map_container" id="map_container">
|
||
</div>
|
||
</td>
|
||
</tr>-->
|
||
|
||
</asp:Panel>
|
||
<tr>
|
||
<th>开户姓名</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_KHName" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>银行名称</th>
|
||
<td>
|
||
<asp:DropDownList ID="DropBank" runat="server"></asp:DropDownList>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>银行卡号</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_BankCard" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>开户行地址</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_BankName" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>支付宝账号</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_AliAccount" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>支付宝姓名</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_AliName" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>支付宝收款码</th>
|
||
<td class="dsimg0">
|
||
<asp:FileUpload ID="aliimage_upload" runat="server" style="border:1px solid #ccc;" />
|
||
<img id="aliimage_img" runat="server" style="display:block; margin-top:4px;" />
|
||
<asp:HiddenField ID="aliimage_field" runat="server" />
|
||
|
||
</td>
|
||
</tr>
|
||
<!--<tr>
|
||
<th>微信收款码</th>
|
||
<td class="dsimg0">
|
||
<asp:FileUpload ID="weixinimage_upload" runat="server" style="border:1px solid #ccc;" />
|
||
<img id="weixinimage_img" runat="server" style="display:block; margin-top:4px;" />
|
||
<asp:HiddenField ID="weixinimage_field" runat="server" />
|
||
|
||
</td>
|
||
</tr>-->
|
||
<tr>
|
||
<th>钱包地址</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_qianbao" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th></th>
|
||
<td>
|
||
<asp:Button ID="Btn_Update" runat="server" Text="修改资料" CssClass="abtn" /> <input type="button" value="<<返回" class="abtn" onclick="history.go(-1);" />
|
||
<asp:HiddenField ID="Hidd_Url" runat="server" /></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</form>
|
||
</body></html>
|