<?php $__env->startSection('title'); ?>
    STAKEGAINS | Admin Home
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="col" style="min-height: 323px;;">
        <br><br>
        <?php
        $date = new dateTime();
        $d = $date->format('D j F, Y');


        ?>
        <?php
        if(Auth::check()){
            $admin = Auth::user();
        }
        ?>

        <?php if(isset($mail)): ?>
            <script>
                alert(<?php echo e($mail); ?>);
            </script>
        <?php endif; ?>
        <center><h2 style="margin-bottom: -10px;"><?php echo e($d); ?></h2>
            <blockquote><h1>Welcome, <?php echo e($admin->name); ?></h1></blockquote>

            <button class="btn btn-lg btn-danger" style="white-space: normal!important; padding: 40px 30px; border-radius: 100px;" id="refresher">REFRESH <br>SYSTEM</button><br>
            <span id="refreshStatus" class="text-danger"></span>
            <br>
        </center>
        <?php if(isset($success)): ?>
            <script>alert('<?php echo e($success); ?>');</script>
        <?php endif; ?>


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



<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>