海洋cms专题页制作教程
视频列表调用标签
参数:
order数据排序方式,id/idasc,按发布时间,time/timeasc,按点击量hit/hitasc,按推荐commend/commendasc,按顶次数digg/diggasc,按随机random,按评分score/douban/mtime/imdb,默认time。(其中带asc的为正序,不带asc的为倒序)
{seacms:topicpagelist size=5 order=time}
[topicpagelist:i]数据排列位
[topicpagelist:id]数据实际id
[topicpagelist:typeid]数据所在分类实际id
[topicpagelist:typename]数据分类中文名
[topicpagelist:typelink]数据分类链接
[topicpagelist:name len=3]数据名称:可控制长度 缺省为不控制
[topicpagelist:note len=10]影片备注信息,可配合标题一起显示,可控制长度 缺省为不控制
[topicpagelist:link]数据内容页链接
[topicpagelist:pic]图片
[topicpagelist:spic]幻灯图片
[topicpagelist:gpic]背景图片
[topicpagelist:money]所需积分数
[topicpagelist:actor len=3]主演:可控制长度,缺省为不控制
[topicpagelist:hit]点击量
[topicpagelist:dayhit]当日点击数
[topicpagelist:weekhit]本周点击数
[topicpagelist:monthhit]本月点击数
[topicpagelist:score]评分
[topicpagelist:scorenum]评分总数
[topicpagelist:scorenumer]评分总人数
[topicpagelist:nickname]影片别名
[topicpagelist:reweek]更新周期
[topicpagelist:vodlen]影片时长
[topicpagelist:vodtotal]影片总集数
[topicpagelist:douban]豆瓣评分
[topicpagelist:mtime]时光网评分
[topicpagelist:imdb]IMDB评分
[topicpagelist:tvs]上映电视台
[topicpagelist:company]发行公司
[topicpagelist:des len=30]描述:可控制长度 缺省为字符长度50
[topicpagelist:time style= yyyy-mm-dd]时间:可控制时间格式yyyy-mm-dd yy-mm-dd mm-dd 缺省为yyyy-m-d 注:可选万能时间标签,详情查询php的date()函数或者gmdate() 函数
[topicpagelist:from]数据来源 如优酷、土豆
[topicpagelist:commend]数据推荐状态值
[topicpagelist:state]数据连载状态
[topicpagelist:publishtime]数据发行年份
[topicpagelist:ver]视频版本
[topicpagelist:longtxt]备用说明
[topicpagelist:publisharea]数据发行地区
[topicpagelist:playlink]数据播放页链接
[topicpagelist:letter]数据名称的首字母
[topicpagelist:colorname len=3]数据彩色名称:可控制长度 缺省为不控制
[topicpagelist:director]导演
[topicpagelist:lang]语言
[topicpagelist:digg]顶次次数
[topicpagelist:tread]踩次次数
[topicpagelist:keyword]设置的SEO关键字、支持超级链接模式,可以作为数据的TAG
[topicpagelist:jqtype]剧情分类名称带链接
[topicpagelist:nolinkjqtype]剧情分类名称不带链接
{/seacms:topicpagelist}
固定分页标签:
[topicpagelist:pagenumber len=10]
自定义分页标签:
{topicpagelist:pagenumber len=10}
[pagenumber:link]1.....10页链接
[pagenumber:page]页数字
{/topicpagelist:pagenumber}
{topicpagelist:page}当前页数
{topicpagelist:pagecount} 总页数
{topicpagelist:recordcount}总数据条数
{topicpagelist:firstlink}第一页链接
{topicpagelist:backlink} 上一页链接
{topicpagelist:nextlink} 下一页链接
{topicpagelist:lastlink} 最后一页链接
自定义分页范例:
{topicpagelist:page}/{topicpagelist:pagecount} 共{topicpagelist:recordcount}条记录
1..<
{topicpagelist:pagenumber len=8}
{if:{topicpagelist:page}<>[pagenumber:page]}
[pagenumber:page]{else}
[pagenumber:page]
{end if}
{/topicpagelist:pagenumber}
>
..{topicpagelist:pagecount}
文章列表调用标签
参数:
size:调用文章条数,专题内文章不支持分页
order:数据排序方式id/time/hit 缺省值为time
{seacms:topicnewspagelist size=15}
[topicnewspagelist:i]文章排列位
[topicnewspagelist:id]文章实际id
[topicnewspagelist:typename]分类中文名
[topicnewspagelist:typelink]分类链接
[topicnewspagelist:title len=10]文章标题 具有len属性控制长度,缺省为10
[topicnewspagelist:colortitle len=3]文章标题:可控制长度 缺省为不控制
[topicnewspagelist:note]文章属性,可配合标题一起显示
[topicnewspagelist:link]文章内容页链接
[topicnewspagelist:pic]图片
[topicnewspagelist:author len=3]作者:可控制长度,缺省为不控制
[topicnewspagelistutline len=10]文章简述,可控制长度 缺省为不控制
[topicnewspagelist:content]文章正文,文章标题 具有len属性控制长度,缺省为不控制
[topicnewspagelist:hit]点击量
[topicnewspagelist:time]文章添加时间,可控制时间格式yyyy-mm-dd yy-mm-dd mm-dd 缺省为yyyy-m-d
[topicnewspagelist:from]文章来源
[topicnewspagelist:keyword]文章关键词
[topicnewspagelist:commend]文章推荐状态值
[topicnewspagelist:letter]文章的首字母
[topicnewspagelist:digg]顶次次数
[topicnewspagelist:tread]踩次次数
[topicnewspagelist:score]评分
[topicnewspagelist:scorenum]评分总数
[topicnewspagelist:scorenumer]评分总人数
{/seacms:topicnewspagelist}
独有标签:
{seacms:topicname} :专题名称
{seacms:topicdes} :专题描述
{seacms:topickeyword} : 专题关键词
{seacms:currrent_topic_id} : 当前专题id
{seacms:topicpic} :专题图片
{seacms:topicspic} :幻灯图片
{seacms:topicgpic} :背景图片
{seacms:topicaddtime} :添加时间
{seacms:topiccontent} :专题介绍
更多文章
-
海洋cms模板标签大全(收藏级)
海洋cms以其免费开源、采集功能强大著称,吸引了越来越影视站长。那么在使用海洋cms过程中,模板标签是必须要掌握的。下面是整理的海洋cms模板标签大全,对于做站朋友,一定有用,赶快收藏起来吧!海洋cms模板标签目录00.相关必要说明 01.全局标签 02.自定义标签 03.if标签和嵌套if标签subif(支持php语句、多e
-
海洋cms模板更换及安装教程
很多刚使用海洋cms站长朋友,不知道如何更换模板及安装,下面就详细的图文教程,快来学习! 第一步,从免费海洋cms模板下载网站(http://www.dongliancnc.com),选择喜好的模板并下载,特别说明都是人工测试过的模板,保证使用哦。 第二步,将模板压缩包,上传文件到网站templets目录下
-
海洋cms数据库挂马终极防御方法(MYSQL触发器使用实例)
为什么叫终极呢?因为这个方法是从SQL层面入手与程序无关,原理是利用SQL提供给我们的触发器功能,在数据更新前对数据进行检测含有危险字符就进行拦截,除非黑客有数据库root权限,否则是不能修改我们设置的触发器规则的。操作步骤: 宝塔-数据库-管理 -用root账户登陆选择
-
海洋cms最近升级到最新后,发现 报错 功能失效,找不到js/err.html 文件
最近升级到最新后,发现 报错 功能失效,找不到js/err.html 文件 以前是正常 的。是升级前长级后,发生的,也不太清楚。 求帮助,根目录err.php 文件在的。 解决方法: 估计是用了旧版的js文件,导致路径错误 试试覆盖最新的js/function.js 或
-
海洋cms网站播放问题
请问海洋cms播放是不是等页面全部加载好了再开始加载视频呀? 因为除了m3u8的,其他的官方解析都是会先黑屏一段时间才开始解析。 或者说是海洋cms获取到了视频才开始加载播放吗 解决方法: 任何cms都不负责播放 cms只是把播放地址输出给播放器 黑屏一段时间是因为你的视频地址本身就慢 m3u