<?php $__env->startSection('page'); ?>
<div class="text-center">
    <?php if(!empty($data_sliders)): ?>
        <div class="flexslider">
            <ul class="slides">
                <?php foreach($data_sliders as $row): ?>
                <li>
                    <?php 
                    $imagename = (!empty($row['imagename'])) ? $row['imagename'] : '';
                    $imagepath = 'images/upload/homeslider/';
                    ?>
                    <?php if(!empty($imagename) && file_exists(public_path() . '/' . $imagepath . $imagename)): ?>
                        <?php $row_image =  asset('public/' . $imagepath . $imagename);?>
                        <img src="<?php echo $row_image; ?>" title="<?php echo $row['title']; ?>"/>
                        <div class="flex-caption">
                            <h2><?php echo $row['title']; ?></h2>
                            <?php if(!empty($row['url'])): ?>
                            <p><?php echo $row['url']; ?></p>
                            <?php endif; ?>
                        </div><!--flex caption-->
                    <?php endif; ?>
                </li>
                <?php endforeach; ?>
            </ul>
        </div> <!--flexslider-->
    <?php endif; ?>
</div>
<?php if(!empty($data_welcome['label'])): ?>
<div class="intro">
    <div class="container">
        <div class="row">
            <div class="col-sm-8">
                <h1><?php echo $data_welcome['label']; ?></h1>
                <hr>
                <?php echo $data_welcome['description']; ?>

            </div><!--col-->
            <div class="col-sm-4">
                <div class="inquery">
                    <div class="inquery-title"><h3>CONSULT WITH US</h3></div><!--inquery title-->
                    <?php echo Form::open(array('class' => 'gap-top home-contact-form', 'route' => 'home.quick')); ?>

                        <div class="input-group">
                            <span class="input-group-addon" id="name"><i class="fa fa-user"></i> </span>	                
                            <?php echo Form::text('name', '', array('class' => 'form-control', 'required' => 'required')); ?>

                            <?php echo $errors->first('name'); ?>

                        </div>
                        <div class="input-group">
                            <span class="input-group-addon" id="email"><i class="fa fa-envelope"></i> </span>             
                            <?php echo Form::email('email', '', array('class' => 'form-control', 'required' => 'required')); ?>

                            <?php echo $errors->first('email'); ?>

                        </div>
                        <div class="input-group">
                            <?php echo Form::textarea('comments', '', array('class' => 'form-control', 'rows' => 2, 'required' => 'required', 'placeholder' => 'Message/Comments/Query')); ?>

                            <?php echo $errors->first('comments'); ?>

                        </div>
                        <div class="">
                            <button type="submit" id="contact_submit" name="submit" class="btn send-us hvr-fade "><i class="fa  fa-envelope"></i> &nbsp; Send Message  </button>
                        </div>
                    <?php echo Form::close(); ?>

                </div><!--inquery-->
            </div><!--col-->                              
        </div><!--row-->           
    </div><!--container-->
</div><!--intor-->
<?php endif; ?>
<?php if(!empty($data_highlights)): ?>
<div class="servie-wrap text-center">
    <div class="container">
        <div class="row">
            <?php $ii = 0;?>
            <?php foreach($data_highlights as $row): ?>
            <?php $ii++;?>
            <div class="col-sm-4 gap">
                <div class="service-box">
                    <h2><?php echo $row['label']; ?></h2>
                    <p><?php echo $row['description']; ?></p>
                </div><!---reasons box--> 
            </div><!--col-->
            <?php endforeach; ?>
            <div class="clearfix"></div>
        </div><!--row-->
    </div><!--container-->
</div><!--service wrap-->
<?php endif; ?>
<div class="package-wrap">
    <div class="container">
        <div class="headding text-center"><h2>What we do?</h2></div>
        <p class="text-center">We give counseling services to the aspirants. Generally we give the counseling to the students who would like to study in Japan.</p>
        <div class="row">
            <?php foreach($data_services as $row): ?>
            <?php $row_href = URL::to('service/'.$row['slug']);?>
            <div class="col-sm-4 gap">
                <?php
                $imagename = (!empty($row['imagename'])) ? $row['imagename'] : '';
                $imagepath = 'images/upload/service/';
                ?>
                <?php if(!empty($imagename) && file_exists(public_path() . '/' . $imagepath . $imagename)): ?>
                    <img class="" src="<?php echo asset('public/' . $imagepath . $imagename); ?>" alt="<?php echo $row['title']; ?>">
                <?php else: ?>
                    <img class="" src="<?php echo asset('public/images/no-image.jpg'); ?>" alt="no image">
                <?php endif; ?>
                <div class="package-box text-center">
                    <a href="<?php echo $row_href; ?>" title="<?php echo $row['title']; ?>" class="pkgs-title"><?php echo $row['title']; ?></a>
                    <p><?php echo $row['excerpt']; ?></p>
                    <a href="<?php echo $row_href; ?>" title="<?php echo $row['title']; ?>" class="view-pkg" title=""> Read more </a>
                </div><!---package-box--> 
            </div><!--col-->
            <?php endforeach; ?>
        </div><!--row-->
    </div><!--container-->
</div><!--package wrap-->
<?php if(!empty($data_reasons)): ?>
<div class="reasons-wrap text-center">
    <div class="container">
        <div class="row">
            <?php $ii = 0;?>
            <?php foreach($data_reasons as $row): ?>
            <?php $ii++;?>
            <div class="col-sm-4 gap">
                <div class="service-icon">
                    <i class="flaticon-placeholder"></i>
                </div><!--service icon-->
                <div class="reasons-box">
                    <h3><?php echo $row['label']; ?></h3>
                    <p><?php echo $row['description']; ?></p>
                </div><!---reasons box--> 
            </div><!--col-->
            <?php endforeach; ?>
            <div class="clearfix"></div>
        </div><!--row-->
    </div><!--container-->
</div><!--service wrap-->
<?php endif; ?>
<?php if(!empty($data_chairman['label'])): ?>
<div class="message-box">
    <div class="container">
        <div class="row">
            <div class="col-sm-5">
                <img src="<?php echo asset('public/images/md.JPG'); ?>" alt="Message From Mr. Sabin Khanal">
            </div>
            <div class="col-sm-7">
                <div class="message-title"> 
                    <h2><i class="fa fa-pencil-square-o"></i> <?php echo $data_chairman['label']; ?></h2> 
                </div><!--message title-->
                <?php echo $data_chairman['description']; ?>

            </div>
        </div><!--row-->
    </div>
</div><!--message-box-->
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('website/layouts/website-layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>