[e:loop={"select goods_id,small_pic,price,name from shopex_goods order by goods_id desc limit 10",10,24,0}] <li> <a href="http://www.cnbamboofiber.com/product-<?=$bqr[goods_id]?>.html" target="_blank"> <p class="cp"><img src="<?=$bqr[small_pic]?>"" width="140" height="120" border="0" /></p> <p class="tie"><?=esub($bqr[name],10)?></p> </a>
</li> [/e:loop]
把上面的网站地址改成自己的。安装的时候shopex放在同一个数据库。
|