杰奇CMS小說網站源碼二次開發調用標簽代碼全集。
標簽是這樣用的
把以下的標簽代碼復制進去,這樣就可以用在想用的地方了
比如你要在模板某處添加文章的序號 你就這樣
{?$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 – 分頁跳轉