<!DOCTYPE html>
<html lang="zxx">
    <?php require __DIR__ . '/includes/head.php'; ?>

    <body class="bg-body-bg"><?php require __DIR__ . '/includes/loading.php'; ?><?php require __DIR__ . '/includes/sidebar.php'; ?>


        <!-- Start Main Content Area -->
        <div class="container-fluid">
            <div class="main-content d-flex flex-column">
                <?php require __DIR__ . '/includes/topbar.php'; ?>


                <div class="main-content-container overflow-hidden">
                    <div class="d-flex justify-content-between align-items-center flex-wrap gap-2 mb-4 mt-1">
                        <h3 class="mb-0">Categories</h3>

                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb align-items-center mb-0 lh-1">
                                <li class="breadcrumb-item">
                                    <a href="index.html" class="d-flex align-items-center text-decoration-none">
                                        <i class="ri-home-8-line fs-15 text-primary me-1"></i>
                                        <span class="text-body fs-14 hover">Dashboard</span>
                                    </a>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span>E-Commerce</span>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span class="text-secondary">Categories</span>
                                </li>
                            </ol>
                        </nav>
                    </div>

                    <div class="card bg-white rounded-10 border border-white mb-4">
                        <div class="d-flex justify-content-between align-items-center flex-wrap gap-3 p-20">
                            <form class="table-src-form position-relative m-0">
                                <input type="text" class="form-control" placeholder="Search order...">
                                <div class="src-btn position-absolute top-50 start-0 translate-middle-y bg-transparent p-0 border-0">
                                    <span class="material-symbols-outlined">search</span>
                                </div>
                            </form>

                            <a href="create-category.html" class="fs-16 text-primary border-0 text-decoration-none">+ Add New Category</a>
                        </div>
                        
                        <div class="default-table-area mx-minus-1 table-to-do-list">
                            <div class="table-responsive">
                                <table class="table align-middle w-100">
                                    <thead>
                                        <tr>
                                            <th scope="col" class="fw-medium">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault1">
                                                </div>
                                            </th>
                                            <th scope="col" class="fw-medium">Image</th>
                                            <th scope="col" class="fw-medium">Name</th>
                                            <th scope="col" class="fw-medium">Total Products</th>
                                            <th scope="col" class="fw-medium">Slug</th>
                                            <th scope="col" class="fw-medium">Description</th>
                                            <th scope="col" class="fw-medium">Status</th>
                                            <th scope="col" class="fw-medium">Action</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault2">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product1.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product1">
                                            </td> 
                                            <td class="text-secondary fw-medium">Watch</td> 
                                            <td class="text-body">54</td> 
                                            <td class="text-body">watch</td> 
                                            <td class="text-body">What is lorem ipsum?</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Active</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product2.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product2">
                                            </td> 
                                            <td class="text-secondary fw-medium">Mobile</td> 
                                            <td class="text-body">13</td> 
                                            <td class="text-body">mobile</td> 
                                            <td class="text-body">Why do we use it?</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Active</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault4">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product3.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product3">
                                            </td> 
                                            <td class="text-secondary fw-medium">Laptop</td> 
                                            <td class="text-body">42</td> 
                                            <td class="text-body">laptop</td> 
                                            <td class="text-body">Where does it come from?</td>
                                            <td>
                                                <span class="text-danger bg-danger bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Deactive</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault5">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product4.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product4">
                                            </td> 
                                            <td class="text-secondary fw-medium">Man</td> 
                                            <td class="text-body">32</td> 
                                            <td class="text-body">man</td> 
                                            <td class="text-body">Where can I get some?</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Active</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault6">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product5.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product5">
                                            </td> 
                                            <td class="text-secondary fw-medium">Headphone</td> 
                                            <td class="text-body">100</td> 
                                            <td class="text-body">headphone</td> 
                                            <td class="text-body">Contrary to popular belief</td>
                                            <td>
                                                <span class="text-danger bg-danger bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Deactive</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault7">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product6.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product6">
                                            </td> 
                                            <td class="text-secondary fw-medium">Yellow Watch</td> 
                                            <td class="text-body">22</td> 
                                            <td class="text-body">yellow-watch</td> 
                                            <td class="text-body">There are many variations</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Active</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault8">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product7.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product7">
                                            </td> 
                                            <td class="text-secondary fw-medium">Red Laptop</td> 
                                            <td class="text-body">64</td> 
                                            <td class="text-body">red-laptop</td> 
                                            <td class="text-body">The standard chunk of lorem</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Active</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault9">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product8.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product8">
                                            </td> 
                                            <td class="text-secondary fw-medium">Shoe</td> 
                                            <td class="text-body">52</td> 
                                            <td class="text-body">shoe</td> 
                                            <td class="text-body">Non-characteristic words etc</td>
                                            <td>
                                                <span class="text-danger bg-danger bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Deactive</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault10">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product9.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product9">
                                            </td> 
                                            <td class="text-secondary fw-medium">Bag</td> 
                                            <td class="text-body">99</td> 
                                            <td class="text-body">bag</td> 
                                            <td class="text-body">Can you help translate this</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Active</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                        <tr>
                                            <td class="text-body" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault11">
                                                </div>
                                            </td>
                                            <td>
                                                <img src="assets/images/product10.png" class="rounded-circle" style="width: 45px; height: 45px;" alt="product10">
                                            </td> 
                                            <td class="text-secondary fw-medium">Jewelry</td> 
                                            <td class="text-body">34</td> 
                                            <td class="text-body">jewelry</td> 
                                            <td class="text-body">If you use this site regularly</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Active</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">edit</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td> 
                                        </tr>
                                    </tbody>
                                </table>
                            </div>

                            <div class="d-flex justify-content-center justify-content-sm-between align-items-center text-center flex-wrap gap-2 showing-wrap pt-15 p-20">
                                <span class="fs-15">Showing 1 to 10 of 50 entries</span>

                                <nav class="custom-pagination" aria-label="Page navigation example">
                                    <ul class="pagination mb-0 justify-content-center">
                                        <li class="page-item">
                                            <button class="page-link icon" aria-label="Previous">
                                                <i class="material-symbols-outlined">west</i>
                                            </button>
                                        </li>
                                        <li class="page-item">
                                            <button class="page-link active">1</button>
                                        </li>
                                        <li class="page-item">
                                            <button class="page-link">2</button>
                                        </li>
                                        <li class="page-item">
                                            <button class="page-link">3</button>
                                        </li>
                                        <li class="page-item">
                                            <button class="page-link icon" aria-label="Next">
                                                <i class="material-symbols-outlined">east</i>
                                            </button>
                                        </li>
                                    </ul>
                                </nav>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="flex-grow-1"></div>

                <?php require __DIR__ . '/includes/footer.php'; ?>

            </div>
        </div>
        <!-- Start Main Content Area -->

        <!-- Start Theme Setting Area -->
        <button class="btn btn-primary theme-settings-btn p-0 position-fixed z-2 text-center rounded-circle" style="bottom: 24px; right: 24px; width: 56px; height: 56px; line-height: 54px;" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">
            <i class="text-white ri-settings-3-fill fs-28" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="Click On Theme Settings"></i>
        </button>

        <!-- Start Theme Setting Area -->
        <div class="offcanvas offcanvas-end bg-white border-0" data-bs-scroll="true" data-bs-backdrop="true" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel" style="box-shadow: 0 4px 20px #2f8fe812 !important; max-width: 300px;">
            <div class="offcanvas-header bg-light p-20">
                <h5 class="offcanvas-title fs-18 fw-medium" id="offcanvasScrollingLabel">Configuration Panel</h5>
                <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
            </div>
            <div class="offcanvas-body p-0 overflow-hidden">
                <div class="last-child-none" style="max-height: 858px;" data-simplebar>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">RTL Mode</h4>
                        <div class="rtl-btn">
                            <label id="switch">
                                <input type="checkbox" onchange="toggleTheme()" class="toggle-switch rtl-switch" id="slider">
                            </label>
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Sidebar Dark</h4>
                        <div class="sidebar-light-dark" id="sidebar-light-dark">
                            <input type="checkbox" class="toggle-switch sidebar-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Header Dark</h4>
                        <div class="header-light-dark" id="header-light-dark">
                            <input type="checkbox" class="toggle-switch header-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Right Sidebar</h4>
                        <div class="right-sidebar" id="right-sidebar">
                            <input type="checkbox" class="toggle-switch right-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Hide Sidebar</h4>
                        <div class="icon-sidebar" id="icon-sidebar">
                            <input type="checkbox" class="toggle-switch icon-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Bordered Card</h4>
                        <div class="card-border" id="card-border">
                            <input type="checkbox" class="toggle-switch border-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Card Border Radius</h4>
                        <div class="card-radius-square" id="card-radius-square">
                            <input type="checkbox" class="toggle-switch border-radius-switch">
                        </div>
                    </div>
                    
                    <div class="p-20 border-bottom child">
                        <a href="#" class="btn btn-primary text-white">
                            Buy Fila
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <!-- End Theme Setting Area -->
     
        <!-- Link Of JS File -->
        <script src="assets/js/bootstrap.bundle.min.js"></script>
        <script src="assets/js/sidebar-menu.js"></script>
        <script src="assets/js/quill.min.js"></script>
        <script src="assets/js/data-table.js"></script>
        <script src="assets/js/prism.js"></script>
        <script src="assets/js/clipboard.min.js"></script>
        <script src="assets/js/simplebar.min.js"></script>
        <script src="assets/js/apexcharts.min.js"></script>
        <script src="assets/js/echarts.min.js"></script>
        <script src="assets/js/swiper-bundle.min.js"></script>
        <script src="assets/js/fullcalendar.main.js"></script>
        <script src="assets/js/jsvectormap.min.js"></script>
        <script src="assets/js/world-merc.js"></script>
        <script src="assets/js/custom/apexcharts.js"></script>
        <script src="assets/js/custom/echarts.js"></script>
        <script src="assets/js/custom/maps.js"></script>
        <script src="assets/js/custom/custom.js"></script>
    </body>
</html>