Notice (8): Undefined offset: 0 [APP\Controller\PromotionController.php, line 33]Code Contextparent::updateVisitor('Promotion',$proid);
$tname = $this->Promotion->findAllByIdAndEnable($proid,'1');
$title = parent::removeTag($tname[0]['Promotion']['name']);
$proid = '47' $tname = array()PromotionController::promotion_detail() - APP\Controller\PromotionController.php, line 33 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 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 offset: 0 [APP\View\Promotion\promotion_detail.ctp, line 4]Code Context<section class="ourmenu-content">
<div class="container">
<h1 class='c_D8342B mb20'><?php echo $detail[0]['Promotion']['name']; ?></h1>
$viewFile = 'C:\xampp\htdocs\rprp\app\View\Promotion\promotion_detail.ctp' $dataForView = array( 'breadcrumb' => array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ), 'detail' => array(), 'share' => true, 'title' => '', 'description' => '', 'keywords' => array(), 'topic' => '', 'header_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ) ), 'footer_link' => array( (int) 0 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 1 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 2 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 3 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 4 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ) ), 'top_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ) ), 'lang' => 'th', 'Visitor' => array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ), 'Department' => array( (int) 0 => array( 'Department' => array( [maximum depth reached] ) ), (int) 1 => array( 'Department' => array( [maximum depth reached] ) ), (int) 2 => array( 'Department' => array( [maximum depth reached] ) ), (int) 3 => array( 'Department' => array( [maximum depth reached] ) ), (int) 4 => array( 'Department' => array( [maximum depth reached] ) ), (int) 5 => array( 'Department' => array( [maximum depth reached] ) ), (int) 6 => array( 'Department' => array( [maximum depth reached] ) ), (int) 7 => array( 'Department' => array( [maximum depth reached] ) ) ) ) $breadcrumb = array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ) $detail = array() $share = true $title = '' $description = '' $keywords = array() $topic = '' $header_link = array( (int) 0 => array( 'main' => array( 'en' => 'The Gardens', 'th' => 'ชมอุทยาน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'main' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Plants', 'th' => 'พรรณไม้', 'link' => 'Plants' ), 'sub' => array() ), (int) 3 => array( 'main' => array( 'en' => 'Classroom', 'th' => 'ห้องเรียน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'main' => array( 'en' => 'Rajapruek', 'th' => 'ราชพฤกษ์', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $footer_link = array( (int) 0 => array( 'topic' => array( 'en' => 'The Gardens', 'th' => 'สวนยอดนิยม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'topic' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'topic' => array( 'en' => 'Classroom', 'th' => 'แหล่งการเรียนรู้' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'topic' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'topic' => array( 'en' => 'About us', 'th' => 'เกี่ยวกับเรา' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ) ) $top_link = array( (int) 0 => array( 'main' => array( 'en' => 'Space Rental', 'th' => 'พื้นที่ให้เช่า', 'link' => 'SpaceRental' ), 'sub' => array() ), (int) 1 => array( 'main' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Procurement & Jobs', 'th' => 'จัดซื้อจัดจ้าง สมัครงาน', 'link' => 'Purchase' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'main' => array( 'en' => 'Download', 'th' => 'ดาวน์โหลด', 'link' => 'Download' ), 'sub' => array() ), (int) 4 => array( 'main' => array( 'en' => 'Contact', 'th' => 'ติดต่อเรา', 'link' => 'Contact' ), 'sub' => array() ) ) $lang = 'th' $Visitor = array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ) $Department = array( (int) 0 => array( 'Department' => array( 'id' => '3', 'name' => 'มูลนิธิโครงการหลวง', 'logo' => 'royal.jpg', 'link' => 'http://www.royalprojectthailand.com/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 1 => array( 'Department' => array( 'id' => '4', 'name' => 'สถาบันวิจัยและพัฒนาพื้นที่สูง', 'logo' => 'hrdi.jpg', 'link' => 'http://www.hrdi.or.th/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 2 => array( 'Department' => array( 'id' => '6', 'name' => 'กระทรวงเกษตรและสหกรณ์', 'logo' => 'military.jpg', 'link' => 'http://www.qsds.go.th/newqsds/index.php', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 3 => array( 'Department' => array( 'id' => '8', 'name' => 'เครือเจริญโภคภัณฑ์', 'logo' => 'cp.jpg', 'link' => 'http://www.cpfworldwide.com', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 4 => array( 'Department' => array( 'id' => '11', 'name' => 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', 'logo' => 'agri bank.jpg', 'link' => 'http://www.baac.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 5 => array( 'Department' => array( 'id' => '12', 'name' => 'ธนาคารแห่งประเทศไทย', 'logo' => 'bank of thailand.jpg', 'link' => 'https://www.bot.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 6 => array( 'Department' => array( 'id' => '16', 'name' => 'gistda', 'logo' => 'jistda.jpg', 'link' => 'http://www.gistda.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 7 => array( 'Department' => array( 'id' => '17', 'name' => 'ธนาคารกรุงไทย', 'logo' => 'Logo Eng-Thai Horizon.ai.jpg', 'link' => 'http://www.ktb.co.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ) )include - APP\View\Promotion\promotion_detail.ctp, line 4 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 960 PromotionController::promotion_detail() - APP\Controller\PromotionController.php, line 46 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 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 offset: 0 [APP\View\Promotion\promotion_detail.ctp, line 7]01/01/1970Code Context<div class="clearfix mb15">
<ul class="ul-inline f_tahoma fs13 c99 bgff pt5 pb5 pl15 pr15 dib">
<li class='mr30'><i class="fa fa-calendar dimb mr5"></i><span><?php echo date('d/m/Y',strtotime($detail[0]['Promotion']['created_date'])); ?></span></li>
$viewFile = 'C:\xampp\htdocs\rprp\app\View\Promotion\promotion_detail.ctp' $dataForView = array( 'breadcrumb' => array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ), 'detail' => array(), 'share' => true, 'title' => '', 'description' => '', 'keywords' => array(), 'topic' => '', 'header_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ) ), 'footer_link' => array( (int) 0 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 1 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 2 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 3 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 4 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ) ), 'top_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ) ), 'lang' => 'th', 'Visitor' => array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ), 'Department' => array( (int) 0 => array( 'Department' => array( [maximum depth reached] ) ), (int) 1 => array( 'Department' => array( [maximum depth reached] ) ), (int) 2 => array( 'Department' => array( [maximum depth reached] ) ), (int) 3 => array( 'Department' => array( [maximum depth reached] ) ), (int) 4 => array( 'Department' => array( [maximum depth reached] ) ), (int) 5 => array( 'Department' => array( [maximum depth reached] ) ), (int) 6 => array( 'Department' => array( [maximum depth reached] ) ), (int) 7 => array( 'Department' => array( [maximum depth reached] ) ) ) ) $breadcrumb = array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ) $detail = array() $share = true $title = '' $description = '' $keywords = array() $topic = '' $header_link = array( (int) 0 => array( 'main' => array( 'en' => 'The Gardens', 'th' => 'ชมอุทยาน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'main' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Plants', 'th' => 'พรรณไม้', 'link' => 'Plants' ), 'sub' => array() ), (int) 3 => array( 'main' => array( 'en' => 'Classroom', 'th' => 'ห้องเรียน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'main' => array( 'en' => 'Rajapruek', 'th' => 'ราชพฤกษ์', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $footer_link = array( (int) 0 => array( 'topic' => array( 'en' => 'The Gardens', 'th' => 'สวนยอดนิยม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'topic' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'topic' => array( 'en' => 'Classroom', 'th' => 'แหล่งการเรียนรู้' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'topic' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'topic' => array( 'en' => 'About us', 'th' => 'เกี่ยวกับเรา' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ) ) $top_link = array( (int) 0 => array( 'main' => array( 'en' => 'Space Rental', 'th' => 'พื้นที่ให้เช่า', 'link' => 'SpaceRental' ), 'sub' => array() ), (int) 1 => array( 'main' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Procurement & Jobs', 'th' => 'จัดซื้อจัดจ้าง สมัครงาน', 'link' => 'Purchase' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'main' => array( 'en' => 'Download', 'th' => 'ดาวน์โหลด', 'link' => 'Download' ), 'sub' => array() ), (int) 4 => array( 'main' => array( 'en' => 'Contact', 'th' => 'ติดต่อเรา', 'link' => 'Contact' ), 'sub' => array() ) ) $lang = 'th' $Visitor = array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ) $Department = array( (int) 0 => array( 'Department' => array( 'id' => '3', 'name' => 'มูลนิธิโครงการหลวง', 'logo' => 'royal.jpg', 'link' => 'http://www.royalprojectthailand.com/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 1 => array( 'Department' => array( 'id' => '4', 'name' => 'สถาบันวิจัยและพัฒนาพื้นที่สูง', 'logo' => 'hrdi.jpg', 'link' => 'http://www.hrdi.or.th/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 2 => array( 'Department' => array( 'id' => '6', 'name' => 'กระทรวงเกษตรและสหกรณ์', 'logo' => 'military.jpg', 'link' => 'http://www.qsds.go.th/newqsds/index.php', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 3 => array( 'Department' => array( 'id' => '8', 'name' => 'เครือเจริญโภคภัณฑ์', 'logo' => 'cp.jpg', 'link' => 'http://www.cpfworldwide.com', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 4 => array( 'Department' => array( 'id' => '11', 'name' => 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', 'logo' => 'agri bank.jpg', 'link' => 'http://www.baac.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 5 => array( 'Department' => array( 'id' => '12', 'name' => 'ธนาคารแห่งประเทศไทย', 'logo' => 'bank of thailand.jpg', 'link' => 'https://www.bot.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 6 => array( 'Department' => array( 'id' => '16', 'name' => 'gistda', 'logo' => 'jistda.jpg', 'link' => 'http://www.gistda.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 7 => array( 'Department' => array( 'id' => '17', 'name' => 'ธนาคารกรุงไทย', 'logo' => 'Logo Eng-Thai Horizon.ai.jpg', 'link' => 'http://www.ktb.co.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ) )include - APP\View\Promotion\promotion_detail.ctp, line 7 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 960 PromotionController::promotion_detail() - APP\Controller\PromotionController.php, line 46 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 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 offset: 0 [APP\View\Promotion\promotion_detail.ctp, line 8]0 คนCode Context<ul class="ul-inline f_tahoma fs13 c99 bgff pt5 pb5 pl15 pr15 dib">
<li class='mr30'><i class="fa fa-calendar dimb mr5"></i><span><?php echo date('d/m/Y',strtotime($detail[0]['Promotion']['created_date'])); ?></span></li>
<li><i class="fa fa-user dimb mr5"></i><span>จำนวนผู้ชม <?php echo number_format($detail[0]['Promotion']['views']) ?> คน</span></li>
$viewFile = 'C:\xampp\htdocs\rprp\app\View\Promotion\promotion_detail.ctp' $dataForView = array( 'breadcrumb' => array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ), 'detail' => array(), 'share' => true, 'title' => '', 'description' => '', 'keywords' => array(), 'topic' => '', 'header_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ) ), 'footer_link' => array( (int) 0 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 1 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 2 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 3 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 4 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ) ), 'top_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ) ), 'lang' => 'th', 'Visitor' => array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ), 'Department' => array( (int) 0 => array( 'Department' => array( [maximum depth reached] ) ), (int) 1 => array( 'Department' => array( [maximum depth reached] ) ), (int) 2 => array( 'Department' => array( [maximum depth reached] ) ), (int) 3 => array( 'Department' => array( [maximum depth reached] ) ), (int) 4 => array( 'Department' => array( [maximum depth reached] ) ), (int) 5 => array( 'Department' => array( [maximum depth reached] ) ), (int) 6 => array( 'Department' => array( [maximum depth reached] ) ), (int) 7 => array( 'Department' => array( [maximum depth reached] ) ) ) ) $breadcrumb = array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ) $detail = array() $share = true $title = '' $description = '' $keywords = array() $topic = '' $header_link = array( (int) 0 => array( 'main' => array( 'en' => 'The Gardens', 'th' => 'ชมอุทยาน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'main' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Plants', 'th' => 'พรรณไม้', 'link' => 'Plants' ), 'sub' => array() ), (int) 3 => array( 'main' => array( 'en' => 'Classroom', 'th' => 'ห้องเรียน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'main' => array( 'en' => 'Rajapruek', 'th' => 'ราชพฤกษ์', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $footer_link = array( (int) 0 => array( 'topic' => array( 'en' => 'The Gardens', 'th' => 'สวนยอดนิยม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'topic' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'topic' => array( 'en' => 'Classroom', 'th' => 'แหล่งการเรียนรู้' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'topic' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'topic' => array( 'en' => 'About us', 'th' => 'เกี่ยวกับเรา' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ) ) $top_link = array( (int) 0 => array( 'main' => array( 'en' => 'Space Rental', 'th' => 'พื้นที่ให้เช่า', 'link' => 'SpaceRental' ), 'sub' => array() ), (int) 1 => array( 'main' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Procurement & Jobs', 'th' => 'จัดซื้อจัดจ้าง สมัครงาน', 'link' => 'Purchase' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'main' => array( 'en' => 'Download', 'th' => 'ดาวน์โหลด', 'link' => 'Download' ), 'sub' => array() ), (int) 4 => array( 'main' => array( 'en' => 'Contact', 'th' => 'ติดต่อเรา', 'link' => 'Contact' ), 'sub' => array() ) ) $lang = 'th' $Visitor = array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ) $Department = array( (int) 0 => array( 'Department' => array( 'id' => '3', 'name' => 'มูลนิธิโครงการหลวง', 'logo' => 'royal.jpg', 'link' => 'http://www.royalprojectthailand.com/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 1 => array( 'Department' => array( 'id' => '4', 'name' => 'สถาบันวิจัยและพัฒนาพื้นที่สูง', 'logo' => 'hrdi.jpg', 'link' => 'http://www.hrdi.or.th/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 2 => array( 'Department' => array( 'id' => '6', 'name' => 'กระทรวงเกษตรและสหกรณ์', 'logo' => 'military.jpg', 'link' => 'http://www.qsds.go.th/newqsds/index.php', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 3 => array( 'Department' => array( 'id' => '8', 'name' => 'เครือเจริญโภคภัณฑ์', 'logo' => 'cp.jpg', 'link' => 'http://www.cpfworldwide.com', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 4 => array( 'Department' => array( 'id' => '11', 'name' => 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', 'logo' => 'agri bank.jpg', 'link' => 'http://www.baac.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 5 => array( 'Department' => array( 'id' => '12', 'name' => 'ธนาคารแห่งประเทศไทย', 'logo' => 'bank of thailand.jpg', 'link' => 'https://www.bot.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 6 => array( 'Department' => array( 'id' => '16', 'name' => 'gistda', 'logo' => 'jistda.jpg', 'link' => 'http://www.gistda.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 7 => array( 'Department' => array( 'id' => '17', 'name' => 'ธนาคารกรุงไทย', 'logo' => 'Logo Eng-Thai Horizon.ai.jpg', 'link' => 'http://www.ktb.co.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ) )include - APP\View\Promotion\promotion_detail.ctp, line 8 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 960 PromotionController::promotion_detail() - APP\Controller\PromotionController.php, line 46 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 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 offset: 0 [APP\View\Promotion\promotion_detail.ctp, line 14]Code Context<div class="swiper-container gallery-top">
<div class="swiper-wrapper">
<?php foreach ($detail[0]['PromotionImage'] as $key => $value) { ?>
$viewFile = 'C:\xampp\htdocs\rprp\app\View\Promotion\promotion_detail.ctp' $dataForView = array( 'breadcrumb' => array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ), 'detail' => array(), 'share' => true, 'title' => '', 'description' => '', 'keywords' => array(), 'topic' => '', 'header_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ) ), 'footer_link' => array( (int) 0 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 1 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 2 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 3 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 4 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ) ), 'top_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ) ), 'lang' => 'th', 'Visitor' => array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ), 'Department' => array( (int) 0 => array( 'Department' => array( [maximum depth reached] ) ), (int) 1 => array( 'Department' => array( [maximum depth reached] ) ), (int) 2 => array( 'Department' => array( [maximum depth reached] ) ), (int) 3 => array( 'Department' => array( [maximum depth reached] ) ), (int) 4 => array( 'Department' => array( [maximum depth reached] ) ), (int) 5 => array( 'Department' => array( [maximum depth reached] ) ), (int) 6 => array( 'Department' => array( [maximum depth reached] ) ), (int) 7 => array( 'Department' => array( [maximum depth reached] ) ) ) ) $breadcrumb = array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ) $detail = array() $share = true $title = '' $description = '' $keywords = array() $topic = '' $header_link = array( (int) 0 => array( 'main' => array( 'en' => 'The Gardens', 'th' => 'ชมอุทยาน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'main' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Plants', 'th' => 'พรรณไม้', 'link' => 'Plants' ), 'sub' => array() ), (int) 3 => array( 'main' => array( 'en' => 'Classroom', 'th' => 'ห้องเรียน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'main' => array( 'en' => 'Rajapruek', 'th' => 'ราชพฤกษ์', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $footer_link = array( (int) 0 => array( 'topic' => array( 'en' => 'The Gardens', 'th' => 'สวนยอดนิยม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'topic' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'topic' => array( 'en' => 'Classroom', 'th' => 'แหล่งการเรียนรู้' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'topic' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'topic' => array( 'en' => 'About us', 'th' => 'เกี่ยวกับเรา' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ) ) $top_link = array( (int) 0 => array( 'main' => array( 'en' => 'Space Rental', 'th' => 'พื้นที่ให้เช่า', 'link' => 'SpaceRental' ), 'sub' => array() ), (int) 1 => array( 'main' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Procurement & Jobs', 'th' => 'จัดซื้อจัดจ้าง สมัครงาน', 'link' => 'Purchase' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'main' => array( 'en' => 'Download', 'th' => 'ดาวน์โหลด', 'link' => 'Download' ), 'sub' => array() ), (int) 4 => array( 'main' => array( 'en' => 'Contact', 'th' => 'ติดต่อเรา', 'link' => 'Contact' ), 'sub' => array() ) ) $lang = 'th' $Visitor = array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ) $Department = array( (int) 0 => array( 'Department' => array( 'id' => '3', 'name' => 'มูลนิธิโครงการหลวง', 'logo' => 'royal.jpg', 'link' => 'http://www.royalprojectthailand.com/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 1 => array( 'Department' => array( 'id' => '4', 'name' => 'สถาบันวิจัยและพัฒนาพื้นที่สูง', 'logo' => 'hrdi.jpg', 'link' => 'http://www.hrdi.or.th/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 2 => array( 'Department' => array( 'id' => '6', 'name' => 'กระทรวงเกษตรและสหกรณ์', 'logo' => 'military.jpg', 'link' => 'http://www.qsds.go.th/newqsds/index.php', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 3 => array( 'Department' => array( 'id' => '8', 'name' => 'เครือเจริญโภคภัณฑ์', 'logo' => 'cp.jpg', 'link' => 'http://www.cpfworldwide.com', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 4 => array( 'Department' => array( 'id' => '11', 'name' => 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', 'logo' => 'agri bank.jpg', 'link' => 'http://www.baac.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 5 => array( 'Department' => array( 'id' => '12', 'name' => 'ธนาคารแห่งประเทศไทย', 'logo' => 'bank of thailand.jpg', 'link' => 'https://www.bot.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 6 => array( 'Department' => array( 'id' => '16', 'name' => 'gistda', 'logo' => 'jistda.jpg', 'link' => 'http://www.gistda.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 7 => array( 'Department' => array( 'id' => '17', 'name' => 'ธนาคารกรุงไทย', 'logo' => 'Logo Eng-Thai Horizon.ai.jpg', 'link' => 'http://www.ktb.co.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ) )include - APP\View\Promotion\promotion_detail.ctp, line 14 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 960 PromotionController::promotion_detail() - APP\Controller\PromotionController.php, line 46 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 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\Promotion\promotion_detail.ctp, line 14]Code Context<div class="swiper-container gallery-top">
<div class="swiper-wrapper">
<?php foreach ($detail[0]['PromotionImage'] as $key => $value) { ?>
$viewFile = 'C:\xampp\htdocs\rprp\app\View\Promotion\promotion_detail.ctp' $dataForView = array( 'breadcrumb' => array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ), 'detail' => array(), 'share' => true, 'title' => '', 'description' => '', 'keywords' => array(), 'topic' => '', 'header_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ) ), 'footer_link' => array( (int) 0 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 1 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 2 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 3 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 4 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ) ), 'top_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ) ), 'lang' => 'th', 'Visitor' => array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ), 'Department' => array( (int) 0 => array( 'Department' => array( [maximum depth reached] ) ), (int) 1 => array( 'Department' => array( [maximum depth reached] ) ), (int) 2 => array( 'Department' => array( [maximum depth reached] ) ), (int) 3 => array( 'Department' => array( [maximum depth reached] ) ), (int) 4 => array( 'Department' => array( [maximum depth reached] ) ), (int) 5 => array( 'Department' => array( [maximum depth reached] ) ), (int) 6 => array( 'Department' => array( [maximum depth reached] ) ), (int) 7 => array( 'Department' => array( [maximum depth reached] ) ) ) ) $breadcrumb = array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ) $detail = array() $share = true $title = '' $description = '' $keywords = array() $topic = '' $header_link = array( (int) 0 => array( 'main' => array( 'en' => 'The Gardens', 'th' => 'ชมอุทยาน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'main' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Plants', 'th' => 'พรรณไม้', 'link' => 'Plants' ), 'sub' => array() ), (int) 3 => array( 'main' => array( 'en' => 'Classroom', 'th' => 'ห้องเรียน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'main' => array( 'en' => 'Rajapruek', 'th' => 'ราชพฤกษ์', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $footer_link = array( (int) 0 => array( 'topic' => array( 'en' => 'The Gardens', 'th' => 'สวนยอดนิยม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'topic' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'topic' => array( 'en' => 'Classroom', 'th' => 'แหล่งการเรียนรู้' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'topic' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'topic' => array( 'en' => 'About us', 'th' => 'เกี่ยวกับเรา' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ) ) $top_link = array( (int) 0 => array( 'main' => array( 'en' => 'Space Rental', 'th' => 'พื้นที่ให้เช่า', 'link' => 'SpaceRental' ), 'sub' => array() ), (int) 1 => array( 'main' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Procurement & Jobs', 'th' => 'จัดซื้อจัดจ้าง สมัครงาน', 'link' => 'Purchase' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'main' => array( 'en' => 'Download', 'th' => 'ดาวน์โหลด', 'link' => 'Download' ), 'sub' => array() ), (int) 4 => array( 'main' => array( 'en' => 'Contact', 'th' => 'ติดต่อเรา', 'link' => 'Contact' ), 'sub' => array() ) ) $lang = 'th' $Visitor = array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ) $Department = array( (int) 0 => array( 'Department' => array( 'id' => '3', 'name' => 'มูลนิธิโครงการหลวง', 'logo' => 'royal.jpg', 'link' => 'http://www.royalprojectthailand.com/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 1 => array( 'Department' => array( 'id' => '4', 'name' => 'สถาบันวิจัยและพัฒนาพื้นที่สูง', 'logo' => 'hrdi.jpg', 'link' => 'http://www.hrdi.or.th/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 2 => array( 'Department' => array( 'id' => '6', 'name' => 'กระทรวงเกษตรและสหกรณ์', 'logo' => 'military.jpg', 'link' => 'http://www.qsds.go.th/newqsds/index.php', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 3 => array( 'Department' => array( 'id' => '8', 'name' => 'เครือเจริญโภคภัณฑ์', 'logo' => 'cp.jpg', 'link' => 'http://www.cpfworldwide.com', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 4 => array( 'Department' => array( 'id' => '11', 'name' => 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', 'logo' => 'agri bank.jpg', 'link' => 'http://www.baac.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 5 => array( 'Department' => array( 'id' => '12', 'name' => 'ธนาคารแห่งประเทศไทย', 'logo' => 'bank of thailand.jpg', 'link' => 'https://www.bot.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 6 => array( 'Department' => array( 'id' => '16', 'name' => 'gistda', 'logo' => 'jistda.jpg', 'link' => 'http://www.gistda.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 7 => array( 'Department' => array( 'id' => '17', 'name' => 'ธนาคารกรุงไทย', 'logo' => 'Logo Eng-Thai Horizon.ai.jpg', 'link' => 'http://www.ktb.co.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ) )include - APP\View\Promotion\promotion_detail.ctp, line 14 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 960 PromotionController::promotion_detail() - APP\Controller\PromotionController.php, line 46 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 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 offset: 0 [APP\View\Promotion\promotion_detail.ctp, line 24]Code Context<div class="swiper-container gallery-thumbs">
<div class="swiper-wrapper">
<?php foreach ($detail[0]['PromotionImage'] as $key => $value) { ?>
$viewFile = 'C:\xampp\htdocs\rprp\app\View\Promotion\promotion_detail.ctp' $dataForView = array( 'breadcrumb' => array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ), 'detail' => array(), 'share' => true, 'title' => '', 'description' => '', 'keywords' => array(), 'topic' => '', 'header_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ) ), 'footer_link' => array( (int) 0 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 1 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 2 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 3 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 4 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ) ), 'top_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ) ), 'lang' => 'th', 'Visitor' => array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ), 'Department' => array( (int) 0 => array( 'Department' => array( [maximum depth reached] ) ), (int) 1 => array( 'Department' => array( [maximum depth reached] ) ), (int) 2 => array( 'Department' => array( [maximum depth reached] ) ), (int) 3 => array( 'Department' => array( [maximum depth reached] ) ), (int) 4 => array( 'Department' => array( [maximum depth reached] ) ), (int) 5 => array( 'Department' => array( [maximum depth reached] ) ), (int) 6 => array( 'Department' => array( [maximum depth reached] ) ), (int) 7 => array( 'Department' => array( [maximum depth reached] ) ) ) ) $breadcrumb = array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ) $detail = array() $share = true $title = '' $description = '' $keywords = array() $topic = '' $header_link = array( (int) 0 => array( 'main' => array( 'en' => 'The Gardens', 'th' => 'ชมอุทยาน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'main' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Plants', 'th' => 'พรรณไม้', 'link' => 'Plants' ), 'sub' => array() ), (int) 3 => array( 'main' => array( 'en' => 'Classroom', 'th' => 'ห้องเรียน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'main' => array( 'en' => 'Rajapruek', 'th' => 'ราชพฤกษ์', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $footer_link = array( (int) 0 => array( 'topic' => array( 'en' => 'The Gardens', 'th' => 'สวนยอดนิยม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'topic' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'topic' => array( 'en' => 'Classroom', 'th' => 'แหล่งการเรียนรู้' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'topic' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'topic' => array( 'en' => 'About us', 'th' => 'เกี่ยวกับเรา' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ) ) $top_link = array( (int) 0 => array( 'main' => array( 'en' => 'Space Rental', 'th' => 'พื้นที่ให้เช่า', 'link' => 'SpaceRental' ), 'sub' => array() ), (int) 1 => array( 'main' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Procurement & Jobs', 'th' => 'จัดซื้อจัดจ้าง สมัครงาน', 'link' => 'Purchase' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'main' => array( 'en' => 'Download', 'th' => 'ดาวน์โหลด', 'link' => 'Download' ), 'sub' => array() ), (int) 4 => array( 'main' => array( 'en' => 'Contact', 'th' => 'ติดต่อเรา', 'link' => 'Contact' ), 'sub' => array() ) ) $lang = 'th' $Visitor = array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ) $Department = array( (int) 0 => array( 'Department' => array( 'id' => '3', 'name' => 'มูลนิธิโครงการหลวง', 'logo' => 'royal.jpg', 'link' => 'http://www.royalprojectthailand.com/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 1 => array( 'Department' => array( 'id' => '4', 'name' => 'สถาบันวิจัยและพัฒนาพื้นที่สูง', 'logo' => 'hrdi.jpg', 'link' => 'http://www.hrdi.or.th/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 2 => array( 'Department' => array( 'id' => '6', 'name' => 'กระทรวงเกษตรและสหกรณ์', 'logo' => 'military.jpg', 'link' => 'http://www.qsds.go.th/newqsds/index.php', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 3 => array( 'Department' => array( 'id' => '8', 'name' => 'เครือเจริญโภคภัณฑ์', 'logo' => 'cp.jpg', 'link' => 'http://www.cpfworldwide.com', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 4 => array( 'Department' => array( 'id' => '11', 'name' => 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', 'logo' => 'agri bank.jpg', 'link' => 'http://www.baac.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 5 => array( 'Department' => array( 'id' => '12', 'name' => 'ธนาคารแห่งประเทศไทย', 'logo' => 'bank of thailand.jpg', 'link' => 'https://www.bot.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 6 => array( 'Department' => array( 'id' => '16', 'name' => 'gistda', 'logo' => 'jistda.jpg', 'link' => 'http://www.gistda.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 7 => array( 'Department' => array( 'id' => '17', 'name' => 'ธนาคารกรุงไทย', 'logo' => 'Logo Eng-Thai Horizon.ai.jpg', 'link' => 'http://www.ktb.co.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ) )include - APP\View\Promotion\promotion_detail.ctp, line 24 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 960 PromotionController::promotion_detail() - APP\Controller\PromotionController.php, line 46 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 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\Promotion\promotion_detail.ctp, line 24]Code Context<div class="swiper-container gallery-thumbs">
<div class="swiper-wrapper">
<?php foreach ($detail[0]['PromotionImage'] as $key => $value) { ?>
$viewFile = 'C:\xampp\htdocs\rprp\app\View\Promotion\promotion_detail.ctp' $dataForView = array( 'breadcrumb' => array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ), 'detail' => array(), 'share' => true, 'title' => '', 'description' => '', 'keywords' => array(), 'topic' => '', 'header_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ) ), 'footer_link' => array( (int) 0 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 1 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 2 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 3 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 4 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ) ), 'top_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ) ), 'lang' => 'th', 'Visitor' => array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ), 'Department' => array( (int) 0 => array( 'Department' => array( [maximum depth reached] ) ), (int) 1 => array( 'Department' => array( [maximum depth reached] ) ), (int) 2 => array( 'Department' => array( [maximum depth reached] ) ), (int) 3 => array( 'Department' => array( [maximum depth reached] ) ), (int) 4 => array( 'Department' => array( [maximum depth reached] ) ), (int) 5 => array( 'Department' => array( [maximum depth reached] ) ), (int) 6 => array( 'Department' => array( [maximum depth reached] ) ), (int) 7 => array( 'Department' => array( [maximum depth reached] ) ) ) ) $breadcrumb = array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ) $detail = array() $share = true $title = '' $description = '' $keywords = array() $topic = '' $header_link = array( (int) 0 => array( 'main' => array( 'en' => 'The Gardens', 'th' => 'ชมอุทยาน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'main' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Plants', 'th' => 'พรรณไม้', 'link' => 'Plants' ), 'sub' => array() ), (int) 3 => array( 'main' => array( 'en' => 'Classroom', 'th' => 'ห้องเรียน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'main' => array( 'en' => 'Rajapruek', 'th' => 'ราชพฤกษ์', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $footer_link = array( (int) 0 => array( 'topic' => array( 'en' => 'The Gardens', 'th' => 'สวนยอดนิยม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'topic' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'topic' => array( 'en' => 'Classroom', 'th' => 'แหล่งการเรียนรู้' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'topic' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'topic' => array( 'en' => 'About us', 'th' => 'เกี่ยวกับเรา' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ) ) $top_link = array( (int) 0 => array( 'main' => array( 'en' => 'Space Rental', 'th' => 'พื้นที่ให้เช่า', 'link' => 'SpaceRental' ), 'sub' => array() ), (int) 1 => array( 'main' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Procurement & Jobs', 'th' => 'จัดซื้อจัดจ้าง สมัครงาน', 'link' => 'Purchase' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'main' => array( 'en' => 'Download', 'th' => 'ดาวน์โหลด', 'link' => 'Download' ), 'sub' => array() ), (int) 4 => array( 'main' => array( 'en' => 'Contact', 'th' => 'ติดต่อเรา', 'link' => 'Contact' ), 'sub' => array() ) ) $lang = 'th' $Visitor = array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ) $Department = array( (int) 0 => array( 'Department' => array( 'id' => '3', 'name' => 'มูลนิธิโครงการหลวง', 'logo' => 'royal.jpg', 'link' => 'http://www.royalprojectthailand.com/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 1 => array( 'Department' => array( 'id' => '4', 'name' => 'สถาบันวิจัยและพัฒนาพื้นที่สูง', 'logo' => 'hrdi.jpg', 'link' => 'http://www.hrdi.or.th/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 2 => array( 'Department' => array( 'id' => '6', 'name' => 'กระทรวงเกษตรและสหกรณ์', 'logo' => 'military.jpg', 'link' => 'http://www.qsds.go.th/newqsds/index.php', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 3 => array( 'Department' => array( 'id' => '8', 'name' => 'เครือเจริญโภคภัณฑ์', 'logo' => 'cp.jpg', 'link' => 'http://www.cpfworldwide.com', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 4 => array( 'Department' => array( 'id' => '11', 'name' => 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', 'logo' => 'agri bank.jpg', 'link' => 'http://www.baac.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 5 => array( 'Department' => array( 'id' => '12', 'name' => 'ธนาคารแห่งประเทศไทย', 'logo' => 'bank of thailand.jpg', 'link' => 'https://www.bot.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 6 => array( 'Department' => array( 'id' => '16', 'name' => 'gistda', 'logo' => 'jistda.jpg', 'link' => 'http://www.gistda.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 7 => array( 'Department' => array( 'id' => '17', 'name' => 'ธนาคารกรุงไทย', 'logo' => 'Logo Eng-Thai Horizon.ai.jpg', 'link' => 'http://www.ktb.co.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ) )include - APP\View\Promotion\promotion_detail.ctp, line 24 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 960 PromotionController::promotion_detail() - APP\Controller\PromotionController.php, line 46 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 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 offset: 0 [APP\View\Promotion\promotion_detail.ctp, line 31]Code Context</div>
<div class="con-text">
<?php echo trim(stripslashes($detail[0]['Promotion']['detail'])); ?>
$viewFile = 'C:\xampp\htdocs\rprp\app\View\Promotion\promotion_detail.ctp' $dataForView = array( 'breadcrumb' => array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ), 'detail' => array(), 'share' => true, 'title' => '', 'description' => '', 'keywords' => array(), 'topic' => '', 'header_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ) ), 'footer_link' => array( (int) 0 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 1 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 2 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 3 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ), (int) 4 => array( 'topic' => array( [maximum depth reached] ), 'list' => array( [maximum depth reached] ) ) ), 'top_link' => array( (int) 0 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 1 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 2 => array( 'main' => array( [maximum depth reached] ), 'sub' => array( [maximum depth reached] ) ), (int) 3 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ), (int) 4 => array( 'main' => array( [maximum depth reached] ), 'sub' => array([maximum depth reached]) ) ), 'lang' => 'th', 'Visitor' => array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ), 'Department' => array( (int) 0 => array( 'Department' => array( [maximum depth reached] ) ), (int) 1 => array( 'Department' => array( [maximum depth reached] ) ), (int) 2 => array( 'Department' => array( [maximum depth reached] ) ), (int) 3 => array( 'Department' => array( [maximum depth reached] ) ), (int) 4 => array( 'Department' => array( [maximum depth reached] ) ), (int) 5 => array( 'Department' => array( [maximum depth reached] ) ), (int) 6 => array( 'Department' => array( [maximum depth reached] ) ), (int) 7 => array( 'Department' => array( [maximum depth reached] ) ) ) ) $breadcrumb = array( (int) 0 => array( 'name_en' => 'Promotion', 'name_th' => 'โปรโมชั่น', 'link' => 'promotion' ), (int) 1 => array( 'name_en' => '', 'name_th' => '', 'link' => '' ) ) $detail = array() $share = true $title = '' $description = '' $keywords = array() $topic = '' $header_link = array( (int) 0 => array( 'main' => array( 'en' => 'The Gardens', 'th' => 'ชมอุทยาน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'main' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Plants', 'th' => 'พรรณไม้', 'link' => 'Plants' ), 'sub' => array() ), (int) 3 => array( 'main' => array( 'en' => 'Classroom', 'th' => 'ห้องเรียน', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'main' => array( 'en' => 'Rajapruek', 'th' => 'ราชพฤกษ์', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ) ) $footer_link = array( (int) 0 => array( 'topic' => array( 'en' => 'The Gardens', 'th' => 'สวนยอดนิยม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'topic' => array( 'en' => 'Plan Your Visit', 'th' => 'การเข้าชม' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'topic' => array( 'en' => 'Classroom', 'th' => 'แหล่งการเรียนรู้' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'topic' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'topic' => array( 'en' => 'About us', 'th' => 'เกี่ยวกับเรา' ), 'list' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ) ) ) $top_link = array( (int) 0 => array( 'main' => array( 'en' => 'Space Rental', 'th' => 'พื้นที่ให้เช่า', 'link' => 'SpaceRental' ), 'sub' => array() ), (int) 1 => array( 'main' => array( 'en' => 'Corporate', 'th' => 'ลูกค้าองค์กร', 'link' => '' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'main' => array( 'en' => 'Procurement & Jobs', 'th' => 'จัดซื้อจัดจ้าง สมัครงาน', 'link' => 'Purchase' ), 'sub' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'main' => array( 'en' => 'Download', 'th' => 'ดาวน์โหลด', 'link' => 'Download' ), 'sub' => array() ), (int) 4 => array( 'main' => array( 'en' => 'Contact', 'th' => 'ติดต่อเรา', 'link' => 'Contact' ), 'sub' => array() ) ) $lang = 'th' $Visitor = array( 'Visitor' => array( 'id' => '1', 'num' => '14533740' ) ) $Department = array( (int) 0 => array( 'Department' => array( 'id' => '3', 'name' => 'มูลนิธิโครงการหลวง', 'logo' => 'royal.jpg', 'link' => 'http://www.royalprojectthailand.com/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 1 => array( 'Department' => array( 'id' => '4', 'name' => 'สถาบันวิจัยและพัฒนาพื้นที่สูง', 'logo' => 'hrdi.jpg', 'link' => 'http://www.hrdi.or.th/', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 2 => array( 'Department' => array( 'id' => '6', 'name' => 'กระทรวงเกษตรและสหกรณ์', 'logo' => 'military.jpg', 'link' => 'http://www.qsds.go.th/newqsds/index.php', 'enable' => '1', 'created_date' => '2015-11-27 11:08:57', 'modified_date' => null ) ), (int) 3 => array( 'Department' => array( 'id' => '8', 'name' => 'เครือเจริญโภคภัณฑ์', 'logo' => 'cp.jpg', 'link' => 'http://www.cpfworldwide.com', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 4 => array( 'Department' => array( 'id' => '11', 'name' => 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', 'logo' => 'agri bank.jpg', 'link' => 'http://www.baac.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 5 => array( 'Department' => array( 'id' => '12', 'name' => 'ธนาคารแห่งประเทศไทย', 'logo' => 'bank of thailand.jpg', 'link' => 'https://www.bot.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 6 => array( 'Department' => array( 'id' => '16', 'name' => 'gistda', 'logo' => 'jistda.jpg', 'link' => 'http://www.gistda.or.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ), (int) 7 => array( 'Department' => array( 'id' => '17', 'name' => 'ธนาคารกรุงไทย', 'logo' => 'Logo Eng-Thai Horizon.ai.jpg', 'link' => 'http://www.ktb.co.th', 'enable' => '1', 'created_date' => null, 'modified_date' => null ) ) )include - APP\View\Promotion\promotion_detail.ctp, line 31 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 960 PromotionController::promotion_detail() - APP\Controller\PromotionController.php, line 46 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 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
Share this Post :