我的好友 消息列表({$list.count})' data-btn='清除全部'>
if($list['data']):

foreach($list['data'] as $key => $val): $roomUrl = U('public/WebMessage/room', array('roomid'=>$val['list_id'])); $spaceUrl = 'javascript:;'; $roomImg = '__THEME__/image/message/group.png'; if($val['type'] == 1){ $_uid = intval(trim(str_replace('_'.$currentUserId.'_', '_', '_'.$val['min_max'].'_'), '_')); $_user = getUserInfo($_uid); $spaceUrl = $_user['space_url']; $roomImg = $_user['avatar_small']; }
- if($val['msg_new']>0):··· endif;
  清除
  if($val['last_message']):
  {:getUserName($val['last_message']['from_uid'])}{:friendlyDate($val['last_message']['mtime'])}
  {:getShort(t($val['last_message']['content']), 25, '...')}
  else:
  没有消息记录~
  endif;
endforeach;

{$list.html}
else:
这儿什么也没有~
endif;