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

151 lines
6.3KB

  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("请选择要删除的业务记录!\r\n");
  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("请选择要修改的业务记录!\r\n");
  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("请选择要修改的业务记录!\r\n");
  50. return;
  51. }
  52. location.href = "member_do.php?dopost=okoperations&nid=" + nid;
  53. }
  54. </script>
  55. </head>
  56. <body background="../static/web/img/allbg.gif" leftmargin='8' topmargin='8'>
  57. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3" style="background:#cbd8ac;margin-bottom:10px;">
  58. <tr>
  59. <td height="30" align="center" bgcolor="#f6f6f6">
  60. <form name="form2" method="get" action="member_operations.php">
  61. <table border="0" cellspacing="0" cellpadding="0" class="table table-borderless" style="width: 400px;">
  62. <tr>
  63. <td>输入订单号:</td>
  64. <td>
  65. <input name="buyid" type="text" id="buyid"></td>
  66. <td width="90" align="center"> <button type="submit" class="btn btn-success btn-sm">搜索</button>
  67. </td>
  68. </tr>
  69. </table>
  70. </form>
  71. </td>
  72. </tr>
  73. </table>
  74. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered">
  75. <tr>
  76. <td height="26" colspan="8" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif'>
  77. <table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
  78. <tr>
  79. <td width="30%" style="padding-left:10px">会员消费管理: </td>
  80. <td width="45%" align="right" style="padding-top:4px;">
  81. <button type="button" onClick="location='member_operations.php?sta=0';" class="btn btn-success btn-sm">未付款</button>
  82. <button type="button" onClick="location='member_operations.php?sta=1';" class="btn btn-success btn-sm">已付款</button>
  83. <button type="button" onClick="location='member_operations.php?sta=2';" class="btn btn-success btn-sm">已完成</button>
  84. <button type="button" onClick="location='member_operations.php';" class="btn btn-success btn-sm">全部</button>
  85. </td>
  86. <td width="25%" align="right" style="padding-top:4px;">
  87. <button type="button" onClick="location='member_main.php';" class="btn btn-success btn-sm">会员管理</button>
  88. </td>
  89. </tr>
  90. </table>
  91. </td>
  92. </tr>
  93. <tr bgcolor="#FBFCE2">
  94. <td width="8%" align="center">选择</td>
  95. <td width="20%" align="center">订单号</td>
  96. <td align="center">产品名称</td>
  97. <td width="10%" align="center">产品类型</td>
  98. <td width="22%" align="center">生成日期</td>
  99. <td width="8%" align="center">金额</td>
  100. <td width="8%" align="center">状态</td>
  101. <td width="10%" align="center">会员</td>
  102. </tr>
  103. <form name="form1">
  104. {dede:datalist}
  105. <tr bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
  106. <td align="center">
  107. <input type='checkbox' name='aids' value='<?php echo $fields['aid']?>' class='np'></td>
  108. <td align="center">
  109. <?php echo $fields['buyid']?>
  110. </td>
  111. <td align="center">
  112. <?php
  113. echo $fields['pname'].'('.$fields['oldinfo'].')';
  114. ?>
  115. </td>
  116. <td align="center">
  117. <?php echo GetPType($fields['product'])?>
  118. </td>
  119. <td align="center">
  120. <?php echo GetDateTimeMk($fields['mtime'])?>
  121. (<span>{dede:field.mtime function="floorTime(time()-@me,@me)"/}</span>)
  122. </td>
  123. <td align="center">
  124. <?php echo $fields['money']?>
  125. </td>
  126. <td align="center">
  127. <?php echo GetSta($fields['sta'])?>
  128. </td>
  129. <td align="center">
  130. <?php echo GetMemberID($fields['mid'])?>
  131. </td>
  132. </tr>
  133. {/dede:datalist}
  134. </form>
  135. <tr>
  136. <td height="26" colspan="8" bgcolor="#FCFDF7" style="padding-top:4px;">
  137. &nbsp;
  138. <button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
  139. <button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除</button>
  140. <button type="button" onClick="UpSel();" class="btn btn-success btn-sm">设为已付款状态</button>
  141. <button type="button" onClick="OkSel();" class="btn btn-success btn-sm">设为已完成状态</button>
  142. </td>
  143. </tr>
  144. <tr>
  145. <td height="36" colspan="8" bgcolor="#f6f6f6" align="center">
  146. {dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}
  147. </td>
  148. </tr>
  149. </table>
  150. </body>
  151. </html>