APPPATH/views/home/news/list.php [ 17 ]
12 </div>
13 </div>
14 <div class="col-md-8 content-left">
15 <div class="articles sports">
16 <header>
17 <h3 class="title-head"><?= $category_detail->getName(); ?></h3>
18 </header>
19 <?php if($n_count_all>0): ?>
20 <?php foreach($a_article as $item):?>
21 <?php $article = $item->get_data(); ?>
22 <?php
-
APPPATH/views/home/news/list.php [ 17 ] » Kohana_Core::error_handler(arguments)
0integer 8
1string(35) "Undefined variable: category_detail"2string(67) "/var/www/mtgreen_v2/sourcecode/application/views/home/news/list.php"3integer 17
4array(31) ( "kohana_view_filename" => string(67) "/var/www/mtgreen_v2/sourcecode/application/views/home/news/list.php" "kohana_view_data" => array(9) ( "a_article" => NULL "size" => integer 20 "pagination" => object Pagination(12)
{ protected config => array(6) ( "total_items" => NULL "items_per_page" => integer 20 "view" => string(17) "pagination/portal" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 20 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 }"type_article" => array(3) ( "NEWS" => string(9) "Tin Tức" "WARRANTY" => string(11) "Bảo Hành" "SERVICE" => string(11) "Dịch Vụ" ) "a_tag" => NULL "a_category" => NULL "a_article_popular" => NULL "a_article_lastest" => NULL "n_count_all" => NULL ) "a_article" => NULL "size" => integer 20 "pagination" => object Pagination(12){ protected config => array(6) ( "total_items" => NULL "items_per_page" => integer 20 "view" => string(17) "pagination/portal" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 20 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 }"type_article" => array(3) ( "NEWS" => string(9) "Tin Tức" "WARRANTY" => string(11) "Bảo Hành" "SERVICE" => string(11) "Dịch Vụ" ) "a_tag" => NULL "a_category" => NULL "a_article_popular" => NULL "a_article_lastest" => NULL "n_count_all" => NULL "title" => string(9) "Tin tức" "description" => string(57) "CÔNG TY TNHH ĐTXD VÀ CÔNG NGHỆ MÔI TRƯỜNG GREEN" "meta" => NULL "array_css" => array(7) ( 0 => string(9) "bootstrap" 1 => string(5) "style" 2 => string(10) "flexslider" 3 => string(8) "lightbox" 4 => string(12) "font-awesome" 5 => string(6) "style2" 6 => string(6) "style3" ) "array_script" => array(5) ( 0 => string(17) "jquery-1.11.1.min" 1 => string(9) "bootstrap" 2 => string(6) "shCore" 3 => string(14) "shBrushJScript" 4 => string(17) "jquery.flexslider" ) "template" => string(14) "portal/default" "seo_keyword" => NULL "url_base_theme" => string(28) "/media/themes/portal/default" "url_base_media" => string(27) "http://mtgreen.com.vn/media" "layout" => string(6) "layout" "_language" => string(2) "vn" "redirect" => NULL "_active_menu" => string(4) "news" "_logined" => bool FALSE "_user" => NULL "_iframe" => integer 0 "_callback" => string(0) "" "_directory" => string(4) "home" "_controller" => string(4) "news" "_action" => string(4) "list" )12 </div> 13 </div> 14 <div class="col-md-8 content-left"> 15 <div class="articles sports"> 16 <header> 17 <h3 class="title-head"><?= $category_detail->getName(); ?></h3> 18 </header> 19 <?php if($n_count_all>0): ?> 20 <?php foreach($a_article as $item):?> 21 <?php $article = $item->get_data(); ?> 22 <?php -
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0string(67) "/var/www/mtgreen_v2/sourcecode/application/views/home/news/list.php"56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0string(67) "/var/www/mtgreen_v2/sourcecode/application/views/home/news/list.php"1array(9) ( "a_article" => NULL "size" => integer 20 "pagination" => object Pagination(12)
{ protected config => array(6) ( "total_items" => NULL "items_per_page" => integer 20 "view" => string(17) "pagination/portal" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 20 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 }"type_article" => array(3) ( "NEWS" => string(9) "Tin Tức" "WARRANTY" => string(11) "Bảo Hành" "SERVICE" => string(11) "Dịch Vụ" ) "a_tag" => NULL "a_category" => NULL "a_article_popular" => NULL "a_article_lastest" => NULL "n_count_all" => NULL )343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 } // End View -
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 /** 233 * Display the exception message. -
APPPATH/template/portal/default/layout.php [ 31 ] » Kohana_View->__toString()
26 }); 27 }); 28 </script> 29 <!-- //FlexSlider-JavaScript --> 30 <?php echo View::factory('../template/' . $template . '/header')->render();?> 31 <?= $content ?> 32 <?php echo View::factory('../template/' . $template . '/footer')->render();?> 33 <!-- Go To Top Link --> 34 <script language="JavaScript"> 35 /** 36 * Disable right-click of mouse, F12 key, and save key combinations on page -
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0string(77) "/var/www/mtgreen_v2/sourcecode/application/template/portal/default/layout.php"56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0string(86) "/var/www/mtgreen_v2/sourcecode/application/views/../template/portal/default/layout.php"1array(1) ( "content" => object View(2)
{ protected _file => string(67) "/var/www/mtgreen_v2/sourcecode/application/views/home/news/list.php" protected _data => array(9) ( "a_article" => NULL "size" => integer 20 "pagination" => object Pagination(12)){ protected config => array(6) ( "total_items" => NULL "items_per_page" => integer 20 "view" => string(17) "pagination/portal" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 20 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 }"type_article" => array(3) ( "NEWS" => string(9) "Tin Tức" "WARRANTY" => string(11) "Bảo Hành" "SERVICE" => string(11) "Dịch Vụ" ) "a_tag" => NULL "a_category" => NULL "a_article_popular" => NULL "a_article_lastest" => NULL "n_count_all" => NULL ) }343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 } // End View -
APPPATH/template/master.php [ 43 ] » Kohana_View->render()
38 <!-- Google Tag Manager (noscript) --> 39 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MN3564QH" 40 height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 41 <!-- End Google Tag Manager (noscript) --> 42 43 <?php echo View::factory('../template/' . $template . '/' . $layout)->set('content', $content)->render(); ?> 44 </body> 45 </html> -
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0string(62) "/var/www/mtgreen_v2/sourcecode/application/template/master.php"56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0string(71) "/var/www/mtgreen_v2/sourcecode/application/views/../template/master.php"1array(1) ( "content" => object View(2)
{ protected _file => string(67) "/var/www/mtgreen_v2/sourcecode/application/views/home/news/list.php" protected _data => array(9) ( "a_article" => NULL "size" => integer 20 "pagination" => object Pagination(12)){ protected config => array(6) ( "total_items" => NULL "items_per_page" => integer 20 "view" => string(17) "pagination/portal" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 20 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 }"type_article" => array(3) ( "NEWS" => string(9) "Tin Tức" "WARRANTY" => string(11) "Bảo Hành" "SERVICE" => string(11) "Dịch Vụ" ) "a_tag" => NULL "a_category" => NULL "a_article_popular" => NULL "a_article_lastest" => NULL "n_count_all" => NULL ) }343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 } // End View -
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49 -
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92 -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_Home_News(26)
{ protected _active_menu => string(4) "news" protected _logined => bool FALSE protected _user => NULL protected _node_xml => NULL protected _directory => string(4) "home" protected _controller => string(4) "news" protected _action => string(4) "list" protected _iframe => integer 0 protected _callback => string(0) "" protected _mobile => string(0) "" protected _title => string(9) "Tin tức" protected _meta => NULL protected _array_css => array(7) ( 0 => string(9) "bootstrap" 1 => string(5) "style" 2 => string(10) "flexslider" 3 => string(8) "lightbox" 4 => string(12) "font-awesome" 5 => string(6) "style2" 6 => string(6) "style3" ) protected _array_script => array(5) ( 0 => string(17) "jquery-1.11.1.min" 1 => string(9) "bootstrap" 2 => string(6) "shCore" 3 => string(14) "shBrushJScript" 4 => string(17) "jquery.flexslider" ) protected _template => string(14) "portal/default" protected _description => string(57) "CÔNG TY TNHH ĐTXD VÀ CÔNG NGHỆ MÔI TRƯỜNG GREEN" protected _seo_keyword => NULL protected _url_base_theme => string(28) "/media/themes/portal/default" protected _url_base_media => string(27) "http://mtgreen.com.vn/media" protected _layout => string(6) "layout" protected _language => string(2) "vn" protected _redirect => NULL public template => object View(2){ protected _file => string(71) "/var/www/mtgreen_v2/sourcecode/application/views/../template/master.php" protected _data => array(1) ( "content" => object View(2)public auto_render => bool TRUE public request => object Request(19){ protected _file => string(67) "/var/www/mtgreen_v2/sourcecode/application/views/home/news/list.php" protected _data => array(9) ( "a_article" => NULL "size" => integer 20 "pagination" => object Pagination(12)) }{ protected config => array(6) ( "total_items" => NULL "items_per_page" => integer 20 "view" => string(17) "pagination/portal" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 20 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 }"type_article" => array(3) ( "NEWS" => string(9) "Tin Tức" "WARRANTY" => string(11) "Bảo Hành" "SERVICE" => string(11) "Dịch Vụ" ) "a_tag" => NULL "a_category" => NULL "a_article_popular" => NULL "a_article_lastest" => NULL "n_count_all" => NULL ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(12) "tin-tuc.html" protected _regex => array(1) ( "alias" => string(13) "[\pN\pL./+-]+" ) protected _defaults => array(3) ( "directory" => string(4) "home" "controller" => string(4) "news" "action" => string(4) "list" ) protected _route_regex => string(19) "#^tin-tuc\.html$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(4) "Home" protected _controller => string(4) "News" protected _action => string(4) "list" protected _uri => string(12) "tin-tuc.html" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}{ protected _status => integer 200 protected _header => object HTTP_Header(0)}{ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response'); -
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(12) "tin-tuc.html" protected _regex => array(1) ( "alias" => string(13) "[\pN\pL./+-]+" ) protected _defaults => array(3) ( "directory" => string(4) "home" "controller" => string(4) "news" "action" => string(4) "list" ) protected _route_regex => string(19) "#^tin-tuc\.html$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(4) "Home" protected _controller => string(4) "News" protected _action => string(4) "list" protected _uri => string(12) "tin-tuc.html" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}1object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }109 $orig_response = $response = Response::factory(); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header)) -
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(12) "tin-tuc.html" protected _regex => array(1) ( "alias" => string(13) "[\pN\pL./+-]+" ) protected _defaults => array(3) ( "directory" => string(4) "home" "controller" => string(4) "news" "action" => string(4) "list" ) protected _route_regex => string(19) "#^tin-tuc\.html$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(4) "Home" protected _controller => string(4) "News" protected _action => string(4) "list" protected _uri => string(12) "tin-tuc.html" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * Can be used to test for sub requests. -
DOCROOT/index.php [ 119 ] » Kohana_Request->execute()
114 * If no source is specified, the URI will be automatically detected. 115 */ 116 if (!defined('SUPPRESS_REQUEST')) 117 { 118 echo Request::factory(TRUE, array(), FALSE) 119 ->execute() 120 ->send_headers(TRUE) 121 ->body(); 122 } 123 }