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


<section class="section section-s bg-light-alt">
<?php if(Auth::user()->status == 0): ?>
<main class="nk-pages"><div class="section"><div class="container"><div class="nk-blocks d-flex justify-content-center"><div class="ath-container m-0"><div class="ath-body"><h5 class="ath-heading title">Account Blocked<small class="tc-default">Your account has been blocked for possible violation of terms</small></h5><div class="field-item"><div class="field-wrap"></div></div><button class="btn btn-primary btn-block btn-md">Contact Admin</button></div></div></div></div></div></main>

 <?php elseif(Auth::user()->email_verify == 0): ?>
<main class="nk-pages"><div class="section"><div class="container"><div class="nk-blocks d-flex justify-content-center"><div class="ath-container m-0"><div class="ath-body"><h5 class="ath-heading title">Email Verification<small class="tc-default">Please enter the code sent to <?php echo e(Auth::user()->email); ?></small></h5>
 <form  action="<?php echo e(route('user.email-verify')); ?>" method="post">
<?php echo csrf_field(); ?>
 <input type="hidden" name="id" value="<?php echo e(Auth::user()->id); ?>">
<div class="field-item"><div class="field-wrap">
<input type="text" class="input-bordered" name="email_code" placeholder="Enter Code"></div></div><button type="submit" class="btn btn-primary btn-block btn-md">Verify Email</button></form><div class="ath-note text-center"><a href=#">Didn't get any code? </a>
 <?php echo $__env->make('errors.alert', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
 <form  action="<?php echo e(route('user.send-emailVcode')); ?>" method="post">
   <?php echo csrf_field(); ?>
<input type="submit" class="btn btn-outline btn-primary btn-block btn-sm" value="Send Code">
</div></form></div></div></div></div></div></main>
<?php elseif(Auth::user()->phone_verify == 0): ?>
<main class="nk-pages"><div class="section"><div class="container"><div class="nk-blocks d-flex justify-content-center"><div class="ath-container m-0"><div class="ath-body"><h5 class="ath-heading title">Phone Verification<small class="tc-default">Please enter the code sent to <?php echo e(Auth::user()->phone); ?></small></h5>
 <form  action="<?php echo e(route('user.sms-verify')); ?>" method="post">
<?php echo csrf_field(); ?>
 <input type="hidden" name="id" value="<?php echo e(Auth::user()->id); ?>">
                                    <div class="field-item"><div class="field-wrap">
<input type="text" class="input-bordered" name="sms_code" placeholder="Enter Code"></div></div><button class="btn btn-primary btn-block btn-md">Verify Phone</button></form><div class="ath-note text-center"><a href=#">Didn't get any code? </a>
 <form  action="<?php echo e(route('user.send-vcode')); ?>" method="post">
   <?php echo csrf_field(); ?>

<input type="submit" class="btn btn-outline btn-primary btn-block btn-sm" value="Send Code">
</div></form></div></div></div></div></div></main>
<?php else: ?>
            <?php return redirect('user/home') ?>

        <?php endif; ?>
</section>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('include.front', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>