0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
CPMS code
/
CPMS
/
USER
/
[
Home
]
File: edit_acc.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 account |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:66px; height:38px; z-index:1; left: 711px; top: 315px; } #apDiv2 { position:absolute; width:68px; height:40px; z-index:1; left: 712px; top: 276px; } .style3 {font-size: 14px} --> </style> </head> <body> <p> <?php include("include/first_userheader.php"); require_once "edit_acc_ctrl.php"; ?> <marquee> <p> </p> <p align="center" class="projectboldtxt style3"> </p> </marquee> </p> <form action="edit_acc.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p align="center" class="projectboldtxt"><strong> EDIT ACCOUNT</strong></p> <table width="392" height="97" align="center"> <tr> <th height="36" class="projectboldtxt" scope="row"><div align="left">Account id</div></th> <th class="projectboldtxt" scope="row"> <div align="left"> <input type="text" name="txtaccid" id="txtaccid" value="<?php echo $_GET['id']; if (isset($_POST['Update'])) { echo $editaccid; }?>" readonly="readonly"/> </div></th> </tr> <tr> <th width="139" height="33" scope="row"><div align="left" class="projectboldtxt">Account Name</div></th> <td width="241"><label> <input type="text" name="txtaccount" id="txtaccount" value="<?php if (isset($_POST['Update'])) { echo $editaccname; } else { echo $accname; } ?>" /> <span class="valText"> <?php if(isset($error['accountname_null'])) { echo $error['accountname_null']; } else if(isset($error['account_exist'])) { echo $error['account_exist']; } ?> </span> </label></td> </tr> <tr> <th height="33" scope="row"><div align="left" class="projectboldtxt">Under the Group</div></th> <td><label> <select name="cmbgroup" id="cmbgroup"><?php for($j=1;$j<=$i;$j++) {?> <option value="<?php echo $j; ?>"<?php if(isset($_POST['Update'])) { if(@$groupname_restore==$acc_group_array[$j]) { echo "selected='selected'"; } } else { if(@$groupname==$acc_group_array[$j]) { echo "selected='selected'"; } } ?> ><?php echo $acc_group_array[$j]; ?></option><?php }?> </select> </label></td> </tr> <tr> <th height="52" scope="row"> </th> <td><label> <input type="submit" name="Update" id="add" value="UPDATE" /> <a href="Register.php" class="projectboldtxt style3">Back</a></label></td> </tr> <tr></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> <?php include "include/footer.php"; ?> </p> </body> </html>