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