原帖由 果豆豆 于 2005-11-16 16:23 发表
就这个如何在下拉菜单里不会改
修改 cache.php
演示代码
- $data["pluglink"] .= '<div class=menuitems><a href=adcom.php>广告中心</a></div> <div class=menuitems><a href=viewwarning.php>会员警告</a></div> <div class=menuitems><a href=ktv.php>KTV练歌房</a></div>';
- unset($settings,$query,$plugs);
- break;
- case 'censor':
- $data['find'] = $data['replace'] = array();
- while($censor = $db->fetch_array($query)) {
- $censor['find'] = "/".str_replace("/", "\/",preg_quote( $censor['find']))."/i";
- $censor['find'] = preg_replace("/\\\\\{(\d+)\\\\\}/is", ".{0,\\1}", $censor['find']);
- $data['find'][] = $censor['find'];
- $data['replace'][] = addslashes($censor['replacement']);
- }
- break;
复制代码 |