get_component('leftButton');
wp_body_open();
?>
get_component('header', array()); ?>
global $post;
$queue = get_the_terms($post->ID,'queue')[0]->slug;
$post_slug = $post->post_name;
get_component('project', array(
'title' => get_the_title(),
'main_page' => 'N',
'slideList' => get_field('slider'),
'area' => get_field('area'),
'room' => get_field('room'),
'bathrooms' => get_field('bathrooms'),
'bedrooms' => get_field('bedrooms'),
'kitchen' => get_field('kitchen'),
'build_queue' => get_field('build_queue'),
'section' => get_field('section'),
'plot' => get_field('plot'),
'queue' => $queue,
'price' => get_field('price'),
'type' => get_field('type'),
'advantagesList' => get_field('advantages'),
'docs' => get_field('desing_docs', 'option'),
'slug' => $post_slug
));
get_component('projectHouseList', array('area' => get_field('area')));
$galleries = array();
foreach(get_field('дизайн_интерьера', 'option') as $el) {
foreach($el['project_number'] as $project_number) {
if($project_number == get_field('number')) {
array_push($galleries, $el);
}
}
}
get_component('houseGallery', array('galleries' => $galleries));
get_component('houseOptions', array(
'optionsList' => get_field('options', 'option')
));
?>
get_component('priceForm'); ?>
get_component('footer', array(
'iframe' => ''
)); ?>
Сайт использует файлы cookie, необходимые для корректной работы сайта, и сервисы Яндекс-метрики, используемые для анализа статистики посещаемости, которые не содержат сведений, на основании которых можно идентифицировать личность пользователя. Продолжение пользования сайтом является согласием Политики обработки персональных данных .
Согласен