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

104 lines
3.8KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
  5. <title>我购买的文章 - 会员中心 - <?php echo $cfg_webname; ?></title>
  6. <link href="templets/style/base.css" rel="stylesheet" type="text/css" />
  7. <script type="text/javascript" src="../static/js/jquery.js"></script>
  8. <script type="text/javascript" src="templets/js/load.js"></script>
  9. <script type="text/javascript" src="templets/js/leftmenu.js"></script>
  10. <script type="text/javascript" src="templets/js/table_function.js"></script>
  11. <script type="text/javascript">
  12. //获得选中文件的文件名
  13. function GetCheckfolderItem()
  14. {
  15. var allSel='';
  16. if(document.form1.deleteid.value) return document.form1.deleteid.value;
  17. for(i=0;i<document.form1.deleteid.length;i++)
  18. {
  19. if(document.form1.deleteid[i].checked)
  20. {
  21. if(allSel=='')
  22. allSel=document.form1.deleteid[i].value;
  23. else
  24. allSel=allSel+","+document.form1.deleteid[i].value;
  25. }
  26. }
  27. return allSel;
  28. }
  29. function DoSubmit()
  30. {
  31. var selid = GetCheckfolderItem();
  32. if(selid=='') {
  33. alert("你没选中任何信息!");
  34. return false;
  35. }
  36. if(window.confirm("你确定要删除这些消息么?"))
  37. {
  38. location = "mypay.php?dopost=del&ids="+selid;
  39. }
  40. }
  41. </script>
  42. </head>
  43. <body>
  44. <div id="main">
  45. <?php include(DEDEMEMBER."/templets/head.htm"); ?>
  46. <div id="content" class="w960 clearfix">
  47. <?php include(DEDEMEMBER."/templets/menu.php"); ?>
  48. <div id="mcpmain">
  49. <div id="appTab">
  50. <ul>
  51. <li><a href="buy.php">会员升级/点卡充值</a></li>
  52. <li><a href="operation.php">点卡/会员定单</a></li>
  53. <li class="thisTab"><a href="mypay.php" id="buy">我购买的文章</a></li>
  54. <li><a href="shops_orders.php">商品定单</a></li>
  55. <li><a href="shops_products.php" id="buy">我购买的商品</a></li>
  56. </ul>
  57. </div>
  58. <div id="mainCp">
  59. <h3 class="meTitle">我购买的文章</h3>
  60. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list">
  61. <thead>
  62. <tr>
  63. <th width="5%"></th>
  64. <th width="5%">ID</th>
  65. <th >标题</th>
  66. <th width="10%">消费金币</th>
  67. <th width="20%">消费时间</th>
  68. </tr>
  69. </thead>
  70. <form name='form1' action="mypay.php" method="post">
  71. <input type='hidden' name='dopost' value='del' />
  72. <tbody>
  73. {dede:datalist}
  74. <tr>
  75. <td align="center"><input type="checkbox" name="deleteid" value="{dede:field.aid/}"/></td>
  76. <td align="center"><?php echo $fields['aid']; ?></td>
  77. <td>
  78. <?php
  79. echo '<a href="../plus/view.php?aid='.str_replace('ARCHIVE', '', $fields['buyid']).'" target="_blank">'.$fields['oldinfo'].'</a>';
  80. ?>
  81. </td>
  82. <td align="center"><?php echo $fields['money']; ?></td>
  83. <td align="center"><?php echo GetDateTimeMk($fields['mtime']); ?></td>
  84. </tr>
  85. {/dede:datalist}
  86. <tr>
  87. <td colspan="6"><button id="checkedClick" type="button" class="greenBtn1">全选</button><button type="button" onclick="DoSubmit()" class="greenBtn3">删除选中</button></td></tr></tbody>
  88. </form>
  89. <tfoot>
  90. <tr>
  91. <td colspan="7"><div class="pageList">{dede:pagelist listsize=5/}</td>
  92. </tr>
  93. </tfoot>
  94. </table>
  95. </div>
  96. <!--主操作区域 -->
  97. </div>
  98. </div>
  99. <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
  100. </div>
  101. </body>
  102. </html>