摘要: <?php/*** 生成摘要* @param (string) $body* 正文* @param (int) $size* 摘要长度* @param (int) $format* 输入格式 id*/function blog_summary($body, $size, $format = NULL){ $_size = mb_strlen($body, 'utf-8'); if($_size <= $size) return $body; // 输入格式中有 PHP 过滤器 // if(!isset($format) && filter_is_ph 阅读全文
posted @ 2013-04-12 09:27 狐狸v 阅读(408) 评论(0) 推荐(0)