  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1>About Us</h1>
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item active">About Us</li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>

    <!-- Main content -->
    <section class="content">
<?php

              $success = $this->session->flashdata('success');
               if(isset($success)){  ?>
            <div class="alert alert-success">
              <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
              <?php echo $this->session->flashdata('success');?>
          </div>
          <?php } ?>

          <?php
              $same = $this->session->flashdata('same');
               if(isset($same)){  ?>
            <div class="alert alert-warning">
              <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
              <?php echo $this->session->flashdata('same');?>
          </div>
          <?php } ?>
      <!-- Default box -->
      <div class="card">
        <div class="card-header">
          <form action="<?php  echo base_url('admin/Add_about_us/insert'); ?>" method="POST" enctype="multipart/form-data">
                    <div class="form-example-wrap">
                      <div class="form-example-int">
                            <div class="form-group">
                                <label>Add About Us your website to attract your customers</label>
                                <div class="nk-int-st ">
                                    <textarea name="about" class="form-control input-sm ckeditor" id="editor" placeholder="" rows="12"><?php if(isset($data)){ if($data != 0){echo $data[0]->about;}else{ echo "";} } ?></textarea>
                                </div>
                            </div>
                        </div>
                        <div class="form-example-int mg-t-15">
                            <button class="btn btn-success notika-btn-success" type="submit"><?php if(isset($data)){ ?> UPDATE About Us INFO <?php }else{ ?>ADD About Us INFO <?php } ?></button>
                        </div>
                    </div>
                    </form>
        </div>
        <!-- /.card-footer-->
      </div>
      <!-- /.card -->

    </section>
    <!-- /.content -->
  </div> 
  <!-- /.content-wrapper -->