www.gusucode.com > 爱美尔女性商城源码 1.0源码程序 > admintouch/setpay.asp

    <!--#include file="conn.asp"-->
<%if session("bjxadmin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<p align=center><font color=red>您没有此项目管理权限!</font></p>"
response.End
end if
end if
bjxact=replace(trim(request("bjxact")),"'","")
if bjxact="ok" then
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from BJX_PAY",conn,1,3
rs("MyAlipayAccount")   =trim(request("MyAlipayAccount"))
rs("MyAlipaySecretKey") =trim(request("MyAlipaySecretKey"))
rs("ChinabankAccount")  =trim(request("ChinabankAccount"))
rs("ChinabankSecretKey")=trim(request("ChinabankSecretKey"))
rs("NPSAccount")        =trim(request("NPSAccount"))
rs("NPSSecretKey")      =trim(request("NPSSecretKey"))
rs.update
rs.close
set rs=nothing
response.Write "<script language='javascript'>alert('温馨提示:你的提交已经获得成功!');window.location.href='setpay.asp';</script>"
response.End
end if
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from BJX_PAY",conn,1,1
%>
<html><head><title>BJX支付系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style9 {color: #000000}
.style10 {color: #FFFFFF}
-->
</style>
</head>
<body>
<table class="tableBorder" width="90%" border="0" align="center" cellpadding="3" cellspacing="1">
  <tr>
    <td colspan="4" align="center" background="images/admin_bg_1.gif"><b><STRONG><span class="style10"><font face="Arial Narrow">在线支付设置</font></span></STRONG></b></td>
  </tr>
  <tr>
    <td><div align="center">
      <form name="form1" method="post" action="setpay.asp?bjxact=ok">
        <table width="100%"  border="0" cellspacing="1" cellpadding="4">
          <tr>
            <td width="100"><div align="center"><strong>支付接口</strong></div></td>
            <td width="200"><div align="center"><strong>支付账号</strong></div></td>
            <td width="300"><div align="center"><strong>支付密钥(安全码)</strong></div></td>
            <td><div align="center"></div></td>
          </tr>
          <tr bgcolor="#E4E4E4">
            <td bgcolor="#E4E4E4"><div align="center"><strong>支付宝:</strong></div></td>
            <td><div align="center">
              <input name="MyAlipayAccount" type="text" class="wenbenkuang" id="MyAlipayAccount" value="<%=rs("MyAlipayAccount")%>">
            </div></td>
            <td><div align="center">
              <input name="MyAlipaySecretKey" type="text" class="wenbenkuang" id="MyAlipaySecretKey" value="<%=rs("MyAlipaySecretKey")%>" size="30">
            </div></td>
            <td><div align="center"><a href="http://www.alipay.com" target="_blank">申请账号</a></div></td>
          </tr>
          <tr>
            <td><div align="center"><strong>网 银:</strong></div></td>
            <td><div align="center">
              <input name="ChinabankAccount" type="text" class="wenbenkuang" id="ChinabankAccount" value="<%=rs("ChinabankAccount")%>">
</div></td>
            <td><div align="center">
              <input name="ChinabankSecretKey" type="text" class="wenbenkuang" id="ChinabankSecretKey" value="<%=rs("ChinabankSecretKey")%>" size="30">
            </div></td>
            <td><div align="center"><a href="http://www.chinabank.com.cn" target="_blank">申请账号</a></div></td>
          </tr>
          <tr bgcolor="#E4E4E4">
            <td><div align="center"><strong>N P S:</strong></div></td>
            <td><div align="center">
              <input name="NPSAccount" type="text" class="wenbenkuang" id="NPSAccount" value="<%=rs("NPSAccount")%>">
            </div></td>
            <td><div align="center">
              <input name="NPSSecretKey" type="text" class="wenbenkuang" id="NPSSecretKey" value="<%=rs("NPSSecretKey")%>" size="30">
            </div></td>
            <td><div align="center"><a href="http://www.nps.cn" target="_blank">申请账号</a></div></td>
          </tr>
          <tr>
            <td colspan="4"><div align="center">
              <input name="Submit" type="submit" class="wenbenkuang" value=" 提 交 ">
            </div></td>
            </tr>
        </table>
      <span class="style9"><br>
          </span>
      </form>
      </div></td>
  </tr>
</table>
</body>
</html>
<%
rs.Close
set rs=nothing%>