Notice (8): Undefined index: Category [APP/Controller/NewsController.php, line 10]Code Context$x=$this->Category->findById($key);
$this->set('cat', $x);
$this->set('title_for_key',$x['Category']['meta_key']);
$id = '36-goc-khach-hang' $key = '36-goc-khach-hang' $x = array()NewsController::index() - APP/Controller/NewsController.php, line 10 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 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: Category [APP/Controller/NewsController.php, line 11]Code Context$this->set('cat', $x);
$this->set('title_for_key',$x['Category']['meta_key']);
$this->set('title_for_des',$x['Category']['meta_des']);
$id = '36-goc-khach-hang' $key = '36-goc-khach-hang' $x = array()NewsController::index() - APP/Controller/NewsController.php, line 11 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 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: Category [APP/Controller/NewsController.php, line 12]Code Context$this->set('title_for_key',$x['Category']['meta_key']);
$this->set('title_for_des',$x['Category']['meta_des']);
if($x['Category']['tinhnang']==2){
$id = '36-goc-khach-hang' $key = '36-goc-khach-hang' $x = array()NewsController::index() - APP/Controller/NewsController.php, line 12 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 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: Category [APP/Controller/NewsController.php, line 42]Code Context}
}else{
$this->set('countnews', count($this->News->find('all',array('conditions'=>array('News.status'=>1,'or'=>array('News.category_id'=>$x['Category']['id'],'News.category_id1'=>$x['Category']['id']))))));
$id = '36-goc-khach-hang' $key = '36-goc-khach-hang' $x = array()NewsController::index() - APP/Controller/NewsController.php, line 42 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 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: Category [APP/Controller/NewsController.php, line 42]Code Context}
}else{
$this->set('countnews', count($this->News->find('all',array('conditions'=>array('News.status'=>1,'or'=>array('News.category_id'=>$x['Category']['id'],'News.category_id1'=>$x['Category']['id']))))));
$id = '36-goc-khach-hang' $key = '36-goc-khach-hang' $x = array()NewsController::index() - APP/Controller/NewsController.php, line 42 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 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: Category [APP/Controller/NewsController.php, line 43]Code Context}else{
$this->set('countnews', count($this->News->find('all',array('conditions'=>array('News.status'=>1,'or'=>array('News.category_id'=>$x['Category']['id'],'News.category_id1'=>$x['Category']['id']))))));
$this->paginate = array('conditions'=>array('News.status'=>1,'or'=>array('News.category_id'=>$x['Category']['id'],'News.category_id1'=>$x['Category']['id'])),'order'=>'News.id DESC','limit'=>8);
$id = '36-goc-khach-hang' $key = '36-goc-khach-hang' $x = array()NewsController::index() - APP/Controller/NewsController.php, line 43 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 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: Category [APP/Controller/NewsController.php, line 43]Code Context}else{
$this->set('countnews', count($this->News->find('all',array('conditions'=>array('News.status'=>1,'or'=>array('News.category_id'=>$x['Category']['id'],'News.category_id1'=>$x['Category']['id']))))));
$this->paginate = array('conditions'=>array('News.status'=>1,'or'=>array('News.category_id'=>$x['Category']['id'],'News.category_id1'=>$x['Category']['id'])),'order'=>'News.id DESC','limit'=>8);
$id = '36-goc-khach-hang' $key = '36-goc-khach-hang' $x = array()NewsController::index() - APP/Controller/NewsController.php, line 43 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 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: Category [APP/Controller/NewsController.php, line 46]Code Context$this->set('news', $this->paginate('News',array()));
if($this->params['paging']['News']['page']==1 || $this->params['paging']['News']['page']==0){
if($x['Category']['nameseo']==''){
$id = '36-goc-khach-hang' $key = '36-goc-khach-hang' $x = array()NewsController::index() - APP/Controller/NewsController.php, line 46 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 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: Category [APP/Controller/NewsController.php, line 47]Code Contextif($this->params['paging']['News']['page']==1 || $this->params['paging']['News']['page']==0){
if($x['Category']['nameseo']==''){
$this->set('title_for_layout',''.$x['Category']['name'].'');
$id = '36-goc-khach-hang' $key = '36-goc-khach-hang' $x = array()NewsController::index() - APP/Controller/NewsController.php, line 47 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 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: Category [APP/View/News/index.ctp, line 5]Code Context<ul class="nostyle" itemscope="" itemtype="https://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem" class="li-right"><a class="a-right" href="/" itemscope="" itemtype="https://schema.org/Thing" itemprop="item"><strong><span itemprop="name" ><i class="fa fa-home"></i> Trang Chủ </span></strong></a></li>
<?php if($cat['Category']['parent_id']!=''){?>
$viewFile = '/home/dothominhh/web/dothominhhue.vn/public_html/app/View/News/index.ctp' $dataForView = array( 'title_for_layout' => '', 'news' => array(), 'countnews' => (int) 0, 'title_for_des' => null, 'title_for_key' => null, 'cat' => array() ) $title_for_layout = '' $news = array() $countnews = (int) 0 $title_for_des = null $title_for_key = null $cat = array()include - APP/View/News/index.ctp, line 5 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 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
Notice (8): Undefined index: Category [APP/View/News/index.ctp, line 13]Code Context<li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem" class="li-right"><a class="a-right" href="/dm/<?php echo $cat123['Category']['id'];?>-<?php echo $cat123['Category']['alias'];?>/" itemscope="" itemtype="https://schema.org/Thing" itemprop="item"><span itemprop="name"><?php echo $cat123['Category']['name'];?></span></a></li>
<?php }?>
<li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem" class="li-right active"><span itemprop="name"><?php echo $cat['Category']['name'];?></span></li>
$viewFile = '/home/dothominhh/web/dothominhhue.vn/public_html/app/View/News/index.ctp' $dataForView = array( 'title_for_layout' => '', 'news' => array(), 'countnews' => (int) 0, 'title_for_des' => null, 'title_for_key' => null, 'cat' => array() ) $title_for_layout = '' $news = array() $countnews = (int) 0 $title_for_des = null $title_for_key = null $cat = array()include - APP/View/News/index.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 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
Notice (8): Undefined index: Category [APP/View/News/index.ctp, line 16]Code Context</ul>
</div>
<?php if($cat['Category']['tinhnang']==2){?>
$viewFile = '/home/dothominhh/web/dothominhhue.vn/public_html/app/View/News/index.ctp' $dataForView = array( 'title_for_layout' => '', 'news' => array(), 'countnews' => (int) 0, 'title_for_des' => null, 'title_for_key' => null, 'cat' => array() ) $title_for_layout = '' $news = array() $countnews = (int) 0 $title_for_des = null $title_for_key = null $cat = array()include - APP/View/News/index.ctp, line 16 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 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
Notice (8): Undefined index: Category [APP/View/News/index.ctp, line 159]Code Context<div class="span3 plr10">
<?php
$news_hot = $this->requestAction('/root/news/'.$cat['Category']['id'].'');
$viewFile = '/home/dothominhh/web/dothominhhue.vn/public_html/app/View/News/index.ctp' $dataForView = array( 'title_for_layout' => '', 'news' => array(), 'countnews' => (int) 0, 'title_for_des' => null, 'title_for_key' => null, 'cat' => array() ) $title_for_layout = '' $news = array() $countnews = (int) 0 $title_for_des = null $title_for_key = null $cat = array()include - APP/View/News/index.ctp, line 159 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 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
Notice (8): Undefined index: Category [APP/View/News/index.ctp, line 243]Code Context<div class="fixf news_view">
<div class="title_page fixf mb20">
<h3><?php echo $cat['Category']['name'];?></h3>
$viewFile = '/home/dothominhh/web/dothominhhue.vn/public_html/app/View/News/index.ctp' $dataForView = array( 'title_for_layout' => '', 'news' => array(), 'countnews' => (int) 0, 'title_for_des' => null, 'title_for_key' => null, 'cat' => array() ) $title_for_layout = '' $news = array() $countnews = (int) 0 $title_for_des = null $title_for_key = null $cat = array() $news_hot = array()include - APP/View/News/index.ctp, line 243 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 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
Nội dung đang được cập nhật....!