<?php /*Template Name: apply */ ?>
<?php get_header();?>


 
    <div class="single-pages">
        <div class="container">
            <h1 class="main-header"><?php the_title(); ?>  </h1>
            <div class="row justify-content-center">
                <?php   if ( has_post_thumbnail() ) { ?>
                <div class="col-lg-6 ">
                    <div class="top-side">
                        <?php the_post_thumbnail('full', array('class' => 'img-fluid')); ?>
                    </div>
                </div>
                    <?php if( '' !== get_post()->post_content ) { ?>
                    <div class="col-lg-6">

                            <div class="bootom-side">
                                <?php if(have_posts()) :  while(have_posts()) : the_post(); ?>
                                    <?php the_content(); ?>
                                <?php endwhile;  else :  endif;   ?>
                            </div>
                    </div>
                    <?php  } else{?>

                    <?php } ?>
                <?php  } else{?>
                    <div class="col-lg-12">
                        <?php if( '' !== get_post()->post_content ) { ?>
                            <div class="bootom-side">
                                <?php if(have_posts()) :  while(have_posts()) : the_post(); ?>
                                    <?php the_content(); ?>
                                <?php endwhile;  else :  endif;   ?>
                            </div>
                        <?php  } else{?>

                        <?php } ?>
                    </div>
                <?php } ?>
                <div class="col-lg-12">

                <div class="connect-us mt-2">
                    <?php

                    echo do_shortcode('[contact-form-7 id="'.get_field('form').'"]');
                    ?>
                </div>
            </div>


            </div>
            
        </div>
    </div>





<?php get_footer();?>