<?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 itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="#" itemprop="url"><span itemprop="title"><?php echo AppHelper::config('site_name'); ?></span></a></li>
                    <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="active"><a href="" itemprop="url"><span itemprop="title"><?php echo $heading; ?></span></a></li>
                </ul>
            </div>
</div>
        <section id="content">

        


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

                    </p>
                <div id="main">
                    <div class="row">
                        <div class="col-sm-8 col-md-12">
                            <div class="hotel-list">
                                <div class="row image-box hotel listing-style1">
                                <?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-sm-6 col-md-4" style="padding-bottom:10px;">
                                        <article class="box">
                                            <figure>
                                                <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>"><img  alt="" src="<?php echo URL('/media/uploads/images/hotel/size/340x340/'.AppHelper::hotelThumb($resort->id).''); ?>" style="width: 100%;"></a>
                                            </figure>
                                            <div class="details">
                                                <span class="price">
                                                    <small>avg/night</small>
                                                    $<?php echo AppHelper::fromRate('hotel', $resort->id); ?>

                                                </span>
                                                <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>">
                                                <h4 class="box-title"><?php echo $name; ?><small><?php echo $address; ?></small></h4>
                                                </a>
                                                <div class="feedback">
                                                    <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="review">270 reviews</span>
                                                </div>
                                                <p class="description"><?php echo $desc; ?>..</p>
                                                <div class="action">
                                                    <a style="background:#8A8C86;" class="button btn-small" href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>">SELECT</a>
                                                    <a class="button btn-small yellow popup-map" href="#" data-box="<?php echo $resort->geo_cordinates; ?>">VIEW ON MAP</a>
                                                </div>
                                            </div>
                                        </article>
                                    </div>
                                <?php endforeach; ?>
                                   
                                </div>
                            </div>
                           

                        </div>
                    </div>
                </div>
            </div>

            <div class="container">
        
          
            <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="gotobudgetresort" >
                                                    <option>Search Your Dream Resort</option>
                                                       <?php foreach($data as $resort): ?>
             <option value="<?php echo $resort->seo_slug; ?>"><?php echo $resort->name; ?></option>
             <?php endforeach; ?>
                                                    </select>
                                                </div>
                                            </div>
                                          
                                        </div>
                                    </div>


             </div>
             <br>
             <br>
             <br>
             <br>
             <br>
             <br>

             <br>
             <br>
             <div class="container">
             <h1 style="text-align:center">Top Experiences</h1>
                    <p style="font-size:18px;text-align:center">
                    Indulge in lavishing holiday experiences offered by Maldives
                    </p>

                <div class="row">
                    <div id="main" class="col-md-12">
                        <div class="travel-ideas">
                           
                            <h2 class="idea-title"><span class="index">1</span>What do you Like?</h2>
                            <div class="column-3 image-box suggestions">
                            <?php foreach($categories as $category): ?>
                                <div class="">
                                    <a 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>
                                    <h4 class="caption"><a href="<?php echo URL('maldives'); ?>/<?php echo $category->seo_slug; ?>"><b><?php echo $category->name; ?></b></a></h4>
                                </div>
                            <?php endforeach; ?>
                               
                            </div>

                
                        </div>
                    </div>

                </div>
            </div>

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

                    </p>
                <div id="main">
                    <div class="row">
                        <div class="col-sm-8 col-md-12">
                            <div class="hotel-list">
                                <div class="row image-box hotel listing-style1">
                                <?php foreach($data 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-sm-6 col-md-4" style="padding-bottom:10px;">
                                        <article class="box">
                                            <figure>
                                                <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>"><img  alt="" src="<?php echo URL('/media/uploads/images/hotel/size/340x340/'.AppHelper::hotelThumb($resort->id).''); ?>" style="width: 100%;"></a>
                                            </figure>
                                            <div class="details">
                                                <span class="price">
                                                    <small>avg/night</small>
                                                    $<?php echo AppHelper::fromRate('hotel', $resort->id); ?>

                                                </span>
                                                <a href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>">
                                                <h4 class="box-title"><?php echo $name; ?><small><?php echo $address; ?></small></h4>
                                                </a>
                                                <div class="feedback">
                                                    <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="review">270 reviews</span>
                                                </div>
                                                <p class="description"><?php echo $desc; ?>..</p>
                                                <div class="action">
                                                    <a style="background:#8A8C86;" class="button btn-small" href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>">SELECT</a>
                                                    <a class="button btn-small yellow popup-map" href="#" data-box="<?php echo $resort->geo_cordinates; ?>">VIEW ON MAP</a>
                                                </div>
                                            </div>
                                        </article>
                                    </div>
                                <?php endforeach; ?>
                                   
                                </div>
                            </div>
                           

                        </div>
                    </div>
                </div>
            </div>



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