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

123 lines
4.8KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title>钱包积分-会员中心-<?php echo $cfg_webname;?></title>
  7. <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
  8. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
  11. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
  12. </head>
  13. <body class="body-bg">
  14. <?php pasterTempletDiy('top.htm');?>
  15. <div class="container py-3">
  16. <div class="row">
  17. <div class="col-md-12">
  18. <div class="pannel-main-container shadow-sm rounded">
  19. <nav class="navbar navbar-expand-lg mb-3 p-0">
  20. <ol class="breadcrumb mr-auto">
  21. <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li>
  22. <li class="breadcrumb-item">钱包积分</li></li>
  23. </ol>
  24. <span class="navbar-text"><a href="javascript:history.back(-1);" class="btn btn-outline-success">返回</a></span>
  25. </nav>
  26. <div class="alert alert-success"><?php echo $cfg_ml->GetSta($dsql);?></div>
  27. <?php
  28. if ($cfg_money_scores > 0) {
  29. ?>
  30. <?php
  31. $canCav = floor($cfg_ml->fields['scores'] / $cfg_money_scores);
  32. ?>
  33. <div class="py-3">
  34. <p>用积分兑换金币(<?php echo "兑换价格{$cfg_money_scores}积分/个,您目前可兑换金币数量{$canCav}个";?>)</p>
  35. <form name="formrank" action="index_do.php?dopost=money2s&fmdo=user" method="post">
  36. <table width="100%" cellpadding="0" cellspacing="0" class="table">
  37. <tbody>
  38. <tr>
  39. <td width="20%" align="right">兑换数量:</td>
  40. <td><input type="text" name="money" id="money" class="form-control w-25" value="<?php echo $canCav;?>"></td>
  41. </tr>
  42. <tr>
  43. <td></td>
  44. <td align="left"><button type="submit" class="btn btn-success">兑换</button></td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. </form>
  49. </div>
  50. <?php }?>
  51. <div class="py-3">
  52. <h4 class="mb-3">用点卡充值</h4>
  53. <form name="formrank" action="check_card.php" method="post">
  54. <table width="100%" cellpadding="0" cellspacing="0" class="table">
  55. <tbody>
  56. <tr>
  57. <td width="20%" align="right">点卡密码:</td>
  58. <td><input type="text" name="cardid" id="cardid" class="form-control w-25"></td>
  59. </tr>
  60. <tr>
  61. <td align="right">验证码</td>
  62. <td>
  63. <input type="text" name="vdcode" id="vdcode" class="form-control text-uppercase d-inline-block w-25">
  64. <img src="../apps/vdimgck.php" title="验证码" onclick="this.src=this.src+'?'">
  65. </td>
  66. </tr>
  67. <tr>
  68. <td align="right"></td>
  69. <td><button type="submit" class="btn btn-success">充值</button></td>
  70. </tr>
  71. </tbody>
  72. </table>
  73. </form>
  74. </div>
  75. <div class="py-3">
  76. <h4 class="mb-3">购买新点卡</h4>
  77. <form name="f1" action="buy_action.php" method="post">
  78. <input type="hidden" name="product" value="card">
  79. <table width="100%" cellpadding="0" cellspacing="0" class="table">
  80. <tr>
  81. <th width="10%">选择</th>
  82. <th>点卡类型</th>
  83. <th width="16%">金币数量</th>
  84. <th width="12%">购买价格</th>
  85. </tr>
  86. <tbody>
  87. <?php echo $moneycards;?>
  88. </tbody>
  89. </table>
  90. <div class="text-center"><button type="submit" class="btn btn-success">购买</button></div>
  91. </form>
  92. </div>
  93. <div class="py-3">
  94. <h4 class="mb-3">会员升级</h4>
  95. <form name="f1" action="buy_action.php" method="post">
  96. <input type="hidden" name="product" value="member">
  97. <table width="100%" cellpadding="0" cellspacing="0" class="table">
  98. <thead>
  99. <tr>
  100. <th colspan="5">会员升级</th>
  101. </tr>
  102. </thead>
  103. <tr>
  104. <th width="10%">选择</th>
  105. <th>产品名称</th>
  106. <th width="12%">会员类型</th>
  107. <th width="16%">时限(天)</th>
  108. <th width="12%">价格</th>
  109. </tr>
  110. <tbody>
  111. <?php echo $membertypes?>
  112. </tbody>
  113. </table>
  114. <div class="text-center"><button type="submit" class="btn btn-success">购买</button></div>
  115. </form>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. <?php pasterTempletDiy('foot.htm');?>
  122. </body>
  123. </html>