<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">Industries 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">Industries List</h4>
                     <div class="table-right-btns">
                         <a href="<?= base_url(); ?>admin/industries-add" class="btn btn-primary"><i class="fa-solid fa-plus"></i> Add Industries</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>Status</th>
                                 <th>Action</th>
                              </tr>
                           </thead>
                           <tbody>
                              <?php $i=1; foreach($industries as $industrie){ ?>
                              <tr class="text-dark">
                                 <td><?= $i;?></td>
                                 <td><img class="rounded-circle" width="50" height="50" src="<?= base_url(); ?>uploads/industries/<?= $industrie->image; ?>" title="<?= $industrie->title; ?>" alt="<?= $industrie->title; ?>"></td>
                                 <td><?= $industrie->title; ?></td>
                                 <td> <?php if($industrie->status ==1  ){  ?>
                                                <span class="badge badge-success-light">Active</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/industries-edit?bid=<?= $industrie->id; ?>" class="edit"  title="Edit"><i class="align-middle fa fa-edit"></i></a>
                                    <a href="<?= base_url();?>admin/industries-delete?bid=<?= $industrie->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>