沈阳网络营销

专注网络营销,让你的网站变的更有效。QQ:593529

ASPCMS将推荐和置顶排在列表的前面的方法

ASPCMS将推荐和置顶排在列表的前面的方法如下:
打开inc/AspCms_MainClass.asp文件

878行和1303行('替换List循环标签内)
case "order" : orderStr =" order by IsHeadline,IsTop,IsFeatured,isrecommend,ContentOrder,a.AddTime desc"
改成:
case "order" : orderStr =" order by IsHeadline,IsFeatured,ContentOrder,IsTop desc,isrecommend desc,a.AddTime desc"

«1»

Powered By Z-Blog 2.2 Prism Build 140101

Copyright 2007-2015 kangbin.cn. Some Rights Reserved.