11、[通用]调用5条含有缩略展示图的文章,查询图片新闻,查询图片产品:
{sdcms:rstop=”5″field=”id,title,style,ispic,pic,intro,createdate,isurl,url,classid”table=”sd_content” where=”islock=1 and classid in([sdcms.get_sonid(1)]) ?and ispic=1″order=”ontop desc,id desc”}
{rs:eof}没有图片文章{/rs:eof}
***********
{/sdcms:rs}