buybak.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?php
  2. if(!defined('InEmpireCMS'))
  3. {
  4. exit();
  5. }
  6. ?>
  7. <?php
  8. $public_diyr['pagetitle']='点卡充值记录';
  9. $url="<a href=../../../>首页</a>&nbsp;>&nbsp;<a href=../cp/>会员中心</a>&nbsp;>&nbsp;点卡充值记录";
  10. require(ECMS_PATH.'e/template/incfile/header.php');
  11. ?>
  12. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  13. <tr class="header">
  14. <td width="12%"><div align="center">类型</div></td>
  15. <td width="36%" height="25"><div align="center">充值卡号</div></td>
  16. <td width="10%" height="25"><div align="center">充值金额</div></td>
  17. <td width="10%" height="25"><div align="center">购买点数</div></td>
  18. <td width="10%"><div align="center">有效期</div></td>
  19. <td width="22%" height="25"><div align="center">购买时间</div></td>
  20. </tr>
  21. <?php
  22. while($r=$empire->fetch($sql))
  23. {
  24. //类型
  25. if($r['type']==0)
  26. {
  27. $type='点卡充值';
  28. }
  29. elseif($r['type']==1)
  30. {
  31. $type='在线充值';
  32. }
  33. elseif($r['type']==2)
  34. {
  35. $type='充值点数';
  36. }
  37. elseif($r['type']==3)
  38. {
  39. $type='充值金额';
  40. }
  41. else
  42. {
  43. $type='';
  44. }
  45. ?>
  46. <tr bgcolor="#FFFFFF">
  47. <td><div align="center">
  48. <?=$type?>
  49. </div></td>
  50. <td height="25"><div align="center">
  51. <?=$r[card_no]?>
  52. </div></td>
  53. <td height="25"><div align="center">
  54. <?=$r[money]?>
  55. </div></td>
  56. <td height="25"><div align="center">
  57. <?=$r[cardfen]?>
  58. </div></td>
  59. <td><div align="center"><?=$r[userdate]?></div></td>
  60. <td height="25"><div align="center">
  61. <?=$r[buytime]?>
  62. </div></td>
  63. </tr>
  64. <?php
  65. }
  66. ?>
  67. <tr bgcolor="#FFFFFF">
  68. <td height="25" colspan="6">
  69. <?=$returnpage?> </td>
  70. </tr>
  71. </table>
  72. <?php
  73. require(ECMS_PATH.'e/template/incfile/footer.php');
  74. ?>