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

91 lines
3.2KB

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