'club-card', 'posts_per_page' => -1, 'lang' => $current_lang, 'post_status' => 'publish', 'sort' => 'menu_order', 'order' => 'ASC', ); return get_posts($args); } } $cards = get_club_cards_for_current_language(); $heading = get_field('heading', $block['id']); $room = get_current_room(); if ($room === 'fitness') { } else { $section_classes = 'bg-cover bg-center bg-no-repeat'; $bg_image = get_template_directory_uri() . '/assets/images/hero-bg.png'; $style_attr = 'style="background-image: url(' . esc_url($bg_image) . ')"'; } ?>
>

ID); if ($card_image): ?>
<?php echo esc_attr($card_image['alt']); ?>
ID); ?>

ID); ?>
ID); ?> ID) ?: ($card_prices['1_month']['day'] ?? ''); ?> ID)) { while (have_rows('card_prices', $card->ID)) { the_row(); $periods = ['1_month', '3_month', '6_month', '12_month']; foreach ($periods as $period) { if (have_rows($period)) { while (have_rows($period)) { the_row(); $card_prices[$period] = [ 'full' => get_sub_field('full'), 'day' => get_sub_field('day') ]; } } } } } ?> ID)) { while (have_rows('time', $card->ID)) { the_row(); $card_time[] = [ 'normal_days' => get_sub_field('normal_days'), 'vacation_days' => get_sub_field('vacation_days') ]; } } ?>
от 
 ₽
 в день