HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: //var/www/html/taxicamera/old/applicationold/views/admin/changepassword - Copy.php
<!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h3>
            Password settings
            
          </h3>
          <!--<ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li class="active">Dashboard</li>
          </ol>-->
        </section>

        <!-- Main content -->
        <section class="content"> 
			<div class="row">
				<!-- general form elements -->
				<div class="col-md-12">
					  <div class="box box-primary">
						<div class="box-header with-border">
						<?php if($this->session->flashdata('error_msg')){?>
								<span style="color:red; font-weight:bold"><?php echo $this->session->flashdata('error_msg');?></span>
							<?php }?>
							<?php if($this->session->flashdata('success_msg')){?>
								<span style="color:green; font-weight:bold"><?php  echo $this->session->flashdata('success_msg'); ?></span>
							<?php }?>
						</div>
						<!-- /.box-header -->
						<!-- form start -->
						<form role="form" class="mtbresize" method="post" action="<?php echo base_url('admin/changepassword/changeuserpasswd');?>">
						  <div class="box-body">
							<div class="form-group">
							  <label for="oldpassw1">Old Password</label>
							  <input type="password" class="form-control" id="oldpassw1" name="oldpassw" placeholder="old password" value="<?php echo set_value('oldpassw');?>" required="required">
							  <?php echo form_error('oldpassw'); ?>
							</div>
							<div class="form-group">
							  <label for="exampleInputPassword1">New Password</label>
							  <input type="password" class="form-control" id="exampleInputPassword1" name="newpassw" value="<?php echo set_value('newpassw');?>" placeholder="new password" required="required">
							  <?php echo form_error('newpassw'); ?>
							</div>
							<div class="form-group">
							  <label for="exampleInputPassword2">Confirm Password</label>
							  <input type="password" class="form-control" id="exampleInputPassword2" name="confpassw" placeholder="confirm password" value="<?php echo set_value('confpassw');?>" required="required">
							  <?php echo form_error('confpassw'); ?>
							</div>
						  </div>
						  <!-- /.box-body -->
						 <?php $admin=$this->session->userdata('admin');?>	
						  <div class="box-footer">
						  	<input type="hidden" name="user_id" value="<?php echo $admin['admin_id'];?>">
							<button type="submit" class="btn btn-sm btn-primary">Submit</button>
						  </div>
						</form>
					  </div>
				</div>
          <!-- /.box -->
          </div><!-- /.row -->	
        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->