$cancomment = intval(CheckPermission('core_normal','feed_comment')); $canfeedshare = CheckPermission('core_normal','feed_share'); foreach($data as $vl){ $cancomment_old = empty($vl['feed_info']['app_row_id']) ? 0 : 1;

if($vl['feed_info']['user_info']['group_icon_only']):endif;
  置顶

  X

  {:W('FeedManage', array('feed_id'=>$vl['feed_info']['feed_id'], 'feed_uid'=>$vl['feed_info']['user_info']['uid'], 'manage_class'=>'right f12 f9 hover dp-cs mr5'))} if($vl['feed_info']['actions']['delete']== 'true'){ if(($vl['feed_info']['user_info']['uid'] == $GLOBALS['ts']['mid'] && CheckPermission('core_normal','feed_del')) || CheckPermission('core_admin','feed_del')){ {:L('PUBLIC_STREAM_DELETE')} } } if($vl['feed_info']['user_info']['uid'] != $GLOBALS['ts']['mid']){ if(CheckPermission('core_normal','feed_report')){ {:L('PUBLIC_STREAM_REPORT')} } } if($mid === $uid): endif; if($vl['feed_info']['is_del']==0){

  {uname} if(in_array($vl['feed_info']['user_info']['uid'],$followUids)){ {:W('Remark',array('uid'=>$vl['feed_info']['user_info']['uid'],'remark'=>$remarkHash[$vl['feed_info']['user_info']['uid']],'showonly'=>1))} } if(!empty($vl['feed_info']['body'])){ }

  {$vl['feed_info']['body']|format=true}

  if($vl['feed_info']['actions']['favor']== 'true'){ {:W('Collection',array('type'=>$type,'sid'=>$vl['feed_info']['feed_id'],'stable'=>'feed','sapp'=>$vl['feed_info']['app']))} } if($vl['feed_info']['actions']['comment']== 'true'){ {:W('Digg', array('feed_id'=>$vl['feed_info']['feed_id'], 'digg_count'=>$vl['feed_info']['digg_count'], 'diggArr'=>$diggArr))} if($vl['feed_info']['actions']['repost']=='true' && $canfeedshare){ $sid = !empty($vl['feed_info']['app_row_id'])? $vl['feed_info']['app_row_id'] : $vl['feed_info']['feed_id']; $cancomment_old = in_array($vl['feed_info']['type'],$cancomment_old_type) ? 1 : 0; {:W('Share',array('sid'=>$sid,'stable'=>$vl['feed_info']['app_row_table'],'initHTML'=>'','current_table'=>'feed','current_id'=>$vl['feed_info']['feed_id'],'nums'=>$vl['feed_info']['repost_count'],'appname'=>$vl['feed_info']['app'],'cancomment'=>$cancomment_old,'feed_type'=>$vl['feed_info']['type'],'is_repost'=>$vl['feed_info']['is_repost']))} } {:L('PUBLIC_STREAM_COMMENT')} if($vl['feed_info']['comment_count']!=0){ ({$vl['feed_info']['comment_count']}) } } {$vl.feed_info.publish_time|friendlyDate}查看详情 {$vl['feed_info']['from']}

  }else{

  {:L('PUBLIC_INFO_ALREADY_DELETE_TIPS')}

  if($vl['feed_info']['actions']['favor']== 'true'){ {:W('Collection',array('type'=>$type,'sid'=>$vl['feed_info']['feed_id'],'stable'=>'feed','sapp'=>$vl['feed_info']['app']))} }

  }

}