该怎么样更改代码?急!!!
不知道该怎么 样把显示产品更改为8个
<meta http-equiv="Content-Type" c>
<!-- {if $promotion_goods} -->
<table width="625" height="134" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="48"><img src="images/newprs.gif" width="48" height="135" /></td>
<td width="577" valign="middle" style="border:1px #747f05 solid; border-left:none;"><table cellspacing="0" cellpadding="0" width="100%" border="0">
<tbody>
<tr>
<td colspan="9" align="center" valign="top" style="border-right:#CCCCCC dotted 1px; border-bottom:#CCCCCC dotted 1px;"> <!--{foreach from=$promotion_goods item=goods}-->
<table border="0" cellpadding="0" cellspacing="0" style="float: left">
<tr>
<td align="center"><A href="{$goods.url}"><img src="{$goods.thumb}" style="padding-left:4px; padding-right:4px;" alt="{$goods.name|escape:html}" width="55" height="65" border="0" class="thumb" /></A></td>
</tr>
</table>
<!--{/foreach}-->
<br style="clear: both" />
<!-- {/if} --></td>
</tr>
</tbody>
</table></td>
</tr>
</table>
在怎么样更改这段代码?
附件
-
7777.JPG
(8.3 KB)
-
2007-7-9 14:33