Code Context else{
echo '<option value="0"> -- by City -- </option>';
foreach($all_city_filter as $key => $row) {
$viewFile = 'C:\Domains\sltbooking\sltbooking.com\wwwroot\app\View\Elements\search-availability.ctp'
$dataForView = array(
'var' => array(),
'hotel' => array(
'Hotel' => array(
'id' => '8500',
'uuid' => '5de9f838-2864-4b01-9a63-09a86383253b',
'user_id' => null,
'name' => 'ITogether Homestay ',
'slug' => 'itogether-homestay',
'excerpt' => 'Offering garden views, ITogether Homestay is an accommodation located in Melaka, 7 km from Menara Taming Sari and 7 km from Melaka Straits Mosque.',
'body' => '<p>Offering garden views, ITogether Homestay is an accommodation located in Melaka, 7 km from Menara Taming Sari and 7 km from Melaka Straits Mosque. With free private parking, the property is 4 km from St John's Fort and 6 km from Porta de Santiago.</p>
<p>The air-conditioned holiday home consists of 4 bedrooms, a kitchen with dining area, and 2 bathrooms with bidet. A flat-screen TV with satellite channels is featured.</p>
<p>Baba & Nyonya Heritage Museum is 7 km from the holiday home, while The Stadthuys is 7 km away. The nearest airport is Melaka International Airport, 16 km from ITogether Homestay.</p>
',
'addr_line_1' => 'No.7, Jalan Siakap 10, Permatang Pasir Perdana, 75460 Melaka',
'addr_line_2' => '',
'addr_line_3' => '',
'city_name' => 'Pasir Perdana',
'state_name' => 'Melaka',
'postal_code' => '75460',
'country' => 'Malaysia',
'email' => '',
'email_2' => '',
'phone_no' => '+6012-360 2555',
'fax_no' => '',
'whatsapp' => '',
'website' => '',
'remark' => '',
'gst_id' => null,
'ghl_id' => null,
'ghl_pwd' => null,
'web_service_url' => '',
'photo' => '15756145201218059561.jpg',
'photo_dir' => '',
'map' => '',
'gps_link' => '',
'resv_url' => 'https://www.agoda.com/partners/partnersearch.aspx?pcs=1&cid=1826000&hid=10895669',
'meta_title' => ' ITogether Homestay ',
'meta_keyword' => ' ITogether Homestay ,Melaka,Melaka, reservation, rooms, bed, hotel deals, hotel cheap, best budget hotel, boutique hotel, best hotel',
'meta_description' => 'Offering garden views, ITogether Homestay is an accommodation located in Melaka, 7 km from Menara Taming Sari and 7 km from Melaka Straits Mosque.',
'active' => true,
'sorting' => '0',
'created' => '2019-12-06 14:42:00',
'created_user_id' => '2',
'modified' => '2019-12-06 14:42:42',
'modified_user_id' => '2',
'payment_gateway_id' => null,
'front_desk_disabled' => null,
'molpay_merchant_id' => null,
'molpay_merchant_vkey' => null,
'ipay88_merchant_code' => null,
'ipay88_merchant_key' => null,
'state_id' => '5',
'city_id' => '218'
),
'CreatedUser' => array(
'username' => 'manager'
),
'ModifiedUser' => array(
'username' => 'manager'
),
'State' => array(
'name' => 'Melaka'
),
'City' => array(
'name' => 'Melaka'
),
'RoomType' => array(),
'Attraction' => array(),
'Events' => array(),
'Pages' => array()
),
'title_for_layout' => ' ITogether Homestay ',
'mk_for_layout' => ' ITogether Homestay ,Melaka,Melaka, reservation, rooms, bed, hotel deals, hotel cheap, best budget hotel, boutique hotel, best hotel',
'md_for_layout' => 'Offering garden views, ITogether Homestay is an accommodation located in Melaka, 7 km from Menara Taming Sari and 7 km from Melaka Straits Mosque.',
'city_id_display' => array(
(int) 0 => '0'
),
'city_id' => null,
'state_id_display' => array(
(int) 0 => '0'
),
'state_id' => null,
'search_all' => null,
'all_city_filter' => '',
'all_state_filter' => array(
(int) 1 => 'Johor',
(int) 2 => 'Kedah',
(int) 4 => 'Kelantan',
(int) 5 => 'Melaka',
(int) 6 => 'Negeri Sembilan',
(int) 7 => 'Pahang',
(int) 8 => 'Perak',
(int) 9 => 'Perlis',
(int) 10 => 'Pulau Pinang',
(int) 11 => 'Sabah',
(int) 12 => 'Sarawak',
(int) 13 => 'Selangor',
(int) 14 => 'Terengganu',
(int) 15 => 'Wilayah Persekutuan Kuala Lumpur',
(int) 16 => 'Wilayah Persekutuan Labuan',
(int) 17 => 'Wilayah Persekutuan Putrajaya'
),
'galleryMedia' => array(
(int) 0 => array(
'GalleryMedia' => array(
[maximum depth reached]
)
)
),
'gallery' => array(
'Gallery' => array(
'id' => '6563',
'hotel_id' => '8500',
'title' => ' ITogether Homestay ',
'slug' => 'itogether-homestay',
'parent_id' => '1',
'lft' => '12980',
'rght' => '12981',
'content' => '',
'thumbnail' => null,
'meta_title' => ' ITogether Homestay ',
'meta_keyword' => ' ITogether Homestay ',
'meta_description' => ' ITogether Homestay ',
'is_published' => true,
'sorting' => '0',
'created' => '2019-12-06 14:43:25',
'modified' => '2019-12-06 14:43:25'
)
),
'sitename' => '',
'title' => ''
)
$var = array()
$hotel = array(
'Hotel' => array(
'id' => '8500',
'uuid' => '5de9f838-2864-4b01-9a63-09a86383253b',
'user_id' => null,
'name' => 'ITogether Homestay ',
'slug' => 'itogether-homestay',
'excerpt' => 'Offering garden views, ITogether Homestay is an accommodation located in Melaka, 7 km from Menara Taming Sari and 7 km from Melaka Straits Mosque.',
'body' => '<p>Offering garden views, ITogether Homestay is an accommodation located in Melaka, 7 km from Menara Taming Sari and 7 km from Melaka Straits Mosque. With free private parking, the property is 4 km from St John's Fort and 6 km from Porta de Santiago.</p>
<p>The air-conditioned holiday home consists of 4 bedrooms, a kitchen with dining area, and 2 bathrooms with bidet. A flat-screen TV with satellite channels is featured.</p>
<p>Baba & Nyonya Heritage Museum is 7 km from the holiday home, while The Stadthuys is 7 km away. The nearest airport is Melaka International Airport, 16 km from ITogether Homestay.</p>
',
'addr_line_1' => 'No.7, Jalan Siakap 10, Permatang Pasir Perdana, 75460 Melaka',
'addr_line_2' => '',
'addr_line_3' => '',
'city_name' => 'Pasir Perdana',
'state_name' => 'Melaka',
'postal_code' => '75460',
'country' => 'Malaysia',
'email' => '',
'email_2' => '',
'phone_no' => '+6012-360 2555',
'fax_no' => '',
'whatsapp' => '',
'website' => '',
'remark' => '',
'gst_id' => null,
'ghl_id' => null,
'ghl_pwd' => null,
'web_service_url' => '',
'photo' => '15756145201218059561.jpg',
'photo_dir' => '',
'map' => '',
'gps_link' => '',
'resv_url' => 'https://www.agoda.com/partners/partnersearch.aspx?pcs=1&cid=1826000&hid=10895669',
'meta_title' => ' ITogether Homestay ',
'meta_keyword' => ' ITogether Homestay ,Melaka,Melaka, reservation, rooms, bed, hotel deals, hotel cheap, best budget hotel, boutique hotel, best hotel',
'meta_description' => 'Offering garden views, ITogether Homestay is an accommodation located in Melaka, 7 km from Menara Taming Sari and 7 km from Melaka Straits Mosque.',
'active' => true,
'sorting' => '0',
'created' => '2019-12-06 14:42:00',
'created_user_id' => '2',
'modified' => '2019-12-06 14:42:42',
'modified_user_id' => '2',
'payment_gateway_id' => null,
'front_desk_disabled' => null,
'molpay_merchant_id' => null,
'molpay_merchant_vkey' => null,
'ipay88_merchant_code' => null,
'ipay88_merchant_key' => null,
'state_id' => '5',
'city_id' => '218'
),
'CreatedUser' => array(
'username' => 'manager'
),
'ModifiedUser' => array(
'username' => 'manager'
),
'State' => array(
'name' => 'Melaka'
),
'City' => array(
'name' => 'Melaka'
),
'RoomType' => array(),
'Attraction' => array(),
'Events' => array(),
'Pages' => array()
)
$title_for_layout = ' ITogether Homestay '
$mk_for_layout = ' ITogether Homestay ,Melaka,Melaka, reservation, rooms, bed, hotel deals, hotel cheap, best budget hotel, boutique hotel, best hotel'
$md_for_layout = 'Offering garden views, ITogether Homestay is an accommodation located in Melaka, 7 km from Menara Taming Sari and 7 km from Melaka Straits Mosque.'
$city_id_display = array(
(int) 0 => '0'
)
$city_id = null
$state_id_display = array(
(int) 0 => '0'
)
$state_id = null
$search_all = null
$all_city_filter = ''
$all_state_filter = array(
(int) 1 => 'Johor',
(int) 2 => 'Kedah',
(int) 4 => 'Kelantan',
(int) 5 => 'Melaka',
(int) 6 => 'Negeri Sembilan',
(int) 7 => 'Pahang',
(int) 8 => 'Perak',
(int) 9 => 'Perlis',
(int) 10 => 'Pulau Pinang',
(int) 11 => 'Sabah',
(int) 12 => 'Sarawak',
(int) 13 => 'Selangor',
(int) 14 => 'Terengganu',
(int) 15 => 'Wilayah Persekutuan Kuala Lumpur',
(int) 16 => 'Wilayah Persekutuan Labuan',
(int) 17 => 'Wilayah Persekutuan Putrajaya'
)
$galleryMedia = array(
(int) 0 => array(
'GalleryMedia' => array(
'id' => '6840',
'gallery_id' => '6563',
'photo' => '157561466478161702.jpg',
'photo_dir' => '',
'sorting' => '0',
'title' => 'Hotel building',
'created' => '2019-12-06 14:44:24',
'created_user_id' => null,
'modified' => '2019-12-06 14:44:24',
'modified_user_id' => null
)
)
)
$gallery = array(
'Gallery' => array(
'id' => '6563',
'hotel_id' => '8500',
'title' => ' ITogether Homestay ',
'slug' => 'itogether-homestay',
'parent_id' => '1',
'lft' => '12980',
'rght' => '12981',
'content' => '',
'thumbnail' => null,
'meta_title' => ' ITogether Homestay ',
'meta_keyword' => ' ITogether Homestay ',
'meta_description' => ' ITogether Homestay ',
'is_published' => true,
'sorting' => '0',
'created' => '2019-12-06 14:43:25',
'modified' => '2019-12-06 14:43:25'
)
)
$sitename = ''
$title = ''
$row = 'Wilayah Persekutuan Putrajaya'
$key = (int) 17
include - APP\View\Elements\search-availability.ctp, line 63
View::_evaluate() - CORE\Cake\View\View.php, line 971
View::_render() - CORE\Cake\View\View.php, line 933
View::_renderElement() - CORE\Cake\View\View.php, line 1224
View::element() - CORE\Cake\View\View.php, line 418
include - APP\View\Hotels\main.ctp, line 2
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 963
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 200
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
require - APP\webroot\index.php, line 111
[main] - ROOT\index.php, line 41