<?php $__env->startSection('content'); ?>
 <div class="mobile-hide" id="slideshow">
            <div class="destinationideas parallax" data-stellar-background-ratio="0.5" style="">
                <div class="container">
              
                    <div class="row desktop-hide">
                        <div class="text-center">
                            <h4 class="destinationtitle"><em>Take me to..</em></h4>
                        </div>
                        <br>
                        <div class="col-xs-6 col-sm-4 col-md-2 grow">
                         <a href="http://google.com">
                            <div class="icon-box style4 animated" data-animation-type="slideInRight" data-animation-delay="0">
                                <i class="soap-icon-adventure desticon"></i>
                               <h4 class="dest-title">Adventure (150)</h4>
                                <p class="description">
                                    Lorem Ipsum simply dummy text industry.
                                </p>
                            </div>
                        </a>
                        </div>
                        <div class="col-xs-6 col-sm-4 col-md-2 grow">
                        <a href="http://google.com">
                            <div class="icon-box style4 animated" data-animation-type="slideInRight" data-animation-delay="0.3">
                                <i class="soap-icon-beach yellow-color"></i>
                                <h4 class="dest-title">Beach</h4>
                                <p class="description">
                                    Lorem Ipsum simply dummy text industry.
                                </p>
                            </div>
                        </a>
                        </div>
                        <div class="col-xs-6 col-sm-4 col-md-2 grow">
                        <a href="http://google.com">
                            <div class="icon-box style4 animated" data-animation-type="slideInRight" data-animation-delay="0.6">
                                <i class="soap-icon-party yellow-color"></i>
                                <h4 class="dest-title">Party</h4>
                                <p class="description">
                                    Lorem Ipsum simply dummy text industry.
                                </p>
                            </div>
                        </a>
                        </div>
                        <div class="col-xs-6 col-sm-4 col-md-2 grow">
                        <a href="http://google.com">
                            <div class="icon-box style4 animated" data-animation-type="slideInRight" data-animation-delay="0.9">
                                <i class="soap-icon-playplace yellow-color"></i>
                                <h4 class="dest-title">Golf</h4>
                                <p class="description">
                                    Lorem Ipsum simply dummy text industry.
                                </p>
                            </div>
                        </a>
                        </div>
                        <div class="col-xs-6 col-sm-4 col-md-2 grow">
                        <a href="http://google.com">
                            <div class="icon-box style4 animated" data-animation-type="slideInRight" data-animation-delay="1.2">
                                <i class="soap-icon-couples yellow-color"></i>
                                <h4 class="dest-title">Romance</h4>
                                <p class="description">
                                    Lorem Ipsum simply dummy text industry.
                                </p>
                            </div>
                        </a>
                        </div>
                        <div class="col-xs-6 col-sm-4 col-md-2 grow">
                        <a href="http://google.com">
                            <div class="icon-box style4 animated" data-animation-type="slideInRight" data-animation-delay="1.5">
                                <i class="soap-icon-ski yellow-color"></i>
                                <h4 class="dest-title">Ski</h4>
                                <p class="description">
                                    Lorem Ipsum simply dummy text industry.
                                </p>
                            </div>
                        </a>
                        </div>

                    </div>
                </div>
            </div>
            <div class="fullwidthbanner-container">
                <div class="revolution-slider" style="height: 0; overflow: hidden;">

                    <ul> 
                              <!-- SLIDE  -->
                        <!-- Slide1 -->
                        <?php foreach($sliders as $slide): ?>
                        <li data-transition="zoomin" data-slotamount="7" data-masterspeed="1500">
                            <!-- MAIN IMAGE -->
                            <img src="<?php echo URL('/media/uploads/images/hotel/size/2080x646/'.$slide->file.''); ?>" alt="<?php echo $slide->title; ?>">
                        </li>
                        <?php endforeach; ?>
                    </ul>
                </div>
            </div>
        </div>


 <section id="content">
            <div class="section container">
            <h1 class="title">Experiences</h1>
                <div class="row image-box style4">
                <?php foreach($experience as $category): ?>
                    <div class="col-sm-4">
                        <article class="box">
                            <figure>
                                <a title="" href="<?php echo URL('maldives'); ?>/<?php echo $category->seo_slug; ?>"><img src="<?php echo URL('/media/uploads/images/hotel/size/340x340/'.$category->featured_image.''); ?>" alt="" /></a>
                            </figure>
                            <div class="details">
                                <h4 class="box-title"><?php echo $category->name; ?></h4>
                                <a class="goto-detail" href="<?php echo URL('maldives'); ?>/<?php echo $category->seo_slug; ?>"><span class="glyphicon glyphicon-arrow-right"></span></a>
                            </div>
                        </article>
                    </div>
                <?php endforeach; ?>
            
                </div>
            </div>

            <div class="global-map-area section parallax" data-stellar-background-ratio="0.5">
                <div class="container">
                    <div class="description text-center">
                        <h1>EXCLUSIVE OFFERS</h1>

                    </div>
                    <div class="image-carousel style3 flex-slider" data-item-width="170" data-item-margin="30">
                        <ul class="slides image-box style9">
                         <?php foreach($offers as $offer): ?>

                         <?php
                                 
                                $name = substr($offer->name, 0, 20);
 
                                ?>



                            <li>
                                <article class="box">
                                    <figure>
                                        <a href="<?php echo URL(AppHelper::config('offers_route').'/'.AppHelper::offercategoryslug($offer->id).''); ?>/<?php echo $offer->seo_slug; ?>" title="" ><img src="<?php echo URL('/media/uploads/images/hotel/size/270x160/'.$offer->featured_image.''); ?>" alt="" width="170" height="160" /></a>
                                    </figure>
                                    <div class="details">
                                        <h4 class="box-title"><?php echo $name; ?>..</h4>
                                        <a href="<?php echo URL(AppHelper::config('offers_route').'/'.AppHelper::offercategoryslug($offer->id).''); ?>/<?php echo $offer->seo_slug; ?>" title="" class="button green">ENQUIRE</a>
                                    </div>
                                </article>
                            </li>
                        <?php endforeach; ?>
                            
                        </ul>
                    </div>
                </div>
            </div>

            <div class="container">
            <br>
                    <h2>Popular Luxury Resorts</h2> 
                    <div class="row image-box style1 add-clearfix">
                    <?php foreach($luxury as $resort): ?>

                                                        <?php
                                $string = $resort->seo_description;
                                $address = $resort->address;
                                $address = substr($address, 0, 20); 
                                $name = substr($resort->name, 0, 20);

                                                        //$ = strip_tags($your_string); 
                                $desc = substr($string, 0, 100); 
                                ?>
                        <div class="col-sms-6 col-sm-6 col-md-4">
                            <article class="box">
                                <figure class="" data-animation-type="fadeInDown" data-animation-duration="1">
                                    <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>" id="<?php echo $resort->id; ?>" title=""><img src="<?php echo URL('/media/uploads/images/hotel/size/340x340/'.AppHelper::hotelThumb($resort->id).''); ?>" alt="" style="min-height: 100%; width: 100%;" /></a>
                                </figure>
                                <div class="details">
                                <div data-placement="bottom" data-toggle="tooltip" class="five-stars-container" title="<?php echo $resort->rating; ?> stars"><span style="width: <?php echo 20 * $resort->rating; ?>%;" class="five-stars"></span></div>
                                    <span class="price"><small>FROM</small>$<?php echo AppHelper::fromRate('hotel', $resort->id); ?></span>
                                    <h4 class="box-title"><a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>"><?php echo $name; ?><small>Maldives</small></a></h4>

                                </div>
                                <a class="button btn-small green full-width" href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>">SELECT</a>
                            </article>
                        </div>
                    <?php endforeach; ?>

                    </div>
                    <div class="action" style="margin-left: auto; margin-right: auto; width: 6em;">
                     <a class="button btn-medium green" href="<?php echo URL(AppHelper::config('hotel_route').'/luxury-maldives'); ?>">LOAD MORE ..</a>
                     </div>
                </div>


                <div class="container">
                   <a href=""> <h2>Popular Budget Resorts</h2> </a>
                    <div class="row image-box style1 add-clearfix">
                    <?php foreach($budget as $resort): ?>

                     <?php
                                $string = $resort->seo_description;
                                $address = $resort->address;
                                $address = substr($address, 0, 20); 
                                $name = substr($resort->name, 0, 20);

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


                        <div class="col-sms-6 col-sm-6 col-md-4">
                            <article class="box">
                                <figure  data-animation-type="fadeInDown" data-animation-duration="1">
                                    <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>"  title="" ><img src="<?php echo URL('/media/uploads/images/hotel/size/340x340/'.AppHelper::hotelThumb($resort->id).''); ?>" alt="" style="min-height: 100%; width: 100%;"/></a>
                                </figure>
                                <div class="details">
                                <div data-placement="bottom" data-toggle="tooltip" class="five-stars-container" title="<?php echo $resort->rating; ?> stars"><span style="width: <?php echo 20 * $resort->rating; ?>%;" class="five-stars"></span></div>
                                    <span class="price"><small>FROM</small>$<?php echo AppHelper::fromRate('hotel', $resort->id); ?></span>
                                    <h4 class="box-title"><a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>"><?php echo $name; ?><small>Maldives</small></a></h4>
                                </div>
                                <a class="button btn-small green full-width" href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>">SELECT</a>
                                                   
                            </article>
                        </div>
                    <?php endforeach; ?>
                    </div>

                    <div class="action" style="margin-left: auto; margin-right: auto; width: 6em;">
                     <a class="button btn-medium green" href="<?php echo URL(AppHelper::config('hotel_route').'/budget-maldives'); ?>">LOAD MORE ..</a>
                     </div>

                </div>
                <br>



            <div class="honeymoon section global-map-area promo-box parallax" data-stellar-background-ratio="0.5">
                <div class="container">
                    <div class="col-sm-12 content-section description pull-right">
                        <div align="center">
                        <h1 class="title">Top Resorts</h1>
                        </div>
                        <div class="row places image-box style9">
                        <?php foreach($topresorts as $resort): ?>

                        <?php
                                $string = $resort->seo_description;
                                $address = $resort->address;
                                $address = substr($address, 0, 20); 
                                $name = substr($resort->name, 0, 20);

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


                            <div class="col-sms-4 col-sm-4">
                                <article class="box">
                                    <figure>
                                        <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>" title="" data-animation-type="fadeInUp" data-animation-duration="1">
                                            <img src="<?php echo URL(''.Config::get('settings.images').'340x340/'.AppHelper::hotelThumb($resort->id).''); ?>" alt="" style="min-height: 100%; width: auto;"/></a>
                                    </figure>
                                    <div class="details">
                                    <div data-placement="bottom" data-toggle="tooltip" class="five-stars-container" title="4 stars"><span style="width: 80%;" class="five-stars"></span></div>
                                        <h4 class="box-title"><?php echo $name; ?><small><?php echo $address; ?></small></h4>
                                        <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>" title="" class="button green">SELECT</a>
                                    </div>
                                </article>
                            </div>
                        <?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(); ?>