0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
CPMS
/
USER
/
[
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>changepassword |online project financial management system for CWRDM</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"> <!-- #apDiv1 { position:absolute; width:305px; height:150px; z-index:1; left: 293px; top: 168px; } .style4 { font-size: 16px } --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php include("include/userheader.php"); ?> </div> </div> </p> <p class="msgText"> <?php if (isset($message)) echo $message;?> </p> <p class="msgText"> </p> <p class="msgText"> </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="415" height="123" align="center"> <tr> <th width="130" height="24" class="projectboldtxt" scope="row"><div align="left">Existing password</div></th> <td width="144"><input type="password" name="txtexpasswd" id="txtexpasswd" value="<?php if ($ex_password!="") { echo $ex_password; } ?>"/></td><td width="125"><label><span class="valText"><?php if(isset($error['newpassword_null'])) { echo $error['newpassword_null']; } if(isset($error['password_invalid'])) { echo $error['password_invalid']; } ?></label></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">New Password</div></th> <td><input type="password" name="txtnewpasswd" id="txtnewpasswd" value="<?php if ($newpassword!="") { echo $newpassword; } ?>"/></td> <td><label><span class="valText"> <?php if(isset($error['newpassword_null'])) { echo $error['newpassword_null']; } ?></span></label></td> </tr> <tr> <th height="31" class="projectboldtxt" scope="row"><div align="left">Confirm Password</div></th> <td><input type="password" name="txtconfirmpasswd" id="txtconfirmpasswd" value="<?php if ($confirmpassword!="") { if($confirmpassword!=newpassword) { echo ""; } else echo $confirmpassword; } ?>"/></td> <td><label><span class="valText"> <?php if(isset($error['confirmpassword_null'])) { echo $error['confirmpassword_null']; } if(isset($error['confirm_null'])) { echo $error['confirm_null']; } ?></span></label></td> </tr> <tr> <th scope="row"><p> </p></th> <td><input type="submit" name="change" id="change" value="CHANGE" /></td> <td><label></label></td> </tr> </table> </form> <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>