<!DOCTYPE html>
<html lang="zxx">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?php echo e($basic->sitename); ?> | <?php echo e($page_title); ?></title>
    <!--Favicon add-->
    <link rel="icon" type="image/png" href="<?php echo e(asset('assets/images/logo/favicon.png')); ?>" />
    <!--bootstrap Css-->
    <link href="<?php echo e(asset('assets/front/css/bootstrap.min.css')); ?>" rel="stylesheet">

    <link href="<?php echo e(asset('assets/front/css/components-rounded.min.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('assets/front/css/plugins.min.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('assets/front/css/layout.min.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('assets/front/css/default.min.css')); ?>" rel="stylesheet">
    <!--font-awesome Css-->
    <link href="<?php echo e(asset('assets/front/css/font-awesome.min.css')); ?>" rel="stylesheet">
    <!--Swiper  Css-->
    <link href="<?php echo e(asset('assets/front/css/swiper.min.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('assets/front/css/toastr.min.css')); ?>" rel="stylesheet">

    <!--Style Css-->
    <link href="<?php echo e(asset('assets/front/css/style.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('assets/front/css/custom.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('assets/front/css/table.css')); ?>" rel="stylesheet">

    <script src="<?php echo e(asset('assets/admin/js/sweetalert.js')); ?>"></script>
    <link rel="stylesheet" href="<?php echo e(asset('assets/admin/css/sweetalert.css')); ?>">
    <link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/front/css/style.php')); ?>?color=<?php echo e($basic->color); ?>">
    <link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/front/css/bg_color.php')); ?>?bg_color=<?php echo e($basic->bg_color); ?>">



    <link href="<?php echo e(asset('assets/front/css/responsive.css')); ?>" rel="stylesheet">
<?php echo $__env->yieldContent('css'); ?>
    <style>
        .footer-support-list ul li:hover .footer-thumb.user-page i {
            padding-left: 10px;
            padding-top: 27px;
        }
    </style>
<!--jquery script load-->
    <script src="<?php echo e(asset('assets/front/js/jquery.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/front/js/jquery.countdown.js')); ?>"></script>
</head>

<body >


<!--loader-->
<div id="preloader">
    <div class="sk-circle">
        <div class="sk-circle1 sk-child"></div>
        <div class="sk-circle2 sk-child"></div>
        <div class="sk-circle3 sk-child"></div>
        <div class="sk-circle4 sk-child"></div>
        <div class="sk-circle5 sk-child"></div>
        <div class="sk-circle6 sk-child"></div>
        <div class="sk-circle7 sk-child"></div>
        <div class="sk-circle8 sk-child"></div>
        <div class="sk-circle9 sk-child"></div>
        <div class="sk-circle10 sk-child"></div>
        <div class="sk-circle11 sk-child"></div>
        <div class="sk-circle12 sk-child"></div>
    </div>
</div>
<!--loader-->

<!--support bar  top start-->
<div class="support-bar-top" id="raindrops-green">
    <div class="container">
        <div class="row">
            <div class="col-md-6">
                <div class="contact-info">
                    <ul>
                        <li><a href="#"> <i class="fa fa-envelope email" aria-hidden="true"></i> support@loyalhost.com </a></li>
                        <li><i class="fa fa-phone" aria-hidden="true"></i> +0123 456 789 000</li>
                    </ul>


                </div>
            </div>
            <div class="col-md-6 text-right">
                <div class="contact-admin">

                    <a><i class="fa fa-money"></i> Balance : <?php echo e(number_format(Auth::user()->balance, $basic->decimal)); ?> <?php echo e($basic->currency); ?></a>

                </div>
            </div>
        </div>
    </div>
</div>
<!--support bar  top end-->
<header>
    <!-- Header bottom start -->
    <div class="header-bottom header header-wrapper">
        <nav class="navbar navbar-default">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <div class="navbar-header">
                            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                                <span class="sr-only">Toggle navigation</span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                            <a class="navbar-brand " href="<?php echo e(route('homepage')); ?>"><img src="<?php echo e(asset('assets/images/logo/logo.png')); ?>" alt="logo"></a>
                        </div>

                        <!-- Collect the nav links, forms, and other content for toggling -->
                        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                            <ul class="nav navbar-nav" id="header-menu">
                                <li><a href="<?php echo e(url('/')); ?>"> HOME</a></li>
                                <li><a href="<?php echo e(route('user.trx')); ?>"> Transaction Log</a></li>
                                
                                
                                
                                
                                                                                                
                                <li class="dropdown">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> DEPOSIT  <i class='fa fa-sort-desc'></i></a>

                                    <ul class="dropdown-menu mega-menu mega-menu1 mega-menu2 depo" style=" border: none;">
                                        <li class="mega-list mega-list1 ">
                                                                
                                                    <a href="<?php echo e(route('deposit')); ?>"> DEPOSIT MONEY</a>
                                                    <a href="<?php echo e(route('user.depositLog')); ?>"> DEPOSIT LOG</a>
                                        </li>
                                    </ul>
                                </li>
                                
                            
                                                                
                                <li class="dropdown">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> WITHDRAW  <i class='fa fa-sort-desc'></i></a>

                                    <ul class="dropdown-menu mega-menu mega-menu1 mega-menu2 withd" style=" border: none;">
                                        <li class="mega-list mega-list1 ">
                                            
                                               <a href="<?php echo e(route('withdraw.money')); ?>">WITHDRAW NOW</a>
                                               <a href="<?php echo e(route('user.withdrawLog')); ?>">WITHDRAW LOG</a>

                                        </li>
                                    </ul>
                                </li>
                                
                                
                                
                                
                                <li class="dropdown">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <strong><?php echo e(Auth::user()->username); ?> <i class='fa fa-sort-desc'></i></strong></a>

                                    <ul class="dropdown-menu mega-menu mega-menu1 mega-menu2" style=" border: none;">
                                        <li class="mega-list mega-list1 ">
                                            <a href="<?php echo e(route('home')); ?>"> Dashboard </a>
                                            <a href="<?php echo e(route('user.change-password')); ?>"> Password Settings </a>
                                            <a href="<?php echo e(route('edit-profile')); ?>"> Edit Profile </a>
                                            <a href="<?php echo e(route('user.referLog')); ?>"> Reference List </a>
                                            <div>
                                            <a href="<?php echo e(route('logout')); ?>"  onclick="event.preventDefault();
                                                     document.getElementById('logout-form').submit();"> Log Out</a>

                                            <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST"
                                                  style="display: none;">
                                                <?php echo csrf_field(); ?>
                                            </form>
                                            </div>

                                        </li>
                                    </ul>
                                </li>
                            </ul>

                        </div><!-- /.navbar-collapse -->

                    </div>
                </div>
            </div>
        </nav><!-- nav -->
    </div>
    <!-- header-bottom end -->
</header>
<!-- header section end -->
<div class="clearfix"></div>
<?php echo $__env->yieldContent('content'); ?>


<!--footer area start-->
<?php echo $__env->make('partials.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>


<!--Bootstrap v3 script load here-->
<script src="<?php echo e(asset('assets/front/js/bootstrap.min.js')); ?>"></script>
<!--Swiper script load-->
<script src="<?php echo e(asset('assets/front/js/swiper.min.js')); ?>"></script>
<!--CounterUp script load-->
<script src="<?php echo e(asset('assets/front/js/jquery.counterup.min.js')); ?>"></script>
<!--WayPoints script load-->
<script src="<?php echo e(asset('assets/front/js/waypoints.min.js')); ?>"></script>
<!--Jquery Ui Slider script load-->
<script src="<?php echo e(asset('assets/front/js/jquery-ui-slider.min.js')); ?>"></script>
<!-- Highlight script load-->
<script src="<?php echo e(asset('assets/front/js/highlight.min.js')); ?>"></script>
<!--RainDrops script load-->
<script src="<?php echo e(asset('assets/front/js/toastr.min.js')); ?>"></script>

<?php echo $__env->yieldContent('script'); ?>

<!--Main js file load-->
<script src="<?php echo e(asset('assets/front/js/main.js')); ?>"></script>


<?php if(session('success')): ?>
    <script type="text/javascript">
        $(document).ready(function () {
            swal("Success!", "<?php echo e(session('success')); ?>", "success");
        });
    </script>
<?php endif; ?>

<?php if(session('alert')): ?>
    <script type="text/javascript">
        $(document).ready(function () {
            swal("Sorry!", "<?php echo e(session('alert')); ?>", "error");
        });
    </script>
<?php endif; ?>


<script type="text/javascript">
            <?php if(Session::has('message')): ?>
    var type = "<?php echo e(Session::get('alert-type','info')); ?>";
    switch (type) {
        case 'info':
            toastr.info("<?php echo e(Session::get('message')); ?>");
            break;

        case 'warning':
            toastr.warning("<?php echo e(Session::get('message')); ?>");
            break;

        case 'success':
            toastr.success("<?php echo e(Session::get('message')); ?>");
            break;

        case 'error':
            toastr.error("<?php echo e(Session::get('message')); ?>");
            break;

    }
    <?php endif; ?>
</script>
</body>
</html>
