<!-- Summer Resort Reviews -->
			  <?php if (in_category ('summer-resorts')) { ?>
		
<!-- start The Location description-->
	
	<section id="location-image">					
					
						<div class="inprofile-img-wrapper"> 
						<div class="imageBlock-heroImage">
							

							<?php 	$image = get_field('location_image');
							if( !empty($image) ): ?>
							<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
							<?php endif; ?>

							
							
						</div>
						</div>
							
					
	</section>
	<section id="location" class="wrapper">
		<?php
		if ( function_exists('yoast_breadcrumb') ) {
		yoast_breadcrumb('
		<p id="breadcrumbs">','</p>
		');
		}
		?>
			<div class="feature-title">
			<h1><?php the_title(); ?> </h1>
			<h2>
			<?php
			$value = get_field( "feature_sub_title" );
			if( $value ) {
       		echo $value;
			} else {
		   echo '';
    
			}
			 ?></h2>
			</div>

<div class="menu-holder">
	<?php echo do_shortcode( "[hmenu id=2]" ); ?>
</div>

					<div class="content-container">
					<div class="category-content-resort-location">
					
					
					
							<?php $summerlocation = get_post_meta( $post->ID, 'summerlocation', true ) ; ?>
							<?php if (! empty($summerlocation)) { ?>
							<?php echo get_post_meta( $post->ID, 'summerlocation', true ) ; ?>
							<? } ?>
					
					
					</div>

						
					</div>
	</section>		
<!-- end The Location description -->




<!-- Start The Summer Village -->
	<section id="s-village">	
				<div class="content-container">
					<figure>
						<?php 	$image = get_field('summer_village_image');
						if( !empty($image) ): ?>
						<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
						<?php endif; ?>
					</figure>
						<h2>The village</h2>
				</div>
			
	
				<div class="content-container">
					<div class="inprofile2col">
					<div class="content">
						<?php $summervillage = get_post_meta( $post->ID, 'summervillage', true ) ; ?>
						<?php if ( ! empty($summervillage)) { ?>
						<?php echo get_post_meta( $post->ID, 'summervillage', true ) ; ?>
						<? } ?>
					</div>



					</div>	
			
		
			<!-- start village inprofile -->
			<div class="inprofile2col">
				<h2 class="xl-hdr_bordertops">Staying There</h2>
			
			<!-- Staying There -->
					<div class="hearts_box">
					
					<span class="ip_stayingthere_summer_value">
						<span class="hearts-<?php echo get_post_meta( $post->ID, 'ip_stayingthere_summer_value', true ) ; ?>"> Value for Money</span>
					</span>
					<span class="ip_stayingthere_summer_accom">
						<span class="hearts-<?php echo get_post_meta( $post->ID, 'ip_stayingthere_summer_accom', true ) ; ?>"> Accommodation</span>
					</span>
					<span class="ip_stayingthere_summer_diningout">
						<span class="hearts-<?php echo get_post_meta( $post->ID, 'ip_stayingthere_summer_diningout', true ) ; ?>"> Dining Out</span>
					</span>
					<span class="ip_stayingthere_summer_nightlife">
						<span class="hearts-<?php echo get_post_meta( $post->ID, 'ip_stayingthere_summer_nightlife', true ) ; ?>"> Nightlife</span>
					</span>
					<span class="ip_stayingthere_summer_charm">
						<span class="hearts-<?php echo get_post_meta( $post->ID, 'ip_stayingthere_summer_charm', true ) ; ?>"> Village Charm</span>
					</span>
					</div>
					<div class="content">
				
						<p>See <a href="#practical-information">Practical Information</a> below for accommodation suggestions.</p>
						
					<div class="famplus_logo">
						<?php if( get_field('famille-plus') ): ?>
						<?php	 
						$image = get_field('famille_plus_logo');
						if( !empty($image) ): ?>
						<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
						<?php endif; ?>
						<p><strong><?php echo get_post_meta( $post->ID, 'ip_destination_name', true ) ; ?> is a Famille Plus resort</strong></p>
						<p><a href="http://www.familleplus.fr" target="blank">Famille Plus</a> is a national label awarded to tourist destinations offering a special welcome and services tailored to families and children.</p>
						
						<p>There's plenty to do for all ages and abilities, see <a href="#s-activities">Summer Activities</a> for more information.</p>
						<?php endif; ?>
					</div>
						
						
					</div>


				</div>
				<div id="resorts-ad">
						<p>Advertisement</p>
						<!--Google Adsense -->
						<?php echo adrotate_ad(3); ?>

						</div>
	</section>
<!-- end village inprofile -->

<!-- Start Summer Resort Activities -->
		<section id="s-activities">
					<div class="content-container">
						<figure>
								<?php 	$image = get_field('summer_activities_image');
								if( !empty($image) ): ?>
								<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
								<?php endif; ?>
						</figure>
						<h2>Summer Activities</h2>
					</div>
					
			
				<div class="content-container">
					<div class="inprofile2col">
						<div class="content">
						<?php $resortactivities = get_post_meta( $post->ID, 'resortactivities', true ) ; ?>
						<?php if ( ! empty($resortactivities)) { ?>
						<?php echo get_post_meta( $post->ID, 'resortactivities', true ) ; ?>
						<? } ?>
						</div>


						
					</div>
			
		<!-- ends Resort Activities content-->
		
			<!-- start  Resort Activities inprofile -->
			<div class="inprofile2col">
			
				<h2 class="xl-hdr_bordertops">Activities There</h2>
				<div class="hearts_box">
					<div class="content">
					<span class="ip_attractions">
						<span class="hearts-<?php echo get_post_meta( $post->ID, 'ip_attractions', true ) ; ?>"> Attractions</span>
					</span>
					<span class="ip_walking">
						<span class="hearts-<?php echo get_post_meta( $post->ID, 'ip_walking', true ) ; ?>"> Walking</span>
					</span>
					<span class="ip_cycling">
						<span class="hearts-<?php echo get_post_meta( $post->ID, 'ip_cycling', true ) ; ?>"> Cycling</span>
					</span>
					<span class="ip_activities">
						<span class="hearts-<?php echo get_post_meta( $post->ID, 'ip_activities', true ) ; ?>"> Activities</span>
					</span>
				
					
				
					
					</div>
					</div>
			
			
			<!-- end activities inprofile -->
		
						</div>
			
						</div>		
	</section> 


<!--Activities info sections-->
<section id="activities-information" class="wrapper">
	
			<div class="content-container">
			
		<div class="bordertopw">
			<h2>Activities Information</h2>
			</div>

			<!-- Things to do begins -->
			<?php if( get_field('activities')): ?>
			<div class="inprofile3col">
			<h2>Things to do</h2>
			<span class="content">
			<?php echo get_post_meta( $post->ID, 'activities', true ); ?></span>
			</div>
			<?php endif; ?><!-- Ends things to do -->
		


			<!-- Places to Visit begins -->

			<?php if( get_field('placestovisit')): ?>
			<div class="inprofile3col">	
			<h2>Places to visit</h2>
			<span class="content">
			<?php  echo get_post_meta( $post->ID, 'placestovisit', true ); ?></span>


		<!--Club Med Tignes-->
			<?php if ( is_single(array ('2930',) ) ): ?> <!-- specifies which post ad appears on -->
			
			<?php echo adrotate_ad(17); ?> <!-- specifies which ad appears -->
			<hr>
			<?php endif; ?> <!-- ends which post it appears on -->




			</div>
			<?php endif; ?><!-- Ends Places to visit -->


			<div class="inprofile3col">
			
			
			<!-- Custom Walks/Rides begins -->

			
				
			<h2>Walks, rides etc.</h2>
			<span class="content">
			<?php  echo get_post_meta( $post->ID, 'custom_walks_rides', true ); ?></span>
			
			<!-- Ends Custom walks/rides -->

			<!-- Tourist Office begins -->
			
			<?php if( get_field('tourist_office')): ?>
			
			<h2>Tourist Office</h2>
			<div class="image-container">
			<?php 	$image = get_field('resort_logo');
			if( !empty($image) ): ?>
			<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['resort_logo']; ?>" />
			<?php endif; ?> 
			</div>
			
			<span class="content">
			<?php echo get_post_meta( $post->ID, 'tourist_office', true ); ?></span>
			<!-- Ends tourist office -->
		
			<?php endif; ?>



			</div>			

			<div id="resorts-ad">
						<!--Google Adsense -->
						<p>Advertisement</p>
						<?php echo adrotate_ad(3); ?>

						</div>

</section><!-- ends activities sections-->

<!-- Ends Summer Resort Reviews inprofile -->


			

<!-- start Summer Resort extra info -->
	
	<section id="extra-info" class="extended-wrapper-grey">	
		
					
					<div class="content-container">
					<div class="inprofile3col"> 
					
					<h3><img class="icon-smile" src="<?php bloginfo('wpurl'); ?>/wp-content/uploads/2016/01/MP-smiley.svg" alt="icon-smiley">Yes please...</h3>
						<div class="content">
						<span class="ip_bulletpts"><?php echo get_post_meta( $post->ID, 'summer_goodpoints', true ) ; ?></span>
						</div>
					</div>
					<div class="inprofile3col">
						<h3><img class="icon-frown" src="<?php bloginfo('wpurl'); ?>/wp-content/uploads/2016/01/MP-frowney.svg" alt="icon-frowney">Yes but...</h3>
						<div class="content">
						<span class="ip_bulletpts"><?php echo get_post_meta( $post->ID, 'summer_badpoints', true ) ; ?></span>
						</div>
					</div>	
					<div class="inprofile3col">
						<h3><img class="icon-wink" src="<?php bloginfo('wpurl'); ?>/wp-content/uploads/2016/01/MP-wisey.svg" alt="icon-winking">Our Tips</h3>
						<div class="content">
						<span class="ip_bulletpts"><?php echo get_post_meta( $post->ID, 'summer_ourtips', true ) ; ?></span>
						</div>
						
					</div>
					</div>
					</div>
					
		<div class="down-arrow"><a href="#insight"><img src="<?php bloginfo('wpurl'); ?>/wp-content/uploads/2016/01/dn-arrow-grey.svg" alt="Jump to Insight"></a>
		<p>Jump to Insight</p></div>			
					

	</section>
<!-- end Summer Resort extra info -->

<!-- end Summer Resort Review intro panels section -->
<hr class="divider">
<!--Practical info sections-->
<section id="practical-information" class="wrapper">
	
			<div class="content-container">
			
		<div class="bordertopw">
			<h2>Practical Information</h2>
			</div>
		<!-- Essential Info Starts-->
		
<!-- Getting there begins -->	
			<?php if( get_field('gettingthere') ): ?>
			<div class="inprofile3col">
			<h2>Getting there</h2>

			<div id="resorts-ad">
			<!--PO Ferries -->
					<div class="content-ad-3col"><?php echo adrotate_ad(4); ?></div>
			</div>
			<!--PO Ferries text -->
			<?php if (is_single (array (7900,) ) ): ?> 
			<?php echo adrotate_ad(12); ?> 
			<?php endif; ?>
			<!--end-->
			<span class="content">
			<?php echo get_post_meta( $post->ID, 'gettingthere', true ) ; ?></span>
			<?php endif; ?>

			
			<!-- ends Getting there -->

		
			</div>

		<!-- Where to stay begins -->	
			<?php if( get_field('wheretostay') ): ?>
			<div class="inprofile3col">
			<h2>Where to stay</h2>
			<span class="content">
			<?php echo get_post_meta( $post->ID, 'wheretostay', true ) ; ?></span>
			</div>
			<?php endif; ?><!-- ends Where to stay -->
	

		<!-- Where to eat begins -->	
			<?php if( get_field('foodanddrink') ): ?>
			<div class="inprofile3col">
			<h2>Food and Drink</h2>
			<span class="content">
			<?php echo get_post_meta( $post->ID, 'foodanddrink', true ) ; ?></span>
			</div>
			<?php endif; ?><!-- ends Where to eat -->

			

</div>

			

</section><!-- ends practical info sections-->

<hr class="divider">

	<!-- main summer resort article -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

		
	<section id="insight" class="wrapper">
	<div class="mobile-only">
		<div class="mobile-insight--title">
		<h2 >Insight: <?php echo get_post_meta( get_the_ID(), 'ip_destination_name', true ); ?>
						</h2>
						</div>
		</div>	
		<div class="feature-img-wrapper">	
			
			<div class="imageBlock-insightImage">
				<?php 	$image = get_field('insight_header_image');
				if( !empty($image) ): ?>
				<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
				<?php endif; ?>
				<h2><span><?php the_title(); ?></span></h2>
			</div>
		
		</div>
	</section>
		<section id="insight" class="feature-wrapper">

		

			<?php the_content(); // Dynamic Content ?>

			<!-- Copyright -->
			<p class="copyright"><?php _e( 'Feature by ', 'html5blank' ); the_author(); ?>, &copy; <?php echo date("Y") ?></p>		
			<!-- ends copyright -->	

		
		<div id="resorts-ad">
						<!--Google Adsense -->
						<p>Advertisement</p>
						<?php echo adrotate_ad(3); ?>

						</div>
		</section>
</article>
<!-- /end article summer resort review -->
	

				<?php } //end if in Summer Resort Reviews ?>