<div class="card">
    <div class="card-header d-flex justify-content-between align-items-center w-100">
        <h3 class="card-title mb-1" style="margin-top: 5px;">Halaman Profil Admin</h3>
    </div>
    <div class="row">
        <div class="col-lg-5">
            <?= $this->session->flashdata('message'); ?>
        </div>
    </div>

    <div class="card mb-3 col-lg-5 mt-4 ml-4 mb-4">
        <div class="row no-gutters">
            <div class="col-md-4">
                <img src="<?= base_url('assets/img/profile/') . $admin['image']; ?>" style="width: 179px; height: 185px;">
            </div>
            <div class="col-md-8">
                <div class="card-body">
                    <h5 class="card-title"><?= $admin['name'] ?></h5>
                    <p class="card-text"><?= $admin['email'] ?></p>
                    <p class="card-text"><small class="text-muted">Member since <?= date('d F Y', $admin['date_created']) ?></small></p>
                </div>
            </div>
        </div>
    </div>
</div>