<?php include('header.php');?>

  <section class="account-page section-padding">
         <div class="container">
            <div class="row">
               <div class="col-lg-10 mx-auto">
                  <div class="row no-gutters">
                     <div class="col-md-4">
                        <div class="card account-left bg-me2">
                           <div class="user-profile-header">
                               <div class="profile-pic-img"> 
                            <form action="<?=base_url('profile/edit_profile_img');?>" enctype="multipart/form-data" method="POST">
                                <br>
                                <?php if(empty($customer['cust_image'])){?>
                            <img id="blah" src="<?=base_url('uploads/website/customer/user.png');?>" alt="your image" class="brround">
                            <?php }else{
                                ?>
                                <img id="blah" src="<?=base_url('uploads/website/customer/'.$customer['cust_image']);?>" alt="your image" class="brround">
                                <?php
                            }
                            ?>
                            <i class="mdi-pencil mdi pencile"></i><input class="input-op0" type="file" title=" " name="photo" accept="image/gif, image/jpeg, image/png" onchange="readURL(this);">
    <input type="hidden" name="url">
                            </form>
                            </div>
                              <h5 class="mb-1"><strong>Hi </strong> <?php echo $customer['cust_name']; ?></h5>
                              <p class="text-white"><?php echo '+91 '.$customer['cust_phone']; ?></p>
                           </div>
                           <div class="list-group">
                              <a href="<?=base_url('profile/my_profile');?>" class="list-group-item list-group-item-action active"><i aria-hidden="true" class="mdi mdi-account-outline"></i>  My Profile</a>
                              <a href="<?=base_url('orderlist');?>" class="list-group-item list-group-item-action "><i aria-hidden="true" class="mdi mdi-format-list-bulleted"></i>  Order List</a> 
                              <a href="<?=base_url('profile/customer_password_update');?>" class="list-group-item list-group-item-action"><i aria-hidden="true" class="mdi mdi-key"></i>  Password Update</a> 
                              <a href="<?=base_url('login/logout');?>" class="list-group-item list-group-item-action"><i aria-hidden="true" class="mdi mdi-lock"></i>  Logout</a> 
                           </div>
                        </div>
                     </div>
                     
                     <div class="col-md-8">
                        <div class="card card-body account-right">
                           <div class="widget">
                              <div class="section-header">
                                 <h5 class="heading-design-h5">
                                    My Profile
                                 </h5>
                              </div>
                              
                                <form action="<?=base_url('profile/edit_profile_password');?>" method="post">
                                             <div class="row">
                                        <div class="col-md-12">
                                            <div class="form-group">
                                                <label for=""><?php echo LANG_VALUE_100; ?> *</label>
                                                <input type="password" class="form-control" name="cust_password">
                                            </div>
                                            <div class="form-group">
                                                <label for=""><?php echo LANG_VALUE_101; ?> *</label>
                                                <input type="password" class="form-control" name="cust_re_password">
                                            </div>
                                            <div class="form-group text-center">
                                                <input type="submit" class="btn btn-success" value="<?php echo LANG_VALUE_5; ?>" name="form1"> 
                                            </div>
                                           
                                       </div>
                                    </div>
                                    
                                </form>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </section>
      
      
	<script>  
	 function getdt(){
    var state  =$("#statef").val();
   

        $.ajax({
                url:"<?=base_url('profile/get_district');?>",
                 type:"POST",
                 data:{state:state},
                // dataType: 'json',
                 success:function(data)
                 {
           $("#distgg").html(data);
                 }
                     
                 })

	 }      
</script> 
     <?php require('footer.php');?>