<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 公共標簽 #### 1、模板文件嵌套引用 {include file\=\*\*\*.html} 使用說明: 可以嵌套使用,如:index.html 嵌套一個head.html,同時head.html中嵌套comm.html 支持使用子目錄,如:{include file=comm/*\**.html} #### 2、時間格式化標簽 style\=\** 如:內容列表時間格式化\[list:date style\=Y\-m\-d\]、內容詳情頁時間格式化{content:date style\=Y\-m\-d} 使用說明: 時間格式化標簽和PHP時間格式化語法一致,分別用不同字母代替,中間可以穿插任意字符,如:Y-m-d、Y/m/d、Y年m月d日等等 注意:Y代表完整年份,y代表簡化年份,m代表月份,d代表日,H代表小時,i代表分,s代表秒,如完整時間:style='Y-m-d H:i:s',更多請參考PHP時間格式化語法 ,參考鏈接 :[http://php.net/manual/zh/function.date.php](http://php.net/manual/zh/function.date.php) #### 3、HTML去除標簽 drophtml\=1* 如:內容列表內容\[list:content drophtml\=1\]、內容詳情頁內容{content:content drophtml\=1} 使用說明: 一般在首頁等特殊位置需要調取正文一段純文本時使用,這時一般會配合下面的內容截取標簽一起使用 #### 4、內容截取標簽 ~~~ 長度截取使用len=* 或 lencn=* ,使用第二個將避免中英文長度不統一問題,一個英文字符算半個字 (V1.3.5+)內容截取時可使用more='*'設置省略號內容,設置more=''則不顯示省略號 如:內容列表標題截取[list:title len=10]、內容詳情頁時間格式化{content:title len=10} substr=x,y 截取一段 substr截取字符串長度,傳遞兩個數字,第一個為起始位置,第二個為截取長度,如只有一個數字則截取此數字起后面全部 ~~~ 使用說明: 使用內容截取時要注意如果是html內容需要先去除html再截取,否則可能導致html錯位,如:\[list:content drophtml=1 len=50\] #### 5、其它格式化標簽 ~~~ dropblank=1 ,去除空白字符,如換行符、制表符等decode=1 解碼數據html字符,如果等于0.則不解碼(包括源碼已經解碼的),此標簽一般不使用 decimal=* 小數點位數unit=* 容量單位,可以是kb,mb,gb,tb,pb,eb ~~~ #### 6、自定義標簽 ~~~ {label:***} ~~~ 使用說明: 在后臺”全局配置>定制標簽“中定義,前臺使用對應名字進行調用即可 #### 7、面包屑標簽 ~~~ {pboot:position} ~~~ 參數說明: separator=\* 分隔符,非必填,默認為>> separatoricon=\* 分割圖標,非必填,如使用圖標字體:separatoricon='fa fa-angle-double-right' indextext=\* 首頁文本,非必填,默認為"首頁" indexicon=\* 首頁圖標,非必填,如使用圖標字體:indexicon='fa fa-home' #### 8、當前網址 ~~~ {pboot:httpurl} ~~~ 使用說明: 自適應獲取當前訪問網址,主要用于需要使用網站路徑前綴的情況,如輸出:[https://www.pbootcms.com](https://www.pbootcms.com/) #### 9、當前頁面 ~~~ {pboot:pageurl} ~~~ 使用說明: 自適應獲取當前訪問頁面完整地址 #### 10、二維碼生成標簽 ~~~ {pboot:qrcode string=***} ~~~ 使用說明: 用于生成對應文本的二維碼圖片,可用于產品列表頁或詳情頁為每個產品生成二維碼 :{pboot:qrcode string={pboot:httpurl}{content:link}}或{pboot:qrcode string={pboot:pageurl} #### 11、程序運行時間 ~~~ {pboot:runtime\} ~~~ 使用說明: 用于輸出頁面運行時間/緩存時間,使用時請將反斜杠去掉。 #### 12、留言驗證碼開關狀態 ~~~ {pboot:checkcodestatus} ~~~ 使用說明: 用于判斷留言驗證碼是否開啟狀態,方便頁面控制驗證碼圖標的顯示。 #### 13、站點地圖 ~~~ http://domain/index.php/sitemaphttp://domain/index.php/sitemap.xml ~~~ 使用說明: 系統使用動態站點地圖,不需要生成,訪問地址即為實時地圖,輸出格式為xml,當然你也可以打開后另存為一個地圖文件。 如果你已經開啟偽靜態,那么地址中將可以不含有index.php。 #### 14、圖片縮放(v1.3.5+) ~~~ 總共四個參數: width=* height=* maxwidth=* maxheight=*如:[list:ico width=100] ~~~ 使用說明: 四個參數可以組合使用。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看