<main id="main" class="main">
    </div><!-- End Page Title --> 
    <div class="page-body">
          <div class="container-fluid">
            <div class="page-title">
              <div class="row">
                <div class="col-6">
                  <h3><?= $title; ?></h3>
                </div>
              </div>
            </div>
          </div>
          <!-- Container-fluid starts-->
          <div class="container-fluid">
            <div class="row">
              <div class="col-sm-12">
                <div class="card">
                  <div class="card-header">
                    <div class="row">
                      <div class="col-sm-6">
                        <h5><?= $title; ?></h5>
                      </div>
                    </div>
                  </div>
                  <div class="card-body">
                    <div class="table-responsive" id="tb">
                      <table class="table table-bordered">
                        <thead>
                        <tr>
                            <th scope="col">Full name</th>
                            <td><?= $data['fullname']; ?></td>
                          </tr>
                          <tr>
                            <th scope="col">Department</th>
                            <td><?= $data['department']; ?></td>
                          </tr>
                           <tr>
                            <th scope="col">Email</th>
                            <td><?= $data['emailid']; ?></td>
                          </tr>
                          <tr>
                            <th scope="col">Mobile Number</th>
                            <td><?= $data['mobile']; ?></td>
                          </tr>
                          <tr>
                            <th scope="col">Employee ID</th>
                            <td><?= $data['employee_id']; ?></td>
                          </tr>
                          <tr>
                            <th scope="col">Gender</th>
                            <td><?= $data['gender']; ?></td>
                          </tr>
                          <tr>
                            <th scope="col">Date of birth</th>
                            <td><?php if($data['dob']){echo date('d-m-Y',strtotime($data['dob']));}?></td>
                          </tr>
                          <tr>
                            <th scope="col">Country</th>
                            <td><?= $data['country_name']; ?></td>
                          </tr>
                          <tr>
                            <th scope="col">State</th>
                            <td><?= $data['state_name']; ?></td>
                          </tr>
                          <tr>
                            <th scope="col">City</th>
                            <td><?= $data['city_name'];?></td>
                          </tr>
                          <tr>
                            <th scope="col">Pincode</th>
                            <td><?= $data['pincode']; ?></td>
                          </tr>
                          <tr>
                            <th scope="col">Address</th>
                            <td><?= $data['address'];?></td>
                          </tr>
                          <tr>
                            <th scope="col">Created</th>
                            <td><?= date('d-m-Y',strtotime($data['created']));?></td>
                          </tr>
                        </thead>
                      </table>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <!-- Container-fluid Ends-->
        </div>
</main>
