<!DOCTYPE html><html lang="zxx" class="js"><head><meta charset="utf-8">
<meta name="author" content="Softnio">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="@@page-discription">
<link rel="shortcut icon" href="{{asset('assets/images/logo/favicon.png')}}">
<title>{{isset($page_title) ? $page_title : ''}} | {{$basic->sitename}} </title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<link rel="stylesheet" href="{{asset('backend/css/default.css')}}">
    <link rel="stylesheet" href="{{asset('backend/css')}}/{{$basic->theme2}}">

<style>
div.ex1 {
  background-color: lightblue;
  width: 110px;
  height: 110px;
  overflow: scroll;
}

div.ex2 {
  background-color: lightblue;
  width: 110px;
  height: 110px;
  overflow: hidden;
}

div.ex3 {

  overflow: auto;
}

div.ex4 {
  background-color: lightblue;
  width: 110px;
  height: 110px;
  overflow: visible;
}
</style>
<link href="{{asset('frontend/css/jquery.growl.css')}}" rel="stylesheet" />
 <script src="{{asset('process/countries.js')}}"></script>

</head>




<body class="nk-body toastr-info npc-crypto has-sidebar has-sidebar-fat ui-clean " >
    <div class="nk-app-root"><div class="nk-main "><div class="nk-sidebar nk-sidebar-fat nk-sidebar-fixed" data-content="sidebarMenu">
        <div class="nk-sidebar-element nk-sidebar-head">
            <div class="nk-sidebar-brand">
                <a href="{{route('home')}}" class="logo-link nk-sidebar-logo">
                    <img class="logo-light logo-img" src=".{{asset('assets/images/logo/logo.png')}}" srcset="{{asset('assets/images/logo/logo.png')}}" alt="logo">
                    <img class="logo-dark logo-img" src="{{asset('assets/images/logo/logo.png')}}" srcset="{{asset('assets/images/logo/logo.png')}}" alt="logo-dark">
                    </a></div>
                    <div class="nk-menu-trigger mr-n2"><a href="#" class="nk-nav-toggle nk-quick-nav-icon d-xl-none" data-target="sidebarMenu">
                        <em class="icons ni ni-arrow-left"></em></a></div></div>

                        <div class="nk-sidebar-element"><div class="nk-sidebar-body ex3" data-ssimplebar><div class="nk-sidebar-content">
                            <div class="nk-sidebar-widget d-none d-xl-block"><div class="user-account-info between-center">
                                <div class="user-account-main"><h6 class="overline-title-alt">Available Balance</h6>
                                <div class="user-balance">{{number_format(Auth::user()->balance, $basic->decimal)}}  <small class="currency currency-btc">{{$basic->currency}}</small></div>
                                <div class="user-balance-alt">{{number_format(Auth::user()->bonus, $basic->decimal)}} <span class="currency currency-btc">{{$basic->currency}}</span>
                                <small> (Commission)</small></div>
                                <div class="user-balance-alt"><span class="currency currency-btc">Referral id: </span>
                                <small> ( {{Auth::User()->username}} )</small></div>
                                </div><a href="/user/withdrawal-log" class="btn btn-white btn-icon btn-light"><em class="icon ni ni-line-chart"></em></a></div>

                                 <div class="user-balance-alt">
                                <small><a href="{{url('/')}}/user/deposit-fiat" class="btn btn-success"><em class="icon ni ni-gift"></em> <span>Deposit</span></a> </small>

                                <small><a href="{{url('/')}}/user/withdraw" class="btn btn-danger"><em class="icon ni ni-reload"></em><span> Withdraw</span></a> </small>

                                </div></div>



                                <div class="nk-sidebar-widget nk-sidebar-widget-full d-xl-none pt-0">

             <div class="nk-profile-content" >
 <div class="user-account-info between-center">
<div class="user-account-main"><h6 class="overline-title-alt">Available Balance</h6>
        <div class="user-balance">{{number_format(Auth::user()->balance, $basic->decimal)}} <small class="currency currency-btc">{{$basic->currency}}</a></small></div>
        <div class="user-balance-alt">{{number_format(Auth::user()->bonus, $basic->decimal)}}  <span class="currency currency-btc">{{$basic->currency}}</span> <sma;;>(Commission)</small></div>
         <div class="user-balance-alt"><span class="currency currency-btc">Referral id: </span>
                                <small><a href="{{url('/')}}/user/referral-log"> ( {{Auth::User()->username}} )</a> </small></div> <br>

                                <div class="user-balance-alt">
                                <small><a href="{{url('/')}}/user/deposit-fiat" class="btns btn-success"><em class="icon ni ni-gift"></em> <span>Deposit</span></a> </small>

                                <small><a href="{{url('/')}}/user/withdraw" class="btns btn-danger"><em class="icon ni ni-reload"></em><span> Withdraw</span></a> </small>

                                </div>
                                <!--
                                                            <ul class="nk-block-tools g-2">
                                                            <li>
                                                                <a href="/user/referral-log"   class="btn btn-primary"><em class="icon ni ni-gift"></em><span>Deposit Money</span></a>
                                                            </li>

                                                            <li class="nk-block-tools-opt">

                                                        <ul class="nk-block-tools g-2">
                                                            <li>
                                                                <a href="/user/pin-recharge"   class="btn btn-danger"><em class="icon ni ni-wifi"></em><span>E-pin Recharge</span></a>
                                                            </li>

                                                            <li class="nk-block-tools-opt"> -->


        </div></div></div>


<div class="nk-profile-content toggle-expand-content" data-content="sidebarProfile">
    <div class="user-account-info between-center">
        <div class="user-account-main"><h6 class="overline-title-alt">Available Balance</h6>
        <div class="user-balance">{{number_format(Auth::user()->balance, $basic->decimal)}} <small class="currency currency-btc">{{$basic->currency}}</small></div>
        <div class="user-balance-alt">{{number_format(Auth::user()->bonus, $basic->decimal)}}  <span class="currency currency-btc">{{$basic->currency}}</span> <sma;;>(Commission)</small></div>
        </div><a href="{{url('/')}}/user/activity-log" class="btn btn-icon btn-light"><em class="icon ni ni-line-chart"></em></a></div> <ul class="link-list"><li><a href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">{{ csrf_field() }}</form>

<em class="icon ni ni-signout"></em><span>Sign out</span></a></li></ul></div></div>




<div class="nk-sidebar-menu"><ul class="nk-menu"><li class="nk-menu-heading"><h6 class="overline-title">Menu</h6></li><li class="nk-menu-item"><a href="{{route('home')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-dashboard text-primary"></em></span><span class="nk-menu-text">Dashboard</span></a></li>


<li class="nk-menu-heading"><h6 class="overline-title">BILLS PAYMENT</h6></li>

<li class="nk-menu-item has-sub"><a href="#" class="nk-menu-link nk-menu-toggle"><span class="nk-menu-icon"><em class="icon ni ni-printer text-primary"></em></span><span class="nk-menu-text">Airtime Voucher</span></a><ul class="nk-menu-sub">
<li class="nk-menu-item"><a href="{{route('printvoucher')}}" class="nk-menu-link"><span class="nk-menu-text">Generate Voucher</span></a></li>
<li class="nk-menu-item"><a href="{{route('reprintvoucher')}}" class="nk-menu-link"><span class="nk-menu-text">Print Generated Voucher</span></a></li>
 </ul></li>

<li class="nk-menu-item"><a href="{{route('mobilerecharge')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-mobile text-primary"></em></span><span class="nk-menu-text">Airtime Topup</span></a></li>

 <li class="nk-menu-item"><a href="{{route('internetdata')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-wifi text-primary"></em></span><span class="nk-menu-text">Cheap Data Bundle</span></a></li>

 <li class="nk-menu-item"><a href="{{route('cabletv')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-monitor text-primary"></em></span><span class="nk-menu-text">TV Subscription</span></a></li>

<li class="nk-menu-item"><a href="{{route('electricity')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-bulb text-primary"></em></span><span class="nk-menu-text">Electricity Bills</span></a></li>

<li class="nk-menu-item has-sub"><a href="#" class="nk-menu-link nk-menu-toggle"><span class="nk-menu-icon"><em class="icon ni ni-cards-fill text-primary"></em></span><span class="nk-menu-text">(Coming Soon Features)</span></a><ul class="nk-menu-sub">
<li class="nk-menu-item"><a href="/user/convert-airtime" class="nk-menu-link"><span class="nk-menu-text">Airtime to Cash</span></a></li>
 </ul></li>

<li class="nk-menu-item has-sub"><a href="#" class="nk-menu-link nk-menu-toggle"><span class="nk-menu-icon"><em class="icon ni ni-cart text-primary"></em></span><span class="nk-menu-text">Bills Payment Logs</span></a><ul class="nk-menu-sub">
<li class="nk-menu-item"><a href="{{route('tvlog')}}" class="nk-menu-link"><span class="nk-menu-text">TV Subscriptions Log</span></a></li>
<li class="nk-menu-item"><a href="{{route('powerlog')}}" class="nk-menu-link"><span class="nk-menu-text">Electricity Bills Log</span></a></li>
<li class="nk-menu-item"><a href="{{route('internetlog')}}" class="nk-menu-link"><span class="nk-menu-text">Data Bundle Log</span></a></li>
<li class="nk-menu-item"><a href="{{route('rechargelog')}}" class="nk-menu-link"><span class="nk-menu-text">Airtime Topup Log</span></a></li>

<li class="nk-menu-item"><a href="{{route('conversionlog')}}" class="nk-menu-link"><span class="nk-menu-text">Airtime to cash Log</span></a></li>
 </ul></li>


<li class="nk-menu-heading"><h6 class="overline-title">DIGITAL ASSET EXCHANGE</h6></li>


<li class="nk-menu-item has-sub"><a href="#" class="nk-menu-link nk-menu-toggle"><span class="nk-menu-icon"><em class="icon ni ni-apple-pay-fill text-primary"></em></span><span class="nk-menu-text">Trade Giftcard</span></a><ul class="nk-menu-sub">
<li class="nk-menu-item"><a href="{{url('/')}}/user/exchange-giftcard" class="nk-menu-link"><span class="nk-menu-text">Exchange GiftCard</span></a></li>
<li class="nk-menu-item"><a href="{{url('/')}}/user/giftcard-log" class="nk-menu-link"><span class="nk-menu-text">GiftCard Exchange Log</span></a></li>
 </ul></li>

 <li class="nk-menu-item has-sub"><a href="#" class="nk-menu-link nk-menu-toggle"><span class="nk-menu-icon"><em class="icon ni ni-coins text-primary"></em></span><span class="nk-menu-text">Trade Crypto-Currency</span></a><ul class="nk-menu-sub">
<li class="nk-menu-item"><a href="{{url('/')}}/user/buy-coin" class="nk-menu-link"><span class="nk-menu-text">Buy Coin</span></a></li>
<li class="nk-menu-item"><a href="{{url('/')}}/user/buy-log" class="nk-menu-link"><span class="nk-menu-text">Purchase Log</span></a></li>
<li class="nk-menu-item"><a href="{{url('/')}}/user/sell-coin" class="nk-menu-link"><span class="nk-menu-text">Sell Coin</span></a></li>
<li class="nk-menu-item"><a href="{{url('/')}}/user/sales-log" class="nk-menu-link"><span class="nk-menu-text">Sales Log</span></a></li>
 </ul></li>






<li class="nk-menu-heading"><h6 class="overline-title">More Services</h6></li>
<li class="nk-menu-item"><a href="{{url('/')}}/user/pin-recharge" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-cc-new text-primary"></em></span><span class="nk-menu-text">Deposit with E-pin</span></a> </li>



<li class="nk-menu-item"><a href="{{route('sms')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-mail text-primary"></em></span><span class="nk-menu-text">Send SMS</span></a> </li>


<li class="nk-menu-item"><a href="{{route('transfer')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-tranx text-primary"></em></span><span class="nk-menu-text">Transfer Money</span></a> </li>


<li class="nk-menu-item"><a href="{{route('withdraw.money')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-money text-primary"></em></span><span class="nk-menu-text">Withdraw to My Bank</span></a> </li>


<li class="nk-menu-item has-sub"><a href="#" class="nk-menu-link nk-menu-toggle"><span class="nk-menu-icon"><em class="icon ni ni-cart text-primary"></em></span><span class="nk-menu-text">Payment Log</span></a><ul class="nk-menu-sub">


    <li class="nk-menu-item"><a href="{{route('user.withdrawLog')}}" class="nk-menu-link"><span class="nk-menu-text">Withdrawal Log</span></a></li>
    <li class="nk-menu-item"><a href="{{route('user.depositLog')}}" class="nk-menu-link"><span class="nk-menu-text">Deposit Log</span></a></li>
    <li class="nk-menu-item"><a href="{{route('transferlog')}}" class="nk-menu-link"><span class="nk-menu-text">User Transfer Log</span></a></li>
 </ul></li>




<li class="nk-menu-heading"><h6 class="overline-title">Earn Money</h6></li>
<li class="nk-menu-item"><a href="{{route('referral')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-network text-primary"></em></span><span class="nk-menu-text">Referral System</span></a></li>
<li class="nk-menu-item"><a href="{{route('convertbonus')}}" class="nk-menu-link "><span class="nk-menu-icon"><em class="icon ni ni-tranx text-primary"></em></span><span class="nk-menu-text">Convert Commission</span></a></li>

<li class="nk-menu-heading"><h6 class="overline-title">Profile</h6></li>

<li class="nk-menu-item"><a href="{{route('profile')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-user-c text-primary"></em></span><span class="nk-menu-text">My Account</span></a></li>

<li class="nk-menu-item"><a href="{{url('/')}}/user/payment-account" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-shield text-primary"></em></span><span class="nk-menu-text">My Bank Account</span></a></li>



<li class="nk-menu-heading"><h6 class="overline-title">Help Center</h6></li>
<li class="nk-menu-item has-sub"><a href="{{route('inbox')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-emails text-primary"></em></span><span class="nk-menu-text">Message Inbox</span></a></li>

<li class="nk-menu-item has-sub"><a href="{{route('ticket')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-headphone-fill text-primary"></em></span><span class="nk-menu-text">Support Ticket</span></a></li>


<li class="nk-menu-item"><a href="{{route('user.faq')}}" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-help text-primary"></em></span><span class="nk-menu-text">FAQ</span></a></li>

<li class="nk-menu-item"><a href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();" class="nk-menu-link"><span class="nk-menu-icon"><em class="icon ni ni-user-c text-primary"></em></span><span class="nk-menu-text">Sign out</span></a></li>



</ul></div>

<div class="nk-sidebar-footer"><ul class="nk-menu nk-menu-footer"><li class="nk-menu-item"><a href="v3design.net" class="nk-menu-link"><span class="nk-menu-icon">
<em class="icon ni ni-help-alt text-primary"></em></span><span class="nk-menu-text">Dev by V3design</span></a></li>
<li class="nk-menu-item ml-auto">
<a href="{{route('developerapi')}}" class="nk-menu-link" ></a></li>
</div></div></li></ul></div></div></div>


<div class="nk-wrap "><div class="nk-header nk-header-fluid nk-header-fixed bg-primarys"><div class="container-fluid"><div class="nk-header-wrap"><div class="nk-menu-trigger d-xl-none ml-n1"><a href="#" class="nk-nav-toggle nk-quick-nav-icon" data-target="sidebarMenu"><em class="icons ni ni-menu"></em></a></div><div class="nk-header-brand d-xl-none"><a href="{{route('home')}}" class="logo-link"><img class="logo-light logo-img" src="{{asset('assets/images/logo/logo.png')}}" srcset="{{asset('assets/images/logo/logo.png')}}" alt="logo"><img class="logo-dark logo-img" src="{{asset('assets/images/logo/logo.png')}}" srcset="{{asset('assets/images/logo/logo.png')}}" alt="logo-dark"> </a></div><div class="nk-header-news d-none d-xl-block"><div class="nk-news-list"><a class="nk-news-item" href="#"><div class="nk-news-icon">


    <!-- Desktop Messag -->
<em class="icon ni ni-card-view"></em></div><div class="nk-news-text"><p>Get Up to 4% Discount on all products! on {{$basic->sitename}} when you upgrade your account</p><em class="icon ni ni-external"></em></div></a></div></div>
<div class="nk-header-tools"><ul class="nk-quick-nav"><li class="dropdown user-dropdown"><a href="/user/upgrade-downgrade" class="dropdown-toggle" data-toggle="dropdown"><div class="user-toggle"><div class="user-avatar sm"> @if( file_exists(Auth::User()->image))


                        <img src="{{asset(Auth::user()->image)}} " width="100"
                             alt="Profile Pic">
                    @else

                        <img src=" {{url('assets/user/images/user-default.png')}} " width="100"
                             alt="Profile Pic">
                    @endif</div><div class="user-info d-none d-md-block"><div class="user-status user-status-unverified"><?php
    /* This sets the $time variable to the current hour in the 24 hour clock format */
    $time = date("H");
    /* Set the $timezone variable to become the current timezone */
    $timezone = date("e");
    /* If the time is less than 1200 hours, show good morning */
    if ($time < "12") {
        echo "Good morning";
    } else
    /* If the time is grater than or equal to 1200 hours, but less than 1700 hours, so good afternoon */
    if ($time >= "12" && $time < "17") {
        echo "Good afternoon";
    } else
    /* Should the time be between or equal to 1700 and 1900 hours, show good evening */
    if ($time >= "17" && $time < "19") {
        echo "Good evening";
    } else
    /* Finally, show good night if the time is greater than or equal to 1900 hours */
    if ($time >= "19") {
        echo "Good night";
    }
    ?></div><div class="user-name dropdown-indicator">{{Auth::user()->username}}</div></div></div></a>
    <div class="dropdown-menu dropdown-menu-md dropdown-menu-right dropdown-menu-s1">
        <div class="dropdown-inner user-card-wrap bg-lighter d-none d-md-block"></div>

 <div class="dropdown-inner"><ul class="link-list"> <li><a href="{{route('profile')}}"><em class="icon ni ni-setting-alt"></em>
 <span>Account Setting</span></a></li><li><a href="{{route('activities')}}"><em class="icon ni ni-activity-alt"></em><span>Login Activity</span></a></li></ul></div><div class="dropdown-inner"><ul class="link-list"><li><a href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();"><em class="icon ni ni-signout"></em><span>Sign out</span></a></li></ul></div></div></li><li class="dropdown notification-dropdown mr-n1"><a href="#" class="dropdown-toggle nk-quick-nav-icon" data-toggle="dropdown">
  <? $coins = DB::table('messages')->whereStatus(0)->whereUser_id(Auth::user()->id)->get(); ?>

  @if($coins)
 <div class="icon-status icon-status-info"><em class="icons ni ni-bell"></em></div>
 @else
 <em class="icon ni ni-bell"></em>
 @endif


 </a><div class="dropdown-menu dropdown-menu-xl dropdown-menu-right dropdown-menu-s1"><div class="dropdown-head"><span class="sub-title nk-dropdown-title">Notifications</span> </div><div class="dropdown-body"><div class="nk-notification">

 @if($coins)
 @foreach($coins as $data)

 <div class="nk-notification-item dropdown-inner"><div class="nk-notification-icon"><em class="icon icon-circle bg-primary-dim ni ni-chat-circle"></em></div>

 <div class="nk-notification-content">
 <a href="{{route('inbox-view',$data->id)}}">
 <div class="nk-notification-text">{{$data->title}}</div><div class="nk-notification-time">{{ Carbon\Carbon::parse($data->created_at)->diffForHumans() }}</div></div></div>
</a>
 @endforeach
@endif
</div></div><div class="dropdown-foot center"><a href="{{route('inbox')}}">View All</a></div></div></li></ul></div></div></div></div>

@if( request()->is('user/verify') )

@elseif( request()->is('user/activate-plan') )
@yield('content2')

@elseif (Auth()->user()->confirmed == '0')

				 <div class="nk-content nk-content-fluid">
                        <div class="container-xl wide-lg">
                            <div class="nk-content-body">
                                <div class="buysell  ">

                                    <div class="buysell-title text-center"><h6 class="title text-danger">Please make payment of <b>{{$basic->currency_sym}} {{number_format(App\Plan::whereId(Auth()->user()->plan_id)->first()->price  ?? '0.00', $basic->decimal)}}</b>  in order to activate {{App\Plan::whereId(Auth()->user()->plan_id)->first()->name ?? 'Free'}} plan! </h6></div>
                                    <div class="buysell-block">
                                        <form method="post" class="buysell-form" action="{{route('activateplan')}}">
                                         @csrf
                                            </div>

                                            <div class="buysell-field form-group">
                                                <div class="form-label-group"><label class="form-label">Select Payment Method</label></div>
                                                <div class="form-pm-group">

                                                   <!-- Paystack -->
                                                    <ul class="buysell-pm-list">
                                                    <? $gates = DB::table('gateways')->whereCoin(0)->whereStatus(1)->where('id' ,'=' ,  107)->orderBy('name','asc')->get(); ?>

                                                    @foreach($gates as $data)
                                                        <li class="buysell-pm-item">
                                                            <input class="buysell-pm-control" type="radio" value="{{$data->id}}" name="gateway" id="pm-{{$data->name}}" />
                                                            <label class="buysell-pm-label" for="pm-{{$data->name}}">
                                                                <span class="pm-name">{{$data->name}}</span><span class="pm-icon"><em class="icon ni ni-{{$data->val7}}"></em></span>
                                                            </label>
                                                        </li>
                                                    @endforeach

                                                    </ul>
                                                     <!-- End Paystack -->

                                                    <!-- Flutterwave -->
                                                    <ul class="buysell-pm-list">
                                                    <? $gates = DB::table('gateways')->whereCoin(0)->whereStatus(1)->where('id' ,'=' ,  100)->orderBy('name','asc')->get(); ?>

                                                    @foreach($gates as $data)
                                                        <li class="buysell-pm-item">
                                                            <input class="buysell-pm-control" type="radio" value="{{$data->id}}" name="gateway" id="pm-{{$data->name}}" />
                                                            <label class="buysell-pm-label" for="pm-{{$data->name}}">
                                                                <span class="pm-name">{{$data->name}}</span><span class="pm-icon"><em class="icon ni ni-{{$data->val7}}"></em></span>
                                                            </label>
                                                        </li>
                                                    @endforeach

                                                    </ul>

                                                    <!-- End Flutterwave -->
                                                </div>
                                            </div>
<input name="id" value="{{Auth()->user()->plan_id}}" hidden />
                                            <div class="buysell-field form-action"><button type="submit" class="btn btn-lg btn-block btn-primary">Proceed</button></div>
                                            <div class="form-note text-base text-center">* Payment gateway company may charge you a <a href="#">processing fee.</a>.</div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>


@else


@yield('content')
@endif



@if(Auth::user()->time < $time )
<div class="modal fade" tabindex="-1" id="modalbonus">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <a href="#" class="close" data-dismiss="modal"><em class="icon ni ni-cross"></em></a>
                <div class="modal-body modal-body-lg text-center">
                    <div class="nk-modal">
                        <em class="nk-modal-icon icon icon-circle icon-circle-xxl ni ni-check bg-success"></em>
                        <h4 class="nk-modal-title">Congratulations!</h4>
                        <div class="nk-modal-text">
                            <div class="caption-text">Its a new day to earn your daily bonus. Please click the button below to earn your <strong>{{$basic->currency_sym}}{{$basic->bonus}}</strong> bonus for the day</div>

                        </div>
                        <div class="nk-modal-action">
                            <a href="{{ route('userDailyBonus') }}" class="btn btn-lg btn-mw btn-primary"  >Earn Bonus</a>
                        </div>
                    </div>
                </div>
                <div class="modal-footer bg-lighter">
                    <div class="text-center w-100">
                        <p>Earn upto {{$basic->currency_sym}}{{$basic->ref}} for each friend your refer! <a href="#">Invite friends</a></p>
                    </div>
                </div>
            </div>
        </div>
    </div>
@else
<div class="modal fade" tabindex="-1" id="modalbonus">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <a href="#" class="close" data-dismiss="modal"><em class="icon ni ni-cross"></em></a>
                <div class="modal-body modal-body-lg text-center">
                    <div class="nk-modal">
                        <em class="nk-modal-icon icon icon-circle icon-circle-xxl ni ni-cross bg-danger"></em>
                        <h4 class="nk-modal-title">Oops!</h4>
                        <div class="nk-modal-text">
                            <div class="caption-text">Sorry, You have already earned your bonus for the day. Please come back later for new earning</div>

                        </div>
                        <div class="nk-modal-action">
                            <a href="#" data-dismiss="modal" class="btn btn-lg btn-mw btn-primary"  >Close</a>
                        </div>
                    </div>
                </div>
                <style>
      .blink {
      animation: blinker 0.6s linear infinite;
      color: #FF0000;
      font-size: 10px;
      font-weight: bold;
      font-family: sans-serif;
      }
    </style>
                <div class="modal-footer bg-lighter">
                    <div class="text-center w-100">
                        <p> <a class='blink' href="#" id="demo">Please Wait</a></p>
                    </div>
                    <script>
// Set the date we're counting down to
var countDownDate = new Date("{{Auth::user()->time}}").getTime();

// Update the count down every 1 second
var x = setInterval(function() {

  // Get today's date and time
  var now = new Date().getTime();

  // Find the distance between now and the count down date
  var distance = countDownDate - now;

  // Time calculations for days, hours, minutes and seconds
  var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  var seconds = Math.floor((distance % (1000 * 60)) / 1000);



  // Display the result in the element with id="demo"
   if(days > 0) {
  document.getElementById("demo").innerHTML = days + "Days " + hours + "Hrs "
  + minutes + "Mins " + seconds + "Secs ";
  }
 else {
  document.getElementById("demo").innerHTML = days + "Day " + hours + "Hrs "
  + minutes + "Mins " + seconds + "Secs ";
    }
  // If the count down is finished, write some text

}, 1000);
</script>
                </div>
            </div>
        </div>
    </div>
@endif

<style>

.btns {
    display: inline-block;
    font-family: Nunito;
    font-weight: 700;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    font-size: .8125rem;
    line-height: 1.5rem;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 7px;
    padding-right: 10px;
    border-radius: 4px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
    .footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 75px;
    border-top-left-radius: 15px;
    border-top: 2px #1ee0ac solid;
    border-top-right-radius: 15px;
}

    .menu-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #000;
      font-size: 12px;
    }

    .menu-item.active {
      color: #000;
      font-weight: bold;
    }

    .menu-item svg {
      margin-bottom: 4px;
      fill: currentColor;
    }

    .menu-item.active::after {
      content: '';
      width: 40%;
      height: 4px;
      background-color: #00ff66;
      margin-top: 4px;
      border-radius: 2px;
    }
    
    .icon-style {
        margin-bottom: 4px;
        fill: currentcolor;
        font-weight : 800px;
        font-size: 1.5em;
    }
    
    .user-balance {
    font-size: 1.5rem;
    line-height: 1;
    padding: .125rem 0 .375rem;
    color: #0b852d;
    font-family: monospace;
}

.text-primary {
    color: #0fbd62 !important;
}

.logo-img {
    max-height: 45px;
}
  </style>

  <div class="footer">
    <div class="menu-item">
      <i class="fa-solid fa-house" "icon-style"></i>
      <span><a href="/user/home" style="color: #365240;">Home</a></span>
    </div>
    <div class="menu-item">
      <i class="fa-solid fa-wallet" "icon-style"></i>
      <span><a href="/user/withdraw" style="color: #365240;">Wallet</a></span>
    </div>
    <div class="menu-item">
      <i class="fa-solid fa-book" "icon-style"></i>
      <span><a href="" style="color: #365240;">Transactions</a></span>
    </div>
    <div class="menu-item">
    <i class="fa-solid fa-user" "icon-style"></i>
      <span><a href="{{route('profile')}}" style="color: #365240;">Account</a></span>
    </div>
  </div>
  
  <div class="nk-footer nk-footer-fluid"><div class="container-fluid"><div class="nk-footer-wrap"><div class="nk-footer-copyright"> &copy; {{date('Y')}} {{$basic->sitename}}  </div><div class="nk-footer-links"><ul class="nav nav-sm"><li class="nav-item"><a class="nav-link" href="#">Terms</a></li><li class="nav-item"><a class="nav-link" href="#">Privacy</a></li><li class="nav-item"><a class="nav-link" href="#">Help</a></li></ul></div></div></div></div></div></div></div>
  
 <script src="{{asset('backend/js/bundle.js?ver=1.6.1')}}"></script>
 <script src="{{asset('backend/js/scripts.js?ver=1.6.1')}}"></script>
 <script src="{{asset('backend/js/demo-settings.js?ver=1.6.1')}}"></script>
 <script src="{{asset('backend/js/charts/chart-crypto.js?ver=1.6.1')}}"></script>



 @yield('scripts')

    <script src="{{asset('frontend/js/rainbow.js')}}"></script>
	<script src="{{asset('frontend/js/sample.js')}}"></script>
	<script src="{{asset('frontend/js/jquery.growl.js')}}"></script>




	@if(session('alert'))
	<script>
		 (function () {
		  $(function () {
		   return $.growl.error({
				message: "{{ session('alert') }}"
			});


		  });
		}).call(this);


	</script>
	@endif

	@if(session('message'))
	<script>
		 (function () {
		  $(function () {
		   return $.growl.notice({
				message: "{{ session('message') }}"
			});


		  });
		}).call(this);


	</script>
	@endif


@if(session('error'))
	<script>
		 (function () {
		  $(function () {
		   return $.growl.error({
				message: "{{ session('error') }}"
			});


		  });
		}).call(this);


	</script>
	@endif

@if(session('danger'))
	<script>
		 (function () {
		  $(function () {
		   return $.growl.error({
				message: "{{ session('danger') }}"
			});


		  });
		}).call(this);


	</script>
	@endif

 @if(session('success'))
	<script>
		 (function () {
		  $(function () {
		   return $.growl.notice({
				message: "{{ session('success') }}"
			});


		  });
		}).call(this);


	</script>
	@endif
	@if ($errors->any())
 @foreach ($errors->all() as $error)
 <script>
		 (function () {
		  $(function () {
		   return $.growl.error({
				message: "{{ $error }}"
			});


		  });
		}).call(this);


	</script>
    @endforeach

@endif

 </body></html>

<!-- Localized -->
