国内流行的内容管理系统(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.

109 lines
4.4KB

  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_orders.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 class="thisTab"><a href="shops_orders.php">商品定单</a></li>
  55. <li><a href="shops_products.php" id="buy">我购买的商品</a></li>
  56. </ul>
  57. </div>
  58. <div id="mainCp">
  59. <!--内容消息提示 -->
  60. <h3 class="meTitle">商品订单</h3>
  61. <div class="postForm" style="padding-bottom: 0px;">
  62. <form name="form3" action="shops_products.php" method="get">
  63. <div class="fLeft" style="margin-top:3px; padding-left: 130px;"> 订单号:
  64. <input class="intxt" type='text' name='oid' size="40" value='' />
  65. <button class="button2" type="submit">搜索</button>
  66. </div>
  67. </form>
  68. </div>
  69. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list">
  70. <thead>
  71. <tr>
  72. <th colspan="2" width="25%">订单号</th>
  73. <th>状态 </th>
  74. <th width="10%">数量 </th>
  75. <th width="10%">总计(元)</th>
  76. <th width="20%">时间 </th>
  77. </tr>
  78. </thead>
  79. <form name='form1' action="shops_orders.php" method="post">
  80. <input type='hidden' name='dopost' value='del' />
  81. <tbody>
  82. {dede:datalist}
  83. <tr>
  84. <td align="center"><input type="checkbox" name="deleteid" value="{dede:field.oid/}"/></td>
  85. <td align="center"><a href="shops_products.php?do=show&oid={dede:field.oid/}">{dede:field.oid/}</a></td>
  86. <td align="center"><?php echo GetSta($fields["state"],$fields["oid"])?></td>
  87. <td align="center">{dede:field.cartcount/}</td>
  88. <td align="center"><strong>{dede:field.priceCount/}</strong></td>
  89. <td align="center">{dede:field.stime function="Mydate('Y-m-d h:i:s',@me)"/}</td>
  90. </tr>
  91. {/dede:datalist}
  92. <tr>
  93. <td colspan="6"><button id="checkedClick" type="button" class="greenBtn1">全选</button><button type="button" onclick="DoSubmit()" class="greenBtn3">删除选中</button></td></tr></tbody>
  94. </form>
  95. <tfoot>
  96. <tr>
  97. <td colspan="6"><div class="pageList">{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}</td>
  98. </tr>
  99. </tfoot>
  100. </table>
  101. </div>
  102. <!--主操作区域 -->
  103. </div>
  104. </div>
  105. <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
  106. </div>
  107. </body>
  108. </html>