312 lines
9.8 KiB
Plaintext
312 lines
9.8 KiB
Plaintext
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="admin_member_info2.aspx.cs" Inherits="Mtxfw.VipSite.admin_member_info2" %>
|
||
<!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" />
|
||
|
||
<!-- 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;}
|
||
</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();
|
||
})
|
||
|
||
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:Label ID="Text_UserName" runat="server"></asp:Label>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th>头像</th>
|
||
<td class="dsimg">
|
||
<asp:Label ID="Labelimg" runat="server"></asp:Label>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>真实姓名</th>
|
||
<td>
|
||
<asp:Label ID="Text_RealName" runat="server" CssClass="k2"></asp:Label>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>昵称</th>
|
||
<td>
|
||
<asp:Label ID="Text_NCName" runat="server" CssClass="k2"></asp:Label>
|
||
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th>手机</th>
|
||
<td><asp:Label ID="Text_Phone" runat="server" CssClass="k2"></asp:Label>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>身份证</th>
|
||
<td><asp:Label ID="Text_SFZ" runat="server" CssClass="k2"></asp:Label>
|
||
</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:Label ID="Text_Address" runat="server"></asp:Label>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>银行名称</th>
|
||
<td>
|
||
<asp:DropDownList ID="DropBank" runat="server"></asp:DropDownList>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>银行卡号</th>
|
||
<td>
|
||
<asp:Label ID="Text_BankCard" runat="server"></asp:Label>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>开户行地址</th>
|
||
<td>
|
||
<asp:Label ID="Text_BankName" runat="server"></asp:Label>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th></th>
|
||
<td>
|
||
<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>
|