<?php namespace App\Http\Controllers;?>
<?php
  $lng=session('lng');
  use App\About;
  use App\Download;

  $about=About::select(PublicController::NepaliSelector("introduction",$lng),"token")->first();
    $downloads=Download::select(PublicController::NepaliSelector("title",$lng),"file_name","token")->take(3)->get();
?>
<style type="text/css">
  .footer-ul .footer-anchor{
    color: #b0b0b0;  }

    .footer-ul .footer-anchor:hover{

        color: #e30d19;
    }
</style>
    <!-- BEGIN PRE-FOOTER -->
    <div class="pre-footer">
      <div class="container">
        <div class="row">
          <!-- BEGIN BOTTOM ABOUT BLOCK -->
          <div class="col-md-4 col-sm-6 pre-footer-col">
            <h2>About us</h2>
            <img src="<?php echo e(url('/images/logoEng.jpg')); ?>" alt="" style="width: 100%">
            <p><?php echo implode(" ", array_slice(explode(" ",strip_tags($about->introduction)), 0, 20)); ?>...</p>
          </div>
          <!-- END BOTTOM ABOUT BLOCK -->

          <!-- BEGIN BOTTOM CONTACTS -->
          <div class="col-md-4 col-sm-6 pre-footer-col">
            <h2 style="text-align:center;">Downloads</h2>
            <ul class="footer-ul" style="list-style: none;text-align: center;margin-right: 45px;">
              <?php $__currentLoopData = $downloads; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $download): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <li><a href="<?php echo e(url('img/Download/'.$download->file_name)); ?>" class="footer-anchor" download="" target="_blank"><?php echo e($download->title); ?></a></li>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              <a href="<?php echo e(url("$lng/download")); ?>">View All</a>
             
            </ul>

          </div>


         
          <!-- END BOTTOM CONTACTS -->

          <!-- BEGIN TWITTER BLOCK -->
          <div class="col-md-4 col-sm-6 pre-footer-col">
            <h2 style="text-align:center;">Contact Us</h2>
            <ul style="list-style: none;text-align: center;">
              <li>Charikot, Dolakha, Nepal</li>
              <li>Phn.:</i> +977-049429397, +977-049429943</li>
              <li>milijuli50.saccos@gmail.com</li>
            </ul>

          </div>
          <!-- END TWITTER BLOCK -->
        </div>
      </div>
    </div>
    <!-- END PRE-FOOTER -->

    <!-- BEGIN FOOTER -->
    <div class="footer">
      <div class="container">
        <div class="row">
          <!-- BEGIN COPYRIGHT -->
          <div class="col-md-4 col-sm-4 padding-top-10">
            2018 © Milijuli Saving & Credit Cooperative Ltd. ALL Rights Reserved.
          </div>
          <!-- END COPYRIGHT -->
          <!-- BEGIN PAYMENTS -->
          <div class="col-md-4 col-sm-4">
            <ul class="social-footer list-unstyled list-inline pull-right">
            
            
            </ul>
          </div>
          <!-- END PAYMENTS -->
          <!-- BEGIN POWERED -->
          <div class="col-md-4 col-sm-4 text-right">
            <p class="powered">Developed by: <a href="http://www.emergeinfosys.com">Emerge Infosys</a></p>
          </div>
          <!-- END POWERED -->
        </div>
      </div>
    </div>
    <!-- END FOOTER -->

    <!-- Load javascripts at bottom, this will reduce page load time -->
    <!-- BEGIN CORE PLUGINS (REQUIRED FOR ALL PAGES) -->
    <!--[if lt IE 9]>
    <script src="assets/plugins/respond.min.js"></script>
    <![endif]-->
    <script src="<?php echo e(url('assets/plugins/jquery.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(url('assets/plugins/jquery-migrate.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(url('assets/plugins/bootstrap/js/bootstrap.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(url('assets/corporate/scripts/back-to-top.js')); ?>" type="text/javascript"></script>
    <!-- END CORE PLUGINS -->

    <!-- BEGIN PAGE LEVEL JAVASCRIPTS (REQUIRED ONLY FOR CURRENT PAGE) -->
    <script src="<?php echo e(url('assets/plugins/fancybox/source/jquery.fancybox.pack.js')); ?>" type="text/javascript"></script><!-- pop up -->
    <script src="<?php echo e(url('assets/plugins/owl.carousel/owl.carousel.min.js')); ?>" type="text/javascript"></script><!-- slider for products -->

    <script src="<?php echo e(url('assets/corporate/scripts/layout.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(url('assets/pages/scripts/bs-carousel.js')); ?>" type="text/javascript"></script>
    
    <script type="text/javascript">
        jQuery(document).ready(function() {
            Layout.init();
            Layout.initOWL();
            Layout.initTwitter();
            // Layout.initFixHeaderWithPreHeader(); /* Switch On Header Fixing (only if you have pre-header) */
            // Layout.initNavScrolling();
        });
    </script>
    <!-- END PAGE LEVEL JAVASCRIPTS -->
