<?php get_header(); ?>
<!-- если страница не 12 -->

<?php 

if ( is_page( array( 2 ) ) ) 

{ ?>


<?php } else { ?>


<?php 

if ( !is_page( array( 12 ) ) ) 

{ ?>

<br> <br> <br> <br><br><br>
<div class="container tim-container	">
<div class="col-sm-12 col-md-12 col-lg-12">
<br>
<span class="label label-warning"><?php the_title(); ?></span>
<br>
<!-- контент -->


<?php 

if ( is_page( array( 25,12,16,142 ) ) ) 

{ ?>

			<?php
				// Start the Loop.
				while ( have_posts() ) : the_post();

					// Include the page content template.
					get_template_part( 'content', 'page' );

					// If comments are open or we have at least one comment, load up the comment template.
					
				endwhile;
			?>
<?php } else { ?>

<? include ($_SERVER["DOCUMENT_ROOT"]."/wp-content/themes/fifa/poisk-page.php"); ?>


<div class="container">

<? include ($_SERVER["DOCUMENT_ROOT"]."/wp-content/themes/fifa/left-colomn.php"); ?>

<!--  -->


<div class="col-sm-12 col-md-8 col-lg-8" >&nbsp;
<h1 class="page"><?php the_title(); ?></h1> 
<div class="page-prise"><a href="/ceny/" style="color: #b63b4d;pointer-events: auto;cursor: pointer;">- Прайс на услуги</a></div>

<?php
				// Start the Loop.
				while ( have_posts() ) : the_post();

					// Include the page content template.
					get_template_part( 'content', 'page' );

					// If comments are open or we have at least one comment, load up the comment template.
					
				endwhile;
			?>


</div>

<!--  -->
</div>
			

<?php }?>

<!-- конец контента -->
</div></div>
<!-- если другая какая то страница -->
<?php } else { ?>


<br> <br> <br><br>

<div class="container">

<br>
<span class="label label-warning"><?php the_title(); ?></span>
<br>

<?php if(has_post_thumbnail()){ ?>
<a href="<?php
$thumb_id = get_post_thumbnail_id();
$thumb_url = wp_get_attachment_image_src($thumb_id,'thumbnail-size', true);
echo $thumb_url[0];
?>" class="fancybox"  title="<?php the_title(); ?>">

<?php if ( has_post_thumbnail()) {the_post_thumbnail(array(400, 400),array("class"=>"alignleft post_thumbnail wow fadeIn" ,'alt' => get_the_title()));} ?>

	</a>


<?php } ?>




			<?php
				// Start the Loop.
				while ( have_posts() ) : the_post();

					// Include the page content template.
					get_template_part( 'content', 'page' );

					// If comments are open or we have at least one comment, load up the comment template.
					
				endwhile;
			?>






</div>
<?php }?>

<?php }?>


<?php get_footer(); ?>