<?php $this->load->view('header');?>
		
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            &nbsp;
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="<?php echo base_url();?>"><?php echo $this->lang->line('hf_home');?></a></li>
              <li class="breadcrumb-item"><?php echo $this->lang->line('hf_settings');?></li>
              <li class="breadcrumb-item active"><?php echo $this->lang->line('hf_security_password');?></li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>

	<!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="card card-default">
          <div class="card-header">
            <h3 class="card-title"><?php echo $this->lang->line('hf_security_password');?></h3>

            <div class="card-tools">
              
            </div>
          </div>
          <!-- /.card-header -->
          <div class="card-body">
			<form class="form-horizontal" id="security-password-form">
				<div class="form-group row">
					<label for="old_security_password" class="col-sm-3 col-form-label"><?php echo $this->lang->line('profile_old_security_password');?></label>
					<div class="col-sm-4">
					  <input type="password" class="form-control" id="old_security_password" name="old_security_password" placeholder="<?php echo $this->lang->line('profile_old_security_password_must_fill_in_message');?>">
					</div>
				</div>
				<div class="form-group row">
					<label for="security_password" class="col-sm-3 col-form-label"><?php echo $this->lang->line('profile_new_security_password');?></label>
					<div class="col-sm-4">
					  <input type="password" class="form-control" id="security_password" name="security_password" placeholder="<?php echo $this->lang->line('profile_new_security_password_must_fill_in_message');?>">
					</div>
				</div>
				<div class="form-group row">
					<label for="confirm_security_password" class="col-sm-3 col-form-label"><?php echo $this->lang->line('profile_confirm_password');?></label>
					<div class="col-sm-4">
					  <input type="password" class="form-control" id="confirm_security_password" name="confirm_security_password" placeholder="<?php echo $this->lang->line('profile_reenter_password_again_message');?>">
					</div>
				</div>
				<div class="form-group row">
					<div class="offset-sm-3 col-sm-9">
					  <input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>" />
					  <button onclick="security_password_update()" type="button" class="btn btn-primary"><?php echo $this->lang->line('profile_submit_update');?></button>
					</div>
				</div>
			</form>
          </div>
          <!-- /.card-body -->
        </div>
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
		
<?php $this->load->view('footer');?>		