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

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                index.php,這個頁面會在多處用到。 比如首頁、列表頁、標簽頁、用戶頁等等與列表有關系的所有頁面。 # 經常要用到的模板: 頭部文件: ~~~ {template:header} ~~~ 菜單導航: ~~~ {module:navbar} ~~~ 分頁文件: ~~~ {template:pagebar} ~~~ 側邊模塊調用 ~~~ {template:sidebar} ~~~ 尾部文件: ~~~ {template:footer} ~~~ 獲取文章列表: ~~~ {foreach $articles as $article} {if $article.IsTop} {template:post-istop} //置頂文章樣式 {else} {template:post-multi} //普通文章樣式 {/if} {/foreach} ~~~ # 常用標簽 {$type}:頁面屬性,比如(首頁、列表頁、標簽頁、用戶頁) {$subname}:博客副標題 # 頁面分離,頁面判斷: ~~~ {if $type=='index'&&$page=='1'} /*判斷首頁*/ ~~~ 很多用戶在制作主體的時候,希望首頁、列表頁、標簽頁、用戶頁等顯示的頁面均不相同了,這個時候就需要用到頁面判斷,在index.php頁面清空,然后直接寫判斷語句,例如判斷首頁{if $type=='index'&&$page=='1'},當頁面是首頁的時候{template:index_index},調用index_index.php。當然index_index.php文件時需要在模板下面創建的。
                  <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>

                              哎呀哎呀视频在线观看