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

116 lines
4.6KB

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