arclist 标记中加入关键字属性 模板解析出错

,dedecms织梦arclist 标记中加入关键字属性 模板解析出错 ,



rclist 标记中使用要害字属性时,模板解析出错。,打开 include/inc/inc_fun_SpGetArcList.php,找到,//要害字条件,if($keyword!=""),{,$keywords = explode(",",$keyword);,$ridnum = count($keywords);,$rstr = trim($keywords[0]);,if($ridnum>4) $ridnum = 4;,for($i=0;$i<$ridnum;$i ){,$keywords[$i] = trim($keywords[$i]);,if($keywords[$i]!="") $rstr .= "|".$keywords[$i];,},if($rstr!="") $orwhere = " And CONCAT(arc.title,arc.keywords) REGEXP ‘$rstr’ ";,unset($keywords);,},改为,//要害字条件,if($keyword!=""),{,$keywords = explode(",",$keyword);,$ridnum = count($keywords);,$rstr = trim($keywords[0]);,if($ridnum>4) $ridnum = 4;,for($i=0;$i<$ridnum;$i ){,$keywords[$i] = trim($keywords[$i]);,if($keywords[$i]!="") $rstr .= "|".$keywords[$i];,},if($rstr!="") $orwhere .= " And CONCAT(arc.title,arc.keywords) REGEXP ‘$rstr’ ";,unset($keywords);,},
返回顶部
跳到底部

Copyright 2011-2024 南京追名网络科技有限公司 苏ICP备2023031119号-6 乌徒帮 All Rights Reserved Powered by Z-BlogPHP Theme By open开发

请先 登录 再评论,若不是会员请先 注册