<?php include("security.php"); ?>
<?php require_once('../setup.php'); ?>
<!DOCTYPE html>
<html lang="en">

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <title><?= $main_capital_name; ?></title>
  <!-- plugins:css -->
  <link rel="stylesheet" href="vendors/feather/feather.css">
  <link rel="stylesheet" href="vendors/ti-icons/css/themify-icons.css">
  <link rel="stylesheet" href="vendors/css/vendor.bundle.base.css">
  <!-- endinject -->
  <!-- Plugin css for this page -->
  <link rel="stylesheet" href="vendors/datatables.net-bs4/dataTables.bootstrap4.css">
  <link rel="stylesheet" href="vendors/ti-icons/css/themify-icons.css">
  <link rel="stylesheet" type="text/css" href="js/select.dataTables.min.css">
  <link rel="stylesheet" href="vendors/mdi/css/materialdesignicons.min.css">
  <!-- End plugin css for this page -->
  <!-- inject:css -->
  <link rel="stylesheet" href="css/vertical-layout-light/style.css">
  <!-- endinject -->
  <link rel="shortcut icon" href="../assets/images/logo.png" />
</head>

<body>
  <div class="container-scroller">
    <!-- partial:partials/_navbar.html -->
    <?php include('topbar.php'); ?>
    <!-- partial -->
    <div class="container-fluid page-body-wrapper">
      <!-- partial:partials/_sidebar.html -->
      <?php include('nav.php'); ?>
      <!-- partial -->
      <div class="main-panel">
        <div class="content-wrapper">
          <div class="row">
            <div class="col-md-6 grid-margin stretch-card">
              <div class="card">
                <div class="card-body">
                  <h4 class="card-title">Personal Account Profile</h4>
                  <p class="card-description">
                    Below are your personal Information with <?= $main_name ?>.
                  </p>
                  <form class="forms-sample" action="" method="POST">
                    <div class="form-group">
                      <label for="exampleInputUsername1">Full Name</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbfirst_name . ' ' . $dbmiddle_initial . ' ' . $dblast_name; ?>" readonly required>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputUsername1">Address</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbaddress; ?>" readonly required>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputUsername1">Zip Code</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbzip_code; ?>" readonly required>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputUsername1">Country</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbcountry; ?>" readonly required>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputUsername1">State</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbstate; ?>" readonly required>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputUsername1">Gender</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbsex; ?>" readonly required>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputUsername1">Government Issued ID Number</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbgov_iss_id_no; ?>" readonly required>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputUsername1">Date of Birth</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbdob; ?>" readonly required>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputUsername1">SSN/TIN</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbssn_tin; ?>" readonly required>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputUsername1">Username</label>
                      <input style="text-transform: capitalize;" type="text" class="form-control" id="exampleInputUsername1" value="<?= $dbusername; ?>" readonly required>
                    </div>
                    <a href="dashboard" class="btn btn-light">Cancel</a>
                  </form>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- content-wrapper ends -->
        <!-- partial:partials/_footer.html -->
        <footer class="footer">
          <?php
          include('footer.php');
          ?>
        </footer>
        <!-- partial -->
      </div>
      <!-- main-panel ends -->
    </div>
    <!-- page-body-wrapper ends -->
  </div>
  <!-- container-scroller -->

  <!-- plugins:js -->
  <script src="vendors/js/vendor.bundle.base.js"></script>
  <!-- endinject -->
  <!-- Plugin js for this page -->
  <script src="vendors/chart.js/Chart.min.js"></script>
  <script src="vendors/datatables.net/jquery.dataTables.js"></script>
  <script src="vendors/datatables.net-bs4/dataTables.bootstrap4.js"></script>
  <script src="js/dataTables.select.min.js"></script>

  <!-- End plugin js for this page -->
  <!-- inject:js -->
  <script src="js/off-canvas.js"></script>
  <script src="js/hoverable-collapse.js"></script>
  <script src="js/template.js"></script>
  <script src="js/settings.js"></script>
  <script src="js/todolist.js"></script>
  <!-- endinject -->
  <!-- Custom js for this page-->
  <script src="js/dashboard.js"></script>
  <script src="js/Chart.roundedBarCharts.js"></script>
  <!-- End custom js for this page-->
  <?php include('../chat.php'); ?>
</body>

</html>
