ipay.asp

来自「蓝芒3.0A最新所有功能完整破解版」· ASP 代码 · 共 460 行 · 第 1/2 页

ASP
460
字号
<% ModuleCode="M0935" %>
<!--#include file="../../Include/Reference.asp"-->
<%
Call PrintPageHead
%>
<!--#include file="../../Include/connect.asp"-->
<!--#include file="../../Include/GetSysParam.asp"-->
<script Language="JavaScript">
<!--
function CheckAll()
{  
	//检查非空
	if (!CheckEmpty(addform.v_amount, "金额"))			return false;
	if (!CheckInteger(addform.v_amount, "金额"))			return false; 
	//全部通过
	submitonce(addform);
	return true;
}
-->
</script>
<%
i=0
strOID=""
if len(request("SUBMITACT"))>0 then
	i=1
	strActionName=Sys_Opt_IPayURL
	set rs=Cn.Execute("SP_Pay '1',' '," & session("UserID") & ","&request("v_payname")&","&request("v_amount")&",'"&Request.ServerVariables("REMOTE_ADDR")&"'" )
	if rs("result")="fail" then
		Response.write rs("msg")& "&nbsp;&nbsp;<a href=v#' OnClick='javascript:history.go(-1)' class='a2'>返 回</a>"
		i=0
	else
		strOID=rs("msg")
		strAMount=request("v_amount")
		strUSR=Sys_Opt_IPayUID
	end if
	rs.close
else
	i=0
	strActionName=""
end if
%><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> 
<tr> 
  <td height="26" class="titletext"><font color="<%=Opt_Font_TitleColor%>"> <strong> 
    <%
    if i=0 then
    	response.write "在线充值 - 输入金额"
    else
    	response.write "在线充值 - 支付充值"
    end if
    %>
    </strong> </td>
</tr>
<tr> 
  <td> 
    <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="<%=Opt_Table_BGColor%>">
      <form name="addform" method="post" action="<%=strActionName%>" onSubmit="return(CheckAll());">
        <tr height="24"> 
          <td width="74" bgcolor="<%=Opt_TR_BGColor%>">金额</td>
          <td width="311" bgcolor="<%=Opt_TD_BGColor2%>"> 
            <%
    	if i=0 then
    	%>
            <input type=HIDDEN name="SUBMITACT"    value="YES">
            <input name="v_amount" type="text" class="input"  size="10" maxlength="10" value="">
            元(RMB) 
            <input type=HIDDEN name="v_payname"  value="<%=session("UserID")%>">
            <%
    	else
    	%>
            <font color=red><%=request("v_amount")%> </font>元(RMB) 
			<input type=HIDDEN name="id_bill" value="<%=strOID%>"> 
			<input type=HIDDEN name="usr"  value="<%=strUSR%>">
            		<input type=HIDDEN name="v_amount"  value="<%=strAMount%>">
            		<input type=HIDDEN name="v_payname"  value="<%=request("v_payname")%>">
			<input type=HIDDEN name="v_rname"  value="收货人">
			<input type=HIDDEN name="v_remail"  value="收货人邮件地址">
			<input type=HIDDEN name="v_rtel"     value="收货人电话">
			<input type=HIDDEN name="v_rpost"   value="收货人邮政编码">
			<input type=HIDDEN name="v_raddr"   value="收货人地址">
			<input type=HIDDEN name="v_rnote"   value="留言">
		<%	
    	end if
    	%>
          </td>
        </tr>
        <tr height="26"> 
          <td bgcolor="<%=Opt_TD_BGColor2%>" colspan="2" align="center">
		<%
		if i=0 then
		%>
			<input type="submit" class="button" value="确定" name="v_action">
			<input type="reset" class="button" value=" 重写 ">
		<%
		else
		%>
			<input type="submit" class="button" value="在线支付" name="v_action">
		<%
		end if
		%>   
          </td>
        </tr>
      </form>
      <tr> 
        <td  colspan="2" align="center"> 
          <table border="1" cellspacing="1" bordercolor="#CCCCCC">
            <tr> 
              <td  class="TitleWhite" colSpan="4" height="26"> 
                <p align="center"><strong>支付银行卡种情况一览表</strong></p>
              </td>
            </tr>
            <tr> 
              <td   height="21" width="220">中国银行长城信用卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">全国</td>
              <td   height="21" width="223">二次扣款每日</td>
            </tr>
            <tr> 
              <td   height="21" width="220">中国银行长城借记卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">全国</td>
              <td   height="21" width="223">实时</td>
            </tr>
            <tr> 
              <td   height="21" width="220">中国工商银行牡丹信用卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">全国</td>
              <td   height="21" width="223">实时</td>
            </tr>
            <tr> 
              <td   height="21" width="220">中国工商银行牡丹灵通卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">全国</td>
              <td   height="21" width="223">实时</td>
            </tr>
            <tr> 
              <td   height="21" width="220">招商银行一网通</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">全国</td>
              <td   height="21" width="223">实时</td>
            </tr>
            <tr> 
              <td   height="21" width="220">上海浦东发展银行东方卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">北京</td>
              <td   height="46" rowSpan="2" width="223">一个工作日</td>
            </tr>
            <tr> 
              <td   height="21" width="220">上海浦东发展银行存折</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">北京</td>
            </tr>
            <tr> 
              <td   height="62" width="220">建设银行龙卡</td>
              <td   height="62" width="102">人民币</td>
              <td   height="62" width="114">北京<br>
                深圳<br>
                青岛<br>
                江苏<br>
                大连</td>
              <td   height="62" width="223">实时</td>
            </tr>
            <tr> 
              <td   height="21" width="220">深圳商业银行万事顺卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">北京 深圳</td>
              <td   height="21" width="223">一个工作日</td>
            </tr>
            <tr> 
              <td  colSpan="4" height="21"> 
                <p align="center"><span ><b>广银联支付方式:</b></span></p>
              </td>
            </tr>
            <tr> 
              <td   height="21" width="220">工商银行牡丹信用卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
              <td  height="346" rowSpan="14" width="223"> 
                <p align="center"  style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-RIGHT: medium none; BORDER-TOP: medium none; LAYOUT-GRID-MODE: both; LINE-HEIGHT: 15pt">实时</p>
              </td>
            </tr>
            <tr> 
              <td   height="21" width="220">工商银行牡丹灵通卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>
            <tr> 
              <td   height="21" width="220">招商银行卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>
            <tr> 
              <td   height="21" width="220">农行信用卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>
            <tr> 
              <td   height="21" width="220">农行储蓄提款卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>
            <tr> 
              <td   height="21" width="220">农行星座卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>
            <tr> 
              <td   height="21" width="220">中行长城电子借记卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>
            <tr> 
              <td   height="21" width="220">中行长城信用卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>
            <tr> 
              <td   height="21" width="220">建行龙卡金卡&nbsp;</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>
            <tr> 
              <td   height="21" width="220">建行万事达龙卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>
            <tr> 
              <td   height="21" width="220">建行&gt;VISA龙卡</td>
              <td   height="21" width="102">人民币</td>
              <td   height="21" width="114">广州</td>
            </tr>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?