<?php
/*Template Name: Rentals */

get_header(); ?>
    	<?php
	$my_id =102;
	$post_id = get_post($my_id, ARRAY_A);
	$content = $post_id['post_content'];
  	 $title=$post_id['post_title'];
	 $url = wp_get_attachment_url( get_post_thumbnail_id($my_id, 'thumbnail') );
	?>

<!----------------------- banner---------------------------------------------------->

<div class="bannerbox"><img src="<?php echo $url;?>" width="1600" height="418" /></div>

<!----------------------- banner---------------------------------------------------->


<div class="container">
  <div class="pos_head">

      <div class="page_head"><h1><?php echo $title;?></h1></div>
  </div>  

</div>





<div class="innerpages">
<div class="container">
 <div class="rent-reserve"><?php /*?><center><img src="<?php echo get_template_directory_uri();?>/images/rental-reserve.png" width="351" height="331" class="img-responsive"/></center><?php */?></div>
   <div class="rent_sect">
   
   <?php echo $content;?>
   
   </div>
   <div class="row">
    <div class="col-md-3">
     <?php global $dynamic_featured_image;$i = 0;
$featured_images = $dynamic_featured_image->get_featured_images(191);?>
<?php foreach($featured_images as $images) {?>
<?php $imageurl = $images['full'];?>
<div class="rentl-lft"><img  <?php if($i == 1){ ?>style="margin-top:30px;"<?php } ?>src="<?php echo $imageurl ;?>" width="602" height="345" /></div>	
<?php $i++;}?>
     
    
    </div>
    
    <div class="col-md-3">
    <?php
	$my_id =191;
	$post_id = get_post($my_id, ARRAY_A);
	 $url = wp_get_attachment_url( get_post_thumbnail_id($my_id, 'thumbnail') );
	?>
 <img src="<?php echo $url;?>" alt="">
    </div>
    
    <div class="col-md-6">
     <div class="rent-bgg">
     <?php echo do_shortcode('[bookly-form hide="categories,staff_members,week_days,time_range"]'); ?>
<?php /*?>      <div class="row">
       <div class="col-xs-2"><span class="fa fa-angle-double-right aro-rt"></span></div>
       <div class="col-xs-5"><button class="btn-rent">4 HOURS - $200</button></div>
       <div class="col-xs-5"><button class="btn-rent bg-xtr">RESERVE NOW</button></div>
      </div>
      <div class="row">
       <div class="col-xs-2"><span class="fa fa-angle-double-right aro-rt"></span></div>
       <div class="col-xs-5"><button class="btn-rent">8 HOURS - $400</button></div>
       <div class="col-xs-5"><button class="btn-rent bg-xtr">RESERVE NOW</button></div>
      </div>
      <div class="row">
       <div class="col-xs-2"><span class="fa fa-angle-double-right aro-rt"></span></div>
       <div class="col-xs-5"><button class="btn-rent">1 HOURS - $75</button></div>
       <div class="col-xs-5"><button class="btn-rent bg-xtr">RESERVE NOW</button></div>
      </div>
      <div class="row">
       <div class="col-xs-2"></div>
       <div class="col-xs-10"><button class="sbmit-depost">submit deposits</button></div>
      </div><?php */?>
     </div> 
    </div>
   </div>
<br>
<div class="container">
  <div class="row">
    <div class="col-md-12">
 
	</div>
    </div>
</div>
</div>
</div>

<?php get_footer(); ?>
