Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/list_all_product_images.tpl
{section name=product_images loop=$product_images}
<div style="width:100; float:left; {if $product_images[product_images].is_main==1}background-color:#79BCFF;{else}background-color:#E6F2FF;{/if} padding:3px;"><a href="javascript:setMainProductImage('{$product_images[product_images].id}','{$product_images[product_images].product_id}')" title="Select this image as product main image"><img src="../product_images/{$product_images[product_images].image_filename}" width="100" /></a><a href="javascript:deleteProductImage('{$product_images[product_images].id}','{$product_images[product_images].product_id}')" title="Delete this image"><div align="center"><img src="images/icons/photo_delete.png" title="Delete" align="absmiddle" /> Delete</div></a></div>
{/section}
Return current item: Simple PHP Shopping cart - asaancart