安装楼主的插件后,发贴不能用了~55555555555,害得删掉了论坛,重新装程序了
安装后发贴时提示的错误代码为:
$data['vid']; } $ids = implode("','", (array)$datas); $vids = implode(",", (array)$datas); $db->query("DELETE FROM {$tablepre}videos WHERE tid IN ('$ids')"); } ?> $data['vid']; } $ids = implode("','", (array)$datas); $vids = implode(",", (array)$datas); $db->query("DELETE FROM {$tablepre}videos WHERE tid IN ('$ids')"); } ?>, 'rtsp:/', 'mms://'))) { $url = 'http://'.$url; } return str_replace(array('submit', 'logging.php'), array('', ''), sprintf($tags, $url, addslashes($url))); } else { return ' '.$url; } } function jammer() { $randomstr = ''; for($i = 0; $i < mt_rand(5, 15); $i++) { $randomstr .= chr(mt_rand(32, 59)).' '.chr(mt_rand(63, 126)); } $seo = !$GLOBALS['tagstatus'] ? $GLOBALS['discuzcodes']['seoarray'][mt_rand(0, 5)] : ''; return mt_rand(0, 1) ? ''.$seo.$randomstr.''."\r\n" : "\r\n".''.$randomstr.$seo.''; } function highlight($text, $words, $prepend) { $text = str_replace('\"', '"', $text); foreach($words AS $key => $replaceword) { $text = str_replace($replaceword, ''.$replaceword.'', $text); } return "$prepend$text"; } ?>, 'rtsp:/', 'mms://'))) { $url = 'http://'.$url; } return str_replace(array('submit', 'logging.php'), array('', ''), sprintf($tags, $url, addslashes($url))); } else { return ' '.$url; } } function jammer() { $randomstr = ''; for($i = 0; $i < mt_rand(5, 15); $i++) { $randomstr .= chr(mt_rand(32, 59)).' '.chr(mt_rand(63, 126)); } $seo = !$GLOBALS['tagstatus'] ? $GLOBALS['discuzcodes']['seoarray'][mt_rand(0, 5)] : ''; return mt_rand(0, 1) ? ''.$seo.$randomstr.''."\r\n" : "\r\n".''.$randomstr.$seo.''; } function highlight($text, $words, $prepend) { $text = str_replace('\"', '"', $text); foreach($words AS $key => $replaceword) { $text = str_replace($replaceword, ''.$replaceword.'', $text); } return "$prepend$text"; } ?>
Parse error: syntax error, unexpected '[' in D:\wwwweb\webgongxiang\5gongxiang\mokte\wwwroot\bbs\include\newthread.inc.php on line 527 |