if($addGroupMember){ $btn='添加成员'; $navs='返回聊天群成员('.$memberCount.')'; }else{ $btn='发起聊天'; $navs='我的好友('.$count.')消息列表'; } '; ?>
if($data):

foreach($data as $first_letter => $users):
- {$first_letter}
endforeach;

foreach($data as $first_letter => $users):
{$first_letter}
$i=0;foreach($users as $key => $val): if($i%2==0):
  {$val['uname']}
  else:
  {$val['uname']}
endif; $i++;endforeach; endforeach;

else:
{$addGroupMember?'没有可以添加的好友~':'你还没有相互关注的好友哦~'}
endif;