if(empty($weibolist)) { 暂无更多信息}
if($feed['user_gicon']): endif;
{$feed.uname}
{$feed['publish_time']|FriendlyDate} {$feed.from}

{$feed['content']}

switch($feed['type']){ case 'postimage': switch(count($feed['attach'])){ case 1: $img_class='m-i-b-p-100'; break; case 2: $img_class='m-i-b-p-50'; break; case 4: $img_class='m-i-b-p-50'; break; default: $img_class='m-i-b-p'; break; } echo '
'; foreach($feed['attach'] as $k => $v){ //dump($v); if((count($feed['attach']) == 4) || (count($feed['attach']) == 2)){ echo ''; }elseif(count($feed['attach']) == 1){ echo ''; } else { echo ''; } } echo '
'; break; case 'repost': $more = ''; if($attachCount > 1) { $more = ''.$attachCount.'photos'; } if($feed['transpond_data']['attach'] > 0 && $feed['transpond_data']['type'] == 'postimage'){ echo '
'.$feed['transpond_data']['uname'].' '.FriendlyDate($feed['transpond_data']['publish_time']).'

'.getShort($feed['transpond_data']['feed_content'],40).'

'; } elseif($feed['transpond_data']['attach'] > 0 && $feed['transpond_data']['type'] == 'postfile') { echo '
'; for($i=0;$i
{$feed['transpond_data']['attach'][$i]['attach_name']} {$feed['transpond_data']['attach'][$i]['size']}
} echo '
'; } else { echo '
'.$feed['transpond_data']['uname'].': '.$feed['transpond_data']['content'].'
'; } break; case 'repost-removed': echo '
'.$feed['transpond_data']['uname'].': 这条分享不幸被删除了...
'; break; case 'weiba_repost': echo '

转载自'.$feed['api_source']['weiba_name'].''.$feed['api_source']['title'].'

'; break; case 'weiba_repost-removed': echo '

原帖子已删除

'; break; case 'postfile': echo '

'; for($i=0;$i
{$feed['attach'][$i]['attach_name']} {$feed['attach'][$i]['size']}
} echo '
'; break; case 'repost-postfile': echo '
'; for($i=0;$i
{$feed['transpond_data']['attach'][$i]['attach_name']} {$feed['transpond_data']['attach'][$i]['size']}
//var_dump($feed['api_source']['attach'][$i]); } echo '
'; break; case 'postvideo': if(preg_match("/(thinksns\.com)/i", $feed['flashvar'])){ echo '
'; echo '
'; echo ''; echo '
'; } break; case 'repost-postvideo': echo '
'.$feed['transpond_data']['uname'].': '.$feed['transpond_data']['content']; if(preg_match("/(thinksns\.com)/i", $feed['transpond_data']['flashvar'])){ echo '
'; echo '
'; echo ''; echo '
'; } echo '
'; break; default: //dump($feed['type']); break; }
if($count>20){
if(empty($_GET['page']) || $_GET['page']==1){ 上一页 }else{ 上一页 }
if($get == ($_count)) { 下一页 }else{ 下一页 }
}