getitems的作用是取数据(文章、电影、新闻……)列表,首先通过几个模版中的调用实例让你对这个函数有直观的印象。
1 2 3 4 5 6 7 8 9 10 | <{getitems category="1,2,3" template="[title]<br />"}><!--从ID为1、2、3的3个栏目中调取数据,显示其题目,每行一个--><{getitems num="200" orderby="pv_reverse" template="..."}><!--按访问量从大到小的顺序获取前200条数据--><table><{getitems template="<tr><td><a href='[url]'>[title]</a></td></tr>"}></table>版权声明:本站内容为网页知识大全所有,严禁复制,转载,其他部份为用户投稿,如有侵权请速告知,我们将会在24小时内删除; 上一篇:没有了
管理员
最新文章
阅读排行
|