<?php
/*
 * Template name: Страница Скачать
 */
?>

<?php get_header(); ?>

<section class="u60">
<div class="u7">
	<h1 class="u94"><?php the_field( 'zagalovok_sk_1' ); ?></h1>
	<p class="u63"><?php the_field( 'tekst_pod_zagolovkom_sk_1' ); ?></p>
	<a href="<?php the_field( 'ssylka_na_knopkah', 'option' ); ?>" class="u61 u59">Установить через Telegram</a>
	</div>
</section>

<section class="u53">
<div class="u7">
	<div class="u55">
		<?php if ( have_rows( 'kartochki_platform_sk_1' ) ) : ?>
	<?php while ( have_rows( 'kartochki_platform_sk_1' ) ) : the_row(); ?>
		<div class="u54">
			<?php if (get_sub_field( 'lejbl' )) { ?>
			<div class="u96"><?php the_sub_field( 'lejbl' ); ?></div>
			<?php } ?>
			<div class="u95">
				<div class="u56"><?php the_sub_field( 'tekst_v_ikonke_sk_1' ); ?></div>
				<h3><?php the_sub_field( 'nazvanie_platformy_sk_1' ); ?></h3>
				<p><?php the_sub_field( 'operaczionnaya_sistema_sk_1' ); ?></p>
			</div>
			<div class="u57">
				<ul>
					<?php if ( have_rows( 'spisok_preimushhestv_sk_1' ) ) : ?>
			<?php while ( have_rows( 'spisok_preimushhestv_sk_1' ) ) : the_row(); ?>
					<li><?php the_sub_field( 'tekst_preimushhestva_sk_11' ); ?></li>
					<?php endwhile; ?>
		<?php else : ?>
			<?php // No rows found ?>
		<?php endif; ?>
				</ul>
			</div>			
		</div>
		<?php endwhile; ?>
<?php else : ?>
	<?php // No rows found ?>
<?php endif; ?>
		
	</div>
	</div>
</section>

<section class="u103">
<div class="u7">
	<h2 class="u91"><?php the_field( 'zagolovok_bloka_sk' ); ?></h2>
	<div class="u64">
		<?php if ( have_rows( 'kartochki_bloka_sk' ) ) : ?>
	<?php while ( have_rows( 'kartochki_bloka_sk' ) ) : the_row(); ?>
		<div class="u65">
			<h3><?php the_sub_field( 'zagolovok_it_sk' ); ?></h3>
			<p><?php the_sub_field( 'tekst_it_sk' ); ?></p>
		</div>
		<?php endwhile; ?>
<?php else : ?>
	<?php // No rows found ?>
<?php endif; ?>
	</div>
	</div>
</section>

<?php get_footer(); ?>