phpcms 排序

1、按访问量、点击量的高低顺序排行 : action= "hits "和views DESC1{pc:content action= "hits " catid= "$

1、按访问量、点击量的高低顺序排行 : action="hits"和views DESC

1{pc:content action="hits" catid="$catid" num="8" order="views DESC" page="$page"}

 2、按最新发布日期、发布顺序的先后排序 action="lists"和listorder DESC

1 {pc:content action="lists" catid="$catid" num="8" order="listorder DESC" page="$page"} 

相同功效的代码: action="lists"和id DESC

1 {pc:content action="lists" catid="$catid" num="8" order="id DESC" page="$page" moreinfo="1"} 

 

标签: