$latest_id = 0;
if($feed['feed_id']>$latest_id){ $latest_id = $feed['feed_id']; } $start_id = $feed['feed_id'];
if($feed['user_gicon']):endif;
{$feed.uname}
{$feed['publish_time']|FriendlyDate}

{$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; default: $img_class='m-i-b-p'; break; } echo '
'; foreach($feed['attach'] as $k => $v){ //dump($v); if(count($feed['attach'])>=3){ echo ''; }else{ echo ''; } } echo '
'; break; case 'repost': echo '
'.$feed['transpond_data']['uname'].': '.$feed['transpond_data']['content'].'
'; break; case 'repost-postimage': echo '
'.$feed['transpond_data']['uname'].': '.$feed['transpond_data']['content']; switch(count($feed['transpond_data']['attach'])){ case 1: $img_class='m-i-b-p-100'; break; case 2: $img_class='m-i-b-p-50'; break; default: $img_class='m-i-b-p'; break; } echo '
'; foreach($feed['transpond_data']['attach'] as $k => $v){ if(count($feed['transpond_data']['attach'])>=3){ echo ''; }else{ echo ''; } } echo '
'; 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($latest_id>=$count){ 上一页 }else{ 上一页 }
if(count($weibolist)<$eachpage) { 下一页 }else{ 下一页 }