<footer class="footer">

    <div class="footer-content">
        <div class="container">
            <div class="row">
                <div class="col-md-4">
                    <div class="footer-content__logo">
                        <a href="<?php echo e(fullUrl()); ?>" title="logo"><picture><source srcset="/img/logo.webp" type="image/webp"><img src="/img/logo.png" alt=""></picture></a>
                        <p><?php echo e($translate->footerText); ?>&nbsp;<a href="mailto:<?php echo e($siteSettings->email); ?>"><?php echo e($siteSettings->email); ?></a></p>
                    </div>
                    <!-- /.footer-content__logo -->
                </div>
                <!-- /.col-md-4 -->
                <div class="col-md-8 footer-right">
                    <div class="row">
                        <div class="col-md-6 col-lg-4 col-12">
                            <ul class="first">
                                <?php $__currentLoopData = $footerLeftMenu; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $flmItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php
                                    if($flmItem->type == 'link') {
                                        $link = $flmItem->link != '' ? $flmItem->link : 'javascript: void(0);';
                                    } else {
                                        $urlPart = '';
                                        if($flmItem->type == 'text') {
                                            $urlPart = '/text';
                                        }
                                        if($flmItem->slug == 'dissertations' || $flmItem->slug == 'articles') {
                                            $urlPart = '/publications';
                                        }
                                        $link = url(getCurrentLocale() . $urlPart .'/'. $flmItem->slug);
                                    }
                                    ?>

                                    <li><a href="<?php echo e($link); ?>"><?php echo e($flmItem->name); ?></a></li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                        <!-- /.col-md-4 -->
                        <div class="col-md-6 col-lg-4 col-12">
                            <ul>
                                <?php $__currentLoopData = $footerRightMenu; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $frmItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php
                                    if($frmItem->type == 'link') {
                                        $link = $frmItem->link != '' ? $frmItem->link : 'javascript: void(0);';
                                    } else {
                                        $urlPart = '';
                                        if($frmItem->type == 'text') {
                                            $urlPart = '/text';
                                        }
                                        if($frmItem->slug == 'dissertations' || $frmItem->slug == 'articles') {
                                            $urlPart = '/publications';
                                        }
                                        $link = url(getCurrentLocale() . $urlPart .'/'. $frmItem->slug);
                                    }
                                    ?>
                                    <li><a href="<?php echo e($link); ?>" title="<?php echo e($frmItem->name); ?>"><?php echo e($frmItem->name); ?></a></li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                        <!-- /.col-md-4 -->
                        <div class="col-md-12 col-lg-4 col-12">
                            <form action="<?php echo e(fullUrl('subscribe')); ?>" class="subscribe" method="post">
                                <h3><?php echo e($translate->subscribe); ?></h3>
                                 <ul>

                                <li class="fb"><a href="<?php echo e($siteSettings->facebook); ?>" target="_blank" title="<?php echo e($siteSettings->facebook); ?>"><i class="icofont-facebook"></i></a></li>
                                <li class="instagram"><a href="<?php echo e($siteSettings->instagram); ?>" target="_blank" title="<?php echo e($siteSettings->instagram); ?>"><i class="icofont-instagram"></i></a></li>
                                <li class="twitter"><a href="<?php echo e($siteSettings->twitter); ?>" target="_blank" title="<?php echo e($siteSettings->twitter); ?>"><i class="icofont-twitter"></i></a></li>
                                <li class="linkedin"><a href="<?php echo e($siteSettings->linkedin); ?>" target="_blank" title="<?php echo e($siteSettings->linkedin); ?>"><i class="icofont-linkedin"></i></a></li>
                            </ul>
                                <div class="form-group">
                                    <input type="email" placeholder="<?php echo e($translate->yourEmail); ?>" required name="email">
                                    <a class="subscribe-submit-btn"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.2 13.8"><style type="text/css">
                                    .st0{clip-path:url(#SVGID_2_);fill:none;stroke:#000000;stroke-width:0.5;stroke-miterlimit:10;}
                                    .st1{clip-path:url(#SVGID_4_);fill:none;stroke:#000000;stroke-width:0.5;stroke-miterlimit:10;}
                                </style><rect x="0.2" y="5.9" width="17.3" height="2"/><defs><rect width="19.2" height="13.8"/></defs><clipPath><use xlink:href="#SVGID_1_"/></clipPath><rect x="0.2" y="5.9" class="st0" width="17.3" height="2"/><polygon points="10.9 1.8 16 6.9 10.9 12 12.3 13.4 18.8 6.9 12.3 0.4 "/><defs><rect width="19.2" height="13.8"/></defs><clipPath><use xlink:href="#SVGID_3_"/></clipPath><polygon class="st1" points="12.3 13.4 10.9 12 16 6.9 10.9 1.8 12.3 0.4 18.8 6.9 "/></svg></a></div>
                                <small class="form-text d-none"></small>
                            </form>
                        </div>
                        <!-- /.col-md-4 -->
                    </div>
                    <!-- /.row -->
                </div>
                <!-- /.col-md-8 -->

            </div>
            <!-- /.row -->
        </div>
        <!-- /.container -->
    </div>
    <!-- /.footer-content -->
    <div class="footer-bottom">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="footer-copyright">
                        <p>
                            <i class="icofont-copyright"></i> <?php echo e($translate->allRightsReserved); ?></p>
                        <ul>
                            <li>
                                <a href="https://www.mygo.ge/" title="myGo" target="_blank">created by myGO</a>
                            </li>
                        </ul>
                    </div>
                    <!-- /.footer-copyright -->
                </div>
                <!-- /.col-md-12 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /.container -->
    </div>
    <!-- /.footer-bottom -->
</footer>

<!-- search -->

<!-- /.newmodal -->

<div class="newmodal" id="sub-it">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="newmodal-items">
                    <div class="newmodal-items__logo">
                        <a href="#"><picture><source srcset="/img/logo_full.svg" type="image/webp"><img src="/img/logo_full.svg" alt=""></picture></a>
                    </div>
                    <!-- /.newmodal-items__logo -->
                    <div class="newmodal-items__btn">
                        <button class="close-start"><i class="icofont-close"></i></button>
                    </div>
                    <!-- /.newmodal-items__btn -->
                </div>
                <!-- /.newmodal-items -->
                <div class="newmodal-content">
                    <div class="subform">
                        <h1>გამოიწერეთ სიახლეები </h1>
                        <form action="#">
                            <div class="form-group"><input type="text" placeholder="სახელი"></div>
                            <!-- /.form-group -->
                            <div class="form-group"><input type="text" placeholder="ელ.ფოსტა"></div>
                            <!-- /.form-group -->
                            <div class="agree">
                                <div class="custom-control custom-checkbox">
                                    <input type="checkbox" class="custom-control-input" id="customControlAutosizing" name="remember">
                                    <label class="custom-control-label" for="customControlAutosizing">გამოწერით ვეთანხმები <a href="#">წესებსა და პირობებს</a></label>
                                </div>
                            </div>
                            <!-- /.form-group -->
                            <button type="submit">გამოწერა</button>
                        </form>

                    </div>
                    <!-- /.subform -->
                </div>
                <!-- /.newmodal-content -->
            </div>
            <!-- /.col-md-12 -->
        </div>
        <!-- /.row -->
    </div>
    <!-- /.container -->
</div>
<!-- /.newmodal -->
<script src="/plugins/js/jquery.js"></script>
<script src="/plugins/js/bootstrap.min.js"></script>
<script src="/plugins/js/swiper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"></script>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
    var csrfToken = $('meta[name="csrf-token"]').attr('content');
    var footerSubscribeForm = $('.subscribe');
    var footerSubscribeFormInput = footerSubscribeForm.find('input[type=email]');
    var footerSubscribeFormInputLabel = footerSubscribeFormInput.closest('.md-form').find('label');
    var footerSubscribeFormUrl;
    var footerSubscribeFormData;
    var footerSubscribeFormText = footerSubscribeForm.find('.form-text');
    var footerSubscribeFormSubmitBtn = footerSubscribeForm.find('.subscribe-submit-btn');

    footerSubscribeFormSubmitBtn.click(function(e) {
        e.preventDefault();

        footerSubscribeForm.submit();
    });

    footerSubscribeForm.submit(function (e) {
        e.preventDefault();

        footerSubscribeFormUrl = footerSubscribeForm.attr('action');
        footerSubscribeFormData = footerSubscribeForm.serialize();

        $.ajax({
            type: 'post',
            url: footerSubscribeFormUrl,
            headers: {
                'X-CSRF-TOKEN': csrfToken
            },
            data: footerSubscribeFormData,
            success: function (data) {
                footerSubscribeFormText.removeClass('text-danger');
                footerSubscribeFormText.addClass('text-success');
                footerSubscribeFormText.removeClass('d-none');
                footerSubscribeFormText.text('<?php echo e($translate->subscribeSuccess); ?>');
                footerSubscribeFormInput.val('');
                footerSubscribeFormInput.blur();
                footerSubscribeFormInputLabel.removeClass('active');
                setTimeout(function () {
                    if (footerSubscribeFormText.hasClass('text-success')) {
                        footerSubscribeFormText.addClass('d-none');
                    }
                }, 5000);
            },
            error: function (request, status, error) {
                var emailExists = JSON.parse(request.responseText);
                footerSubscribeFormText.removeClass('text-success');
                footerSubscribeFormText.addClass('text-danger');
                footerSubscribeFormText.removeClass('d-none');
                var errorText; 
                if (emailExists.exists) {
                    errorText = '<?php echo e($translate->emailAlreadyExists); ?>';
                } else {
                    errorText = '<?php echo e($translate->subscribeError); ?>';
                }
                footerSubscribeFormText.text(errorText);
            }
        });
    });
</script>
<script src="/js/scripts.min.js"></script>
<script>
    $(".select").select2();
</script>

</body>

</html>
<?php /**PATH /home/ttqpucgs/public_html/resources/views/nn_site/partials/footer.blade.php ENDPATH**/ ?>