  <div class="main-content">

   <div class="page-content">
     <div class="container-fluid">

       <div class="row">
        <div class="col-md-12">
          <div class="card card-user">
            <div class="card-header">
              <h5 class="card-title">Edit User</h5>
            </div>
            <div class="card-body">
             <?php  if($this->session->flashdata()) { ?>
              <div class="alert alert-info"><?php  echo $this->session->flashdata("response");?> </div>
            <?php } ?> 
            <form method="POST">
              
              <div class="row">
                <div class="col-md-6 pr-1">
                  <div class="form-group">
                    <label>Nickname</label>
                    <input type="text" class="form-control" name="full_name" placeholder="Name" value="<?= $data['single']['full_name']; ?>">
                  </div>
                </div>
                <div class="col-md-6 pl-1">
                  <div class="form-group">
                    <label>Email</label>
                    <input type="email" class="form-control" name="email" placeholder="Email" value="<?= $data['single']['email']; ?>" readonly >
                  </div>
                </div>
              </div>
              <div class="row">
                <div class="col-md-6 pr-1">
                  <div class="form-group">
                    <label>Phone</label>
                    <input type="text" class="form-control" name="phone_number" placeholder="Phone" value="<?= $data['single']['phone_number']; ?>">
                  </div>
                </div>
                <div class="col-md-6 pl-1">
                  <div class="form-group">
                    <label>REFERRAL ID</label>
                    <input type="text" class="form-control" placeholder="Referal Id" value="<?= $data['single']['referral_id']; ?>" disabled="disabled">
                  </div>
                </div>
              </div>
              
         
              <div class="row">
                <div class="update ml-auto mr-auto">
                  <input type="hidden" name="id" value="<?= $data['single']['id']; ?>">
                  <button type="submit" class="btn btn-primary btn-round">Update Profile</button>
                </div>
              </div>
            </form>

            

            <!-- second -->
          </div>
        </div>
      </div>
    </div>
  </div>
</div>



