龙哥 发表于 2015-9-27 21:59

杰奇模板的各种标签使用方法和解释

现整理杰奇小说连载标签和系统标签如下
1.block_articlelist.php
功能说明:小说排行区块(通用,缓存)
模板文件:在“编辑区块”中设置,默认为“/templates/blocks/block_articlelist.html”
模板标签:
articlerows.articleid                           - 文章序号
articlerows.articlename                         - 文章名称
articlerows.url_articleinfo                     - 到文章信息页的url
articlerows.type                              - 文章类型
articlerows.intro                               - 文章内容简介
articlerows.postdate                            - 文章的创建时间(日期)
articlerows.posttime                            - 文章的创建时间(秒数)
articlerows.update                              - 文章的最后修改时间(日期)
articlerows.uptime                              - 文章的最后修改时间(秒数)
articlerows.visitnum                            - 文章的访问量
articlerows.htmlurl                           - 文章静态页面的url
articlerows.url_index                           - 到文章目录页的url
articlerows.url_image                           - 文章封面图片的url
articlerows.lastchapterid                     - 章节序号
articlerows.lastchapter                         - 章节名称
articlerows.url_lastchapter                     - 章节的url
articlerows.lastvolume                        - 分卷序号
articlerows.lastvolume                        - 分卷名称
articlerows.url_articleindex                  - “最新章节”的url
articlerows.authorid                            - 作者序号
articlerows.author                              - 作者
articlerows.posterid                            - 发表者序号
articlerows.poster                              - 发表者
articlerows.agentid                           - 代理者序号
articlerows.agent                               - 代理者
articlerows.sortid                              - 类别序号
articlerows.sort                              - 类别
articlerows.size_k                              - 文章字节数
articlerows.dayvisit                            - 文章当天访问量
articlerows.weekvisit                           - 文章本星期访问量
articlerows.monthvisit                        - 文章本月访问量
articlerows.allvisit                            - 文章所有访问量
articlerows.dayvote                           - 文章当天票数
articlerows.weekvote                            - 文章本星期票数
articlerows.monthvote                           - 文章本月票数
articlerows.allvote                           - 文章所有票数
articlerows.lastupdate                        - 最后更新日期
articlerows.fullflag                            - 文章状态
url_more                                           - “更多...”的url

2.block_commend.php
功能说明:封面推荐(通用,缓存)
模板文件:在“编辑区块”中设置,默认为“/templates/blocks/block_commend.html”
模板标签:
articlerows.articleid                           - 文章序号
articlerows.articlename                         - 文章名称
articlerows.url_articleinfo                     - 到文章信息页的url
articlerows.type                              - 文章类型
articlerows.intro                               - 文章内容简介
articlerows.url_index                           - 到文章目录页的url
articlerows.url_image                           - 文章封面图片的url
articlerows.authorid                            - 作者序号
articlerows.author                              - 作者
articlerows.sortid                              - 类别序号
articlerows.sort                              - 类别
articlerows.dayvisit                            - 文章当天访问量
articlerows.weekvisit                           - 文章本星期访问量
articlerows.monthvisit                        - 文章本月访问量
articlerows.allvisit                            - 文章所有访问量
articlerows.dayvote                           - 文章当天票数
articlerows.weekvote                            - 文章本星期票数
articlerows.monthvote                           - 文章本月票数
articlerows.allvote                           - 文章所有票数


3.block_myarticles.php
功能说明:我的文章列表(原创,动态)
模板文件:/templates/blocks/block_myarticles.html
模板标签:
articles.id                                        - 文章序号
articles.caption                                 - 文章名
articles.url                                       - 文章名的url
articles.lastupdate                              - 最后修改时期


4.block_newreview.php
功能说明:最新书评(缓存)
模板文件:/templates/blocks/block_newreview.html
模板标签:
newrows.articleid                           - 文章序号
newrows.articlename                         - 文章名称
newrows.reviewid                            - 书评的序号
newrows.url_review                        - 书评的url
newrows.posterid                            - 评论者的序号
newrows.poster                              - 评论者
newrows.postdate                            - 评论时间
newrows.url_articleinfo                     - 到文章信息页的url
newrows.url_articleread                     - 到文章目录页的url
newrows.url_articleindex                  - 分卷的url
url_more                                       - “更多...”的url


5.block_reviewslist.php
功能说明:书评列表区块(通用,缓存)
模板文件:在“编辑区块”中设置,默认为“/templates/blocks/block_newreview.html”
模板标签:
newrows.articleid                           - 文章序号
newrows.articlename                         - 文章名称
newrows.reviewid                            - 书评的序号
newrows.reviewtitle                         - 书评标题
newrows.url_review                        - 书评的url
newrows.posterid                            - 评论者的序号
newrows.poster                              - 评论者
newrows.postdate                            - 评论时间
newrows.url_articleinfo                     - 到文章信息页的url
newrows.url_articleread                     - 到文章目录页的url
newrows.url_articleindex                  - 分卷的url
url_more                                       - “更多...”的url


6.block_search.php
功能说明:文章搜索(静态-文本)
模板文件:/templates/blocks/block_search.html
模板标签:
url_articlesearch                               - “文章搜索”提交的url


7.block_search.php
功能说明:文章搜索(静态-文本)
模板文件:/templates/blocks/block_search.html
模板标签:
url_articlesearch                               - “文章搜索”提交的url


8.block_toplist.php
功能说明:排行榜列表(静态-文本)
模板文件:/templates/blocks/block_toplist.html
模板标签:
url_allvisit                           - 总排行榜 的url
url_monthvisit                           - 月排行榜 的url
url_weekvisit                            - 周排行榜 的url
url_dayvisit                           - 日排行榜 的url
url_allauthorvisit                     - 原创总排行榜 的url
url_monthauthorvisit                     - 原创月排行榜 的url
url_weekauthorvisit                      - 原创周排行榜 的url
url_dayauthorvisit                     - 原创日排行榜 的url
url_allvote                              - 总推荐榜 的url
url_monthvote                            - 月推荐榜 的url
url_weekvote                           - 周推荐榜 的url
url_dayvote                              - 日推荐榜 的url
url_postdate                           - 最新入库 的url
url_lastupdate                           - 最近更新 的rul
url_authorupdate                         - 原创更新 的url
url_masterupdate                         - 转载更新 的url
url_goodnum                              - 总收藏榜 的url
url_size                                 - 字数排行 的url


9.block_transarticles.php
功能说明:转载文章列表(动态)
模板文件:/templates/blocks/block_transarticles.html
模板标签:
articlerows.articleid                                 - 文章序号
articlerows.articlename                                 - 文章名


10.block_uarticles.php
功能说明:我的文章列表(原创,动态)
模板文件:/templates/blocks/block_uarticles.html
模板标签:
articlerows.articleid                           - 文章序号
articlerows.articlename                         - 文章名称
articlerows.url_articleinfo                     - 文章名称的url
articlerows.type                              - 文章类型
articlerows.intro                               - 文章内容简介
articlerows.postdate                            - 文章的创建时间(日期)
articlerows.posttime                            - 文章的创建时间(秒数)
articlerows.update                              - 文章的最后修改时间(日期)
articlerows.uptime                              - 文章的最后修改时间(秒数)
articlerows.visitnum                            - 文章的访问量
articlerows.htmlurl                           - 文章静态页面的url
articlerows.url_index                           - 文章静态页面的url
articlerows.url_image                           - 文章封面图片的url
articlerows.lastchapterid                     - 章节序号
articlerows.lastchapter                         - 章节名称
articlerows.url_lastchapter                     - 章节的url
articlerows.lastvolume                        - 分卷序号
articlerows.lastvolume                        - 分卷名称
articlerows.url_articleindex                  - “最新章节”的url
articlerows.authorid                            - 作者序号
articlerows.author                              - 作者
articlerows.posterid                            - 发表者序号
articlerows.poster                              - 发表者
articlerows.agentid                           - 代理者序号
articlerows.agent                               - 代理者
articlerows.sortid                              - 类别序号
articlerows.sort                              - 类别
articlerows.size_k                              - 文章字节数
articlerows.dayvisit                            - 文章当天访问量
articlerows.weekvisit                           - 文章本星期访问量
articlerows.monthvisit                        - 文章本月访问量
articlerows.allvisit                            - 文章所有访问量
articlerows.dayvote                           - 文章当天票数
articlerows.weekvote                            - 文章本星期票数
articlerows.monthvote                           - 文章本月票数
articlerows.allvote                           - 文章所有票数
articlerows.lastupdate                        - 最后更新日期
articlerows.fullflag                            - 文章状态


11.block_ubookcase.php
功能说明:我的书架(原创,动态)
模板文件:/templates/blocks/block_ubookcase.html
模板标签:
bookcaserows.caseid                           - 收藏ID
bookcaserows.articleid                        - 文章序号
bookcaserows.lastchapterid                      - 章节序号
bookcaserows.lastchapter                        - 章节名
bookcaserows.url_lastchapter                  - 章节的url
bookcaserows.sortid                           - 类别序号
bookcaserows.typeid                           - 类型序号
bookcaserows.sort                               - 文章类别
bookcaserows.type                               - 文章类型
bookcaserows.authorid                           - 作者序号
bookcaserows.author                           - 作者
bookcaserows.url_articleinfo                  - 到文章信息页的url
bookcaserows.url_index                        - 到文章目录页的url
bookcaserows.lastupdate                         - 最后修改时间
bookcaserows.url_delete                         - “删除”的url


12.block_writerbox.php
功能说明:作家工具(静态-文本)
模板文件:/templates/blocks/block_writerbox.html
模板标签:
userid                              - 用户序号


13.articleinfo.php
功能说明:文章信息页
模板文件:/templates/articleinfo.html
模板标签:
authorid                                 - 作者的ID
author                                     - 作者的名称
agentid                                    - 管理员的ID
agent                                    - 管理员的名称
articlename                              - 文章标题
lastupdate                                 - 最后更新
fullflag                                 - 文章状态
permission                                 - 授权级别
firstflag                                  - 首发状态
allvisit                                 - 总点击数
monthvisit                                 - 本月点击
weekvisit                                  - 本周点击
goodnum                                    - 收 藏 数
allvote                                    - 总推荐数
monthvote                                  - 本月推荐
weekvote                                 - 本周推荐
obook_lastchapter                        - 最近VIP
obook_lastchapterid                        - 最近VIP的ID
intro                                    - 内容简介
notice                                     - 本书公告
hasimage                                 - 用来判断文章是否有图片(1:有小图片; 0:无小图片)
url_simage                                 - 小图的url
url_limage                                 - 大图的url(如果文章没有大图片,则 url_limage 为空)
lastchapter                              - 最近章节
url_lastchapter                            - 最近章节url
size_c                                     - 全文长度
allvisit                                 - 总点击数
url_manage                                 - 文章管理的url
url_report                                 - 举报的url
articleid                                  - 文章序号
url_read                                 - “点击阅读”的url
url_fullpage                               - “全文阅读”的url
url_bookcase                               - “加入书架”的url
url_uservote                               - “推荐本书”的url
url_authorpage                           - “作者专栏”的url
url_download                               - “打包下载”的url
url_txtarticle                           - “TXT全文下载”的url
hasobook                                 - 控制VIP章节的显示
showvote                                 - 用来判断是否显示“作品投票调查”一栏
votetitle                                  - 投票主题
voteid                                     - 本投票的ID
mulselect                                  - 判断投票内容为单选框还是处复选框
voteitemrows.id                         - 给单选框(复选框)赋值,对便取得被投票内容
voteitemrows.item                     - 投票内容
eachlinknum                              - 用来判断是否显示“推荐阅读”一栏
eachlinkrows.articleid                  - 推荐阅读文章的ID
eachlinkrows.articlename                - 推荐阅读文章的标题
eachlinkrows.url_articleinfo            - 推荐阅读文章标题的url
obook_obookid                              - 电子书的ID
reviewrows.istop                        - 判断是否为置顶书评
reviewrows.isgood                     - 判断是否为精华书评
reviewrows.title                        - 书评标题
reviewrows.views                        - 书评的点击率
reviewrows.replies                      - 书评的回复数
reviewrows.poster                     - 书评发表人
reviewrows.replytime                  - 书评发表时间
url_goodreview                           - 精华书评的url
url_allreview                              - 全部书评的url
url_review                                 - 书评提交的url


14.articlemanage.php
功能说明:文章管理
模板文件:/templates/articleinfo.html
模板标签:
article_table               - 文章标题、章节部分
sort_form                   - “章节排序”功能块
repack_form               - “重新生成”功能块


15.authorpage.php
功能说明:文章作者信息
模板文件:/templates/authorpage.html
模板标签:
authorid                              - 作者ID
author                              - 作者用户名
authorsex                           - 作者性别
authortype                            - 作者头衔
authorintro                           - 作者个人简介
articlerows.articletype            - 相关作品的类别
articlerows.articleid            - 相关作品的ID
articlerows.articlename            - 相关作品的标题
articlerows.url_articleinfo      - 相关作品标题的url
articlerows.lastchapter            - 相关作品的最新章节
articlerows.url_lastchapter      - 相关作品最新章节的url
articlerows.lastupdate             - 相关作品更新时间
articlerows.visitnum               - 相关作品点击数
articlerows.votenum                - 相关作品推荐数
url_notebook                        - “会客室”的url
enablepost                            - 判断是否显示“发表留言”功能块(值为1时显示)
url_notebook                        - “发表留言”功能块的提交路径
noterows['posterid']               - 判断留言者的身分(值为0时身分为“游客”,反之则为$noterows
[$k]['postername'])
noterows['postername']             - 留言者的用户名
noterows.postdate                  - 留言的时间
noterows.notetext                  - 留言内容
noterows.replytext               - 回复内容(回复内容为空时不显示回复块)


16.bookcase.php
功能说明:用户书架
模板文件:/templates/bookcase.html
模板标签:
maxmarkclass                                 - 用户的书架数
markclassrows.classid                     - 书架序号
bookcaserows.caseid                         - 收藏序号
bookcaserows.url_articleinfo                - 书架书本到文章信息页的url
bookcaserows.articlename                  - 书架里的书本名
bookcaserows.url_index                      - 书架书本到文章章节内容页的url
bookcaserows.lastchapter                  - 书架书本的最新章节
bookcaserows.url_lastchapter                - 书架书本最新章节的url
bookcaserows.articlemark                  - 书架书本的书签
bookcaserows.url_articlemark                - 书架书本书签的url
bookcaserows.lastupdate                     - 书架书本的更新时间
bookcaserows.url_delete                     - 书架书本“移除”的url
maxbookcase                                    - 用户的最大收藏数
nowbookcase                                    - 用户已收藏的书本数


17.draft.php
功能说明:作家工具里的草稿箱
模板文件:/templates/draft.html
模板标签:
draftrows.checkbox                         - 复选框
draftrows.articleid                        - 文章的ID
draftrows.articlename                      - 文章标题
draftrows.draftid                        - 文章章节ID
draftrows.draftname                        - 文章章节名称
draftrows.url_delete                     - 删除的url
url_jumppage                                  - 分页跳转


18.index.php
功能说明:在线书库
模板文件:/templates/articlelist.html
模板标签:
fakefile                                    - 横排字母的连接
url_initial                                 - 横排字母的连接
articlerows.articleid                      - 文章序号
articlerows.articlename                  - 文章名称
articlerows.url_articleinfo                - 文章名称的url
articlerows.lastchapterid                  - 章节序号
articlerows.lastchapter                  - 章节名称
articlerows.url_lastchapter                - 章节名称的url
articlerows.lastvolumeid                   - 分卷序号
articlerows.lastvolume                     - 分卷名称
articlerows.url_articleindex               - 分卷名称的url
articlerows.authorid                     - 作者ID
articlerows.author                         - 作者
articlerows.posterid                     - 发表者ID
articlerows.poster                         - 发表者
articlerows.agentid                        - 代理者ID
articlerows.agent                        - 代理者
articlerows.sortid                         - 类别序号
articlerows.sort                           - 类别名
articlerows.typeid                         - 字类型序号
articlerows.type                           - 字类型
articlerows.dayvisit                     - 文章当天访问量
articlerows.weekvisit                      - 文章本星期访问量
articlerows.monthvisit                     - 文章本月访问量
articlerows.allvisit                     - 文章所有访问量
articlerows.dayvote                        - 文章当天票数
articlerows.weekvote                     - 文章本星期票数
articlerows.monthvote                      - 文章本月票数
articlerows.allvote                        - 文章所有票数
articlerows.lastupdate                     - 最后更新日期
articlerows.fullflag                     - 文章状态
url_jumppage                                  - 分页跳转


19.masterpage.php
功能说明:作家工具 -> 我的文章
模板文件:/templates/masterpage.html
模板标签:
url_article                              - 表单提交的url
articletitle                               - 正在查看的文章类型标题
articlerows.checkid                     - 显示序号
articlerows.articleid                   - 文章序号
articlerows.articlename               - 文章名称
articlerows.url_articleinfo             - 文章名称的url
articlerows.lastchapterid               - 最新章节序号
articlerows.lastchapter               - 最新章节名称
articlerows.url_lastchapter             - 最新章节名称到章节内容页的url
articlerows.url_articleindex            - 最新章节名称到章节对应目录页的url
articlerows.lastvolume                  - 分卷序号
articlerows.lastvolume                  - 分卷名称
articlerows.authorid                  - 作者的序号
articlerows.author                      - 作者名
articlerows.posterid                  - 发表者序号
articlerows.poster                      - 发表者
articlerows.agentid                     - 代理者序号
articlerows.agent                     - 代理者
articlerows.sortid                      - 类别序号
articlerows.sort                        - 类别
articlerows.size_k                      - 文章字节数
articlerows.dayvisit                  - 文章当天访问量
articlerows.weekvisit                   - 文章本星期访问量
articlerows.monthvisit                  - 文章本月访问量
articlerows.allvisit                  - 文章所有访问量
articlerows.dayvote                     - 文章当天票数
articlerows.weekvote                  - 文章本星期票数
articlerows.monthvote                   - 文章本月票数
articlerows.allvote                     - 文章所有票数
articlerows.lastupdate                  - 最后更新日期
articlerows.fullflag                  - 文章状态
articlerows.operate                     - “管理”及“管理”的url
articlerows.articlesubdir               - 子目录
url_jumppage                               - 分页跳转


20.notebook.php
功能说明:作家工具 -> 会客室
模板文件:/templates/notebook.html
模板标签:
authorid                               - 作家序号
authorname                           - 作家名
enablepost                           - 判断是否显示“发表留言”功能块(值为1里显示)
url_notebook                           - “发表留言”提交url
noterows.posterid                   - 判断留言者的身分
noterows.postername               - 留言者
noterows.postdate                   - 留言时间
noterows.notetext                   - 留言内容
noterows.replytext                  - 回复内容
noterows.noteid                     - 留言的序号
noterows.ismaster                   - 判断是否显示“删除回复”(值为1时显示)
url_jumppage                           - 分页跳转


21.myarticle.php
功能说明:作家工具
模板文件:/templates/myarticle.html


22.newarticle.php
功能说明:作家工具 -> 新建文章


23.newchapter.php
功能说明:文章管理 -> 增加章节


24.newdraft.php
功能说明:作家工具 -> 新建草稿


25.newvolume.php
功能说明:文章管理 -> 新建分卷


26.notebook.php
功能说明:作家工具 -> 会客室
模板文件:/templates/notebook.html
模板标签:
authorid                               - 作家序号
authorname                           - 作家名
enablepost                           - 判断是否显示“发表留言”功能块(值为1里显示)
url_notebook                           - “发表留言”提交url
noterows.posterid                   - 判断留言者的身分
noterows.postername               - 留言者
noterows.postdate                   - 留言时间
noterows.notetext                   - 留言内容
noterows.replytext                  - 回复内容
noterows.noteid                     - 留言的序号
noterows.ismaster                   - 判断是否显示“删除回复”(值为1时显示)
url_jumppage                           - 分页跳转


27.notereply.php
功能说明:作家工具 -> 会客室 -> 留言回复


28.reviews.php
功能说明:文章书评
模板文件:/templates/reviews.html
模板标签:
articleid                              - 文章序号
articlename                            - 文章名
url_articleinfo                        - 文章名的url
type                                 - 判断查看的书评的类类型('good'为精书评,'all'为全部书评)
ismaster                               - 判断“置顶”、“置后”的显示(值为1里显示“置顶”)
reviewrows.topflag                  - 判断书评是否被“置顶”(值为1时被置顶)
reviewrows.goodflag               - 判断书评是否被“加精”(值为1时被加精)
reviewrows.reviewid               - 书评的序号
reviewrows.title                  - 书评的主题
reviewrows.views                  - 书评的点击数
reviewrows.replies                  - 书评的回复数
reviewrows.postdate               - 书评时间
reviewrows.posterid               - 书评人的序号
reviewrows.poster                   - 书评人
reviewrows.url_top                  - “置顶”的url
reviewrows.url_untop                - “置后”的url
reviewrows.url_good               - “加精”的url
reviewrows.url_normal               - “去精”的url
reviewrows.url_delete               - “删除”的url
reviewrows.articleid                - 文章序号
reviewrows.articlename            - 文章名
enablepost                           - 判断是否显示“发表书评”功能块
url_jumppage                           - 分页跳转


29.reviewshow.php
功能说明:文章书评具体查看
模板文件:/templates/reviewshow.html
模板标签:
articleid                                    - 文章序号
articlename                                  - 文章名
reviewid                                     - 书评的序号
title                                        - 书评主题
articlename                                  - 文章名
url_articleinfo                              - 文章名的url
jieqi_use_badge                              - 用户是否使用徽章
replyrows.groupname                     - 用户所在群组
replyrows.regdate                         - 用户加入日期
replyrows.experience                      - 用户经验
replyrows.score                           - 用户积分
replyrows.avatar                        - 判断用户是否有头像
replyrows.avatarurl                     - 头像的url
replyrows.honor                           - 判断用户是否有头衔徽章
replyrows.honorurl                        - 头衔徽章的url
replyrows.groupurl                        - 等级徽章的url
replyrows.badgerows                     - 自定义徽章的url
replyrows.articleid                     - 文章序号
replyrows.istopic                         - 判断删除的是书评还是回复
replyrows.userid                        - 评论者的序号
replyrows.username                        - 评论者
replyrows.posttime                        - 书评发表的时间
replyrows.posttext                        - 评论/回复内容
replyrows.posterip                        - 评论者的IP
replyrows.subject                         - 评论/回复的标题
enablepost                                 - 判断是否显示“发表书评”功能块
url_jumppage                                 - 分页跳转


30.search.php
功能说明:文章搜索
模板文件:/templates/searchresult.html
模板标签:
articlerows.articleid                           - 文章序号
articlerows.articlename                         - 文章名称
articlerows.url_articleinfo                     - 到文章信息页的url
articlerows.lastchapterid                     - 章节序号
articlerows.lastchapter                         - 章节名称
articlerows.url_lastchapter                     - 章节的url
articlerows.lastvolume                        - 分卷序号
articlerows.lastvolume                        - 分卷名称
articlerows.url_articleindex                  - “最新章节”的url
articlerows.authorid                            - 作者序号
articlerows.author                              - 作者
articlerows.posterid                            - 发表者序号
articlerows.poster                              - 发表者
articlerows.agentid                           - 代理者序号
articlerows.agent                               - 代理者
articlerows.sortid                              - 类别序号
articlerows.sort                              - 类别
articlerows.size_k                              - 文章字节数
articlerows.dayvisit                            - 文章当天访问量
articlerows.weekvisit                           - 文章本星期访问量
articlerows.monthvisit                        - 文章本月访问量
articlerows.allvisit                            - 文章所有访问量
articlerows.dayvote                           - 文章当天票数
articlerows.weekvote                            - 文章本星期票数
articlerows.monthvote                           - 文章本月票数
articlerows.allvote                           - 文章所有票数
articlerows.lastupdate                        - 最后更新日期
articlerows.fullflag                            - 文章状态
url_jumppage                                       - 分页跳转


31.toplist.php
功能说明:小说排行
模板文件:/templates/toplist.html
模板标签:
articletitle                                       - 小说排行的具体项标题
articlerows.articleid                           - 文章序号
articlerows.articlename                         - 文章名称
articlerows.url_articleinfo                     - 到文章信息页x的url
articlerows.lastchapterid                     - 章节序号
articlerows.lastchapter                         - 章节名称
articlerows.url_lastchapter                     - 章节的url
articlerows.lastvolume                        - 分卷序号
articlerows.lastvolume                        - 分卷名称
articlerows.url_articleindex                  - “最新章节”的url
articlerows.authorid                            - 作者序号
articlerows.author                              - 作者
articlerows.posterid                            - 发表者序号
articlerows.poster                              - 发表者
articlerows.agentid                           - 代理者序号
articlerows.agent                               - 代理者
articlerows.sortid                              - 类别序号
articlerows.sort                              - 类别
articlerows.size_k                              - 文章字节数
articlerows.dayvisit                            - 文章当天访问量
articlerows.weekvisit                           - 文章本星期访问量
articlerows.monthvisit                        - 文章本月访问量
articlerows.allvisit                            - 文章所有访问量
articlerows.dayvote                           - 文章当天票数
articlerows.weekvote                            - 文章本星期票数
articlerows.monthvote                           - 文章本月票数
articlerows.allvote                           - 文章所有票数
articlerows.lastupdate                        - 最后更新日期
articlerows.fullflag                            - 文章状态
url_jumppage                                       - 分页跳转


32.votearticle.php
功能说明:给文章添加投票
模板文件:/templates/votearticle.html
模板标签:
articleid                                  - 文章序号
articlename                              - 文章名
url_articleinfo                            - 文章名的url
voterows.voteid                         - 投票项的序号
voterows.title                        - 投票主题
voterows.ispublish                      - 投票主题发布状态(值为0时“未发布”)
voterows.starttime                      - 开始日期
voterows.endtime                        - 结束日期


33.voteresult.php
功能说明:文章投票结果查看
模板文件:/templates/voteresult.html
模板标签:
articleid                                    - 文章序号
url_articleinfo                              - 文章的url
resultrows.item                           - 投票选项
resultrows.stat                           - 票数
resultrows.percent                        - 票数百分比


部分系统标签如下

1.userdetail.php
功能说明:用户信息
模板文件:/templates/userdetail.html
模板标签:
uid                   - 用户ID
uname               - 用户名
name                  - 昵称
group               - 等级
honor               - 头衔
sex                   - 性别
Email               - 电子邮件
qq                  - QQ
icq                   - ICQ
url                   - 网站
regdate               - 注册日期
credit                - 贡献值
experience            - 经验值
score               - 现有积分
system_maxfriends   - 最多好友数
system_maxmessages    - 信箱最多消息数
article_maxbookmarks- 书架最大收藏
article_dayvotes      - 每天允许推荐次数
viptype               - VIP类型
sign                  - 用户签名
intro               - 个人简介


2.login.php
功能说明:用户登录
模板文件:/templates/login.html
模板标签:
url_login      - 登录提交的url
url_register   - 用户注册的url
url_getpass    - 取回密码的url
show_checkcode - 是否显示验证码,0-不显示 1-显示
url_checkcode- 验证码图片的url


3.系统标签部分是全站页面通用的标签,标签默认写法是 {?$标签名?},如标签名字是 jieqi_url 则html模板里面标
签写法为{?$jieqi_url?}

jieqi_url         - 本机URL的根路径(使用相对路径时候本变量是空的,用绝对路径时候是完整地址,如
http://www.12345t.com)
jieqi_rootpath    - 网站根目录的物理路径,如E:/web
jieqi_local_url   - 本机完整的URL的根路径(跟jieqi_url区别是,使用相对路径时候本变量也是完整地址)
jieqi_main_url    - 主服务器的URL地址
jieqi_user_url    - 用户入口服务器的URL地址
jieqi_host      - 网站地址里面的主域,如 www.12345t.com
jieqi_charset   - 当前页面编码,如gbk, big5
jieqi_version   - 系统程序主版本号,如 1.50
jieqi_theme       - 网站当前风格名称,如 jieqidiv
jieqi_themeurl    - 网站当前风格的yrl,如http://www.12345t.com/themes/jiqidiv
jieqi_time      - 当前时间,int型
jieqi_sitename    - 网站名称
jieqi_pagetitle   - 网页title
jieqi_email       - 网站联系Email
meta_keywords   - 网站meta关键字
meta_description- 网站meta描述
meta_copyright    - 网站meta版权声明
jieqi_banner      - 网站banner
jieqi_head      - 网页<head>和</head>之间附加代码
jieqi_top_bar   - 网页顶部通栏代码
jieqi_bottom_bar- 网页底部通栏代码
jieqi_menu      - 程序生成的下拉菜单赋值成这个变量,在较老版本使用,新版里面菜单直接在theme.html里
面修改

jieqi_userid      - 用户ID
jieqi_username    - 用户昵称(用户未设置昵称时候即登录账号)
jieqi_useruname   - 用户名(登录账号)
jieqi_group       - 用户组别数字
jieqi_groupname   - 用户组别名称
jieqi_score       - 用户积分
jieqi_experience- 用户经验
jieqi_honor       - 用户头衔
jieqi_vip         - 用户vip标志 0-非vip,1-vip会员
jieqi_egold       - 用户虚拟币金额
jieqi_avatar      - 用户头像图片类型标志 0-无头像图 1-gif, 2-jpg, 3-jpeg, 4-png, 5-bmp
jieqi_newmessage- 新的站内短信标志,0-无新消息 1-有新消息
jieqi_userstatus- 用户状态 1-未登陆 2-管理员 3-登录用户
url_big5          - 当前页面转换成big5编码的url
url_gb2312      - 当前页面转换成gbk编码的url
url_gbk         - 当前页面转换成gbk编码的url(跟url_gb2312相同)
url_utf8          - 当前页面转换成utf8编码的url(暂未启用)

jieqi_modules   - 数组包含当前各个模块的名字路径等
以小说连载模块('article')为例
{?$jieqi_modules['article']['caption']?} 表示模块名称,如“小说连载”
{?$jieqi_modules['article']['url']?} 表示模块url,如“http://www.jieqi.com/modules/article”
{?$jieqi_modules['article']['dir']?} 表示模块相对路径,如 “/modules/article”
{?$jieqi_modules['article']['path']?} 表示模块绝对路径,如 “E:/web/modules/article”
{?$jieqi_modules['article']['theme']?} 表示模块当前风格,如 “jieqidiv”
{?$jieqi_modules['article']['publish']?} 表示模块是否启用,1-启用 ,0-不启用

龙哥 发表于 2015-9-30 19:43


标签是这样用的
把以下的标签代码复制进去,这样就可以用在想用的地方了
比如你要在模板某处添加文章的序号 你就这样
{?$articlerows.articleid?}

杰奇小说模块标签大全block_transarticles.php
功能说明:转载文章列表(动态)
模板文件:/templates/blocks/block_transarticles.html
模板标签:
articlerows.articleid                                 - 文章序号
articlerows.articlename                                 - 文章名

block_uarticles.php
功能说明:我的文章列表(原创,动态)
模板文件:/templates/blocks/block_uarticles.html
模板标签:
articlerows.articleid                           - 文章序号
articlerows.articlename                         - 文章名称
articlerows.url_articleinfo                     - 文章名称的url
articlerows.type                              - 文章类型
articlerows.intro                               - 文章内容简介
articlerows.postdate                            - 文章的创建时间(日期)
articlerows.posttime                            - 文章的创建时间(秒数)
articlerows.update                              - 文章的最后修改时间(日期)
articlerows.uptime                              - 文章的最后修改时间(秒数)
articlerows.visitnum                            - 文章的访问量
articlerows.htmlurl                           - 文章静态页面的url
articlerows.url_index                           - 文章静态页面的url
articlerows.url_image                           - 文章封面图片的url
articlerows.lastchapterid                     - 章节序号
articlerows.lastchapter                         - 章节名称
articlerows.url_lastchapter                     - 章节的url
articlerows.lastvolume                        - 分卷序号
articlerows.lastvolume                        - 分卷名称
articlerows.url_articleindex                  - “最新章节”的url
articlerows.authorid                            - 作者序号
articlerows.author                              - 作者
articlerows.posterid                            - 发表者序号
articlerows.poster                              - 发表者
articlerows.agentid                           - 代理者序号
articlerows.agent                               - 代理者
articlerows.sortid                              - 类别序号
articlerows.sort                              - 类别
articlerows.size_k                              - 文章字节数
articlerows.dayvisit                            - 文章当天访问量
articlerows.weekvisit                           - 文章本星期访问量
articlerows.monthvisit                        - 文章本月访问量
articlerows.allvisit                            - 文章所有访问量
articlerows.dayvote                           - 文章当天票数
articlerows.weekvote                            - 文章本星期票数
articlerows.monthvote                           - 文章本月票数
articlerows.allvote                           - 文章所有票数
articlerows.lastupdate                        - 最后更新日期
articlerows.fullflag                            - 文章状态

block_ubookcase.php
功能说明:我的书架(原创,动态)
模板文件:/templates/blocks/block_ubookcase.html
模板标签:
bookcaserows.caseid                           - 收藏ID
bookcaserows.articleid                        - 文章序号
bookcaserows.lastchapterid                      - 章节序号
bookcaserows.lastchapter                        - 章节名
bookcaserows.url_lastchapter                  - 章节的url
bookcaserows.sortid                           - 类别序号
bookcaserows.typeid                           - 类型序号
bookcaserows.sort                               - 文章类别
bookcaserows.type                               - 文章类型
bookcaserows.authorid                           - 作者序号
bookcaserows.author                           - 作者
bookcaserows.url_articleinfo                  - 到文章信息页的url
bookcaserows.url_index                        - 到文章目录页的url
bookcaserows.lastupdate                         - 最后修改时间
bookcaserows.url_delete                         - “删除”的url

block_writerbox.php
功能说明:作家工具(静态-文本)
模板文件:/templates/blocks/block_writerbox.html
模板标签:
userid                              - 用户序号

articleinfo.php
功能说明:文章信息页
模板文件:/templates/articleinfo.html
模板标签:
authorid                                 - 作者的ID
author                                     - 作者的名称
agentid                                    - 管理员的ID
agent                                    - 管理员的名称
articlename                              - 文章标题
lastupdate                                 - 最后更新
fullflag                                 - 文章状态
permission                                 - 授权级别
firstflag                                  - 首发状态
allvisit                                 - 总点击数
monthvisit                                 - 本月点击
weekvisit                                  - 本周点击
goodnum                                    - 收 藏 数
allvote                                    - 总推荐数
monthvote                                  - 本月推荐
weekvote                                 - 本周推荐
obook_lastchapter                        - 最近VIP
obook_lastchapterid                        - 最近VIP的ID
intro                                    - 内容简介
notice                                     - 本书公告
hasimage                                 - 用来判断文章是否有图片(1:有小图片; 0:无小图片)
url_simage                                 - 小图的url
url_limage                                 - 大图的url(如果文章没有大图片,则 url_limage 为空)
lastchapter                              - 最近章节
url_lastchapter                            - 最近章节url
size_c                                     - 全文长度
allvisit                                 - 总点击数
url_manage                                 - 文章管理的url
url_report                                 - 举报的url
articleid                                  - 文章序号
url_read                                 - “点击阅读”的url
url_fullpage                               - “全文阅读”的url
url_bookcase                               - “加入书架”的url
url_uservote                               - “推荐本书”的url
url_authorpage                           - “作者专栏”的url
url_download                               - “打包下载”的url
url_txtarticle                           - “TXT全文下载”的url
hasobook                                 - 控制VIP章节的显示
showvote                                 - 用来判断是否显示“作品投票调查”一栏
votetitle                                  - 投票主题
voteid                                     - 本投票的ID
mulselect                                  - 判断投票内容为单选框还是处复选框
voteitemrows.id                         - 给单选框(复选框)赋值,对便取得被投票内容
voteitemrows.item                     - 投票内容
eachlinknum                              - 用来判断是否显示“推荐阅读”一栏
eachlinkrows.articleid                  - 推荐阅读文章的ID
eachlinkrows.articlename                - 推荐阅读文章的标题
eachlinkrows.url_articleinfo            - 推荐阅读文章标题的url
obook_obookid                              - 电子书的ID
reviewrows.istop                        - 判断是否为置顶书评
reviewrows.isgood                     - 判断是否为精华书评
reviewrows.title                        - 书评标题
reviewrows.views                        - 书评的点击率
reviewrows.replies                      - 书评的回复数
reviewrows.poster                     - 书评发表人
reviewrows.replytime                  - 书评发表时间
url_goodreview                           - 精华书评的url
url_allreview                              - 全部书评的url
url_review                                 - 书评提交的url

articlemanage.php
功能说明:文章管理
模板文件:/templates/articleinfo.html
模板标签:
article_table               - 文章标题、章节部分
sort_form                   - “章节排序”功能块
repack_form               - “重新生成”功能块

authorpage.php
功能说明:文章作者信息
模板文件:/templates/authorpage.html
模板标签:
authorid                              - 作者ID
author                              - 作者用户名
authorsex                           - 作者性别
authortype                            - 作者头衔
authorintro                           - 作者个人简介
articlerows.articletype            - 相关作品的类别
articlerows.articleid            - 相关作品的ID
articlerows.articlename            - 相关作品的标题
articlerows.url_articleinfo      - 相关作品标题的url
articlerows.lastchapter            - 相关作品的最新章节
articlerows.url_lastchapter      - 相关作品最新章节的url
articlerows.lastupdate             - 相关作品更新时间
articlerows.visitnum               - 相关作品点击数
articlerows.votenum                - 相关作品推荐数
url_notebook                        - “会客室”的url
enablepost                            - 判断是否显示“发表留言”功能块(值为1时显示)
url_notebook                        - “发表留言”功能块的提交路径
noterows['posterid']               - 判断留言者的身分(值为0时身分为“游客”,反之则为$noterows
[$k]['postername'])
noterows['postername']             - 留言者的用户名
noterows.postdate                  - 留言的时间
noterows.notetext                  - 留言内容
noterows.replytext               - 回复内容(回复内容为空时不显示回复块)


bookcase.php
功能说明:用户书架
模板文件:/templates/bookcase.html
模板标签:
maxmarkclass                                 - 用户的书架数
markclassrows.classid                     - 书架序号
bookcaserows.caseid                         - 收藏序号
bookcaserows.url_articleinfo                - 书架书本到文章信息页的url
bookcaserows.articlename                  - 书架里的书本名
bookcaserows.url_index                      - 书架书本到文章章节内容页的url
bookcaserows.lastchapter                  - 书架书本的最新章节
bookcaserows.url_lastchapter                - 书架书本最新章节的url
bookcaserows.articlemark                  - 书架书本的书签
bookcaserows.url_articlemark                - 书架书本书签的url
bookcaserows.lastupdate                     - 书架书本的更新时间
bookcaserows.url_delete                     - 书架书本“移除”的url
maxbookcase                                    - 用户的最大收藏数
nowbookcase                                    - 用户已收藏的书本数

draft.php
功能说明:作家工具里的草稿箱
模板文件:/templates/draft.html
模板标签:
draftrows.checkbox                         - 复选框
draftrows.articleid                        - 文章的ID
draftrows.articlename                      - 文章标题
draftrows.draftid                        - 文章章节ID
draftrows.draftname                        - 文章章节名称
draftrows.url_delete                     - 删除的url
url_jumppage                                  - 分页跳转

index.php
功能说明:在线书库
模板文件:/templates/articlelist.html
模板标签:
fakefile                                    - 横排字母的连接
url_initial                                 - 横排字母的连接
articlerows.articleid                      - 文章序号
articlerows.articlename                  - 文章名称
articlerows.url_articleinfo                - 文章名称的url
articlerows.lastchapterid                  - 章节序号
articlerows.lastchapter                  - 章节名称
articlerows.url_lastchapter                - 章节名称的url
articlerows.lastvolumeid                   - 分卷序号
articlerows.lastvolume                     - 分卷名称
articlerows.url_articleindex               - 分卷名称的url
articlerows.authorid                     - 作者ID
articlerows.author                         - 作者
articlerows.posterid                     - 发表者ID
articlerows.poster                         - 发表者
articlerows.agentid                        - 代理者ID
articlerows.agent                        - 代理者
articlerows.sortid                         - 类别序号
articlerows.sort                           - 类别名
articlerows.typeid                         - 字类型序号
articlerows.type                           - 字类型
articlerows.dayvisit                     - 文章当天访问量
articlerows.weekvisit                      - 文章本星期访问量
articlerows.monthvisit                     - 文章本月访问量
articlerows.allvisit                     - 文章所有访问量
articlerows.dayvote                        - 文章当天票数
articlerows.weekvote                     - 文章本星期票数
articlerows.monthvote                      - 文章本月票数
articlerows.allvote                        - 文章所有票数
articlerows.lastupdate                     - 最后更新日期
articlerows.fullflag                     - 文章状态
url_jumppage                                  - 分页跳转
页: [1]
查看完整版本: 杰奇模板的各种标签使用方法和解释