dedecms织梦dede:channel里面调用文章列表

dedecms织梦dede:channel里面调用文章列表

01 {dede:channel type = son noself= yes } 02 [field: id runphp= yes ] 03 global $dsql; 04 $sql = SELECT arc.* FROM `mydiy_archives` arc where arc.arcrank-1 AND arc.typeid = @me ORDER BY arc.id desc limit 10 ; 05 $dsql-SetQuery($sql); 06 $dsql-Execute( t )

返回顶部