if($feedInfo['type'] === 'weiba_repost'):

{$feedInfo.content_txt|replaceUrl|parse_html}

{$feedInfo.api_source.source_user_info.space_link}

if($feedInfo['api_source']['source_table'] ==='weiba_post'): {$feedInfo.api_source.source_content|parse_html} {$feedInfo.api_source.title}{$feedInfo.api_source.weiba_name}

{$feedInfo.api_source.content|getShort=140}

else: {$feedInfo.api_source.source_content|parse_html} endif;
elseif($feedInfo['type'] === 'weiba_post'):
if($feedInfo['api_source']['source_table'] ==='weiba_post'): {$feedInfo.api_source.source_content|replaceUrl|parse_html} {$feedInfo.api_source.title}{$feedInfo.api_source.weiba_name}

{$feedInfo.api_source.content|getShort=140}

else: {$feedInfo.api_source.source_content|replaceUrl|parse_html} endif;
elseif($feedInfo['type'] === 'postimage'):

{$feedInfo.content_txt|replaceUrl|parse_html}

elseif($feedInfo['type'] === 'postvideo'):

{$feedInfo.content_txt|replaceUrl|parse_html}

if($feedInfo['videoInfo']['video_id']){ }else{ } elseif($feedInfo['type'] === 'postfile'):

{$feedInfo.content_txt|replaceUrl|parse_html}

elseif($feedInfo['type'] === 'repost'): {$feedInfo.content_txt|replaceUrl|parse_html}

{$feedInfo.api_source.source_user_info.space_link}

{$feedInfo.api_source.feed_content|replaceUrl|parse_html}

elseif($feedInfo['type'] === 'post'):

{$feedInfo.content_txt|replaceUrl|parse_html}

endif;

if(in_array('comment',$weibo_premission)): {:L('PUBLIC_STREAM_COMMENT')} ({$feedInfo['comment_count']}) | endif; $cancomment_old = in_array($feedInfo['type'], $cancomment_old_type) ? 1 : 0; $cancomment = intval(CheckPermission('core_normal','feed_comment')); if(CheckPermission('core_normal','feed_share') && in_array('repost',$weibo_premission)){ $sid = !empty($feedInfo['app_row_id'])? $feedInfo['app_row_id'] : $feedInfo['feed_id']; {:W('Share',array('sid'=>$sid,'stable'=>$feedInfo['app_row_table'],'initHTML'=>'','current_table'=>'feed','current_id'=>$feedInfo['feed_id'],'nums'=>$feedInfo['repost_count'],'appname'=>$feedInfo['app'],'cancomment'=>$cancomment,'feed_type'=>$feedInfo['type'],'is_repost'=>$feedInfo['is_repost']))} | } {:W('Collection',array('type'=>'btn','sid'=>$feedInfo['feed_id'],'stable'=>'feed','sapp'=>$feedInfo['app']))} | {:W('Digg', array('feed_id'=>$feedInfo['feed_id'], 'digg_count'=>$feedInfo['digg_count'], 'diggArr'=>$diggArr))} {$feedInfo.publish_time|friendlyDate} {$feedInfo['from']}

$cancomment = CheckPermission('core_normal','feed_comment') && in_array('comment',$weibo_premission) ? 1: 0; {:W('Comment',array('tpl'=>'detail','app_row_id'=>$feedInfo['app_row_id'],'app_uid'=>$appUid,'row_id'=>$feedInfo['feed_id'],'pageHtml'=>1,'limit'=>'20','order'=>'DESC','cancomment'=>$cancomment,'cancomment_old'=>$cancomment_old,'app_name'=>$feedInfo['app']))}