Bài viết
Chưa có bài viết nào
Warning (2): reset() expects parameter 1 to be array, null given [APP/Model/AppModel.php, line 56]Code Context$conditions = array('id' => $id);$data = $this->find('all',array( 'conditions' => $conditions));return reset($data[0]);$id = 'us' $conditions = array( 'id' => 'us' ) $data = array( (int) 0 => null )reset - [internal], line ?? AppModel::getById() - APP/Model/AppModel.php, line 56 SiteController::baiviet() - APP/Controller/SiteController.php, line 85 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: us [APP/Controller/SiteController.php, line 98]Code Contextif(!isset($catId)){ $title = 'Bài viết';}else { $title = $category[$catId]['name']; }$categoryClass = object(PostCategory) { recursive => (int) -1 useDbConfig => 'default' useTable => 'post_categories' id => false data => array() schemaName => 'slsydomshosting_justates_slsydomshosting_justates_kitafood' table => 'post_categories' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'PostCategory' alias => 'PostCategory' tableToModel => array( 'post_categories' => 'PostCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( [maximum depth reached] ), 'parent' => array( [maximum depth reached] ), 'name' => array( [maximum depth reached] ), 'path' => array( [maximum depth reached] ), 'img' => array( [maximum depth reached] ), 'desc' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'deleted' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $postClass = object(Post) { recursive => (int) -1 useDbConfig => 'default' useTable => 'posts' id => false data => array() schemaName => 'slsydomshosting_justates_slsydomshosting_justates_kitafood' table => 'posts' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'Post' alias => 'Post' tableToModel => array( 'posts' => 'Post' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( [maximum depth reached] ), 'category' => array( [maximum depth reached] ), 'title' => array( [maximum depth reached] ), 'path' => array( [maximum depth reached] ), 'desc' => array( [maximum depth reached] ), 'content' => array( [maximum depth reached] ), 'img' => array( [maximum depth reached] ), 'tag' => array( [maximum depth reached] ), 'date' => array( [maximum depth reached] ), 'active' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'deleted' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $category = array( (int) 1 => array( 'id' => '1', 'parent' => null, 'name' => 'Bài viết', 'path' => 'bai-viet', 'img' => null, 'desc' => null, 'created' => null, 'modified' => null, 'deleted' => null ), (int) 2 => array( 'id' => '2', 'parent' => '1', 'name' => 'Làm bánh', 'path' => 'lam-banh', 'img' => null, 'desc' => null, 'created' => null, 'modified' => '2016-12-16 05:08:31', 'deleted' => null ), (int) 3 => array( 'id' => '3', 'parent' => '1', 'name' => 'Công dụng của bánh', 'path' => 'cong-dung-cua-banh', 'img' => null, 'desc' => null, 'created' => null, 'modified' => null, 'deleted' => null ), (int) 4 => array( 'id' => '4', 'parent' => null, 'name' => 'Khuyến mãi', 'path' => 'khuyen-mai', 'img' => null, 'desc' => null, 'created' => null, 'modified' => null, 'deleted' => null ), (int) 5 => array( 'id' => '5', 'parent' => null, 'name' => 'Tuyển dụng', 'path' => 'tuyen-dung', 'img' => null, 'desc' => null, 'created' => null, 'modified' => '2016-12-16 05:08:17', 'deleted' => null ) ) $catId = 'us' $catIdArr = array( (int) 0 => 'us' ) $post = array()SiteController::baiviet() - APP/Controller/SiteController.php, line 98 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): Invalid argument supplied for foreach() [APP/View/Layouts/frontend.ctp, line 78]Code Context<a href=/san-pham>Sản phẩm</a><ul class=sub-menu><?php foreach ($category as $cat): if(empty($cat['parent'])): ?>$viewFile = '/home/slsydomshosting/public_html/987-kitafood/app/View/Layouts/frontend.ctp' $dataForView = array( 'title' => null, 'post' => array(), 'category' => null, 'catId' => 'us', 'site' => array( 'siteDefaultTitle' => 'KitaFood - Chữ Tâm là thương hiệu', 'footerTitle' => 'Hãy đến cửa hàng và thưởng thức', 'footerAddress' => '156 Nguyễn Khánh Toàn, Cầu Giấy, Hà Nội', 'footerPhone' => '0967168168', 'footerMail' => 'kinhdoanh@kitafood.vn', 'footerFBLink' => 'https://www.facebook.com/B%C3%A1nh-T%C6%B0%C6%A1i-KitaFood-291271444581870/?fref=ts', 'footerFBText' => 'Facebook Bánh tươi Kitafood', 'footerLat' => '21.0376815', 'footerLong' => '105.8012189', 'footerYoutubeLink' => 'https://www.youtube.com/channel/UCwkzvGkLI4Q8Q-4tWgyofdQ', 'homeClipChannelLink' => 'UCwkzvGkLI4Q8Q-4tWgyofdQ', 'baivietTitle' => 'Bài viết', 'baivietKoCo' => 'Chưa có bài viết nào', 'homeVideoBg' => '/kita.mp4', 'homeBoxTitle' => 'Chữ Tâm là thương hiệu', 'homeBoxDesc' => 'Bánh Happy Kita - Chiều sâu tinh tế của mùi vị, không thể lẫn trong các loại thương hiệu bánh khác. Với nguyên liệu được lựa chọn kỹ và khắt khe, dưới bàn tay tài hoa của nghệ nhân, phần cốt gato của chiếc bánh kem tươi có một hương vị hết sức tinh tế, khi ăn có cảm giác mát lạnh nơi đầu lưỡi, không ngọt, mềm, mịn và mát. Giữa các lớp gato là phần nhân kem tươi, mứt, thạch trái cây đặc biệt... Tạo nên sự quyến rũ đặc trưng của chiếc bánh Happy Kita.', 'homeBoxBtn' => 'Xem bánh', 'homeSpTitle' => 'Sản phẩm', 'homeSp1Link' => '/san-pham/banh-kem-happy-kita-1', 'homeSp1Img' => '/upload/cake.jpg', 'homeSp1Title' => 'Bánh Kem', 'homeSp1Desc' => 'Bắt đầu với hương kem nhẹ, bơ tan chảy, hương trái cây, phảng phất của trà xanh và vanilla.', 'homeSp1Btn' => 'Xem sản phẩm', 'homeSp2Link' => '/san-pham/banh-happykita-khac--6', 'homeSp2Img' => '/upload/cookies.jpg', 'homeSp2Title' => 'Bánh Happy Kita', 'homeSp2Desc' => 'Chiều sâu tinh tế của mùi vị, không thể lẫn trong các loại thương hiệu bánh khác.', 'homeSp2Btn' => 'Xem sản phẩm', 'homeSp3Link' => '/san-pham/banh-trung-thu-7', 'homeSp3Img' => '/upload/banhtrungthu.jpg', 'homeSp3Title' => 'Bánh trung thu', 'homeSp3Desc' => 'Những chiếc bánh khẳng định giá trị truyền thống và tôn vinh một nghề cổ truyền của dân tộc.', 'homeSp3Btn' => 'Xem sản phẩm', 'homeSp4Link' => '/san-pham/hop-qua-tet-10', 'homeSp4Img' => '/upload/quatet2.jpg', 'homeSp4Title' => 'Hộp quà Tết', 'homeSp4Desc' => 'Hộp quà Tết Kita góp phần mang tới cho mọi người niềm hân hoan và hạnh phúc.', 'homeSp4Btn' => 'Xem sản phẩm', 'homeClipTitle' => 'Clip nổi bật', 'homeBaiVietTitle' => 'Bài viết mới', 'khuyenmaiTitle' => 'Khuyến mãi', 'lienheTitle' => 'Liên hệ với chúng tôi', 'tamhuyetTitle' => 'Chữ Tâm là thương hiệu', 'siteDefaultDesc' => 'Chiều sâu tinh tế của mùi vị, không thể lẫn trong các loại thương hiệu bánh khác. Kitafood là địa chỉ hàng đầu về Bánh kem - Bánh trung thu - Bánh sinh nhật - Bánh sự kiện - Bánh Mochi - Bánh Mứt Tết', 'siteDefaultKeywords' => 'bánh kem,bánh trung thu,bánh sinh nhật,bánh sự kiện,bánh Mochi,bánh Mứt Tết,hộp bánh trung thu, hộp quà Tết', 'siteLogo' => '/wp-content/themes/cafeteria/css/images/logo.png', 'homeBoxBtnLink' => '/san-pham', 'homeBaiVietIds' => '[1,2,3,4]', 'tamhuyetText1' => 'Được thành lập và quy tụ bởi những nghệ nhân làm mứt cổ truyền Hà Nội, Kitafood là thương hiệu ra đời để sản xuất các loại bánh mứt và thực phẩm đầu tiên là bánh trung thu Kitavina, sau đó là bánh tươi Kitafood.', 'tamhuyetImg1' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText2' => 'Nguyên liệu SẠCH, rõ nguồn gốc, được chọn lọc gắt gao từ những đối tác uy tín', 'tamhuyetImg2' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText3' => 'Quy trình SẠCH, khép kín, tất cả quy trình đều đảm bảo an toàn vệ sinh thực phẩm', 'tamhuyetImg3' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText4' => 'Sản phẩm SẠCH, được trang trí đẹp mắt, trưng bày trong điều kiện lý tưởng và CHỈ SỬ DỤNG TRONG NGÀY', 'tamhuyetImg4' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText5' => 'Nghệ nhân Daniel đến từ Pháp, làm bánh từ năm 16 tuổi, đến nay ông đã có xấp xỉ 40 năm trong nghề. Ông đam mê mãnh liệt nghề làm bánh, đến nỗi chỉ cần ngửi bánh là có thể biết được những chiếc bánh đó làm từ nguyên liệu gì, định lượng ra sao.', 'tamhuyetImg5' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText6' => '“Chú yêu nghề làm bánh. Cứ xuống xưởng là chú phải làm bánh, ngồi yên là chú không chịu nổi” – lời nói kèm theo ánh mắt rạng ngời và nụ cười hiếm hoi trên gương mặt của nghệ nhân Dũng “còng”. Niềm vui và tình yêu nghề của chú thể hiện ngay qua cách chú cần mẫn chọn nguyên liệu, trộn nhân, nặn bột... cho từng chiếc bánh.', 'tamhuyetImg6' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText7' => 'Chữ Tâm là thương hiệu, đó là kim chỉ nam hoạt động của của KitaFood. Hơn cả một chiếc bánh, đó là tâm huyết, tình yêu được gửi gắm từ những chất liệu xưa đến với mọi nhà.', 'tamhuyetImg7' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText8' => null, 'tamhuyetImg8' => null, 'tamhuyetText9' => null, 'tamhuyetImg9' => null, 'tamhuyetText10' => null, 'tamhuyetImg10' => null, 'tamhuyetText11' => null, 'tamhuyetImg11' => null, 'tamhuyetText12' => null, 'tamhuyetImg12' => null, 'footerZoom' => '17' ), 'loggedUser' => null, 'authUser' => null, 'content_for_layout' => '<div class="header-back" style="background-image: url('../wp-content/uploads/2013/12/header1.jpg');"> <div class="triang top"></div> <div class="triang bot"></div> </div> <article class="our-team"> <h2 class="firstfont caption colormain">Bài viết</h2> <div class="center-align"> <div class="line-cake"> <div class="cake"></div> <div class="line left"></div> <div class="line right"></div> </div> </div> <div class="center-align content"> <blockquote>Chưa có bài viết nào</blockquote> </div> </article>', 'scripts_for_layout' => '', 'title_for_layout' => 'Site' ) $title = null $post = array() $category = null $catId = 'us' $site = array( 'siteDefaultTitle' => 'KitaFood - Chữ Tâm là thương hiệu', 'footerTitle' => 'Hãy đến cửa hàng và thưởng thức', 'footerAddress' => '156 Nguyễn Khánh Toàn, Cầu Giấy, Hà Nội', 'footerPhone' => '0967168168', 'footerMail' => 'kinhdoanh@kitafood.vn', 'footerFBLink' => 'https://www.facebook.com/B%C3%A1nh-T%C6%B0%C6%A1i-KitaFood-291271444581870/?fref=ts', 'footerFBText' => 'Facebook Bánh tươi Kitafood', 'footerLat' => '21.0376815', 'footerLong' => '105.8012189', 'footerYoutubeLink' => 'https://www.youtube.com/channel/UCwkzvGkLI4Q8Q-4tWgyofdQ', 'homeClipChannelLink' => 'UCwkzvGkLI4Q8Q-4tWgyofdQ', 'baivietTitle' => 'Bài viết', 'baivietKoCo' => 'Chưa có bài viết nào', 'homeVideoBg' => '/kita.mp4', 'homeBoxTitle' => 'Chữ Tâm là thương hiệu', 'homeBoxDesc' => 'Bánh Happy Kita - Chiều sâu tinh tế của mùi vị, không thể lẫn trong các loại thương hiệu bánh khác. Với nguyên liệu được lựa chọn kỹ và khắt khe, dưới bàn tay tài hoa của nghệ nhân, phần cốt gato của chiếc bánh kem tươi có một hương vị hết sức tinh tế, khi ăn có cảm giác mát lạnh nơi đầu lưỡi, không ngọt, mềm, mịn và mát. Giữa các lớp gato là phần nhân kem tươi, mứt, thạch trái cây đặc biệt... Tạo nên sự quyến rũ đặc trưng của chiếc bánh Happy Kita.', 'homeBoxBtn' => 'Xem bánh', 'homeSpTitle' => 'Sản phẩm', 'homeSp1Link' => '/san-pham/banh-kem-happy-kita-1', 'homeSp1Img' => '/upload/cake.jpg', 'homeSp1Title' => 'Bánh Kem', 'homeSp1Desc' => 'Bắt đầu với hương kem nhẹ, bơ tan chảy, hương trái cây, phảng phất của trà xanh và vanilla.', 'homeSp1Btn' => 'Xem sản phẩm', 'homeSp2Link' => '/san-pham/banh-happykita-khac--6', 'homeSp2Img' => '/upload/cookies.jpg', 'homeSp2Title' => 'Bánh Happy Kita', 'homeSp2Desc' => 'Chiều sâu tinh tế của mùi vị, không thể lẫn trong các loại thương hiệu bánh khác.', 'homeSp2Btn' => 'Xem sản phẩm', 'homeSp3Link' => '/san-pham/banh-trung-thu-7', 'homeSp3Img' => '/upload/banhtrungthu.jpg', 'homeSp3Title' => 'Bánh trung thu', 'homeSp3Desc' => 'Những chiếc bánh khẳng định giá trị truyền thống và tôn vinh một nghề cổ truyền của dân tộc.', 'homeSp3Btn' => 'Xem sản phẩm', 'homeSp4Link' => '/san-pham/hop-qua-tet-10', 'homeSp4Img' => '/upload/quatet2.jpg', 'homeSp4Title' => 'Hộp quà Tết', 'homeSp4Desc' => 'Hộp quà Tết Kita góp phần mang tới cho mọi người niềm hân hoan và hạnh phúc.', 'homeSp4Btn' => 'Xem sản phẩm', 'homeClipTitle' => 'Clip nổi bật', 'homeBaiVietTitle' => 'Bài viết mới', 'khuyenmaiTitle' => 'Khuyến mãi', 'lienheTitle' => 'Liên hệ với chúng tôi', 'tamhuyetTitle' => 'Chữ Tâm là thương hiệu', 'siteDefaultDesc' => 'Chiều sâu tinh tế của mùi vị, không thể lẫn trong các loại thương hiệu bánh khác. Kitafood là địa chỉ hàng đầu về Bánh kem - Bánh trung thu - Bánh sinh nhật - Bánh sự kiện - Bánh Mochi - Bánh Mứt Tết', 'siteDefaultKeywords' => 'bánh kem,bánh trung thu,bánh sinh nhật,bánh sự kiện,bánh Mochi,bánh Mứt Tết,hộp bánh trung thu, hộp quà Tết', 'siteLogo' => '/wp-content/themes/cafeteria/css/images/logo.png', 'homeBoxBtnLink' => '/san-pham', 'homeBaiVietIds' => '[1,2,3,4]', 'tamhuyetText1' => 'Được thành lập và quy tụ bởi những nghệ nhân làm mứt cổ truyền Hà Nội, Kitafood là thương hiệu ra đời để sản xuất các loại bánh mứt và thực phẩm đầu tiên là bánh trung thu Kitavina, sau đó là bánh tươi Kitafood.', 'tamhuyetImg1' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText2' => 'Nguyên liệu SẠCH, rõ nguồn gốc, được chọn lọc gắt gao từ những đối tác uy tín', 'tamhuyetImg2' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText3' => 'Quy trình SẠCH, khép kín, tất cả quy trình đều đảm bảo an toàn vệ sinh thực phẩm', 'tamhuyetImg3' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText4' => 'Sản phẩm SẠCH, được trang trí đẹp mắt, trưng bày trong điều kiện lý tưởng và CHỈ SỬ DỤNG TRONG NGÀY', 'tamhuyetImg4' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText5' => 'Nghệ nhân Daniel đến từ Pháp, làm bánh từ năm 16 tuổi, đến nay ông đã có xấp xỉ 40 năm trong nghề. Ông đam mê mãnh liệt nghề làm bánh, đến nỗi chỉ cần ngửi bánh là có thể biết được những chiếc bánh đó làm từ nguyên liệu gì, định lượng ra sao.', 'tamhuyetImg5' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText6' => '“Chú yêu nghề làm bánh. Cứ xuống xưởng là chú phải làm bánh, ngồi yên là chú không chịu nổi” – lời nói kèm theo ánh mắt rạng ngời và nụ cười hiếm hoi trên gương mặt của nghệ nhân Dũng “còng”. Niềm vui và tình yêu nghề của chú thể hiện ngay qua cách chú cần mẫn chọn nguyên liệu, trộn nhân, nặn bột... cho từng chiếc bánh.', 'tamhuyetImg6' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText7' => 'Chữ Tâm là thương hiệu, đó là kim chỉ nam hoạt động của của KitaFood. Hơn cả một chiếc bánh, đó là tâm huyết, tình yêu được gửi gắm từ những chất liệu xưa đến với mọi nhà.', 'tamhuyetImg7' => '/wp-content/uploads/2013/12/event71-452x130.jpg', 'tamhuyetText8' => null, 'tamhuyetImg8' => null, 'tamhuyetText9' => null, 'tamhuyetImg9' => null, 'tamhuyetText10' => null, 'tamhuyetImg10' => null, 'tamhuyetText11' => null, 'tamhuyetImg11' => null, 'tamhuyetText12' => null, 'tamhuyetImg12' => null, 'footerZoom' => '17' ) $loggedUser = null $authUser = null $content_for_layout = '<div class="header-back" style="background-image: url('../wp-content/uploads/2013/12/header1.jpg');"> <div class="triang top"></div> <div class="triang bot"></div> </div> <article class="our-team"> <h2 class="firstfont caption colormain">Bài viết</h2> <div class="center-align"> <div class="line-cake"> <div class="cake"></div> <div class="line left"></div> <div class="line right"></div> </div> </div> <div class="center-align content"> <blockquote>Chưa có bài viết nào</blockquote> </div> </article>' $scripts_for_layout = '' $title_for_layout = 'Site'include - APP/View/Layouts/frontend.ctp, line 78 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Chưa có bài viết nào
156 Nguyễn Khánh Toàn, Cầu Giấy, Hà Nội