<form action="processProduct.php?action=modifyProduct&productId=<{$productId}>" method="post" enctype="multipart/form-data" name="frmAddProduct" id="frmAddProduct">
<p align="center" class="formTitle">Modify Product</p>
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable">
<tr>
<td width="150" class="label">Category</td>
<td class="content"> <select name="cboCategory" id="cboCategory" class="box">
<option value="" selected>-- Choose Category --</option>
<{$list}>
</select></td>
</tr>
<tr>
<td width="150" class="label">Product Name</td>
<td class="content"> <input name="txtName" type="text" class="box" id="txtName" value="<{$pd_name}>" size="50" maxlength="100"></td>
</tr>
<tr>
<td width="150" class="label">Product Title</td>
<td class="content"> <input name="txtTitle" type="text" class="box" id="txtTitle" size="70" value="<{$pd_title}>"></td>
</tr>
<tr>
<td width="150" class="label">Description</td>
<td class="content"> <textarea name="mtxDescription" cols="70" rows="10" class="box" id="mtxDescription"><{$pd_description}></textarea></td>
</tr>
<tr>
<td width="150" class="label">Price</td>
<td class="content"><input name="txtPrice" type="text" class="box" id="txtPrice" value="<{$pd_price}>" size="10" maxlength="7"> </td>
</tr>
<tr>
<td width="150" class="label">Qty In Stock</td>
<td class="content"><input name="txtQty" type="text" class="box" id="txtQty" value="<{$pd_qty}>" size="10" maxlength="10"> </td>
</tr>
<tr>
<td width="150" class="label">Image</td>
<td class="content"> <input name="fleImage" type="file" id="fleImage" class="box">
<{if $haveimage}>
<br>
<img src="<{$pd_thumbnail}>"> <a href="javascript:deleteImage(<{$productId}>);">Delete
Image</a>
<{/if}>
</td>
</tr>
</table>
<p align="center">
<input name="btnModifyProduct" type="submit" id="btnModifyProduct" value="Modify Product" onClick="checkAddProductForm();" class="box">
<input name="btnCancel" type="button" id="btnCancel" value="Cancel" onClick="window.location.href='index.php';" class="box">
</p>
</form>