<section id="banner">
  <div class="banner ">
      <?php if ( is_front_page() || is_home() ) {?>
        <?php if ( get_header_image() ) : ?>
        <img class="img-responsive" alt="" src="<?php header_image(); ?>">
              <?php endif; ?>
      <?php }elseif(is_page()){?>
          <?php if ( has_post_thumbnail() ) {
            ?> 
             <?php $featured_img_url = esc_url(get_the_post_thumbnail_url(get_the_ID(),'full'),'eatingplace'); ?>
            <img class="img-responsive" src="<?php echo esc_url($featured_img_url,'eatingplace');?>">
            <?php }else{?>
              <img class="img-responsive" src="<?php echo esc_url(get_template_directory_uri(),'eatingplace'); ?>/images/innerbanner.jpg">   
          <?php } ?>
    <?php }else{?>
              <img class="img-responsive" src="<?php echo esc_url(get_template_directory_uri(),'eatingplace'); ?>/images/innerbanner.jpg">   
    <?php }?>
  </div><!--banner-->
</section><!--banner-->