帝国CMS7.0商城内容页调用该商品的购买记录,以下就是思路代码。
[e:loop={"select * from phome_enewsmemberadd where userid in (select userid from phome_enewsshopdd where ddid in (select ddid from phome_enewsshopdd_add where buycar like '%|$navinfor[classid],$navinfor[id]|%') )",10,24,0}]
<?=$bqr[truename]?>