<!-- $Id: product_form.tpl,v 1.26 2001/05/03 04:06:55 bettina Exp $ -->

<!-- BEGIN form -->

<p><b>&nbsp;&nbsp;&nbsp;{lang_action}</b><br>
    <hr noshade width="98%" align="center" size="1">
<center>
{message}<br>
<FORM name="form" action="{actionurl}" method="POST">
{hidden_vars}
<table>
    <tr width=100% align=center>
    <td>{lang_choose}</td>
    <td>&nbsp;{choose}</td>
    </tr>
</table>
<table width="98%" border="0" cellpadding="2" cellspacing="2">
    <tr>
      <td width="31%" height="35" colspan="2"><div align="right">{lang_id}:</div></td>
      <td width="24%" height="35"><input name="id" value="{id}"></td>
      <td width="21%" height="35"><div align="right">{lang_url}:</div></td>
      <td width="31%" height="35"><input name="url" value="{url}"></td>
    </tr>
    <tr>
      <td width="31%" height="35" colspan="2"><div align="right">{lang_serial}:</div></td>
      <td width="24%" height="35"><input name="serial" value="{serial}"></td>
      <td width="21%" height="35"><div align="right">{lang_ftp}:</div></td>
      <td width="25%" height="35"><input name="ftp" value="{ftp}"></td>
    </tr>
    <tr>
      <td colspan="2"><div align="right">{lang_short_name}:</div></td>
      <td width="24%"><input name="short_name" value="{short_name}"></td>
      <td width="21%"><div align="right">{lang_distributor}:</div></td>
      <td width="25%"><select name="dist"><option value="">{lang_select_dist}</option>{dist_list}</select></td>
    </tr>
    <tr>
      <td colspan="2"><div align="right">{lang_category}:</div></td>
      <td width="24%"><select name="category">{category_list}</select></td>
      <td width="21%"><div align="right">&nbsp;</div></td>
      <td width="25%">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2"><div align="right">{lang_description}:</div></td>
      <td><textarea name="descr" rows="4" cols="50" wrap="VIRTUAL">{descr}</textarea></td>
      <td width="21%"><div align="right">&nbsp;</div></td>
      <td width="25%">&nbsp;</td>
    </tr>
    <tr>
     <td colspan="5" height="2">&nbsp;</td>     
    </tr>
    <tr>
      <td colspan="2" height="15"><div align="right">{lang_cost}:&nbsp;{currency}</div></td>
      <td width="24%" height="15"><input name="cost" value="{cost}"></td>
      <td width="21%" height="15"><div align="right"># {lang_in_stock}:</div></td>
      <td width="25%" height="15"><input name="stock" value="{stock}"></td>
    </tr>
    <tr>
      <td colspan="2"><div align="right">{lang_price}:&nbsp;{currency}</div></td>
      <td width="24%"><input name="price" value="{price}"></td>
      <td width="21%"><div align="right">{lang_min_stock}:</div></td>
      <td width="25%"><input name="mstock" value="{mstock}"></td>
    </tr>
    <tr>
      <td colspan="2" height="2"><div align="right">{lang_retail}:&nbsp;{currency}</div></td>
      <td width="24%" height="2"><input name="retail" value="{retail}" readonly></td>
      <td width="21%" height="2"><div align="right">{lang_status}:</div></td>
      <td width="25%" height="2"><select name="status">{status_list}</select></td>
    </tr>
    <tr>
     <td colspan="5" height="2">&nbsp;</td>
    </tr>
   <tr>
      <td colspan="2" height="2"><div align="right">{lang_purchase_date}:</div></td>
      <td colspan="2">{purchase_date_select}</td>
    </tr>
    <tr>
      <td colspan="2" height="2"><div align="right">{lang_selling_date}:</div></td>
      <td colspan="2">{selling_date_select}</td>
    </tr>
  </table>

<!-- BEGIN add -->

    <table width=50% border="0" cellpadding="2" cellspacing="2"> 
    <tr>
      <td height="50">
       {hidden_vars}
       <input name="submit" type="submit" value="{lang_add}"></td>
       <td height="50"><input type="reset" name="reset" value="{lang_reset}"></form></td>
      <td height="50">
	<form method="POST" action="{done_action}">
       {hidden_vars}
       <input type="submit" name="done" value="{lang_done}"></form></td> 
      </tr>
      <tr>
       <td align=center>{error}</td>                                                                                                                     
    </tr>  
  </table>
 </center>

<!-- END add -->

<!-- BEGIN edit -->

         <table width="50%" border="0" cellspacing="2" cellpadding="2">
         <tr>
          <td height="50">
           {hidden_vars}
           <input type="submit" name="submit" value="{lang_edit}"></form></td>
          <td height="50">
	    {hidden_vars}
	    {delete}</td>
          <td height="50">
            <form method="POST" action="{done_action}">
           {hidden_vars}
         <input type="submit" name="done" value="{lang_done}"></form></td>
         </tr>
         <tr>
      <td align=center>{error}</td>
        </tr>
        </table>
         </center>

<!-- END edit -->

<!-- END form -->