<!-- Main Content -->

<div class="page-wrapper">

    <div class="container-fluid pt-25">

        <div class="row">

            <div class="col-md-12">

                <div class="alert alert-success alert-dismissible" role="alert" <?php if($this->session->flashdata('message')==''){ ?> style="display:none" <?php } ?> >

                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>

                    <?php echo $this->session->flashdata('message'); ?>

                </div>

            </div>

        </div>

        <!-- Row -->

        <div class="row justify-content-center d-flex">

            <div class="col-sm-6">

                <div class="panel panel-default card-view">

                    <div class="panel-heading">

                        <div class="pull-left">

                            <h6 class="panel-title txt-dark">User Detail</h6>

                        </div>

                        <div class="clearfix"></div>

                    </div>

                    <div class="panel-wrapper collapse in">

                        <div class="panel-body">

                            <div class="table-wrap">

                                <div class="table-responsive">

                                    <table class="table table-hover">

                                        <tbody>
                                            <tr>
                                                <th>Name</th>
                                                <td><?php echo $profile['name']; ?></td>
                                            </tr>
                                            <tr>
                                                <th>Email</th>
                                                <td><?php echo $profile['email']; ?></td>
                                            </tr>
                                            <tr>
                                                <th>Mobile No.</th>
                                                <td><?php echo $profile['mobile_no']; ?></td>
                                            </tr>
                                            <tr>
                                                <th>Password</th>
                                                <td><?php echo $profile['plain_password']; ?></td>
                                            </tr>
                                            <!-- <tr>
                                                <th>Date of birth</th>
                                                <td><?php //echo $profile['dob']; ?></td>
                                            </tr> -->
                                            <tr>
                                                <th>Address</th>
                                                <td><?php echo $profile['address']; ?></td>
                                            </tr>
                                            <!-- <tr>
                                                <th>Total Point</th>
                                                <td><?php //echo $profile['remain_point']; ?></td>
                                            </tr>
                                            <tr>
                                                <th>Newsletter Consent</th>
                                                <td><?php //echo (($profile['newsletter']==1)?"Yes":"No"); ?></td>
                                            </tr> -->
                                            <!-- <tr>
                                                <th>Gender</th>
                                                <td><?php //echo ($profile['gender']==0)?'Male':'Female'; ?></td>
                                                <th>Birth Date</th>
                                                <td><?php //echo $profile['dob']; ?></td>
                                                <th>Building Name</th>
                                                <td><?php //echo $profile['address2']; ?></td>
                                            </tr> -->
                                            <!-- <tr> -->
                                                <!-- <th>Country</th>
                                                <td><?php //echo $profile['country']; ?></td> -->
                                                <!-- <th>Pincode</th>
                                                <td><?php //echo $profile['pincode']; ?></td> -->
                                                
                                                
                                                
                                            <!-- </tr> -->
                                            <!-- <tr> -->
                                                <!-- <th>Referral</th>
                                                <td><?php //echo $profile['own_referal']; ?></td>
                                                <th>Used Referral</th>
                                                <td><?php //echo $profile['used_referal']; ?></td> -->
                                                
                                                
                                                <!-- <th>Terms & Conditions</th> -->
                                                <!-- <td><?php //echo (($profile['terms']==1)?"Accept":"Not Accept"); ?></td> -->
                                            <!-- </tr> -->
                                        </tbody>
                                        

                                    </table>

                                </div>

                            </div>

                        </div>

                    </div>

                </div>  

            </div>

        </div>

        <!-- /Row -->

    </div>
    <style>
        .table th{border-top: 1px solid #f3f3f3!important;}
    </style>