<?php $__env->startSection('content'); ?>
<div class="page-title-container hidden-mobile">
            <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">
   
          <h2>Recommended <?php echo $heading; ?> in Maldives</h2>
                
  
                <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, 60); 
                                $name = substr($resort->name, 0, 40);

                                                        //$ = 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/414x234/'.AppHelper::hotelThumb($resort->id).''); ?>" style="width: 100%;"></a>
                                            </figure>
                                            <div class="details">
                                            <?php if(AppHelper::fromRate('hotel', $resort->id) > 0): ?>
                                                <span class="price">
                                                    <small>avg/night</small>
                                                    $<?php echo AppHelper::fromRate('hotel', $resort->id); ?>

                                                </span>
                                            <?php else: ?>
                                            <span class="price">
                                                    <small>-</small>
                                                   -
                                            </span>

                                            <?php endif; ?>
                                                <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>
                                                   
                                                </div>
                                                <p class="description"><?php echo $desc; ?>..</p>
                                                <div class="action">
                                                  <a class="button btn-small full-width yellow popup-map"  href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>">SELECT</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(); ?>