<!DOCTYPE html>
<html lang="zxx" class="js"><head><meta charset="utf-8"><meta name="author" content="<?php echo e($basic->sitename); ?>"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="<?php echo e($basic->sitename); ?> Crypto currency trading system."><!-- Fav Icon --><link rel="shortcut icon" href="<?php echo e(asset('assets/images/logo/favicon.png')); ?>"><!-- Site Title  --><title><?php echo e(isset($page_title) ? $page_title : ''); ?> | <?php echo e($basic->sitename); ?> </title><!-- Vendor Bundle CSS --><link rel="stylesheet" href="<?php echo e(asset('dash-assets/css/vendor.bundle-62688.css')); ?>">
<link href="<?php echo e(asset('front-assets/css/jquery.growl.css')); ?>" rel="stylesheet" />
 <script src="<?php echo e(asset('process/countries.js')); ?>"></script>
<!-- Custom styles for this template -->
<link rel="stylesheet" href="<?php echo e(asset('dash-assets/css/')); ?>/<?php echo e($basic->theme); ?>" id="layoutstyle">

 </head>



<body class="page-user toastr-info"><div class="topbar-wrap"><div class="topbar is-sticky"><div class="container"><div class="d-flex justify-content-between align-items-center"><ul class="topbar-nav d-lg-none"><li class="topbar-nav-item relative"><a class="toggle-nav" href="#"><div class="toggle-icon"><span class="toggle-line"></span><span class="toggle-line"></span><span class="toggle-line"></span><span class="toggle-line"></span></div></a></li><!-- .topbar-nav-item --></ul><!-- .topbar-nav --><a class="topbar-logo" href="<?php echo e(route('home')); ?>"><img src="<?php echo e(asset('assets/images/logo/logo.png')); ?>" srcset="<?php echo e(asset('assets/images/logo/logo.png')); ?>" alt="logo"></a><ul class="topbar-nav"><li class="topbar-nav-item relative"><span class="user-welcome d-none d-lg-inline-block">Welcome! <?php echo e(Auth::user()->username); ?></span>



<a class="toggle-tigger user-thumb" href="#"><div class="user-photo">

<?php if( file_exists(Auth::User()->image)): ?>
                        <img src="<?php echo e(asset(Auth::user()->image)); ?> " width="100"
                             alt="Profile Pic">
                    <?php else: ?>

                        <img src=" <?php echo e(url('assets/user/images/user-default.png')); ?> " width="100"
                             alt="Profile Pic">
                    <?php endif; ?></div></a><div class="toggle-class dropdown-content dropdown-content-right dropdown-arrow-right user-dropdown"><div class="user-status"><h6 class="user-status-title">Referral Bonus</h6><div class="user-status-balance"><?php echo e(number_format(Auth::user()->bonus, $basic->decimal)); ?> <small><?php echo e($basic->currency); ?></small></div>




</div><ul class="user-links"><li><a href="<?php echo e(route('notifications')); ?>"><i class="ti ti-announcement"></i>Notifications</a></li><li><a href="<?php echo e(route('referral')); ?>"><i class="ti ti-infinite"></i>Referral</a></li><li><a href="<?php echo e(route('activities')); ?>"><i class="ti ti-eye"></i>Activity</a></li></ul><ul class="user-links bg-light"><li><a href="<?php echo e(route('logout')); ?>" onclick="event.preventDefault(); document.getElementById('logout-form').submit();"><i class="ti ti-power-off"></i>Logout</a></li></ul>

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

</div></li><!-- .topbar-nav-item --></ul><!-- .topbar-nav --></div></div><!-- .container --></div><!-- .topbar --><div class="navbar"><div class="container"><div class="navbar-innr"><ul class="navbar-menu">

<li><a href="<?php echo e(route('home')); ?>"><em class="text-primary ti ti-dashboard"></em>&nbsp;  Dashboard</a></li>



<li><a href="<?php echo e(route('buy')); ?>"><em class="text-primary ti ti-shopping-cart"></em>&nbsp;  Buy E-Currency</a></li>


<li><a href="<?php echo e(route('sell')); ?>"><em class="text-primary ti ti-server"></em>&nbsp;  Sell E-Currency</a></li>



<li><a href="<?php echo e(route('transaction')); ?>"><em class="text-primary ti ti-book"></em>&nbsp;  Transaction Log</a></li>





<li class="page-links-all"><a href="<?php echo e(route('verification')); ?>"><em class="text-primary ti ti-id-badge"></em>&nbsp;  Verification</a></li>


<li class="has-dropdown page-links-all"><a class="drop-toggle" href="#"><em class="text-primary ti ti-user"></em>&nbsp;  Profile</a><ul class="navbar-dropdown"></li>
 <li class=" "><a class="" href="<?php echo e(route('profile')); ?>">My Profile</a></li>
<li class=" "><a class="" href="<?php echo e(route('referral')); ?>">Referral System</a></li>
<li class=" "><a class="" href="<?php echo e(route('activities')); ?>">Activity Log</a></li>
<li class=" "><a class="" href="<?php echo e(route('user.testimonial')); ?>">Post Testimonial</a></li>
</ul></li>


<?php
 $count = \App\Message::whereUser_id(Auth::user()->id)->whereAdmin(1)->whereStatus(0)->count();
?>
<li class="has-dropdown page-links-all"><a class="drop-toggle" href="#"><em class="text-primary ti ti-email"></em>&nbsp;  Messages </a><ul class="navbar-dropdown"></li>
 <li class=" "><a class="" href="<?php echo e(route('createmessage')); ?>">Create Message</a></li>

<li class=" "><a class="" href="<?php echo e(route('inbox')); ?>">Messages Inbox <?php if($count > 0): ?> <span class="badge badge-warning"><?php echo e($count); ?> New</span><?php endif; ?></a></li>
<li class=" "><a class="" href="<?php echo e(route('user.testimonial')); ?>">Create Testimonial</a></li>
<li class=" "><a class="" href="<?php echo e(route('user.faq')); ?>">FAQs</a></li>
</ul></li>

</div><!-- .navbar-innr --></div><!-- .container --></div><!-- .navbar --></div><!-- .topbar-wrap -->

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





<div class="footer-bar"><div class="container"><div class="row align-items-center justify-content-center"><div class="col-md-8"><ul class="footer-links"> <li><a href="<?php echo e(route('user.faq')); ?>">FAQs</a></li><li><a href="<?php echo e(url('/#privacy')); ?>">Privacy Policy</a></li><li><a href="<?php echo e(url('/#privacy')); ?>">Terms of Condition</a></li></ul></div><!-- .col --><div class="col-md-4 mt-2 mt-sm-0"><div class="d-flex justify-content-between justify-content-md-end align-items-center guttar-25px pdt-0-5x pdb-0-5x"><div class="copyright-text">&copy; <?php echo e(date('Y')); ?> <?php echo e($basic->sitename); ?>.</div><div class="lang-switch relative"><a href="#" class="lang-switch-btn toggle-tigger">En <em class="ti ti-angle-up"></em></a><div class="toggle-class dropdown-content dropdown-content-up"><ul class="lang-list"><li><a href="#">Fr</a></li><li><a href="#">Bn</a></li><li><a href="#">Lt</a></li></ul></div></div></div></div><!-- .col --></div><!-- .row --></div><!-- .container --></div><!-- .footer-bar --><!-- JavaScript (include all script here) --><script src="<?php echo e(asset('dash-assets/js/jquery.bundle.js?ver=104')); ?>"></script><script src="<?php echo e(asset('dash-assets/js/script.js?ver=104')); ?>"></script>
<script src="<?php echo e(asset('front-assets/js/rainbow.js')); ?>"></script>
	<script src="<?php echo e(asset('front-assets/js/sample.js')); ?>"></script>
	<script src="<?php echo e(asset('front-assets/js/jquery.growl.js')); ?>"></script>
	<script src="<?php echo e(asset('front-assets/js/script2.js')); ?>"></script>
	<script src="<?php echo e(asset('front-assets/js/pace.min.js')); ?>"></script>

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

<?php if(session('alert')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e(session('alert')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if(Session::has('success')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.success('<em class="ti ti-check toast-message-icon"></em> <?php echo e(Session::get('success')); ?>')});
}(jQuery);
</script>

  <?php endif; ?>

<?php if(session('message')): ?>
 	<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.success('<em class="ti ti-check toast-message-icon"></em> <?php echo e(session('message')); ?>')});
}(jQuery);
</script>
 <?php endif; ?>
<?php if(Session::has('danger')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e(session('danger')); ?>')});
}(jQuery);
</script>
 <?php endif; ?>

<?php if($errors->has('fname')): ?>

 	<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('fname')); ?>')});
}(jQuery);
</script>
<?php endif; ?>

<?php if($errors->has('lname')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('lname')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('username')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('username')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('phone')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('phone')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('email')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('email')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('password')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('password')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('currency')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('country')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('address')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('address')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('zip_code')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('zip_code')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('current_password')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('currenct_password')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('password_confirmation')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('password_confrimation')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->has('city')): ?>
<script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($errors->first('city')); ?>')});
}(jQuery);
</script>
<?php endif; ?>
<?php if($errors->any()): ?>
 <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
 <script>
!function(t){"use strict";
var c=t(".toastr-info");c.length>0&&c.ready(function(){toastr.clear(),toastr.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-center",preventDuplicates:!0,showDuration:"1000",hideDuration:"10000",timeOut:"9000",extendedTimeOut:"1000"},toastr.error('<em class="ti ti-na toast-message-icon"></em> <?php echo e($error); ?>')});
}(jQuery);
</script>

    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

<?php endif; ?>
<!-- Modal End --><div class="modal fade" id="deposit-online" tabindex="-1"><div class="modal-dialog modal-dialog-md modal-dialog-centered"><div class="modal-content pb-0"><div class="popup-body"><h4 class="popup-title">Fund Your Deposit Wallet</h4><p class="lead">You currently have <span><?php echo e($basic->currency); ?><?php echo e(number_format(Auth::user()->balance, $basic->decimal)); ?></span> in your deposit wallet. Fill the form below to proceed.</p><p>You can choose any of following payment method to fund your wallet. The fund will appear in your account after successfull payment.</p><h5 class="mgt-1-5x font-mid">Select payment method:</h5>
<form method="post" action="<?php echo e(route('deposit.data-insert')); ?>">
 <?php echo csrf_field(); ?>


<select class="input-bordered select-block" required name="gateway">
<? $gates = DB::table('gateways')->whereStatus(1)->orderBy('name','asc')->get(); ?>

                          <option>Choose...</option>
                          <option value="bank">Bank Transfer</option>
                          <?php $__currentLoopData = $gates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          <option data-charge="<?php echo e($gate->percent_charge); ?>" value="<?php echo e($gate->id); ?>"><?php echo e($gate->name); ?></option>
                          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
<h5 class="mgt-1-5x font-mid">Enter Amount:</h5>
<div class="copy-wrap mgb-0-5x">
 <input required type="number" name="amount" class="copy-address"><buttonn class="copy-trigger"  ><em class="ti ti-wallet"></em></buttonn></div>




<span class="text-light font-italic mgb-2x"><small>* Payment gateway company may charge you a processing fees.</small></span><div class="pdb-2-5x pdt-1-5x"><input required type="checkbox" class="input-checkbox input-checkbox-md" id="agree-term-3"><label for="agree-term-3">I hereby agree to the <strong>token purchase aggrement &amp; token sale term</strong>.</label></div><ul class="d-flex flex-wrap align-items-center guttar-30px"><li><button type="submit" class="btn btn-primary">Accept &amp; Process Payment <em class="ti ti-arrow-right mgl-2x"></em></a></li></ul><div class="gaps-2x"></div><div class="gaps-1x d-none d-sm-block"></div><div class="note note-plane note-light mgb-1x"><em class="fas fa-info-circle"></em><p class="text-light">You will automatically redirect for payment after your order placing.</p></form></div></div></div><!-- .modal-content --></div><!-- .modal-dialog --></div><!-- Modal End -->


<?php if(Auth::user()->time < $time ): ?>
<!-- Modal End --><div class="modal fade" id="pay-review" tabindex="-1"><div class="modal-dialog modal-dialog-md modal-dialog-centered"><div class="modal-content"><div class="popup-body text-center"><div class="gaps-2x"></div><div class="pay-status pay-status-success"><em class="ti ti-check"></em></div><div class="gaps-2x"></div><h3>Congratulations</h3><p>Its a new day to earn your daily bonus. Please click the button below to earn your <?php echo e($basic->currency_sym); ?><?php echo e($basic->bonus); ?> bonus for the day</p><div class="gaps-2x"></div>
<a href="<?php echo e(route('userDailyBonus')); ?>" class="btn btn-primary">Earn Bonus</a>

<div class="gaps-1x"></div></div></div><!-- .modal-content --></div><!-- .modal-dialog --></div><!-- Modal End -->
<?php else: ?>
<div class="modal fade" id="pay-review" tabindex="-1"><div class="modal-dialog modal-dialog-md modal-dialog-centered"><div class="modal-content"><div class="popup-body text-center"><div class="gaps-2x"></div><div class="pay-status pay-status-error"><em class="ti ti-alert"></em></div><div class="gaps-2x"></div><h3>Oops! Earning Failed!</h3><p>Sorry, You have already earned your bonus for the day. Please come back later for new earning.<br> Time remaining for next earning: <strong>

<br>
<a href="#" id="demo">  Please Wait
</a></strong>
<script>
// Set the date we're counting down to
var countDownDate = new Date("<?php echo e(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>

</strong>.</p><div class="gaps-2x"></div><a href="#" data-dismiss="modal"  class="btn btn-primary">Close</a><div class="gaps-1x"></div></div></div><!-- .modal-content --></div><!-- .modal-dialog --></div><!-- Modal End -->
<?php endif; ?>




</body></html>
