Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/site_product_image_viewer.tpl
{section name=all_product_list loop=$all_product_list}
{section name=all_brands loop=$all_brands}
{if $all_brands[all_brands].brand_id == $all_product_list[all_product_list].brand_id}
<img src="../brand_images/{$all_brands[all_brands].brand_logo}" title="{$all_brands[all_brands].brand_name}" width="100" /><br />{/if}
{/section}<br />
      <div style="width:100%; float:left; overflow:auto;">{section name=product_images loop=$product_images}
        {if $product_images[product_images].product_id == $all_product_list[all_product_list].product_id}
        <a href="#" onClick="changeProductImage('{$product_images[product_images].image_filename}')"><img src="../product_images/{$product_images[product_images].image_filename}" border="0" width="60" /></a> {/if}
        {/section}
        </div>
        <div>{if $current_image!=""}
        <img src="{$current_image}" id="main_product_image" border="0"/><br />
        {/if}
        </div>
        
        
        
{/section}
Return current item: Simple PHP Shopping cart - asaancart