$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 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($vl['feed_info']['is_del']==0){

  {$vl['feed_info']['user_info']['space_link']} 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']['comment']== 'true'){ {:L('PUBLIC_STREAM_COMMENT')} if($vl['feed_info']['comment_count']!=0){ ({$vl['feed_info']['comment_count']}) } 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'],'enode'=>'open_share'))} } | {: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'],'enode'=>'open_share'))} } 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))} } {$vl.feed_info.publish_time|friendlyDate}查看详情 {$vl['feed_info']['from']}

  if($vl['feed_info']['actions']['comment']== 'true'){ 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;
  新浪微博 微信 腾讯微博 QQ空间 人人网 豆瓣网 {: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'], 'text'=>'我的主页', 'title'=> '分享到我的主页', 'class'=>'repost'))}
  } }
  }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']))} }

  }

}