?? pay.asp
字號:
<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('網絡超時或您還沒有登陸!');window.location.href='login.asp';</script>"
response.End
end if
%>
<%dim action
action=request("ok")
'//保存信息
if action="ok" then
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您沒有此項目管理權限!</b></font></div>"
response.End
end if
if qx5<>1 then
response.Write "<div align=center><font size=80 color=red><b>您沒有此項目管理權限!</b></font></div>"
response.End
end if
id=trim(request("id"))
pay1=trim(request("pay"))
pay2=trim(request("pay2"))
pay3=trim(request("pay3"))
pay4=trim(request("pay4"))
pay5=trim(request("pay5"))
pay6=trim(request("pay6"))
pay7=trim(request("pay7"))
conn.execute("update shop_pay set pay1=0")
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from shop_pay where id="&pay1&"",conn,1,3
rs("pay2")=pay2
if pay3<>"" then
rs("pay3")=pay3
end if
if pay4<>"" then
rs("pay4")=pay4
end if
if pay5<>"" then
rs("pay5")=pay5
end if
if pay6<>"" then
rs("pay6")=pay6
end if
if pay7<>"" then
rs("pay7")=pay7
end if
rs("pay1")=1
rs.update
rs.close
set rs=nothing
response.Write "<script language=javascript>alert('支付信息修改成功!');history.go(-1);</script>"
end if%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/right_top2.gif">
<tr>
<td width="1%"> </td>
<td width="99%"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="30%" style="font-size:14px;color:#ffffff"> <strong><font color="#000000">在線支付信息設置</font></strong></td>
<td width="70%" align="right"> </td>
</tr>
</table></td>
</tr>
</table>
<%
action=request("ok")
if action="" then
show=request("show")
if show="" then
Set rs = conn.Execute("select * from shop_pay where pay1=1")
show=rs("id")
else
Set rs = conn.Execute("select * from shop_pay where id="&show&"")
show=rs("id")
end if
%>
<form action=pay.asp method=post name=pay>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#9DB2D4" style="border-collapse: collapse; border-style: dotted; border-width: 0px">
<tr bgcolor="#C7D3E6" class=backs>
<td height=35 colspan=3 class=td>在線支付設置</td>
</tr>
<tr bgcolor="#FFFFFF" onMouseOver='JavaScript:this.style.backgroundColor="#C7D3E6"' onMouseOut='JavaScript:this.style.backgroundColor=""'>
<td height=35 colspan=3>
<input type="radio" name="pay" value="<%=show%>" <%if show="1" then%>checked<%end if%> onClick="javascript:location.href='pay.asp?show=1';">
<a href=http://www.o91.com target="_blank">動感在線支付</a>[推薦]</td>
</tr>
<%if show="1" then%>
<tr bgcolor="#f1f1f1">
<td width="33%" height=30 bgcolor="#f1f1f1" >用 戶 名:
<input name="pay2" class="wenbenkuang" type="text" id="pay2" size="16" value="<%=trim(rs("pay2"))%>">
</td>
<td width="33%">
交易識別碼:
<input name="pay3" class="wenbenkuang" type="text" id="pay3" size="16" value="<%=trim(rs("pay3"))%>"></td>
<td width="33%" >配貨狀態:
<input name="pay4" class="wenbenkuang" type="text" id="pay4" size="16" value="<%=trim(rs("pay4"))%>"></td>
</tr>
<tr bgcolor="#f1f1f1">
<td height=30 bgcolor="#f1f1f1" >支付幣種:
<input name="pay5" class="wenbenkuang" type="text" id="pay5" size="16" value="<%=trim(rs("pay5"))%>"> </td>
<td >
返回的地址:
<input name="pay6" class="wenbenkuang" type="text" id="pay6" size="16" value="<%=trim(rs("pay6"))%>">
交易號 </td>
<td >用戶類型:
<input name="pay7" class="wenbenkuang" type="text" id="pay7" size="10" value="<%=trim(rs("pay7"))%>">
1為個人,2為企業</td>
</tr>
<%end if%>
<tr bgcolor="#FFFFFF" onMouseOver='JavaScript:this.style.backgroundColor="#C7D3E6"' onMouseOut='JavaScript:this.style.backgroundColor=""'>
<td height=35 colspan=3>
<input type="radio" name="pay" value="<%=show%>" <%if show="2" then%>checked<%end if%> onclick="javascript:location.href='pay.asp?show=2';">
<a href=http://www.alipay.com.cn target="_blank">支付寶</a> </td>
</tr>
<%if show="2" then%>
<tr bgcolor="#f1f1f1">
<td width=33% height=35 align=right >支付寶帳戶:
<input name="pay2" class="wenbenkuang" type="text" id="pay2" size="20" value="<%=trim(rs("pay2"))%>">
<input name="id" type="hidden" class="wenbenkuang" id="id" value="<%=rs("id")%>"> </td>
<td >安全校驗碼:
<input name="pay3" class="wenbenkuang" type="text" id="pay3" size="30" value="<%=trim(rs("pay3"))%>"></td>
<td >手機號碼:
<input name="pay4" class="wenbenkuang" type="text" id="pay4" size="16" value="<%=trim(rs("pay4"))%>"></td>
</tr>
<%end if%>
<tr bgcolor="#FFFFFF" onMouseOver='JavaScript:this.style.backgroundColor="#C7D3E6"' onMouseOut='JavaScript:this.style.backgroundColor=""'>
<td height=35 colspan=3><input type="radio" name="pay" value="<%=show%>" <%if show="3" then%>checked<%end if%> onclick="javascript:location.href='pay.asp?show=3';">
<a href="http://www.chinabank.com.cn" target="_blank">網銀在線</a></td>
</tr>
<%if show="3" then%>
<tr bgcolor="#f1f1f1">
<td width="33%" height=30 bgcolor="#f1f1f1" >商戶編號:
<input name="pay2" class="wenbenkuang" type="text" id="pay2" size="16" value="<%=trim(rs("pay2"))%>">
</td>
<td width="33%" >
MD5私鑰:
<input name="pay3" class="wenbenkuang" type="text" id="pay3" size="16" value="<%=trim(rs("pay3"))%>"></td>
<td width="33%" >支付幣種:
<input name="pay4" class="wenbenkuang" type="text" id="pay4" size="16" value="<%=trim(rs("pay4"))%>"></td>
</tr>
<tr bgcolor="#f1f1f1">
<td height=30 bgcolor="#f1f1f1" >網關模式:
<input name="pay5" class="wenbenkuang" type="text" id="pay5" size="16" value="<%=trim(rs("pay5"))%>"> </td>
<td >
返回地址:
<input name="pay6" class="wenbenkuang" type="text" id="pay6" size="16" value="<%=trim(rs("pay6"))%>"> </td>
<td ></td>
</tr>
<%end if%>
<tr bgcolor="#FFFFFF" onMouseOver='JavaScript:this.style.backgroundColor="#C7D3E6"' onMouseOut='JavaScript:this.style.backgroundColor=""'>
<td height=35 colspan=3><input type="radio" name="pay" value="<%=show%>" <%if show="4" then%>checked<%end if%> onclick="javascript:location.href='pay.asp?show=4';">
<a href="http://nps.cn" target="_blank">NPS支付</a></td>
</tr>
<%if show="4" then%>
<tr bgcolor="#f1f1f1">
<td width="33%" height=30 bgcolor="#f1f1f1" >商戶編號:
<input name="pay2" class="wenbenkuang" type="text" id="pay2" size="16" value="<%=trim(rs("pay2"))%>">
</td>
<td width="33%" >
支付密鑰:
<input name="pay3" class="wenbenkuang" type="text" id="pay3" size="16" value="<%=trim(rs("pay3"))%>"></td>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -