Location: PHPKode > projects > MyMarket > mymarket-1.72/admin/templates/product_list.php
<p class="normal">
<a href="<?=$ME?>?mode=add">[+P] Add Product</a>
</p>

<table border="1" cellpadding="3">
<tr>
	<th>Action</th>
	<th>Category</th>
	<th>Name</th>
	<th>Description</th>
	<th>Price (<?=$CFG->currency ?>)</th>
	<th>Special</th>
</tr>

<? while ($r = db_fetch_object($qid)) { ?>
<tr>
	<td class="normal">[ <a title="Delete <? pv($r->name) ?>" href="<?=$ME?>?mode=del&id=<? pv($r->id) ?>" onClick="return confirm('Delete <?=jstring($r->name) ?>?')">X</a> ]</td>
	<td class="normal"><? pv($r->category) ?></td>
	<td class="normal"><a title="Edit this category" href="<?=$ME?>?mode=edit&id=<? pv($r->id) ?>"><? pv($r->name) ?></a></td>
	<td class="normal"><? pv($r->description) ?></td>
	<td class="normal" align=right><? pv($r->price) ?></td>
	<td class="normal" align="center"><?= ($r->on_special) ? "<font color=\"#ff0000\">*</font>" : "&nbsp;" ?></td>
</tr>
<? } ?>

</table>
Return current item: MyMarket