



<div class="container">
<div class="container margicso" >

<div class="row">

<div class="col-md-3"></div>

<div class="col-md-6  registor spcarid">

<?php
  $this->load->view('website/user_menu');
?>


<h3 class="sub_hd" >Edit Profile</h3>
<br />
<form method="post" action="" >


<div class="col-md-12 ">



<?php if($suc_msg){ ?>

<div class="fontphp2"><?php echo $suc_msg ; ?></div>

<?php } ?>




<label>Email(User Name) *</label>

<input name="email" id="email" class="input" size="25" maxlength="150" type="text" value="<?=$email?>" disabled="disabled" style="color:#818181;">

<?php if(form_error('email')){ ?>
<span class="fontphp2"><?php echo form_error('email') ; ?></span>
<?php } ?>
  


<label>Your Name *</label>
<input name="first_name" class="input" required size="25" maxlength="50" type="text" value="<?=$first_name?>">

<?php if(form_error('first_name')){ ?>
<span class="fontphp2"><?php echo form_error('first_name') ; ?></span>
<?php } ?>



    <label>Address *</label>
    <textarea name="address" required cols="3" rows="2" class="input" ><?=$address?></textarea>

<?php if(form_error('address')){ ?>
<span class="fontphp2"><?php echo form_error('address') ; ?></span>
<?php } ?>



        
  



    <label>Mobile number *</label>

    <input name="mobile" required class="input" size="25" maxlength="12" type="text" value="<?=$mobile?>">

<?php if(form_error('mobile')){ ?>
<?php echo form_error('mobile') ; ?></span>
<?php } ?>    







    <label>Telephone </label>

    <input name="tel" class="input" size="25" maxlength="50" type="text" value="<?=$tel?>">
    
<?php if(form_error('tel')){ ?>
<span class="fontphp2"><?php echo form_error('tel') ; ?></span>
<?php } ?>    





    <?php if(form_error('pin')){ ?>
<span class="fontphp2"><?php echo form_error('pin') ; ?></span>
<?php } ?>   
   




</div>
<br />

<input name="update" class="btn btn-lg btn-primary btn-block btn2" value="Update" type="submit"  style=" width:200px; margin-left:15px;"  />
</form>
<br />
</div>
</div>
</div>
</div>
