前端
This commit is contained in:
parent
471883b1da
commit
e5d65f287f
@ -2,7 +2,7 @@
|
||||
$user = SESS::get('EVENTUserInfo');
|
||||
// if(isn($user))exit();
|
||||
$user = json_decode($user, true);
|
||||
$user['name'] = "罗松柏";
|
||||
// $user['name'] = "罗松柏";
|
||||
$canEdit = in_array($user['name'], $ROLES);
|
||||
$isgxvrole ='1'; //in_array($user['name'], $GXVROLES); //更新信息查看区浏览权限
|
||||
$isgxyyerole = in_array($user['name'], $GXYYEROLES);//更新运营中心编辑权限
|
||||
@ -335,8 +335,8 @@ if ($act == 'newevent') {
|
||||
</div>
|
||||
|
||||
<div id="gamesbtn" style="padding:0 11px 15px 11px;">
|
||||
<!-- <?php if ($canEdit) { ?><a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a><? } ?> -->
|
||||
<a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a>
|
||||
<?php if ($canEdit) { ?><a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a><? } ?>
|
||||
<!-- <a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a> -->
|
||||
<button value='' onclick='onlyShowGame(this)' class='btn btn-minier btn-info'>显示全部</button>
|
||||
<?php
|
||||
foreach ($GAMES as $g) {
|
||||
|
Loading…
Reference in New Issue
Block a user