这是一段调用帖子内容的PHP带码,但过滤掉了<img src=>等UBB和html代码,请问是哪句过滤掉了这些内容!!如果不想过滤代码应当怎么改,高手解答下,谢谢了$query = $db->query("SELECT t.* , b.message FROM {$tablepre}threads t $dotadd2 LEFT JOIN {$tablepre}posts b USING(tid, dateline)$querysticky = $db->query("SELECT t.* , b.message FROM {$tablepre}threads t $thread['message'] = cutstr($thread['message'],100068); //内容截断
$thread['message'] = nl2br(preg_replace("/(\r?\n)+/","\n",trim($thread['message'])));
$thread['shortmsg'] = '<font color=black>'.preg_replace('/\[\/?[a-z]{1,10}.{0,10}\]/is','',$thread[message]).'</font>';
$thread['message'] = nl2br(preg_replace("/(\r?\n)+/","\n",trim($thread['message'])));
$thread['shortmsg'] = '<font color=black>'.preg_replace('/\[\/?[a-z]{1,10}.{0,10}\]/is','',$thread[message]).'</font>';
$thread['shortmsg'] = ' <font color=black>'.preg_replace('/\[\/?[a-z]{1,10}.{0,10}\]/is','',$thread[message]).' </font>';//过滤类似[xx]和[/xx]的代码。