IWMS 显示指定分类图片新闻函数说明

来自站长百科
跳转至: 导航、​ 搜索

导航: 上一页

string ImgTopList (Int32 id, String type, Int32 topNum,Int32 cols,string listType, int titleLength, bool showDate, bool showAuthor, bool showHits)

string ImgTopList (Int32 id,Int32 topNum,Int32 cols,string listType, int titleLength, bool showDate, bool showAuthor, bool showHits)

  • id 指定分类或专题ID
  • type 指定为分类还是专题 (sort | topic)
  • topNum 调用数量
  • cols 显示多少列
  • listType 为排列方式,"normal"为仅显示图片和标题,"summary_left"为在左边显示简介,"summary_right"为在右边显示简介,"js"为脚本数组
  • titleLength 是标题限制到此长度,0为不显示标题
  • showDate 是否显示日期
  • showAuthor 是否显示作者
  • showHits 是否显示新闻点击数

相关条目[ ]

参考来源[ ]