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.
248 lines
14 KiB
HTML
248 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="robots" content="noarchive">
|
|
<title>{$meta_title}-个人中心</title>
|
|
<link href="__CSS__/20170831/iconfont.css" rel="stylesheet" type="text/css">
|
|
<link href="__CSS__/20170831/select2.min.css" rel="stylesheet" type="text/css" />
|
|
<!--<link href="__CSS__/20170831/common.css" rel="stylesheet" type="text/css">-->
|
|
<link href="__CSS__/20180207/common.css" rel="stylesheet" type="text/css">
|
|
<link href="{$siteConfig['icon']}" type="image/x-icon" rel="shortcut icon">
|
|
<script type="text/javascript" src="__JS__/jquery-1.11.1.min.js"></script>
|
|
|
|
<!--[if lt IE 9]>
|
|
<script type="text/javascript" src="__STATIC__/jquery-1.10.2.min.js"></script>
|
|
<![endif]-->
|
|
{:hook('pageHeader')}
|
|
<script type="text/javascript" src="__STATIC__/layer/layer.js" ></script>
|
|
<block name="css"></block>
|
|
<script type="text/javascript" src="__JS__/20170831/common.js"></script>
|
|
<style>
|
|
.subNavBox a.subNav {
|
|
display: block;
|
|
line-height: 50px;
|
|
text-align: left;
|
|
padding-left: 50px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app">
|
|
<!--左侧导航栏 开始-->
|
|
<div class="nav_new fl">
|
|
<div class="logo_picture">
|
|
<img src="{$siteConfig['logo']}" style="height:40px;margin:0px;">
|
|
</div>
|
|
<div class="subNavBox">
|
|
<a href="{:U('Promote/index')}" class="subNav <?=is_active_class(['Promote'], ['index'])?>"> 后台首页 </a>
|
|
<?php if ($loginer['ts_over_manage'] == 0) :?>
|
|
<?php if ($loginer['level'] < 4) :?>
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_guanli"></i><span>管理中心</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<?php
|
|
function promote_is_active_class($promoteType)
|
|
{
|
|
return is_active_class(
|
|
['Promote'],
|
|
['children', 'addPromote', 'edit_chlid'],
|
|
function() use($promoteType) {
|
|
return $_GET["promote_type"] == $promoteType;
|
|
}
|
|
);
|
|
}
|
|
?>
|
|
<?php if (in_array($loginer['level'], [1])):?>
|
|
<a href="{:U('Promote/children', ['promote_type' => 0])}" class="<?=promote_is_active_class(0)?>">部门长管理</a>
|
|
<?php endif;?>
|
|
<?php if (in_array($loginer['level'], [1, 2])):?>
|
|
<a href="{:U('Promote/children', ['promote_type' => 1])}" class="<?=promote_is_active_class(1)?>">组长管理</a>
|
|
<?php endif;?>
|
|
<?php if (in_array($loginer['level'], [1, 2, 3])):?>
|
|
<a href="{:U('Promote/children', ['promote_type' => 2])}" class="<?=promote_is_active_class(2)?>">推广员管理</a>
|
|
<?php endif;?>
|
|
</div>
|
|
<?php endif;?>
|
|
<?php
|
|
$isOpenQuery = true;
|
|
?>
|
|
<?php if($isOpenQuery):?>
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_shujvi"></i><span>数据管理</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<a href="{:U('Query/dailySummary')}" class="<?=is_active_class(['Query'], ['dailySummary'])?>">每日概况</a>
|
|
<a href="{:U('Query/summary')}" class="<?=is_active_class(['Query'], ['summary'])?>">数据汇总</a>
|
|
<?php if($canViewUserRecharge):?>
|
|
<a href="{:U('Query/recharge')}" class="<?=is_active_class(['Query'], ['recharge', 'viewSpendDetailed'])?>">订单查询</a>
|
|
<?php endif;?>
|
|
<a href="{:U('Query/register')}" class="<?=is_active_class(['Query'], ['register', 'viewRole'])?>">注册明细</a>
|
|
<?php if($canViewUserRecharge):?>
|
|
<a href="{:U('Query/arpu')}" class="<?=is_active_class(['Query'], ['arpu'])?>">ARPU统计</a>
|
|
<?php endif;?>
|
|
<!-- <a href="{:U('Query/retention_analysis')}" class="<?=is_active_class(['Query'], ['retention_analysis'])?>">留存统计</a> -->
|
|
<a href="{:U('Query/userRoles')}" class="<?=is_active_class(['Query'], ['userRoles'])?>">角色查询</a>
|
|
<?php if($canViewUserRecharge):?>
|
|
<a href="{:U('Query/userRecharges')}" class="<?=is_active_class(['Query'], ['userRecharges'])?>">充值玩家</a>
|
|
<?php endif;?>
|
|
<a href="{:U('Query/achievement')}" class="<?=is_active_class(['Query'], ['achievement'])?>">团队/推广员业绩</a>
|
|
<!-- <a href="{:U('Query/promoteQuota')}" class="<?=is_active_class(['Query'], ['promoteQuota', 'quotaDtl'])?>">推广员指标</a> -->
|
|
<a href="{:U('Query/iosDownLoadData')}" class="<?=is_active_class(['Query'], ['iosDownLoadData'])?>">IOS下载数统计</a>
|
|
<a href="{:U('Query/userretention')}" class="<?=is_active_class(['Query'], ['userretention'])?>">用户留存率</a>
|
|
<a href="{:U('Query/gameData')}" class="<?=is_active_class(['Query'], ['gameData'])?>">游戏分区数据汇总</a>
|
|
</div>
|
|
<?php endif;?>
|
|
<?php if ($canViewUserRecharge && $loginer['level'] == 1) :?>
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_caiwu"></i><span>财务管理</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<a href="{:U('Finance/index')}" class="<?=is_active_class(['Finance'], ['index'])?>">结算中心</a>
|
|
<a href="{:U('Finance/settlementDtl')}" class="<?=is_active_class(['Finance'], ['settlementDtl'])?>">结算明细</a>
|
|
<a href="{:U('Finance/withdrawRecord')}" class="<?=is_active_class(['Finance'], ['withdrawRecord', 'withdrawDtl', 'settlementOrder'])?>">提现记录</a>
|
|
<?php if ($loginer['withdraw_show'] == 1) :?>
|
|
<a href="{:U('Withdraw/index')}" class="<?=is_active_class(['Withdraw'], ['index', 'withdrawDetail', 'withdrawOrderDetail'])?>">公司结算</a>
|
|
<?php endif;?>
|
|
</div>
|
|
<?php endif ;?>
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_fenbao"></i><span>游戏管理</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<a href="{:U('Game/index')}" class="<?=is_active_class(['Game'], ['index'])?>">专服管理</a>
|
|
<?php if($isOpenQuery):?>
|
|
<a href="{:U('Game/mix')}" class="<?=is_active_class(['Game'], ['mix'])?>">混服管理</a>
|
|
<if condition="getParentPromoteId(PID) eq 0">
|
|
<a href="{:U('GameDivide/index')}" class="<?=is_active_class(['GameDivide'], ['index'])?>">分成比例</a>
|
|
<a href="{:U('Promote/setChildGamePermission')}" class="<?=is_active_class(['Promote'], ['setChildGamePermission'])?>">设置</a>
|
|
</if>
|
|
<a href="{:U('Apply/feature')}" class="<?=is_active_class(['Apply'], ['feature'])?>">资料专区</a>
|
|
<?php endif;?>
|
|
</div>
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_fenbao"></i><span>安全管理</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<!--<a href="{:U('Apply/app_index')}" class="<?=is_active_class(['Apply'], ['app_index'])?>">APP列表</a>-->
|
|
<a href="{:U('Safe/bindTel')}" class="<?=is_active_class(['Safe'], ['bindTel'])?>">短信登陆设置</a>
|
|
<a href="{:U('Download/listsIndex')}" class="<?=is_active_class(['Download'], ['listsIndex'])?>">下载日志管理</a>
|
|
<a href="{:U('Safe/modifyloginpassword')}" class="<?=is_active_class(['Safe'], ['modifyloginpassword'])?>">修改登录密码</a>
|
|
<a href="{:U('Safe/setSafeIndex')}" class="<?=is_active_class(['Safe'], ['setSafeIndex'])?>">设置安全密码</a>
|
|
<?php if ($loginer['level'] == 1) :?>
|
|
<a href="{:U('Safe/modifyBaseInfo')}" class="<?=is_active_class(['Safe'], ['modifyBaseInfo'])?>">用户基本信息</a>
|
|
<?php endif;?>
|
|
<a href="{:U('Safe/promoteLogs')}" class="<?=is_active_class(['Safe'], ['promoteLogs'])?>">操作日志</a>
|
|
</div>
|
|
<?php if($loginer['level'] == 1 || $loginer['ts_over_apply'] == 1):?>
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_fenbao"></i><span>测试资源</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<a href="{:U('TestingResource/index')}" class="<?=is_active_class(['TestingResource'], ['index'])?>">测试资源申请</a>
|
|
<a href="{:U('TestingResource/batches')}" class="<?=is_active_class(['TestingResource'], ['batches'])?>">测试资源申请记录</a>
|
|
</div>
|
|
<?php endif;?>
|
|
<?php if(C('APP_ENV') == 'dev' || $company['type'] == 1):?>
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_fenbao"></i><span>评级管理</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<?php if($loginer['level'] <= 2):?>
|
|
<a href="{:U('PromoteGrade/settings')}" class="<?=is_active_class(['PromoteGrade'], ['settings', 'setting'])?>">评级设定</a>
|
|
<?php endif;?>
|
|
<a href="{:U('PromoteGrade/index')}" class="<?=is_active_class(['PromoteGrade'], ['index'])?>">团队评级</a>
|
|
</div>
|
|
<?php endif;?>
|
|
<!-- <eq name="parent_id" value="0">
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_fenbao"></i><span>扶持管理</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<a href="{:U('Support/index')}" class="<?=is_active_class(['Support'], ['add', 'apply'])?>">扶持申请</a>
|
|
<a href="{:U('Support/lists')}" class="<?=is_active_class(['Support'], ['lists'])?>">扶持记录</a>
|
|
<a href="{:U('Support/quota')}" class="<?=is_active_class(['Support'], ['quota'])?>">扶持额度</a>
|
|
</div>
|
|
</eq> -->
|
|
|
|
<!--<div class="subNav jssubNav"><i class="prev_icon icon_fuli"></i><span>会长福利</span><i class="arrow_icon"></i></div>-->
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_fuli"></i><span>平台币管理</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<a href="{:U('PromoteCoin/myCoin')}" class="<?=is_active_class(['PromoteCoin'], ['myCoin', 'coinRecord', 'coinRecordDesc'])?>">我的平台币</a>
|
|
<a href="{:U('PromoteCoin/transferLogs')}" class="<?=is_active_class(['PromoteCoin'], ['shift', 'transferLogs'])?>">平台币转移</a>
|
|
<?php if($loginer['level'] == 1):?>
|
|
<a href="{:U('CoinOrder/order_list')}" class="<?=is_active_class(['CoinOrder'], ['order_list', 'order_add', 'order_detail'])?>">平台币充值</a>
|
|
<?php endif;?>
|
|
</div>
|
|
|
|
<?php if($canViewUserRecharge):?>
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_fuli"></i><span>玩家管理</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<a href="{:U('Players/playAction')}" class="<?=is_active_class(['Players'], ['playAction'])?>">行为日志</a>
|
|
</div>
|
|
<?php endif;?>
|
|
<?php else:?>
|
|
<?php if($loginer['level'] == 1 || $loginer['ts_over_apply'] == 1):?>
|
|
<div class="subNav jssubNav"><i class="prev_icon icon_fenbao"></i><span>测试资源</span><i class="arrow_icon"></i></div>
|
|
<div class="navContent jsnavContent">
|
|
<a href="{:U('TestingResource/index')}" class="<?=is_active_class(['TestingResource'], ['index'])?>">测试资源申请</a>
|
|
<a href="{:U('TestingResource/batches')}" class="<?=is_active_class(['TestingResource'], ['batches'])?>">测试资源申请记录</a>
|
|
</div>
|
|
<?php endif;?>
|
|
<?php endif;?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="trunk">
|
|
<div class="trunk_con">
|
|
<!--头部个人信息-->
|
|
<div class="header">
|
|
<if condition="$company['marketing_director_show'] eq 1">
|
|
<div style="position: absolute;padding-left: 1.5%;">
|
|
<span class="pinfo" style="color: #1239f2">市场总监联系方式:<span>13637338237(李总监)</span></span>
|
|
</div>
|
|
</if>
|
|
<div class="header-right">
|
|
<span class="pinfo jstime">今天是:<span></span></span>
|
|
<span class="pinfo">您好!{:session('promote_auth.account')}</span>
|
|
<a class="pinfo" href="{:U('Index/logout')}" ><img src="__IMG__/20180207/icon_normal_tuichu.png"><!--{:L('Quit')}--></a>
|
|
</div>
|
|
</div>
|
|
<!--结束 头部个人信息-->
|
|
<div class="trunk-container">
|
|
<!--右侧内容 开始-->
|
|
<div class="right_container">
|
|
<div class="location">
|
|
<block name="location"></block>
|
|
</div>
|
|
<block name="body"> </block>
|
|
</div>
|
|
</div>
|
|
<!--底部信息-->
|
|
<!-- <div class="footer">
|
|
<div class="inner" >
|
|
<p class="customerService" style="margin-top:.8%;">
|
|
<span>客服电话:{:C("CH_SET_SERVER_TEL")}</span>
|
|
<span>客服邮箱:{:C("CH_SET_SERVER_EMAIL")}</span>
|
|
<span>服务时间:{:C("CH_TIME")}</span>
|
|
</p>
|
|
<p class="copyright"><span>网络备案:{:C('CH_SET_FOR_THE_RECORD')}</span><span>网络文化经营许可证编号:{:C(CH_SET_LICENSE)}</span><span>版权所有:{:C('CH_SET_COPYRIGHT')}</span></p>
|
|
</div>
|
|
</div>--><!-- <div class="footer">
|
|
<div class="inner" >
|
|
<p class="customerService" style="margin-top:.8%;">
|
|
<span>客服电话:{:C("CH_SET_SERVER_TEL")}</span>
|
|
<span>客服邮箱:{:C("CH_SET_SERVER_EMAIL")}</span>
|
|
<span>服务时间:{:C("CH_TIME")}</span>
|
|
</p>
|
|
<p class="copyright"><span>网络备案:{:C('CH_SET_FOR_THE_RECORD')}</span><span>网络文化经营许可证编号:{:C(CH_SET_LICENSE)}</span><span>版权所有:{:C('CH_SET_COPYRIGHT')}</span></p>
|
|
</div>
|
|
</div>-->
|
|
<!--结束 底部信息-->
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<script>
|
|
var url = window.location.pathname+"?s=/Home/" + "{$Think.CONTROLLER_NAME}"+ "/" + "{$Think.ACTION_NAME}"+".html";
|
|
url = url.replace(/(\/(p)\/\d+)|(&p=\d+)|(\/(id)\/\d+)|(&id=\d+)|(\/(group)\/\d+)|(&group=\d+)/, "");
|
|
$('.nav .menu').find("a[href='" + url + "']").addClass("active").closest('.wrap').addClass('active');
|
|
|
|
$(function() {
|
|
$('.jsnavContent').find('.active').closest('.jsnavContent').css('display','block');
|
|
$('.jsnavContent').find('.active').closest('.jsnavContent').prev('.jssubNav').addClass('currentDd');
|
|
$(".jssubNav").click(function() {
|
|
$(this).toggleClass("currentDd").siblings(".jssubNav").removeClass("currentDd");
|
|
$(this).next(".jsnavContent").slideToggle(300).siblings(".jsnavContent").slideUp(500);
|
|
});
|
|
});
|
|
</script>
|
|
<block name="script"></block>
|
|
</body>
|
|
</html>
|