0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: changepassword.php
<?php $MAIN_HEADING = "Change password"; ?> <?php include("include/pi_header.php"); ?> <?php include("include/alert_message.php"); ?> <form action="changepassword_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="200" height="152" align="center"> <tr> <td><table width="500" height="149" align="center"> <tr> <th width="132" class="projectboldtxt" scope="row"><div align="left">Existing Password</div></th> <td width="156"><label> <input class="form-control" type="password" name="txtex_password" id="txtex_password" value="<?php if (isset($ex_password) && $ex_password!="") { echo $ex_password; } ?>"/> </label></td> <td width="150"><span class="valText"> <?php if(isset($error['password_null'])) { echo $error['password_null']; } if(isset($error['invalid_password'])) { echo $error['invalid_password']; } ?> </span></td> </tr> <tr> <th height="34" class="projectboldtxt" scope="row"><div align="left">New Password</div></th> <td><label> <input class="form-control" type="password" name="txtnewpassword" id="txtnewpassword" value="<?php if (isset($newpassword) && $newpassword!="") { echo $newpassword; } ?>"/> </label></td> <td><span class="valText"> <?php if(isset($error['newpassword_null'])) { echo $error['newpassword_null']; } ?> </span></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Confirm Password</div></th> <td><label> <input class="form-control" type="password" name="txtconfirmpassword" id="txtconfirmpassword"value="<?php if (isset($confirmpassword) && $confirmpassword!="") { if($confirmpassword!=$newpassword) { echo ""; } else echo $confirmpassword; } ?>"/> </label></td> <td><span class="valText"> <?php if(isset($error['confirmpassword_null'])) { echo $error['confirmpassword_null']; } if(isset($error['confirm_null'])) { echo $error['confirm_null']; } ?> </span></td> </tr> <tr> <td><span class="valText"></td> </tr> <tr> <th scope="row"><div align="left"></div></th> <td><label> <input class="btn btn-success" type="submit" name="save" id="save" value="SAVE" /> </label></td> <td> </td> </tr> </table></td> </tr> </table> </form> <?php include "include/footer.php"; ?>