Location: PHPKode > projects > MyMarket > mymarket-1.72/admin/templates/product_form.php
<form name="entryform" method="post" action="<?=$ME?>">
<input type="hidden" name="mode" value="<?=$frm["newmode"]?>">
<input type="hidden" name="id" value="<?=pv($id)?>">
<table>
<tr valign="top">
	<td><div class="label">Categories:</div>
		<select name="categories[]" multiple size="10">
		<?=$category_options?>
		</select>
	</td>

	<td width="10" nowrap></td>

	<td><table>
		<tr valign="top">
			<td class="label">On Special:</td>
			<td><input type="checkbox" name="on_special" <?=frmchecked($frm["on_special"])?>></td>
			<td class="normal" align="right">
        <span class="label">Last update:</span>
        <?=mysql_timestamp(nvl($frm["timestamp"]), "Never")?>
      </td>
		</tr>
		<tr>
			<td class="label">Name:</td>
			<td colspan="2"><input type="text" name="name" size=25 value="<? pv($frm["name"]) ?>"></td>
		</tr>
		<tr valign="top">
			<td class="label">Price (<?=$CFG->currency?>):</td>
			<td colspan="2" class="normal">
			<input type="text" name="price" size="10" value="<? pv($frm["price"]) ?>">
			</td>
		</tr>
		<tr valign="top">
			<td class="label">Description:</td>
			<td colspan="2"><textarea name="description" cols="50" rows="5"><? pv($frm["description"]) ?></textarea></td>
		</tr>
		<tr>
			<td></td>
			<td colspan="2"><input type="submit" value="<?=$frm["submit_caption"] ?>"></td>
    </tr>
		</table>
	</td>
</tr>
</table>
</form>
Return current item: MyMarket