<!DOCTYPE html>
<html lang="en">
    <?= $this->include('admin/partials/header') ?>
    <body class="c-app">
        <?= $this->include('admin/partials/sidenav') ?>
        <div class="c-wrapper c-fixed-components">
            <?= $this->include('admin/partials/navbar') ?>
            <div class="c-body">
                <main class="c-main">
                    <div class="container-fluid">
                        <div class="fade-in">
                            <div class="row">
                                <div class="col-sm-6 col-lg-6">
                                    <div class="card text-white bg-gradient-primary">
                                        <div class="card-body card-body pb-3 d-flex justify-content-between align-items-start">
                                            <div>
                                                <div class="text-value-lg">
                                                    <?= esc($tags ? count($tags) : '0') ?>
                                                </div>
                                                <div>Tags Created</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!-- /.col-->
                                <div class="col-sm-6 col-lg-6">
                                    <div class="card text-white bg-gradient-info">
                                        <div class="card-body card-body pb-3 d-flex justify-content-between align-items-start">
                                            <div>
                                                <div class="text-value-lg">
                                                    <?= esc($articles ? count($articles) : '0') ?>
                                                </div>
                                                <div>Articles Created</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </main>
                <?= $this->include('admin/partials/footer') ?>
            </div>
        </div>
        <!-- CoreUI and necessary plugins-->
        <?= $this->include('admin/partials/scripts') ?>
    </body>
</html>