@ -1,56 +1,56 @@
< extend name = "Public/base" / >
< block name = "body" >
< style >
.tabcon1711 .table_click,.tabcon1711 .table_click:hover {border:none;}
.tabcon1711 .table_click .table_click_text {border-bottom:1px solid transparent;}
.tabcon1711 .table_click:hover .table_click_text {border-bottom-color:#145CCD;}
< / style >
< style >
.tabcon1711 .table_click,.tabcon1711 .table_click:hover {border:none;}
.tabcon1711 .table_click .table_click_text {border-bottom:1px solid transparent;}
.tabcon1711 .table_click:hover .table_click_text {border-bottom-color:#145CCD;}
< / style >
< script src = "__STATIC__/layer/layer.js" type = "text/javascript" > < / script >
< link rel = "stylesheet" type = "text/css" href = "__CSS__/admin_table.css" media = "all" >
< script type = "text/javascript" src = "__STATIC__/uploadify/jquery.uploadify.min.js" > < / script >
<!-- 标签页导航 -->
< div class = "tab-wrap" >
< div class = "tab-content tabcon1711" >
< div class = "tab-content tabcon1711" >
<!-- 表单 -->
< form id = "form" action = "{:U('edit?model='.$model['id'])}" method = "post" class = "form-horizontal" >
< div class = "cf main-place top_nav_list navtab_list" >
< h3 class = "page_title" > 基本信息< / h3 >
< p class = "description_text" > 说明:此处显示本站玩家账号的相关信息< / p >
< / div >
< div class = "tab-pane in tab1" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td class = "l" > 玩家账号< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "account" value = "{$data['account']}" disabled = "disabled" >
< span class = "notice-text" > 玩家登录账号,一经注册,全平台通用< / span >
< / td >
< / tr >
< lt name = "data.register_type" value = "3" >
< tr >
< td class = "l" > 登录密码< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "password" value = "" >
< span class = "notice-text" > 不可查看,只能更改密码< / span >
< / td >
< / tr >
< / lt >
< tr >
< td class = "l" > 用户昵称< / td >
< td class = "r" >
< if condition = "$data['nickname'] eq null" >
< span class = "notice-text" style = "width:215px;margin-left:0px;" > — —< / span >
< else / >
< input type = "text" class = "txt" name = "nickname" value = "{$data['nickname']}" disabled >
< / if >
< span class = "notice-text" > 初次登录,默认玩家为账号,用户可自行设置昵称< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 账号状态< / td >
< td class = "r table_radio" >
< form id = "form" action = "{:U('edit?model='.$model['id'])}" method = "post" class = "form-horizontal" >
< div class = "cf main-place top_nav_list navtab_list" >
< h3 class = "page_title" > 基本信息< / h3 >
< p class = "description_text" > 说明:此处显示本站玩家账号的相关信息< / p >
< / div >
< div class = "tab-pane in tab1" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td class = "l" > 玩家账号< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "account" value = "{$data['account']}" disabled = "disabled" >
< span class = "notice-text" > 玩家登录账号,一经注册,全平台通用< / span >
< / td >
< / tr >
< lt name = "data.register_type" value = "3" >
< tr >
< td class = "l" > 登录密码< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "password" value = "" >
< span class = "notice-text" > 不可查看,只能更改密码< / span >
< / td >
< / tr >
< / lt >
< tr >
< td class = "l" > 用户昵称< / td >
< td class = "r" >
< if condition = "$data['nickname'] eq null" >
< span class = "notice-text" style = "width:215px;margin-left:0px;" > — —< / span >
< else / >
< input type = "text" class = "txt" name = "nickname" value = "{$data['nickname']}" disabled >
< / if >
< span class = "notice-text" > 初次登录,默认玩家为账号,用户可自行设置昵称< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 账号状态< / td >
< td class = "r table_radio" >
< span class = "form_radio table_btn player_table_btn" >
< label >
< input type = "radio" value = "1" name = "lock_status"
@ -61,32 +61,32 @@
< eq name = "data['lock_status']" value = "0" > checked="checked"< / eq > > {:L('Lock')}
< / label >
< / span >
< span class = "notice-text" > 可设置玩家账号的登录状态,锁定即无法登录本平台< / span >
< / td >
< / tr >
< tr >
< td class = "l" > 用户头像< / td >
< td class = "r" >
< span class = "notice-text" > 可设置玩家账号的登录状态,锁定即无法登录本平台< / span >
< / td >
< / tr >
< tr >
< td class = "l" > 用户头像< / td >
< td class = "r" >
< span class = "table_click table_icon player_table_btn" style = "border-bottom:0px;" >
< span class = "placeholder_graphic" style = "width:52px;height:52px;border-radius:50%;" >
< img id = "lookheadpic" alt = "点击查看原图" title = "点击查看原图" src = "{$data['head_img']}" style = "border-radius:50%;" width = "52px" height = "52px" / >
< / span >
< / span >
< span class = "notice-text" style = "height:52px; line-height:52px;" > 初次登录默认头像,用户可以自行修改< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > VIP等级< / td >
< td class = "r table_radio" >
< span class = "notice-text" style = "height:52px; line-height:52px;" > 初次登录默认头像,用户可以自行修改< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > VIP等级< / td >
< td class = "r table_radio" >
< span class = "form_radio table_btn player_table_btn" >
VIP {:get_vip_level($recharge_total)}
< / span >
< span class = "notice-text" > < / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 实名认证< / td >
< td class = "r table_radio" >
< span class = "notice-text" > < / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 实名认证< / td >
< td class = "r table_radio" >
< span class = "form_radio table_btn player_table_btn" >
< switch name = "data.age_status" >
< case value = "0" > 未认证< / case >
@ -96,158 +96,153 @@
< default / > 意外数据
< / switch >
< / span >
< span class = "notice-text" > 需玩家认证真实姓名和身份证号码< / span >
< / td >
< / tr >
< tr >
< td class = "l" > 真实姓名< / td >
< td class = "r" >
< if condition = "$data['real_name'] eq null" >
< input type = "text" class = "txt" name = "real_name" value = "" >
< else / >
< input type = "text" class = "txt" name = "real_name" value = "{$data['real_name']}" >
< / if >
< / td >
< / tr >
< tr >
< td class = "l" > 身份证号< / td >
< td class = "r" >
< if condition = "$data['idcard'] eq null" >
< input type = "text" class = "txt" name = "idcard" value = "" >
< else / >
< input type = "text" class = "txt" name = "idcard" value = "{$data['idcard']}" >
< / if >
< / td >
< / tr >
< tr >
< td class = "l" > QQ号< / td >
< td class = "r" >
< if condition = "$data['qq'] eq null" >
< input type = "text" class = "txt" name = "qq" value = "空" disabled >
< else / >
< input type = "text" class = "txt" name = "qq" value = "{$data['qq']}" disabled >
< / if >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 手机号码< / td >
< td class = "r pr" >
< input type = "text" class = "txt " name = "phone" value = "{$data['phone']}" placeholder = "暂无手机号码"
readonly>
< span id = "phone" class = "table_click" > < span class = "table_click_text inner-click-text" > 点击修改< / span > < / span >
< span class = "notice-text" > 玩家绑定的手机号,可通过点击修改,更换玩家的绑定手机(慎重使用)< span >
< / td >
< / tr >
< tr >
< td class = "l" > 注册时间< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "register_time" value = "{$data['register_time']|date=' Y-m-d H:i:s',###}" disabled >
< / td >
< / tr >
< tr >
< td class = "l" > 注册ip< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "register_ip" value = "{$data['register_ip']}" disabled >
< / td >
< / tr >
< span class = "notice-text" > 需玩家认证真实姓名和身份证号码< / span >
< / td >
< / tr >
< tr >
< td class = "l" > 真实姓名< / td >
< td class = "r" >
< if condition = "$data['real_name'] eq null" >
< input type = "text" class = "txt" name = "real_name" value = "" >
< else / >
< input type = "text" class = "txt" name = "real_name" value = "{$data['real_name']}" >
< / if >
< / td >
< / tr >
< tr >
< td class = "l" > 身份证号< / td >
< td class = "r" >
< input type = "text" class = "txt" value = "{$data['idcard']|encryptStr}" readonly >
< span id = "idcard" class = "table_click" > < span class = "table_click_text inner-click-text" > 点击修改< / span > < / span >
< / td >
< / tr >
< tr >
< td class = "l" > QQ号< / td >
< td class = "r" >
< if condition = "$data['qq'] eq null" >
< input type = "text" class = "txt" name = "qq" value = "空" disabled >
< else / >
< input type = "text" class = "txt" name = "qq" value = "{$data['qq']}" disabled >
< / if >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 手机号码< / td >
< td class = "r pr" >
< input type = "text" class = "txt " value = "{$data['phone']|encryptStr}" placeholder = "暂无手机号码"
readonly>
< span id = "phone" class = "table_click" > < span class = "table_click_text inner-click-text" > 点击修改< / span > < / span >
< span class = "notice-text" > 玩家绑定的手机号,可通过点击修改,更换玩家的绑定手机(慎重使用)< span >
< / td >
< / tr >
< tr >
< td class = "l" > 注册时间< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "register_time" value = "{$data['register_time']|date=' Y-m-d H:i:s',###}" disabled >
< / td >
< / tr >
< tr >
< td class = "l" > 注册ip< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "register_ip" value = "{$data['register_ip']}" disabled >
< / td >
< / tr >
< tr >
< td class = "l" > 最后登录时间< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "login_time" value = "{$data['login_time']|date=' Y-m-d H:i:s',###}" disabled >
< / td >
< / tr >
< tr >
< td class = "l" > 最后登录IP< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "login_ip" value = "{$data['login_ip']}" disabled >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 平台币余额< / td >
< td class = "r" >
< input type = "text" class = "txt readonly-input" value = "{$data['balance']}" width = "20px" readonly >
< span class = "notice-text" > 显示该用户平台币的账户余额< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 绑定平台币余额< / td >
< td class = "r" >
< a id = "bindplatform" class = "table_click table_btn player_table_btn" href = "{:U('Member/bind_balance',array('id'=>$data['id']))}" > < span class = "table_click_text" > 点击查看< / span > < / a >
< span class = "notice-text" > 显示该用户各个游戏的绑定平台币余额(点击弹出显示,可以手动修改)< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 游戏付费记录< / td >
< td class = "r" >
< span id = "chongzhi" class = "table_click table_btn player_table_btn" > < span class = "table_click_text" > 点击查看< / span > < / span >
< span class = "notice-text" > 此处显示该玩家游戏内的充值记录;不包含玩家账户充值平台币的记录< / span >
< / td >
< / tr >
< tr >
< td class = "l" > 最后登录时间< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "login_time" value = "{$data['login_time']|date=' Y-m-d H:i:s',###}" disabled >
< / td >
< / tr >
< tr >
< td class = "l" > 最后登录IP< / td >
< td class = "r" >
< input type = "text" class = "txt" name = "login_ip" value = "{$data['login_ip']}" disabled >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 平台币余额< / td >
< td class = "r" >
< input type = "text" class = "txt readonly-input" value = "{$data['balance']}" width = "20px" readonly >
< span class = "notice-text" > 显示该用户平台币的账户余额< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 绑定平台币余额< / td >
< td class = "r" >
< a id = "bindplatform" class = "table_click table_btn player_table_btn" href = "{:U('Member/bind_balance',array('id'=>$data['id']))}" > < span class = "table_click_text" > 点击查看< / span > < / a >
< span class = "notice-text" > 显示该用户各个游戏的绑定平台币余额(点击弹出显示,可以手动修改)< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 游戏付费记录< / td >
< td class = "r" >
< span id = "chongzhi" class = "table_click table_btn player_table_btn" > < span class = "table_click_text" > 点击查看< / span > < / span >
< span class = "notice-text" > 此处显示该玩家游戏内的充值记录;不包含玩家账户充值平台币的记录< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 金币余额< / td >
< td class = "r" >
< tr >
< td class = "l noticeinfo" > 金币余额< / td >
< td class = "r" >
< span class = "table_btn player_table_btn" >
< input type = "text" class = "txt readonly-input" value = "{$data['gold_coin']}" style = "border:none;" readonly >
< / span >
< span class = "notice-text" > 显示该用户的金币余额< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 金币提现记录< / td >
< td class = "r" >
< span id = "tixian" class = "table_click table_btn player_table_btn" > < span class = "table_click_text" > 点击查看< / span > < / span >
< span class = "notice-text" > 此处显示该玩家的金币提现记录< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 角色信息< / td >
< td class = "r" >
< span id = "role" class = "table_click table_btn player_table_btn" > < span class = "table_click_text" > 点击查看< / span > < / span >
< span class = "notice-text" > 点击查看该用户游戏角色信息< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 游戏登录记录< / td >
< td class = "r" >
< span id = "denglu" class = "table_click table_btn player_table_btn" > < span class = "table_click_text" > 点击查看< / span > < / span >
< span class = "notice-text" > 点击查看该用户游戏登录记录< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > < / td >
< td class = "r" >
< div class = "new_submit" >
< input type = "hidden" id = "selfid" name = "id" value = "{$data.id}" >
< input type = "hidden" id = "url" name = "urll" value = "{$url}" >
< button class = "submit_btn ajax-post " id = "submit" type = "submit" target-form = "form-horizontal" >
确定
< / button >
< a class = "submit_btn " alt = "返回上一页" title = "返回上一页" href = "javascript:window.history.back();" >
返回
< / a >
< / div >
< / td >
< / tr >
< / table >
< / div >
< span class = "notice-text" > 显示该用户的金币余额< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 金币提现记录< / td >
< td class = "r" >
< span id = "tixian" class = "table_click table_btn player_table_btn" > < span class = "table_click_text" > 点击查看< / span > < / span >
< span class = "notice-text" > 此处显示该玩家的金币提现记录< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 角色信息< / td >
< td class = "r" >
< span id = "role" class = "table_click table_btn player_table_btn" > < span class = "table_click_text" > 点击查看< / span > < / span >
< span class = "notice-text" > 点击查看该用户游戏角色信息< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > 游戏登录记录< / td >
< td class = "r" >
< span id = "denglu" class = "table_click table_btn player_table_btn" > < span class = "table_click_text" > 点击查看< / span > < / span >
< span class = "notice-text" > 点击查看该用户游戏登录记录< / span >
< / td >
< / tr >
< tr >
< td class = "l noticeinfo" > < / td >
< td class = "r" >
< div class = "new_submit" >
< input type = "hidden" id = "selfid" name = "id" value = "{$data.id}" >
< input type = "hidden" id = "url" name = "urll" value = "{$url}" >
< button class = "submit_btn ajax-post " id = "submit" type = "submit" target-form = "form-horizontal" >
确定
< / button >
< a class = "submit_btn " alt = "返回上一页" title = "返回上一页" href = "javascript:window.history.back();" >
返回
< / a >
< / div >
< / td >
< / tr >
< / table >
< / div >
< / form >
< / div >
< / div >
< div class = "common_settings" >
< span class = "plus_icon" > < span > < img src = "__IMG__/zwmimages/icon_jia.png" > < / span > < / span >
< form class = "addShortcutIcon" >
< input type = "hidden" name = "title" value = "{$m_title}" >
< input type = "hidden" name = "url" value = "Member/user_info" >
< / form >
< / div >
< a class = "ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href = "javascript:;" target-form = "addShortcutIcon" url = "{:U('Think/addShortcutIcon')}" > < img src = "__IMG__/zwmimages/icon_jia.png" > < span > < notempty name = 'commonset' > 已添加< else / > 添加至常用设置< / notempty > < / span > < / a >
< / div >
< div class = "common_settings" >
< span class = "plus_icon" > < span > < img src = "__IMG__/zwmimages/icon_jia.png" > < / span > < / span >
< form class = "addShortcutIcon" >
< input type = "hidden" name = "title" value = "{$m_title}" >
< input type = "hidden" name = "url" value = "Member/user_info" >
< / form >
< a class = "ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href = "javascript:;" target-form = "addShortcutIcon" url = "{:U('Think/addShortcutIcon')}" > < img src = "__IMG__/zwmimages/icon_jia.png" > < span > < notempty name = 'commonset' > 已添加< else / > 添加至常用设置< / notempty > < / span > < / a >
< / div >
< / block >
< block name = "script" >
@ -289,7 +284,7 @@
var href = $(this).attr('href');
layer.open({
type: 2, title: "绑定平台币余额", shadeClose: true, shade: 0.8, area: ['70%', '80%'],
content: [href , 'no']
content: [href , 'no']
});
return false;
});
@ -300,7 +295,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/chax/id/' + id + '' , 'no']
content: [url + 'admin.php?s=/Member/chax/id/' + id + '' , 'no']
});
});
@ -311,24 +306,24 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/role_list/user_id/' + id + '' , 'no']
content: [url + 'admin.php?s=/Member/role_list/user_id/' + id + '' , 'no']
});
});
$('#tixian').click(function() {
layer.open({
$('#tixian').click(function() {
layer.open({
type: 2,
title: "【金币提现记录】列表",
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/gold_coin/user_id/' + id + '/account/'+$.trim($('input[name="account"]').val()), 'no']
content: [url + 'admin.php?s=/Member/gold_coin/user_id/' + id + '/account/'+$.trim($('input[name="account"]').val()), 'no']
});
});
});
$('#lookheadpic').click(function() {
var url = $(this).attr('src');
layer.open({
var url = $(this).attr('src');
layer.open({
type: 1,
title: "",
shadeClose: true,
@ -345,7 +340,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/denglu/id/' + id + '', 'no']
content: [url + 'admin.php?s=/Member/denglu/id/' + id + '', 'no']
});
});
$("#bind_balance").click(function () {
@ -356,9 +351,45 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/bind_balance/id/' + id + '', 'no']
content: [url + 'admin.php?s=/Member/bind_balance/id/' + id + '', 'no']
});
});
$("#idcard").click(function () {
layer.prompt({
formType: 3,
title: "请输入身份证号码",
value: ''
}, function (idcard) {
var jsid = $('#selfid').val();
var regIdNo = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
if(!regIdNo.test(idcard)){
layer.msg("身份证号填写有误");
return false;
}
$.ajax({
url: '{:U("changepidcard")}',
type: 'post',
dataType: 'json',
data: {idcard:idcard,id:jsid},
success: function (data) {
if (data.status > 0) {
layer.msg(data.msg)
setTimeout(function(){
self.location.reload(true);
},1500);
} else {
layer.msg(data.msg)
}
},
error: function () {
alert("服务器故障!");
}
});
});
});
$("#phone").click(function () {
layer.prompt({
formType: 3,
@ -380,10 +411,10 @@
success: function (data) {
if (data.status > 0) {
layer.msg(data.msg)
setTimeout(function(){
setTimeout(function(){
self.location.reload(true);
},1500);
} else {
layer.msg(data.msg)
}