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