发新话题
打印

有懂语言的么,请教一下

有懂语言的么,请教一下

小弟的站是www.langutou.com用的是CHILDREN模板
想把首页里的新品上市和精品商品  由原来的3列增加到4列,请问如何修改库文件

以下是代码
<meta http-equiv="Content-Type" c>
<!--{if $best_goods}-->
<div class="title-bg" id="best-goods"><a href="../search.php?intro=best"><img src="../images/more.gif" alt="more" width="41" height="13" border="0" style="float:right;margin:6px;"></a><img src="../images/best-goods.gif" alt="best-goods" width="105" height="21"></div>
<div class="content">
<!--{foreach from=$best_goods item=goods}-->
<table border="1" cellspacing="0" cellpadding="3" class="goods-table">
  <tr>
  <td><A href="{$goods.url}"><img src="{$goods.thumb}" alt="{$goods.name|escape:html}" /></A>
  <div style="padding:3px 0;"><A href="{$goods.url}" title="{$goods.name|escape:html}">{$goods.short_name|escape:html}</A></div>
  </td>
  </tr>
  <tr>
  <td style="border-right:0px;">
    <div>
        <!-- {if $goods.promote_price neq ""} -->
    {$lang.promote_price}<span class="goods-price">{$goods.promote_price}</span>
    <!-- {else}-->
     {$lang.shop_price}<span class="goods-price">{$goods.shop_price}</span>
    <!--{/if}-->
    </div>
  <div style="padding:3px;"><a href="javascript:addToCart({$goods.id})"><img src="../images/add_cart.gif" width="47" height="19" border="0"></a> <a href="javascript:collect({$goods.id})"><img src="../images/collect.gif" width="47" height="19" border="0"></a> </div>
  </td>
  </tr>
</table>
<!--{/foreach}-->
</div><!--End #best-goods -->
<!--{/if}-->

TOP

用其他模板对比一下,模板区找找有改过的

TOP

发新话题