0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
CPMS code
/
CPMS
/
ADMIN
/
[
Home
]
File: changepassword.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>change password | OFMSP</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="../style.css" rel="stylesheet" type="text/css" /> <link rel="icon" href="../images/icon.ico" /> <style type="text/css"> <!-- .style4 {font-size: 14px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php include("include/adminheader.php"); ?> </div> </div><span class="msgText"><?php if (isset($message)) echo $message;?></span></p> <p> </p> <p> </p> <p> </p> <p align="center" class="projectboldtxt style4">Change password</p> <form action="changepassword_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="200" height="152" border="1" align="center"> <tr> <td><table width="388" height="149" align="center"> <tr> <th width="132" class="projectboldtxt" scope="row"><div align="left">Existing Password</div></th> <td width="156"><label> <input type="password" name="txtex_password" id="txtex_password" value="<?php if ($ex_password!="") { echo $ex_password; } ?>"/> </label></td> <td width="84"><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 type="password" name="txtnewpassword" id="txtnewpassword" value="<?php if ($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 type="password" name="txtconfirmpassword" id="txtconfirmpassword"value="<?php if ($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 type="submit" name="save" id="save" value="SAVE" /> </label></td> <td> </td> </tr> </table></td> </tr> </table> </form> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p></p> </div> <?php include "include/footer.php"; ?> </p> </body> </html>