<?php
// 安全处理发布者信息
$author = isset($navinfor['username']) ? $navinfor['username'] : '';
if ($author === 'ydzypfb') {
echo '';
} else {
echo isset($navinfor['smalltext']) ? '
'.$navinfor['smalltext'].'
' : '';
}
?>
<?php
if(isset($navinfor['newstext'])) {
$newstext = stripslashes($navinfor['newstext']);
if(strpos($newstext, '
![]()
![[!--title--] [!--title--]]('.jhc_title2pic($navinfor).')
';
$newstext = preg_replace('##is', ''.$img, $newstext, 1);
}
echo $newstext;
}
?>