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+eIDAThZ10 C2O)<~ZRR0iW5W"T7͎+ Dg̊hܖWҠv\R}R6t,lYߋa{:(d:yQ$QKP^CЍHXK>t|?QCD}Q=UE9 jHElniPH߭׃r*RX,FФzxV:횚8zzg(gEaOb_R\s̏t4( "RЪ۰(ZqA[zo}'{2H'FCW%Nq~ D(U?AM[~2ʀ2x]E5dhN TIcbnySW3\Z@%f ;L WszpQ1 L"#.ͭ_"ko@1&1/tt Rxcɩpd+-\cZ6~ҹ>JF)чXO߾6*+~UN{XR;?E鏔'_)Pk̵8gB<{WJd:kNKf0^vE9 ̄T~srf9 ̀=t6IENDB`