<!DOCTYPE html>
<html lang="en">
    
    <?php include("includes/head.php"); ?>
      
  <body>

    <div class="container-fluid">
        
        <?php include("includes/header.php"); ?>
        	
        <?php include("includes/breadcrumb.php"); ?>
        	                
        
        <div class="container">
	   <div class="row main-inner-content">
            
            
            
            
                        <div class="col-md-12">
                            <h2>My Account</h2>

                            <div class="sortbycont">
                            <span>Please edit your information</span>            
                                <br><br>    <br><br>
                            </div>


                            <div class="row">
                                    
                                <div class="col-md-6 col-sm-12 signinboxcont">
                                                                                                                                
                                                <h2>Edit Profile</h2>
                                                
                                                <form method="post" action="<?= site_url("editprofile/".$this->session->userdata("CustomerID"))?>">
                                                     <label>First Name</label> <br>
                                                     <input name="fname" id="txtfname" type="text" value="<?=$fname?>" ><br>                                                
                                                    <label>Last Name</label> <br>
                                                    <input name="lname" id="txtlname" type="text" value="<?=$lname?>" ><br>  <br>                                                                                                                                                                                                        
                                                    <input type="submit" name="subinp" class="signin" value="Save">                                                    
                                                </form>
                                                <br>    
                                                <div class="red">
                                                    <?php echo validation_errors(); ?>                                                    
                                                </div>
                                                <div class="green">                                                    
                                                    <?=$message ?>
                                                    </div>
                                                                                                                                                
                                    </div> 
                                                                                                 
                            </div>
                        </div>             
           </div>	                                                                          
        </div>
        
        
        <?php include("includes/footer.php"); ?>
        
        	
  </body>
</html>