buygroup.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. <form name="payform" method="post" action="../../payapi/BuyGroupPay.php">
  14. <tr class="header">
  15. <td height="25">请选择要购买的充值类型:</td>
  16. </tr>
  17. <?
  18. while($r=$empire->fetch($sql))
  19. {
  20. if($r[buygroupid]&&$level_r[$r[buygroupid]][level]>$level_r[$user[groupid]][level])
  21. {
  22. continue;
  23. }
  24. ?>
  25. <tr bgcolor="#FFFFFF">
  26. <td height="25"><table width="100%" border="0" cellspacing="1" cellpadding="3">
  27. <tr>
  28. <td width="1%"> <input type="radio" name="id" value="<?=$r[id]?>">
  29. </td>
  30. <td width="97%">
  31. <?=$r[gmoney]?>
  32. 元 (
  33. <?=$r[gname]?>
  34. )</td>
  35. </tr>
  36. <tr>
  37. <td>&nbsp;</td>
  38. <td><font color="#666666">
  39. <?=nl2br($r[gsay])?>
  40. </font></td>
  41. </tr>
  42. </table></td>
  43. </tr>
  44. <?
  45. }
  46. ?>
  47. <tr bgcolor="#FFFFFF">
  48. <td height="25">支付平台:
  49. <SELECT name="payid" style="WIDTH: 120px">
  50. <?=$pays?>
  51. </SELECT></td>
  52. </tr>
  53. <tr bgcolor="#FFFFFF">
  54. <td height="25"><input type="submit" name="Submit" value="马上充值">
  55. &nbsp;&nbsp; <input type="button" name="Submit2" value="返回" onclick="self.location.href='../../../';">
  56. </td>
  57. </tr>
  58. </form>
  59. </table>
  60. <?php
  61. require(ECMS_PATH.'e/template/incfile/footer.php');
  62. ?>