<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國際加速解決方案。 廣告
                [www.it123.org看例子](http://www.it123.org) 入庫操作:略 刪除操作:略 讀取處理: (讀取操作采用遞歸,填充本評論的父引用回復) public function getCommentList($id,$module_id){ $commentDB = M('comment'); $where['comment_item_id'] = $id;//文章id $where['comment_module_id'] = $module_id;//模塊id $commentList= $commentDB->where($where)->order('comment_time desc')->limit(10)->select(); foreach ($commentList as $k =>$v){ //把父級引用求出來存儲在本字段 $commentList[$k]['levy']= $this->getParents($commentList,$commentList[$k]['comment_id']); } } public function getParents($list, $comment_id) { $tree = array(); foreach ($list as $item) { if ($item['comment_id'] == $comment_id) { if ($item['comment_pid'] > 0) $tree = array_merge($tree, self::getParents($list, $item['comment_pid'])); $tree[] = $item; break; } } return $tree; }
                  <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>

                              哎呀哎呀视频在线观看