名站网址导航为大驾家提供DedeCMS站点程序站点教程相关的知识,比如织梦程序安装教程,织梦程序系统故障等教程。Dedecms 5.5站点信息具体调用标签相关具体代码如下,有需要的拿去吧。 {dede:sql sql="SELECT count( * ) AS c FROM dede_archives WhERE pubdate > UNIX_TIMESTAMP( CURDATE( ) ) "} <li class="count">今日更新:<span>[field:c/]</span> 篇</li> {/dede:sql} {dede:sql sql="Select count(ID) as c From dede_archives WhERE FROM_UNIXTIME(pubdate,'%m')=month(curdate())"} <li class="count">当月更新:<span>[field:c/]</span> 篇</li> {/dede:sql} {dede:sql sql="select count(*) as c from dede_archives} <li class="count">共有文章:<span>[field:c/]</span> 篇</li> {/dede:sql} {dede:sql sql="select sum(click) as c from dede_archives"} <li class="count">总共阅读:<span>[field:c/]</span> 人次</li> {/dede:sql} {dede:sql sql="select count(mid) as c from dede_member "} <li class="count">共有会员:<span>[field:c/]</span> 名</li> {/dede:sql} 还可以指定栏目ID,例如: {dede:sql sql="select count(*) as c from dede_archives where channel in(1,2,3,5,6,9)"} <li class="count">共有文章:<span>[field:c/]</span> 篇</li> {/dede:sql}
关于DedeCMS站点程序站点教程相关的知识,就说到这里了希望能帮助朋友们。DEDE文章页{dede:pagebreak/}分页控制相关具体操作方法