| 
							- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 - <html xmlns="http://www.w3.org/1999/xhtml">
 - <head>
 -   <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
 -   <title>点卡业务记录</title>
 -   <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
 -   <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
 -   <link rel="stylesheet" href="../static/web/css/admin.css">
 -   <script language="javascript">
 -     //获得选中项
 -     function getCheckboxItem() {
 -       var allSel = "";
 -       if (document.form1.aids.value) return document.form1.aids.value;
 -       for (i = 0; i < document.form1.aids.length; i++) {
 -         if (document.form1.aids[i].checked) {
 -           if (allSel == "")
 -             allSel = document.form1.aids[i].value;
 -           else
 -             allSel = allSel + "`" + document.form1.aids[i].value;
 -         }
 -       }
 -       return allSel;
 -     }
 -     function ReSel() {
 -       for (i = 0; i < document.form1.aids.length; i++) {
 -         if (document.form1.aids[i].checked) document.form1.aids[i].checked = false;
 -         else document.form1.aids[i].checked = true;
 -       }
 -     }
 -     function DelSel() {
 -       var nid = getCheckboxItem();
 -       if (nid == "") {
 -         alert("请选择要删除的卡");
 -         return;
 -       }
 -       location.href = "cards_manage.php?dopost=delete&aids=" + nid;
 -     }
 -   </script>
 - </head>
 - <body>
 -   <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
 -     <tr>
 -       <td height="26" colspan="7" background="../static/web/img/tbg.gif">
 -         <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
 -           <tr>
 -             <td width="30%" style="padding-left:10px">点卡业务管理</td>
 -             <td width="45%" align="right" style="padding-top:10px">
 -               <button type="button" onClick="location='cards_manage.php?isexp=0';" class="btn btn-success btn-sm">未使用</button>
 -               <button type="button" onClick="location='cards_manage.php?isexp=1';" class="btn btn-success btn-sm">已售出</button>
 -               <button type="button" onClick="location='cards_manage.php?isexp=-1';" class="btn btn-success btn-sm">已使用</button>
 -               <button type="button" onClick="location='cards_manage.php';" class="btn btn-success btn-sm">全部</button>
 -             </td>
 -             <td width="25%" align="right" style="padding-top:10px">
 -               <button type="button" onClick="location='cards_make.php';" class="btn btn-success btn-sm">生成点卡</button>
 -               <button type="button" onClick="location='cards_type.php';" class="btn btn-success btn-sm">点卡产品分类</button>
 -             </td>
 -           </tr>
 -         </table>
 -       </td>
 -     </tr>
 -     <tr align="center" bgcolor="#F8FCF1">
 -       <td width="8%">选择</td>
 -       <td width="28%">卡号</td>
 -       <td width="18%">点卡类型</td>
 -       <td width="12%">生成日期</td>
 -       <td width="12%">使用日期</td>
 -       <td width="8%">状态</td>
 -       <td width="14%">使用会员</td>
 -     </tr>
 -     <form name="form1">
 -       {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
 -       <tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
 -         <td><input type='checkbox' name='aids' value='{dede:field.aid/}' class='np'></td>
 -         <td>{dede:field.cardid/}</td>
 -         <td><?php echo $TypeNames[$fields['ctid']]?></td>
 -         <td>{dede:field.mtime function='GetDateMk(@me)'/}</td>
 -         <td>{dede:field.utime function='GetUseDate(@me)'/}</td>
 -         <td>{dede:field.isexp function='GetSta(@me)'/}</td>
 -         <td>{dede:field.uid function='GetMemberID(@me)'/}</td>
 -       </tr>
 -       {/dede:datalist}
 -     </form>
 -     <tr>
 -       <td height="26" colspan="7"> 
 -         <button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
 -         <button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除</button>
 -              </td>
 -     </tr>
 -     <tr>
 -       <td height="36" colspan="7" align="center" bgcolor="#f8f8f8">
 -         {dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}
 -       </td>
 -     </tr>
 -   </table>
 - </body>
 - </html>
 
 
  |