<section class="breadcrumb_area">
    <div class="container">
        <div class="banner_content">
            <h2 class="br_title">xGlobalTrading</h2>
            <ul class="bread_cumb list_style">
                <li><a href="<?php echo base_url();?>">Home</a></li>
                <li>Profile</li>
            </ul>
        </div>
    </div>
</section>
        <!--================Hero banner Area =================-->
        
        <!--================ Services Area =================-->
<section class="expertise_area_two">
    <div class="container">
    	<div class="row">
            <div class="col-md-4">
            	<div class="wid1" style="padding:20px; background:#f2f2f2; border-radius:10px;">
                    <h5 class="text-danger">Manage Profile</h5><hr/>
                    <form action="<?php echo base_url().'home/update_profile';?>" method="post">
                    <div class="row">
                        <div class="col-md-4">
                            <img class="img img-responsive" width="100%" src="<?php echo base_url().'eassets/img/'.$user->profile_url;?>" />
                        </div>
                        <div class="col-md-8">
                            <small>Reg Since <?php echo date("d-m-Y",strtotime($user->created));?></small>
                            <h3 class="text-success"><?php echo $user->first_name.' '.$user->last_name;?></h3>
                            <label class="badge badge-success">XGT00<?php echo $user->id;?></label>
                            <label class="badge badge-warning"><?php echo $user->username;?></label>
                        </div>
                        <div class="col-md-12">
                            <div class="form-group">
                                <label><i class="fa fa-mobile"></i> Mobile</label>
                                <h5 class="text-success"><?php echo $user->mobile;?></h5>
                            </div>
                            <div class="form-group">
                                <label><i class="fa fa-envelope"></i> Email</label>
                                <h5 class="text-success"><?php echo $user->email;?></h5>
                            </div>
                            <div class="form-group">
                                <label><i class="fa fa-map-marker"></i> City/Pincode</label>
                                <h5 class="text-success"><?php echo $user->city.' - '.$user->zipcode;?></h5>
                            </div>
                        </div>
                    </div>
                    </form>
                </div>
            </div>
            <div class="col-md-4">
            	<div class="wid1" style="padding:20px; background:#f2f2f2; border-radius:10px;">
                    <h5 class="text-danger">Bank Details</h5><hr/>
                    <form action="<?php echo base_url();?>home/update_banking" method="post" enctype="multipart/form-data">
                        <div class="form-group">
                            <label>Bank Name</label>
                            <h5 class="text-success"><?php echo $user->bank_name;?></h5>
                        </div>
                        <div class="form-group">
                            <label>A/c Holder Name</label>
                            <h5 class="text-success"><?php echo $user->acc_holder;?></h5>
                        </div>
                        <div class="form-group">
                            <label>A/c  Number</label>
                            <h5 class="text-success"><?php echo $user->acc_no;?></h5>
                        </div>
                        
                        <div class="form-group">
                            <label>IFSC Code</label>
                            <h5 class="text-success"><?php echo $user->ifsc;?></h5>
                        </div>
                        <div class="form-group">
                            <label>A/c  Type</label>
                            <h5 class="text-success"><?php echo $user->acc_type;?></h5>
                            
        				</div>
                    </form>
                </div>
            </div>
            <div class="col-md-4">
            	<div class="wid1" style="padding:20px; background:#f2f2f2; border-radius:10px;">
                    <h5 class="text-danger">KYC Details</h5><hr/>
                    <form action="<?php echo base_url();?>home/update_banking" method="post" enctype="multipart/form-data">
                        <div class="form-group">
                            <label>Aadhar Number <b><?php echo $user->aadhar_number;?></b></label><br/>
                            <img class="img img-responsive" width="200px" src="<?php echo base_url().'eassets/docs/'.$user->aadhar_doc;?>" />
                            
                        </div>
                        <div class="form-group">
                            <label>Pan Number <b><?php echo $user->pan_number;?></b></label><br/>
                            <img class="img img-responsive" width="200px" src="<?php echo base_url().'eassets/docs/'.$user->pan_doc;?>" />
                        </div>
                       <!-- <button class="btn btn-warning btn-block" type="submit">Update KYC</button>-->
                    </form>
                </div>
            </div>
        </div>
    </div>
     
</section>