[e:loop={"select * from phome_enewsclass where bclassid in (2) order by classid asc",0,24,0}] <li <?php if($GLOBALS[navclassid] == $bqr[classid]) {echo "class='addactive'";} ?>><a href="/<?=$bqr[classpath]?>&q…
PhpCms V9调用指定栏目子栏目文章的两种方法 第一种.直接写子栏目id ,用cat in {pc:get sql="SELECT * from v9_news where status=99 and catid in(21,22,23,24,25) order by id DESC" num="7" return="data"} {loop $data $r} {str_cut($r['title'],40)}({date('m-d',$r…