if($weibo['iscoll']['colled']==1){
}else{
}
{$weibo['uname']}
{$weibo.publish_time|friendlyDate}
赞：{$weibo.digg_count}
转发：{$weibo.repost_count}
评论：{$weibo.comment_count}
echo $weibo['content'];
if ($weibo['type'] == 'weiba_post'){
echo '【帖子内容】'.wapFormatContent($weibo['api_source']['content']);
} if($weibo['feedType']=='postimage') {
foreach($weibo['attach'] as $value){ }
} if (($weibo['type'] == 'repost' && $weibo['api_source']['is_del'] == '0') || ($weibo['type'] == 'repost' && $weibo['transpond_data']['api_source']['is_del'] == '0')) {
◆◆
@{$weibo.transpond_data.uname}: echo wapFormatContent($weibo['transpond_data'][feed_content]); if($weibo['transpond_data']['type'] == 'weiba_post'){
查看全文
}
if($weibo['transpond_data']['type']=='postimage') {
foreach($weibo['transpond_data']['attach'] as $value){ }
}
{$weibo.transpond_data.publish_time|friendlyDate}
转发:{$weibo.transpond_data.repost_count} 评论:{$weibo.transpond_data.comment_count} 赞:{$weibo.transpond_data.digg_count}
if(isset($weibo['transpond_data']['attach']) && $weibo['transpond_data']['type'] == 'postfile'){
foreach($weibo['transpond_data']['attach'] as $value){ switch($value['extension']){ case 'png':$type='pic';break; case 'jpg':$type='pic';break; case 'jpeg':$type='pic';break; case 'bmp':$type='pic';break; case 'gif':$type='pic';break; case 'zip':$type='zip';break; case 'rar':$type='zip';break; case 'doc':$type='word';break; case 'docx':$type='word';break; case 'xls':$type='xls';break; case 'ppt':$type='ppt';break; case 'pdf':$type='pdf';break; default:$type='unknow';break; } $size=$value['size']; if($size > 1024 && $size< 1024*1024){ $size=$size/1024; $size=round($size,2); $size.='K'; }else if($size < 1024){ $size.='B'; }else{ $size=$size/1024/1024; $size=round($size,2); $size.='M'; }
echo $value['attach_name'];
echo $size;
}
}
}elseif (($weibo['type'] == 'repost' && $weibo['api_source']['is_del'] == '1') || ($weibo['type'] == 'repost' && $weibo['transpond_data']['api_source']['is_del'] == '1')) {
◆◆
原文已被删除
}
if(isset($weibo['attach']) && $weibo['type'] == 'postfile'){
foreach($weibo['attach'] as $value){ switch($value['extension']){ case 'png':$type='pic';break; case 'jpg':$type='pic';break; case 'jpeg':$type='pic';break; case 'bmp':$type='pic';break; case 'gif':$type='pic';break; case 'zip':$type='zip';break; case 'rar':$type='zip';break; case 'doc':$type='word';break; case 'docx':$type='word';break; case 'xls':$type='xls';break; case 'ppt':$type='ppt';break; case 'pdf':$type='pdf';break; default:$type='unknow';break; } $size=$value['size']; if($size > 1024 && $size< 1024*1024){ $size=$size/1024; $size=round($size,2); $size.='K'; }else if($size < 1024){ $size.='B'; }else{ $size=$size/1024/1024; $size=round($size,2); $size.='M'; }
echo $value['attach_name'];
echo $size;
}
}
if ($weibo['type'] == 'weiba_repost' && $weibo['api_source']['is_del'] == '0') {
◆◆
@{$weibo.api_source.source_user_info.uname}: echo wapFormatContent($weibo['api_source']['source_content']); if($weibo['type'] == 'weiba_repost'){
查看全文
}
{$weibo.transpond_data.publish_time|friendlyDate}
回复:{$weibo.api_source.reply_count} 浏览:{$weibo.api_source.read_count}
}elseif($weibo['type'] == 'weiba_repost' && $weibo['api_source']['is_del'] == '1'){
◆◆
原文已被删除
}
删除
取消
我来说两句...
{$vo['user_info']['uname']}
$ctime=strtotime($vo[ctime]){$ctime|friendlyDate}

echo wapFormatContent($vo['content']);

$weibo[comment_count]==0?$count=1:$count=$weibo[comment_count];
if(empty($_GET['page']) || $_GET['page']==1){ 上一页 }else{ 上一页 }
if($get == ($_count)) { 下一页 }else{ 下一页 }