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

<?php get_header(); ?>

<section class="first-block-v2ray">
<div class="container">
	<h1 class="h1-v2ray-vpn"><?php the_field( 'zagalovok_sk_1' ); ?></h1>
	<p class="first-block-txt"><?php the_field( 'tekst_pod_zagolovkom_sk_1' ); ?></p>
	<a href="#" class="nav-trigger get-telegram-btn scroll-fade-in">Установить</a>
	</div>
</section>

<section class="platforms-supported">
<div class="container">
	<div class="platforms-block">
		<?php if ( have_rows( 'kartochki_platform_sk_1' ) ) : ?>
	<?php while ( have_rows( 'kartochki_platform_sk_1' ) ) : the_row(); ?>
		<div class="multiplatforms-v2rayvpn">
			<?php if (get_sub_field( 'lejbl' )) { ?>
			<div class="tops"><?php the_sub_field( 'lejbl' ); ?></div>
			<?php } ?>
			<div class="top-plat-block">
				<div class="plat-ic-t"><?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="plat-spis">
				<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="why-pc">
<div class="container">
	<h2 class="h2-v2ray-vpn"><?php the_field( 'zagolovok_bloka_sk' ); ?></h2>
	<div class="advantage-v2rayvpn">
		<?php if ( have_rows( 'kartochki_bloka_sk' ) ) : ?>
	<?php while ( have_rows( 'kartochki_bloka_sk' ) ) : the_row(); ?>
		<div class="advantage-info">
			<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(); ?>