组长权限更改

master
chenxiaojun 5 years ago
parent b41705941f
commit 558714d620

@ -87,18 +87,21 @@
<a href="javascript:;" style="color: red;" class="unfreeze-btn editbtn">解冻</a>
</if>
<a href="javascript:;" class="reset-password-btn editbtn">重置密码</a>
<?php if($isGrand):?>
<?php if(!in_array($vo['id'], $hasShiftList)):?>
<a href="javascript:;" class="shift-btn editbtn">换组</a>
<?php else:?>
<a href="javascript:;" style="color: red;" class="cancel-shift-btn editbtn">取消换组</a>
<?php if(get_promote_levels() == '一级推广员'):?>
<?php if($isGrand):?>
<?php if(!in_array($vo['id'], $hasShiftList)):?>
<a href="javascript:;" class="shift-btn editbtn">换组</a>
<?php else:?>
<a href="javascript:;" style="color: red;" class="cancel-shift-btn editbtn">取消换组</a>
<?php endif;?>
<?php endif;?>
<?php endif;?>
<?php if(in_array($vo['id'], $hasPlayerList)):?>
<?php if(!in_array($vo['id'], $hasShiftPlayerList)):?>
<a href="javascript:;" class="shift-player-btn editbtn">玩家迁移</a>
<?php else:?>
<a href="javascript:;" style="color: red;" class="cancel-shift-player-btn editbtn">取消玩家迁移</a>
<?php if(in_array($vo['id'], $hasPlayerList)):?>
<?php if(!in_array($vo['id'], $hasShiftPlayerList)):?>
<a href="javascript:;" class="shift-player-btn editbtn">玩家迁移</a>
<?php else:?>
<a href="javascript:;" style="color: red;" class="cancel-shift-player-btn editbtn">取消玩家迁移</a>
<?php endif;?>
<?php endif;?>
<?php endif;?>
</td>

Loading…
Cancel
Save