0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
CPMS
/
ADMIN
/
[
Home
]
File: edit_user.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>edit group |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"> <!-- .style1 { font-size: 18px; color: #FF0000; } #apDiv1 { position:absolute; width:61px; height:38px; z-index:1; left: 759px; top: 266px; } .style2 {font-family: Arial} .style4 { color: #853008; font-family: Arial; font-size: 12px; } --> </style> </head> <body> <p> <?php include("include/adminheader.php"); require_once "edit_user_ctrl.php"; ?> <marquee> <span class="style1">Edit the User details</span> </marquee> </p> </p> <p> </p> <p> </p> <form action="edit_user.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="670" height="213" align="center"> <tr> <th height="36" class="projectboldtxt" scope="row"><div align="left">User id</div></th> <th class="projectboldtxt" scope="row"><label></label> <div align="left"> <div align="left"> <input type="text" name="txtuserid" id="txtuserid" value="<?php echo $_GET['id']; if (isset($_POST['Update'])) { echo $edituserid; }?>" readonly="readonly"/> </div> <label></label> </tr> <tr> <th width="106" height="24" class="projectboldtxt" scope="row"><div align="left"><span class"projectboldtxt">UserName</span></div></th> <th width="552" class="projectboldtxt" scope="row"><label></label> <div align="left"> <input type="text" name="txtuser" id="txtuser" value= "<?php if (isset($_POST['Update'])) { echo $editusername; } else { echo $username; } ?>" /> <span class="valText"> <?php if(isset($error['username_null'])) { echo $error['username_null']; } if(isset($error['username'])) { echo $error['username']; } ?> </span></div></th> </tr> <tr> <th height="24" scope="row"><div align="left" class="style4">Password</div></th> <td><input type="text" name="txtpassword" id="txtpassword" value=""/> (Leave this field blank, if you have to retain old password)</td> </tr> <tr> <th height="24" scope="row"><div align="left" class="style4">Email</div></th> <td><input type="text" name="txtemail" id="txtemail" value="<?php if (isset($_POST['Update'])) { echo $editemail; } else { echo $email; } ?>" /> <span class="valText"> <?php if(isset($error['email_null'])) { echo $error['email_null']; } ?></span></td> </tr> <tr> <th height="25" scope="row"><div align="left" class="style4">Verification Date</div></th> <th scope="row"><label> </label> <table width="410" border="0" align="left"> <tr> <td width="45"><select name="cmbreceiptdd" id="cmbreceiptdd"> <?php for ($i=1; $i<=31; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(isset($_POST['Update'])) { if(@$receipt_dd_restore==$i) { echo "selected='selected'"; } } else { if(@$receipt_dd==$i) { echo "selected='selected'"; } } ?> ><?php echo $i ?></option> <?php } ?> </select></td> <td width="45"><select name="cmbreceiptmm" id="cmbreceiptmm"> <?php for($i=1; $i<=12; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(isset($_POST['Update'])) { if(@$receipt_mm_restore==$i) { echo "selected='selected'"; } } else { if(@$receipt_mm==$i) { echo "selected='selected'"; } } ?> ><?php echo $month[$i]; ?></option> <?php } ?> </select></td> <td width="32"><input name="txtreceiptyy" type="text" id="txtreceiptyy" value= "<?php if (isset($_POST['Update'])) { echo $receipt_yy_restore; } else { echo $receipt_yy; } ?>" size="5" maxlength="4"/></td> <td width="270"><span class="valText"> <?php if(isset($error['receipt_yy_null'])) { echo $error['receipt_yy_null']; } else if(isset($error['receipt_date'])) { echo $error['receipt_date']; } ?> </span></td> </tr> </table> <label></label> <label></label> <label></label></th> </tr> <tr> <th height="64" scope="row"> </th> <th scope="row"><span class="style2"><div align="left"><input type="submit" name="Update" id="Update" value="Update" /> </div> </span></th> </tr> </table> </form> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> <?php include "include/footer.php"; ?> </p> </body> </html>