if($room['from_uid'] == $currentUserId){ $btn = '移除群成员'; }else{ $btn = ''; }
$roomId))}" class="boxopenurl">返回聊天添加群成员退出群' data-btn='{$btn}'>

$i=0;foreach($members as $member): if($i%2==0):
  {:getUserName($member['member_uid'])}
  if($room['from_uid'] == $currentUserId && $member['member_uid'] != $room['from_uid']):
  endif;
  else:
  {:getUserName($member['member_uid'])}
  if($room['from_uid'] == $currentUserId && $member['member_uid'] != $room['from_uid']):
  endif;
endif; $i++;endforeach;