|
|
<extend name="Public/promote_base"/>
|
|
|
<block name="css">
|
|
|
<link href="__CSS__/20180207/data.css" rel="stylesheet">
|
|
|
<link href="__CSS__/20180207/finance.css" rel="stylesheet">
|
|
|
</block>
|
|
|
|
|
|
<block name="body">
|
|
|
<div class="page-search normal_list query-register-search">
|
|
|
<div class="trunk-title">
|
|
|
<div class="location">
|
|
|
<div class="location-container">当前位置:<span>数据管理></span><span>注册明细</span></div>
|
|
|
</div>
|
|
|
<img src="__IMG__/20180207/icon_zhuce.png">
|
|
|
<span class="title_main">注册明细</span>
|
|
|
<span class="details">对所有渠道用户玩家产生的注册信息,进行记录的功能</span>
|
|
|
</div>
|
|
|
<div class="trunk-content article">
|
|
|
<div class="trunk-search clearfix">
|
|
|
<form action="{:U('Query/register',array('row'=>I('get.row')))}" method="post" enctype="multipart/form-data">
|
|
|
<div class="form-group normal_space fr">
|
|
|
<input type="submit" class="submit" value="查询">
|
|
|
</div>
|
|
|
<div class="form-group normal_space fr">
|
|
|
<label class="form-title select-title">注册时间:</label>
|
|
|
<div class="select-time">
|
|
|
<input type="text" id="sdate" class="txt" autocomplete="off" name="time_start" placeholder="开始时间" value="{:I('time_start')}" >
|
|
|
</div>
|
|
|
<label class="form-title select-title zhi_color"> — </label>
|
|
|
<div class="select-time">
|
|
|
<input type="text" id="edate" class="txt" autocomplete="off" name="time_end" placeholder="结束时间" value="{:I('time_end')}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group normal_space fr">
|
|
|
<select id="promote_id" name="promote_id" class="reselect select_gallery" style="min-width:170px;">
|
|
|
<option game-id="0" value="0">请选择推广员</option>
|
|
|
<option game-id="{:session('promote_auth.pid')}" value="{:session('promote_auth.pid')}">自己</option>
|
|
|
<volist name=":get_promote_chlid_account(PID)" id="vo">
|
|
|
<option game-id="{$vo.id}" value="{$vo.id}">{$vo.account}</option>
|
|
|
</volist>
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="form-group normal_space fr">
|
|
|
<select id="sdk_version" name="sdk_version" class="reselect select_gallery" style="width:215px;">
|
|
|
<option value="0">请选择设备类型</option>
|
|
|
<volist name=":getSDKType()" id="vo" key="k">
|
|
|
<option value="{$k}">{$vo}</option>
|
|
|
</volist>
|
|
|
</select>
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group fr">
|
|
|
<input type="text" name="user_account" class="txt normal_txt" id="uid" style="width:128px;" placeholder="请输入玩家账号" value="{:I('user_account')}">
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="page-list query-register-list">
|
|
|
<div class="trunk-content article">
|
|
|
<div class="trunk-list list_normal" style="">
|
|
|
<table class="table normal_table">
|
|
|
<tr class="odd">
|
|
|
<th>ID</th>
|
|
|
<th>玩家账号</th>
|
|
|
<th>游戏名称</th>
|
|
|
<th>区服</th>
|
|
|
<th>设备号</th>
|
|
|
<th>设备类型</th>
|
|
|
<th>注册时间</th>
|
|
|
<th>注册IP</th>
|
|
|
<th>推广员账号</th>
|
|
|
<th>操作</th>
|
|
|
</tr>
|
|
|
<empty name="list_data">
|
|
|
<tr><td colspan="7" style="text-align: center;height: 45vh;"><img src="__IMG__/20180207/icon_wushujv2.png"/><p style="line-height: 40px;color: #A5A5A5;">暂无数据</p></td></tr>
|
|
|
<else />
|
|
|
<volist name="list_data" id="vo" mod="2">
|
|
|
<tr class="<eq name='mod' value='1'>odd</eq>">
|
|
|
<!-- <td>{$i+($p-1)*10}</td> -->
|
|
|
<td>{$vo.id}</td>
|
|
|
<td>{$vo.account}</td>
|
|
|
<td>{$vo.fgame_name}</td>
|
|
|
<td>
|
|
|
<notempty name="vo.server_name">
|
|
|
{$vo.server_name}
|
|
|
<else/>
|
|
|
--
|
|
|
</notempty>
|
|
|
</td>
|
|
|
<td>{$vo.pkey}</td>
|
|
|
<td>{:getSDKTypeName($vo['sdk_version'])}</td>
|
|
|
<td>{$vo.register_time|date='Y-m-d H:i:s',###}</td>
|
|
|
<td>{$vo.register_ip}</td>
|
|
|
<td>{$vo['promote_account']}<if condition="PLEVEL eq 0">{:get_parent_promote_($vo['promote_id'])}</if></td>
|
|
|
<td>
|
|
|
<a href="{:U('Query/viewRole',array('id'=>$vo['id']))}" style="cursor: pointer" class="chakan">查看角色</a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</volist>
|
|
|
</empty>
|
|
|
</table>
|
|
|
|
|
|
|
|
|
</div>
|
|
|
<div class="pagenation clearfix">
|
|
|
<a class="sch-btn" href="{:U('Export/expUser',array(
|
|
|
'id'=>6,
|
|
|
'account'=>I('post.user_account'),
|
|
|
'promote_id'=>I('post.promote_id'),
|
|
|
'game_appid'=>I('post.game_appid'),
|
|
|
'time_start'=>I('post.time_start'),
|
|
|
'time_end'=>I('post.time_end'),'xlsname'=>'数据管理_注册明细'
|
|
|
))}" >导出</a>
|
|
|
{$_page}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</block>
|
|
|
<block name="script">
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/p_jquery.datetimepicker.css">
|
|
|
<script type="text/javascript" src="__JS__/jquery.datetimepicker.js"></script>
|
|
|
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
setValue('promote_id',{$Think.request.promote_id|default=0});
|
|
|
setValue('game_appid','{$Think.request.game_appid|default=0}');
|
|
|
setValue('row','{:I("get.row",10)}');
|
|
|
$().ready(function(){
|
|
|
$("#pagehtml a").on("click",function(event){
|
|
|
event.preventDefault();//使a自带的方法失效,即无法调整到href中的URL(http://www.baidu.com)
|
|
|
var geturl = $(this).attr('href');
|
|
|
$('#data_form').attr('action',geturl);
|
|
|
$('#data_form').submit();
|
|
|
});
|
|
|
$('#sdate').datetimepicker({
|
|
|
lang:'ch',
|
|
|
format:'Y-m-d',
|
|
|
formatDate:'Y-m-d',
|
|
|
scrollMonth:false,
|
|
|
scrollTime:false,
|
|
|
scrollInput:false,
|
|
|
timepicker:false
|
|
|
});
|
|
|
|
|
|
$(".select_gallery").select2();
|
|
|
$('.submit').click(function(){
|
|
|
|
|
|
var sdate =$('#sdate').val();
|
|
|
var edate =$('#edate').val();
|
|
|
// if(sdate =='' || edate==''){
|
|
|
// layer.msg('请完整时间搜索框');
|
|
|
// return false;
|
|
|
// }
|
|
|
if(Date.parse(sdate) > Date.parse(edate)){
|
|
|
layer.msg('开始时间必须小于等于结束时间');
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
});
|
|
|
$('#edate').datetimepicker({
|
|
|
lang:'ch',
|
|
|
format:'Y-m-d',
|
|
|
formatDate:'Y-m-d',
|
|
|
scrollMonth:false,
|
|
|
scrollTime:false,
|
|
|
scrollInput:false,
|
|
|
timepicker:false
|
|
|
});
|
|
|
});
|
|
|
</script>
|
|
|
</block>
|