

<?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();
        }
        ?>

        <center><h2><?php echo e($d); ?></h2>
            <blockquote><h1>Welcome, <?php echo e($admin->name); ?> <small><br>Role: <?php echo e($admin->category); ?></small></h1></blockquote>
            <br><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(); ?>