<?php
$this->load->view("top");
$fieldType = $this->session->userdata('field_type');
$addres = $this->db->query("select * from wps_customers_address_book where customer_id = '" . $mres['customers_id'] . "' ")->row();
?>
<section class="my_account_page">
        <div class="container">
            <div class="row">
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-4 col-sm-4 col-12">
                            <?php $this->load->view('members/left'); ?>
                </div>

                <div class="col-xxl-9 col-xl-9 col-lg-9 col-md-8 col-sm-8 col-12">
                    <div class="right_side">
                        <h1 class="bg-title">My Profile</h1>
                        <div class="wps_right">
                            <p><strong>Personal Information</strong></p>
                            <form>
                            <div class="row">                                
                                    <div class="col-lg-6 col-md-6 col-sm-6">
                                        <div class="form-group">
                                            <label class="input_label">
                                <input class="form_input" type="text" placeholder="First Name *" value="<?=$mres['first_name'];?>" disabled></label>
                                        </div>
                                    </div>

                                 <div class="col-lg-6 col-md-6 col-sm-6">
                                        <div class="form-group">
                                            <label class="input_label">
                                                <input class="form_input" type="text" placeholder="Phone No *" value="<?=$mres['mobile_number'];?>" disabled></label>
                                        </div>
                                    </div>
                                    <div class="col-lg-12 col-md-12 col-sm-12">
                                        <div class="form-group">
                                            <label class="input_label">
                                    <input class="form_input" type="email" placeholder="Email ID *" value="<?=$mres['user_name'];?>" disabled></label>
                                        </div>
                                    </div>


                                    <div class="col-lg-12 col-md-12 col-sm-12">
                                        <div class="form-group">
                                            <label class="input_label">
                                                <textarea name="address" required="" type="text" class="form_input" placeholder="Full Address*" disabled><?php if($addres->address){
                                                        echo $addres->address." , ";
                                                    }
                                                   if($addres->city){
                                                         echo $addres->city." , ";
                                                    }
                                                   if($addres->state){
                                                         echo $addres->state." , ";
                                                    }
                                                    if($addres->country){
                                                         echo $addres->country;
                                                    }
                                                     if($addres->zipcode){
                                                         echo " - ".$addres->zipcode;
                                                    }
                                        
                                                    ?>
                                            
                                                </textarea></label>
                                        </div>
                                    </div>


                                    <div class="col-lg-6 col-md-6 col-sm-6">
                                        <div class="form-group">
                                            <label class="info_title">Your Gender</label>
                                            <div class="radio1">  
                                                <label class="radio_button" for="male"><input id="male" type="radio" name="text" value="male" checked="" disabled>   Male </label>  
                                                <label class="radio_button" for="female"><input id="female" type="radio" name="text" value="female" disabled>  Female</label>  
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                </form>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
 
    </section>









<?php $this->load->view("bottom"); ?>