<!-- begin:: Subheader -->
<div class="kt-subheader   kt-grid__item" id="kt_subheader">
<div class="kt-container  kt-container--fluid ">
    <div class="kt-subheader__main">
        <h3 class="kt-subheader__title">
            Home </h3>
        <span class="kt-subheader__separator kt-hidden"></span>
        <div class="kt-subheader__breadcrumbs">
            <a  class="kt-subheader__breadcrumbs-home"><i class="flaticon2-shelter"></i></a>
            <span class="kt-subheader__breadcrumbs-separator"></span>
            <a class="kt-subheader__breadcrumbs-link">
                Change Password </a>
            <span class="kt-subheader__breadcrumbs-separator"></span>
            <a class="kt-subheader__breadcrumbs-link">
                Change Password </a>
            <span class="kt-subheader__breadcrumbs-separator"></span>
            
        </div>
    </div>                                        
</div>
</div>
<!-- end:: Subheader -->
<!-- begin:: Content -->
<div class="kt-container  kt-container--fluid  kt-grid__item kt-grid__item--fluid">
   <div class="kt-portlet">
      <div class="kt-portlet__body kt-portlet__body--fit">
         <div class="kt-grid  kt-wizard-v1 kt-wizard-v1--white" id="kt_projects_add" data-ktwizard-state="first">            
            <div class="kt-grid__item kt-grid__item--fluid kt-wizard-v1__wrapper">
               <!--begin: Form Wizard Form-->
               <?php if($message!='success') {?>    
               <form class="kt-form" action="<?=base_url();?>admin/change_password" method="post" novalidate="novalidate">
                  <!--begin: Form Wizard Step 1-->
                  <div class="kt-wizard-v1__content" data-ktwizard-type="step-content" data-ktwizard-state="current">                    
                     <div class="kt-section kt-section--first">
                        <div class="kt-wizard-v1__form">
                           <div class="row">
                              <div class="col-xl-12">
                                 <div class="kt-section__body">
                                   <div class="form-group row <?php if(form_error('old_password')){ ?>has-error<?php } ?>">
                                            <label class="col-xl-3 col-lg-3 col-form-label">Old Password 
                                                <span class="required"> * </span>
                                            </label>
                                            <div class="col-lg-9 col-xl-9">
                                                <input type="password" name="old_password"  id="old_password" placeholder="Old Password" class="form-control input-height" value="<?=set_value('old_password');?>" /> 
                                                <span class="help-block"> <?=form_error('old_password'); ?> </span>
                                            </div>                                                  
                                    </div>
                                     <div class="form-group row <?php if(form_error('new_password')){ ?>has-error<?php } ?>">
                                            <label class="col-xl-3 col-lg-3 col-form-label">New Password
                                                <span class="required"> * </span>
                                            </label>
                                            <div class="col-lg-9 col-xl-9">
                                                <input type="password" name="new_password"  id="new_password" placeholder="New Password" class="form-control input-height" value="<?=set_value('new_password');?>" /> 
                                                <span class="help-block"> <?=form_error('new_password'); ?> </span>
                                            </div>                                                  
                                    </div>
                                     <div class="form-group row <?php if(form_error('confirm_password')){ ?>has-error<?php } ?>">
                                            <label class="col-xl-3 col-lg-3 col-form-label">Confirm New Password
                                                <span class="required"> * </span>
                                            </label>
                                            <div class="col-lg-9 col-xl-9">
                                                <input type="password" name="confirm_password"  id="confirm_password" placeholder="Confirm New Password" class="form-control input-height" value="<?=set_value('confirm_password');?>" /> 
                                                <span class="help-block"> <?=form_error('confirm_password'); ?> </span>
                                                </div>                                                  
                                    </div>                                                             
                                    
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
                  <!--end: Form Wizard Step 1-->         
                 <!--begin: Form Actions -->
                  <div class="kt-form__actions">                    
                     <button type="Submit" class="btn btn-brand btn-md btn-tall btn-wide kt-font-bold kt-font-transform-u" data-ktwizard-type="action-next">
                        Submit
                     </button>
                  </div>
                  <!--end: Form Actions -->
               </form>
               <?php }
                if($message=='success') {
                ?>
                <div class="table-scrollable">
                    <div class="kt-wizard-v1__content" data-ktwizard-type="step-content" data-ktwizard-state="current">                    
                     <div class="kt-section kt-section--first">
                        <div class="kt-wizard-v1__form">
                           <div class="alert alert-success">
                                Your Password Has been changed Successfully.
                            </div>  
                        </div>
                        </div>                                    
                    </div>
                </div>
                <?php } ?>
               <!--end: Form Wizard Form-->
            </div>
         </div>
      </div>
   </div>
</div>