<?php $__env->startSection('content'); ?>
 <div class="mobile-hide" id="slideshow">
            <div class="destinationideas parallax" data-stellar-background-ratio="0.5" style="">
                <div class="col-md-5" style="background:rgba(12, 10, 7, 0.48);padding:50px;">
             
               <div class="col-md-12" style="
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    color: white;
    padding:20px;">
                    <div style="">
                    <span style='
                    text-align:center;
                    font-family: "Merriweather",serif;
    font-weight: 400;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;padding-top:10px;'>MALDIVES</span>
                    </div>
                    <br>
                    <br>
                    <div class="col-md-6" style="text-align:center;">
                <?php
  $json_string = file_get_contents("http://api.wunderground.com/api/08cb072d8116f1c5/conditions/q/mv/male.json");
  $parsed_json = json_decode($json_string);
  //$location = $parsed_json->{'location'}->{'city'};
  $temp_f = $parsed_json->{'current_observation'}->{'temp_f'};
  $temp_c = $parsed_json->{'current_observation'}->{'temp_c'};
  $time = $parsed_json->{'current_observation'}->{'local_time_rfc822'};
  date_default_timezone_set('Asia/Karachi');
  $stime = strtotime($time);
$dateInLocal = date("h:m A", $stime);

?>
<span style="font-size:16px;text-align:center;">Local Temperature</span>
<br>
<br>
<span style='text-align:center;font-size:20px; font-family:"Merriweather",serif;'><?php echo $temp_c; ?>°C / <?php echo $temp_f; ?>°F</span>


            </div>

            <div class="col-md-6" style="text-align:center;">
                <span style="font-size:18px;text-align:center;">Local Time</span>
                <br>
                <br>
                <span style='text-align:center;font-size:20px; font-family:"Merriweather",serif;'><?php echo $dateInLocal; ?><span>
            </div>

        </div>
               
                </div>
                <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">
<br>
            <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="gotoresort" >
                                                    <option>Search Your Dream Resort</option>
                                                       <?php foreach($resorts 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>

             <div class="section container">
            <div class="col-md-12 content-section description pull-right">
         
                   <a href=""> <h1 style="font-style: italic;text-align:center;">Travel Centre Maldives</h1> </a>
                    
                   <p style="font-style: italic;text-align:center; font-size:18px;">

                  Welcome to Travel Centre Maldives. Your home for everything Maldives! We have provided all that you may need to complete your tropical journey in the Sunny Side of Life. Let us make your dream of visiting paradise on earth come true by offering quality travel solutions for your Maldives holiday with the expertise of our dedicated team.

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



             <div class="container">
            <br>
                    <h2>LUXURY RESORT COLLECTION</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="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 style="background:#8A8C86;" class="button btn-small full-width" href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>">SELECT</a>
                            </article>
                        </div>
                    <?php endforeach; ?>

                    </div>
                   
                </div>

                <div class="container" style="padding:20px;">

            <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="gotoluxuryresort" >
                                                    <option>Search Your Dream Luxury Resort</option>
                                                       <?php foreach($luxresorts 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>

                <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="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 style="background:#8A8C86;" class="button btn-small full-width" href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>">SELECT</a>
                                                   
                            </article>
                        </div>
                    <?php endforeach; ?>
                    </div>


                </div>
                <br>

                <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 Budget Resort</option>
                                                       <?php foreach($budresorts 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">
            <h2 class="title">EXPERIENCES</h2>
                <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>
            <br>


    




            <div class="container">
            <br>
                    <h2>EXLUSIVE OFFERS</h2> 
                    <div class="row image-box style1 add-clearfix">
                    <?php foreach($offers as $offer): ?>

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

                                                        //$ = strip_tags($your_string); 
                           
                                ?>
                        <div class="col-sms-6 col-sm-6 col-md-3">
                            <article class="box">
                                <figure class="" data-animation-type="fadeInDown" data-animation-duration="1">
                                   <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/340x340/'.$offer->featured_image.''); ?>" alt="" width="170" height="160" /></a>
                                </figure>
                                <div class="details">
                               
                                    <?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; ?>
                                    <h4 class="box-title"><a href="<?php echo URL(AppHelper::config('offers_route').'/'.AppHelper::offercategoryslug($offer->id).''); ?>/<?php echo $offer->seo_slug; ?>"><?php echo $name; ?><small><?php echo AppHelper::hotelname($offer->hotels_id); ?></small></a></h4>

                                </div>
                          
                            </article>
                        </div>
                    <?php endforeach; ?>

                    </div>
                   
                </div>

                <br>
                <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 style="height:125%" src="<?php echo URL(''.Config::get('settings.images').'360x270/'.AppHelper::hotelThumb($resort->id).''); ?>" alt=""/></a>
                                    </figure>
                                    <div class="details" style="padding-top:50px;">
                                    <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 style="background:#8A8C86;" href="<?php echo URL(AppHelper::config('hotel_route').'/'.$resort->type.'/'.$resort->seo_slug.''); ?>" title="" class="button">SELECT</a>
                                    </div>
                                </article>
                            </div>
                        <?php endforeach; ?>
                           
                           
                        </div>

                    </div>




                </div>
            </div>

            <div class="section container">
            <div class="col-md-12 content-section description pull-right">
         
                   <a href=""> <h1 style="font-style: italic;text-align:center;">Maldives Travel Blog</h1> </a>
                    
                   <p style="font-style: italic;text-align:center; font-size:18px;">

                 Welcome to the blog of Travel Centre Maldives. Your source of exciting information about a tropical journey to the Sunny Side of Life. Visit our blog and find everything you need to know about a Maldives Resort in one place. Read through our posts and be fascinated by the magnificence of paradise on earth and all it has to offer. Let us enhance your imagination and take you to a dream world where you can experience the wonders of this beautiful destination.
                 
                   </p>
                   </div>
            </div>

           
          










        </section>

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