名站网址导航为大驾家提供DedeCMS站点程序站点教程相关的知识,比如织梦程序安装教程,织梦程序系统故障等教程。打开网站文件:includetaglibchannelartlist.lib.php 1、将
- $attlist= 'typeid|0,row|20,cacheid|';
- $attlist= 'typeid|0,row|20,cacheid|,limit|';
- $limit= trim(preg_replace('#limit#is', '', $limit));
- if($limit!='') $limitsql= " LIMIT $limit ";
- else$limitsql= " LIMIT 0,$totalnum";
- $dsql->SetQuery("SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,
- siteurl,sitepath FROM `zmb_arctype` WhERE $tpsqlORDER BY sortrank ASC LIMIT $totalnum");
- $dsql->SetQuery("SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,
- moresite,siteurl,sitepath FROM zmb_arctype WhERE $tpsql ORDER BY sortrank ASC $limitsql");
- {dede:channelartlist limit='0,1'}{/dede:channelartlist}
关于DedeCMS站点程序站点教程相关的知识,就说到这里了希望能帮助朋友们。加快织梦程序DEDECMS文章网站内容生成速度相关具体操作方法