[海洋CMS教程]模板文件名称及所有标签

2019-06-11 0 1,567

目录
00.相关必要说明
01.全局标签
02.自定义标签
03.if标签和嵌套if标签subif(支持php语句、多elseif判断)
04.菜单列表标签menulist及smallmenulist
05.文章菜单列表标签newsmenulist及newssmallmenulist
06.视频区域块列表标签arealist
07.文章区域块列表标签newsarealist
08.视频单层循环数据列表标签videolist
09.文章单层循环数据列表标签newslist
10.频道列表页标签channel.html
11.搜索列表页标签search.html
12.级联筛选列表页标签cascade.html
13.自定义页列表标签self_xxxx.html
14.文章列表页标签newspage.html
15.文章搜索页列表newssearch.html
16.专题列表标签topicindex.html
17.专题页标签topic.html
18.内容页播放页共同标签content.html/play.html
19.文章内容页标签news.html
20.级联搜索调用标签(可作用于整个CMS)
21.专题调用标签
22.友情链接列表标签
23.留言板标签gbook.html
24.tags页独有标签tag.html
25.运算符说明(加减乘除、大小比较等等)
26.模板标签里的时间函数data()详细参数说明
*****00.相关必要说明*****
01. (一)海洋cms的模板内的if判断支持一些PHP函数,如果你熟悉一些php编程技术,可以实现一些更加强大和灵活的功
能。例如:
02. 例如判断当天是星期几:

{if:date('N')==2}周二{else}不是周二{end if}

03. 这里就是使用了php时间函数 date(‘xxxxxx’)的功能,其它参数请百度查阅php相关函数。
04. (二)评分 评论 顶踩 留言 幻灯片 定时任务等功能依赖系统js文件,模板必须引入以下js文件。

05. <script>var sitePath='{seacms:sitepath}';</script>
06. <script src="/{seacms:sitepath}js/common.js" type="text/javascript"></script>
07. <script src="/{seacms:sitepath}js/function.js" type="text/javascript"></script>
08. (三)播放器调用必须引入play.js,播放页模板play.html的上面加入:
09. <script src="/{seacms:sitepath}js/play.js" type="text/javascript"></script>

 

10. (四)关于点击数,内容页和播放页如果没有{playpage:hit} 点击数标签,则点击数无法增加
11. (五)收藏影片标签代码,当开启会员中心并已加载系统js的情况下,收藏代码如下:

12. <a href="javascript:AddFav('影片id','')" rel="external nofollow" >收藏</a>(影片id请对应各个页面的id标签)

13. (六)关于搜索的要点:
14. 视频搜索对应文件:根目录/search.php,input的name值:searchword,action=search.php
15. 文章搜索对应文件:根目录/so.php,input的name值:searchword,action=so.php
16. (七)关于自定义页面:自定义页面需要在后台生成才可以访问,用self_开头,用#表示存放的目录,默认根目录。
17. 例如:self_new.html表示根目录下,self_top#new.html表示top文件夹下。
18. (八)对应的默认模板文件名称:
19. 首页index.html
20. 频道列表页channel.html
21. 搜索列表页search.html
22. 级联筛选列表页cascade.html
23. 自定义页列表self_xxxx.html
24. 文章首页newsindex.html
25. 文章列表页newspage.html
01.全局标签
02.自定义标签
26. 文章搜索页newssearch.html
27. 专题列表topicindex.html
28. 专题页topic.html
29. 内容页content.html
30. 播放页play.html
31. 弹出播放页openplay.html
32. 文章内容页news.html
33. 留言板gbook.html
34. tags页tag.html
35. 视频地图页map.html
36. 文章地图页newsmap.html
37. 头部页面head.html
38. 底部页面foot.html
39. 用户注册reg.html
40. 用户登录login.html
41.
*****01.全局标签*****

01. 解析范围:以下标签无特殊说明的话、均支持所有模板
02. {seacms:top} 页面头部
03. {seacms:foot}页面尾部
04. {seacms:indexlink}首页链接
05. {seacms:topiclink}专题首页链接
06. {seacms:newslink} 文章首页链接
07. {seacms:gbook} 留言链接标签
08. {seacms:siteurl}网址,形如:www.zhuax.com
09. {seacms:member} 会员登录,注册
10. {seacms:sitepath}调用seacms的安装路径,安装路径可以在后台设置和修改。
11. {seacms:adfolder}网站广告文件夹名,广告文件夹位于根目录下的js文件夹中,默认ads
12. {seacms:sitename}调用seacms的站点名称,如站长设置站点名称为“seacms电影站”,那在模板中调用这个标签即可显
示这个名字
13. {seacms:des} 站点描述
14. {seacms:copyright}管理员信箱—ICP备案信息–程序版本,支持html标签
15. {seacms:sitevisitjs}网站统计代码,如某网站的统计JS:

<script src="https://js.users.51.la/3400570.js"
type="text/javascript"></script>

16. {seacms:sitenotice}网站关键词
17. {seacms:allcount} 网站总数据数量
18. {seacms:daycount} 当天更新数据数量
19. {seacms:keywords} 搜索关键字(后台设置)
20. {seacms:hotkeywords len=5}热门搜索关键字,可控制个数,默认为5个(搜索最多的关键字)
21. {seacms:runinfo}程序运行信息
22. {seacms:currenttypeid} 当前分类ID(注意:此标签只能在分类页、内容页、播放页有效,表示当前数据所在分类ID,在
其他页为-444)
23. {seacms:letterlist} 首字母排序列表
24. {seacms:slide width=450 height=233} 幻灯片标签,width及height属性分别控制幻灯片宽度高度
25. {seacms:showhistory} 我的观看历史 显示/隐藏 功能按钮 必需调{seacms:maxhistory}盒子
26. {seacms:maxhistory width=960 height=190 num=10 style=pic} 观看历史盒子显示标签 width及height属性分别
控制宽度高度,num显示条数,style样式(pic或font) 默认为pic
27. {seacms:strip}{/seacms:strip} 移除html标签外多余的空格、换行符、制表符,起压缩网页大小作用,使网页打开更

28. {seacms:load filename}载入附加模板 filename 是你的模板文件名
29. 例1:
30. {seacms:load head.html}效果跟{seacms:top}一样,载入附加模板head.html
*****02.自定义标签*****
01. 解析范围:支持所有模板
02. 说明:
03. 后台添加自定义标签时候,支持多个随机显示(使用$$例1:
04 {self:tagname}

03.if标签和嵌套if标签subif(支持php语句、多elseif判断)

01. 注意:使用==表示等于
02. 解析范围:
03. 支持所有模板,支持在所有循环列表标签中使用if标签,在if标签中可以使用嵌套if标签subif标签例1:

04. {if:[videolist:i]% 2==0}......{subif:[videolist:i]% 3==0}......{end subif}......{end if}
05. 例2:
06. {if:[videolist:i]% 2==0}......{else}......{end if}
07. 例3:
08. {if:[videolist:i]% 2==0}......{elseif:[videolist:i]% 3==0}......{elseif:[videolist:i]%
4==0}......{else}......{end if}
09. *(php7环境下)判断字符为空时,部分情况下需要用引号,否则可能导致500错误。例如:if:"
[videolist:state]"==""

 

*****04.菜单列表标签menulist及smallmenulist*****
01. 解析范围:支持所有模板
02. 参数:
03. type:菜单类型:1,2,3/all/top1,2,3表示分类ID支持单个或多个分类、多个分类用逗号隔开,top表示调出一级菜
单,all全部调出分类菜单
04. 注意:
05. 1.此标签支持双层循环嵌套,menulist内嵌smallmenulist,如下例3
06. 2.menulist的type表示分类id(smallmenulist的type表示父级分类的ID)
07. 例1:
08. {seacms:menulist type=top}
09. [menulist:i]菜单项排序位
10. [menulist:typename]菜单项名称
11. [menulist:typeid]菜单项id
12. [menulist:upid]父级菜单项id
13. [menulist:link]菜单项链接
14. {/seacms:menulist}
15. 例2:
16. 同时调出一级分类和二级分类
17. {seacms:menulist type=top}[menulist:typename]{/seacms:menulist}
18. {seacms:menulist type=son}[menulist:typename]{/seacms:menulist}
19. 例3:
20. 循环调出一级分类及二级分类
21. {seacms:menulist type=top}
22. [menulist:typename]
23. {seacms:smallmenulist type=[menulist:typeid]}
24. [smallmenulist:typename]
25. {/seacms:smallmenulist}
26. {/seacms:menulist}
27. 例4:{seacms:menulist type=1,2,3,4}
28. [menulist:typename]
29. {/seacms:menulist}

*****05.文章菜单列表标签newsmenulist及newssmallmenulist*****

01. 解析范围:支持所有模板
02. 参数:
03. type:菜单类型:1,2,3/all/top1,2,3表示分类ID支持单个或多个分类、多个分类用逗号隔开,top表示调出一级菜
单,all全部调出分类菜单(ulliulli)
04. 注意:
05. 1.此标签支持双层循环嵌套,newsmenulist内嵌smallnewsmenulist,如下例3
06. 2.newsmenulist的type表示分类id(smallnewsmenulist的type表示父级分类的ID)
07. 例1:
08. {seacms:menulist by=news type=top}
09. [menulist:i]菜单项排序位
10. [menulist:typename]菜单项名称
11. [menulist:typeid]菜单项id
12. [menulist:upid]父级菜单项id
13. [menulist:link]菜单项链接
14. {/seacms:menulist}
15. 例2:
16. 同时调出一级分类和二级分类
17. {seacms:menulist type=top by=news}[menulist:typename]{/seacms:menulist}
18. {seacms:menulist type=son by=news}[menulist:typename]{/seacms:menulist}
19. 例3:
20. 循环调出一级分类及二级分类
21. {seacms:menulist type=top by=news}
22. [menulist:typename]
23. {seacms:smallmenulist by=news type=[menulist:typeid]}
24. [smallmenulist :typename]
25. {/seacms:smallmenulist}
26. {/seacms:menulist}
27. 例4:{seacms:menulist by=news type=1,2,3,4}
28. [menulist:typename]
29. {/seacms:menulist}

*****06.视频区域块列表标签arealist*****
01. 解析范围:所有模板
02. 参数:
03. areatype:区域块列表分别调用的数据分类值为1,2,3/all支持单个或多个,多个分类逗号隔开;all调出全部一级分类的区
域列表块
04. 例:
05. {seacms:arealist areatype=1,2,6}或者{seacms:arealist letter=a,b,c,d}
06. [arealist:i]区域块排序位
07. [arealist:typename]区域块中类型的名称
08. [arealist:count]区域块数据数量
09. [arealist:link]区域块分类链接
10. {seacms:videolist num=5 order=time type=areatype time=all tart=1}
11. 或者{seacms:videolist num=5 order=time letter=[arealist:typename]time=all start=1}
12. ——-内部内部标签参考videolist标签用法——
13. {/seacms:videolist}
14. {/seacms:arealist}
*****07.文章区域块列表标签newsarealist*****
01. 解析范围:所有模板
02. 参数:
03. areatype:区域块列表分别调用的数据分类值为1,2,3/all支持单个或多个,多个分类逗号隔开;all调出全部一级分类的区
域列表块
04. 例:
05. {seacms:newsarealist areatype=all}
06. [arealist:i]区域块排序位
07. [arealist:typename]区域块中类型的名称
08. [arealist:count]区域块数据数量
09. [arealist:link]区域块分类链接
10. {seacms:newslist num=40 order=time type=areatype}
11. ——-内部内部标签参考newslist标签用法——
12. {/seacms:newslist}
13. {/seacms:newsarealist}

*****08.视频单层循环数据列表标签videolist*****
01. 解析范围:所有模板
02. 参数:
03. num:数据条数缺省值为10
04. state:连载影片调用条件 l表示连载,w为非连载,缺省值为全部
05. ver:视频版本,例如:ver=预告片
06. sid:按视频id调用视频,支持多个id,用英文逗号分开,如 sid=1,2,3,5,8
07. zt: 按专题id调用视频,仅支持一个id,如 zt=3
08. commend:推荐星级 1,2,3,4,5/all 可以调用单个、多个或全部星级缺省值为非推荐
09. order:数据排序方式,id/idasc,按发布时间,time/timeasc,按年代year/yearasc,按评分次数
scorenum/scorenumasc,按点击量hit/hitasc,dayhit日点击排序 weekhit周点击排序 monthhit月点击排序,按推
荐commend/commendasc,按顶次数digg/diggasc,按随机random(慎用,可能造成卡顿),按评分
score/douban/mtime/imdb,默认time。(其中带asc的为正序,不带asc的为倒序)
10. type:数据所在分类,可调出一个或多个分类数据,如 1,2,3/all缺省值为全部,在频道页值为current
11. time:数据发布时间,当天day 当周week 当月month 缺省值为无
12. start:数据列表调用的起点位置,缺省值为1
13. letter:数据名称的首字母,如letter=a
14. lang: 数据的语言
15. area:数据的地区
16. year:数据上映年份
17. jq:按剧情分类,如jq=爱情
18. reweek:按更新周期
19. tvs:按上映电视台
20. company:按制作公司
21. rel:相关资源调用,rel=v(仅在新闻内容页页有效,当新闻关键词等于视频名称时生效),rel=d为同导演影片,rel=y
同演员,rel=r像似名称影片(利用该标签可以很方便的实现剧情、演员表、相关文章等功能,当文章的关键词等于视频标
题时,相关文章即可调用成功)
22. {seacms:videolist num=15 order=time type=all commend=1,2,3 start=5 letter=a lang=英语 area=美国
year=2014}
23. [videolist:i]数据排列位
24. [videolist:n]排列位,不受start影响,永远都是从1开始数
25. [videolist:id]数据实际id
26. [videolist:typeid]数据所在分类实际id
27. [videolist:typename]数据分类中文名
28. [videolist:typelink]数据分类链接
29. [videolist:name len=3]数据名称:可控制长度 缺省为不控制
30. [videolist:note len=10]影片备注信息,可配合标题一起显示,可控制长度 缺省为不控制
31. [videolist:link]数据内容页链接
32. [videolist:playlink]数据播放页链接
33. [videolist:pic]图片
34. [videolist:spic]幻灯图片
35. [videolist:gpic]背景图片
36. [videolist:money]所需积分数
37. [videolist:actor len=3]主演:可控制长度,缺省为不控制
38. [videolist:nolinkactor]无链接主演:可控制长度,缺省为不控制
39. [videolist:hit]点击量
40. [videolist:dayhit]当日点击数
41. [videolist:weekhit]本周点击数
42. [videolist:monthhit]本月点击数
43. [videolist:nickname]影片别名
44. [videolist:reweek]更新周期
45. [videolist:vodlen]影片时长
46. [videolist:vodtotal]影片总集数
47. [videolist:douban]豆瓣评分
48. [videolist:mtime]时光网评分
49. [videolist:imdb]IMDB评分
50. [videolist:tvs]上映电视台
51. [videolist:company]发行公司
52. [videolist:des len=30]描述:可控制长度 缺省为字符长度50
53. [videolist:time style=yyyy-mm-dd]时间:可控制时间格式yyyy-mm-ddyy-mm-dd mm-dd 缺省为m-d 注:可选万能时
间标签,详情查询php的date()函数或者gmdate() 函数
09.文章单层循环数据列表标签newslist
54. 例如实现当日更新影片的时间显示为红色

{if:"[videolist:time style=yyyy-mm-dd]"==date('Y-m-d')}
color="red"{end if} >[videolist:time style=mm-dd]

 

55. [videolist:from]数据来源 如优酷、土豆
56. [videolist:commend]数据推荐状态值
57. [videolist:state]数据连载状态
58. [videolist:publishtime]数据发行年份
59. [videolist:ver]视频版本
60. [videolist:publisharea]数据发行地区
61. [videolist:playlink]数据播放页链接
62. [videolist:letter]数据名称的首字母
63. [videolist:director]导演
64. [videolist:lang]语言
65. [videolist:colorname len=3]数据彩色名称:可控制长度 缺省为不控制
66. [videolist:digg]顶次次数
67. [videolist:tread]踩次次数
68. [videolist:keyword]设置的SEO关键字、支持超级链接模式,可以作为数据的TAG
69. [videolist:score]评分
70. [videolist:scorenum]评分总数
71. [videolist:scorenumer]评分总次数
72. [videolist:jqtype]剧情分类名称带链接
73. [videolist:nolinkjqtype]剧情分类名称不带链接
74. {/seacms:videolist}

*****09.文章单层循环数据列表标签newslist*****
01. 解析范围: 所有模板
02. 参数:
03. num:数据条数缺省值为10
04. commend:推荐星级 1,2,3,4,5/all 可以调用单个、多个或全部星级缺省值为非推荐
05. order:数据排序方式id,按发布时间time,按点击量hit,按推荐commend,按顶次数digg,按随即random(慎用,可能造成
卡顿),按当天点击量dayhit,按周点击量weekhit,按月点击量monthhit,总得分score 默认time
06. type:数据所在分类,可调出一个或多个分类数据,如 1,2,3/all缺省值为全部,在频道页值为current
07. time:数据发布时间,当天day 当周week 当月month 缺省值为无
08. start:数据列表调用的起点位置,缺省值为1
09. letter:数据名称的首字母,如letter=a
10. id:文章ID 35,6,7,58/all 默认为all
11. rel:rel=v相关视频,rel=n相关文章(利用该标签可以很方便的实现剧情、演员表、相关文章等功能,当视频的标题等于
文章的关键词时,相关视频即可调用成功,当文章的关键词相同时,相关文章调用成功)
12. {seacms:newslist num=15 order=time type=all time=day start=5 letter=a id=35,6,7,58 }
13. [newslist:i]文章排列位
14. [newslist:n]文章排列位,永远都是从1开始
15. [newslist:id]文章实际id
16. [newslist:typename]分类中文名
17. [newslist:typelink]分类链接
18. [newslist:title len=10]文章标题 具有len属性控制长度,缺省为10
19. [newslist:colortitle len=3]文章标题:可控制长度 缺省为不控制
20. [newslist:note]文章属性,可配合标题一起显示
21. [newslist:newslink]文章内容页链接
22. [newslist:pic]图片
23. [newslist:author len=3]作者:可控制长度,缺省为不控制
24. [newslist:outline len=10]文章简述,可控制长度 缺省为不控制
25. [newslist:content]文章正文,文章标题 具有len属性控制长度,缺省为不控制
26. [newslist:hit]点击量
27. [newslist:time]文章添加时间,可控制时间格式yyyy-mm-dd yyyy-m-d yy-mm-dd mm-dd 缺省为mm-dd
28. [newslist:from]文章来源
29. [newslist:commend]文章推荐状态值
30. [newslist:letter]文章的首字母
31. [newslist:digg]顶次次数
32. [newslist:tread]踩次次数
33. [newslist:score]评分
34. [newslist:scorenum]评分总数
35. [newslist:scorenumer]评分总人数
36. {/seacms:newslist}

*****10.频道列表页标签channel.html*****
01. 参数:
02. size:每页数据条数 缺省值为12
03. order:数据排序方式,id/idasc,按发布时间,time/timeasc,按点击量hit/hitasc,按推荐commend/commendasc,
按顶次数digg/diggasc,按随机random,默认time。(其中带asc的为正序,不带asc的为倒序)
04. {seacms:channellist size=10 order=time}
05. [channellist:i]数据排列位
06. [channellist:id]数据实际id
07. [channellist:typeid]数据所在分类实际id
08. [channellist:typename]数据分类中文名
09. [channellist:typelink]数据分类链接
10. [channellist:name len=3]数据名称:可控制长度 缺省为不控制
11. [channellist:colorname len=3]数据彩色名称:可控制长度 缺省为不控制
12. [channellist:note len=10]影片备注信息,可配合标题一起显示,可控制长度 缺省为不控制
13. [channellist:link]数据内容页链接
14. [channellist:pic]图片
15. [channellist:spic]幻灯图片
16. [channellist:gpic]背景图片
17. [channellist:money]所需积分数
18. [channellist:actor len=3]主演:可控制长度 缺省为不控制
19. [channellist:nolinkactor]主演:无链接格式
20. [channellist:hit]点击量
21. [channellist:dayhit]当日点击数
22. [channellist:weekhit]本周点击数
23. [channellist:monthhit]本月点击数
24. [channellist:nickname]影片别名
25. [channellist:reweek]更新周期
26. [channellist:vodlen]影片时长
27. [channellist:vodtotal]影片总集数
28. [channellist:douban]豆瓣评分
29. [channellist:mtime]时光网评分
30. [channellist:imdb]IMDB评分
31. [channellist:tvs]上映电视台
32. [channellist:company]发行公司
33. [channellist:des len=30]描述:可控制长度缺省为50
34. [channellist:time style=yyyy-mm-dd]时间:可控制时间格式yyyy-mm-ddyy-mm-dd mm-dd 缺省为yyyy-m-d注:可
选万能时间标签,详情查询php的date()函数或者gmdate() 函数
35. [channellist:from]数据来源 如优酷、土豆
36. [channellist:state]数据连载状态值
37. [channellist:commend]数据推荐状态值
38. [channellist:publishtime]数据发行年份
39. [channellist:ver]视频版本
40. [channellist:publisharea]数据发行地区
41. [channellist:playlink]数据播放页链接
42. [channellist:director]导演
43. [channellist:lang]语言
44. [channellist:digg]顶次次数
45. [channellist:tread]踩次次数
46. [channellist:keyword]设置的SEO关键字、支持超级链接模式,可以作为数据的TAG
47. [channellist:score]评分
48. [channellist:scorenum]评分总数
49. [channellist:scorenumer]评分总人数
50. [channellist:jqtype]剧情分类名称带链接
51. [channellist:nolinkjqtype]剧情分类名称不带链接
52. {/seacms:channellist}
53. 固定分页标签:
54. [channellist:pagenumber len=10]
55. 自定义分页标签:
56. {channellist:pagenumber len=10}
57. [pagenumber:link]1…..10页链接
58. [pagenumber:page]页数字
59. {/channellist:pagenumber}
60. {channellist:page}当前页数
61. {channellist:pagecount}总页数
62 {channellist:recordcount} 总数据条数
63. {channellist:firstlink}第一页链接
64. {channellist:backlink}上一页链接
65. {channellist:nextlink}下一页链接
66. {channellist:lastlink}最后一页链接
67. 自定义分页范例:

68. <div class="page">
69. <span>{channellist:page}/{channellist:pagecount} 共{channellist:recordcount}条记录</span>
70. <a href="{channellist:firstlink}" rel="external nofollow" >1..</a><a href="{channellist:backlink}" rel="external nofollow" ><</a>
71. {channellist:pagenumber len=8}
72. {if:{channellist:page}<>[pagenumber:page]}
73. <a href="[pagenumber:link]" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >[pagenumber:page]</a>{else}
74. <em>[pagenumber:page]</em>
75. {end if}
76. {/channellist:pagenumber}
77. <a href="{channellist:nextlink}" rel="external nofollow" >></a>
78. <a href="{channellist:lastlink}" rel="external nofollow" >..{channellist:pagecount}</a>
79. </div>

 

80. 独有标签:
81. {channelpage:typeid} 当前分类id
82. {channelpage:typename} 当前分类中文名称
83. {channelpage:typetext} 频道页当前位置
84. {channelpage:title} 频道列表页seo标题
85. {channelpage:keywords} 频道模板MATH关键词
86. {channelpage:description} 频道模板MATH描述
87. {channelpage:order-xxx-link} 分类页排序方式链接标签,xxx可以为以下字段:id/idasc按照id排序,
time/timeasc按时间排序 hit/hitasc按点击排序 commend/commendasc 按推荐星级排序 score/scoreasc按评分排
序。(其中带asc的为正序,不带asc的为倒序)

*****11.搜索列表页标签search.html*****
01. 参数:
02. size:每页数据条数 缺省值为12
03. order:数据排序方式,id/idasc,按发布时间,time/timeasc,按点击量hit/hitasc,按推荐commend/commendasc,
按顶次数digg/diggasc,按随机random,默认time。(其中带asc的为正序,不带asc的为倒序)
04. {seacms:searchlist size=5 order=time}
05. [searchlist:i]数据排列位
06. [searchlist:id]数据实际id
07. [searchlist:typeid]数据所在分类实际id
08. [searchlist:typename]数据分类中文名
09. [searchlist:typelink]数据分类链接
10. [searchlist:name len=3]数据名称:可控制长度 缺省为不控制
11. [searchlist:note len=10]影片备注信息,可配合标题一起显示,可控制长度 缺省为不控制
12. [searchlist:link]数据内容页链接
13. [searchlist:pic]图片
14. [searchlist:spic]幻灯图片
15. [searchlist:gpic]背景图片
16. [searchlist:money]所需积分数
17. [searchlist:actor len=3]主演:可控制长度 缺省为不控制
18. [searchlist:hit]点击量
19. [searchlist:dayhit]当日点击数
20. [searchlist:weekhit]本周点击数
21. [searchlist:monthhit]本月点击数[searchlist:score]评分
22. [searchlist:scorenum]评分总数
23. [searchlist:scorenumer]评分总人数
24. [searchlist:nickname]影片别名
25. [searchlist:reweek]更新周期
26. [searchlist:vodlen]影片时长
27. [searchlist:vodtotal]影片总集数
28. [searchlist:douban]豆瓣评分
29. [searchlist:mtime]时光网评分
30. [searchlist:imdb]IMDB评分
31. [searchlist:tvs]上映电视台
32. [searchlist:company]发行公司
33. [searchlist:des len=30]描述:可控制长度缺省为50

[color=red[searchlist:time style=yyyy-mm-dd]时间:可控制时间格式yyyy-mm-ddyy-mm-dd mm-dd 缺省为yyyy-
m-d注:可选万能时间标签,详情查询php的date()函数或者gmdate() 函数

 

35. [searchlist:from]数据来源 如优酷、土豆
36. [searchlist:state]数据连载状态值
37. [searchlist:commend]数据推荐状态值
38. [searchlist:publishtime]数据发行年份
39. [searchlist:ver]视频版本
40. [searchlist:publisharea]数据发行地区
41. [searchlist:playlink]数据播放页链接
42. [searchlist:colorname len=3]数据彩色名称:可控制长度 缺省为不控制
43. [searchlist:director]导演
44. [searchlist:lang]语言
45. [searchlist:digg]顶次次数
46. [searchlist:tread]踩次次数
47. [searchlist:keyword]设置的SEO关键字、支持超级链接模式,可以作为数据的TAG
48. [searchlist:jqtype]剧情分类名称带链接
49. [searchlist:nolinkjqtype]剧情分类名称不带链接
50. {/seacms:searchlist}
51. 固定分页标签:
52. [searchlist:pagenumber len=10]
53. 自定义分页标签:
54. {searchlist:pagenumber len=10}
55. [pagenumber:link]1…..10页链接
56. [pagenumber:page]页数字
57. {/searchlist:pagenumber}
58. {seacms:searchword}搜索关键字名称
59. {seacms:searchnum}搜索结果的数目
60. {searchlist:page}当前页数
61. {searchlist:pagecount}总页数
62. {searchlist:recordcount} 总数据条数
63. {searchlist:firstlink}第一页链接
64. {searchlist:backlink}上一页链接
65. {searchlist:nextlink}下一页链接
66. {searchlist:lastlink}最后一页链接
67. 自定义分页范例:

68. <div class="page">
69. <span>{searchlist:page}/{searchlist:pagecount} 共{searchlist:recordcount}条记录</span>
70. <a href="{searchlist:firstlink}" rel="external nofollow" >1..</a><a href="{searchlist:backlink}" rel="external nofollow" ><</a>
71. {searchlist:pagenumber len=8}
72. {if:{searchlist:page}<>[pagenumber:page]}
73. <a href="[pagenumber:link]" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >[pagenumber:page]</a>{else}
74. <em>[pagenumber:page]</em>
75. {end if}
76. {/searchlist:pagenumber}
77. <a href="{searchlist:nextlink}" rel="external nofollow" >></a>
78. <a href="{searchlist:lastlink}" rel="external nofollow" >..{searchlist:pagecount}</a>
79. </div>

 

80. 独有标签:
81. {seacms:searchword} 搜索关键字名称
82. {seacms:searchnum} 搜索结果的数目
83. {searchpage:ordername}搜索索引页当前排序方式标签
84. {searchpage:order-xxx-link} 搜素页排序方式链接标签,xxx可以为以下字段:id/idasc按照id排序,
time/timeasc按时间排序 hit/hitasc按点击排序 commend/commendasc 按推荐星级排序 score/scoreasc按评分排
序。(其中带asc的为正序,不带asc的为倒序)

*****12.级联筛选列表页标签cascade.html*****
01. 参数:
02. size:每页数据条数 缺省值为12
03. order:数据排序方式,id/idasc,按发布时间,time/timeasc,按点击量hit/hitasc,按推荐commend/commendasc,
按顶次数digg/diggasc,按随机random,默认time。(其中带asc的为正序,不带asc的为倒序)
04. {seacms:cascadelist size=5 order=time}
05. [cascadelist:i]数据排列位
06. [cascadelist:id]数据实际id
07. [cascadelist:typeid]数据所在分类实际id
08. [cascadelist:typename]数据分类中文名
09. [cascadelist:typelink]数据分类链接
10. [cascadelist:name len=3]数据名称:可控制长度 缺省为不控制
11. [cascadelist:note len=10]影片备注信息,可配合标题一起显示,可控制长度 缺省为不控制
12. [cascadelist:link]数据内容页链接
13. [cascadelist:pic]图片
14. [cascadelist:spic]幻灯图片
15. [cascadelist:gpic]背景图片
16. [cascadelist:money]所需积分数
17. [cascadelist:actor len=3]主演:可控制长度 缺省为不控制
18. [cascadelist:hit]点击量
19. [cascadelist:dayhit]当日点击数
20. [cascadelist:weekhit]本周点击数
21. [cascadelist:monthhit]本月点击数
22. [cascadelist:score]评分
23. [cascadelist:scorenum]评分总数
24. [cascadelist:scorenumer]评分总人数
25. [cascadelist:nickname]影片别名
26. [cascadelist:reweek]更新周期
27. [cascadelist:vodlen]影片时长
28. [cascadelist:vodtotal]影片总集数
29. [cascadelist:douban]豆瓣评分
30. [cascadelist:mtime]时光网评分
31. [cascadelist:imdb]IMDB评分
32. [cascadelist:tvs]上映电视台
33. [cascadelist:company]发行公司
34. [cascadelist:des len=30]描述:可控制长度缺省为50
35. [color=red[cascadelist:time style=yyyy-mm-dd]时间:可控制时间格式yyyy-mm-ddyy-mm-dd mm-dd 缺省为
yyyy-m-d注:可选万能时间标签,详情查询php的date()函数或者gmdate() 函数
36. [cascadelist:from]数据来源 如优酷、土豆
37. [cascadelist:state]数据连载状态值
38. [cascadelist:commend]数据推荐状态值
39. [cascadelist:publishtime]数据发行年份
40. [cascadelist:ver]视频版本
41. [cascadelist:publisharea]数据发行地区
42. [cascadelist:playlink]数据播放页链接
43. [cascadelist:colorname len=3]数据彩色名称:可控制长度 缺省为不控制
44. [cascadelist:director]导演
45. [cascadelist:lang]语言
46. [cascadelist:digg]顶次次数
47. [cascadelist:tread]踩次次数
48. [cascadelist:keyword]设置的SEO关键字、支持超级链接模式,可以作为数据的TAG[cascadelist:jqtype]剧情分类
名称带链接
49. [cascadelist:nolinkjqtype]剧情分类名称不带链接
50. {/seacms:cascadelist}
51. 固定分页标签:
52. [cascadelist:pagenumber len=10]
53. 自定义分页标签:
54. {cascadelist:pagenumber len=10}
55. [pagenumber:link]1…..10页链接
56. [pagenumber:page]页数字
57. {/cascadelist:pagenumber}
58. {seacms:searchword}搜索关键字名称
59. {seacms:searchnum}搜索结果的数目
60. {cascadelist:page}当前页数
61. {cascadelist:pagecount}总页数
62. {cascadelist:recordcount} 总数据条数
63. {cascadelist:firstlink}第一页链接
64. {cascadelist:backlink}上一页链接
65. {cascadelist:nextlink}下一页链接
66. {cascadelist:lastlink}最后一页链接
67. 自定义分页范例:

68. <div class="page">
69. <span>{cascadelist:page}/{cascadelist:pagecount} 共{cascadelist:recordcount}条记录</span>
70. <a href="{cascadelist:firstlink}" rel="external nofollow" >1..</a><a href="{cascadelist:backlink}" rel="external nofollow" ><</a>
71. {cascadelist:pagenumber len=8}
72. {if:{cascadelist:page}<>[pagenumber:page]}
73. <a href="[pagenumber:link]" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >[pagenumber:page]</a>{else}
74. <em>[pagenumber:page]</em>
75. {end if}
76. {/cascadelist:pagenumber}
77. <a href="{cascadelist:nextlink}" rel="external nofollow" >></a>
78. <a href="{cascadelist:lastlink}" rel="external nofollow" >..{cascadelist:pagecount}</a>
79. </div>

 

80. 独有标签:
81. {seacms:searchnum}:搜索结果的数目
82. {searchpage:letter}:高级搜索当前选中的首字母
83. {searchpage:year}:高级搜索当前选中的年份
84. {searchpage:money}:高级搜索当前选中的收费情况
85. {searchpage:area}:高级搜索当前选中的地区
86. {searchpage:lang}:高级搜索当前选中的语言
87. {searchpage:type}:高级搜索当前选中的分类ID
88. {searchpage:typename}:高级搜索当前选中的分类名
89. {searchpage:state}:高级搜索当前选中的连载状态
90. {searchpage:ver}:高级搜索当前选择的视频版本
91. {searchpage:jq}:高级搜索当前选择的剧情分类
92. {searchpage:ordername}搜索索引页当前排序方式标签
93. {searchpage:ordername}搜索索引页当前排序方式标签
94. {searchpage:order-xxx-link}分类页排序方式链接标签,xxx可以为以下字段:id/idasc按照id排序,time/timeasc
按时间排序 hit/hitasc按点击排序 commend/commendasc 按推荐星级排序 score/scoreasc按评分排序。(其中带
asc的为正序,不带asc的为倒序)
95. 独有条件筛选标签:分类条件标签(cascade.html)
96. type可为all,top或者其他分类id,多个id请用’,’隔开
97. {seacms:typeitemlist type=all}
98. [typeitemlist:tid]
99. [typeitemlist:link]
100. [typeitemlist:value]
101. {/seacms:typeitemlist}
102. 地区条件标签(cascade.html):
103. {seacms:areaitemlist}
104. [areaitemlist:link]
105. [areaitemlist:value]
106. {/seacms:areaitemlist}
107. 年份条件标签(cascade.html):
108. {seacms:yearitemlist}
109. [yearitemlist:link]
110. [yearitemlist:value]
111. {/seacms:yearitemlist}
112. 首字母条件标签(cascade.html):
113. {seacms:letteritemlist}
114. [letteritemlist:link]
115. [letteritemlist:value]
116. {/seacms:letteritemlist}
117. 语言条件标签(cascade.html):
118. {seacms:langitemlist}
119. [langitemlist:link]
120. [langitemlist:value]
121. {/seacms:langitemlist}
122. 收费条件标签(cascade.html):
123. {seacms:moneyitemlist}
124. [moneyitemlist:link]
125. [moneyitemlist:value]
126. {/seacms:moneyitemlist}
127. 剧情分类条件标签(cascade.html):
128. {seacms:jqitemlist}
129. [jqitemlist:link]
130. [jqitemlist:value]
131. {/seacms:jqitemlist}
132. 连载状态条件标签(cascade.html):
133. {seacms:stateitemlist}
134. [stateitemlist:link]
135. [stateitemlist:value]
136. {/seacms:stateitemlist}
137. 视频版本条件标签(cascade.html):
138. {seacms:veritemlist}
139. [veritemlist:link]
140. [veritemlist:value]
141. {/seacms:veritemlist}

*****13.自定义页列表标签self_xxxx.htm*****

01. 解析范围:自定义模板
02. 参数:
03. size:每页显示数据条数 缺省为10
04. maxpage:最多生产页数,不填写为只生成1页
05. order:数据排序方式,id/idasc,按发布时间,time/timeasc,按点击量hit/hitasc,dayhit日点击排序 weekhit周
点击排序 monthhit月点击排序,按推荐
06. commend/commendasc,按顶次数digg/diggasc,按随机random,按评分score/douban/mtime/imdb,默认time。(其
中带asc的为正序,
07. 不带asc的为倒序)
08. type:数据所在分类,可调出一个或多个分类数据,如 1,2,3/all缺省值为全部,必须是最终分
09. 类,不要填写无内容的父分类
10. letter:数据名称的首字母,如letter=a
11. lang: 数据的语言
12. area:数据的地区
13. year:数据上映年份
14. jq:数据的剧情分类值
15. {seacms:customvideolist size=5 maxpage=10 order=time letter=a area=美国 jq=动作}
16. [customvideolist:i]数据排列位
17. [customvideolist:id]数据实际id
18. [customvideolist:typeid]数据所在分类实际id
19. [customvideolist:typename]数据分类中文名
20. [customvideolist:typelink]数据分类链接
21. [customvideolist:name len=3]数据名称:可控制长度 缺省为不控制
22. [customvideolist:note len=10]影片备注信息,可配合标题一起显示,可控制长度 缺省为不控制
23. [customvideolist:link]数据内容页链接
24. [customvideolist:pic]图片
25. [customvideolist:spic]幻灯图片
26. [customvideolist:gpic]背景图片
27. [customvideolist:money]所需积分数
28. [customvideolist:actor len=3]主演:可控制长度,缺省为不控制
29. [customvideolist:hit]点击量
30. [customvideolist:dayhit]当日点击数
31. [customvideolist:weekhit]本周点击数
32. [customvideolist:monthhit]本月点击数
33. [customvideolistscore]评分
34. [customvideolistscorenum]评分总数
35. [customvideolist:scorenumer]评分总人数
36. [customvideolist:nickname]影片别名
37. [customvideolist:reweek]更新周期
38. [customvideolist:vodlen]影片时长
39. [customvideolist:vodtotal]影片总集数
40. [customvideolist:douban]豆瓣评分
41. [customvideolist:mtime]时光网评分
42. [customvideolist:imdb]IMDB评分
43. [customvideolist:tvs]上映电视台
44. [customvideolist:company]发行公司
45. [customvideolist:des len=30]描述:可控制长度 缺省为字符长度50
46. [customvideolist:time style=yyyy-mm-dd]时间:可控制时间格式yyyy-mm-ddyy-mm-dd mm-dd 缺省为yyyy-m-d
注:可选万能时间标签,详情查询php的date()函数或者gmdate() 函数
47. [customvideolist:from]数据来源 如优酷、土豆
48. [customvideolist:commend]数据推荐状态值
49. [customvideolist:state]数据连载状态
50. [customvideolist:publishtime]数据发行年份
51. [customvideolist:ver]视频版本
52. [customvideolist:publisharea]数据发行地区
53. [customvideolist:playlink]数据播放页链接
54. [customvideolist:letter]数据名称的首字母
55. [customvideolist:colorname len=3]数据彩色名称:可控制长度 缺省为不控制
56. [customvideolist:director]导演
57. [customvideolist:lang]语言
58. [customvideolist:digg]顶次次数
59. [customvideolist:tread]踩次次数
60. [customvideolist:keyword]设置的SEO关键字、支持超级链接模式,可以作为数据的TAG
61. [customvideolist:jqtype]剧情分类名称带链接
62. [customvideolist:nolinkjqtype]剧情分类名称不带链接
63. {/seacms:customvideolist}
64. 固定分页标签:
65. [customvideolist:pagenumber len=10]
66. 自定义分页标签:
67. {customvideolist:pagenumber len=10}
68. [pagenumber:link]1…..10页链接
69. [pagenumber:page]页数字
70. {/customvideolist:pagenumber}
71. {customvideolist:page}当前页数
72. {customvideolist:pagecount} 总页数
73. {customvideolist:recordcount}总数据条数
74. {customvideolist:firstlink}第一页链接
75. {customvideolist:backlink} 上一页链接
76. {customvideolist:nextlink} 下一页链接
77. {customvideolist:lastlink} 最后一页链接
78. 自定义分页范例:

>79. <div class="page">
80. <span>{customvideolist:page}/{customvideolist:pagecount} 共{customvideolist:recordcount}条记录
</span>
81. <a href="{customvideolist:firstlink}" rel="external nofollow" >1..</a><a href="{customvideolist:backlink}" rel="external nofollow" ><</a>
82. {customvideolist:pagenumber len=8}
83. {if:{customvideolist:page}<>[pagenumber:page]}
84. <a href="[pagenumber:link]" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >[pagenumber:page]</a>{else}
85. <em>[pagenumber:page]</em>
86. {end if}
87. {/customvideolist:pagenumber}
88. <a href="{customvideolist:nextlink}" rel="external nofollow" >></a>
89. <a href="{customvideolist:lastlink}" rel="external nofollow" >..{customvideolist:pagecount}</a>
90. </div>

 

*****14.文章列表页标签newspage.html*****
01. 参数:
02. size:每页条数默认值10
03. order:数据排序方式id/time/hit 缺省值为time
04. {seacms:newspagelist size=15}
05. [newspagelist:i]文章排列位
06. [newspagelist:id]文章实际id
07. [newspagelist:typename]分类中文名
08. [newspagelist:typelink]分类链接
09. [newspagelist:title len=10]文章标题 具有len属性控制长度,缺省为10
10. [newspagelist:colortitle len=3]文章标题:可控制长度 缺省为不控制
11. [newspagelist:note]文章属性,可配合标题一起显示
12. [newspagelist:link]文章内容页链接
13. [newspagelist:pic]图片
14. [newspagelist:author len=3]作者:可控制长度,缺省为不控制
15. [newspagelist:outline len=10]文章简述,可控制长度 缺省为不控制
16. [newspagelist:content]文章正文,文章标题 具有len属性控制长度,缺省为不控制
17. [newspagelist:hit]点击量
18. [newspagelist:time]文章添加时间,可控制时间格式yyyy-mm-dd yy-mm-dd mm-dd 缺省为yyyy-m-d
19. [newspagelist:from]文章来源
20. [newspagelist:commend]文章推荐状态值
21. [newspagelist:letter]文章的首字母
22. [newspagelist:digg]顶次次数
23. [newspagelist:tread]踩次次数
24. [newspagelist:score]评分
25. [newspagelist:scorenum]评分总数
26. [newspagelist:scorenumer]评分总人数
27. {/seacms:newspagelist}
28. 固定分页标签:
29. [newspagelist:pagenumber len=8]
30. 自定义分页标签:
31. {newspagelist:pagenumber len=10}
32 [pagenumber:link]1 10页链接
33. [pagenumber:page]页数字
34. {/newspagelist:pagenumber}
35. {newspagelist:page}当前页数
36. {newspagelist:pagecount} 总页数
37. {newspagelist:recordcount}总数据条数
38. {newspagelist:firstlink}第一页链接
39. {newspagelist:backlink} 上一页链接
40. {newspagelist:nextlink} 下一页链接
41. {newspagelist:lastlink} 最后一页链接
42. 自定义分页范例:

43. <div class="page">
44. <span>{newspagelist:page}/{newspagelist:pagecount} 共{newspagelist:recordcount}条记录</span>
45. <a href="{newspagelist:firstlink}" rel="external nofollow" >1..</a><a href="{newspagelist:backlink}" rel="external nofollow" ><</a>
46. {newspagelist:pagenumber len=8}
47. {if:{newspagelist:page}<>[pagenumber:page]}
48. <a href="[pagenumber:link]" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >[pagenumber:page]</a>{else}
49. <em>[pagenumber:page]</em>
50. {end if}
51. {/newspagelist:pagenumber}
52. <a href="{newspagelist:nextlink}" rel="external nofollow" >></a>
53. <a href="{newspagelist:lastlink}" rel="external nofollow" >..{newspagelist:pagecount}</a>
54. </div>

 

55. 独有标签:
56. {newspagelist:typename} 分类名称
57. {newspagelist:keywords}分类关键词
58. {newspagelist:description}分类简介
59.
*****15.文章搜索页列表newssearch.html*****
01. 参数:
02. size:每页条数默认值10
03. order:数据排序方式id/time/hit 缺省值为time
04. {seacms:newssearchlist size=15}
05. [newssearchlist:i]文章排列位
06. [newssearchlist:id]文章实际id
07. [newssearchlist:typename]分类中文名
08. [newssearchlist:typelink]分类链接
09. [newssearchlist:title len=10]文章标题 具有len属性控制长度,缺省为10
10. [newssearchlist:colortitle len=3]文章标题:可控制长度 缺省为不控制
11. [newssearchlist:note]文章属性,可配合标题一起显示
12. [newssearchlist:link]文章内容页链接
13. [newssearchlist:pic]图片
14. [newssearchlist:author len=3]作者:可控制长度,缺省为不控制
15. [newssearchlist:outline len=10]文章简述,可控制长度 缺省为不控制
16. [newssearchlist:content]文章正文,文章标题 具有len属性控制长度,缺省为不控制
17. [newssearchlist:hit]点击量
18. [newssearchlist:time]文章添加时间,可控制时间格式yyyy-mm-dd yy-mm-dd mm-dd 缺省为yyyy-m-d
19. [newssearchlist:from]文章来源
20. [newssearchlist:commend]文章推荐状态值
21. [newssearchlist:letter]文章的首字母
22. [newssearchlist:digg]顶次次数
23. [newssearchlist:tread]踩次次数
24. [newssearchlist:score]评分
25. [newssearchlist:scorenum]评分总数
26. [newssearchlist:scorenumer]评分总人数
27. {/seacms:newssearchlist}
28. 固定分页标签:
29. [newssearchlist:pagenumber len=8]
30. 自定义分页标签:
31. {newssearchlist:pagenumber len=10}
32. [pagenumber:link]1…..10页链接
33. [pagenumber:page]页数字
34. {/newssearchlist:pagenumber}
35. {newssearchlist:page}当前页数
36. {newssearchlist:pagecount} 总页数
37. {newssearchlist:recordcount}总数据条数
38. {newssearchlist:firstlink}第一页链接
39. {newssearchlist:backlink} 上一页链接
40. {newssearchlist:nextlink} 下一页链接
41. {newssearchlist:lastlink} 最后一页链接
42. 自定义分页范例:

43. <div class="page">
44. <span>{newssearchlist:page}/{newssearchlist:pagecount} 共{newssearchlist:recordcount}条记录</span>
45. <a href="{newssearchlist:firstlink}" rel="external nofollow" >1..</a><a href="{newssearchlist:backlink}" rel="external nofollow" ><</a>
46. {newssearchlist:pagenumber len=8}
47. {if:{newssearchlist:page}<>[pagenumber:page]}
48. <a href="[pagenumber:link]" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >[pagenumber:page]</a>{else}
49. <em>[pagenumber:page]</em>
50. {end if}
51. {/newssearchlist:pagenumber}
52. <a href="{newssearchlist:nextlink}" rel="external nofollow" >></a>
53. <a href="{newssearchlist:lastlink}" rel="external nofollow" >..{newssearchlist:pagecount}</a>
54. </div>

 

55. 独有标签:
56. {seacms:newssearchword} 搜索关键词
57. {seacms:newssearchnum} 搜索结果数

*****16.专题列表标签topicindex.html*****
01. 参数:
02. size:每页数据条数 缺省值为12
03. {seacms:topicindexlist size=12}
04. [topicindexlist:i]专题排序位
05. [topicindexlist:n]专题排列位,永远都是从1开始
06. [topicindexlist:name]专题名称
07. [topicindexlist:count]专题包含的数据数量
08. [topicindexlist:pic]专题图片
09. [topicindexlist:link]专题链接
10. [topicindexlist:des]专题描述:可控制长度缺省为50
11. {/seacms:topicindexlist}
12. 固定分页标签:
13. [topicindexlist:pagenumber len=10]
14. 自定义分页标签:
15. {topicindexlist:pagenumber len=10}
16. [pagenumber:link]1…..10页链接
17. [pagenumber:page]页数字
18. {/topicindexlist:pagenumber}
19. {topicindexlist:page}当前页数
20. {topicindexlist:pagecount} 总页数
21. {topicindexlist:recordcount}总数据条数
22. {topicindexlist:firstlink}第一页链接
23. {topicindexlist:backlink} 上一页链接
24. {topicindexlist:nextlink} 下一页链接
25. {topicindexlist:lastlink} 最后一页链接
26. 自定义分页范例:

27. <div class="page">
28. <span>{topicindexlist:page}/{topicindexlist:pagecount} 共{topicindexlist:recordcount}条记录</span>
29. <a href="{topicindexlist:firstlink}" rel="external nofollow" >1..</a><a href="{topicindexlist:backlink}" rel="external nofollow" ><</a>
30. {topicindexlist:pagenumber len=8}
31. {if:{topicindexlist:page}<>[pagenumber:page]}
32. <a href="[pagenumber:link]" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >[pagenumber:page]</a>{else}
33. <em>[pagenumber:page]</em>
34. {end if}
35. {/topicindexlist:pagenumber}
36. <a href="{topicindexlist:nextlink}" rel="external nofollow" >></a>
37. <a href="{topicindexlist:lastlink}" rel="external nofollow" >..{topicindexlist:pagecount}</a>
38. </div>

 

*****17.专题页标签topic.html*****
01. 参数:
02. order数据排序方式,id/idasc,按发布时间,time/timeasc,按点击量hit/hitasc,按推荐commend/commendasc,按
顶次数digg/diggasc,按随机random,按评分score/douban/mtime/imdb,默认time。(其中带asc的为正序,不带
asc的为倒序)
03. {seacms:topicpagelist size=5 order=time}
04. [topicpagelist:i]数据排列位
05. [topicpagelist:id]数据实际id
06. [topicpagelist:typeid]数据所在分类实际id
07. [topicpagelist:typename]数据分类中文名
08. [topicpagelist:typelink]数据分类链接
09. [topicpagelist:name len=3]数据名称:可控制长度 缺省为不控制
10. [topicpagelist:note len=10]影片备注信息,可配合标题一起显示,可控制长度 缺省为不控制
11. [topicpagelist:link]数据内容页链接
12. [topicpagelist:pic]图片
13. [topicpagelist:spic]幻灯图片
14. [topicpagelist:gpic]背景图片
15. [topicpagelist:money]所需积分数
16. [topicpagelist:actor len=3]主演:可控制长度,缺省为不控制
17. [topicpagelist:hit]点击量
18. [topicpagelist:dayhit]当日点击数
19. [topicpagelist:weekhit]本周点击数
20. [topicpagelist:monthhit]本月点击数
21. [topicpagelist:score]评分
22. [topicpagelist:scorenum]评分总数
23. [topicpagelist:scorenumer]评分总人数
24. [topicpagelist:nickname]影片别名
25. [topicpagelist:reweek]更新周期
26. [topicpagelist:vodlen]影片时长
27. [topicpagelist:vodtotal]影片总集数
28. [topicpagelist:douban]豆瓣评分
29. [topicpagelist:mtime]时光网评分
30. [topicpagelist:imdb]IMDB评分
31. [topicpagelist:tvs]上映电视台
32. [topicpagelist:company]发行公司
33. [topicpagelist:des len=30]描述:可控制长度 缺省为字符长度50
34. [topicpagelist:time style=yyyy-mm-dd]时间:可控制时间格式yyyy-mm-ddyy-mm-dd mm-dd 缺省为yyyy-m-d 注:
可选万能时间标签,详情查询php的date()函数或者gmdate() 函数
35. [topicpagelist:from]数据来源 如优酷、土豆
36. [topicpagelist:commend]数据推荐状态值
37. [topicpagelist:state]数据连载状态
38. [topicpagelist:publishtime]数据发行年份
39. [topicpagelist:ver]视频版本
40. [topicpagelist:publisharea]数据发行地区
41. [topicpagelist:playlink]数据播放页链接
42. [topicpagelist:letter]数据名称的首字母
43. [topicpagelist:colorname len=3]数据彩色名称:可控制长度 缺省为不控制
44. [topicpagelist:director]导演
45. [topicpagelist:lang]语言
46. [topicpagelist:digg]顶次次数
47. [topicpagelist:tread]踩次次数
48. [topicpagelist:keyword]设置的SEO关键字、支持超级链接模式,可以作为数据的TAG
49. [topicpagelist:jqtype]剧情分类名称带链接
50. [topicpagelist:nolinkjqtype]剧情分类名称不带链接
51. {/seacms:topicpagelist}
52. 固定分页标签:
53. [topicpagelist:pagenumber len=10]
54. 自定义分页标签:
55. {topicpagelist:pagenumber len=10}
56. [pagenumber:link]1…..10页链接
57. [pagenumber:page]页数字
58. {/topicpagelist:pagenumber}
59. {topicpagelist:page}当前页数
60. {topicpagelist:pagecount} 总页数
61. {topicpagelist:recordcount}总数据条数
62. {topicpagelist:firstlink}第一页链接
63. {topicpagelist:backlink} 上一页链接
64. {topicpagelist:nextlink} 下一页链接
65. {topicpagelist:lastlink} 最后一页链接
66. 自定义分页范例:

<div class="page">
68. <span>{topicpagelist:page}/{topicpagelist:pagecount} 共{topicpagelist:recordcount}条记录</span>
69. <a href="{topicpagelist:firstlink}" rel="external nofollow" >1..</a><a href="{topicpagelist:backlink}" rel="external nofollow" ><</a>
70. {topicpagelist:pagenumber len=8}
71. {if:{topicpagelist:page}<>[pagenumber:page]}
72. <a href="[pagenumber:link]" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >[pagenumber:page]</a>{else}
73. <em>[pagenumber:page]</em>
74. {end if}
75. {/topicpagelist:pagenumber}
76. <a href="{topicpagelist:nextlink}" rel="external nofollow" >></a>
77. <a href="{topicpagelist:lastlink}" rel="external nofollow" >..{topicpagelist:pagecount}</a>
78. </div>

 

79. 独有标签:
80. {seacms:topicname} :专题名称
81. {seacms:topicdes} :专题介绍
82. {seacms:topickeyword} : 专题关键词
83. {seacms:currrent_topic_id} : 当前专题id
84. {seacms:topicpic} :专题图片

*****18.内容页播放页共同标签content.html/play.html*****
01. 解析范围:以下标签无特殊说明的话,均支持内容页、播放页模板
02. {playpage:textlink}内容页或播放页的当前位置
03. {playpage:id} ID
04. {playpage:upid}父分类ID
05. {playpage:typeid}分类ID
06. {playpage:name} 名称,具有len属性控制长度,缺省为不控制
07. {playpage:encodename} 片名的urlencode,传递URL参数用的
08. {playpage:link}内链接地址
09. {playpage:playlink} 立即播放链接地址
10. {playpage:url} 外链接地址
11. {playpage:publishtime} 发行年份
12. {playpage:ver} 视频版本
13. {playpage:publisharea} 发行地区
14. {playpage:actor}有链接地址主演,具有len属性控制长度,缺省为不控制
15. {playpage:nolinkactor} 无链接地址数据主演,具有len属性控制长度,缺省为不控制,可以作为内容页或播放页的页面
描述
16. {playpage:director} 带链接导演
17. {playpage:nolinkdirector} 不带链接导演信息
18. {playpage:pic} 图片
19. {playpage:spic} 幻灯图片
20. {playpage:gpic} 背景图片
21. {playpage:money} 所需积分数
22. {playpage:addtime}添加日期
23. {playpage:state}连载状态,显示连载到的数字,非连载为0,例{if:{playpage:state}==0}完结{else}更新至
{playpage:state}集{end if}
24. {playpage:des} 介绍,具有len属性控制长度,配合len属性可以作为内容页或播放页的页面描述,缺省为不控制
25. {playpage:commend}推荐星级数字,推荐值为1-5,不推荐为0,例{if:{playpage:commend}>0}推荐数据{end if}
26. {playpage:typename}分类中文名称
27. {playpage:typelink} 分类链接
28. {playpage:note} 备注,可以配合标题一起显示,具有len属性控制长度,缺省为不控制,例{if:”{playpage:note}”
<>””}{playpage:note}{end if}
29. {playpage:lang} 语言
30. {playpage:playurlinfo} 播放地址数据信息,供播放器调用(必须在{playpage:player}标签前调用),仅支持播放页模

31. {playpage:player}播放器调用标签,仅支持播放页
32. {playpage:from} 某来源名称
33. {playpage:dz} 播放地址
34. {playpage:part} 某集名称标签
35 {playpage:hit} 人气 模板里如没有这个标签 则点击数无法增加
19.文章内容页标签news.html
35. {playpage:hit} 人气,模板里如没有这个标签,则点击数无法增加
36. {playpage:dayhit} 当日点击数
37. {playpage:weekhit} 本周点击数
38. {playpage:monthhit} 本月点击数
39. {playpage:nickname} 影片别名
40. {playpage:reweek} 更新周期
41. {playpage:vodlen} 影片时长
42. {playpage:vodtotal} 影片总集数
43. {playpage:douban} 豆瓣评分
44. {playpage:mtime} 时光网评分
45. {playpage:imdb} IMDB评分
46. {playpage:tvs} 上映电视台
47. {playpage:company} 发行公司
48. {playpage:reporterr} 报错标签
49. rel:相关资源,仅内容页和播放页有效,rel=d为同导演影片,rel=y同演员,rel=r像似名称影片,使用办法查看
seacms:videolist标签里的对应说明
50. {playpage:prenext}上一个下一个视频标签,内容页跳至内容页,播放页跳至播放页
51. {playpage:pre} 上一个视频 单独标签,内容页跳至内容页,播放页跳至播放页
52. {playpage:next} 下一个视频 单独标签 ,内容页跳至内容页,播放页跳至播放页
53. {playpage:preplaylink}上一集 播放链接
54. {playpage:nextplaylink}下一集 播放链接
55. {playpage:comment}评论标签
56. {playpage:keywords}设置的SEO关键字、支持超级链接模式,可以作为数据的TAG
57. {playpage:nolinkkeywords}设置的SEO关键字
58. {playpage:jqtype} 剧情分类名称带链接
59. {playpage:nolinkjqtype} 剧情分类名称不带链接
60. {playpage:director}有链接地址导演
61. {playpage:nolinkdirector}无链接地址数据导演,可以作为内容页或播放页的页面描述
62. {playpage:desktopurl} 下载快捷方式到桌面链接
63. {playpage:mark len=10} 评分标签,len=10 0到10分评分项,style=star 星星评分样式
64. {playpage:digg} 顶标签,显示顶数目及顶操作
65. {playpage:tread}踩标签,显示踩数目及踩操作
66. {playpage:diggnum}顶标签,只显示顶数字
67. {playpage:treadnum}踩标签,只显示踩数字
68. {playpage:score}评分,直接显示数字
69. {playpage:scorenum}评分总数
70. {playpage:scorenumer}评分总人数
71. {playpage:playlistlen}播放列表总组数 需放在播放列表后
72. {playpage:downlistlen} 下载列表总组数 需放在下载列表后
73. {playpage:longtxt}备用说明,支持长文本内容
74. 播放列表标签

75. {playpage:playlist}
76. |playlist:i|播放地址实际序号,不随着来源排序变化
77. |playlist:s|播放来源排序数值,显示后台你设置的播放来源排列序号
78. |playlist:link target=_self|播放地址链接,以多个li方式输出, target:链接打开方式,当前_self 新窗口_blank
顶部_top 缺省值为_blank
79. |playlist:url|播放列表实际播放地址 带链接
80. |playlist:nolinkurl|播放列表实际播放地址 不带链接
81. |playlist:from|播放来源名称,如优酷、土豆
82. |playlist:ename|播放来源英文名称,如youku、tudou
83. |playlist:intro|播放格式说明,如QVOD数据显示为:需要下载QVOD播放器,点此下载播放器
84. {/playpage:playlist}

|替换[] 
85. 下载列表标签:
86. {playpage:downlist}
87. [downlist:i]下载地址排列位
88. [downlist:link]下载地址链接, target:链接打开方式,当前_self 新窗口_blank 顶部_top 缺省值为_blank
89. [downlist:linkstr]实际下载地址
90. [downlist:from]下载来源
91. {/playpage:downlist}

*****19.文章内容页标签news.html*****
01. {news:textlink} 文章内容页的当前位置
02. {news:id} 文章ID
03. {news:upid} 文章父分类ID
04. {news:note} 文章属性,可配合标题一起显示
05. {news:link} 文章内链接地址
06. {news:url} 文章外链接地址
07. {news:typeid} 文章分类ID
08. {news:title len=10}文章标题,具有len属性控制长度,缺省为不控制
09. {news:outline} 文章简述,具有len属性控制长度,缺省为不控制
10. {news:author} 作者
11. {news:from} 来源
12. {news:pic} 图片地址
13. {news:addtime} 时间
14. {news:content} 文章正文 具有len属性控制长度,缺省为不控制
15. {news:commend} 文章星级数字,推荐值为1-5,不推荐为0,例

{if:{news:commend}>0}推荐文章{end if}

16. {news:typename} 分类中文名称
17. {news:hit} 文章点击率
18. {news:prenext} 上一个下一个文章标签
19. {news:pre} 上一个新闻 单独标签
20. {news:next} 下一个新闻 单独标签
21. {news:comment} 评论标签
22. {news:mark len=10}评分标签,len=10 0到10分评分项,style=star 星星评分样式
23. {news:digg} 顶标签,显示顶数目及顶操作
24. {news:tread} 踩标签,显示踩数目及踩操作
25. {news:diggnum} 顶标签,只显示顶数字
26. {news:treadnum} 踩标签,只显示踩数字
27. {news:score} 评分,直接显示数字
28. {news:scorenum} 评分总数
29. {news:scorenumer} 评分总人数
30. {news:keywords} 文章设置的SEO关键字、支持超级链接模式,可以作为数据的TAG
31. {news:nolinkkeywords}文章设置的SEO关键字,无链接
32. {news:encodetitle}URL编码的文章标题 用来传递URL参数
33. {news:subtitle} 分页副标题
34. {news:subcontent}文章正文包含分页符(#p#副标题#e#) 进行内容分页
35. {news:subpagenumber len=10} 分页数字列表 len表示数字列表长度
36. 注:新闻内容页可以利用循环标签{seacms:videolist rel=v}来实现调用相关视频,当新闻关键词等于视频名称时,自
动调用对应视频。
*****20.级联搜索调用标签(可作用于整个CMS)*****
01. 此标签用于调出级联搜索页面
02. {seacms:(*)caslist}
03. [(*)caslist:i]菜单项排序位
04. [(*)caslist:value]菜单项名称
05. [(*)caslist:link]菜单项链接
06. {/seacms:(*)caslist}
07. *其中的'(*)’可为area地区year年份letter首字母type分类lang语言jq剧情分类state连载状态ver视频版本
08. 例如:

09. <b>按分类:</b>{seacms:typecaslist}<a href="[typecaslist:link]" rel="external nofollow"  target="_blank" rel="noopener noreferrer">
[typecaslist:value]</a>{/seacms:typecaslist}
10. <b>按地区:</b>{seacms:areacaslist}<a href="[areacaslist:link]" rel="external nofollow"  target="_blank" rel="noopener noreferrer">
[areacaslist:value]</a>{/seacms:areacaslist}
11. <b>按年份:</b>{seacms:yearcaslist}<a href="[yearcaslist:link]" rel="external nofollow"  target="_blank" rel="noopener noreferrer">
[yearcaslist:value]</a>{/seacms:yearcaslist}
12. <b>按字母:</b>{seacms:lettercaslist}<a href="[lettercaslist:link]" rel="external nofollow"  target="_blank" rel="noopener noreferrer">
[lettercaslist:value]</a>{/seacms:lettercaslist}
13. <b>按语言:</b>{seacms:langcaslist}<a href="[langcaslist:link]" rel="external nofollow"  target="_blank" rel="noopener noreferrer">
[langcaslist:value]</a>{/seacms:langcaslist}
14. <b>按剧情:</b>{seacms:jqcaslist}<a href="[jqcaslist:link]" rel="external nofollow"  target="_blank" rel="noopener noreferrer">[jqcaslist:value]</a>
{/seacms:jqcaslist}
15. <b>按连载:</b>{seacms:statecaslist}<a href="[statecaslist:link]" rel="external nofollow"  target="_blank" rel="noopener noreferrer">
[statecaslist:value]</a>{/seacms:statecaslist}
16. <b>按版本:</b>{seacms:vercaslist}<a href="[vercaslist:link]" rel="external nofollow"  target="_blank" rel="noopener noreferrer">[vercaslist:value]
</a>{/seacms:vercaslist}
17. <b>按收费:</b>{seacms:moneycaslist}<a href="[moneycaslist:link]" rel="external nofollow"  target="_blank" rel="noopener noreferrer">
[moneycaslist:value]</a>{/seacms:moneycaslist}

 

*****21.专题调用标签*****
01. 参数:
02. id:all表示调出所有专题;id为指定专题ID表示调出某个专题;调出指定多个专题使用英文逗号隔开;默认值为all
03. num:专题条数缺省值为10
04. start:专题列表调用的起点位置,缺省值为1
05. {seacms:topiclist id=all num=10 start=2}
06. [topiclist:i]专题排序位
07. [topiclist:n]专题排列位,永远都是从1开始
08. [topiclist:id]专题ID
09. [topiclist:name]专题名称
10. [topiclist:count]专题包含的数据数量
11. [topiclist:pic]专题图片
12. [topiclist:link]专题链接
13. [topiclist:des]专题描述:可控制长度缺省为50
14. {/seacms:topiclist}
15.
*****22.友情链接列表标签*****

01. 解析范围:支持首页模板
02. 参数:
03. type:友情链接类型 font表示文字,pic表示图片
04. {seacms:linklist type=pic}
05. [linklist:i]链接项排列位
06. [linklist:name]链接名称,可控制长度 缺省为不控制
07. [linklist:link]链接地址
08. [linklist:pic]链接图片
09. [linklist:des]链接描述,可控制长度 缺省为长度20
10. {/seacms:linklist}
*****23.留言板标签gbook.html*****

01. 解析范围: 留言模板(gbook.html)
02. {gbook:main} 留言表单
03. {gbook:viewLeaveWord} 留言列表
*****24.tags页独有标签tag.html*****

01. 解析范围:支持tag页模板
02. {seacms:tag}:TAG名称
03. {seacms:tagnum}:TAG的数目
*****25.运算符说明(加减乘除、大小比较等等)*****

01. + 加法
02. - 减法
03. * 乘法
04. / 除法
05. % 求余数
06. == 等于
07. === 全等(数值,数据类型均相等,不常用)
08. != 不等于
09. <> 不等于的另外一种写法
10. !== 不全等(数值,数据类型均不相等,不常用)
11. > 大于
12. < 小于 13. >= 大于或等于
14. <= 小于或等于

*****26.模板标签里的时间函数data()详细参数说明*****
01. 模板标签里,在判断语句里可以直接使用部分php函数表示
02. 例如判断当天是星期几:{if:date(‘N’)==2}周二{else}不是周二{end if}
03. 下面是时间函数 date(‘xxxxxx’)的详细参数,其它参数请百度查阅php相关函数
04. d月份中的第几天,有前导零的 2 位数字01 到 31
05. D星期中的第几天,文本表示,3 个字母Mon 到 Sun
06. j月份中的第几天,没有前导零1 到 31
07. l(“L”的小写字母)星期几,完整的文本格式Sunday 到 Saturday
08. NISO-8601 格式数字表示的星期中的第几天(PHP 5.1.0 新加)1(表示星期一)到 7(表示星期天)
09. S每月天数后面的英文后缀,2 个字符st,nd,rd 或者 th。可以和 j 一起用
10. w星期中的第几天,数字表示0(表示星期天)到 6(表示星期六)
11. z年份中的第几天0 到 366
12. 星期——
13. WISO-8601 格式年份中的第几周,每周从星期一开始 例如:42(当年的第 42 周)
14. 月——
15. F月份,完整的文本格式,例如 January 或者 MarchJanuary 到 December
16. m数字表示的月份,有前导零01 到 12
17. M三个字母缩写表示的月份Jan 到 Dec
18. n数字表示的月份,没有前导零1 到 12
19. t给定月份所应有的天数28 到 31
20. 年——
21. L是否为闰年如果是闰年为 1,否则为 0
22. oISO-8601 格式年份数字。这和 Y 的值相同,只除了如果 ISO 的星期数(W)属于前一年或下一年,则用那一年。
Examples: 1999 or 2003
23. Y4 位数字完整表示的年份 例如:1999 或 2003
24. y2 位数字表示的年份 例如:99 或 03
25. 时间——
26. a小写的上午和下午值am 或 pm
27. A大写的上午和下午值AM 或 PM
28. BSwatch Internet 标准时000 到 999
29. g小时,12 小时格式,没有前导零1 到 12
30. G小时,24 小时格式,没有前导零0 到 23
31. h小时,12 小时格式,有前导零01 到 12
32. H小时,24 小时格式,有前导零00 到 23
33. i有前导零的分钟数00 到 59>
34. s秒数,有前导零00 到 59>
35. 时区——
36. e时区标识(PHP 5.1.0 新加)例如:UTC,GMT,Atlantic/Azores
37. I是否为夏令时如果是夏令时为 1,否则为 0
38. O与格林威治时间相差的小时数 例如:+0200
39. P与格林威治时间(GMT)的差别,小时和分钟之间有冒号分隔(PHP 5.1.3 新加)例如:+02:00
40. T本机所在的时区例如:EST,MDT(【译者注】在 Windows 下为完整文本格式,例如“Eastern Standard Time”,中文
版会显示“中国标准时间”)。
41. Z时差偏移量的秒数。UTC 西边的时区偏移量总是负的,UTC 东边的时区偏移量总是正的。-43200 到 43200
42. 完整的日期/时间——
43. cISO 8601 格式的日期(PHP 5 新加)2004-02-12T15:19:21+00:00
44. rRFC 822 格式的日期例如:Thu, 21 Dec 2000 16:01:07 +0200
45. U从 Unix 纪元(January 1 1970 00:00:00 GMT)开始至今的秒数,参见 time()

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

抓虾网 经验教程 [海洋CMS教程]模板文件名称及所有标签 https://www.zhuax.com/499.html

相关文章

官方客服团队

为您解决烦忧 - 24小时在线 专业服务