<?php
    $contact = getContent('contact_us.content', true);
?>
<div class="header-top">
    <div class="container">
        <div class="header-top-area">
            <div class="header-top-item">
                <a href="Mailto:<?php echo e(@$contact->data_values->email_address); ?>"><i
                        class="fa fa-envelope"></i> <?php echo e(@$contact->data_values->email_address); ?></a>
            </div>
          <!--  <div class="header-top-item">
                <a href="tel:<?php echo e(@$contact->data_values->contact_number); ?>"><i
                        class="fa fa-mobile-alt"></i> <?php echo e(@$contact->data_values->contact_number); ?></a>
            </div> -->

            <?php if($general->language == Status::ENABLE): ?>
                <div class="header-top-item ms-auto d-none d-sm-block">
                    <select class="select-bar langSel">
                        <?php $__currentLoopData = $language; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($item->code); ?>" <?php if(session('lang') == $item->code): ?> selected <?php endif; ?>>
                                <?php echo e(__($item->name)); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            <?php endif; ?>
        </div>
    </div>
</div>
<header class="header-bottom">
    
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <div class="header-area">
                    <div class="logo">
                        <a href="<?php echo e(route('home')); ?>"><img
                                src="<?php echo e(getImage(getFilePath('logoIcon') . '/logo.png')); ?>" alt="logo"></a>
                    </div>
                    <ul class="menu">
                    <!--    <li><a href="<?php echo e(url('/')); ?>"><?php echo app('translator')->get('Home'); ?></a></li> -->

                        <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k => $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <!--<li><a href="<?php echo e(route('pages', [$data->slug])); ?>"><?php echo e(trans($data->name)); ?></a></li> -->
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                       <!-- <li><a href="<?php echo e(route('plan')); ?>"><?php echo app('translator')->get('Plaxsn'); ?></a></li>
                        <li><a href="<?php echo e(route('blog')); ?>"><?php echo app('translator')->get('Blog'); ?></a></li>
                        <li><a href="<?php echo e(route('contact')); ?>"><?php echo app('translator')->get('Contact'); ?></a></li> -->

                        <?php if(auth()->guard()->check()): ?>
                            <li><a href="javascript:void(0)"><?php echo app('translator')->get('Account'); ?></a>
                                <ul class="submenu">
                                    <li><a href="<?php echo e(route('user.home')); ?>"><?php echo app('translator')->get('Dashboard'); ?></a></li>
                                    <li><a href="<?php echo e(route('user.logout')); ?>"><?php echo app('translator')->get('Logout'); ?></a></li>
                                </ul>
                            </li>
                        <?php else: ?>
                            <li>
                                <a href="javascript:void(0)"><?php echo app('translator')->get('Account'); ?></a>
                                <ul class="submenu">
                                    <li><a href="<?php echo e(route('user.login')); ?>"><?php echo app('translator')->get('Log In'); ?></a>
                                    </li>
                                    <li><a href="<?php echo e(route('user.register')); ?>"><?php echo app('translator')->get('Register'); ?></a></li>
                                </ul>
                            </li>
                        <?php endif; ?>

                        <?php if($general->language == Status::ENABLE): ?>
                            <div class="p-md-0 d-sm-none p-3">
                                <select class="langSel w-100 ml-auto">
                                    <?php $__currentLoopData = $language; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($item->code); ?>" <?php if(session('lang') == $item->code): ?> selected <?php endif; ?>>
                                            <?php echo e(__($item->name)); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        <?php endif; ?>
                    </ul>

                    <div class="header-bar d-lg-none">
                        <span></span>
                        <span></span>
                        <span></span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
</header>
<?php /**PATH /home/mez5ba60cfao/public_html/Files/core/resources/views/templates/basic/partials/header.blade.php ENDPATH**/ ?>