<!--#include virtual="/incs/config.asp" -->
<!--#include virtual="/incs/top.asp"-->
<%
chk_log()
chk_newpwr 4,11,9
conn.open constr
dim onlpay(5)
onlpay(1)="NPS在线支付"
onlpay(2)="IPAY在线支付"
onlpay(3)="网银在线支付"
onlpay(4)="ALLBUY在线支付"
%>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <tr> 
    <td  colspan=2 valign="middle"> 
      <table class=line cellspacing=0 cellpadding=0 width="100%" 
                  border=0 align="center">
        <tbody> 
        <tr> 
          <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong>在线支付接口</strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="index.asp" class=commonface>系统参数设置</a> 
            <font color="#000000">|</font> <a href="pay_idx.asp" class=commonface>付款帐号设置</a> 
            <font color="#000000">|</font> <a href="onl_idx.asp" class=commonface>在线支付接口</a> 
          </td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      <b><br>
	  <%
	  query="select * from pltcfg"
	  rs.open query,conn,1,1
	  pl_ifonl=rs("pl_ifonl")
	  rs.close
	  if pl_ifonl="1" then
	  response.write "系统当前启用了在线支付，如果不想启用在线支付，则请在&quot;基本参数设置&quot;中取消。"
	  else
	  response.write "系统当前禁用了在线支付，如果需要启用在线支付，则请在&quot;基本参数设置&quot;中启用。"
	  end if
	  %>
      </b></td>
  </tr>
  <tr> 
    <td  colspan=2 valign="middle" height="28"> 
      <table width="85%" border="0" cellspacing="0" cellpadding="10" align="center" class=datalist>
        <form action=plt_mng.asp method=post name=dns_form>
          <% query="select * from onlcfg order by id"
		rs.open query,conn,1,1
		mycount=1
		while not rs.eof 
		%>
          <tr> 
            <td ><b><%=onlpay(mycount)%></b></td>
          </tr>
          <tr> 
            <td class=datagroup > 
              <table border=0 cellpadding=0 
                        cellspacing=0 bordercolordark="#FFFFFF" align="center" width="100%">
                <tbody> 
                <tr > 
                  <td   align=center  height="25">&nbsp;</td>
                  <td  height="25"><font color="#FF0000">如果有使用<%=onlpay(mycount)%>，请填写以下部份</font></td>
                </tr>
                <tr > 
                  <td>是否启用*</td>
                  <td> 
                    <input type="checkbox" name="p_stt<%=mycount%>" value="1" <%
					if rs("p_stt")=1 then
					response.write " checked "
					end if
					%>>
                    启用 </td>
                </tr>
                <tr > 
                  <td width="27%">接口名称*</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="p_nme<%=mycount%>"  value="<%=trim(rs("p_nme"))%>">
                    显示于网页上的友好名称，如：NPS在线支付&nbsp;&nbsp;</td>
                </tr>
                <tr > 
                  <td>接口网址*</td>
                  <td> 
                    <input class=normalform  size=65  type="text" name="p_payout<%=mycount%>"  value="<%=trim(rs("p_payout"))%>">
                    &nbsp;</td>
                </tr>
                <tr > 
                  <td>结果返回网址*</td>
                  <td> 
                    <input class=normalform  size=65  type="text" name="p_paybck<%=mycount%>" value="<%=trim(rs("p_paybck"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>商户编号*</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="p_usr<%=mycount%>" value="<%=trim(rs("p_usr"))%>">
                  </td>
                </tr>
                <tr > 
                  <td width="27%">支付密钥*</td>
                  <td > 
                    <input type="password" class="normalform" size="28" name="p_pss<%=mycount%>" value="<%=trim(rs("p_pss"))%>">
                  </td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <%
		  mycount=mycount+1
		   rs.movenext
		  wend
		  rs.close 
		  %>
          <tr> 
            <td > 注：<br>
              <br>
              1、所设置的结果返回网址以及商户编号和支付密钥必须和在线支付公司后台的设置完全一致。</td>
          </tr>
          <tr> 
            <td align="center" > 
              <input   type="submit" name="Submit232" value=" 修改 " class=btxx>
              <input     type="reset" name="Submit2222" value=" 复原 " class=btxx>
              <input   type="hidden" name="module" value="onl_edt">
              <input   type="hidden" name="allcount" value="4">
            </td>
          </tr>
        </form>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height=8></td>
        </tr>
      </table>
      <br>
    </td>
  </tr>
  </tbody> 
</table>
 <!--#include virtual="/incs/bottom.asp"-->
