buygroup.php
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
if(!defined('InEmpireCMS'))
{
exit();
}
?>
<?php
$public_diyr['pagetitle']='在線充值';
$url="<a href='../../../'>首頁</a> > <a href='../cp/'>會員中心</a> > 在線充值";
require(ECMS_PATH.'e/template/incfile/header.php');
?>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
<form name="payform" method="post" action="../../payapi/BuyGroupPay.php">
<tr class="header">
<td height="25">請選擇要購買的充值類型:</td>
</tr>
<?
while($r=$empire->fetch($sql))
{
if($r[buygroupid]&&$level_r[$r[buygroupid]][level]>$level_r[$user[groupid]][level])
{
continue;
}
?>
<tr bgcolor="#FFFFFF">
<td height="25"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td width="1%"> <input type="radio" name="id" value="<?=$r[id]?>">
</td>
<td width="97%">
<?=$r[gmoney]?>
元 (
<?=$r[gname]?>
)</td>
</tr>
<tr>
<td> </td>
<td><font color="#666666">
<?=nl2br($r[gsay])?>
</font></td>
</tr>
</table></td>
</tr>
<?
}
?>
<tr bgcolor="#FFFFFF">
<td height="25">支付平台:
<SELECT name="payid" style="WIDTH: 120px">
<?=$pays?>
</SELECT></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"><input type="submit" name="Submit" value="馬上充值">
<input type="button" name="Submit2" value="返回" onclick="self.location.href='../../../';">
</td>
</tr>
</form>
</table>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>