Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/product_box_10.tpl
<h4>Latest products</h4>
<p>Showing last 5 products added. <a href="add_product.php" title="Add New Product"><img src="images/btns/btn_new_product.jpg" alt="Add New Product" align="absmiddle" /></a></p>
<div style="clear:both"></div>
{section name=all_product_list loop=$all_product_list}
<div id="product_box_dashboard">
<div style="width:270px; float:left;">{$all_product_list[all_product_list].product_name}</div>
<div style="width:100px; float:left;">$ {$all_product_list[all_product_list].product_price}</div>
<div style="width:60px; float:left;">
{section name=product_images loop=$product_images}
{if $product_images[product_images].product_id == $all_product_list[all_product_list].product_id}
<img src="../product_images/{$product_images[product_images].image_filename}" width="50" align="absmiddle" />{/if}
{/section}</div>
 <!--
<a href="javascript:deleteProduct('{$all_product_list[all_product_list].product_id}');"><img src="images/icons/delete_icon_12x12.jpg" title="Delete" /></a> --> <a href="edit_product.php?product_id={$all_product_list[all_product_list].product_id}"><img src="images/icons/edit_icon_small.jpg" title="Edit" align="absmiddle" /></a>
</div>
<div style="clear:both"></div>
{/section}
<div style="clear:both"></div>
Return current item: Simple PHP Shopping cart - asaancart