<?php if(!defined('InEmpireCMS')) { exit(); } ?> <?php $url="<a href=../../../>首页</a> > <a href=../../member/cp>控制面板</a> > 订单查询"; require(ECMS_PATH.'e/data/template/cp_1.php'); ?> <div id="content"> <div id="here"> <h2 class="title">支付中心</h2> </div> <div class="tabs_header"> <ul class="tabs clearfix"> <li><a href="../../payapi/">在线支付</a></li> <li><a href="../../member/buygroup/">在线充值</a></li> <li><a href="../../member/card/">点卡充值</a></li> <li><a href="../../ShopSys/buycar/" target="_blank">我的购物车</a></li> <li class="active"><a href="../../ShopSys/ListDd/">我的订单</a></li> <li><a href="../../member/buybak/">消费记录</a></li> </ul> </div> <div class="display"> <script src="../../data/images/setday.js"></script> <div class="menu"><form action="index.php" method="get" name="form1" id="form1"> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1"> <tr> <td>订单号为: <input name="keyboard" type="text" id="keyboard" value="" class="input_text" /> 时间从 <input name="starttime" type="text" id="starttime2" value="" size="12" onclick="setday(this)" class="input_text" /> 到 <input name="endtime" type="text" id="endtime2" value="" size="12" onclick="setday(this)" class="input_text" /> 止的订单 <input type="submit" name="Submit6" value="搜索" class="input_sub" /> <input name="sear" type="hidden" id="sear2" value="1" /> </td> </tr> </table> </form></div> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_title"> <td class="no">序 号</td> <td class="ddno">编号(点击查看)</td> <td class="dgtime">订购时间</td> <td class="money">总金额</td> <td class="type">付费方式</td> <td>状 态</td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_title"> <tr> <td></td> </tr> </table> </div> </div> <? $j=0; while($r=$empire->fetch($sql)) { $j++; //点数购买 $total=0; if($r[payby]==1) { $total=$r[alltotalfen]+$r[pstotal]; $mytotal="<a href='#ecms' title='商品额(".$r[alltotalfen].")+运费(".$r[pstotal].")'>".$total." 点</a>"; } else { //发票 $fpa=""; if($r[fp]) { $fpa="+发票费(".$r[fptotal].")"; } $total=$r[alltotal]+$r[pstotal]+$r[fptotal]; $mytotal="<a href='#ecms' title='商品额(".$r[alltotal].")+运费(".$r[pstotal].")".$fpa."'>".$total." 元</a>"; } //支付方式 if($r[payby]==1) { $payfsname=$r[payfsname]."<br>(点数购买)"; } elseif($r[payby]==2) { $payfsname=$r[payfsname]."<br>(余额购买)"; } else { $payfsname=$r[payfsname]; } //状态 if($r[checked]) { $ch="已确认"; } else { $ch="<font color=red>未确认</font>"; } if($r[outproduct]) { $ou="已发货"; } else { $ou="<font color=red>未发货</font>"; } if($r[haveprice]) { $ha="已付款"; } else { $ha="<font color=red>未付款</font>"; } ?> <tr bgcolor="#FFFFFF"> <td height="25"> <div align="center"> <?=$j?> </div></td> <td> <div align="center"><a href="#ecms" onclick="window.open('../ShowDd?ddid=<?=$r[ddid]?>','','width=700,height=600,scrollbars=yes,resizable=yes');"> <?=$r[ddno]?> </a></div></td> <td> <div align="center"> <?=$r[ddtime]?> </div></td> <td> <div align="center"> <?=$mytotal?> </div></td> <td><div align="center"> <?=$payfsname?> </div></td> <td> <div align="center"><strong> <?=$ha?> </strong>/<strong> <?=$ou?> </strong>/<strong> <?=$ch?> </strong></div></td> </tr> <? } ?> <tr bgcolor="#FFFFFF"> <td> <div align="center"></div></td> <td colspan="5"> <div align="left"> <?=$returnpage?> </div></td> </tr> </table> <?php require(ECMS_PATH.'e/data/template/cp_2.php'); ?>
|