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

128 lines
5.3KB

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