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

95 lines
3.5KB

  1. <!DOCTYPE html>
  2. <html>
  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. <title>金币订单-会员中心-<?php echo $cfg_webname; ?></title>
  7. <script src="<?php echo $cfg_cmsurl; ?>/static/web/js/jquery.min.js"></script>
  8. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css">
  11. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css">
  12. </head>
  13. <body>
  14. <?php include(DEDEMEMBER."/templets/top_login.htm"); ?>
  15. <main class="member">
  16. <div class="pannel">
  17. <div class="container">
  18. <div class="row">
  19. <?php
  20. $_menu_order = true;
  21. $_menu_orderstate = 2;
  22. ?>
  23. <?php include(DEDEMEMBER."/templets/menu.htm"); ?>
  24. <div class="pannel-main col-md-9 mt-3 mb-3">
  25. <div class="pannel-main-container">
  26. <div class="table-responsive">
  27. <table width="100%" cellpadding="0" cellspacing="0" class="table">
  28. <thead>
  29. <tr>
  30. <th width="30%" colspan="2">订单号</th>
  31. <th width="14%">状态</th>
  32. <th width="10%">产品</th>
  33. <th width="14%">状态</th>
  34. <th width="12%">时间</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. <form name="form1" action="operation.php" method="post">
  39. <input type="hidden" name="ftype" value="del">
  40. {dede:datalist}
  41. <tr>
  42. <td align="center"><input type="checkbox" name="deleteid" value="{dede:field.aid/}" /></td>
  43. <td><?php echo $fields['pname']; ?></td>
  44. <td>{dede:field.buyid/}</td>
  45. <td align="center"><?php echo $fields['oldinfo']; ?></td>
  46. <td align="center">{dede:field.sta function="GetSta(@me)" /}</td>
  47. <td align="center">{dede:field.mtime function="GetDateMk(@me)" /}</td>
  48. </tr>
  49. {/dede:datalist}
  50. <tr>
  51. <td colspan="6">
  52. <button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button>
  53. <button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button>
  54. </td>
  55. </tr>
  56. </form>
  57. </tbody>
  58. </table>
  59. </div>
  60. <nav>{dede:pagelist listsize='6'/}</nav>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </main>
  67. <?php include(DEDEMEMBER."/templets/footer.htm"); ?>
  68. <script>
  69. //获得选中文件的文件名
  70. function GetCheckfolderItem() {
  71. var allSel = '';
  72. if (document.form1.deleteid.value) return document.form1.deleteid.value;
  73. for (i = 0; i < document.form1.deleteid.length; i++) {
  74. if (document.form1.deleteid[i].checked) {
  75. if (allSel == '')
  76. allSel = document.form1.deleteid[i].value;
  77. else
  78. allSel = allSel + "," + document.form1.deleteid[i].value;
  79. }
  80. }
  81. return allSel;
  82. }
  83. function DoSubmit() {
  84. var selid = GetCheckfolderItem();
  85. if (selid == '') {
  86. ShowMsg("您没选中任何信息");
  87. return false;
  88. }
  89. if (window.confirm("您确定要删除这些消息吗")) {
  90. location = "operation.php?dopost=del&ids=" + selid;
  91. }
  92. }
  93. </script>
  94. </body>
  95. </html>