帝國cms如何實現(xiàn)統(tǒng)計某個數(shù)據(jù)表里有多少文章

字號:


    ([totaldata]"sjhy",2,0[/totaldata])
    [totaldata]欄目ID,操作類型,時間范圍[/totaldata]
    欄目ID 也可寫數(shù)據(jù)表名稱
    參數(shù)說明:
    操作類型說明: 操作類型 內(nèi)容 0 統(tǒng)計欄目數(shù)據(jù) 1 統(tǒng)計專題 2 統(tǒng)計數(shù)據(jù)表
    時間范圍:0為不限;1為今日;2為本月;3為本年
    如果操作類型是“統(tǒng)計數(shù)據(jù)表”,欄目ID='數(shù)據(jù)表名'