帝国cms调用订单
在帝国CMS中,调用订单信息的代码通常位于模板文件中。以下是一个示例: ```php {volist name="order_list" id="order"}
实现帝国CMS调用订单信息的代码:
<?php$i=1;$result=mysql_query("SELECT*FROM{$dbtbpre}enewsshopdd_addleftjoin{$dbtbpre}enewsshopddon{$dbtbpre}enewsshopdd_add.ddid={$dbtbpre}enewsshopdd.ddidorderby{$dbtbpre}enewsshopdd_add.ddiddesclimit0,4");while($row=mysql_fetch_array($result)){$ddinfoarr=explode("|",$row[buycar]);//$shopinfor=explode(",",$ddinfoarr[2]);//商品的classid和id信息?><a><?=$i?>、会员<?phpechosubstr_replace($row["mycall"],"******",3,6);?>订购了<?=$ddinfoarr[6]?><span><?=$ddinfoarr[4]?></span>元</a><?php$i++;}?>