master
elf 11 months ago
parent 00c941a4cf
commit 2a17d2d08e

@ -1419,4 +1419,9 @@ function is_active_class(array $controllers, array $actions, \Closure $otherCond
return 'active';
}
return '';
}
}
function isOutPaySite() {
return $_SERVER['HTTP_HOST'] == 'mg.jianghuifa.cn';
}

@ -35,6 +35,15 @@
<div class="logo_picture">
<img src="{$siteConfig['logo']}" style="height:40px;margin:0px;">
</div>
<?php if(isOutPaySite()) { ?>
<div class="subNavBox">
<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/registerMine')}" class="active">注册明细</a>
</div>
</div>
</div>
<?php } else { ?>
<div class="subNavBox">
<a href="{:U('Promote/index')}" class="subNav <?=is_active_class(['Promote'], ['index'])?>"> 后台首页 </a>
<?php if ($loginer['ts_over_manage'] == 0) :?>
@ -196,6 +205,7 @@
<?php endif;?>
<?php endif;?>
</div>
<?php } ?>
</div>
<div class="trunk">

Loading…
Cancel
Save