View Single Post
  #9  
Old 03-04-2003, 10:51 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

change it to:

Code:
{if $images ne ""} {section name=num loop=$images} {/section} {if %num.index% <2} {else} {capture name=dialog} <table border=0 width=100% cellpadding=2 cellspacing=0> <tr> {section name=image loop=$images} {if $images[image].avail eq "Y"} {if $smarty.section.image.index eq 0} {else} <td align=center valign=top> [img]../product_image.php?imageid={$images[image].imageid}[/img] </td> {/if} {/if} {/section} </tr> </table> {/capture} {if $smarty.capture.dialog ne ""} {include file="dialog.tpl" title=$lng.lbl_detailed_images content=$smarty.capture.dialog extra="width=100%"} {/if} {/if} {/if}
__________________
ex x-cart guru
Reply With Quote