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

124 lines
4.9KB

  1. <!doctype html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <script src="<?php echo $cfg_cmsurl;?>/static/js/jquery.min.js"></script>
  7. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/bootstrap.min.css">
  8. <link href="<?php echo $cfg_cmsurl;?>/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/dede.css">
  10. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/member.css">
  11. <title>商城订单 - 会员中心 - <?php echo $cfg_webname; ?></title>
  12. </head>
  13. <body>
  14. <?php include(DEDEMEMBER."/templets/top_login.htm"); ?>
  15. <main class="member">
  16. <?php include(DEDEMEMBER."/templets/info.htm"); ?>
  17. <div class="container-fluid pannel">
  18. <div class="container">
  19. <div class="row">
  20. <?php
  21. $_menu_order = true; // 展开编辑信息
  22. $_menu_orderstate = 1;
  23. ?>
  24. <?php include(DEDEMEMBER."/templets/menu.htm"); ?>
  25. <div class="pannel-main col-md-9 mt-3 mb-3">
  26. <div class="pannel-main-container">
  27. <div id="mainCp">
  28. <!--内容消息提示 -->
  29. <h5 class="meTitle">商品订单</h5>
  30. <div class="postForm" style="padding-bottom: 0px;">
  31. <form name="form3" action="shops_products.php" method="get">
  32. <div class="input-group" style="margin-top:3px; padding-left: 130px;"> 订单号:
  33. <input class="form-control" type='text' name='oid' size="40" value='' />
  34. <div class="input-group-append">
  35. <button class="btn btn-success btn-sm" type="submit">搜索</button>
  36. </div>
  37. </div>
  38. </form>
  39. </div>
  40. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table mt-3">
  41. <thead>
  42. <tr>
  43. <th colspan="2" width="25%">订单号</th>
  44. <th>状态 </th>
  45. <th width="10%">数量 </th>
  46. <th width="10%">总计(元)</th>
  47. <th width="20%">时间 </th>
  48. </tr>
  49. </thead>
  50. <form name='form1' action="shops_orders.php" method="post">
  51. <input type='hidden' name='dopost' value='del' />
  52. <tbody>
  53. {dede:datalist}
  54. <tr>
  55. <td align="center"><input type="checkbox" name="deleteid" value="{dede:field.oid/}"/></td>
  56. <td align="center"><a href="shops_products.php?do=show&oid={dede:field.oid/}">{dede:field.oid/}</a></td>
  57. <td align="center"><?php echo GetSta($fields["state"],$fields["oid"])?></td>
  58. <td align="center">{dede:field.cartcount/}</td>
  59. <td align="center"><strong>{dede:field.priceCount/}</strong></td>
  60. <td align="center">{dede:field.stime function="Mydate('Y-m-d h:i:s',@me)"/}</td>
  61. </tr>
  62. {/dede:datalist}
  63. <tr>
  64. <td colspan="6"><button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button>
  65. <button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button></td></tr></tbody>
  66. </form>
  67. <tfoot>
  68. <tr>
  69. <td colspan="6"><div class="pageList">{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}</td>
  70. </tr>
  71. </tfoot>
  72. </table>
  73. </div>
  74. <!--主操作区域 -->
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </main>
  81. <?php include(DEDEMEMBER."/templets/footer.htm"); ?>
  82. <script type="text/javascript">
  83. //获得选中文件的文件名
  84. function GetCheckfolderItem()
  85. {
  86. var allSel='';
  87. if(document.form1.deleteid.value) return document.form1.deleteid.value;
  88. for(i=0;i<document.form1.deleteid.length;i++)
  89. {
  90. if(document.form1.deleteid[i].checked)
  91. {
  92. if(allSel=='')
  93. allSel=document.form1.deleteid[i].value;
  94. else
  95. allSel=allSel+","+document.form1.deleteid[i].value;
  96. }
  97. }
  98. return allSel;
  99. }
  100. function DoSubmit()
  101. {
  102. var selid = GetCheckfolderItem();
  103. if(selid=='') {
  104. alert("你没选中任何信息!");
  105. return false;
  106. }
  107. if(window.confirm("你确定要删除这些消息么?"))
  108. {
  109. location = "shops_orders.php?dopost=del&ids="+selid;
  110. }
  111. }
  112. </script>
  113. </body>
  114. </html>