<?php $__env->startSection('content'); ?>   
 <div class="page-title-container">
            <div class="container">
                <div class="page-title pull-left">
                    <h2 class="entry-title uppercase"><?php echo $heading; ?></h2>
                </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 text-left shortcode">
                <div class="block">
                    <div class="row">
                        <div class="col-lg-3 pull-right">
                        <?php foreach($categories as $category): ?>
                            <a class="button btn-small green full-width text-center uppercase" title="" href="<?php echo URL('room-types'); ?>/<?php echo $category->seo_slug; ?>"><?php echo $category->name; ?></a>
                        <?php endforeach; ?>
        
                            <div class="travelo-box">
                            <h4 class="box-title">CHECK ROOM RATES
                               <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>

                        </div>
                        <div class="col-lg-9 listing-style3 hotel">
                        <?php foreach($rooms as $room): ?>
                            <article class="box">
                                <figure class="col-sm-5 col-md-4">
                                    <a class="hover-effect popup-gallery" href="<?php echo URL('popupgallery'); ?>?category=rooms&resort_id=<?php echo $room->id; ?>" title=""><img width="230" height="160" src="<?php echo URL('/media/uploads/images/hotel/size/263x197/'.AppHelper::roomImages($room->id).''); ?>" alt=""></a>
                                </figure>
                                <div class="details col-xs-12 col-sm-7 col-md-8">
                                    <div>
                                        <div>
                                            <h4 class="box-title"><?php echo $room->name; ?>

                                            <p>
                                            <medium>at <?php echo $room->hotels->name; ?></medium></h4>
                                            </p>
                        
                                        </div>
                                        <div>
                                           <div data-placement="bottom" data-toggle="tooltip" class="five-stars-container" title="<?php echo $room->hotels->rating; ?> stars"><span style="width: <?php echo 20 * $room->hotels->rating; ?>%;" class="five-stars"></span></div>
                                        </div>
                                    </div>
                                    <div>

                                    <?php
                                $string = $room->seo_description;

                                                        //$ = strip_tags($your_string); 
                                $desc = substr($string, 0, 200); 
                                ?>


                                    
                                        <?php echo $desc; ?>..

                              
                                        <div>

                                   
                                           
                                       
                                         <span data-animation-duration="8" data-animation-type="bounce" class="price animated"><small>PER/NIGHT</small>$<?php echo AppHelper::fromRate('room', $room->id); ?></span>

                                      



                                            <a href="<?php echo URL('booking/'.$room->id.''); ?>" title="" class="button btn-small green full-width text-center">ENQUIRE NOW</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(); ?>