
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
   <div class="container-full">
      <!-- Main content -->
      <section class="content">
         <div class="row">
            <div class="col-xxl-12 col-12">
               <div class="d-lg-flex justify-content-between align-items-center">
                  <div class="box-body p-0 mb-20 d-none d-lg-block d-md-block d-sm-none">
                     <h1 class="mt-0 fw-600 m-0">Welcome, Great Value </h1>
                     <p class="m-0 fs-16 text-fade">Great Value</p>
                  </div>
               </div>
            </div>
            <div class="col-xxl-12 col-12">
               <div class="row">
                  
                  
                  <div class="col-xxl-3 col-lg-3">
                     <div class="box pull-up">
                        <div class="box-header b-0 pb-0 d-flex justify-content-between align-items-center">
                           <h6 class="box-title">Active Services</h6>
                           <a href="<?= base_url();?>admin/package"><button class="btn btn-outline btn-sm border-gray fw-500">View Details</button></a>
                        </div>
                        <div class="box-body pt-10 pb-20">
                           <div class="d-flex align-items-center">
                              <div class="me-10 bg-primary-light w-30 h-30 rounded text-center l-h-30">
                                 <i class="fa-regular fa-user"></i>
                              </div>
                              <div class="d-flex align-items-center">
                                 <p class="text-fade mb-5"></p>
                                 <h2 class="my-0 fw-600"><?= $servies; ?></h2>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
                  <div class="col-xxl-3 col-lg-3">
                     <div class="box pull-up">
                        <div class="box-header b-0 pb-0 d-flex justify-content-between align-items-center">
                          <h6 class="box-title">Active Industries</h6>
                            <a href="<?= base_url();?>admin/industries"><button class="btn btn-outline btn-sm border-gray fw-500">View Details</button></a>
                        </div>
                        <div class="box-body pt-10 pb-20">
                           <div class="d-flex align-items-center">
                              <div class="me-10 bg-primary-light w-30 h-30 rounded text-center l-h-30">
                                 <i class="fa-solid fa-bed"></i>
                              </div>
                              <div class="d-flex align-items-center">
                                 <p class="text-fade mb-5"></p>
                                 <h2 class="my-0 fw-600"><?= $industreies; ?></h2>
                                
                              </div>
                           </div>
                          
                        </div>
                     </div>
                  </div>
                  <div class="col-xxl-3 col-lg-3">
                     <div class="box pull-up">
                        <div class="box-header b-0 pb-0 d-flex justify-content-between align-items-center">
                          <h6 class="box-title">Active Blog</h6>
                            <a href="<?= base_url();?>admin/industries"><button class="btn btn-outline btn-sm border-gray fw-500">View Details</button></a>
                        </div>
                        <div class="box-body pt-10 pb-20">
                           <div class="d-flex align-items-center">
                              <div class="me-10 bg-primary-light w-30 h-30 rounded text-center l-h-30">
                                 <i class="fa-solid fa-bed"></i>
                              </div>
                              <div class="d-flex align-items-center">
                                 <p class="text-fade mb-5"></p>
                                 <h2 class="my-0 fw-600"><?= $blog; ?></h2>
                                
                              </div>
                           </div>
                          
                        </div>
                     </div>
                  </div>
                  <div class="col-xxl-3 col-lg-3">
                     <div class="box pull-up">
                        <div class="box-header b-0 pb-0 d-flex justify-content-between align-items-center">
                          <h6 class="box-title">Active Banners</h6>
                            <a href="<?= base_url();?>admin/industries"><button class="btn btn-outline btn-sm border-gray fw-500">View Details</button></a>
                        </div>
                        <div class="box-body pt-10 pb-20">
                           <div class="d-flex align-items-center">
                              <div class="me-10 bg-primary-light w-30 h-30 rounded text-center l-h-30">
                                 <i class="fa-solid fa-bed"></i>
                              </div>
                              <div class="d-flex align-items-center">
                                 <p class="text-fade mb-5"></p>
                                 <h2 class="my-0 fw-600"><?= $banner; ?></h2>
                                
                              </div>
                           </div>
                          
                        </div>
                     </div>
                  </div>
                  <div class="col-xxl-3 col-lg-3">
                     <div class="box pull-up">
                        <div class="box-header b-0 pb-0 d-flex justify-content-between align-items-center">
                          <h6 class="box-title">Active Testimonials</h6>
                            <a href="<?= base_url();?>admin/industries"><button class="btn btn-outline btn-sm border-gray fw-500">View Details</button></a>
                        </div>
                        <div class="box-body pt-10 pb-20">
                           <div class="d-flex align-items-center">
                              <div class="me-10 bg-primary-light w-30 h-30 rounded text-center l-h-30">
                                 <i class="fa-solid fa-bed"></i>
                              </div>
                              <div class="d-flex align-items-center">
                                 <p class="text-fade mb-5"></p>
                                 <h2 class="my-0 fw-600"><?= $testimonial; ?></h2>
                                
                              </div>
                           </div>
                          
                        </div>
                     </div>
                  </div>
                  <div class="col-xxl-3 col-lg-3">
                     <div class="box pull-up">
                        <div class="box-header b-0 pb-0 d-flex justify-content-between align-items-center">
                          <h6 class="box-title">Active Partners</h6>
                            <a href="<?= base_url();?>admin/industries"><button class="btn btn-outline btn-sm border-gray fw-500">View Details</button></a>
                        </div>
                        <div class="box-body pt-10 pb-20">
                           <div class="d-flex align-items-center">
                              <div class="me-10 bg-primary-light w-30 h-30 rounded text-center l-h-30">
                                 <i class="fa-solid fa-bed"></i>
                              </div>
                              <div class="d-flex align-items-center">
                                 <p class="text-fade mb-5"></p>
                                 <h2 class="my-0 fw-600"><?= $partners; ?></h2>
                                
                              </div>
                           </div>
                          
                        </div>
                     </div>
                  </div>
                  <div class="col-xxl-3 col-lg-3">
                     <div class="box pull-up">
                        <div class="box-header b-0 pb-0 d-flex justify-content-between align-items-center">
                          <h6 class="box-title">No. of Enquries</h6>
                            <a href="<?= base_url();?>admin/industries"><button class="btn btn-outline btn-sm border-gray fw-500">View Details</button></a>
                        </div>
                        <div class="box-body pt-10 pb-20">
                           <div class="d-flex align-items-center">
                              <div class="me-10 bg-primary-light w-30 h-30 rounded text-center l-h-30">
                                 <i class="fa-solid fa-bed"></i>
                              </div>
                              <div class="d-flex align-items-center">
                                 <p class="text-fade mb-5"></p>
                                 <h2 class="my-0 fw-600"><?= $enquiry; ?></h2>
                                
                              </div>
                           </div>
                          
                        </div>
                     </div>
                  </div>
                 
                  <div class="col-xxl-3 col-lg-3">
                     <div class="box pull-up">
                        <div class="box-header b-0 pb-0 d-flex justify-content-between align-items-center">
                          <h6 class="box-title">No. of Contact</h6>
                            <a href="<?= base_url();?>admin/industries"><button class="btn btn-outline btn-sm border-gray fw-500">View Details</button></a>
                        </div>
                        <div class="box-body pt-10 pb-20">
                           <div class="d-flex align-items-center">
                              <div class="me-10 bg-primary-light w-30 h-30 rounded text-center l-h-30">
                                 <i class="fa-solid fa-bed"></i>
                              </div>
                              <div class="d-flex align-items-center">
                                 <p class="text-fade mb-5"></p>
                                 <h2 class="my-0 fw-600"><?= $contact; ?></h2>
                                
                              </div>
                           </div>
                          
                        </div>
                     </div>
                  </div>
                  
                  
                  
                 
           
         </div>
         <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">Latest 10 Enquiry List</h4>
                     <div class="table-right-btns">
                       
                     </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>Name</th>
                                  <th>Email</th>
                                  <th>Phone</th>
                                 <th>Subject</th>
                                <th>Message</th>
                                 
                              </tr>
                           </thead>
                           <tbody>
                              <?php $i=1; foreach($contacts as $contact){ ?>
                              <tr class="text-dark">
                                 <td><?= $i;?></td>
                                 <td><?= $contact->name; ?></td>
                                 <td><?= $contact->email; ?></td>
                                 <td><?= $contact->phone; ?></td>
                                 <td><?= $contact->subject; ?></td>
                                 <td><?= $contact->msg; ?></td>
                                 
                              </tr>
                              <?php $i++; } ?>
                           </tbody>
                        </table>
                     </div>
                  </div>
                  <!-- /.box-body -->
               </div>
               <!-- /.box -->
            </div>
                  </div>
      </section>
      <!-- /.content -->
   </div>
</div>
<!-- /.content-wrapper -->

<style>
    .bg-orange{
	background: #f58634;
}
 
.bg-green{
	background: #018349;
}
 
.bg-yellow{
	background: #f3e154
}
 
.bg-orange{
	background: #f58634;
}
 
.bg-greenlite{
	background: #05b980;
}
 
.bg-tomato{
	background: #ff6347;
}
 .bg-blue{
	background: #C70039;
}
.text-white{
	color:#ffffff
}
</style>