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

  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. <div class="container-fluid 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%" border="0" cellpadding="0" cellspacing="0" class="table">
  28. <thead>
  29. <tr>
  30. <th width="25%" colspan="2">订单号</th>
  31. <th width="25%">产品</th>
  32. <th>详细状态信息</th>
  33. <th width="15%">状态</th>
  34. <th width="10%">时间</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>{dede:field.buyid/}</td>
  44. <td><?php echo $fields['pname']; ?></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></td></tr>
  54. </form>
  55. </tbody>
  56. </table>
  57. </div>
  58. <nav>
  59. {dede:pagelist listsize=5 /}
  60. </nav>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </main>
  67. <?php include(DEDEMEMBER."/templets/footer.htm"); ?>
  68. <script type="text/javascript">
  69. //获得选中文件的文件名
  70. function GetCheckfolderItem()
  71. {
  72. var allSel='';
  73. if(document.form1.deleteid.value) return document.form1.deleteid.value;
  74. for(i=0;i<document.form1.deleteid.length;i++)
  75. {
  76. if(document.form1.deleteid[i].checked)
  77. {
  78. if(allSel=='')
  79. allSel=document.form1.deleteid[i].value;
  80. else
  81. allSel=allSel+","+document.form1.deleteid[i].value;
  82. }
  83. }
  84. return allSel;
  85. }
  86. function DoSubmit()
  87. {
  88. var selid = GetCheckfolderItem();
  89. if(selid=='') {
  90. ShowMsg("你没选中任何信息!");
  91. return false;
  92. }
  93. if(window.confirm("你确定要删除这些消息么?"))
  94. {
  95. location = "operation.php?dopost=del&ids="+selid;
  96. }
  97. }
  98. </script>
  99. </body>
  100. </html>