 <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0 text-dark">Counting Stats</h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="<?php echo base_url() ?>admin/admin/dashboard">Dashboard</a></li>
              <li class="breadcrumb-item"><a href="#">Main Page Setting</a></li>
              <li class="breadcrumb-item active">Counting Stats</li>

            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="row">
          <div class="col-sm-12">
            <div class="card card-default">
              <div class="card-header">
                <h3 class="card-title">Update Counting Stats</h3>

               
              </div>
              <!-- /.card-header -->
              <?php echo form_open_multipart('admin/main_page_setting/update_counting_stats'); ?>
              <div class="card-body">
                <div class="row">

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Bg Image</label>
                       <div class="col-sm-12">
                          <input class="form-control" type="file" name="counting_stats_bg_image" >
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Image Preview</label>
                       <div class="col-sm-12">
                          <img src="<?php echo base_url() ?><?php echo $content->counting_stats_bg_image ?>" width="100px">
                       </div>
                    </div>
                  </div>

                  <br/>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Counting 1 ============</label>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                      <label  class="col-sm-12 col-form-label">Icon <span class="required">*</span></label>
                      <div class="col-sm-12">
                        <select class="form-control select2icon font-awsom" name="counting_stats_icon_1"  required="required">
                          <option value="">Select Icon</option>
                           <?php echo view('admin/include/fafa_icon_select', ['icon' => $content->counting_stats_icon_1]) ?>
                        </select>
                      </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Number</label>
                       <div class="col-sm-12">
                          <input class="form-control" type="number"  name="counting_stats_number_1" placeholder="Enter Counting 1 Number" value="<?php echo $content->counting_stats_number_1; ?>">
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Title</label>
                       <div class="col-sm-12">
                          <input class="form-control" type="text"  name="counting_stats_title_1" placeholder="Enter Counting 1 Title" value="<?php echo $content->counting_stats_title_1; ?>">
                       </div>
                    </div>
                  </div>
                  
                  <br/>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Counting 2 ============</label>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                      <label  class="col-sm-12 col-form-label">Icon <span class="required">*</span></label>
                      <div class="col-sm-12">
                        <select class="form-control select2icon font-awsom" name="counting_stats_icon_2"  required="required">
                          <option value="">Select Icon</option>
                           <?php echo view('admin/include/fafa_icon_select', ['icon' => $content->counting_stats_icon_2]) ?>
                        </select>
                      </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Number</label>
                       <div class="col-sm-12">
                          <input class="form-control" type="number"  name="counting_stats_number_2" placeholder="Enter Counting 2 Number" value="<?php echo $content->counting_stats_number_2; ?>">
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Title</label>
                       <div class="col-sm-12">
                          <input class="form-control" type="text"  name="counting_stats_title_2" placeholder="Enter Counting 2 Title" value="<?php echo $content->counting_stats_title_2; ?>">
                       </div>
                    </div>
                  </div>

                  <br/>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Counting 3 ============</label>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                      <label  class="col-sm-12 col-form-label">Icon <span class="required">*</span></label>
                      <div class="col-sm-12">
                        <select class="form-control select2icon font-awsom" name="counting_stats_icon_3"  required="required">
                          <option value="">Select Icon</option>
                           <?php echo view('admin/include/fafa_icon_select', ['icon' => $content->counting_stats_icon_3]) ?>
                        </select>
                      </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Number</label>
                       <div class="col-sm-12">
                          <input class="form-control" type="number"  name="counting_stats_number_3" placeholder="Enter Counting 2 Number" value="<?php echo $content->counting_stats_number_3; ?>">
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Title</label>
                       <div class="col-sm-12">
                          <input class="form-control" type="text"  name="counting_stats_title_3" placeholder="Enter Counting 2 Title" value="<?php echo $content->counting_stats_title_3; ?>">
                       </div>
                    </div>
                  </div>

                  <br/>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Counting 4 ============</label>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                      <label  class="col-sm-12 col-form-label">Icon <span class="required">*</span></label>
                      <div class="col-sm-12">
                        <select class="form-control select2icon font-awsom" name="counting_stats_icon_4"  required="required">
                          <option value="">Select Icon</option>
                           <?php echo view('admin/include/fafa_icon_select', ['icon' => $content->counting_stats_icon_4]) ?>
                        </select>
                      </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Number</label>
                       <div class="col-sm-12">
                          <input class="form-control" type="number"  name="counting_stats_number_4" placeholder="Enter Counting 2 Number" value="<?php echo $content->counting_stats_number_4; ?>">
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Title</label>
                       <div class="col-sm-12">
                          <input class="form-control" type="text"  name="counting_stats_title_4" placeholder="Enter Counting 2 Title" value="<?php echo $content->counting_stats_title_4; ?>">
                       </div>
                    </div>
                  </div>
                 
                  <div class="col-md-12">
                    <div class="form-group">
                       <button name="submit" style="float: right" type="submit" class="btn btn-success">Update</button>
                    </div>
                  </div>

                   <?php echo form_close() ?>
                   

                  <!-- /.col -->
                </div>
                <!-- /.row -->
              </div>
              <!-- /.card-body -->
            </div>
          </div>
        </div>
            <!-- /.row -->
      </div><!--/. container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->