if( $thread['attachment'] ) {
if(preg_match_all("/\[attach\](\d+)\[\/attach\]/i", $thread['message'], $matchaids)) {
$attachpids = $matchaids[1];
}
$thread['imagelist'] = C::t('forum_attachment_n')->fetch_all_by_id('tid:'.$thread['tid'], 'tid', $thread['tid'], '', true);
}
加在forumdisplay.php 812行后
用火车头采集啊