国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

106 lignes
4.9KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>点卡业务记录</title>
  7. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  8. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link href="css/base.css" rel="stylesheet" type="text/css" />
  10. <script language="javascript">
  11. //获得选中项
  12. function getCheckboxItem() {
  13. var allSel = "";
  14. if (document.form1.aids.value) return document.form1.aids.value;
  15. for (i = 0; i < document.form1.aids.length; i++) {
  16. if (document.form1.aids[i].checked) {
  17. if (allSel == "")
  18. allSel = document.form1.aids[i].value;
  19. else
  20. allSel = allSel + "`" + document.form1.aids[i].value;
  21. }
  22. }
  23. return allSel;
  24. }
  25. function ReSel() {
  26. for (i = 0; i < document.form1.aids.length; i++) {
  27. if (document.form1.aids[i].checked) document.form1.aids[i].checked = false;
  28. else document.form1.aids[i].checked = true;
  29. }
  30. }
  31. function DelSel() {
  32. var nid = getCheckboxItem();
  33. if (nid == "") {
  34. alert("请选择要删除的卡!\r\n");
  35. return;
  36. }
  37. location.href = "cards_manage.php?dopost=delete&aids=" + nid;
  38. }
  39. </script>
  40. </head>
  41. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  42. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"
  43. style=" background:#cfcfcf;">
  44. <tr>
  45. <td height="20" colspan="7" bgcolor="#EDF9D5" background='images/tbg.gif'>
  46. <table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
  47. <tr>
  48. <td width="30%" style="padding-left:10px;"><strong>点卡业务管理:</strong> </td>
  49. <td width="45%" align="right" style="padding-top:4px;"> <input type="button" class='np coolbg' name="ss13"
  50. value="未使用" style="width:50px;margin-right:6px" onClick="location='cards_manage.php?isexp=0';">
  51. <input type="button" class='np coolbg inputbut' name="ss14" value="已售出"
  52. style="width:50px;margin-right:6px" onClick="location='cards_manage.php?isexp=1';">
  53. <input type="button" class='np coolbg inputbut' name="ss15" value="已使用"
  54. style="width:50px;margin-right:6px" onClick="location='cards_manage.php?isexp=-1';">
  55. <input type="button" class='np coolbg inputbut' name="ss16" value="全部" style="width:40px;margin-right:6px"
  56. onClick="location='cards_manage.php';">
  57. </td>
  58. <td width="25%" align="right" style="padding-top:4px;"> <input type="button" class='np coolbg inputbut'
  59. name="ss1" value="生成点卡" style="width:70px;margin-right:6px" onClick="location='cards_make.php';">
  60. <input type="button" class='np coolbg inputbut' name="ss12" value="点卡产品分类"
  61. style="width:90px;margin-right:6px" onClick="location='cards_type.php';">
  62. </td>
  63. </tr>
  64. </table>
  65. </td>
  66. </tr>
  67. <tr align="center" bgcolor="#FBFCE2">
  68. <td width="8%">选择</td>
  69. <td width="28%">卡号</td>
  70. <td width="18%">点卡类型</td>
  71. <td width="12%">生成日期</td>
  72. <td width="12%">使用日期</td>
  73. <td width="8%">状态</td>
  74. <td width="14%">使用会员</td>
  75. </tr>
  76. <form name="form1">
  77. {dede:datalist}
  78. <tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  79. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  80. <td><input type='checkbox' name='aids' value='{dede:field.aid/}' class='np'></td>
  81. <td>{dede:field.cardid/}</td>
  82. <td><?php echo $TypeNames[$fields['ctid']]?></td>
  83. <td>{dede:field.mtime function='GetDateMk(@me)'/}</td>
  84. <td>{dede:field.utime function='GetUseDate(@me)'/}</td>
  85. <td>{dede:field.isexp function='GetSta(@me)'/}</td>
  86. <td>{dede:field.uid function='GetMemberID(@me)'/}</td>
  87. </tr>
  88. {/dede:datalist}
  89. </form>
  90. <tr>
  91. <td height="30" colspan="7" bgcolor="#ffffff">&nbsp;
  92. <input type="button" class='np coolbg inputbut' name="b7" value="反选" style="width:40" onClick="ReSel();">
  93. <input type="button" class='np coolbg inputbut' name="b7" value="删除" style="width:40" onClick="DelSel();">
  94.      </td>
  95. </tr>
  96. <tr>
  97. <td height="36" colspan="7" align="center" bgcolor="#F9FCEF">
  98. {dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}
  99. </td>
  100. </tr>
  101. </table>
  102. </body>
  103. </html>