You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

244 lines
9.5 KiB
HTML

5 years ago
<extend name="Public/base"/>
<block name="body">
<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="cf main-place top_nav_list navtab_list">
<div class="fr">
<a href="{:U('user_info',array('type'=>1))}">本站玩家</a>
<a href="{:U('user_info',array('type'=>2))}">第三方玩家</a>
<a class="tabchose" href="{:U('public_account')}">公用账户</a>
</div>
<h3 class="page_title">玩家列表</h3>
<p class="description_text">说明:公用账户即暂放出售中小号的账户</p>
</div>
<!-- 标签页导航 -->
<div class="tab-wrap">
<div class="tab-content tabcon1711">
<!-- 表单 -->
<form id="form" action="{:U('public_account?model='.$model['id'])}" method="post" class="form-horizontal">
<div class="tab-pane in tab1">
<table border="0" cellspacing="0" cellpadding="0">
<notempty name="data">
<input type="hidden" name="id" value="{$data.id}">
<tr>
<td class="l"><i class="mustmark">*</i>公用账号</td>
<td class="r">
<input type="text" class="txt" name="account" value="{$data['account']}" disabled readonly>
<span class="notice-text">此公用账号用于暂放出售中的小号,审核出售小号的真实性,需保证账号的安全性,以防泄漏</span>
</td>
</tr>
<tr>
<td class="l"><i class="mustmark">*</i>账号密码</td>
<td class="r">
<input type="password" id="password" class="txt table_btn_input" name="password" value="" readonly>
<span id="passwordchange" class="table_click">点击修改</span>
<span class="notice-text">6-15位字符点击修改需输入二级密码</span>
</td>
</tr>
<tr>
<td class="l"><i class="mustmark">*</i>真实姓名</td>
<td class="r">
<input type="text" class="txt" name="real_name" value="{$data['real_name']}" disabled readonly>
</td>
</tr>
<tr>
<td class="l"><i class="mustmark">*</i>身份证号</td>
<td class="r">
<input type="text" class="txt" name="idcard" value="{$data['idcard']}" disabled readonly>
</td>
</tr>
<tr>
<td class="l">注册时间</td>
<td class="r">
<input type="text" class="txt" name="register_time" value="<gt name='data.register_time' value='0'>{$data['register_time']|date=' Y-m-d H:i:s',###}</gt>" 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="<gt name='data.login_time' value='0'>{$data['login_time']|date=' Y-m-d H:i:s',###}</gt>" 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">小号</td>
<td class="r">
<span style="float:left;line-height:30px;width:214px;">
<gt name="data.small_count" value="0">
<a class="jssamlllist" style="line-height:30px;text-decoration:none;" data-url="{:U('Member/public_small_list',array('id'=>$data['id'],'account'=>$data['account']))}" data-account="{$data.account}" href="javascript:;">{$data.small_count|default=0}</a>
<else />0
</gt>
</span>
<span class="notice-text">待审核、出售中和未发货的小号记录,可点击查看</span>
</td>
</tr>
<else />
<tr>
<td class="l"><i class="mustmark">*</i>公用账号</td>
<td class="r">
<input type="text" class="txt" name="account" value="">
<span class="notice-text">此公用账号用于暂放出售中的小号,审核出售小号的真实性,需保证账号的安全性,以防泄漏</span>
</td>
</tr>
<tr>
<td class="l"><i class="mustmark">*</i>账号密码</td>
<td class="r">
<input type="password" class="txt" name="password" value="">
<span class="notice-text">6-15位字符点击修改需输入二级密码</span>
</td>
</tr>
<tr>
<td class="l"><i class="mustmark">*</i>真实姓名</td>
<td class="r">
<input type="text" class="txt" name="real_name" value="">
</td>
</tr>
<tr>
<td class="l"><i class="mustmark">*</i>身份证号</td>
<td class="r">
<input type="text" class="txt" name="idcard" value="">
</td>
</tr>
</notempty>
<tr>
<td class="l noticeinfo"></td>
<td class="r">
<div class="new_submit">
<input type="hidden" name="is_platform" value="1">
<button class="submit_btn ajax-post " id="submit" type="submit" target-form="form-horizontal">
确定
</button>
</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>
<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">
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<php>if(C('COLOR_STYLE')=='blue_color') echo '
<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">
';
</php>
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="__STATIC__/layer/extend/layer.ext.js"></script>
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"
charset="UTF-8"></script>
<script type="text/javascript">
//导航高亮
highlight_subnav("{:U('Member/user_info')}");
Think.setValue("prmoote_id_to", "{$data.promote_id |default= 0}");
$('#submit').click(function () {
$('#form').submit();
});
$(function () {
$('.time').datetimepicker({
format: 'yyyy-mm-dd hh:ii',
language: "zh-CN",
minView: 2,
autoclose: true
});
$('.date').datetimepicker({
format: 'yyyy-mm-dd',
language: "zh-CN",
minView: 2,
autoclose: true
});
showTab();
$('.jssamlllist').click(function() {
var that = $(this),url = that.attr('data-url');
var url =
layer.open({
type: 2,
title: "【"+that.attr('data-account')+"】小号列表",
shadeClose: true,
shade: 0.8,
area: ['1062px', '80%'],
content: url,//iframe的url
});
return false;
});
$("#passwordchange").click(function () {
layer.prompt({
formType: 1,
title: "请输入二级密码(如果没有请设置)",
value: ''
}, function (val) {
$.ajax({
url: '{:U("checkpwd")}',
type: 'post',
dataType: 'json',
data: {'second_pwd': val},
success: function (data) {
if (data.status > 0) {
layer.prompt({
formType:0,
title:'请输入新密码',
value:''
},function(val,index) {
$('#password').val(val);
layer.close(index);
});
} else {
if (data.status == 0) {
layer.msg(data.info)
} else {
layer.msg(data.msg)
}
}
},
error: function () {
layer.msg("服务器故障,请稍后再试");
}
});
});
});
});
</script>
</block>