View Single Post
  #3  
Old 01-19-2003, 05:51 AM
 
funkydunk funkydunk is offline
 

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

Default

Try this:

Code:
{* $Id: related_products.tpl,v 1.6 2002/05/20 06:55:24 lucky Exp $ *} {if $product_links ne ""} {capture name=dialog} <table border=0 cellspacing=5> {section name=cat_num loop=$product_links} {if $smarty.section.cat_num.index is div by 3} <tr valign="top"> {/if} <td>#{$product_links[cat_num].productid}</td> <td> <a href="product.php?productid={ $product_links[cat_num].productid }"> <font class=TableCenterSubCategoryListTitleBlue>{ $product_links[cat_num].product|escape}</font> </a> </td> {/section} </tr> </table> {/capture} {include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"} {/if}
__________________
ex x-cart guru
Reply With Quote