string TopList (Int32 id,string type, string toptype,Int32 topNum,Int32 maxLength,bool showClass,bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink, bool alternat, int cols)
string TopList (Int32 id,string type, string toptype,Int32 topNum,Int32 maxLength,bool showClass,bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink, bool alternat)
string TopList (Int32 id,string type, string toptype,Int32 topNum,Int32 maxLength,bool showClass,bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink)
string TopList(Int32 id, string type, string toptype,Int32 topNum,Int32 maxLength,bool showClass,bool showHits, bool showDate, bool showNew, bool showAuthor)
string TopList(Int32 id, string toptype, Int32 topNum,Int32 maxLength,bool showClass,bool showHits, bool showDate, bool showNew, bool showAuthor)
string TopList(string toptype,Int32 topNum,Int32 maxLength,bool showClass,bool showHits, bool showDate, bool showNew, bool showAuthor)
id 为要调用新闻的分类或专题或会员ID
type 为要调用新闻类型,"sort"为分类新闻,"topic"为专题新闻,"member"为会员新闻
toptype 为调用类型,"hot"为热门新闻,"new"为最新添加新闻,"weekhot"为本周热门新闻,"dayhot"为本日热门新闻,"random"为随机新闻,"digg"为digg排行,"weekdigg"为周digg排行,"remark"为评论排行
topNum 为调用新闻数量
maxLength 为新闻标题长度限制
showClass 设置是否显示新闻所在分类的连接
showHits 设置是否显示新闻点击数
showDate 设置是否显示新闻日期
showNew 设置是否在新闻添加新闻后显示new图标
showAuthor 设置是否显示新闻作者
remarkLink 设置是否显示新闻评论链接(还取决于新闻的属性)
alternat 设置是否用间隔颜色显示新闻标题
cols 设置新闻标题显示列数