海洋cms地图页按首字母调用时0-9内容不显示的解决方法

admin 8月前 23

编辑 /include/main.class.php 文件第1294行,将
if(!empty($vletter)) $whereLetter=" and m.v_letter ='".strtoupper($vletter)."' "; else $whereLetter="";
修改为
if(!empty($vletter))if(strlen($vletter)>1){$whereLetter=" and m.v_letter  between '0' and '9'";}else{$whereLetter=" and m.v_letter ='".strtoupper($vletter)."' ";} else $whereLetter="";


原文:https://www.2dan.cc/seacms/0-9.html
最新回复 (1)
  • adink 8月前
    0 引用 2
    一样不显示
返回
发新帖