国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

164 lines
6.5KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
  5. <title>我购买的商品 - 会员中心 - <?php echo $cfg_webname; ?></title>
  6. <link href="templets/style/base.css" rel="stylesheet" type="text/css" />
  7. <script type="text/javascript" src="../static/js/jquery.js"></script>
  8. <script type="text/javascript" src="templets/js/load.js"></script>
  9. <script type="text/javascript" src="templets/js/leftmenu.js"></script>
  10. <script type="text/javascript" src="templets/js/table_function.js"></script>
  11. <script type="text/javascript">
  12. //获得选中文件的文件名
  13. function GetCheckfolderItem()
  14. {
  15. var allSel='';
  16. if(document.form1.deleteid.value) return document.form1.deleteid.value;
  17. for(i=0;i<document.form1.deleteid.length;i++)
  18. {
  19. if(document.form1.deleteid[i].checked)
  20. {
  21. if(allSel=='')
  22. allSel=document.form1.deleteid[i].value;
  23. else
  24. allSel=allSel+","+document.form1.deleteid[i].value;
  25. }
  26. }
  27. return allSel;
  28. }
  29. function DoSubmit()
  30. {
  31. var selid = GetCheckfolderItem();
  32. if(selid=='') {
  33. alert("你没选中任何信息!");
  34. return false;
  35. }
  36. if(window.confirm("你确定要删除这些消息么?"))
  37. {
  38. location = "shops_products.php?dopost=del&ids="+selid;
  39. }
  40. }
  41. </script>
  42. </head>
  43. <body>
  44. <div id="main">
  45. <?php include(DEDEMEMBER."/templets/head.htm"); ?>
  46. <div id="content" class="w960 clearfix">
  47. <?php include(DEDEMEMBER."/templets/menu.php"); ?>
  48. <div id="mcpmain">
  49. <div id="appTab">
  50. <ul>
  51. <li><a href="buy.php">会员升级/点卡充值</a></li>
  52. <li><a href="operation.php">点卡/会员定单</a></li>
  53. <li><a href="mypay.php" id="buy">我购买的文章</a></li>
  54. <li><a href="shops_orders.php">商品定单</a></li>
  55. <li class="thisTab"><a href="shops_products.php" id="buy">我购买的商品</a></li>
  56. </ul>
  57. </div>
  58. <div id="mainCp">
  59. <h3 class="meTitle">购买的商品</h3>
  60. <?php if(!empty($oid)){ ?>
  61. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list">
  62. <thead>
  63. <tr>
  64. <th colspan="2" ><strong>订单信息</strong></th>
  65. </tr>
  66. </thead>
  67. <tbody>
  68. <tr>
  69. <td width="15%" align="right" valign="top">订单号:</td>
  70. <td><strong><?php echo $oid?></strong></td>
  71. </tr>
  72. <tr>
  73. <td align="right" valign="top">支付方式:</td>
  74. <td><?php echo GetSta($row['state'],$oid)?></td>
  75. </tr>
  76. <tr>
  77. <td align="right" valign="top">单价(元/单位):</td>
  78. <td><?php echo $row['uprice']?>元</td>
  79. </tr>
  80. <tr>
  81. <td align="right" valign="top">数量:</td>
  82. <td><?php echo $row['cartcount']?></td>
  83. </tr>
  84. <tr>
  85. <td align="right" valign="top">配送:</td>
  86. <td><?echo $row['dname'];?> 费用:<?php echo $row['dprice']?>元</td>
  87. </tr>
  88. <tr>
  89. <td align="right" valign="top">总计:</td>
  90. <td><?php echo $row['priceCount']?>元</td>
  91. </tr>
  92. <tr>
  93. <td align="right" valign="top">发生时间:</td>
  94. <td><?php echo GetDateTimeMk($row['stime'])?></td>
  95. </tr>
  96. <tr>
  97. <td align="right" valign="top">收货人:</td>
  98. <td><?php echo $row['consignee']?></td>
  99. </tr>
  100. <tr>
  101. <td align="right" valign="top">地址:</td>
  102. <td><?php echo $row['address']?></td>
  103. </tr>
  104. <tr>
  105. <td align="right" valign="top">邮编:</td>
  106. <td><?php echo $row['zip']?></td>
  107. </tr>
  108. <tr>
  109. <td align="right" valign="top">联系电话:</td>
  110. <td><?php echo $row['tel']?></td>
  111. </tr>
  112. <tr>
  113. <td align="right" valign="top">邮箱:</td>
  114. <td><?php echo $row['email']?></td>
  115. </tr>
  116. <tr>
  117. <td align="right" valign="top">留言:</td>
  118. <td><?php echo $row['des']?></td>
  119. </tr>
  120. </tbody>
  121. </table>
  122. <?php }?>
  123. <table cellspacing="1" class="list mT10">
  124. <thead>
  125. <tr>
  126. <th colspan="2" width="22%">订单号</th>
  127. <th>名称</th>
  128. <th width="10%"><span style="float:right;width: 75px;">单价(元/单位)</span></th>
  129. <th width="8%" align="center">数量</th>
  130. <th width="20%" align="center">购买时间</th>
  131. </tr>
  132. </thead>
  133. <form name='form1' action="shops_products.php" method="post">
  134. <input type='hidden' name='dopost' value='del' />
  135. <tbody>
  136. {dede:datalist}
  137. <tr>
  138. <td align="center"><input type="checkbox" name="deleteid" value="{dede:field.oid/}"/></td>
  139. <td align="center"><a href="shops_products.php?do=show&oid={dede:field.oid/}">{dede:field.oid/}</a></td>
  140. <td align="center"><a href="<?php echo $cfg_cmspath;?>/plus/view.php?aid={dede:field.aid/}" target="_blank">{dede:field.title/}</a></td>
  141. <td align="center"><strong>{dede:field.price/}</strong></td>
  142. <td align="center">{dede:field.buynum/}</td>
  143. <td align="center">{dede:field.oid function="carTime(@me)"/}</td>
  144. </tr>
  145. {/dede:datalist}
  146. <tr>
  147. <td colspan="6"><button id="checkedClick" type="button" class="greenBtn1">全选</button><button type="button" onclick="DoSubmit()" class="greenBtn3">删除选中</button></td></tr></tbody>
  148. </form>
  149. <tfoot>
  150. <tr>
  151. <td colspan="7"><div class="pageList">{dede:pagelist listsize=5/}</div></td>
  152. </tr>
  153. </tfoot>
  154. </table>
  155. </div>
  156. <!--主操作区域 -->
  157. </div>
  158. </div>
  159. <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
  160. </div>
  161. </body>
  162. </html>