首页楼层般都cat_goods.lbi文件通台控制楼层楼层品牌调用要相应位置填写我举例仅供参考哦 <?php $GLOBALS['smarty']->assign('catbrand',get_cat_brands($GLOBALS['smarty']->_var['goods_cat']['id'] 展开
首页楼层般都cat_goods.lbi文件通台控制楼层楼层品牌调用要相应位置填写我举例仅供参考哦 <?php $GLOBALS['smarty']->assign('catbrand',get_cat_brands($GLOBALS['smarty']->_var['goods_cat']['id'], 5));?>{foreach from=$catbrand item=item name=catbrand} <li class="li {if $smarty.foreach.catbrand.first}first{/if} {if $smarty.foreach.catbrand.last}SCREEN-SHOW{/if}"><div class="img"><a href="{$item.url}"target="_blank"title="{$item.name|escape:html}"><img src="data/brandlogo/{$item.logo}"width="85"height="50"alt="{$item.name|escape:html}"/></a></div><h4><a href="{$item.url}"target="_blank"title="{$item.name|escape:html}">{$item.name}</a></h4><p>{$item.desc|truncate:12}</p></li>{/foreach} 收起