使用帮助 >模版手册 >search.htm模版页标签

变量式标签
标签名称 说明
stype 搜索类型
svalue 搜索值
pageIndex 当前页码
recordCount 影片记录数
pageCount 分页数


函数式标签
标签名称 说明
GetNewFilmList(num) 最得最新影片列表,参数num为数量,自动根据当前分类返回数据(下同)。
GetCommendFilmList(num) 取得推荐影片列表,参数num为数量。
GetUpdateFilmList(num) 最得最新连载影片列表,参数num为数量。
GetAllTopList(num) 取得所有日期内影片人气排行榜,参数num为数量。
GetToplist(num, days) 取得指定天数内的排行榜,参数num为数量,days为天数。
GetSearchList(num) 取最搜索影片列表,参数num为分页大小。
GetPageString(extendPage, pagetag1,pagetag2) 显示分页数字链接,参数extendPage为显示的链接个数;pagetag1为分页使用的参数(一般为page,注意要和config/urls.config里的数据相同);pagetag2为链接地址样式,默认为p##(一定要有两个“##”,程序会自动替换成页码)。