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

108 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. <?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 = 2;
  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 class="table-responsive">
  28. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table">
  29. <thead>
  30. <tr>
  31. <th width="25%" colspan="2">订单号</th>
  32. <th width="25%">产品</th>
  33. <th>详细状态信息</th>
  34. <th width="15%">状态</th>
  35. <th width="10%">时间</th>
  36. </tr>
  37. </thead>
  38. <tbody>
  39. <form name='form1' action="operation.php" method="post">
  40. <input type='hidden' name='ftype' value='del' />
  41. {dede:datalist}
  42. <tr>
  43. <td align="center"><input type="checkbox" name="deleteid" value="{dede:field.aid/}"/></td>
  44. <td>{dede:field.buyid/}</td>
  45. <td><?php echo $fields['pname']; ?></td>
  46. <td align="center"><?php echo $fields['oldinfo']; ?></td>
  47. <td align="center">{dede:field.sta function="GetSta(@me)" /}</td>
  48. <td align="center">{dede:field.mtime function="GetDateMk(@me)" /}</td>
  49. </tr>
  50. {/dede:datalist}
  51. <tr>
  52. <td colspan="6"><button id="checkedClick" type="button" class="greenBtn1">全选</button><button type="button" onclick="DoSubmit()" class="greenBtn3">删除选中</button></td></tr>
  53. </form>
  54. </tbody>
  55. </table>
  56. </div>
  57. <nav>
  58. {dede:pagelist listsize=5 /}
  59. </nav>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </main>
  66. <?php include(DEDEMEMBER."/templets/footer.htm"); ?>
  67. <script type="text/javascript">
  68. //获得选中文件的文件名
  69. function GetCheckfolderItem()
  70. {
  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. {
  75. if(document.form1.deleteid[i].checked)
  76. {
  77. if(allSel=='')
  78. allSel=document.form1.deleteid[i].value;
  79. else
  80. allSel=allSel+","+document.form1.deleteid[i].value;
  81. }
  82. }
  83. return allSel;
  84. }
  85. function DoSubmit()
  86. {
  87. var selid = GetCheckfolderItem();
  88. if(selid=='') {
  89. ShowMsg("你没选中任何信息!");
  90. return false;
  91. }
  92. if(window.confirm("你确定要删除这些消息么?"))
  93. {
  94. location = "operation.php?dopost=del&ids="+selid;
  95. }
  96. }
  97. </script>
  98. </body>
  99. </html>