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

148 lines
6.0KB

  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>业务管理</title>
  6. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/admin.css">
  9. <script language="javascript">
  10. //获得选中项
  11. function getCheckboxItem() {
  12. var allSel = "";
  13. if (document.form1.aids.value) return document.form1.aids.value;
  14. for (i = 0; i < document.form1.aids.length; i++) {
  15. if (document.form1.aids[i].checked) {
  16. if (allSel == "")
  17. allSel = document.form1.aids[i].value;
  18. else
  19. allSel = allSel + "`" + document.form1.aids[i].value;
  20. }
  21. }
  22. return allSel;
  23. }
  24. function ReSel() {
  25. for (i = 0; i < document.form1.aids.length; i++) {
  26. if (document.form1.aids[i].checked) document.form1.aids[i].checked = false;
  27. else document.form1.aids[i].checked = true;
  28. }
  29. }
  30. function DelSel() {
  31. var nid = getCheckboxItem();
  32. if (nid == "") {
  33. alert("请选择要删除的业务记录");
  34. return;
  35. }
  36. location.href = "member_do.php?dopost=deoperations&nid=" + nid;
  37. }
  38. function UpSel() {
  39. var nid = getCheckboxItem();
  40. if (nid == "") {
  41. alert("请选择要修改的业务记录");
  42. return;
  43. }
  44. location.href = "member_do.php?dopost=upoperations&nid=" + nid;
  45. }
  46. function OkSel() {
  47. var nid = getCheckboxItem();
  48. if (nid == "") {
  49. alert("请选择要修改的业务记录");
  50. return;
  51. }
  52. location.href = "member_do.php?dopost=okoperations&nid=" + nid;
  53. }
  54. </script>
  55. </head>
  56. <body>
  57. <form name="form2" method="get" action="member_operations.php">
  58. <table width="98%" cellpadding="1" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
  59. <tr>
  60. <td height="36" bgcolor="#f8f8f8">
  61. <table cellpadding="0" cellspacing="0">
  62. <tr>
  63. <td width="280" align="center"><input name="buyid" type="text" id="buyid" placeholder="请输入订单号" style="width:260px"></td>
  64. <td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
  65. </tr>
  66. </table>
  67. </td>
  68. </tr>
  69. </table>
  70. </form>
  71. <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable">
  72. <tr>
  73. <td height="26" colspan="8" background="../static/web/img/tbg.gif">
  74. <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
  75. <tr>
  76. <td width="30%" style="padding-left:10px">会员消费管理:</td>
  77. <td width="45%" align="right" style="padding-top:10px">
  78. <button type="button" onClick="location='member_operations.php?sta=0';" class="btn btn-success btn-sm">未付款</button>
  79. <button type="button" onClick="location='member_operations.php?sta=1';" class="btn btn-success btn-sm">已付款</button>
  80. <button type="button" onClick="location='member_operations.php?sta=2';" class="btn btn-success btn-sm">已完成</button>
  81. <button type="button" onClick="location='member_operations.php';" class="btn btn-success btn-sm">全部</button>
  82. </td>
  83. <td width="25%" align="right" style="padding-top:10px">
  84. <button type="button" onClick="location='member_main.php';" class="btn btn-success btn-sm">会员管理</button>
  85. </td>
  86. </tr>
  87. </table>
  88. </td>
  89. </tr>
  90. <tr bgcolor="#F8FCF1">
  91. <td width="8%" align="center">选择</td>
  92. <td width="20%" align="center">订单号</td>
  93. <td align="center">产品名称</td>
  94. <td width="10%" align="center">产品类型</td>
  95. <td width="22%" align="center">生成日期</td>
  96. <td width="8%" align="center">金额</td>
  97. <td width="8%" align="center">状态</td>
  98. <td width="10%" align="center">会员</td>
  99. </tr>
  100. <form name="form1">
  101. {dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
  102. <tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
  103. <td align="center">
  104. <input type='checkbox' name='aids' value='<?php echo $fields['aid']?>' class='np'></td>
  105. <td align="center">
  106. <?php echo $fields['buyid']?>
  107. </td>
  108. <td align="center">
  109. <?php
  110. echo $fields['pname'].'('.$fields['oldinfo'].')';
  111. ?>
  112. </td>
  113. <td align="center">
  114. <?php echo GetPType($fields['product'])?>
  115. </td>
  116. <td align="center">
  117. <?php echo GetDateTimeMk($fields['mtime'])?>
  118. (<span>{dede:field.mtime function="floorTime(time()-@me,@me)"/}</span>)
  119. </td>
  120. <td align="center">
  121. <?php echo $fields['money']?>
  122. </td>
  123. <td align="center">
  124. <?php echo GetSta($fields['sta'])?>
  125. </td>
  126. <td align="center">
  127. <?php echo GetMemberID($fields['mid'])?>
  128. </td>
  129. </tr>
  130. {/dede:datalist}
  131. </form>
  132. <tr>
  133. <td height="26" colspan="8" bgcolor="#FCFDF7" style="padding-top:10px">
  134. &nbsp;
  135. <button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
  136. <button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除</button>
  137. <button type="button" onClick="UpSel();" class="btn btn-success btn-sm">设为已付款状态</button>
  138. <button type="button" onClick="OkSel();" class="btn btn-success btn-sm">设为已完成状态</button>
  139. </td>
  140. </tr>
  141. <tr>
  142. <td height="36" colspan="8" bgcolor="#f8f8f8" align="center">
  143. {dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}
  144. </td>
  145. </tr>
  146. </table>
  147. </body>
  148. </html>