⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pay_md5.asp

📁 蓝芒3.0A最新所有功能完整破解版
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<% ModuleCode="M0935" %>
<!--#include file="../../Include/Reference.asp"-->
<%
Call PrintPageHead
%>
<!--#include file="../../Include/connect.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=""
strMd5=""
if len(request("SUBMITACT"))>0 then
	i=1
	strActionName="http://bank.ipay.com.cn/ipay.php"
	strSubmit="在线支付"
	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")
		strMID="0123"
		strAMount=request("v_amount")
		strMDSend=CStr(strMID&strOID&strAMount)
		strMDSend="012312345612.34"
		set md=server.CreateObject("md5_VB.md5class")
		strMD5=md.hmac("'" & strMDSend & "'","password")
	end if
	rs.close
else
	i=0
	strActionName=""
	strSubmit="确定"
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")%>">
            <input type=HIDDEN name="v_mid"    value="">
            <input type=HIDDEN name="v_oid"     value="">
            <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="">
            <input type=HIDDEN name="v_md5"   value="">
            <input type=HIDDEN name="v_phpmd5"   value="">
            <%
    	else
    	%>
            <font color=red><%=request("v_amount")%> </font>元(RMB) 
            <input type=HIDDEN name="v_amount"  value="<%=strAMount%>">
            <input type=HIDDEN name="v_payname"  value="<%=request("v_payname")%>">
            <input type=HIDDEN name="v_mid"    value="<%=strMID%>">
            <input type=HIDDEN name="v_oid"     value="<%=strOID%>">
            <input type=HIDDEN name="v_rname"  value="<%=request("v_rname")%>">
            <input type=HIDDEN name="v_remail"  value="<%=request("v_remail")%>">
            <input type=HIDDEN name="v_rtel"     value="<%=request("v_rtel")%>">
            <input type=HIDDEN name="v_rpost"   value="<%=request("v_rpost")%>">
            <input type=HIDDEN name="v_raddr"   value="<%=request("v_raddr")%>">
            <input type=HIDDEN name="v_rnote"   value="<%=request("v_rnote")%>">
            <input type=HIDDEN name="v_md5"   value="<%=strMd5%>">
            <input type=HIDDEN name="v_phpmd5"   value="<%=request("v_phpmd5")%>">
		<%	
    	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 bgcolor="<%=Opt_TD_BGColor2%>" 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> 

⌨️ 快捷键说明

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