国内流行的内容管理系统(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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
  5. <title>点卡/会员服务购买 - 会员中心 - <?php echo $cfg_webname; ?></title>
  6. <link href="templets/style/base.css" rel="stylesheet" type="text/css" />
  7. <script type="text/javascript" src="templets/js/j.js"></script>
  8. <script type="text/javascript" src="templets/js/load.js"></script>
  9. <script type="text/javascript" src="templets/js/leftmenu.js"></script>
  10. </head>
  11. <body>
  12. <div id="main">
  13. <?php include(DEDEMEMBER."/templets/head.htm"); ?>
  14. <div id="content" class="w960 clearfix">
  15. <?php include(DEDEMEMBER."/templets/menu.php"); ?>
  16. <div id="mcpmain">
  17. <div id="appTab">
  18. <ul>
  19. <li class="thisTab"><a href="buy.php">会员升级/点卡充值</a></li>
  20. <li><a href="operation.php">点卡/会员定单</a></li>
  21. <li><a href="mypay.php" id="buy">我购买的文章</a></li>
  22. <li><a href="shops_orders.php">商品定单</a></li>
  23. <li><a href="shops_products.php" id="buy">我购买的商品</a></li>
  24. </ul>
  25. </div>
  26. <div id="mainCp">
  27. <div class="appMsg">
  28. <p class="tips"><?php echo $cfg_ml->GetSta($dsql); ?></p>
  29. </div>
  30. <!--内容消息提示 -->
  31. <?php
  32. if($cfg_money_scores > 0) {
  33. ?>
  34. <div class="postForm">
  35. <h3 class="meTitle">
  36. <?php
  37. $canCav = floor($cfg_ml->fields['scores'] / $cfg_money_scores);
  38. ?>
  39. <strong>用积分兑换金币</strong> &nbsp;(<?php echo "兑换价格:{$cfg_money_scores} 积分/个,你目前可兑换金币数量:{$canCav} 个"; ?>)</h3>
  40. <form name="formrank" action="index_do.php?dopost=money2s&fmdo=user" method="post">
  41. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list">
  42. <tbody>
  43. <tr>
  44. <td width="15%" align="right" valign="top">兑换数量:</td>
  45. <td width="35%"><input name="money" type="text" id="money" size="38" class="intxt" value="<?php echo $canCav; ?>" style="width:200px"/></td>
  46. <td align='left'><button class="button2" type="submit">兑换</button></td>
  47. </tr>
  48. </tbody>
  49. </table>
  50. </form>
  51. </div>
  52. <?php } ?>
  53. <div class="postForm">
  54. <h3 class="meTitle">用点卡充值</h3>
  55. <form name="formrank" action="check_card.php" method="post">
  56. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list">
  57. <tbody>
  58. <tr>
  59. <td width="15%" align="right" valign="top">点卡密码:</td>
  60. <td><input name="cardid" type="text" id="cardid" size="38" class="intxt" style="width:200px"/></td>
  61. </tr>
  62. <tr>
  63. <td align="right" valign="top">验证码:</td>
  64. <td><input name="vdcode" type="text" id="vdcode" size="8" class="intxt" style='width:50px;text-transform:uppercase;' />
  65. <img src="../plus/vdimgck.php" alt="看不清?点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" />
  66. </td>
  67. </tr>
  68. </tbody>
  69. <tfoot>
  70. <tr>
  71. <td align="right" valign="top">&nbsp;</td>
  72. <td><button class="button2 mt5" type="submit">充值</button></td>
  73. </tr>
  74. </tfoot>
  75. </table>
  76. </form>
  77. </div>
  78. <div class="postForm">
  79. <h3 class="meTitle">购买新点卡:</h3>
  80. <form name="f1" action="buy_action.php" method="post">
  81. <input type="hidden" name="product" value="card" />
  82. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list">
  83. <tr style='height:28px;background:#F9FEE9;'>
  84. <th width="10%">选择</th>
  85. <th >点卡类型</th>
  86. <th width="15%">金币数量</th>
  87. <th width="15%">购买价格</th>
  88. </tr>
  89. <tbody>
  90. <?php echo $moneycards;?>
  91. </tbody>
  92. </table>
  93. <button class="button2 mt5" type="submit">购买</button>
  94. </form>
  95. </div>
  96. <div class="postForm">
  97. <h3 class="meTitle">会员升级</h3>
  98. <form name="f1" action="buy_action.php" method="post">
  99. <input type="hidden" name="product" value="member" />
  100. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list">
  101. <thead>
  102. <tr>
  103. <th colspan='5' style='text-align:left;padding-left:10px;height:24px;line-height:24px;'>会员升级:</th>
  104. </tr>
  105. </thead>
  106. <tr style='height:28px;background:#F9FEE9;'>
  107. <th width="10%">选择</th>
  108. <th >产品名称</th>
  109. <th width="12%">会员类型</th>
  110. <th width="12%">时限(天)</th>
  111. <th width="10%">价格</th>
  112. </tr>
  113. <tbody>
  114. <?php echo $membertypes?>
  115. </tbody>
  116. </table>
  117. <button class="button2 mt5" type="submit">购买</button>
  118. </form>
  119. </div>
  120. </div>
  121. <!--主操作区域 -->
  122. </div>
  123. </div>
  124. <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
  125. </div>
  126. </body>
  127. </html>