|
|
|
@ -37,149 +37,145 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="subNavBox">
|
|
|
|
|
<a href="{:U('Promote/index')}" class="subNav <?=is_active_class(['Promote'], ['index'])?>"> 后台首页 </a>
|
|
|
|
|
<!--
|
|
|
|
|
测试遍历输出菜单
|
|
|
|
|
-->
|
|
|
|
|
<?php foreach ($menus as $menu =>$v):?>
|
|
|
|
|
<div class="subNav jssubNav"><i class="<?= $v['class'];?>"></i><span><?= $v['name'];?></span><i class="arrow_icon"></i></div>
|
|
|
|
|
<?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 foreach ($v['children'] as $m):?>
|
|
|
|
|
<a href="<?= $m['url'];?>" class="<?= $m['class'];?>"><?= $m['name']?></a>
|
|
|
|
|
<?php endforeach;?>
|
|
|
|
|
<?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 endforeach;?>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
<?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 endif;?>
|
|
|
|
|
<?php
|
|
|
|
|
function promote_is_active_class($promoteType)
|
|
|
|
|
{
|
|
|
|
|
return is_active_class(
|
|
|
|
|
['Promote'],
|
|
|
|
|
['children', 'addPromote', 'edit_chlid'],
|
|
|
|
|
function() use($promoteType) {
|
|
|
|
|
return $_GET["promote_type"] == $promoteType;
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
$isOpenQuery = true;
|
|
|
|
|
?>
|
|
|
|
|
<?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>
|
|
|
|
|
<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;?>
|
|
|
|
|
</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 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;?>
|
|
|
|
|
<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 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;?>
|
|
|
|
|
<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>
|
|
|
|
|
<!-- <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('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> –>
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<!–<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 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;?>
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
|
@ -245,9 +241,6 @@
|
|
|
|
|
$(this).next(".jsnavContent").slideToggle(300).siblings(".jsnavContent").slideUp(500);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
var ts_over_manage = "<?php echo $loginer['ts_over_manage']?>"
|
|
|
|
|
|
|
|
|
|
console.log(ts_over_manage);
|
|
|
|
|
</script>
|
|
|
|
|
<block name="script"></block>
|
|
|
|
|
</body>
|
|
|
|
|