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

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## 1、準備工作 將前臺視圖文件,復制到 Home\View\Index目錄中 ![](https://img.kancloud.cn/02/f4/02f46b1ba6a6116f76cae586a4b098e9_510x193.png) 將前臺的靜態資源文件(圖片、CSS、JS),復制到 Public\Home目錄中 ![](https://img.kancloud.cn/38/a1/38a14f7e800b67e26913084d1d517de0_577x173.png) 修改視圖文件的靜態資源路徑 ![](https://img.kancloud.cn/e5/61/e561a71ef3305ee309c4e7b3c800927f_880x66.png) ## 2、前端配置文件:./Home/Conf/Config.php ![](https://img.kancloud.cn/66/62/666299859a15395328c51b18a3e8759d_552x356.png) ## 3、首頁控制器添加index()方法 ![](https://img.kancloud.cn/b6/77/b67766f6c2a2eebdb093e16062ba5d30_626x289.png) ## 4、獲取友情鏈接數據 ![](https://img.kancloud.cn/12/df/12dfa5dd0fe29d01cf07bccba8faab5c_216x247.png) (1)首頁控制器index()方法修改 ![](https://img.kancloud.cn/11/cb/11cb1b9f64ee2628c2850549e3f45fa2_674x470.png) (2)創建友情鏈接模型類:./Home/Model/LinksModel.class.php ![](https://img.kancloud.cn/b1/20/b1208ea3880278b807ea203e41be99ed_633x222.png) (3)首頁視圖文件:index.html ![](https://img.kancloud.cn/c6/4e/c64efcb09df6b9ca76f362af275870f1_828x244.png) ## 5、獲取無限級文章分類數據 ![](https://img.kancloud.cn/a8/a2/a8a2c6b02ebfd11296180fa7e5dd3417_218x319.png) (1)首頁控制器index()方法修改 ![](https://img.kancloud.cn/55/dd/55dda9655a814ed0eeff6c3364bf90c3_741x395.png) (2)文章分類模型類添加fetchAllWithJoin()方法 ![](https://img.kancloud.cn/07/80/0780eb589a3c87166daec968e18e6390_959x464.png) (3)首頁視圖文件:index.html ![](https://img.kancloud.cn/75/9c/759ca67e20da27de9e95a1d0adf92ce5_699x262.png) ## 6、獲取文章按月份歸檔數據 ![](https://img.kancloud.cn/c7/df/c7df3e26fba461f7d147c299c9fc7b2a_220x199.png) (1)首頁控制器index()方法修改 ![](https://img.kancloud.cn/41/9e/419e30af2efc13598fcf636c9b8cb8d8_697x489.png) (2)文章控制器添加fetchAllWithCount()方法 時間戳格式為:2018-05-20 10:08:12 文章發布時間為秒值:1480995907 秒值轉換成時間戳的MySQL函數:from_unixtime() 時間戳格式化的MySQL函數:date_format() ![](https://img.kancloud.cn/fd/b6/fdb6cd0f44e2105ae8b84b91af56af5c_888x509.png) (3)首頁視圖文件:index.html ![](https://img.kancloud.cn/39/30/3930699868d078b86080ae045697f518_731x242.png) ## 7、首頁數據分頁 如果保證首頁文章簡介數據截取正常: (1)在文章數據表中添加一個描述的字段,專門用來保存首頁簡介的內容; (2)使用CSS的中超高的內容不再顯示,display:overflow (1)分頁類文件:./Frame/Vendor/Pager.class.php ![](https://img.kancloud.cn/c2/16/c2164ede245797a430d765b8442aa580_791x67.png) ![](https://img.kancloud.cn/b2/ff/b2ff73fde8c17f22c177e9114e9bba86_776x358.png) (2)首頁控制器index()方法修改 ![](https://img.kancloud.cn/90/e2/90e222fa4d94d44624cc6d08fcbf69d2_817x521.png) (3)文章模型類fetchAllWithJoin()方法修改 ![](https://img.kancloud.cn/79/99/7999ae156f6dcd2e1f6c4e771dd1fcdc_816x290.png) ## 8、構建搜索條件 (1)首頁視圖文件:index.html ![](https://img.kancloud.cn/6d/1d/6d1d093f1beda39b9e2c8bf55bbe492e_877x441.png) (2)首頁控制器index()方法修改 ![](https://img.kancloud.cn/fc/2a/fc2a683df24cbb918f1df63766dc213d_920x455.png) (3)文章模型類fetchAllWithJoin()方法修改 ![](https://img.kancloud.cn/e0/77/e077dd61522a1561fbb5db0c485a5728_811x315.png)
                  <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>

                              哎呀哎呀视频在线观看