<?
session_start();
if($status!="on")  header("Location: ./login.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>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>Add</title>
</head>
<script type="text/javascript" src="calendarDateInput.js">

/***********************************************
* Jason's Date Input Calendar- By Jason Moon http://calendar.moonscript.com/dateinput.cfm
* Script featured on and available at http://www.dynamicdrive.com
* Keep this notice intact for use.
***********************************************/
</script>
<body>
<table border="0" cellpadding="0" cellspacing="5" bgcolor="#FF9900">
  <tr>
    <td bgcolor="#FF9900">Username : <?php echo $uid ?> </td>
    <td bgcolor="#FFCC00"><a href="form2.php">Main</a></td>
    <td>&nbsp;</td>
    <td bgcolor="#FFCCCC"><a href="logout.php">Logout</a></td>
  </tr>
</table>
<br />

<form action="ac_addproduct.php" method="get">
  <table width="100%" border="0" cellspacing="0" cellpadding="5">
    <tr height="17">
      <td width="22%" height="17" align="right">รหัสสินค้า</td>
      <td width="78%" align="left"><input name="model"  id="model" type="text"value="" /></td>
    </tr>
    <tr height="17">
      <td height="17" align="right">ประเภทสินค้า</td>
      <td align="left"><input name="type" type="text"  id="type"value="" size="50" /></td>
    </tr>
    <tr height="17">
      <td height="17" align="right">กลุ่ม</td>
      <td align="left"><input name="group" type="text"  id="group"value="" size="50" /></td>
    </tr>
    <tr height="17">
      <td height="17" align="right">ชื่อสินค้า</td>
      <td align="left"><input name="name" type="text"  id="name"value="" size="50" /></td>
    </tr>
    <tr height="17">
      <td height="17" align="right">ระดับความปลอดภัย</td>
      <td align="left"><select name="select">
        <option>0</option>
        <option>1</option>
        <option>2</option>
      </select>      </td>
    </tr>
    <tr height="17">
      <td height="17" align="right">น้ำหนัก</td>
      <td align="left"><input name="weight" type="text"  id="weight"value="" size="50" /></td>
    </tr>
    <tr height="17">
      <td height="17" align="right">จำนวน</td>
      <td align="left"><input name="amount" type="text"  id="amount"value="" size="20" /></td>
    </tr>
    <tr>
      <td align="right">&nbsp;</td>
      <td><input type="submit" name="Submit" value="Submit" />
        <label>
        <input type="reset" name="Submit2" value="Reset" />
      </label></td>
    </tr>
  </table>
</form>
</body>
</html>
