<?php
/**
 * Template Name: Page with right sidebar
 *
 * @package Luzuk
 */
get_header(); 
?>
<header class="page-main-header">
    <?php if( get_theme_mod('innerpagesallheaderanimation_button_display','show' ) == 'show') :
								?>	
	<!-- <div class="layer-1">
			<img  src="<?php //echo esc_url(get_template_directory_uri().'/images/icon2.png');?>" alt="" />
		</div>  -->
		<div class="layer-2">
			<img  src="<?php echo esc_url(get_template_directory_uri().'/images/icon3.png');?>" alt="" />
		</div>
		<!-- <div class="layer-3">
			<img  src="<?php //echo esc_url(get_template_directory_uri().'/images/icon4.png');?>" alt="" />
		</div> -->
		<div class="layer-4">
			<img  src="<?php echo esc_url(get_template_directory_uri().'/images/icon5.png');?>" alt="" />
		</div>
		<!-- <div class="layer-5">
			<img  src="<?php //echo esc_url(get_template_directory_uri().'/images/icon6.png');?>" alt="" />
		</div>
		<div class="layer-6">
			<img  src="<?php //echo esc_url(get_template_directory_uri().'/images/icon7.png');?>" alt="" />
		</div> -->
		<div class="layer-7">
			<img  src="<?php echo esc_url(get_template_directory_uri().'/images/icon8.png');?>" alt="" />
		</div>
		<div class="layer-8">
			<img  src="<?php echo esc_url(get_template_directory_uri().'/images/icon6.png');?>" alt="" />
		</div>
			<div class="layer-9">
			<img  src="<?php echo esc_url(get_template_directory_uri().'/images/icon8.png');?>" alt="" />
		</div>
	<?php endif ?>
<div>
		<?php $image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));?>
		<?php
		//print_r ($post);
			if (!empty($image)){
				echo '<img src="'.$image.'" class="ht-page-header-img" />';
			}
		?>
		<!-- <img src="<?php //echo !empty($image)?$image : get_template_directory_uri().'/images/innerpage.jpg';?>" class="ht-page-header-img" alt="<?php //the_title();?>" /> -->
	</div>
       
    <div class="container">
        <div class="col-md-6 col-sm-6 inner-page-title-box word">
            <?php the_title( '<h1>', '</h1>' ); ?>
        </div>
    <div class="col-md-6 col-sm-6 breadcrumb-area">
        <?php if( get_theme_mod('breadcrumb_button_display','show' ) == 'show') :
    ?>
        <div class='button'><?php luzuk_lite_the_breadcrumb(); ?></div>
          <?php endif ?>    
    </div>
</div>
    
</header>
<div class="page-wavey">
	<svg viewBox="0 0 500 150" preserveAspectRatio="none" style="height: 100%; width: 100%;"><path d="M-21.44,-32.06 C146.72,252.13 348.75,-206.73 521.44,193.91 L500.00,0.00 L0.00,0.00 Z" style="stroke: none; "></path></svg>

</div>


<main id="innerpage-box">
	<div class="container">
		<div id="content-box" class="col-md-9 innerpage-whitebox">
			<?php while ( have_posts() ) : the_post(); ?>
				<?php get_template_part( 'template-parts/content', 'page' ); ?>
				<?php
					// If comments are open or we have at least one comment, load up the comment template.
				if ( comments_open() || get_comments_number() ) :
					comments_template();
				endif;
				?>
			<?php endwhile; // End of the loop. ?>
		</div><!-- #main -->
		<div class="col-md-3">
			<?php  get_sidebar(); ?>
		</div>
		<div class="clearfix"></div>
		<div class="row">
			<div class="col-md-12">
				<div class="pagingation">
					<?php lzGetPagination($query);?>
				</div>
			</div>
		</div>
	</div>
</main><!-- #primary -->
<?php get_footer(); ?>
