0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: additem.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>Add item| 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"> <!-- .style3 {color: #990000} .style4 {font-size: 14px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php require_once "additem_ctrl.php"; include("include/first_userheader.php"); ?> </p> <p> </p> <p> </p> <p class="msgText"> <?php if (isset($message)) echo $message;?> </p> <p align="center" class="projectboldtxt style4">Stock Item Entry Form</p> <form action="additem_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="200" height="198" border="1" align="center"> <tr> <td><table width="424" height="189" align="center"> <tr> <th width="115" height="33" scope="row"><div align="left" class="projectboldtxt">Item Name</div></th> <td width="153"><input name="txtitemname" type="text" id="txtitemname" value="<?php if ($itemname_restore!="") { echo $itemname_restore; } ?>"/></td> <td><span class="valText"> <?php if(isset($error['itemname_restore_null'])) { echo $error['itemname_restore_null']; } if(isset($error['itemname_exist'])) { echo $error['itemname_exist']; } ?> </span></td> </tr> <tr> <th height="33" scope="row"><div align="left" class="projectboldtxt">Under the Account</div></th> <td><select name="cmbstockacc" id="cmbstockacc"> <?php for($j=1;$j<=$i;$j++) {?> <option value="<?php echo $j; ?>"><?php echo $stock_acc_array[$j]; ?></option> <?php }?> </select></td> <td><label></label></td> </tr> <tr> <th height="33" scope="row"><div align="left" class="projectboldtxt">Description</div></th> <td><label> <textarea name="txtdescription" id="txtdescription" cols="20" rows="5"><?php if ($description!="") { echo $description; } ?> </textarea> </label></td> <td><?php /*?><span class="valText"><?php if(isset($error['description_null'])) { echo $error['description_null']; } ?></span><?php */?></td> </tr> <tr> <th height="26" scope="row"><span class="style3"></span></th> <td><input type="submit" name="add" id="add" value="ADD" /> <label><a href="search_stockitem.php" class="projectboldtxt">Search & Edit</a></label> </td> <td><label></label> <label><a href="stockmanagement.php" class="projectboldtxt style4">Back</a></label></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> </div> <?php include "include/footer.php"; ?> </p> </body> </html>