<section class="breadcrumb_area">
    <div class="container">
        <div class="banner_content">
            <h2 class="br_title">Money Forex Trading</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().'assets/img/avatar.png';?>" />
                        </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">MFCLT0000<?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>Mobile</label>
                                <input type="text" class="form-control" name="mobile" value="<?php echo $user->mobile;?>" />
                            </div>
                            <div class="form-group">
                                <label>Email</label>
                                <input type="text" class="form-control" name="email" value="<?php echo $user->email;?>" />
                            </div>
                            <div class="row">
                                <div class="form-group col-md-7">
                                    <label>City</label>
                                    <input type="text" class="form-control" name="city" value="<?php echo $user->city;?>" />
                                </div>
                                <div class="form-group col-md-5">
                                    <label>Pincode</label>
                                    <input type="text" class="form-control" name="zipcode" value="<?php echo $user->zipcode;?>" />
                                </div>
                            </div>
                            <button type="submit" class="btn btn-primary">Update Profile Details</button>
                        </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">KYC 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>
                            <input type="text" name="bank_name" value="<?php echo $user->bank_name;?>" required class="form-control" />
                        </div>
                        <div class="form-group">
                            <label>A/c Holder Name</label>
                            <input type="text" name="acc_holder" value="<?php echo $user->acc_holder;?>" required class="form-control" />
                        </div>
                        <div class="form-group">
                            <label>A/c  Number</label>
                            <input type="number" name="acc_no" value="<?php echo $user->acc_no;?>" required class="form-control" />
                        </div>
                        
                        <div class="form-group">
                            <label>IFSC Code</label>
                            <input type="text" name="ifsc" value="<?php echo $user->ifsc;?>" required class="form-control" />
                        </div>
                        <div class="form-group">
                            <label>A/c  Type</label>
                            <select class="form-control" name="acc_type">
                                <option value="">Select Type</option>
                                <option value="Current Account" <?php if($user->acc_type=="Current Account"){echo "selected";}?>>Current Account</option>
                                <option value="Savings Account" <?php if($user->acc_type=="Savings Account"){echo "selected";}?>>Savings Account</option>
                            </select>	
        				</div>
                        <button class="btn btn-warning btn-block" type="submit">Update Details</button>
                    </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>