<div class="content-wrapper">
            <div class="container-full">
               <!-- Content Header (Page header) -->	  
               <div class="content-header">
                  <div class="d-flex align-items-center">
                     <div class="me-auto">
                        <h4 class="page-title">Service Management</h4>
                        <div class="d-inline-block align-items-center">
                           <nav>
                              <ol class="breadcrumb">
                                 <li class="breadcrumb-item"><a href="#"><i class="fa fa-home"></i></a></li>
                                 <li class="breadcrumb-item active" aria-current="page">Home</li>
                              </ol>
                           </nav>
                        </div>
                     </div>
                  </div>
               </div>
               <!-- Main content -->
               <section class="content">
                  <div class="row">
                    <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
               <div class="box">
                  <div class="table-box-header box-header with-border">
                     <h4 class="box-title">Service List</h4>
                     <div class="table-right-btns">
                         <a href="<?= base_url(); ?>admin/package-add" class="btn btn-primary"><i class="fa-solid fa-plus"></i> Add Service</a>
                       
                     </div>
                  </div>
                  <!-- /.box-header -->
                  <div class="box-body">
                     <div class="table-responsive">
                        <table id="example11" class="table text-fade table-bordered">
                           <thead>
                              <tr class="text-dark">
                                 <th>ID</th>
                                 <th>Images</th>
                                  <th>Title</th>
                                 <th>Type</th>
                                
                                 <th>Status</th>
                                 <th>Action</th>
                              </tr>
                           </thead>
                           <tbody>
                              <?php $i=1; foreach($packages as $package){ ?>
                              <tr class="text-dark">
                                 <td><?= $i;?></td>
                                 <td><img class="rounded-circle" width="50" height="50" src="<?= base_url(); ?>uploads/package/<?= $package->package_image; ?>" title="<?= $package->package_title; ?>" alt="<?= $package->package_title; ?>"></td>
                                 <td><?= $package->package_title; ?></td>
                                 <td><?= $package->package_type; ?></td>
                                 
                                 
                                  <td> <?php if($package->package_status ==1  ){  ?>
                                                <span class="badge badge-success-light">Active</span>
                                            <?php }elseif($package->package_status ==2){ ?>
                                                <span class="badge badge-warning-light">Trash</span>
                                            <?php }else{ ?>
                                                <span class="badge badge-danger-light">Inactive</span>
                                            <?php } ?>
                                          </td>
                                 <td class="table-action min-w-100 action-tbns">
                                    <a href="<?= base_url(); ?>admin/package-edit?bid=<?= $package->package_id; ?>" class="edit"  title="Edit"><i class="align-middle fa fa-edit"></i></a>
                                    <a href="<?= base_url();?>admin/package-delete?bid=<?= $package->package_id; ?>" class="text-fade trash"><i class="align-middle fa fa-trash"></i></a>
                                 </td>
                              </tr>
                              <?php $i++; } ?>
                           </tbody>
                        </table>
                     </div>
                  </div>
                  <!-- /.box-body -->
               </div>
               <!-- /.box -->
            </div>
                  </div>
               </section>
               <!-- /.content -->
            </div>
         </div>