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.
74 lines
2.6 KiB
74 lines
2.6 KiB
<?php
|
|
if(!defined('InEmpireCMS'))
|
|
{
|
|
exit();
|
|
}
|
|
?>
|
|
<?php
|
|
$public_diyr['pagetitle']='在线支付';
|
|
$url="<a href='../../'>首页</a> > <a href=../member/cp/>会员中心</a> > 在线支付";
|
|
require(ECMS_PATH.'e/template/incfile/header.php');
|
|
?>
|
|
<script>
|
|
function ChangeShowBuyFen(amount){
|
|
var fen;
|
|
fen=Math.floor(amount)*<?=$pr[paymoneytofen]?>;
|
|
document.getElementById("showbuyfen").innerHTML=fen+" 点";
|
|
}
|
|
</script>
|
|
<form name="paytofenform" method="post" action="pay.php">
|
|
<table width="500" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
|
|
<tr class="header">
|
|
<td height="25" colspan="2">购买点数:
|
|
<input type="hidden" name="phome" value="PayToFen"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="127" height="25" bgcolor="#FFFFFF">购买金额:</td>
|
|
<td width="358" bgcolor="#FFFFFF"> <input name="money" type="text" value="" size="8" onchange="ChangeShowBuyFen(document.paytofenform.money.value);">
|
|
元 <font color="#333333">( 1元 =
|
|
<?=$pr[paymoneytofen]?>
|
|
点数)</font></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="25" bgcolor="#FFFFFF">购买点数:</td>
|
|
<td bgcolor="#FFFFFF" id="showbuyfen"> 0 点</td>
|
|
</tr>
|
|
<tr>
|
|
<td height="25" bgcolor="#FFFFFF">支付平台:</td>
|
|
<td height="25" bgcolor="#FFFFFF"><SELECT name="payid" style="WIDTH: 120px">
|
|
<?=$pays?>
|
|
</SELECT></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="25" bgcolor="#FFFFFF"> </td>
|
|
<td height="25" bgcolor="#FFFFFF"><input type="submit" name="Submit" value="确定购买"></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<br><br>
|
|
<form name="paytomoneyform" method="post" action="pay.php">
|
|
<table width="500" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
|
|
<tr class="header">
|
|
<td height="25" colspan="2">存预付款:
|
|
<input name="phome" type="hidden" id="phome" value="PayToMoney"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="127" height="25" bgcolor="#FFFFFF">金额:</td>
|
|
<td width="358" bgcolor="#FFFFFF"> <input name="money" type="text" value="" size="8">
|
|
元</td>
|
|
</tr>
|
|
<tr>
|
|
<td height="25" bgcolor="#FFFFFF">支付平台:</td>
|
|
<td height="25" bgcolor="#FFFFFF"><SELECT name="payid" style="WIDTH: 120px">
|
|
<?=$pays?>
|
|
</SELECT></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="25" bgcolor="#FFFFFF"> </td>
|
|
<td height="25" bgcolor="#FFFFFF"><input type="submit" name="Submit3" value="确定支付"></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<?php
|
|
require(ECMS_PATH.'e/template/incfile/footer.php');
|
|
?>
|