帝国CMS7.0灵动标签调用商城内容页购买记录
2014-06-04 站长 站长日志
帝国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}] <li><a href="/e/space/?userid=<?=$bqr[userid]?>" ><img src="<?=$bqr[userpic]?>" alt="<?=$bqr[truename]?>" border="0" width="88" height="77" /></a> <p><?=$bqr[truename]?></p> </li> [/e:loop]