View Single Post
  #14  
Old 06-08-2006, 12:27 PM
 
PP PP is offline
 

Advanced Member
  
Join Date: Apr 2006
Posts: 34
 

Default

Well this is what I came up with. I had to chage the axis because many of my images are tall.

Code:
{* $Id: menu_bestsellers.tpl,v 1.10.2.1 2004/11/16 11:15:01 max Exp $ *} {if $bestsellers} {capture name=menu} {section name=num loop=$bestsellers} <FONT class="VertMenuItems">{math equation="value+1" value=$smarty.section.num.index}.</FONT> <A href="product.php?productid={$bestsellers[num].productid}&cat={$cat}&bestseller" class=VertMenuItems>{$bestsellers[num].product} <div align="center">{include file="product_thumbnail.tpl" productid=$bestsellers[num].productid image image_y=50 product=$bestsellers[num].product}</div> </a> {/section} {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_bestsellers menu_content=$smarty.capture.menu } {/if}
__________________
X-Cart version 4.1.7 Pro
PHP 4.4.3
GD bundled (2.0.28 compatible)
MySQL server 4.1.21-standard
MySQL client 4.1.21
Web server Apache/1.3.37 (Unix)
Operation system Linux
Perl 5.008007
XML parser (expat) 1.95.6
Reply With Quote