苹果CMS调用文章列表方法代码
调用文章列表代码:
{maccms:art num="30" paging="yes" type="current" order="desc" by="time"} <li><span>{$vo.art_time|date='Y-m-d',###}</span><a href="{:mac_url_art_detail($vo)}" rel="external nofollow" >{$vo.art_name}</a></li> {/maccms:art}
maccms:art:调用文章数据表
order:正反顺序
by:按指定条件排序
num:调用数量
paging:是否分页
Hi, this is a comment. To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard. Commenter avatars come from Gravatar.