WIKI使用導(dǎo)航
站長百科導(dǎo)航
站長專題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢
- 虛擬主機
- cPanel
- 網(wǎng)址導(dǎo)航專題
- 云計算
- 微博營銷
- 虛擬主機管理系統(tǒng)
- 開放平臺
- WIKI程序與應(yīng)用
- 美國十大主機
IWMS 列表多個分類的新聞排行函數(shù)說明
來自站長百科
導(dǎo)航: 上一頁
string TopList (string cids, Int32 topNum, Int32 maxLength, bool showClass, bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink, bool alternat, int cols)
string TopList (string cids, Int32 topNum, Int32 maxLength, bool showClass, bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink, bool alternat)
string TopList (string cids, Int32 topNum, Int32 maxLength, bool showClass, bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink)
- cids 為要調(diào)用新聞的分類ID,多個分類請用","分隔,如"1,2,3 "
- topNum 為調(diào)用新聞數(shù)量
- maxLength 為新聞標題長度限制
- showClass 設(shè)置是否顯示新聞所在分類的鏈接
- showHits 設(shè)置是否顯示新聞點擊數(shù)
- showDate 設(shè)置是否顯示新聞日期
- showNew 設(shè)置是否在新聞添加新聞后顯示new圖標
- showAuthor 設(shè)置是否顯示新聞作者
- remarkLink 設(shè)置是否顯示新聞評論鏈接(還取決于新聞的屬性)
- alternat 設(shè)置是否用間隔顏色顯示新聞標題
- cols 設(shè)置新聞標題顯示列數(shù)