<div class="content-wrapper">
          <div class="row">
            <div class="col-lg-12 grid-margin stretch-card">
              <div class="card">
                <div class="card-body">
                  <h4 class="card-title">Registered Account</h4>
                  <div class="table-responsive">
                    <table class="table">
                      <thead>
                        <tr>
                          <th>Client Name</th>
                          <th>Client Email</th>
                          <th>Date Registered</th>
                        </tr>
                      </thead>
                      <tbody>
                        <?php
          $allacct = $bankdata->get_registered_data();
          foreach($allacct as $allXacct){
                        ?><tr>
                          <td><a href="/admin/view_register/<?php echo $allXacct['register_id'];?>"><?php echo $allXacct['fname'].' '.$allXacct['lname']; ?></a>
                        </td>
                          <td><?php echo $allXacct['email']; ?></td>
                          <td><div class="d-block py-2"><?php echo format_d_date_full($allXacct['created_at']); ?></div><label class="badge badge-<?php //echo $badge; ?>"><?php //echo $x_product['pay_status'] ?></label></td>
                        </tr>
          <?php } ?>
                      </tbody>
                    </table>
                  </div>
                </div>
              </div>
            </div>
          </div>
</div>