0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
ADMIN
/
[
Home
]
File: edit_pi.php
<?php $MAIN_HEADING = "Edit PI details"; ?> <?php include("include/adminheader.php"); require_once "edit_pi_ctrl.php"; ?> <form action="edit_pi.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="670" height="96" align="center"> <tr> <th height="36" class="projectboldtxt" scope="row"><div align="left">PI id</div></th> <th class="projectboldtxt" scope="row"><label></label> <div align="left"> <div align="left"> <input class="form-control" 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">PI Name</span></div></th> <th width="552" class="projectboldtxt" scope="row"><label></label> <div align="left"> <input class="form-control" 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><td><br/></td></tr> <tr> <th height="26" scope="row"> </th> <th scope="row"><div align="left"> <input class="btn btn-success" type="submit" name="Update" id="Update" value="Update" /> </div></th> </tr> </table> </form> <p> <?php include "include/footer.php"; ?> </p> </body> </html>