Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/shop/store_banner.tpl
{section name=storeBanners loop=$storeBanners}
{if $storeBanners[storeBanners].banner_id==1}
    {if $storeBanners[storeBanners].banner_link!=""}
    <a href="product.php?product_id={$storeBanners[storeBanners].banner_link}">
    <img src="../banner_images/{$storeBanners[storeBanners].banner_image}" width="{$storeBanners[storeBanners].width}" height="{$storeBanners[storeBanners].height}" align="{$storeBanners[storeBanners].banner_name}" border="0"  />
    </a>
    {else}
    <a href="{$storeBanners[storeBanners].external_url}">
    <img src="../banner_images/{$storeBanners[storeBanners].banner_image}" width="{$storeBanners[storeBanners].width}" height="{$storeBanners[storeBanners].height}" align="{$storeBanners[storeBanners].banner_name}" border="0"  />
    </a>
    {/if}
{/if}
{/section}
Return current item: Simple PHP Shopping cart - asaancart