<?php
require './partials/head.php';
require '../config/message/error_success.php';
?>

<body>
   
    <?php require './partials/sidebar.php'; ?>
    <main class="dashboard-main">
        <?php require './partials/header.php'; ?>
        <div class="dashboard-main-body">
            <div class="d-flex flex-wrap align-items-center justify-content-between gap-3 mb-24">
                <h6 class="fw-semibold mb-0">Admin Profile</h6>
                <ul class="d-flex align-items-center gap-2">
                    <li class="fw-medium welcome-message shake">
                        <a href="dashboard" class="d-flex align-items-center gap-1 hover-text-primary">
                            <iconify-icon icon="solar:home-smile-angle-outline" class="icon text-lg"></iconify-icon>
                            Welcome Admin <?= ($admin['email']); ?>
                        </a>
                    </li>

                </ul>
            </div>

            <div class="row gy-4">
                <div class="col-lg-12">
                    <div class="card h-100">
                        <div class="card-body p-24">
                            <ul class="nav border-gradient-tab nav-pills mb-20 d-inline-flex" id="pills-tab" role="tablist">
                                <li class="nav-item" role="presentation">
                                    <button class="nav-link d-flex align-items-center px-24 active" id="pills-edit-profile-tab" data-bs-toggle="pill" data-bs-target="#pills-edit-profile" type="button" role="tab" aria-controls="pills-edit-profile" aria-selected="true">
                                        Edit Profile
                                    </button>
                                </li>
                                <li class="nav-item" role="presentation">
                                    <button class="nav-link d-flex align-items-center px-24" id="pills-change-passwork-tab" data-bs-toggle="pill" data-bs-target="#pills-change-passwork" type="button" role="tab" aria-controls="pills-change-passwork" aria-selected="false" tabindex="-1">
                                        Change Password
                                    </button>
                                </li>
                            </ul>
                            <?php require './profile_detail.php' ?>
                        </div>
                        <!--  -->
                    </div>
                    <!--  -->
                </div>
            </div>
        </div>
        <?php require './partials/footer.php' ?>
    </main>
    <?php require './partials/scripts.php' ?>

</body>

</html>