$uid,'tid'=>$tid))){ //如果已经回复过 $first['message_fmt'] = str_replace("[hide]".$hide_content."[/hide]","$hide_content",$first['message_fmt']); }else{ //如果没有回复 $first['message_fmt'] = str_replace("[hide]".$hide_content."[/hide]","隐藏内容,回复后可见",$first['message_fmt']); } }else{ $first['message_fmt'] = str_replace("[hide]".$hide_content."[/hide]","隐藏内容,登录后查看",$first['message_fmt']); } ?>