<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
      <div class="main my-0">
        <div class="row mt-3 mx-0">
          <div class="col-md-6">
            <h3><?php echo $pgheading;?></h3>
          </div>
          <div class="col-md-5 text-right">
            &nbsp;
          </div>
        </div>
         <?php
			if($this->session->flashdata("message")!="" && $this->session->flashdata("alerttype")!="")
			{
         ?>
         <div class="ml-3 my-4">
			 <span class="alert <?php echo $this->session->flashdata("alerttype");?>"><?php echo $this->session->flashdata("message");?></span>
         </div>
         <?php
			}
         ?>
        <div class="container_fluid mt-2 px-3 col-md-6">
        <form name="frmgeneral" method="post" action="account/managepass" onsubmit="return checkpass();">
        <table class="webforms sttbl mt-0">
         <tr>
          <td><label>Username:</label></td>
          <td><?php echo $this->lguserinfo["sessUserName"];?></td>
         </tr>
         <tr>
          <td><label>Current Password:</label></td>
          <td><input type="password" name="currpass" value="" required></td>
         </tr>
         <tr>
          <td><label>New Password:</label></td>
          <td><input type="password" name="userpass" id="userpass" value="" required></td>
         </tr>
         <tr>
          <td><label>Confirm New Password:</label></td>
          <td><input type="password" name="cuserpass" id="cuserpass" value="" required></td>
         </tr>
         <tr>
          <td></td>
          <td><button class="btn btn-success">Change Password</button></td>
         </tr>
         </table>
        </form>
                 
	         <div class="clearfix"></div>
          
        </div>
        
            
        </div>

