<!-- Begin Page Content -->
<div class="container-fluid">
    <div class="row column_title">
        <div class="col-md-12">
            <div class="page_title">
                <h2>User Info</h2>
            </div>
        </div>
    </div>

    <div class="card shadow mb-4">
        <div class="card-header py-3">
            <!-- <h6 class="m-0 font-weight-bold text-primary">DataTables Example</h6> -->
        </div>
        <div class="card-body">
            <div class="table-responsive">
                <table class="table table-bordered" width="100%" cellspacing="0">
                    <thead class="thead-dark">
                        <tr>
                            <th>#</th>
                            <th>Detail</th>

                        </tr>
                    </thead>
                    <tbody>

                        <tr>
                            <td>Surname</td>
                            <td><?php echo $user['surname']; ?></td>

                        </tr>
                        <tr>
                            <td>Middle Name</td>
                            <td><?php echo $user['middlename']; ?></td>

                        </tr>
                        <tr>
                            <td> First Name</td>
                            <td><?php echo $user['firstname']; ?></td>

                        </tr>
                        <tr>
                            <td>Address</td>
                            <td><?php echo $user['address']; ?></td>

                        </tr>
                        <tr>
                            <td>Town</td>
                            <td><?php echo $user['town']; ?></td>

                        </tr>
                        <tr>
                            <td>State</td>
                            <td><?php echo $user['state']; ?></td>

                        </tr>
                        <tr>
                            <td>Post Code</td>
                            <td><?php echo $user['postCode']; ?></td>

                        </tr>
                        <tr>
                            <td>Postal Address</td>
                            <td><?php echo $user['postaladdress']; ?></td>

                        </tr>
                        <tr>
                            <td>Mobile No</td>
                            <td><?php echo $user['mobilNo']; ?></td>

                        </tr>
                        <tr>
                            <td>Home Phone</td>
                            <td><?php echo $user['homePhone']; ?></td>

                        </tr>
                        <tr>
                            <td>Email</td>
                            <td><?php echo $user['email']; ?></td>

                        </tr>
                        <tr>
                            <td>D.O.B</td>
                            <td><?php echo $user['userDOB']; ?></td>

                        </tr>
                        <tr>
                            <td>Date Commenced</td>
                            <td><?php echo $user['datecompe']; ?></td>

                        </tr>
                        <tr>
                            <td>Employment Type</td>
                            <td><?php echo $user['empType']; ?></td>

                        </tr>
                        <tr>
                            <td>Driver Licensee Number</td>
                            <td><?php echo $user['liscnes']; ?></td>

                        </tr>
                        <tr>
                            <td>White card</td>
                            <td><?php echo $user['whitecard']; ?></td>

                        </tr>
                        <tr>
                            <td>Uniform Size</td>
                            <td><?php echo $user['uniformSize']; ?></td>

                        </tr>
                        <tr>
                            <td>Tax File Number</td>
                            <td><?php echo $user['taxNo']; ?></td>

                        </tr>
                        <tr>
                            <td>Preferred Super Fund</td>
                            <td><?php echo $user['superFund']; ?></td>

                        </tr>
                        <tr>
                            <td>Super Memeber No</td>
                            <td><?php echo $user['memeberNo']; ?></td>

                        </tr>
                        <tr>
                            <td>Bank Name</td>
                            <td><?php echo $user['Bankname']; ?></td>

                        </tr>
                        <tr>
                            <td>Bank BSB</td>
                            <td><?php echo $user['BankBsb']; ?></td>

                        </tr>
                        <tr>
                            <td>Branch</td>
                            <td><?php echo $user['Branch']; ?></td>

                        </tr>
                        <tr>
                            <td>Bank Account Name</td>
                            <td><?php echo $user['accName']; ?></td>

                        </tr>
                        <tr>
                            <td>Bank Account Number</td>
                            <td><?php echo $user['accountNumber']; ?></td>

                        </tr>
                        <tr>
                            <td>Emergency Contact</td>
                            <td><?php echo $user['EmergContact']; ?></td>

                        </tr>
                        <tr>
                            <td>Emergency Name</td>
                            <td><?php echo $user['Name']; ?></td>

                        </tr>
                        <tr>
                            <td>Emergency Address</td>
                            <td><?php echo $user['AddressEmg']; ?></td>

                        </tr>


                        <tr>
                            <td>Created Date</td>
                            <td><?php echo date("Y-m-d",$user['createdDate']/1000) ; ?></td>

                        </tr>


                        <tr>
                            <td>userPhone</td>
                            <td><?php echo $user['userPhone']; ?></td>

                        </tr>



















                        <tr>
                            <td>Relationship</td>
                            <td><?php echo $user['Relationship']; ?></td>

                        </tr>



                        <tr>
                            <td>Image</td>

                            <td>
                                <?php if ($user['imageUrl'] != "") { ?>
                                <a href="<?= $user['imageUrl'] ?>" target="_blank">
                                    <img class="img-thumbnail" width="100" height="100" src="<?php echo output($user['imageUrl']); ?>">
                                </a>
                                <?php } else { ?>
                                <img class="img-thumbnail" src="http://placehold.jp/100x100.png">
                                <?php } ?>
                            </td>
                        </tr>

                    </tbody>
                </table>
            </div>
        </div>
    </div>



</div>