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

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