<?php $__env->startSection('content'); ?>   
 <div class="page-title-container style2">
            <div class="container">
                <div class="page-title pull-left">
 
                </div>
                <ul class="breadcrumbs pull-right">
                    <li><a href="#">HOME</a></li>
                    <li class="active"><?php echo $heading; ?></li>
                </ul>
            </div>
        </div>
        <section id="content" class="gray-area">

        <div class="container">
        
            <h1 style="text-align:center"><?php echo $heading; ?></h1>
                    <p style="font-size:18px;text-align:center">
                    <?php echo $seo_description; ?>

                    </p>

            <div class="form-group col-sm-9 col-md-3" style="margin: auto;position: absolute;left:0;right: 0;" >
                                        
                                        <div class="row" style="font-size:18px;background:#B3B2B2; padding-bottom:30px;padding-top:30px;padding-left:20px;padding-right:20px;"  >
                                            <div class="col-md-12">
                                              
                                                <div class="selector">
                                                    <select class="full-width" id="gotooffer" >
                                                    <option>Select Available Offers</option>
                                                       <?php foreach($categories as $category): ?>
             <option value="<?php echo $category->seo_slug; ?>"><?php echo $category->name; ?></option>
             <?php endforeach; ?>
                                                    </select>
                                                </div>
                                            </div>
                                          
                                        </div>
                                    </div>


             </div>
             <br>
             <br>
             <br>
             <br>
             <br>
             <br>
             <br>
            <div class="container text-left shortcode">
                <div class="block">
                    <div class="row">
                        <div class="col-lg-3 pull-right">
                  
        
                            <div class="travelo-box">
                            <h4 class="box-title">CHECK OFFER VALIDITY
                               <small>please select your dates </small></h4>


                            <div class="image-box style14">
                            <form action="<?php echo URL('checkin'); ?>" method="post">
                                 <div class="form-group row">
                 
                                        <div class="col-sm-12 col-md-12">
                                            <label>Arrival*</label>
                                            <div class="datepicker-wrap">
                                                    <input type="text" name="arrival" required class="input-text full-width" value="<?php echo Session::get('arrival'); ?>" placeholder="mm/dd/yy" />
                                            </div>
                                        </div>

                                        <div class="col-sm-12 col-md-12">
                                            <label>Departure*</label>
                                            <div class="datepicker-wrap">
                                                    <input type="text" name="departure" required class="input-text full-width" value="<?php echo Session::get('departure'); ?>" placeholder="mm/dd/yy" />
                                            </div>
                                        </div> 

                              </div>
                                <div class="form-group row">
                                    <div class="col-sm-6 col-md-5">
                                        <button type="submit" class="full-width btn-small animated" data-animation-type="bounce" data-animation-duration="1">CHECK</button>
                                    </div>
                                </div


                            </div>
                            </form>
                        </div>
                        <?php if(!empty($wishlist)): ?>
                                <div class="travelo-box">
                            <h4>Your Wishlist</h4>
                            <div class="image-box style14">
                            <?php foreach($wishlist as $resort): ?>
                                <article class="box">
                                    <figure>
                                        <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>"><img src="<?php echo URL('/media/uploads/images/hotel/size/92x69/'.AppHelper::hotelThumb($resort->id).''); ?>" alt="" /></a>
                                    </figure>
                                    <div class="details">
                                        <h5 class="box-title"><a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>"><?php echo $resort->name; ?></a></h5>
                                        <label class="price-wrapper">
                                            <span class="price-per-unit">$<?php echo AppHelper::fromRate('hotel', $resort->id); ?></span>avg/night
                                        </label>
                                    </div>


                                </article>
                            <?php endforeach; ?>

                            <button id="button-clear-wishlist" name="button-clear-wishlist" class="button yellow full-width uppercase btn-small">clear wishlist</button>

                            </div>
                        </div>
<?php endif; ?>
                        <div class="travelo-box contact-box">
                            <h4>Need <?php echo AppHelper::config('site_name'); ?> Help?</h4>
                            <p>We would be more than happy to help you. Our team advisor are 24/7 at your service to help you.</p>
                            <address class="contact-details">
                                <span class="contact-phone"><i class="soap-icon-phone"></i><?php echo AppHelper::config('site_hotline'); ?></span>
                                <br>
                                <a class="contact-email" href="#"><?php echo AppHelper::config('site_email'); ?></a>
                            </address>
                        </div>
                        <div class="travelo-box contact-box">
                            <h2>Top Resorts</h2>
                           
                            <?php foreach($resorts as $resort): ?>
                            <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>"><h6><?php echo $resort->name; ?></h6></a>
                            <?php endforeach; ?>
                        </div>

                    </div>

                        </div>
                        <div class="col-lg-9 listing-style3 hotel">
                        <?php foreach($offers as $offer): ?>
                            <article class="box">
                                <figure class="col-sm-5 col-md-4">
                                    <a title="" href="<?php echo URL(AppHelper::config('offers_route').'/'.AppHelper::offercategoryslug($offer->id).''); ?>/<?php echo $offer->seo_slug; ?>"><img width="270" height="160" alt="" src="<?php echo URL('/media/uploads/images/hotel/size/270x160/'.$offer->featured_image.''); ?>"></a>
                                </figure>
                                <div class="details col-xs-12 col-sm-7 col-md-8">
                                    <div>
                                        <div>
                                        <a href="<?php echo URL(AppHelper::config('offers_route').'/'.AppHelper::offercategoryslug($offer->id).''); ?>" class="" style="font-size:20px; color:red;"><?php echo AppHelper::offertype($offer->id); ?></a>
                                            <br>
                                            <br>
                                            <h4 class="box-title"><?php echo $offer->name; ?>

                                            <p>
                                            <medium> <?php echo AppHelper::hotelname($offer->hotels_id); ?></medium></h4>
                                            </p>
                        
                                        </div>
                                        <div>
                                            
                                        </div>
                                    </div>
                                    <div>
                                    
                                        <?php echo $offer->seo_description; ?>


                              
                                        <div>

                                        <?php if($offer->price > 0): ?>
                                            <span class="price">$<?php echo $offer->price; ?></span>
                                        <?php else: ?>
                                         <span class="price"><small></small>&nbsp;</span> </span>

                                        <?php endif; ?>



                                            <a class="button btn-small green full-width text-center" style="min-width:160px; max-width:160px;" title="" href="<?php echo URL(AppHelper::config('offers_route').'/'.AppHelper::offercategoryslug($offer->id).''); ?>/<?php echo $offer->seo_slug; ?>">REQUEST QUOTE</a>
                                        </div>
                                    </div>
                                </div>
                            </article>
                        <?php endforeach; ?>
                           
                        </div>
                    </div>
                </div>


                
                
            </div>
        </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('front.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>