<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>

                ~~~ content循環列表調用 循環外部標簽共支持 content,list,search,taglist,內部標簽都一樣。 content 和 list 區別 list循環是可以分頁的(size=10),在不分頁情況下和content循環一樣。 建議大家多使用content,有分頁需求才使用list,否則分頁會出錯。 search 是用于搜索結果頁。 taglist 是用于tag標簽結果頁。 {wangji:content type=? sid=? nosid=? num=? title=? nonum=? id=? noid=? brand=? time=? order=?where=?} [contet:?] {/wangji:content} 參數使用說明: 參數 名稱 內容 說明 使用方法 必要 type= 模型 news,product…等模型 調用指定模型內容 type=news 二選一必要 sid= 分類 數字 or 數組 當前分類下的內容 sid=5 二選一必要 nosid= 分類 數字 不包含分類下的內容 nosid=5 id= 編號 數字 or 數組 只顯示此ID內容 id=5 noid= 編號 數字 or 數組 不顯示此ID內容 noid=5 num= 數量 數字 顯示多少個內容 num=10 必要 nonum= 數量 數字 不顯示前面多少個內容 nonum=3 brand= 品牌 品牌英文 僅顯示某品牌內容 brand=xiaomi title= 標題 關鍵詞 模糊搜索標題 title=產品名 order= 排序 order,istop… 見下方排序規則 order=order time= 時間范圍 day,week,month 當天,當周,當月 time=month where= 自定義規則 見下方自定義where where=zprice>0 標簽使用說明: 標簽 說明 備注 [content:i] 計數 從1開始 [content:j] 計數 從0開始 [content:id] 編號 [content:title] 標題 [content:downurl] 下載地址 [content:link] 鏈接 [content:color] 標題顏色 [content:sname] 分類名稱 [content:senname] 分類名稱 [content:slink] 分類鏈接 [content:date] 日期 [content:tag] tag標簽 [content:istop] 置頂 [content:isgood] 推薦 [content:ispic] 圖片新聞 [content:star] 內網星級 [content:downurl] 下載地址 [content:desc] 描述 [content:pic] 索引圖 [content:spic] 索引小圖 [content:pics] 圖片 [content:visits] 訪問量 [content:tag] tag標簽 [content:indexvideo] 首頁視頻 [content:videourl] 內頁視頻 [content:content] 內容 沒有格式 [content:info] 內容 保留格式 [content:desc] 內容摘要 [content:target] 外鏈新開窗口 包含http則輸出target=_blank [content:zauthor] 作者 自定義字段 [content:zsource] 來源 自定義字段 [content:z???] 自定義模型 ???是模型參數名稱 自定義where | where=? | 類似于sql中的where寫法 | and替換成+? or替換成豎線 | 例如where=ispic:0,轉換成sql就是ispic=0,調用非圖片內容 例如where=(ispic:0|istop:0),轉換成sql就是 (ispic=0 or istop=0),調用非圖片或者非置頂內容 例如where=zprice>0+issell:1,轉換成sql就是zprice>0 and issell=1,調用正在銷售中價格大于0的產品 排序規則 標簽 說明 asc=asc (升序) asc=desc (降序) order=order (以后臺填入的order數值排序) order=id (以內容id排序) order=visits (根據瀏覽量排序) order=time (根據添加時間排序) order=istop (置頂) order=isgood (推薦) order=ispic (含圖片) order=issell (在售) order=isoffer (特價) order=notop (不包含置頂))V.1.3.7以后支持 order=nogood (不包含推薦))V.1.3.7以后支持 order=nopic (不包含圖片)V.1.3.7以后支持 order=nosell (不包含在售)V.1.3.7以后支持 order=nooffer (不包含特價)V.1.3.7以后支持 事例: 調用新聞(任意模板頁均可使用): {wangji:content type=news num=10}<a title="[content:title]" href="[content:link]"><span class="fr">{formatdate:[content:date],yy-m-d}</span>[content:title len=20]</a>{/wangji:content} 調用新聞(外鏈使用): {wangji:content sid=1 num=10} <a title="[content:title]" href="[content:link]" [content:target]> [content:title len=20] </a> {/wangji:content} 當[content:link]中包含"http://",[content:target]結果是target="_blank",否則為空。 例如內容中是http://baidu.com ,結果就是 新開窗口,打開百度。 調用圖片內容,指定分類 {wangji:content sid=5,6,7 num=6 order=order}<li> <a href="[content:link]" title="[content:title]"><img src="[content:pic]" width=210 height=160 alt="[content:title]" title="[content:title]" /><h3>[content:title len=15] </h3> </a></li>{/wangji:content} ~~~
                  <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>

                              哎呀哎呀视频在线观看