   <?php

   $imgurl="https://bet.newgenguru.com/assets/templates/basic/betnew/images/"; 
      
   ?>
   
    <header>
		<div class="header_wraper">
		    <div class="left_head_side">
			  <div class="logo">
				<a href="<?php echo e(route('home')); ?>">
					<img class="img-fluid" src="<?php echo e(siteLogo()); ?>" alt="<?php echo app('translator')->get('logo'); ?>">
				</a>
			  </div>
			  <div class="nav">
				  <ul>
				  
				      <?php if(Route::is('home') || Route::is('game.markets') || Route::is('league.games') || Route::is('category.games')): ?>
						<li>
							<a class="bet-type__live <?php if(session('game_type') != 'upcoming'): ?> active <?php endif; ?>"
							   href="/games"> <?php echo app('translator')->get('GAMES'); ?></a>
						</li>
						<li>
							<a class="bet-type__live <?php if(session('game_type') != 'upcoming'): ?> active <?php endif; ?>"
							   href="<?php echo e(route('switch.type', 'live')); ?>"> <?php echo app('translator')->get('LIVE'); ?></a>
						</li>
						<li>
							<a class="bet-type__upcoming <?php if(session('game_type') == 'upcoming'): ?> active <?php endif; ?>"
							   href="<?php echo e(route('switch.type', 'upcoming')); ?>"> <?php echo app('translator')->get('Upcoming'); ?> </a>
						</li>
					 <?php endif; ?>
					  
					  
				  </ul>
			  </div>
		    </div>
		    <div class="right_head_side">
			
					<a href="#" id="connectBtn"  data-bs-toggle="modal" data-bs-target="#betLogin">Login</a>
					<a href="sign-up.html" id="SignUp_01">Sign Up</a>
					<a href="#" id="searchBtn" class="desktop_view"><i class="fa fa-search" aria-hidden="true"></i></a>
					<a href="index.html" id="searchBtn" class="mobile_view">Games</a>
					 
		    </div>
		    <div style="clear:both;"></div>

		  <!-- Login Modal -->
			<div class="modal fade" id="betLogin" tabindex="-1" aria-labelledby="betLoginLabel" aria-hidden="true">
			  <div class="modal-dialog">
				<div class="modal-content">      
				  <div class="modal-body p-3 p-sm-5">
					<span class="close" data-bs-dismiss="modal" type="button" aria-label="Close">
					  <i class="fa fa-times" aria-hidden="true"></i>
					</span>
					<div class="d-flex justify-content-between align-items-center mb-2">
					  <h4 class="mt-0">Login to your account</h4>
					</div>
					<form class="verify-gcaptcha" action="#" method="POST">
					  <input type="hidden" name="_token" value="oaU8UZLVRTVSLY3FcCdaiv9V251VqwHrZIyo1OIg" autocomplete="off">    
					  <div class="form-group">
						<label class="form-label required" for="username">Username or Email</label>
						<input class="form-control form--control" name="username" type="text" value="" required="" id="username">
					  </div>
					  <div class="form-group">
						<label class="form-label required">Password</label>
						<div class="input-group input--group">
						  <input class="form-control form--control" name="password" type="password" required="">
						  <span class="input-group-text pass-toggle">
						  <i class="fa fa-eye" aria-hidden="true"></i>
						  </span>
						</div>
					  </div>
					  <div class="form-group d-flex justify-content-between align-items-center">
						<div class="form-check">
						  <input class="form-check-input custom--check" id="remember" name="remember" type="checkbox">
						  <label class="form-check-label sm-text t-heading-font heading-clr fw-md" for="remember">
							Remember Me            
						  </label>
						</div>
						<a class="t-link--base sm-text forgot_password_white" href="#">Forgot Password?</a>
					  </div>
					  <button class="btn btn--xl btn--base w-100 loginFormSubmit" type="submit">Login</button>
					  <div class="d-flex justify-content-center align-items-center gap-2 mt-2">
						<span class="d-inline-block sm-text"> Don't have account? </span>
						<a class="t-link d-inline-block t-link--base base-clr sm-text lh-1 text-center text-end create_account_white" href="https://bet.newgenguru.com/user/register">Create account</a>
					  </div>
					</form>
				  </div>      
				</div>
			  </div>
			</div>
		  
		</div>

        <div class="header_second_row">
        <div class="header_second_row_wrap">
          <ul>
              <li class="sports_li"><i class="fa fa-th" aria-hidden="true"></i> <span>Sports</span></li>
              <li class="search_li"><i class="fa fa-search" aria-hidden="true"></i> <span>Search</span></li>
              <li class="myBets_li"><i class="fa fa-file-text" aria-hidden="true"></i> <span>My Bets</span></li>
              <li class="setting_li"><i class="fa fa-cog" aria-hidden="true"></i></li>
          </ul>
        </div>
        </div>
    </header>    
	
	
	
	
	
	
	
	
	
	
	
	<div class="header-fluid-custom-parent">

        <div class="logo">
            <a href="<?php echo e(route('home')); ?>">
                <img class="img-fluid" src="<?php echo e(siteLogo()); ?>" alt="<?php echo app('translator')->get('logo'); ?>">
            </a>
        </div>

        <nav class="primary-menu-container">

            <ul class="list list--row primary-menu-lg justify-content-end justify-content-lg-start">
                <?php if(Route::is('home') || Route::is('game.markets') || Route::is('league.games') || Route::is('category.games')): ?>
                    <li>
                        <a class="bet-type__live <?php if(session('game_type') != 'upcoming'): ?> active <?php endif; ?>"
                           href="/games"> <?php echo app('translator')->get('GAMES'); ?></a>
                    </li>
                    <li>
                        <a class="bet-type__live <?php if(session('game_type') != 'upcoming'): ?> active <?php endif; ?>"
                           href="<?php echo e(route('switch.type', 'live')); ?>"> <?php echo app('translator')->get('LIVE'); ?></a>
                    </li>
                    <li>
                        <a class="bet-type__upcoming <?php if(session('game_type') == 'upcoming'): ?> active <?php endif; ?>"
                           href="<?php echo e(route('switch.type', 'upcoming')); ?>"> <?php echo app('translator')->get('Upcoming'); ?> </a>
                    </li>
                <?php endif; ?>
            </ul>

            <ul class="list list--row primary-menu justify-content-end align-items-center right-side-nav gap-4">

                <?php if(!Route::is('home')): ?>
                    <li>
                        <a class="primary-menu-lg__link" href="<?php echo e(route('home')); ?>">
                            <span class="primary-menu-lg__link-text"> <?php echo app('translator')->get('Home'); ?> </span>
                        </a>
                    </li>
                <?php endif; ?>

                <li class="d-none d-lg-block">
                    <div class="select-lang--container">
                        <div class="select-lang">
                            <select class="form-select oddsType">
                                <option value="" disabled><?php echo app('translator')->get('Odds Type'); ?></option>
                                <option value="decimal" <?php if(session('odds_type') == 'decimal'): echo 'selected'; endif; ?>><?php echo app('translator')->get('Decimal Odds'); ?></option>
                                <option value="fraction" <?php if(session('odds_type') == 'fraction'): echo 'selected'; endif; ?>><?php echo app('translator')->get('Fraction Odds'); ?></option>
                                <option value="american" <?php if(session('odds_type') == 'american'): echo 'selected'; endif; ?>><?php echo app('translator')->get('American Odds'); ?></option>
                            </select>
                        </div>
                    </div>
                </li>
                <?php if(gs('multi_language')): ?>
                    <?php
                        $languages = App\Models\Language::all();
                        $language = $languages->where('code', '!=', session('lang'));
                        $activeLanguage = $languages->where('code', session('lang'))->first();
                    ?>
                    <li>
                        <div class="dropdown-lang dropdown mt-0">
                            <a href="#" class="language-btn dropdown-toggle" data-bs-toggle="dropdown"
                               aria-expanded="false">
                                <img class="flag" src="<?php echo e(getImage(getFilePath('language') . '/' . @$activeLanguage->image, getFileSize('language'))); ?>" alt="us">
                                <span class="language-text text-white"><?php echo e(__(@$activeLanguage->name)); ?></span>
                            </a>
                            <ul class="dropdown-menu" style="">
                                <?php $__currentLoopData = $language; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li>
                                        <a href="javascript:void(0)" class="langSel" data-code="<?php echo e($item->code); ?>">
                                            <img class="flag" src="<?php echo e(getImage(getFilePath('language') . '/' . @$item->image, getFileSize('language'))); ?>" alt="image">
                                            <?php echo e(__(@$item->name)); ?>

                                        </a>
                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                    </li>
                <?php endif; ?>

                <?php if(auth()->guard()->check()): ?>
                    <?php if(request()->routeIs('user.*')): ?>
                        <li><a class="btn btn--signup" href="<?php echo e(route('home')); ?>"> <?php echo app('translator')->get('Bet Now'); ?> </a></li>
                    <?php else: ?>
                        <li><a class="btn btn--signup" href="<?php echo e(route('user.home')); ?>"> <?php echo app('translator')->get('Dashboard'); ?> </a></li>
                    <?php endif; ?>
                <?php else: ?>
                    <?php if(request()->routeIs('user.login')): ?>
                        <?php if(gs('registration')): ?>
                            <li><a class="btn btn--signup" href="<?php echo e(route('user.register')); ?>"> <?php echo app('translator')->get('Sign up'); ?> </a></li>
                        <?php endif; ?>
                    <?php elseif(request()->routeIs('user.register')): ?>
                        <li><button class="btn btn--signup" data-bs-toggle="modal" data-bs-target="#loginModal"
                                    type="button"> <?php echo app('translator')->get('Login'); ?> </button></li>
                    <?php else: ?>
                        <li><button class="btn btn--login" data-bs-toggle="modal" data-bs-target="#loginModal"
                                    type="button"> <?php echo app('translator')->get('Login'); ?> </button></li>
                        <?php if(gs('registration')): ?>
                            <li><a class="btn btn--signup" href="<?php echo e(route('user.register')); ?>"> <?php echo app('translator')->get('Sign up'); ?> </a></li>
                        <?php endif; ?>
                    <?php endif; ?>
                <?php endif; ?>
            </ul>
        </nav>
    </div>

    <?php
        $loginContent = getContent('login.content', true);
    ?>

    <div class="modal fade login-modal" id="loginModal" data-bs-backdrop="static" data-bs-keyboard="false"
         role="dialog" aria-labelledby="modalTitleId" aria-hidden="true" tabindex="-1">
        <div class="modal-dialog modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-body p-3 p-sm-5">
                    <span class="close" data-bs-dismiss="modal" type="button" aria-label="Close">
                        <i class="las la-times"></i>
                    </span>
                    <div class="d-flex justify-content-between align-items-center mb-2">
                        <h4 class="mt-0"><?php echo e(__(@$loginContent->data_values->heading)); ?></h4>
                    </div>
                    <?php echo $__env->make($activeTemplate . 'partials.login', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
            </div>
        </div>
    </div>
<?php /**PATH /home/cuce22pe/public_html/bet.newgenguru.com/core/resources/views/templates/basic/partials/header_new.blade.php ENDPATH**/ ?>