<?php $__env->startSection('title'); ?>
    eventry.ng | 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 M, Y');


        ?>
        <center><h2><?php echo e($d); ?></h2>
            <h1>Welcome, Admin</h1>
            <br><br>
            <button data-target="#stat" data-toggle="modal" class="btn btn-lg btn-danger">VIEW STAT</button><br>
        </center>




        <div class="modal" id="stat">
            <div class="modal-dialog modal-md">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4><span class="fa fa-bar-chart"></span> User/Event Analysis</h4>
                    </div>
                    <div class="modal-body">
                        <center><h5>Hi, here is the Daily Users/Events Registration Count</h5></center><br>
                        <table class="table table-striped">
                            <tr>
                                <th colspan="2"><h2>Users Count</h2></th>
                            </tr>
                            <tr>
                                <th><h1>Today Registrations:<br>Yesterday Count:</h1></th>
                                <td><h1 class="red"><?php echo e($regutoday); ?><br><?php echo e($reguyesterday); ?></h1></td>
                            </tr>

                            <tr>
                                <th colspan="2"><h2>Events Count</h2></th>
                            </tr>
                            <tr>
                                <th><h1>Today Registrations:<br>Yesterday Count:</h1></th>
                                <td><h1 class="red"><?php echo e($regetoday); ?><br><?php echo e($regeyesterday); ?></h1></td>
                            </tr>
                        </table>
                    </div>
                    <div class="modal-footer"></div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>



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