1.当前栏目调用带标题图片的5条文章 (红色为当前栏目,蓝色当前根据当前id判断最近) [e:loop={"select * from phome_ecms_news where classid ='$GLOBALS[navclassid]' and id <'$GLOBALS[id]' and titlepic<>'' order by id desc limit 5",0,24,0}]
2.调栏目为2带标题图片的5条文章 [e:loop={"select * from phome_ecms_news where classid =2 and titlepic<>'' order by id desc limit 5",0,24,0}] abc