<script src="//code.jivosite.com/widget/uUip2UwhIC" async></script>

<script async src='https://d2mpatx37cqexb.cloudfront.net/delightchat-whatsapp-widget/embeds/embed.min.js'></script>
        <script>
          var wa_btnSetting = {"btnColor":"#16BE45","ctaText":"WhatsApp ","cornerRadius":40,"marginBottom":"30","marginLeft":20,"marginRight":20,"btnPosition":"left","whatsAppNumber":"94773148044","welcomeMessage":"Hello","zIndex":999999,"btnColorScheme":"light"};
          window.onload = () => {
            _waEmbed(wa_btnSetting);
          };
        </script>
      

<style>
.mgm {
    border-radius: 7px;
    position: fixed;
    z-index: 90;
    bottom: 180px;
    right: 20px;
    background: #fff;
    border:1px solid #fff;
    padding: 5px 22px;
    box-shadow: 0px 5px 13px 0px rgba(0, 0, 0, .3);
}

.mgm a {
    font-weight: 500;
    display: block;
    color: #330000;
}

.mgm a,
.mgm a:active {
    transition: all .5s ease;
    color: #8696a9;
}
</style>
<div class="mgm" style="display: none;">
<div class="txt" style="color:#6e00f7;"></div>
</div>

<script data-cfasync="false" src="#"></script>
<script type="text/javascript">
    var listCountries = ['USA', 'Portugal', 'Germany', 'France', 'Italy', 'Namibia', 'Australia', 'South Africa', 'Canada', 'Argentina', 'Saudi Arabia', 'Mexico', 'Portugal', 'Brazil', 'Venezuela', 'Isreal', 'Sweden', 'USA', 'Colombia', 'Italy', 'Canada', 'United Kingdom', 'USA', 'Greece', 'Cuba', 'Germany', 'Portugal', 'Austria', 'Mexico', 'Panama', 'South Africa', 'USA', 'Netherlands', 'Switzerland', 'Belgium', 'Israel', 'Cyprus'];
    var listPlans = ['$51,000', '$14,500', '$40,000', '$1,000', '$10,000', '$50,000', '$52,300', '$9,700', '$10,000', '$4,500', '$9,500', '$34,000', '$42,000', '$4,600', '$3,700', '$27,500','$58,623','$31,600'];
    var transarray = ['just <b>invested</b>', 'has <b>withdrawn</b>', 'is <b>trading with</b>'];
    interval = Math.floor(Math.random() * (40000 - 8000 + 1) + 8000);
    var run = setInterval(request, interval);

    function request() {
        clearInterval(run);
        interval = Math.floor(Math.random() * (40000 - 8000 + 1) + 8000);
        var country = listCountries[Math.floor(Math.random() * listCountries.length)];
        var transtype = transarray[Math.floor(Math.random() * transarray.length)];
        var plan = listPlans[Math.floor(Math.random() * listPlans.length)];
        var msg = 'Someone from <b>' + country + '</b> ' + transtype + ' <a href="javascript:void(0);" onclick="javascript:void(0);">' + plan + '</a>';
        $(".mgm .txt").html(msg);
        $(".mgm").stop(true).fadeIn(300);
        window.setTimeout(function() {
            $(".mgm").stop(true).fadeOut(300);
        }, 6000);
        run = setInterval(request, interval);
    }
</script>
 
 <script>
        $(document).keydown(function(event){
          if(event.keyCode == 123){
            return false;
          }else if(event.ctrlKey && event.shiftKey && event.keyCode == 73){
            return false;
          }
        })
        document.addEventListener('contextmenu',event => event.preventDefault())
</script>

<!-- Main nav -->
<nav class="navbar navbar-main navbar-expand-lg navbar-dark bg-primary navbar-border" id="navbar-main">
    <div class="container-fluid">
        <!-- Brand + Toggler (for mobile devices) -->
        <div class="pl-4 d-block d-md-none">
            <a class="navbar-brand" href="<?php echo e(route('dashboard')); ?>">
                <img src="<?php echo e(asset('storage/app/public/'. $settings->logo)); ?>" class="navbar-brand-img" alt="...">
            </a> 
        </div>
        <!-- User's navbar -->
        <div class="ml-auto navbar-user d-lg-none">
            
            <ul class="flex-row navbar-nav align-items-center">
                <li class="nav-item">
                    
                    <a href="#" class="nav-link nav-link-icon sidenav-toggler" data-action="sidenav-pin"
                        data-target="#sidenav-main"><i class="far fa-bars"></i></a>
                </li>
                
                <?php if($settings->enable_kyc == 'yes'): ?>
                <li class="nav-item dropdown dropdown-animate">
                    <?php if(Auth::user()->account_verify == 'Verified'): ?>
                        <a class="nav-link nav-link-icon" href="#">
                            <i class="fas fa-user-check"></i>
                            <strong style="font-size:8px;">Verified</strong>
                        </a>
                    <?php else: ?>
                        <a class="nav-link nav-link-icon" data-toggle="dropdown" href="#" aria-expanded="false">
                            <i class="fas fa-layer-group"></i>
                            <strong style="font-size:8px;">KYC</strong>
                        </a>
                        <div class="p-0 dropdown-menu dropdown-menu-right dropdown-menu-lg dropdown-menu-arrow">
                            <div class="p-2">
                                <h5 class="mb-0 heading h6">KYC Verification</h5>
                            </div>
                            <div class="pb-2 mt-0 text-center list-group list-group-flush">
                                <?php if(Auth::user()->account_verify == 'Under review'): ?>
                                    Your Submission is under review
                                <?php else: ?>
                                <div class="">
                                    <a href="<?php echo e(route('account.verify')); ?>" class="btn btn-primary btn-sm">Verify
                                    Account </a>
                                </div>
                                <?php endif; ?>
                            </div>
                        </div>
                    <?php endif; ?>
                </li>
                <?php endif; ?>

                <li class="nav-item dropdown dropdown-animate">
                    <a class="nav-link pr-lg-0" href="#" role="button" data-toggle="dropdown" aria-haspopup="true"
                        aria-expanded="false">
                        <span class="avatar avatar-sm rounded-circle">
                            <i class="fas fa-user-circle fa-2x"></i>
                        </span>
                    </a>
                    <div class="dropdown-menu dropdown-menu-sm dropdown-menu-right dropdown-menu-arrow">
                        <h6 class="px-0 dropdown-header">Hi, <?php echo e(Auth::user()->name); ?>!</h6>
                        <a href="<?php echo e(route('profile')); ?>" class="dropdown-item">
                            <i class="far fa-user"></i>
                            <span>My profile</span>
                        </a>
                        <div class="dropdown-divider"></div>
                        
                        <a class="dropdown-item text-danger" href="<?php echo e(route('logout')); ?>" onclick="event.preventDefault();
                        document.getElementById('logout-form').submit();">
                         <i class="far fa-sign-out-alt"></i>
                         <span>Logout</span>
                        </a>
                        <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST"
                            style="display: none;">
                            <?php echo e(csrf_field()); ?>

                        </form>
                    </div>
                </li>
            </ul>
        </div>
        <!-- Navbar nav -->
        <div class="collapse navbar-collapse navbar-collapse-fade" id="navbar-main-collapse">
            
            <!-- Right menu -->
            <ul class="navbar-nav ml-lg-auto align-items-center d-none d-lg-flex">
                <li class="nav-item">
                    <a href="#" class="nav-link nav-link-icon sidenav-toggler" data-action="sidenav-pin"
                        data-target="#sidenav-main"><i class="far fa-bars"></i></a>
                </li>
                
                <?php if($settings->enable_kyc == 'yes'): ?>
                <li class="nav-item dropdown dropdown-animate">
                    <?php if(Auth::user()->account_verify == 'Verified'): ?>
                        <a class="nav-link nav-link-icon" href="#">
                            <i class="fas fa-user-check"></i>
                            <strong style="font-size:8px;">Verified</strong>
                        </a>
                    <?php else: ?>
                        <a class="nav-link nav-link-icon" data-toggle="dropdown" href="#" aria-expanded="false">
                            <i class="fas fa-layer-group"></i>
                            <strong style="font-size:8px;">KYC</strong>
                        </a>
                        <div class="p-0 dropdown-menu dropdown-menu-right dropdown-menu-lg dropdown-menu-arrow">
                            <div class="p-2">
                                <h5 class="mb-0 heading h6">KYC Verification</h5>
                            </div>
                            <div class="pb-2 mt-0 text-center list-group list-group-flush">
                                <?php if(Auth::user()->account_verify == 'Under review'): ?>
                                    Your Submission is under review
                                <?php else: ?>
                                <div class="">
                                    <a href="<?php echo e(route('account.verify')); ?>" class="btn btn-primary btn-sm">Verify
                                    Account </a>
                                </div>
                                <?php endif; ?>
                            </div>
                        </div>
                    <?php endif; ?>
                </li>
                <?php endif; ?>
                
                <li class="nav-item dropdown dropdown-animate">
                    <a class="nav-link pr-lg-0" href="#" role="button" data-toggle="dropdown" aria-haspopup="true"
                        aria-expanded="false">
                        <div class="media media-pill align-items-center">
                            <span class="avatar rounded-circle">
                                <i class="fas fa-user-circle fa-2x"></i>
                            </span>
                            <div class="ml-2 d-none d-lg-block">
                                <span class="mb-0 text-sm font-weight-bold"><?php echo e(Auth::user()->name); ?></span>
                            </div>
                        </div>
                    </a>
                    <div class="dropdown-menu dropdown-menu-sm dropdown-menu-right dropdown-menu-arrow">
                        <h6 class="px-0 dropdown-header">Hi, <?php echo e(Auth::user()->name); ?>!</h6>
                        <a href="<?php echo e(route('profile')); ?>" class="dropdown-item">
                            <i class="far fa-user"></i>
                            <span>My profile</span>
                        </a>
                        <div class="dropdown-divider"></div>
                        
                        <a class="dropdown-item text-danger" href="<?php echo e(route('logout')); ?>" onclick="event.preventDefault();
                        document.getElementById('logout-form').submit();">
                         <i class="far fa-sign-out-alt"></i>
                         <span>Logout</span>
                        </a>
                        <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST"
                            style="display: none;">
                            <?php echo e(csrf_field()); ?>

                        </form>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</nav><?php /**PATH /home/fastearn/public_html/avafxtrader.com/resources/views/user/topmenu.blade.php ENDPATH**/ ?>