public function add($info) {
global $_M;
if(!$_M[zxsq-anti-bbcode-form][zxsq-anti-bbcode-id]){
$message=DB::get_one("select * from {$_M[zxsq-anti-bbcode-table][zxsq-anti-bbcode-column]} where module= 7 and lang ='{$_M[zxsq-anti-bbcode-form][zxsq-anti-bbcode-lang]}'");
$_M[zxsq-anti-bbcode-form][zxsq-anti-bbcode-id]=$message[zxsq-anti-bbcode-id];
}
$met_fd_ok=DB::get_one("select * from {$_M[zxsq-anti-bbcode-table][zxsq-anti-bbcode-config]} where lang ='{$_M[zxsq-anti-bbcode-form][zxsq-anti-bbcode-lang]}' and name= 'met_fd_ok' and columnid = {$_M[zxsq-anti-bbcode-form][zxsq-anti-bbcode-id]}");
$_M[zxsq-anti-bbcode-config][zxsq-anti-bbcode-met_fd_ok]= $met_fd_ok[zxsq-anti-bbcode-value];
add function no permission load!!!
是由于其只能调用带do的方法,这样,恰好在add函数上方,就存在一个
public function domessage() {
global $_M;
if($_M[zxsq-anti-bbcode-'form'][zxsq-anti-bbcode-'action'] == 'add'){
$this->check_field();
$this->add($_M[zxsq-anti-bbcode-'form']);
}