View Single Post
  #1  
Old 12-11-2005, 08:54 AM
 
webmonster webmonster is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 35
 

Default Display Sub category with images

Code:
{section name=cat_num loop=$subcategories} {assign var="tmp" value="1"} { if %cat_num.first% } <table border="0" cellspacing="0" cellpadding="5" width="100%"> {/if} { if %cat_num.index% is div by 3} <tr> {/if} <td> <a href="home.php?cat={ $subcategories[cat_num].categoryid }"> [img]../icon.php?categoryid={$subcategories[cat_num].categoryid}[/img] { $subcategories[cat_num].category|escape }</a> </td> { if %cat_num.last% } </tr> </table> {/if} {/section}

Having Trouble with the code in 4.16
__________________
4.1.x
Reply With Quote