l'=>$total); return $output; } function fox_tag_words_check($str, &$error){ global $fox_tag_kv; $tag_filter = fox_tag_filter($str); if(!empty($tag_filter['arr']) && !empty($tag_filter['total'])){ $s = implode(',', $tag_filter['arr']); $words_check = !empty($fox_tag_kv['tag_words']) ? explode(',', $fox_tag_kv['tag_words']) : array(); if(!isset($words_check) || !is_array($words_check)){ return false; } foreach($words_check as $v){ if(empty($v)) continue; if(strpos(strtolower($s),strtolower($v)) !== false) { $error = $v; return true; } } return false; } return false; } function fox_tag_str_safe($s) { $s = str_replace(array('\'', '\\', '"', '%', '<', '>', '`', '*', '&', '#'), '', $s); $s = preg_replace('#\s+#', ' ', $s); $s = trim($s); return $s; } /* * 二维数组去掉重复值 array_unique */ function fox_tag_array_unique($array){ $out = array(); if(is_array($array)){ foreach($array as $key=>$value){ if(!in_array($value, $out)){ $out[$key] = $value; } } $out = array_values($out); } return $out; } ?>PNG  IHDR""gpMPLTEU~ pHYs+\IDATh횱0 D# (Ҡ4J x436v7ć7ѳ#̞:nj6L% ,O SoznK?mgԆ2q"^2y+(_ޔr(&\ʴ[SUȡfVN<9_{k[؎ٯq{jj //X6^Y(P|P\RQW5QoKC!yfB.L]ꛢ_=Gc5||O s ޤh\WX8gl@#nLBю9~1xjPJeGåeRFy[%Z]b+TۚB00|++|R{{h)jTSAn}j<%UXa>MT&j+g5R ^奋zcȓsv3Pxu15FIENDB`